CmdID / az / az cosmosdb
az cosmosdb collection
Manage Azure Cosmos DB collections. Azure CLI reference
8 options Its page in the Azure CLI reference
Options
--cepClient Encryption Policy, you can enter it as a string or as a file, e.g., --cep @policy-file.json or --cep "{\"includedPaths\": [{\"path\": \"/path1\",\"clientEncryptionKeyId\": \"key1\",\"encryptionAlgorithm\": \"AEAD_AES_256_CBC_HMAC_SHA256\",\"encryptionType\": \"Deterministic\"}],\"policyFormatVersion\": 2}"--collection-name, -cCollection Name--default-ttlDefault TTL.--full-text-policyFull Text Policy, you can enter it as a string or as a file, e.g., --full-text-policy @policy-file.json or --full-text-policy "{\"fullTextPaths\": [{\"path\": \"/ftPath1\", \"language\": \"en-US\" }]}"--indexing-policyIndexing Policy, you can enter it as a string or as a file, e.g., --indexing-policy @policy-file.json)--partition-key-pathPartition Key Path, e.g., '/properties/name'--throughputOffer Throughput (RU/s)--vector-embeddingsVector Embedding Policy, you can enter it as a string or as a file, e.g., --vector-embeddings @policy-file.json or --vector-embeddings "{\"vectorEmbeddings\": [{\"path\": \"/vector1\", \"dataType\": \"float32\", \"dimensions\": 2, \"distanceFunction\": \"dotproduct\" }]}"