Share via


ClustersOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a Kusto cluster.

public static Microsoft.Azure.Management.Kusto.Models.Cluster CreateOrUpdate (this Microsoft.Azure.Management.Kusto.IClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.Kusto.Models.Cluster parameters, string ifMatch = default, string ifNoneMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.Kusto.IClustersOperations * string * string * Microsoft.Azure.Management.Kusto.Models.Cluster * string * string -> Microsoft.Azure.Management.Kusto.Models.Cluster
<Extension()>
Public Function CreateOrUpdate (operations As IClustersOperations, resourceGroupName As String, clusterName As String, parameters As Cluster, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing) As 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.

Returns

Applies to