QueueInfo Class
Properties of the Queue info for event subscription.
- Inheritance
-
azure.mgmt.eventgrid._serialization.ModelQueueInfo
Constructor
QueueInfo(*, receive_lock_duration_in_seconds: int | None = None, max_delivery_count: int | None = None, dead_letter_destination_with_resource_identity: _models.DeadLetterWithResourceIdentity | None = None, event_time_to_live: timedelta | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
receive_lock_duration_in_seconds
|
Maximum period in seconds in which once the message is in received (by the client) state and waiting to be accepted, released or rejected. If this time elapsed after a message has been received by the client and not transitioned into accepted (not processed), released or rejected, the message is available for redelivery. This is an optional field, where default is 60 seconds, minimum is 60 seconds and maximum is 300 seconds. |
max_delivery_count
|
The maximum delivery count of the events. |
dead_letter_destination_with_resource_identity
|
The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic) to acquire the authentication tokens being used during delivery / dead-lettering. |
event_time_to_live
|
Time span duration in ISO 8601 format that determines how long messages are available to the subscription from the time the message was published. This duration value is expressed using the following format: 'P(n)Y(n)M(n)DT(n)H(n)M(n)S', where:
duration.
This duration value cannot be set greater than the topic's EventRetentionInDays. It is is an optional field where its minimum value is 1 minute, and its maximum is determined by topic's EventRetentionInDays value. The followings are examples of valid values:
|
Variables
Name | Description |
---|---|
receive_lock_duration_in_seconds
|
Maximum period in seconds in which once the message is in received (by the client) state and waiting to be accepted, released or rejected. If this time elapsed after a message has been received by the client and not transitioned into accepted (not processed), released or rejected, the message is available for redelivery. This is an optional field, where default is 60 seconds, minimum is 60 seconds and maximum is 300 seconds. |
max_delivery_count
|
The maximum delivery count of the events. |
dead_letter_destination_with_resource_identity
|
The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination. Uses the managed identity setup on the parent resource (namely, topic) to acquire the authentication tokens being used during delivery / dead-lettering. |
event_time_to_live
|
Time span duration in ISO 8601 format that determines how long messages are available to the subscription from the time the message was published. This duration value is expressed using the following format: 'P(n)Y(n)M(n)DT(n)H(n)M(n)S', where:
duration.
This duration value cannot be set greater than the topic's EventRetentionInDays. It is is an optional field where its minimum value is 1 minute, and its maximum is determined by topic's EventRetentionInDays value. The followings are examples of valid values:
|
Azure SDK for Python