Delen via


RoleAssignmentsOperationsExtensions.GetById Methode

Definitie

Een roltoewijzing ophalen op basis van id.

public static Microsoft.Azure.Management.Authorization.Models.RoleAssignment GetById (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string roleAssignmentId, string tenantId = default);
static member GetById : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * string -> Microsoft.Azure.Management.Authorization.Models.RoleAssignment
<Extension()>
Public Function GetById (operations As IRoleAssignmentsOperations, roleAssignmentId As String, Optional tenantId As String = Nothing) 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>

tenantId
String

Tenant-id voor aanvraag tussen tenants

Retouren

Van toepassing op