Share via


ArmEventGridModelFactory.WebHookEventSubscriptionDestination Method

Definition

Initializes a new instance of WebHookEventSubscriptionDestination.

public static Azure.ResourceManager.EventGrid.Models.WebHookEventSubscriptionDestination WebHookEventSubscriptionDestination (Uri endpoint = default, Uri baseEndpoint = default, int? maxEventsPerBatch = default, int? preferredBatchSizeInKilobytes = default, Guid? azureActiveDirectoryTenantId = default, string uriOrAzureActiveDirectoryApplicationId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventGrid.Models.DeliveryAttributeMapping> deliveryAttributeMappings = default, Azure.ResourceManager.EventGrid.Models.TlsVersion? minimumTlsVersionAllowed = default);
static member WebHookEventSubscriptionDestination : Uri * Uri * Nullable<int> * Nullable<int> * Nullable<Guid> * string * seq<Azure.ResourceManager.EventGrid.Models.DeliveryAttributeMapping> * Nullable<Azure.ResourceManager.EventGrid.Models.TlsVersion> -> Azure.ResourceManager.EventGrid.Models.WebHookEventSubscriptionDestination
Public Shared Function WebHookEventSubscriptionDestination (Optional endpoint As Uri = Nothing, Optional baseEndpoint As Uri = Nothing, Optional maxEventsPerBatch As Nullable(Of Integer) = Nothing, Optional preferredBatchSizeInKilobytes As Nullable(Of Integer) = Nothing, Optional azureActiveDirectoryTenantId As Nullable(Of Guid) = Nothing, Optional uriOrAzureActiveDirectoryApplicationId As String = Nothing, Optional deliveryAttributeMappings As IEnumerable(Of DeliveryAttributeMapping) = Nothing, Optional minimumTlsVersionAllowed As Nullable(Of TlsVersion) = Nothing) As WebHookEventSubscriptionDestination

Parameters

endpoint
Uri

The URL that represents the endpoint of the destination of an event subscription.

baseEndpoint
Uri

The base URL that represents the endpoint of the destination of an event subscription.

maxEventsPerBatch
Nullable<Int32>

Maximum number of events per batch.

preferredBatchSizeInKilobytes
Nullable<Int32>

Preferred batch size in Kilobytes.

azureActiveDirectoryTenantId
Nullable<Guid>

The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.

uriOrAzureActiveDirectoryApplicationId
String

The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

deliveryAttributeMappings
IEnumerable<DeliveryAttributeMapping>

Delivery attribute details. Please note DeliveryAttributeMapping is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DynamicDeliveryAttributeMapping and StaticDeliveryAttributeMapping.

minimumTlsVersionAllowed
Nullable<TlsVersion>

Minimum TLS version that should be supported by webhook endpoint.

Returns

A new WebHookEventSubscriptionDestination instance for mocking.

Applies to