RoleManagementPolicyAssignmentInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleManagementPolicyAssignmentInner
- com.
Implements
public final class RoleManagementPolicyAssignmentInner
implements JsonSerializable<RoleManagementPolicyAssignmentInner>
Role management policy.
Constructor Summary
Constructor | Description |
---|---|
RoleManagementPolicyAssignmentInner() |
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 |
String |
id()
Get the id property: The role management policy Id. |
String |
name()
Get the name property: The role management policy name. |
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) |
String |
type()
Get the type property: The role management policy type. |
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
RoleManagementPolicyAssignmentInner
public RoleManagementPolicyAssignmentInner()
Creates an instance of RoleManagementPolicyAssignmentInner class.
Method Details
effectiveRules
public List
Get the effectiveRules property: The readonly computed rule applied to the policy.
Returns:
fromJson
public static RoleManagementPolicyAssignmentInner fromJson(JsonReader jsonReader)
Reads an instance of RoleManagementPolicyAssignmentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The role management policy Id.
Returns:
name
public String name()
Get the name property: The role management policy name.
Returns:
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
type
public String type()
Get the type property: The role management policy type.
Returns:
validate
public void validate()
Validates the instance.
withPolicyId
public RoleManagementPolicyAssignmentInner withPolicyId(String policyId)
Set the policyId property: The policy id role management policy assignment.
Parameters:
Returns:
withRoleDefinitionId
public RoleManagementPolicyAssignmentInner withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId property: The role definition of management policy assignment.
Parameters:
Returns:
withScope
public RoleManagementPolicyAssignmentInner withScope(String scope)
Set the scope property: The role management policy scope.
Parameters:
Returns:
Applies to
Azure SDK for Java