Freigeben über


IRoleAssignmentOperations.CreateByIdAsync Methode

Definition

Erstellen Sie die Rollenzuweisung nach ID.

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

Parameter

roleAssignmentId
String

Rollenzuweisungs-ID

parameters
RoleAssignmentCreateParameters

Rollenzuweisung.

cancellationToken
CancellationToken

Abbruchtoken.

Gibt zurück

Ergebnisse zur Erstellung von Rollenzuweisungen

Gilt für: