KustoScriptCollection.Get(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 Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource> Get (string scriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>
Public Overridable Function Get (scriptName As String, Optional cancellationToken As CancellationToken = Nothing) As 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