Class DefaultAuthorizationPolicy

java.lang.Object
com.azure.resourcemanager.appservice.models.DefaultAuthorizationPolicy

public final class DefaultAuthorizationPolicy extends Object
The configuration settings of the Azure Active Directory default authorization policy.
  • Constructor Details

    • DefaultAuthorizationPolicy

      public DefaultAuthorizationPolicy()
  • Method Details

    • allowedPrincipals

      public AllowedPrincipals allowedPrincipals()
      Get the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.
      Returns:
      the allowedPrincipals value.
    • withAllowedPrincipals

      public DefaultAuthorizationPolicy withAllowedPrincipals(AllowedPrincipals allowedPrincipals)
      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

      public List<String> allowedApplications()
      Get the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.
      Returns:
      the allowedApplications value.
    • withAllowedApplications

      public DefaultAuthorizationPolicy withAllowedApplications(List<String> allowedApplications)
      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.