CassandraClustersOperationsExtensions.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 cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.ClusterResource> CreateUpdateAsync (this Microsoft.Azure.Management.CosmosDB.ICassandraClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.CosmosDB.Models.ClusterResource body, System.Threading.CancellationToken cancellationToken = default);
static member CreateUpdateAsync : Microsoft.Azure.Management.CosmosDB.ICassandraClustersOperations * string * string * Microsoft.Azure.Management.CosmosDB.Models.ClusterResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.ClusterResource>
<Extension()>
Public Function CreateUpdateAsync (operations As ICassandraClustersOperations, resourceGroupName As String, clusterName As String, body As ClusterResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClusterResource)
Parameters
- operations
- ICassandraClustersOperations
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.
- body
- ClusterResource
The properties specifying the desired state of the managed Cassandra cluster.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET