CmdID

CmdID / az / az cosmosdb / az cosmosdb mongodb

az cosmosdb mongodb collection

Manage Azure Cosmos DB MongoDB collections. Azure CLI reference

11 commands 8 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Commands

11, each with its page

Options

8 in the Azure CLI reference
--account-name, -aCosmosdb account name.
--analytical-storage-ttlAnalytical TTL, when analytical storage is enabled.
--database-name, -dDatabase name.
--idxIndexes, you can enter it as a string or as a file, e.g., --idx @indexes-file.json or --idx "[{\"key\": {\"keys\": [\"_ts\"]},\"options\": {\"expireAfterSeconds\": 1000}}, {\"key\": {\"keys\": [\"user_id\", \"user_address\"]}, \"options\": {\"unique\": \"true\"}}]"
--max-throughputThe maximum throughput resource can scale to (RU/s).
--name, -nCollection name
--shardSharding key path.
--throughputThe throughput of MongoDB collection (RU/s).