Freigeben über


ICassandraResourcesOperations.UpdateCassandraTableThroughputWithHttpMessagesAsync Methode

Definition

Aktualisieren von RUs pro Sekunde einer Azure Cosmos DB Cassandra-Tabelle

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CosmosDB.Fluent.Models.ThroughputSettingsGetResultsInner>> UpdateCassandraTableThroughputWithHttpMessagesAsync (string resourceGroupName, string accountName, string keyspaceName, string tableName, Microsoft.Azure.Management.CosmosDB.Fluent.Models.ThroughputSettingsUpdateParameters updateThroughputParameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateCassandraTableThroughputWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.ThroughputSettingsUpdateParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.CosmosDB.Fluent.Models.ThroughputSettingsGetResultsInner>>
Public Function UpdateCassandraTableThroughputWithHttpMessagesAsync (resourceGroupName As String, accountName As String, keyspaceName As String, tableName As String, updateThroughputParameters As ThroughputSettingsUpdateParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ThroughputSettingsGetResultsInner))

Parameter

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

accountName
String

Name des Cosmos DB-Datenbankkontos.

keyspaceName
String

Cosmos DB-Schlüsselraumname.

tableName
String

Cosmos DB-Tabellenname.

updateThroughputParameters
ThroughputSettingsUpdateParameters

Die RUs pro Sekunde der Parameter, die für die aktuelle Cassandra-Tabelle bereitgestellt werden sollen.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: