Share via


az cosmosdb locations

Manage Azure Cosmos DB location properties.

Commands

Name Description Type Status
az cosmosdb locations list

Retrieves the list of cosmosdb locations and their properties.

Core GA
az cosmosdb locations show

Show the Azure Cosmos DB location properties in the given location.

Core GA

az cosmosdb locations list

Retrieves the list of cosmosdb locations and their properties.

az cosmosdb locations list
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az cosmosdb locations show

Show the Azure Cosmos DB location properties in the given location.

az cosmosdb locations show --location

Examples

Shows the Azure Cosmos DB location properties in the given location.

az cosmosdb locations show --location 'East US'

Required Parameters

--location -l

Name of the location.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.