你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleManagementPolicyAssignmentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleManagementPolicyAssignmentProperties
- com.
Implements
public final class RoleManagementPolicyAssignmentProperties
implements JsonSerializable<RoleManagementPolicyAssignmentProperties>
Role management policy assignment properties with scope.
Constructor Summary
Constructor | Description |
---|---|
RoleManagementPolicyAssignmentProperties() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Role |
effectiveRules()
Get the effective |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
Policy |
policyAssignmentProperties()
Get the policy |
String |
policyId()
Get the policy |
String |
roleDefinitionId()
Get the role |
String |
scope()
Get the scope property: The role management policy scope. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Role |
withPolicyId(String policyId)
Set the policy |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the role |
Role |
withScope(String scope)
Set the scope property: The role management policy scope. |
Methods inherited from java.lang.Object
Constructor Details
RoleManagementPolicyAssignmentProperties
public RoleManagementPolicyAssignmentProperties()
Creates an instance of RoleManagementPolicyAssignmentProperties class.
Method Details
effectiveRules
public List
Get the effectiveRules property: The readonly computed rule applied to the policy.
Returns:
fromJson
public static RoleManagementPolicyAssignmentProperties fromJson(JsonReader jsonReader)
Reads an instance of RoleManagementPolicyAssignmentProperties from the JsonReader.
Parameters:
Returns:
Throws:
policyAssignmentProperties
public PolicyAssignmentProperties policyAssignmentProperties()
Get the policyAssignmentProperties property: Additional properties of scope, role definition and policy.
Returns:
policyId
public String policyId()
Get the policyId property: The policy id role management policy assignment.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId property: The role definition of management policy assignment.
Returns:
scope
public String scope()
Get the scope property: The role management policy scope.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPolicyId
public RoleManagementPolicyAssignmentProperties withPolicyId(String policyId)
Set the policyId property: The policy id role management policy assignment.
Parameters:
Returns:
withRoleDefinitionId
public RoleManagementPolicyAssignmentProperties withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition of management policy assignment.
Parameters:
Returns:
withScope
public RoleManagementPolicyAssignmentProperties withScope(String scope)
Set the scope property: The role management policy scope.
Parameters:
Returns: