Condividi tramite


SynapseBigDataPoolInfoCollection.CreateOrUpdateAsync Method

Definition

Create a new Big Data pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/bigDataPools/{bigDataPoolName}
  • Operation Id: BigDataPools_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseBigDataPoolInfoResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string bigDataPoolName, Azure.ResourceManager.Synapse.SynapseBigDataPoolInfoData info, bool? force = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Synapse.SynapseBigDataPoolInfoData * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseBigDataPoolInfoResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Synapse.SynapseBigDataPoolInfoData * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseBigDataPoolInfoResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, bigDataPoolName As String, info As SynapseBigDataPoolInfoData, Optional force As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of SynapseBigDataPoolInfoResource))

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.

bigDataPoolName
String

Big Data pool name.

info
SynapseBigDataPoolInfoData

The Big Data pool to create.

force
Nullable<Boolean>

Whether to stop any running jobs in the Big Data pool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

bigDataPoolName or info is null.

Applies to