az cosmosdb sql database throughput

在 Azure Cosmos DB 帳戶下管理 SQL 資料庫的輸送量。

命令

名稱 Description 類型 狀態
az cosmosdb sql database throughput migrate

在自動調整和手動布建之間移轉 SQL 資料庫的輸送量。

核心 GA
az cosmosdb sql database throughput show

取得 Azure Cosmos DB 帳戶下 SQL 資料庫的輸送量。

核心 GA
az cosmosdb sql database throughput update

更新 Azure Cosmos DB 帳戶下 SQL 資料庫的輸送量。

核心 GA

az cosmosdb sql database throughput migrate

在自動調整和手動布建之間移轉 SQL 資料庫的輸送量。

az cosmosdb sql database throughput migrate --account-name
                                            --name
                                            --resource-group
                                            --throughput-type {autoscale, manual}

必要參數

--account-name -a

Cosmosdb 帳戶名稱。

--name -n

資料庫名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--throughput-type -t

要移轉至的輸送量類型。

接受的值: autoscale, manual
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az cosmosdb sql database throughput show

取得 Azure Cosmos DB 帳戶下 SQL 資料庫的輸送量。

az cosmosdb sql database throughput show --account-name
                                         --name
                                         --resource-group

必要參數

--account-name -a

Cosmosdb 帳戶名稱。

--name -n

資料庫名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az cosmosdb sql database throughput update

更新 Azure Cosmos DB 帳戶下 SQL 資料庫的輸送量。

az cosmosdb sql database throughput update --account-name
                                           --name
                                           --resource-group
                                           [--max-throughput]
                                           [--throughput]

必要參數

--account-name -a

Cosmosdb 帳戶名稱。

--name -n

資料庫名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

選擇性參數

--max-throughput

輸送量資源上限可以調整為 (RU/秒)。 提供資源啟用自動調整時。 最小值可以是 4000 (RU/秒)。

--throughput

SQL 資料庫的輸送量(RU/秒)。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。