Skip to content

Commit a30a418

Browse files
MehaKaushikdkmillerazclibotMeha Kaushik
authored
[CosmosDB] Allow creating fixed collections (#13950)
* {Docs} Remove stale reference in README to closed issue about extensions (#12771) * Making shard key optional, to allow fixed collections Co-authored-by: Daniel Miller <[email protected]> Co-authored-by: Azure CLI Team <[email protected]> Co-authored-by: Meha Kaushik <[email protected]>
1 parent c5a29aa commit a30a418

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/cosmosdb

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def cli_cosmosdb_mongodb_collection_create(client,
633633
account_name,
634634
database_name,
635635
collection_name,
636-
shard_key_path,
636+
shard_key_path=None,
637637
indexes=None,
638638
throughput=None):
639639
"""Create an Azure Cosmos DB MongoDB collection"""

0 commit comments

Comments
 (0)