KustoScriptCollection.GetAsync(String, CancellationToken) Method

Definition

Gets a Kusto cluster database script.

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

Parameters

scriptName
String

The name of the Kusto database script.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

scriptName is an empty string, and was expected to be non-empty.

scriptName is null.

Applies to