共用方式為


ScriptsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates a Kusto database script.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.Script> CreateOrUpdateAsync (this Microsoft.Azure.Management.Kusto.IScriptsOperations operations, string resourceGroupName, string clusterName, string databaseName, string scriptName, Microsoft.Azure.Management.Kusto.Models.Script parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Kusto.IScriptsOperations * string * string * string * string * Microsoft.Azure.Management.Kusto.Models.Script * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.Script>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IScriptsOperations, resourceGroupName As String, clusterName As String, databaseName As String, scriptName As String, parameters As Script, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Script)

Parameters

operations
IScriptsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

databaseName
String

The name of the database in the Kusto cluster.

scriptName
String

The name of the Kusto database script.

parameters
Script

The Kusto Script parameters contains the KQL to run.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to