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

NamespaceTopicEventSubscriptionDestination Class

Information about the Namespace Topic destination for an event subscription.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.eventgrid.models._models_py3.EventSubscriptionDestination
NamespaceTopicEventSubscriptionDestination

Constructor

NamespaceTopicEventSubscriptionDestination(*, resource_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
resource_id
str

The Azure resource Id that represents the endpoint of the Event Grid Namespace Topic destination of an event subscription. This field is required and the Namespace Topic resource listed must already exist. The resource ARM Id should follow this pattern: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.EventGrid/namespaces/{NamespaceName}/topics/{TopicName}. # pylint: disable=line-too-long

Variables

Name Description
endpoint_type

Type of the endpoint for the event subscription destination. Required. Known values are: "WebHook", "EventHub", "StorageQueue", "HybridConnection", "ServiceBusQueue", "ServiceBusTopic", "AzureFunction", "PartnerDestination", "MonitorAlert", and "NamespaceTopic".

resource_id
str

The Azure resource Id that represents the endpoint of the Event Grid Namespace Topic destination of an event subscription. This field is required and the Namespace Topic resource listed must already exist. The resource ARM Id should follow this pattern: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.EventGrid/namespaces/{NamespaceName}/topics/{TopicName}. # pylint: disable=line-too-long