SubscriptionProperties Class

Properties of a Service Bus topic subscription resource.

Inheritance
azure.servicebus.management._models.DictMixin
SubscriptionProperties

Constructor

SubscriptionProperties(name: str, **kwargs: Any)

Parameters

name

Variables

name

Name of the subscription.

lock_duration

ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.

requires_session

A value that indicates whether the queue supports the concept of sessions.

default_message_time_to_live

ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.

dead_lettering_on_message_expiration

A value that indicates whether this subscription has dead letter support when a message expires.

dead_lettering_on_filter_evaluation_exceptions

A value that indicates whether this subscription has dead letter support when a message expires.

max_delivery_count

The maximum delivery count. A message is automatically deadlettered after this number of deliveries. Default value is 10.

enable_batched_operations

Value that indicates whether server-side batched operations are enabled.

status

Status of a Service Bus resource. Possible values include: "Active", "Creating", "Deleting", "Disabled", "ReceiveDisabled", "Renaming", "Restoring", "SendDisabled", "Unknown".

forward_to

The name of the recipient entity to which all the messages sent to the subscription are forwarded to.

user_metadata

Metadata associated with the subscription. Maximum number of characters is 1024.

forward_dead_lettered_messages_to

The name of the recipient entity to which all the messages sent to the subscription are forwarded to.

auto_delete_on_idle

ISO 8601 timeSpan idle interval after which the subscription is automatically deleted. The minimum duration is 5 minutes.

availability_status

Availability status of the entity. Possible values include: "Available", "Limited", "Renaming", "Restoring", "Unknown".