Freigeben über


WebhookAuthenticationSettings Constructor

Definition

Initializes a new instance of WebhookAuthenticationSettings.

public WebhookAuthenticationSettings(Azure.ResourceManager.EventGrid.Models.CustomWebhookAuthenticationManagedIdentity identity, Uri endpointUri, Uri azureActiveDirectoryApplicationIdOrUri, string azureActiveDirectoryTenantId);
new Azure.ResourceManager.EventGrid.Models.WebhookAuthenticationSettings : Azure.ResourceManager.EventGrid.Models.CustomWebhookAuthenticationManagedIdentity * Uri * Uri * string -> Azure.ResourceManager.EventGrid.Models.WebhookAuthenticationSettings
Public Sub New (identity As CustomWebhookAuthenticationManagedIdentity, endpointUri As Uri, azureActiveDirectoryApplicationIdOrUri As Uri, azureActiveDirectoryTenantId As String)

Parameters

identity
CustomWebhookAuthenticationManagedIdentity

The identity configuration required for authenticating a custom webhook.

endpointUri
Uri

The URL endpoint where the Event Grid service sends authenticated webhook requests using the specified managed identity.

azureActiveDirectoryApplicationIdOrUri
Uri

Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

azureActiveDirectoryTenantId
String

Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.

Exceptions

identity, endpointUri, azureActiveDirectoryApplicationIdOrUri or azureActiveDirectoryTenantId is null.

Applies to