KustoDatabaseResource.GetKustoScript(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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET