az cosmosdb locations

管理 Azure Cosmos DB 位置屬性。

命令

名稱 Description 類型 狀態
az cosmosdb locations list

擷取 cosmosdb 位置和其屬性的清單。

核心 GA
az cosmosdb locations show

顯示指定位置中的 Azure Cosmos DB 位置屬性。

核心 GA

az cosmosdb locations list

擷取 cosmosdb 位置和其屬性的清單。

az cosmosdb locations list
全域參數
--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 locations show

顯示指定位置中的 Azure Cosmos DB 位置屬性。

az cosmosdb locations show --location

範例

顯示指定位置中的 Azure Cosmos DB 位置屬性。

az cosmosdb locations show --location 'East US'

必要參數

--location -l

位置的名稱。

全域參數
--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 來取得完整偵錯記錄。