PolicyAssignmentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. PolicyAssignmentProperties
- com.
Implements
public final class PolicyAssignmentProperties
implements JsonSerializable<PolicyAssignmentProperties>
Expanded info of resource scope, role definition and policy.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
|
Policy |
policy()
Get the policy property: Details of the policy. |
|
Policy |
roleDefinition()
Get the role |
|
Policy |
scope()
Get the scope property: Details of the resource scope. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static PolicyAssignmentProperties fromJson(JsonReader jsonReader)
Reads an instance of PolicyAssignmentProperties from the JsonReader.
Parameters:
Returns:
Throws:
policy
public PolicyAssignmentPropertiesPolicy policy()
Get the policy property: Details of the policy.
Returns:
roleDefinition
public PolicyAssignmentPropertiesRoleDefinition roleDefinition()
Get the roleDefinition property: Details of role definition.
Returns:
scope
public PolicyAssignmentPropertiesScope scope()
Get the scope property: Details of the resource scope.
Returns:
toJson
validate
public void validate()
Validates the instance.