共用方式為


CassandraResourcesOperationsExtensions.CreateUpdateCassandraTableAsync Method

Definition

Create or update an Azure Cosmos DB Cassandra Table

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraTableGetResultsInner> CreateUpdateCassandraTableAsync (this Microsoft.Azure.Management.CosmosDB.Fluent.ICassandraResourcesOperations operations, string resourceGroupName, string accountName, string keyspaceName, string tableName, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateUpdateCassandraTableAsync : Microsoft.Azure.Management.CosmosDB.Fluent.ICassandraResourcesOperations * string * string * string * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraTableCreateUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.Models.CassandraTableGetResultsInner>
<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 CassandraTableGetResultsInner)

Parameters

operations
ICassandraResourcesOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure resource group.

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