Partager via


RoleAssignmentOperationsExtensions.CreateByIdAsync Méthode

Définition

Créez une attribution de rôle par ID.

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

Paramètres

operations
IRoleAssignmentOperations

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

roleAssignmentId
String

Obligatoire. ID d’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 à