ApplicationGatewayEntraJwtValidationConfig Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayEntraJwtValidationConfig
- com.
- com.
public final class ApplicationGatewayEntraJwtValidationConfig
extends SubResource
Entra JWT Validation Configuration of an application gateway.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationGatewayEntraJwtValidationConfig() |
Creates an instance of Application |
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 client |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
name()
Get the name property: Name of the entra jwt validation configuration that is unique within an application gateway. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Application |
unAuthorizedRequestAction()
Get the un |
| void |
validate()
Validates the instance. |
|
Application |
withAudiences(List<String> audiences)
Set the audiences property: List of acceptable audience claims that can be present in the token (aud claim). |
|
Application |
withClientId(String clientId)
Set the client |
|
Application |
withId(String id) |
|
Application |
withName(String name)
Set the name property: Name of the entra jwt validation configuration that is unique within an application gateway. |
|
Application |
withTenantId(String tenantId)
Set the tenant |
|
Application |
withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction)
Set the un |
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:
clientId
public String clientId()
Get the clientId property: The Client ID of the Microsoft Entra ID application.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayEntraJwtValidationConfig fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayEntraJwtValidationConfig from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the entra jwt validation configuration that is unique within an application gateway.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the entra jwt validation configuration resource.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The Tenant ID of the Microsoft Entra ID application.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayEntraJwtValidationConfig.toJson(JsonWriter jsonWriter)Parameters:
Throws:
unAuthorizedRequestAction
public ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction()
Get the unAuthorizedRequestAction property: Unauthorized request action.
Returns:
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:
Returns:
withClientId
public ApplicationGatewayEntraJwtValidationConfig withClientId(String clientId)
Set the clientId property: The Client ID of the Microsoft Entra ID application.
Parameters:
Returns:
withId
public ApplicationGatewayEntraJwtValidationConfig withId(String id)
Overrides:
ApplicationGatewayEntraJwtValidationConfig.withId(String id)Parameters:
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:
Returns:
withTenantId
public ApplicationGatewayEntraJwtValidationConfig withTenantId(String tenantId)
Set the tenantId property: The Tenant ID of the Microsoft Entra ID application.
Parameters:
Returns:
withUnAuthorizedRequestAction
public ApplicationGatewayEntraJwtValidationConfig withUnAuthorizedRequestAction(ApplicationGatewayUnAuthorizedRequestAction unAuthorizedRequestAction)
Set the unAuthorizedRequestAction property: Unauthorized request action.
Parameters:
Returns: