共用方式為


CassandraDataCentersOperationsExtensions.BeginCreateUpdateAsync Method

Definition

Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource> BeginCreateUpdateAsync (this Microsoft.Azure.Management.CosmosDB.ICassandraDataCentersOperations operations, string resourceGroupName, string clusterName, string dataCenterName, Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource body, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateUpdateAsync : Microsoft.Azure.Management.CosmosDB.ICassandraDataCentersOperations * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource>
<Extension()>
Public Function BeginCreateUpdateAsync (operations As ICassandraDataCentersOperations, resourceGroupName As String, clusterName As String, dataCenterName As String, body As DataCenterResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataCenterResource)

Parameters

operations
ICassandraDataCentersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

clusterName
String

Managed Cassandra cluster name.

dataCenterName
String

Data center name in a managed Cassandra cluster.

body
DataCenterResource

Parameters specifying the managed Cassandra data center.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to