Udostępnij za pośrednictwem


CassandraResourcesOperationsExtensions.BeginCreateUpdateCassandraKeyspaceAsync Method

Definition

Create or update an Azure Cosmos DB Cassandra keyspace

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.CassandraKeyspaceGetResults> BeginCreateUpdateCassandraKeyspaceAsync (this Microsoft.Azure.Management.CosmosDB.ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, Microsoft.Azure.Management.CosmosDB.Models.CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateUpdateCassandraKeyspaceAsync : Microsoft.Azure.Management.CosmosDB.ICassandraResourcesOperations * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.CassandraKeyspaceCreateUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.CassandraKeyspaceGetResults>
<Extension()>
Public Function BeginCreateUpdateCassandraKeyspaceAsync (operations As ICassandraResourcesOperations, resourceGroupName As String, accountName As String, keyspaceName As String, createUpdateCassandraKeyspaceParameters As CassandraKeyspaceCreateUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CassandraKeyspaceGetResults)

Parameters

operations
ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName
String

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

accountName
String

Cosmos DB database account name.

keyspaceName
String

Cosmos DB keyspace name.

createUpdateCassandraKeyspaceParameters
CassandraKeyspaceCreateUpdateParameters

The parameters to provide for the current Cassandra keyspace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to