RoleAssignmentsOperationsExtensions.DeleteByIdAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Löschen Sie eine Rollenzuweisung nach ID.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignment> DeleteByIdAsync (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string roleAssignmentId, string tenantId = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteByIdAsync : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignment>
<Extension()>
Public Function DeleteByIdAsync (operations As IRoleAssignmentsOperations, roleAssignmentId As String, Optional tenantId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RoleAssignment)
Parameter
- operations
- IRoleAssignmentsOperations
Die Vorgangsgruppe für diese Erweiterungsmethode.
- roleAssignmentId
- String
Die vollqualifizierte ID der Rollenzuweisung, einschließlich Bereich, Ressourcenname und Ressourcentyp. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Beispiel: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>
- tenantId
- String
Mandanten-ID für mandantenübergreifende Anforderung
- cancellationToken
- CancellationToken
Das Abbruchtoken.
Gibt zurück
Gilt für:
Azure SDK for .NET