Azure Cosmos DB
An Azure NoSQL database service for app development.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
Two questions:
I'm on the vcore version of this resource, not RU - not sure if that's relevant or not.
An Azure NoSQL database service for app development.
Answer accepted by question author
previewFeatures property on the Microsoft.DocumentDB/mongoClusters resource using the Azure CLI generic az resource commands with the 2024-10-01-preview API. Steps:
az login
az resource show \
--ids "/subscriptions/<sub id>/resourceGroups/<resource group name>/providers/Microsoft.DocumentDB/mongoClusters/<cluster-name>" \
--api-version 2024-10-01-preview
previewFeatures to include "ChangeStreams":
az resource patch \
--ids "/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.DocumentDB/mongoClusters/<cluster-name>" \
--api-version 2024-10-01-preview \
--properties "{\"previewFeatures\": [ \"ChangeStreams\"]}"
"previewFeatures": ["ChangeStreams"]
mongoClusters resource type.previewFeatures flag does not state that a cluster restart is required or performed as part of enabling the feature. It only describes enabling the feature through an ARM/CLI PATCH operation and verifying the previewFeatures property. No restart requirement or behavior is documented in the referenced material.References: