Azure / Azure/azure-cli

az cosmosdb sql container create is missing the url-connection parameter

Open
#28,000 5 comments 2 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign CosmosDB customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
az cosmosdb sql container create

**Description**
We have a script that creates the CosmosDB containers for our different environments, but we have to use the previous deprecated az command to be able to create our local testing environment to be able to connect to the CosmosDb Emulator, because the new one doesn't have the option to change the url connection.
Lately we came with the need of one of the new features of the new command, to be able to add a unique key to our container, so, we had to swith to an SDK and a custom implementation instead.

**Proposed solution**
Add the url-connection to the new Azure command as the deprecated command had.

**Current alternatives**
Our alternatives right now are using the go SDK and the deprecated command instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.