你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Subscription 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.Resource
Subscription

Constructor

Subscription(*, delivery_configuration: _models.DeliveryConfiguration | None = None, event_delivery_schema: str | _models.DeliverySchema | None = None, filters_configuration: _models.FiltersConfiguration | None = None, expiration_time_utc: datetime | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
delivery_configuration

Information about the delivery configuration of the event subscription.

event_delivery_schema

The event delivery schema for the event subscription. "CloudEventSchemaV1_0"

filters_configuration

Information about the filter for the event subscription.

expiration_time_utc

Expiration time of the event subscription.

Variables

Name Description
id
str

Fully qualified identifier of the resource.

name
str

Name of the resource.

type
str

Type of the resource.

system_data

The system metadata relating to Event Subscription resource.

provisioning_state

Provisioning state of the event subscription. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Canceled", "Failed", "AwaitingManualAction", "Deleted", "DeleteFailed", "CreateFailed", and "UpdatedFailed".

delivery_configuration

Information about the delivery configuration of the event subscription.

event_delivery_schema

The event delivery schema for the event subscription. "CloudEventSchemaV1_0"

filters_configuration

Information about the filter for the event subscription.

expiration_time_utc

Expiration time of the event subscription.