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

RoleAssignment Interface

Implements

public interface RoleAssignment
extends Indexable, HasInnerModel<RoleAssignmentInner>, HasId, HasName, HasManager<AuthorizationManager>

An immutable client-side representation of an Azure AD role assignment.

Method Summary

Modifier and Type Method and Description
abstract String condition()

Gets the condition.

abstract String description()

Gets the description.

abstract String principalId()

Gets the principal ID.

abstract String roleDefinitionId()

Gets the role definition ID.

abstract String scope()

Gets the role assignment scope.

Method Details

condition

public abstract String condition()

Gets the condition.

This is a preview feature.

Returns:

the condition

description

public abstract String description()

Gets the description.

Returns:

the description

principalId

public abstract String principalId()

Gets the principal ID.

Returns:

the principal ID

roleDefinitionId

public abstract String roleDefinitionId()

Gets the role definition ID.

Returns:

the role definition ID

scope

public abstract String scope()

Gets the role assignment scope.

Returns:

the role assignment scope

Applies to