WebhookAuthenticationSettings Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. WebhookAuthenticationSettings
- com.
Implements
public final class WebhookAuthenticationSettings
implements JsonSerializable<WebhookAuthenticationSettings>
Authentication settings for a webhook endpoint within a Namespace resource.
Constructor Summary
| Constructor | Description |
|---|---|
| WebhookAuthenticationSettings() |
Creates an instance of Webhook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureActiveDirectoryApplicationIdOrUri()
Get the azure |
| String |
azureActiveDirectoryTenantId()
Get the azure |
| String |
endpointBaseUrl()
Get the endpoint |
| String |
endpointUrl()
Get the endpoint |
|
static
Webhook |
fromJson(JsonReader jsonReader)
Reads an instance of Webhook |
|
Custom |
identity()
Get the identity property: The identity configuration required for authenticating a custom webhook. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Webhook |
withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)
Set the azure |
|
Webhook |
withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)
Set the azure |
|
Webhook |
withEndpointBaseUrl(String endpointBaseUrl)
Set the endpoint |
|
Webhook |
withEndpointUrl(String endpointUrl)
Set the endpoint |
|
Webhook |
withIdentity(CustomWebhookAuthenticationManagedIdentity identity)
Set the identity property: The identity configuration required for authenticating a custom webhook. |
Methods inherited from java.lang.Object
Constructor Details
WebhookAuthenticationSettings
public WebhookAuthenticationSettings()
Creates an instance of WebhookAuthenticationSettings class.
Method Details
azureActiveDirectoryApplicationIdOrUri
public String azureActiveDirectoryApplicationIdOrUri()
Get the azureActiveDirectoryApplicationIdOrUri property: Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
Returns:
azureActiveDirectoryTenantId
public String azureActiveDirectoryTenantId()
Get the azureActiveDirectoryTenantId property: Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.
Returns:
endpointBaseUrl
public String endpointBaseUrl()
Get the endpointBaseUrl property: The base URL endpoint where the Event Grid service sends authenticated webhook requests using the specified managed identity.
Returns:
endpointUrl
public String endpointUrl()
Get the endpointUrl property: The URL endpoint where the Event Grid service sends authenticated webhook requests using the specified managed identity.
Returns:
fromJson
public static WebhookAuthenticationSettings fromJson(JsonReader jsonReader)
Reads an instance of WebhookAuthenticationSettings from the JsonReader.
Parameters:
Returns:
Throws:
identity
public CustomWebhookAuthenticationManagedIdentity identity()
Get the identity property: The identity configuration required for authenticating a custom webhook.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureActiveDirectoryApplicationIdOrUri
public WebhookAuthenticationSettings withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)
Set the azureActiveDirectoryApplicationIdOrUri property: Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
Parameters:
Returns:
withAzureActiveDirectoryTenantId
public WebhookAuthenticationSettings withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)
Set the azureActiveDirectoryTenantId property: Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.
Parameters:
Returns:
withEndpointBaseUrl
public WebhookAuthenticationSettings withEndpointBaseUrl(String endpointBaseUrl)
Set the endpointBaseUrl property: The base URL endpoint where the Event Grid service sends authenticated webhook requests using the specified managed identity.
Parameters:
Returns:
withEndpointUrl
public WebhookAuthenticationSettings withEndpointUrl(String endpointUrl)
Set the endpointUrl property: The URL endpoint where the Event Grid service sends authenticated webhook requests using the specified managed identity.
Parameters:
Returns:
withIdentity
public WebhookAuthenticationSettings withIdentity(CustomWebhookAuthenticationManagedIdentity identity)
Set the identity property: The identity configuration required for authenticating a custom webhook.
Parameters:
Returns: