KustoDatabaseResource.GetKustoScriptAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>> 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))
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.