Share via


WebhookAuthenticationSettings Class

Definition

Authentication settings for a webhook endpoint within a Namespace resource.

public class WebhookAuthenticationSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.Models.WebhookAuthenticationSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.Models.WebhookAuthenticationSettings>
type WebhookAuthenticationSettings = class
    interface IJsonModel<WebhookAuthenticationSettings>
    interface IPersistableModel<WebhookAuthenticationSettings>
Public Class WebhookAuthenticationSettings
Implements IJsonModel(Of WebhookAuthenticationSettings), IPersistableModel(Of WebhookAuthenticationSettings)
Inheritance
WebhookAuthenticationSettings
Implements

Constructors

WebhookAuthenticationSettings(CustomWebhookAuthenticationManagedIdentity, Uri, Uri, String)

Initializes a new instance of WebhookAuthenticationSettings.

Properties

AzureActiveDirectoryApplicationIdOrUri

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

AzureActiveDirectoryTenantId

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

EndpointBaseUri

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

EndpointUri

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

Identity

The identity configuration required for authenticating a custom webhook.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WebhookAuthenticationSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WebhookAuthenticationSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebhookAuthenticationSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebhookAuthenticationSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WebhookAuthenticationSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to