Class DefaultAuthorizationPolicy
java.lang.Object
com.azure.resourcemanager.appservice.models.DefaultAuthorizationPolicy
The configuration settings of the Azure Active Directory default authorization policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.Get the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.void
validate()
Validates the instance.withAllowedApplications
(List<String> allowedApplications) Set the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.withAllowedPrincipals
(AllowedPrincipals allowedPrincipals) Set the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.
-
Constructor Details
-
DefaultAuthorizationPolicy
public DefaultAuthorizationPolicy()
-
-
Method Details
-
allowedPrincipals
Get the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.- Returns:
- the allowedPrincipals value.
-
withAllowedPrincipals
Set the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.- Parameters:
allowedPrincipals
- the allowedPrincipals value to set.- Returns:
- the DefaultAuthorizationPolicy object itself.
-
allowedApplications
Get the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.- Returns:
- the allowedApplications value.
-
withAllowedApplications
Set the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.- Parameters:
allowedApplications
- the allowedApplications value to set.- Returns:
- the DefaultAuthorizationPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-