New-AzEventGridWebHookEventSubscriptionDestinationObject

Create an in-memory object for WebHookEventSubscriptionDestination.

Syntax

New-AzEventGridWebHookEventSubscriptionDestinationObject
   [-AzureActiveDirectoryApplicationIdOrUri <String>]
   [-AzureActiveDirectoryTenantId <String>]
   [-DeliveryAttributeMapping <IDeliveryAttributeMapping[]>]
   [-EndpointUrl <String>]
   [-MaxEventsPerBatch <Int32>]
   [-MinimumTlsVersionAllowed <String>]
   [-PreferredBatchSizeInKilobyte <Int32>]
   [<CommonParameters>]

Description

Create an in-memory object for WebHookEventSubscriptionDestination.

Examples

Example 1: Create an in-memory object for WebHookEventSubscriptionDestination.

New-AzEventGridWebHookEventSubscriptionDestinationObject -EndpointUrl "https://azpsweb.azurewebsites.net/api/updates"

EndpointType
------------
WebHook

Create an in-memory object for WebHookEventSubscriptionDestination. A usable EndpointUrl can be created from this link: https://video2.skills-academy.com/en-us/azure/event-grid/custom-event-quickstart-powershell

Parameters

-AzureActiveDirectoryApplicationIdOrUri

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AzureActiveDirectoryTenantId

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeliveryAttributeMapping

Delivery attribute details.

Type:IDeliveryAttributeMapping[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EndpointUrl

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MaxEventsPerBatch

Maximum number of events per batch.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MinimumTlsVersionAllowed

Minimum TLS version that should be supported by webhook endpoint.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PreferredBatchSizeInKilobyte

Preferred batch size in Kilobytes.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

WebHookEventSubscriptionDestination