Esempio n. 1
0
 /// <summary>
 /// Update the RUs per second of an Azure Cosmos DB MongoDB collection
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// Cosmos DB database account name.
 /// </param>
 /// <param name='databaseName'>
 /// Cosmos DB database name.
 /// </param>
 /// <param name='collectionName'>
 /// Cosmos DB collection name.
 /// </param>
 /// <param name='updateThroughputParameters'>
 /// The RUs per second of the parameters to provide for the current MongoDB
 /// collection.
 /// </param>
 public static ThroughputSettingsGetResults UpdateMongoDBCollectionThroughput(this IMongoDBResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string collectionName, ThroughputSettingsUpdateParameters updateThroughputParameters)
 {
     return(operations.UpdateMongoDBCollectionThroughputAsync(resourceGroupName, accountName, databaseName, collectionName, updateThroughputParameters).GetAwaiter().GetResult());
 }