-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az cosmosdb create " location" issue #28330
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botCosmosDBaz cosmosdbaz cosmosdbService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botCosmosDBaz cosmosdbaz cosmosdbService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Describe the bug
az cosmosdb create --name $accountName --resource-group $resourceGroupName --kind GlobalDocumentDB --locations regionName="mexicocentral" --capabilities EnableTable
I can successfully create the cosmosdb with Read Locations and Write Locations all point to mexicocentral, but for the location in the portal is always set to "East US" (I think it is the default value), and I did not find where I can set this value


Related command
az cosmosdb create
Errors
no parameter to set the location value
Issue script & Debug output
N/A
Expected behavior
set the right location value
Environment Summary
azure-cli 2.56.0 *
Additional context
No response