Dela via


SynapseKustoPoolCollection.CreateOrUpdate Method

Definition

Create or update a Kusto pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}
  • Operation Id: KustoPools_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseKustoPoolResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string kustoPoolName, Azure.ResourceManager.Synapse.SynapseKustoPoolData data, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Synapse.SynapseKustoPoolData * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseKustoPoolResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Synapse.SynapseKustoPoolData * string * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseKustoPoolResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, kustoPoolName As String, data As SynapseKustoPoolData, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SynapseKustoPoolResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

kustoPoolName
String

The name of the Kusto pool.

data
SynapseKustoPoolData

The Kusto pool parameters supplied to the CreateOrUpdate operation.

ifMatch
String

The ETag of the Kusto Pool. Omit this value to always overwrite the current Kusto Pool. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

ifNoneMatch
String

Set to '*' to allow a new Kusto Pool to be created, but to prevent updating an existing Kusto Pool. Other values will result in a 412 Pre-condition Failed response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

kustoPoolName or data is null.

Applies to