你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RoleManagementPolicyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleManagementPolicyProperties
- com.
Implements
public final class RoleManagementPolicyProperties
implements JsonSerializable<RoleManagementPolicyProperties>
Role management policy properties with scope.
Constructor Summary
Constructor | Description |
---|---|
RoleManagementPolicyProperties() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The role management policy description. |
String |
displayName()
Get the display |
List<Role |
effectiveRules()
Get the effective |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
Boolean |
isOrganizationDefault()
Get the is |
Principal |
lastModifiedBy()
Get the last |
Offset |
lastModifiedDateTime()
Get the last |
Policy |
policyProperties()
Get the policy |
List<Role |
rules()
Get the rules property: The rule applied to the policy. |
String |
scope()
Get the scope property: The role management policy scope. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Role |
withDescription(String description)
Set the description property: The role management policy description. |
Role |
withDisplayName(String displayName)
Set the display |
Role |
withIsOrganizationDefault(Boolean isOrganizationDefault)
Set the is |
Role |
withRules(List<RoleManagementPolicyRule> rules)
Set the rules property: The rule applied to the policy. |
Role |
withScope(String scope)
Set the scope property: The role management policy scope. |
Methods inherited from java.lang.Object
Constructor Details
RoleManagementPolicyProperties
public RoleManagementPolicyProperties()
Creates an instance of RoleManagementPolicyProperties class.
Method Details
description
public String description()
Get the description property: The role management policy description.
Returns:
displayName
public String displayName()
Get the displayName property: The role management policy display name.
Returns:
effectiveRules
public List
Get the effectiveRules property: The readonly computed rule applied to the policy.
Returns:
fromJson
public static RoleManagementPolicyProperties fromJson(JsonReader jsonReader)
Reads an instance of RoleManagementPolicyProperties from the JsonReader.
Parameters:
Returns:
Throws:
isOrganizationDefault
public Boolean isOrganizationDefault()
Get the isOrganizationDefault property: The role management policy is default policy.
Returns:
lastModifiedBy
public Principal lastModifiedBy()
Get the lastModifiedBy property: The name of the entity last modified it.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The last modified date time.
Returns:
policyProperties
public PolicyProperties policyProperties()
Get the policyProperties property: Additional properties of scope.
Returns:
rules
public List
Get the rules property: The rule applied to the policy.
Returns:
scope
public String scope()
Get the scope property: The role management policy scope.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public RoleManagementPolicyProperties withDescription(String description)
Set the description property: The role management policy description.
Parameters:
Returns:
withDisplayName
public RoleManagementPolicyProperties withDisplayName(String displayName)
Set the displayName property: The role management policy display name.
Parameters:
Returns:
withIsOrganizationDefault
public RoleManagementPolicyProperties withIsOrganizationDefault(Boolean isOrganizationDefault)
Set the isOrganizationDefault property: The role management policy is default policy.
Parameters:
Returns:
withRules
public RoleManagementPolicyProperties withRules(List
Set the rules property: The rule applied to the policy.
Parameters:
Returns:
withScope
public RoleManagementPolicyProperties withScope(String scope)
Set the scope property: The role management policy scope.
Parameters:
Returns: