Compartilhar via


CassandraResourcesOperationsExtensions.CreateUpdateCassandraKeyspaceAsync Método

Definição

Criar ou atualizar um keyspace do Cassandra do Azure Cosmos DB

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.CassandraKeyspaceGetResults> CreateUpdateCassandraKeyspaceAsync (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 CreateUpdateCassandraKeyspaceAsync : 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 CreateUpdateCassandraKeyspaceAsync (operations As ICassandraResourcesOperations, resourceGroupName As String, accountName As String, keyspaceName As String, createUpdateCassandraKeyspaceParameters As CassandraKeyspaceCreateUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CassandraKeyspaceGetResults)

Parâmetros

operations
ICassandraResourcesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

accountName
String

Nome da conta de banco de dados do Cosmos DB.

keyspaceName
String

Nome do keyspace do Cosmos DB.

createUpdateCassandraKeyspaceParameters
CassandraKeyspaceCreateUpdateParameters

Os parâmetros a serem fornecidos para o keyspace atual do Cassandra.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a