Partager via


MongoDBCollectionThroughputSettingResource.MongoDBContainerRedistributeThroughput Méthode

Définition

Redistribuer le débit pour un conteneur MongoDB Azure Cosmos DB

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/redistributeThroughput
  • IdMongoDBResources_MongoDBContainerRedistributeThroughput d’opération
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResult> MongoDBContainerRedistributeThroughput (Azure.WaitUntil waitUntil, Azure.ResourceManager.CosmosDB.Models.RedistributeThroughputParameters redistributeThroughputParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member MongoDBContainerRedistributeThroughput : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.RedistributeThroughputParameters * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResult>
override this.MongoDBContainerRedistributeThroughput : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.RedistributeThroughputParameters * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResult>
Public Overridable Function MongoDBContainerRedistributeThroughput (waitUntil As WaitUntil, redistributeThroughputParameters As RedistributeThroughputParameters, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of PhysicalPartitionThroughputInfoResult)

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.

redistributeThroughputParameters
RedistributeThroughputParameters

Paramètres à fournir pour redistribuer le débit pour le conteneur MongoDB actuel.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

redistributeThroughputParameters a la valeur null.

S’applique à