共用方式為


AzureFunctionEventSubscriptionDestination 類別

事件訂用帳戶的 azure 函式目的地相關資訊。

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

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

建構函式

AzureFunctionEventSubscriptionDestination(*, resource_id: str | None = None, max_events_per_batch: int = 1, preferred_batch_size_in_kilobytes: int = 64, delivery_attribute_mappings: List[_models.DeliveryAttributeMapping] | None = None, **kwargs: Any)

Keyword-Only Parameters

resource_id
str

Azure 資源識別碼,代表事件訂用帳戶之 Azure 函式目的地的端點。

max_events_per_batch
int
預設值: 1

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

preferred_batch_size_in_kilobytes
int
預設值: 64

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

delivery_attribute_mappings
list[DeliveryAttributeMapping]

傳遞屬性詳細資料。

變數

endpoint_type
strEndpointType

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

resource_id
str

Azure 資源識別碼,代表事件訂用帳戶之 Azure 函式目的地的端點。

max_events_per_batch
int

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

preferred_batch_size_in_kilobytes
int

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

delivery_attribute_mappings
list[DeliveryAttributeMapping]

傳遞屬性詳細資料。