Delen via


RoleAssignmentsOperationsExtensions.CreateById Methode

Definitie

Een roltoewijzing maken of bijwerken op id.

public static Microsoft.Azure.Management.Authorization.Models.RoleAssignment CreateById (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string roleAssignmentId, Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters parameters);
static member CreateById : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters -> Microsoft.Azure.Management.Authorization.Models.RoleAssignment
<Extension()>
Public Function CreateById (operations As IRoleAssignmentsOperations, roleAssignmentId As String, parameters As RoleAssignmentCreateParameters) As RoleAssignment

Parameters

operations
IRoleAssignmentsOperations

De bewerkingsgroep voor deze extensiemethode.

roleAssignmentId
String

De volledig gekwalificeerde id van de roltoewijzing, inclusief bereik, resourcenaam en resourcetype. Indeling: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Voorbeeld: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>

parameters
RoleAssignmentCreateParameters

Parameters voor de roltoewijzing.

Retouren

Van toepassing op