Partilhar via


KustoDatabaseResource.GetKustoScriptAsync(String, CancellationToken) Método

Definição

Obtém um script de banco de dados de cluster Kusto.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • IdScripts_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>> GetKustoScriptAsync (string scriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKustoScriptAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>>
override this.GetKustoScriptAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>>
Public Overridable Function GetKustoScriptAsync (scriptName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoScriptResource))

Parâmetros

scriptName
String

O nome do script de banco de dados Kusto.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

scriptName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

scriptName é nulo.

Aplica-se a