共用方式為


az cosmosdb table throughput

管理 Azure Cosmos DB 帳戶下的數據表輸送量。

命令

名稱 Description 類型 狀態
az cosmosdb table throughput migrate

在自動調整和手動布建之間移轉數據表的輸送量。

核心 GA
az cosmosdb table throughput show

取得 Azure Cosmos DB 帳戶下數據表的輸送量。

核心 GA
az cosmosdb table throughput update

更新 Azure Cosmos DB 帳戶下數據表的輸送量。

核心 GA

az cosmosdb table throughput migrate

在自動調整和手動布建之間移轉數據表的輸送量。

az cosmosdb table 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 table throughput show

取得 Azure Cosmos DB 帳戶下數據表的輸送量。

az cosmosdb table 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 table throughput update

更新 Azure Cosmos DB 帳戶下數據表的輸送量。

az cosmosdb table 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

數據表的輸送量(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。