Freigeben über


KustoClusterResource.GetKustoDatabaseAsync(String, CancellationToken) Methode

Definition

Gibt eine Datenbank zurück.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Vorgang IdDatabases_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoDatabaseResource>> GetKustoDatabaseAsync (string databaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKustoDatabaseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoDatabaseResource>>
override this.GetKustoDatabaseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoDatabaseResource>>
Public Overridable Function GetKustoDatabaseAsync (databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoDatabaseResource))

Parameter

databaseName
String

Der Name der Datenbank im Kusto-Cluster.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

databaseName ist NULL.

Gilt für: