Condividi tramite


ApplicationGatewayEntraJwtValidationConfig Class

public final class ApplicationGatewayEntraJwtValidationConfig
extends SubResource

Entra JWT Validation Configuration of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayEntraJwtValidationConfig()

Creates an instance of ApplicationGatewayEntraJwtValidationConfig class.

Method Summary

Modifier and Type Method and Description
List<String> audiences()

Get the audiences property: List of acceptable audience claims that can be present in the token (aud claim).

String clientId()

Get the clientId property: The Client ID of the Microsoft Entra ID application.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ApplicationGatewayEntraJwtValidationConfig fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayEntraJwtValidationConfig from the JsonReader.

String name()

Get the name property: Name of the entra jwt validation configuration that is unique within an application gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.

String tenantId()

Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.

JsonWriter toJson(JsonWriter jsonWriter)
ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction()

Get the unAuthorizedRequestAction property: Unauthorized request action.

void validate()

Validates the instance.

ApplicationGatewayEntraJwtValidationConfig withAudiences(List<String> audiences)

Set the audiences property: List of acceptable audience claims that can be present in the token (aud claim).

ApplicationGatewayEntraJwtValidationConfig withClientId(String clientId)

Set the clientId property: The Client ID of the Microsoft Entra ID application.

ApplicationGatewayEntraJwtValidationConfig withId(String id)
ApplicationGatewayEntraJwtValidationConfig withName(String name)

Set the name property: Name of the entra jwt validation configuration that is unique within an application gateway.

ApplicationGatewayEntraJwtValidationConfig withTenantId(String tenantId)

Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.

ApplicationGatewayEntraJwtValidationConfig withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction)

Set the unAuthorizedRequestAction property: Unauthorized request action.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayEntraJwtValidationConfig

public ApplicationGatewayEntraJwtValidationConfig()

Creates an instance of ApplicationGatewayEntraJwtValidationConfig class.

Method Details

audiences

public List<String> audiences()

Get the audiences property: List of acceptable audience claims that can be present in the token (aud claim). A maximum of 5 audiences are permitted.

Returns:

the audiences value.

clientId

public String clientId()

Get the clientId property: The Client ID of the Microsoft Entra ID application.

Returns:

the clientId value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ApplicationGatewayEntraJwtValidationConfig fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayEntraJwtValidationConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayEntraJwtValidationConfig if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ApplicationGatewayEntraJwtValidationConfig.

name

public String name()

Get the name property: Name of the entra jwt validation configuration that is unique within an application gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.

Returns:

the provisioningState value.

tenantId

public String tenantId()

Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayEntraJwtValidationConfig.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unAuthorizedRequestAction

public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction()

Get the unAuthorizedRequestAction property: Unauthorized request action.

Returns:

the unAuthorizedRequestAction value.

validate

public void validate()

Validates the instance.

withAudiences

public ApplicationGatewayEntraJwtValidationConfig withAudiences(List<String> audiences)

Set the audiences property: List of acceptable audience claims that can be present in the token (aud claim). A maximum of 5 audiences are permitted.

Parameters:

audiences - the audiences value to set.

Returns:

the ApplicationGatewayEntraJwtValidationConfig object itself.

withClientId

public ApplicationGatewayEntraJwtValidationConfig withClientId(String clientId)

Set the clientId property: The Client ID of the Microsoft Entra ID application.

Parameters:

clientId - the clientId value to set.

Returns:

the ApplicationGatewayEntraJwtValidationConfig object itself.

withId

public ApplicationGatewayEntraJwtValidationConfig withId(String id)

Overrides:

ApplicationGatewayEntraJwtValidationConfig.withId(String id)

Parameters:

id

withName

public ApplicationGatewayEntraJwtValidationConfig withName(String name)

Set the name property: Name of the entra jwt validation configuration that is unique within an application gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayEntraJwtValidationConfig object itself.

withTenantId

public ApplicationGatewayEntraJwtValidationConfig withTenantId(String tenantId)

Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.

Parameters:

tenantId - the tenantId value to set.

Returns:

the ApplicationGatewayEntraJwtValidationConfig object itself.

withUnAuthorizedRequestAction

public ApplicationGatewayEntraJwtValidationConfig withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction)

Set the unAuthorizedRequestAction property: Unauthorized request action.

Parameters:

unAuthorizedRequestAction - the unAuthorizedRequestAction value to set.

Returns:

the ApplicationGatewayEntraJwtValidationConfig object itself.

Applies to