Partager via


RoleAssignmentOperationsExtensions.Create Méthode

Définition

Créez une attribution de rôle.

public static Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult Create (this Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations operations, string scope, Guid roleAssignmentName, Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters parameters);
static member Create : Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations * string * Guid * Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters -> Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateResult
<Extension()>
Public Function Create (operations As IRoleAssignmentOperations, scope As String, roleAssignmentName As Guid, parameters As RoleAssignmentCreateParameters) As 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 à