Share via


RoleAssignmentOperationsExtensions.CreateByIdAsync Method

Definition

Create role assignment by 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)

Parameters

operations
IRoleAssignmentOperations

Reference to the Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.

roleAssignmentId
String

Required. Role assignment Id

parameters
RoleAssignmentCreateParameters

Required. Role assignment.

Returns

Role assignments creation results

Applies to