Sdílet prostřednictvím


ClustersOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a Kusto cluster.

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

Parameters

operations
IClustersOperations

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.

parameters
Cluster

The Kusto cluster parameters supplied to the CreateOrUpdate operation.

ifMatch
String

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

ifNoneMatch
String

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to