Compartilhar via


KustoScriptCollection.GetIfExistsAsync(String, CancellationToken) Método

Definição

Tenta obter detalhes para esse recurso do serviço.

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

Parâmetros

scriptName
String

O nome do script do banco de dados Kusto.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

scriptName é nulo.

Aplica-se a