Partager via


KustoDatabaseResource.GetKustoDatabasePrincipalAssignmentAsync Méthode

Définition

Obtient un principal de base de données de cluster Kusto.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}
  • IdDatabasePrincipalAssignments_Get d’opération
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))

Paramètres

principalAssignmentName
String

Nom du Kusto principalAssignment.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

principalAssignmentName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

principalAssignmentName a la valeur null.

S’applique à