다음을 통해 공유


IRoleAssignmentOperations.CreateAsync 메서드

정의

역할 할당을 만듭니다.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult> CreateAsync (string scope, Guid roleAssignmentName, Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Guid * Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult>
Public Function CreateAsync (scope As String, roleAssignmentName As Guid, parameters As RoleAssignmentCreateParameters, cancellationToken As CancellationToken) As Task(Of RoleAssignmentCreateResult)

매개 변수

scope
String

범위

roleAssignmentName
Guid

역할 할당 이름입니다.

parameters
RoleAssignmentCreateParameters

역할 할당.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

역할 할당 생성 결과

적용 대상