다음을 통해 공유


RoleAssignmentOperationsExtensions.CreateAsync 메서드

정의

역할 할당을 만듭니다.

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

매개 변수

operations
IRoleAssignmentOperations

Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations에 대한 참조입니다.

scope
String

필수 요소. 범위

roleAssignmentName
Guid

필수 요소. 역할 할당 이름입니다.

parameters
RoleAssignmentCreateParameters

필수 요소. 역할 할당.

반환

역할 할당 생성 결과

적용 대상