Dela via


CassandraResourcesOperationsExtensions.CreateUpdateCassandraTableAsync Method

Definition

Create or update an Azure Cosmos DB Cassandra Table

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

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.

tableName
String

Cosmos DB table name.

createUpdateCassandraTableParameters
CassandraTableCreateUpdateParameters

The parameters to provide for the current Cassandra Table.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to