DefaultAuthorizationPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DefaultAuthorizationPolicy
- com.
Implements
public final class DefaultAuthorizationPolicy
implements JsonSerializable<DefaultAuthorizationPolicy>
The configuration settings of the Azure Active Directory default authorization policy.
Constructor Summary
Constructor | Description |
---|---|
DefaultAuthorizationPolicy() |
Creates an instance of Default |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
allowedApplications()
Get the allowed |
Allowed |
allowedPrincipals()
Get the allowed |
static
Default |
fromJson(JsonReader jsonReader)
Reads an instance of Default |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Default |
withAllowedApplications(List<String> allowedApplications)
Set the allowed |
Default |
withAllowedPrincipals(AllowedPrincipals allowedPrincipals)
Set the allowed |
Methods inherited from java.lang.Object
Constructor Details
DefaultAuthorizationPolicy
public DefaultAuthorizationPolicy()
Creates an instance of DefaultAuthorizationPolicy class.
Method Details
allowedApplications
public List
Get the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.
Returns:
allowedPrincipals
public AllowedPrincipals allowedPrincipals()
Get the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.
Returns:
fromJson
public static DefaultAuthorizationPolicy fromJson(JsonReader jsonReader)
Reads an instance of DefaultAuthorizationPolicy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAllowedApplications
public DefaultAuthorizationPolicy withAllowedApplications(List
Set the allowedApplications property: The configuration settings of the Azure Active Directory allowed applications.
Parameters:
Returns:
withAllowedPrincipals
public DefaultAuthorizationPolicy withAllowedPrincipals(AllowedPrincipals allowedPrincipals)
Set the allowedPrincipals property: The configuration settings of the Azure Active Directory allowed principals.
Parameters:
Returns:
Applies to
Azure SDK for Java