WebHookEventSubscriptionDestination 類別
事件訂用帳戶的 Webhook 目的地相關資訊。
變數只會由伺服器填入,而且會在傳送要求時予以忽略。
必須填入所有必要的參數,才能傳送至 Azure。
- 繼承
-
azure.mgmt.eventgrid.models._models_py3.EventSubscriptionDestinationWebHookEventSubscriptionDestination
建構函式
WebHookEventSubscriptionDestination(*, endpoint_url: str | None = None, max_events_per_batch: int | None = 1, preferred_batch_size_in_kilobytes: int | None = 64, azure_active_directory_tenant_id: str | None = None, azure_active_directory_application_id_or_uri: str | None = None, delivery_attribute_mappings: List[DeliveryAttributeMapping] | None = None, **kwargs)
僅限關鍵字的參數
名稱 | Description |
---|---|
endpoint_url
|
URL,表示事件訂用帳戶目的地的端點。 |
max_events_per_batch
|
每個批次的事件數目上限。 預設值: 1
|
preferred_batch_size_in_kilobytes
|
慣用的批次大小以 KB 為單位。 預設值: 64
|
azure_active_directory_tenant_id
|
Azure Active Directory 租使用者識別碼,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。 |
azure_active_directory_application_id_or_uri
|
Azure Active Directory 應用程式識別碼或 URI,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。 |
delivery_attribute_mappings
|
傳遞屬性詳細資料。 |
變數
名稱 | Description |
---|---|
endpoint_type
|
必要。 事件訂用帳戶目的地的端點類型。伺服器填滿的常數。 可能的值為:「WebHook」、「EventHub」、「StorageQueue」、「HybridConnection」、「ServiceBusQueue」、「ServiceBusTopic」、「AzureFunction」。 |
endpoint_url
|
URL,表示事件訂用帳戶目的地的端點。 |
endpoint_base_url
|
基底 URL,表示事件訂用帳戶目的地的端點。 |
max_events_per_batch
|
每個批次的事件數目上限。 |
preferred_batch_size_in_kilobytes
|
慣用的批次大小以 KB 為單位。 |
azure_active_directory_tenant_id
|
Azure Active Directory 租使用者識別碼,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。 |
azure_active_directory_application_id_or_uri
|
Azure Active Directory 應用程式識別碼或 URI,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。 |
delivery_attribute_mappings
|
傳遞屬性詳細資料。 |