Compartilhar via


CassandraResourcesOperationsExtensions.UpdateCassandraKeyspaceThroughputAsync Método

Definição

Atualizar RUs por segundo de um Keyspace do Cassandra do Azure Cosmos DB

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

Parâmetros

operations
ICassandraResourcesOperations

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

resourceGroupName
String

Nome de um grupo de recursos do Azure.

accountName
String

Nome da conta de banco de dados do Cosmos DB.

keyspaceName
String

Nome do keyspace do Cosmos DB.

updateThroughputParameters
ThroughputSettingsUpdateParameters

As RUs por segundo dos parâmetros a serem fornecidos para o Keyspace do Cassandra atual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a