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 Details

    • ApplicationGatewayEntraJwtValidationConfigPropertiesFormat

      public ApplicationGatewayEntraJwtValidationConfigPropertiesFormat()
      Creates an instance of ApplicationGatewayEntraJwtValidationConfigPropertiesFormat class.
  • Method Details

    • unAuthorizedRequestAction

      public ApplicationGatewayUnAuthorizedRequestAction 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

      public String 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

      public String 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

      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.
    • withAudiences

      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

      public ProvisioningState 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.