Partager via


RoleAssignmentOperationsExtensions.CreateAsync Méthode

Définition

Créez une attribution de rôle.

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)

Paramètres

operations
IRoleAssignmentOperations

Référence à Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.

scope
String

Obligatoire. Portée.

roleAssignmentName
Guid

Obligatoire. Nom de l’attribution de rôle.

parameters
RoleAssignmentCreateParameters

Obligatoire. Attribution de rôle.

Retours

Résultats de la création des attributions de rôle

S’applique à