Sdílet prostřednictvím


CassandraDataCentersOperationsExtensions.UpdateAsync Method

Definition

Update some of the properties of a managed Cassandra data center.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.DataCenterResource> UpdateAsync (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 UpdateAsync : 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 UpdateAsync (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 to provide for specifying the managed Cassandra data center.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to