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

RoleAssignmentsClient Class

Definition

The RoleAssignments service client.

public class RoleAssignmentsClient
type RoleAssignmentsClient = class
Public Class RoleAssignmentsClient
Inheritance
RoleAssignmentsClient

Constructors

Name Description
RoleAssignmentsClient()

Initializes a new instance of RoleAssignmentsClient for mocking.

RoleAssignmentsClient(Uri, TokenCredential, AccessControlClientOptions)

Initializes a new instance of RoleAssignmentsClient.

Methods

Name Description
CheckPrincipalAccess(SubjectInfo, IEnumerable<RequiredAction>, String, CancellationToken)

Check if the given principalId has access to perform list of actions at a given scope.

CheckPrincipalAccessAsync(SubjectInfo, IEnumerable<RequiredAction>, String, CancellationToken)

Check if the given principalId has access to perform list of actions at a given scope.

CreateRoleAssignment(String, Guid, Guid, String, String, CancellationToken)

Create role assignment.

CreateRoleAssignmentAsync(String, Guid, Guid, String, String, CancellationToken)

Create role assignment.

DeleteRoleAssignmentById(String, String, CancellationToken)

Delete role assignment by role assignment Id.

DeleteRoleAssignmentByIdAsync(String, String, CancellationToken)

Delete role assignment by role assignment Id.

GetRoleAssignmentById(String, CancellationToken)

Get role assignment by role assignment Id.

GetRoleAssignmentByIdAsync(String, CancellationToken)

Get role assignment by role assignment Id.

ListRoleAssignments(String, String, String, String, CancellationToken)

List role assignments.

ListRoleAssignmentsAsync(String, String, String, String, CancellationToken)

List role assignments.

Applies to