Partager via


KustoDatabasePrincipalAssignmentCollection.GetIfExists Méthode

Définition

Tente d’obtenir les détails de cette ressource à partir du service.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}
  • IdDatabasePrincipalAssignments_Get d’opération
public virtual Azure.NullableResponse<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentResource> GetIfExists (string principalAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Kusto.KustoDatabasePrincipalAssignmentResource>
Public Overridable Function GetIfExists (principalAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of KustoDatabasePrincipalAssignmentResource)

Paramètres

principalAssignmentName
String

Nom du principalAssignment Kusto.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

principalAssignmentName est une chaîne vide et devait être non vide.

principalAssignmentName a la valeur null.

S’applique à