Class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayEntraJwtValidationConfigPropertiesFormat>
public final class ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayEntraJwtValidationConfigPropertiesFormat>
Properties of entra jwt validation configuration of the application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the audiences property: List of acceptable audience claims that can be present in the token (aud claim).clientId()Get the clientId property: The Client ID of the Microsoft Entra ID application.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.tenantId()Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the unAuthorizedRequestAction property: Unauthorized request action.voidvalidate()Validates the instance.withAudiences(List<String> audiences) Set the audiences property: List of acceptable audience claims that can be present in the token (aud claim).withClientId(String clientId) Set the clientId property: The Client ID of the Microsoft Entra ID application.withTenantId(String tenantId) Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) Set the unAuthorizedRequestAction property: Unauthorized request action.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApplicationGatewayEntraJwtValidationConfigPropertiesFormat
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat()Creates an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat class.
-
-
Method Details
-
unAuthorizedRequestAction
Get the unAuthorizedRequestAction property: Unauthorized request action.- Returns:
- the unAuthorizedRequestAction value.
-
withUnAuthorizedRequestAction
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction) Set the unAuthorizedRequestAction property: Unauthorized request action.- Parameters:
unAuthorizedRequestAction- the unAuthorizedRequestAction value to set.- Returns:
- the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
-
tenantId
Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
-
clientId
Get the clientId property: The Client ID of the Microsoft Entra ID application.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The Client ID of the Microsoft Entra ID application.- Parameters:
clientId- the clientId value to set.- Returns:
- the ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
-
audiences
-
withAudiences
public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat 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 ApplicationGatewayEntraJwtValidationConfigPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApplicationGatewayEntraJwtValidationConfigPropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewayEntraJwtValidationConfigPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat 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 ApplicationGatewayEntraJwtValidationConfigPropertiesFormat.
-