SBQueueProperties Class

The Queue Properties definition.

Constructor

SBQueueProperties(*args: Any, **kwargs: Any)

Variables

Name Description
count_details

Message Count Details.

created_at

The exact time the message was created.

updated_at

The exact time the message was updated.

accessed_at

Last time a message was sent, or the last time there was a receive request to this queue.

size_in_bytes
int

The size of the queue, in bytes.

message_count
int

The number of messages in the queue.

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.

max_size_in_megabytes
int

The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.

max_message_size_in_kilobytes
int

Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.

requires_duplicate_detection

A value indicating if this queue requires duplicate detection.

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 queue has dead letter support when a message expires.

duplicate_detection_history_time_window

ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.

max_delivery_count
int

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

status

Enumerates the possible values for the status of a messaging entity. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown".

enable_batched_operations

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

auto_delete_on_idle

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

enable_partitioning

A value that indicates whether the queue is to be partitioned across multiple message brokers.

enable_express

A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.

forward_to
str

Queue/Topic name to forward the messages.

forward_dead_lettered_messages_to
str

Queue/Topic name to forward the Dead Letter message.

user_metadata
str

Gets and Sets Metadata of User.

Attributes

accessed_at

Last time a message was sent, or the last time there was a receive request to this queue.

accessed_at: datetime | None

auto_delete_on_idle

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

auto_delete_on_idle: timedelta | None

count_details

Message Count Details.

count_details: _models.MessageCountDetails | None

created_at

The exact time the message was created.

created_at: datetime | None

dead_lettering_on_message_expiration

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

dead_lettering_on_message_expiration: bool | None

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.

default_message_time_to_live: timedelta | None

duplicate_detection_history_time_window

ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.

duplicate_detection_history_time_window: timedelta | None

enable_batched_operations

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

enable_batched_operations: bool | None

enable_express

A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.

enable_express: bool | None

enable_partitioning

A value that indicates whether the queue is to be partitioned across multiple message brokers.

enable_partitioning: bool | None

forward_dead_lettered_messages_to

Queue/Topic name to forward the Dead Letter message.

forward_dead_lettered_messages_to: str | None

forward_to

Queue/Topic name to forward the messages.

forward_to: str | None

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.

lock_duration: timedelta | None

max_delivery_count

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

max_delivery_count: int | None

max_message_size_in_kilobytes

Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.

max_message_size_in_kilobytes: int | None

max_size_in_megabytes

The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.

max_size_in_megabytes: int | None

message_count

The number of messages in the queue.

message_count: int | None

requires_duplicate_detection

A value indicating if this queue requires duplicate detection.

requires_duplicate_detection: bool | None

requires_session

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

requires_session: bool | None

size_in_bytes

The size of the queue, in bytes.

size_in_bytes: int | None

status

Enumerates the possible values for the status of a messaging entity. Known values are: "Active", "Disabled", "Restoring", "SendDisabled", "ReceiveDisabled", "Creating", "Deleting", "Renaming", and "Unknown".

status: str | _models.EntityStatus | None

updated_at

The exact time the message was updated.

updated_at: datetime | None

user_metadata

Gets and Sets Metadata of User.

user_metadata: str | None