Freigeben über


KustoDatabasePrincipalAssignmentCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}
  • Vorgang IdDatabasePrincipalAssignments_Get
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)

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: