AzureFunctionEventSubscriptionDestination Class

Information about the azure function 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
AzureFunctionEventSubscriptionDestination

Constructor

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

Name Description
resource_id
str

The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.

max_events_per_batch
int

Maximum number of events per batch.

Default value: 1
preferred_batch_size_in_kilobytes
int

Preferred batch size in Kilobytes.

Default value: 64
delivery_attribute_mappings

Delivery attribute details.

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 Azure Function destination of an event subscription.

max_events_per_batch
int

Maximum number of events per batch.

preferred_batch_size_in_kilobytes
int

Preferred batch size in Kilobytes.

delivery_attribute_mappings

Delivery attribute details.