EventSubscription Class
Event Subscription.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.eventgrid.models._models_py3.ResourceEventSubscription
Constructor
EventSubscription(*, destination: _models.EventSubscriptionDestination | None = None, delivery_with_resource_identity: _models.DeliveryWithResourceIdentity | None = None, filter: _models.EventSubscriptionFilter | None = None, labels: List[str] | None = None, expiration_time_utc: datetime | None = None, event_delivery_schema: str | _models.EventDeliverySchema | None = None, retry_policy: _models.RetryPolicy | None = None, dead_letter_destination: _models.DeadLetterDestination | None = None, dead_letter_with_resource_identity: _models.DeadLetterWithResourceIdentity | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
destination
|
Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
delivery_with_resource_identity
|
Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
filter
|
Information about the filter for the event subscription. |
labels
|
List of user defined labels. |
expiration_time_utc
|
Expiration time of the event subscription. |
event_delivery_schema
|
The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". |
retry_policy
|
The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
dead_letter_destination
|
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 Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
dead_letter_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 or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
Variables
Name | Description |
---|---|
id
|
Fully qualified identifier of the resource. |
name
|
Name of the resource. |
type
|
Type of the resource. |
system_data
|
The system metadata relating to Event Subscription resource. |
topic
|
Name of the topic of the event subscription. |
provisioning_state
|
Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", and "AwaitingManualAction". |
destination
|
Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
delivery_with_resource_identity
|
Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
filter
|
Information about the filter for the event subscription. |
labels
|
List of user defined labels. |
expiration_time_utc
|
Expiration time of the event subscription. |
event_delivery_schema
|
The event delivery schema for the event subscription. Known values are: "EventGridSchema", "CustomInputSchema", and "CloudEventSchemaV1_0". |
retry_policy
|
The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. |
dead_letter_destination
|
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 Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering. |
dead_letter_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 or domain) to acquire the authentication tokens being used during delivery / dead-lettering. |
Azure SDK for Python