Skip to main content

cosmosdb sql-database update-throughput

Updates the throughput settings for a SQL database in an Azure Cosmos DB account.

Options

  • -s, --subscription-id - (Required) (Required) Subscription ID.
  • -a, --account-name - (Required) (Required) Cosmos DB account name.
  • -n, --database-name - (Required) (Required) SQL database name.
  • -g, --resource-group - (Required) (Required) Resource group name.
  • --throughput - (Required) (Required) Manual throughput in RU/s.

Examples

Update throughput for a SQL database

$ topaz cosmosdb sql-database update-throughput \
--subscription-id "00000000-0000-0000-0000-000000000000" \
--resource-group "rg-local" \
--account-name "my-cosmos-account" \
--database-name "my-database" \
--throughput 800
Star on GitHub