CassandraDataCentersOperationsExtensions.CreateUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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> CreateUpdateAsync (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 CreateUpdateAsync : 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 CreateUpdateAsync (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
Azure SDK for .NET