CmdID / az / az documentdb / az documentdb mongocluster
az documentdb mongocluster create
Create a mongo cluster. Azure CLI extensions reference
17 options Its page in the Azure CLI extensions reference
Options
--admin-password, --password, -pThe administrator password.--admin-user, -uThe administrator user name.--auth-allowed-modesSpace-separated list of allowed authentication modes for data access.--cluster-name, --name, -nThe name of the mongo cluster.--data-api-modeEnable or disable the Mongo Data API on the cluster.--encryptionThe encryption configuration for the cluster.--high-availabilityThe target high availability mode requested for the cluster.--mi-user-assigned, --user-assignedSet the user managed identities.--network-bypass-modeThe network bypass mode for the cluster.--preview-featuresSpace-separated list of preview features to enable on the cluster.--public-network-accessWhether or not public endpoint access is allowed for this mongo cluster.--server-versionThe Mongo DB server version.--shard-countNumber of shards to provision on the cluster.--storage-sizeThe size of the data disk assigned to each server.--storage-typeThe type of storage to provision the cluster servers with.--tagsResource tags.--tierThe compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size.