AuthenticationPolicyPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AuthenticationPolicyPropertiesFormat
- com.
Implements
public final class AuthenticationPolicyPropertiesFormat
implements JsonSerializable<AuthenticationPolicyPropertiesFormat>
Properties of the authentication policy.
Constructor Summary
| Constructor | Description |
|---|---|
| AuthenticationPolicyPropertiesFormat() |
Creates an instance of Authentication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
associatedResources()
Get the associated |
|
Authentication |
authenticationProperties()
Get the authentication |
|
static
Authentication |
fromJson(JsonReader jsonReader)
Reads an instance of Authentication |
|
On |
onUnauthenticatedRequest()
Get the on |
|
Common |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
|
User |
userTrustProviderType()
Get the user |
| void |
validate()
Validates the instance. |
|
Authentication |
withAuthenticationProperties(AuthenticationProviderProperties authenticationProperties)
Set the authentication |
|
Authentication |
withOnUnauthenticatedRequest(OnUnauthenticatedRequest onUnauthenticatedRequest)
Set the on |
|
Authentication |
withUserTrustProviderType(UserTrustProviderType userTrustProviderType)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
AuthenticationPolicyPropertiesFormat
public AuthenticationPolicyPropertiesFormat()
Creates an instance of AuthenticationPolicyPropertiesFormat class.
Method Details
associatedResources
public List<String> associatedResources()
Get the associatedResources property: A collection of resource IDs that reference this authentication policy.
Returns:
authenticationProperties
public AuthenticationProviderProperties authenticationProperties()
Get the authenticationProperties property: The authentication provider configuration for the policy.
Returns:
fromJson
public static AuthenticationPolicyPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of AuthenticationPolicyPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
onUnauthenticatedRequest
public OnUnauthenticatedRequest onUnauthenticatedRequest()
Get the onUnauthenticatedRequest property: The action to take when a request is unauthenticated. When omitted, user sign-in policies default to `authenticate` and JWT validation policies default to `deny`.
Returns:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the authentication policy resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the authentication policy resource.
Returns:
toJson
userTrustProviderType
public UserTrustProviderType userTrustProviderType()
Get the userTrustProviderType property: The type of the user trust provider. Only Microsoft Entra is supported, using the serialized value `entra`.
Returns:
validate
public void validate()
Validates the instance.
withAuthenticationProperties
public AuthenticationPolicyPropertiesFormat withAuthenticationProperties(AuthenticationProviderProperties authenticationProperties)
Set the authenticationProperties property: The authentication provider configuration for the policy.
Parameters:
Returns:
withOnUnauthenticatedRequest
public AuthenticationPolicyPropertiesFormat withOnUnauthenticatedRequest(OnUnauthenticatedRequest onUnauthenticatedRequest)
Set the onUnauthenticatedRequest property: The action to take when a request is unauthenticated. When omitted, user sign-in policies default to `authenticate` and JWT validation policies default to `deny`.
Parameters:
Returns:
withUserTrustProviderType
public AuthenticationPolicyPropertiesFormat withUserTrustProviderType(UserTrustProviderType userTrustProviderType)
Set the userTrustProviderType property: The type of the user trust provider. Only Microsoft Entra is supported, using the serialized value `entra`.
Parameters:
Returns: