Freigeben über


KustoScriptResource.Update Methode

Definition

Updates ein Datenbankskript.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/scripts/{scriptName}
  • Vorgang IdScripts_Update
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoScriptResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Kusto.KustoScriptData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Kusto.KustoScriptData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoScriptResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Kusto.KustoScriptData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Kusto.KustoScriptResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As KustoScriptData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of KustoScriptResource)

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

data
KustoScriptData

Die Kusto-Skriptparameter enthalten, um den KQL auszuführen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: