Partilhar via


KustoClusterResource.GetKustoDatabaseAsync(String, CancellationToken) Método

Definição

Retorna um banco de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}
  • Operação 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))

Parâmetros

databaseName
String

O nome do banco de dados no cluster Kusto.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

databaseName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

databaseName é nulo.

Aplica-se a