共用方式為


WebHookEventSubscriptionDestination 類別

事件訂用帳戶之 Webhook 目的地的相關資訊。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.eventgrid.models._models_py3.EventSubscriptionDestination
WebHookEventSubscriptionDestination

建構函式

WebHookEventSubscriptionDestination(*, endpoint_url: str | None = None, max_events_per_batch: int = 1, preferred_batch_size_in_kilobytes: int = 64, azure_active_directory_tenant_id: str | None = None, azure_active_directory_application_id_or_uri: str | None = None, delivery_attribute_mappings: List[_models.DeliveryAttributeMapping] | None = None, minimum_tls_version_allowed: str | _models.TlsVersion | None = None, **kwargs: Any)

Keyword-Only Parameters

endpoint_url
str

表示事件訂用帳戶目的地端點的 URL。

max_events_per_batch
int
預設值: 1

每個批次的事件數目上限。

preferred_batch_size_in_kilobytes
int
預設值: 64

慣用的批次大小以 KB 為單位。

azure_active_directory_tenant_id
str

Azure Active Directory 租使用者識別碼,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。

azure_active_directory_application_id_or_uri
str

Azure Active Directory 應用程式識別碼或 URI,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。

delivery_attribute_mappings
list[DeliveryAttributeMapping]

傳遞屬性詳細資料。

minimum_tls_version_allowed
strTlsVersion

Webhook 端點應支援的 TLS 最低版本。 已知值為:「1.0」、「1.1」 和 「1.2」。

變數

endpoint_type
strEndpointType

事件訂用帳戶目的地的端點類型。 必要。 已知值為:「WebHook」、「EventHub」、「StorageQueue」、「HybridConnection」、「ServiceBusQueue」、「ServiceBusTopic」、「AzureFunction」、「PartnerDestination」、「MonitorAlert」 和 「NamespaceTopic」。

endpoint_url
str

表示事件訂用帳戶目的地端點的 URL。

endpoint_base_url
str

代表事件訂用帳戶目的地端點的基底 URL。

max_events_per_batch
int

每個批次的事件數目上限。

preferred_batch_size_in_kilobytes
int

慣用的批次大小以 KB 為單位。

azure_active_directory_tenant_id
str

Azure Active Directory 租使用者識別碼,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。

azure_active_directory_application_id_or_uri
str

Azure Active Directory 應用程式識別碼或 URI,以取得將包含在傳遞要求中作為持有人權杖的存取權杖。

delivery_attribute_mappings
list[DeliveryAttributeMapping]

傳遞屬性詳細資料。

minimum_tls_version_allowed
strTlsVersion

Webhook 端點應支援的 TLS 最低版本。 已知值為:「1.0」、「1.1」 和 「1.2」。