你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoleAssignmentPropertiesWithScope 类

  • java.lang.Object
    • com.microsoft.azure.management.graphrbac.RoleAssignmentPropertiesWithScope

public class RoleAssignmentPropertiesWithScope

具有作用域的角色分配属性。

方法摘要

修饰符和类型 方法和描述
String principalId()

获取 principalId 值。

String roleDefinitionId()

获取 roleDefinitionId 值。

String scope()

获取范围值。

RoleAssignmentPropertiesWithScope withPrincipalId(String principalId)

设置 principalId 值。

RoleAssignmentPropertiesWithScope withRoleDefinitionId(String roleDefinitionId)

设置 roleDefinitionId 值。

RoleAssignmentPropertiesWithScope withScope(String scope)

设置范围值。

方法详细信息

principalId

public String principalId()

获取 principalId 值。

Returns:

principalId 值

roleDefinitionId

public String roleDefinitionId()

获取 roleDefinitionId 值。

Returns:

roleDefinitionId 值

scope

public String scope()

获取范围值。

Returns:

范围值

withPrincipalId

public RoleAssignmentPropertiesWithScope withPrincipalId(String principalId)

设置 principalId 值。

Parameters:

principalId - 要设置的 principalId 值

Returns:

RoleAssignmentPropertiesWithScope 对象本身。

withRoleDefinitionId

public RoleAssignmentPropertiesWithScope withRoleDefinitionId(String roleDefinitionId)

设置 roleDefinitionId 值。

Parameters:

roleDefinitionId - 要设置的 roleDefinitionId 值

Returns:

RoleAssignmentPropertiesWithScope 对象本身。

withScope

public RoleAssignmentPropertiesWithScope withScope(String scope)

设置范围值。

Parameters:

scope - 要设置的范围值

Returns:

RoleAssignmentPropertiesWithScope 对象本身。

适用于