Share via


RoleAssignmentOperationsExtensions.CreateById Method

Definition

Create role assignment by Id.

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