Ejemplo n.º 1
0
 /// <summary>
 /// Update RUs per second of an Azure Cosmos DB Gremlin database
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// Cosmos DB database account name.
 /// </param>
 /// <param name='databaseName'>
 /// Cosmos DB database name.
 /// </param>
 /// <param name='updateThroughputParameters'>
 /// The RUs per second of the parameters to provide for the current Gremlin
 /// database.
 /// </param>
 public static ThroughputSettingsGetResults UpdateGremlinDatabaseThroughput(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters)
 {
     return(operations.UpdateGremlinDatabaseThroughputAsync(resourceGroupName, accountName, databaseName, updateThroughputParameters).GetAwaiter().GetResult());
 }