Freigeben über


KustoDatabaseResource.GetKustoDatabasePrincipalAssignmentAsync Methode

Definition

Ruft eine Kusto-Clusterdatenbank principalAssignment ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}
  • Vorgangs-IdDatabasePrincipalAssignments_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentResource>> GetKustoDatabasePrincipalAssignmentAsync (string principalAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKustoDatabasePrincipalAssignmentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentResource>>
override this.GetKustoDatabasePrincipalAssignmentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentResource>>
Public Overridable Function GetKustoDatabasePrincipalAssignmentAsync (principalAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoDatabasePrincipalAssignmentResource))

Parameter

principalAssignmentName
String

Der Name des Kusto principalAssignment.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

principalAssignmentName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

principalAssignmentName ist NULL.

Gilt für: