共用方式為


KustoDatabaseResource.GetKustoScript(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> GetKustoScript (string scriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKustoScript : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>
override this.GetKustoScript : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kusto.KustoScriptResource>
Public Overridable Function GetKustoScript (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 null.

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

Applies to