diff --git a/Commands/documentdb/mongocluster/_check-name-availability.md b/Commands/documentdb/mongocluster/_check-name-availability.md new file mode 100644 index 000000000..466f567ec --- /dev/null +++ b/Commands/documentdb/mongocluster/_check-name-availability.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster check-name-availability_ + +Check if mongo cluster name is available for use. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.xml) **Stable** + + + +#### examples + +- Check if a mongo cluster name is available. + ```bash + documentdb mongocluster check-name-availability --location eastus --name MyCluster + ``` diff --git a/Commands/documentdb/mongocluster/_create.md b/Commands/documentdb/mongocluster/_create.md new file mode 100644 index 000000000..5858a546c --- /dev/null +++ b/Commands/documentdb/mongocluster/_create.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster create_ + +Create a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Create a mongo cluster with Premium SSD v2 storage. + ```bash + documentdb mongocluster create -n MyCluster -g MyResourceGroup --location eastus --admin-user dbadmin --admin-password MyP@ssw0rd123! --tier M30 --storage-size 128 --storage-type PremiumSSDv2 --shard-count 1 --high-availability Disabled + ``` diff --git a/Commands/documentdb/mongocluster/_delete.md b/Commands/documentdb/mongocluster/_delete.md new file mode 100644 index 000000000..b9f67b04a --- /dev/null +++ b/Commands/documentdb/mongocluster/_delete.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster delete_ + +Delete a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Delete a mongo cluster. + ```bash + documentdb mongocluster delete -n MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/_list-connection-strings.md b/Commands/documentdb/mongocluster/_list-connection-strings.md new file mode 100644 index 000000000..710f4317d --- /dev/null +++ b/Commands/documentdb/mongocluster/_list-connection-strings.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster list-connection-strings_ + +List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.xml) **Stable** + + + +#### examples + +- List the connection strings for a mongo cluster. + ```bash + documentdb mongocluster list-connection-strings --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/_list.md b/Commands/documentdb/mongocluster/_list.md new file mode 100644 index 000000000..fd9157b5f --- /dev/null +++ b/Commands/documentdb/mongocluster/_list.md @@ -0,0 +1,17 @@ +# [Command] _documentdb mongocluster list_ + +List all the mongo clusters in a given subscription. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.xml) **Stable** + + + + +#### examples + +- List all mongo clusters in a resource group. + ```bash + documentdb mongocluster list -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/_show.md b/Commands/documentdb/mongocluster/_show.md new file mode 100644 index 000000000..3da367ea7 --- /dev/null +++ b/Commands/documentdb/mongocluster/_show.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster show_ + +Get information about a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Get information about a mongo cluster. + ```bash + documentdb mongocluster show -n MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/_update.md b/Commands/documentdb/mongocluster/_update.md new file mode 100644 index 000000000..f6e7051f0 --- /dev/null +++ b/Commands/documentdb/mongocluster/_update.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster update_ + +Update a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Update a mongo cluster's compute tier. + ```bash + documentdb mongocluster update -n MyCluster -g MyResourceGroup --tier M40 + ``` diff --git a/Commands/documentdb/mongocluster/firewall-rule/_create.md b/Commands/documentdb/mongocluster/firewall-rule/_create.md new file mode 100644 index 000000000..0f693e30d --- /dev/null +++ b/Commands/documentdb/mongocluster/firewall-rule/_create.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster firewall-rule create_ + +Create a new firewall rule or updates an existing firewall rule on a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml) **Stable** + + + +#### examples + +- Create a firewall rule. + ```bash + documentdb mongocluster firewall-rule create -n AllowOffice --cluster-name MyCluster -g MyResourceGroup --start-ip-address 1.2.3.4 --end-ip-address 1.2.3.9 + ``` diff --git a/Commands/documentdb/mongocluster/firewall-rule/_delete.md b/Commands/documentdb/mongocluster/firewall-rule/_delete.md new file mode 100644 index 000000000..0c929c073 --- /dev/null +++ b/Commands/documentdb/mongocluster/firewall-rule/_delete.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster firewall-rule delete_ + +Delete a mongo cluster firewall rule. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml) **Stable** + + + +#### examples + +- Delete a firewall rule. + ```bash + documentdb mongocluster firewall-rule delete -n AllowOffice --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/firewall-rule/_list.md b/Commands/documentdb/mongocluster/firewall-rule/_list.md new file mode 100644 index 000000000..f29c98402 --- /dev/null +++ b/Commands/documentdb/mongocluster/firewall-rule/_list.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster firewall-rule list_ + +List all the firewall rules in a given mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.xml) **Stable** + + + +#### examples + +- List firewall rules on a cluster. + ```bash + documentdb mongocluster firewall-rule list --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/firewall-rule/_show.md b/Commands/documentdb/mongocluster/firewall-rule/_show.md new file mode 100644 index 000000000..fa218ce4a --- /dev/null +++ b/Commands/documentdb/mongocluster/firewall-rule/_show.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster firewall-rule show_ + +Get information about a mongo cluster firewall rule. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml) **Stable** + + + +#### examples + +- Get a firewall rule. + ```bash + documentdb mongocluster firewall-rule show -n AllowOffice --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/firewall-rule/_update.md b/Commands/documentdb/mongocluster/firewall-rule/_update.md new file mode 100644 index 000000000..6f3654efa --- /dev/null +++ b/Commands/documentdb/mongocluster/firewall-rule/_update.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster firewall-rule update_ + +Update a new firewall rule or updates an existing firewall rule on a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml) **Stable** + + + +#### examples + +- Update a firewall rule's IP range. + ```bash + documentdb mongocluster firewall-rule update -n AllowOffice --cluster-name MyCluster -g MyResourceGroup --end-ip-address 1.2.3.20 + ``` diff --git a/Commands/documentdb/mongocluster/firewall-rule/readme.md b/Commands/documentdb/mongocluster/firewall-rule/readme.md new file mode 100644 index 000000000..7f1903027 --- /dev/null +++ b/Commands/documentdb/mongocluster/firewall-rule/readme.md @@ -0,0 +1,20 @@ +# [Group] _documentdb mongocluster firewall-rule_ + +Manage Firewall Rule + +## Commands + +- [create](/Commands/documentdb/mongocluster/firewall-rule/_create.md) +: Create a new firewall rule or updates an existing firewall rule on a mongo cluster. + +- [delete](/Commands/documentdb/mongocluster/firewall-rule/_delete.md) +: Delete a mongo cluster firewall rule. + +- [list](/Commands/documentdb/mongocluster/firewall-rule/_list.md) +: List all the firewall rules in a given mongo cluster. + +- [show](/Commands/documentdb/mongocluster/firewall-rule/_show.md) +: Get information about a mongo cluster firewall rule. + +- [update](/Commands/documentdb/mongocluster/firewall-rule/_update.md) +: Update a new firewall rule or updates an existing firewall rule on a mongo cluster. diff --git a/Commands/documentdb/mongocluster/identity/_assign.md b/Commands/documentdb/mongocluster/identity/_assign.md new file mode 100644 index 000000000..c319b3c42 --- /dev/null +++ b/Commands/documentdb/mongocluster/identity/_assign.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Assign a user-assigned managed identity. + ```bash + documentdb mongocluster identity assign -n MyCluster -g MyResourceGroup --user-assigned /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity + ``` diff --git a/Commands/documentdb/mongocluster/identity/_remove.md b/Commands/documentdb/mongocluster/identity/_remove.md new file mode 100644 index 000000000..a7e1908b5 --- /dev/null +++ b/Commands/documentdb/mongocluster/identity/_remove.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Remove a managed identity. + ```bash + documentdb mongocluster identity remove -n MyCluster -g MyResourceGroup --user-assigned /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity + ``` diff --git a/Commands/documentdb/mongocluster/identity/_show.md b/Commands/documentdb/mongocluster/identity/_show.md new file mode 100644 index 000000000..74667cd85 --- /dev/null +++ b/Commands/documentdb/mongocluster/identity/_show.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster identity show_ + +Show the details of managed identities. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Show managed identities. + ```bash + documentdb mongocluster identity show -n MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/identity/readme.md b/Commands/documentdb/mongocluster/identity/readme.md new file mode 100644 index 000000000..9220392cf --- /dev/null +++ b/Commands/documentdb/mongocluster/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _documentdb mongocluster identity_ + +Manage Identity + +## Commands + +- [assign](/Commands/documentdb/mongocluster/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/documentdb/mongocluster/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/documentdb/mongocluster/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/documentdb/mongocluster/readme.md b/Commands/documentdb/mongocluster/readme.md new file mode 100644 index 000000000..c483b0db6 --- /dev/null +++ b/Commands/documentdb/mongocluster/readme.md @@ -0,0 +1,40 @@ +# [Group] _documentdb mongocluster_ + +Manage Mongo Cluster + +## Subgroups + +- [firewall-rule](/Commands/documentdb/mongocluster/firewall-rule/readme.md) +: Manage Firewall Rule + +- [identity](/Commands/documentdb/mongocluster/identity/readme.md) +: Manage Identity + +- [replica](/Commands/documentdb/mongocluster/replica/readme.md) +: Manage Replica + +- [user](/Commands/documentdb/mongocluster/user/readme.md) +: Manage User + +## Commands + +- [check-name-availability](/Commands/documentdb/mongocluster/_check-name-availability.md) +: Check if mongo cluster name is available for use. + +- [create](/Commands/documentdb/mongocluster/_create.md) +: Create a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. + +- [delete](/Commands/documentdb/mongocluster/_delete.md) +: Delete a mongo cluster. + +- [list](/Commands/documentdb/mongocluster/_list.md) +: List all the mongo clusters in a given subscription. + +- [list-connection-strings](/Commands/documentdb/mongocluster/_list-connection-strings.md) +: List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. + +- [show](/Commands/documentdb/mongocluster/_show.md) +: Get information about a mongo cluster. + +- [update](/Commands/documentdb/mongocluster/_update.md) +: Update a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH. diff --git a/Commands/documentdb/mongocluster/replica/_list.md b/Commands/documentdb/mongocluster/replica/_list.md new file mode 100644 index 000000000..e7a1126b3 --- /dev/null +++ b/Commands/documentdb/mongocluster/replica/_list.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster replica list_ + +List all the replicas for the mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.xml) **Stable** + + + +#### examples + +- List replicas of a cluster. + ```bash + documentdb mongocluster replica list --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/replica/_promote.md b/Commands/documentdb/mongocluster/replica/_promote.md new file mode 100644 index 000000000..0e5c21841 --- /dev/null +++ b/Commands/documentdb/mongocluster/replica/_promote.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster replica promote_ + +Promotes a replica mongo cluster to a primary role. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.xml) **Stable** + + + +#### examples + +- Promote a replica to primary. + ```bash + documentdb mongocluster replica promote -n MyReplica -g MyResourceGroup --mode Switchover --promote-option Forced + ``` diff --git a/Commands/documentdb/mongocluster/replica/readme.md b/Commands/documentdb/mongocluster/replica/readme.md new file mode 100644 index 000000000..808bf493a --- /dev/null +++ b/Commands/documentdb/mongocluster/replica/readme.md @@ -0,0 +1,11 @@ +# [Group] _documentdb mongocluster replica_ + +Manage Replica + +## Commands + +- [list](/Commands/documentdb/mongocluster/replica/_list.md) +: List all the replicas for the mongo cluster. + +- [promote](/Commands/documentdb/mongocluster/replica/_promote.md) +: Promotes a replica mongo cluster to a primary role. diff --git a/Commands/documentdb/mongocluster/user/_create.md b/Commands/documentdb/mongocluster/user/_create.md new file mode 100644 index 000000000..edf97a4a3 --- /dev/null +++ b/Commands/documentdb/mongocluster/user/_create.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster user create_ + +Create a new user or updates an existing user on a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Create an Entra-backed user. + ```bash + documentdb mongocluster user create -n alice-entra --cluster-name MyCluster -g MyResourceGroup --type User --role db=admin role=root + ``` diff --git a/Commands/documentdb/mongocluster/user/_delete.md b/Commands/documentdb/mongocluster/user/_delete.md new file mode 100644 index 000000000..87b5e3b8b --- /dev/null +++ b/Commands/documentdb/mongocluster/user/_delete.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster user delete_ + +Delete a mongo cluster user. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Delete a user. + ```bash + documentdb mongocluster user delete -n alice-entra --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/user/_list.md b/Commands/documentdb/mongocluster/user/_list.md new file mode 100644 index 000000000..00fa41d70 --- /dev/null +++ b/Commands/documentdb/mongocluster/user/_list.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster user list_ + +List all the users on a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.xml) **Stable** + + + +#### examples + +- List users on a cluster. + ```bash + documentdb mongocluster user list --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/user/_show.md b/Commands/documentdb/mongocluster/user/_show.md new file mode 100644 index 000000000..75eb0a096 --- /dev/null +++ b/Commands/documentdb/mongocluster/user/_show.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster user show_ + +Get the defintion of a Mongo cluster user. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Get a user. + ```bash + documentdb mongocluster user show -n alice-entra --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/user/_update.md b/Commands/documentdb/mongocluster/user/_update.md new file mode 100644 index 000000000..2972119b7 --- /dev/null +++ b/Commands/documentdb/mongocluster/user/_update.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster user update_ + +Update a new user or updates an existing user on a mongo cluster. + +## Versions + +### [2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml) **Stable** + + + +#### examples + +- Update a user's roles. + ```bash + documentdb mongocluster user update -n alice-entra --cluster-name MyCluster -g MyResourceGroup --role db=admin role=root + ``` diff --git a/Commands/documentdb/mongocluster/user/readme.md b/Commands/documentdb/mongocluster/user/readme.md new file mode 100644 index 000000000..df0532ec5 --- /dev/null +++ b/Commands/documentdb/mongocluster/user/readme.md @@ -0,0 +1,20 @@ +# [Group] _documentdb mongocluster user_ + +Manage User + +## Commands + +- [create](/Commands/documentdb/mongocluster/user/_create.md) +: Create a new user or updates an existing user on a mongo cluster. + +- [delete](/Commands/documentdb/mongocluster/user/_delete.md) +: Delete a mongo cluster user. + +- [list](/Commands/documentdb/mongocluster/user/_list.md) +: List all the users on a mongo cluster. + +- [show](/Commands/documentdb/mongocluster/user/_show.md) +: Get the defintion of a Mongo cluster user. + +- [update](/Commands/documentdb/mongocluster/user/_update.md) +: Update a new user or updates an existing user on a mongo cluster. diff --git a/Commands/documentdb/readme.md b/Commands/documentdb/readme.md new file mode 100644 index 000000000..cda97a9b1 --- /dev/null +++ b/Commands/documentdb/readme.md @@ -0,0 +1,8 @@ +# [Group] _documentdb_ + +Manage Document Db + +## Subgroups + +- [mongocluster](/Commands/documentdb/mongocluster/readme.md) +: Manage Mongo Cluster diff --git a/Commands/readme.md b/Commands/readme.md index b65bc1241..89bef4d36 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -155,6 +155,9 @@ - [dns-resolver](/Commands/dns-resolver/readme.md) : Manage Dns Resolver +- [documentdb](/Commands/documentdb/readme.md) +: Manage Document Db + - [durabletask](/Commands/durabletask/readme.md) : Commands to manage Durabletask schedulers and taskhubs diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.json new file mode 100644 index 000000000..714dcf1e6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbW9uZ29DbHVzdGVycw==/V/MjAyNi0wNi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJz/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "list", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbW9uZ29DbHVzdGVycw==/V/MjAyNi0wNi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJz/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_MongoClusters_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_MongoClusters_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_MongoClusters_List"], "operationId": "MongoClusters_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_MongoClusters_ListByResourceGroup"], "operationId": "MongoClusters_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.xml new file mode 100644 index 000000000..ce3fef884 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.xml @@ -0,0 +1,550 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.json new file mode 100644 index 000000000..d8630e9f2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/locations/{}/checkmongoclusternameavailability", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2hlY2tNb25nb0NsdXN0ZXJOYW1lQXZhaWxhYmlsaXR5/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "check-name-availability", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/locations/{}/checkmongoclusternameavailability", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2hlY2tNb25nb0NsdXN0ZXJOYW1lQXZhaWxhYmlsaXR5/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.name", "options": ["name"], "group": "Body", "help": {"short": "The name of the resource for which availability needs to be checked."}}, {"type": "string", "var": "$body.type", "options": ["type"], "group": "Body", "help": {"short": "The resource type."}, "default": {"value": "Microsoft.DocumentDB/mongoClusters"}}]}], "operations": [{"operationId": "MongoClusters_CheckNameAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "name", "arg": "$body.name"}, {"type": "string", "name": "type", "arg": "$body.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "message"}, {"type": "boolean", "name": "nameAvailable"}, {"type": "string", "name": "reason", "enum": {"items": [{"value": "AlreadyExists"}, {"value": "Invalid"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.xml new file mode 100644 index 000000000..1b62568e7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-01.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.md new file mode 100644 index 000000000..94cabe632 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.documentdb/mongoclusters 2026-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.json new file mode 100644 index 000000000..4dacad73f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "show", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MongoClusters_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "MongoClusters_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Administrator", "args": [{"type": "password", "var": "$resource.properties.administrator.password", "options": ["p", "admin-password"], "required": true, "group": "Administrator", "help": {"short": "The administrator password."}, "prompt": {"msg": "Password:"}}, {"type": "string", "var": "$resource.properties.administrator.userName", "options": ["u", "admin-user"], "required": true, "group": "Administrator", "help": {"short": "The administrator user name."}}]}, {"name": "AuthConfig", "args": [{"type": "array", "var": "$resource.properties.authConfig.allowedModes", "options": ["auth-allowed-modes"], "group": "AuthConfig", "help": {"short": "Space-separated list of allowed authentication modes for data access. Allowed values: NativeAuth, MicrosoftEntraID. Example: --auth-allowed-modes NativeAuth MicrosoftEntraID"}, "item": {"type": "string", "enum": {"items": [{"name": "MicrosoftEntraID", "value": "MicrosoftEntraID"}, {"name": "NativeAuth", "value": "NativeAuth"}]}}}]}, {"name": "Compute", "args": [{"type": "string", "var": "$resource.properties.compute.tier", "options": ["tier"], "required": true, "group": "Compute", "help": {"short": "The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values: 'M30', 'M40'."}}]}, {"name": "DataApi", "args": [{"type": "string", "var": "$resource.properties.dataApi.mode", "options": ["data-api-mode"], "group": "DataApi", "help": {"short": "Enable or disable the Mongo Data API on the cluster. Allowed values: Enabled, Disabled. Example: --data-api-mode Enabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "HighAvailability", "args": [{"type": "string", "var": "$resource.properties.highAvailability.targetMode", "options": ["high-availability"], "required": true, "group": "HighAvailability", "help": {"short": "The target high availability mode requested for the cluster."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "SameZone", "value": "SameZone"}, {"name": "ZoneRedundantPreferred", "value": "ZoneRedundantPreferred"}]}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "hide": true, "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.createMode", "options": ["create-mode"], "hide": true, "group": "Properties", "help": {"short": "The mode to create a mongo cluster."}, "enum": {"items": [{"name": "Default", "value": "Default"}, {"name": "GeoReplica", "value": "GeoReplica"}, {"name": "PointInTimeRestore", "value": "PointInTimeRestore"}, {"name": "Replica", "value": "Replica"}]}}, {"type": "object", "var": "$resource.properties.encryption", "options": ["encryption"], "group": "Properties", "help": {"short": "The encryption configuration for the cluster. Depends on identity being configured."}, "args": [{"type": "object", "var": "$resource.properties.encryption.customerManagedKeyEncryption", "options": ["customer-managed-key-encryption"], "help": {"short": "Customer managed key encryption settings."}, "args": [{"type": "object", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity", "options": ["key-encryption-key-identity"], "help": {"short": "The identity used to access the key encryption key."}, "args": [{"type": "string", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.identityType", "options": ["identity-type"], "help": {"short": "The type of identity. Only 'UserAssignedIdentity' is supported."}, "enum": {"items": [{"name": "UserAssignedIdentity", "value": "UserAssignedIdentity"}]}}, {"type": "string", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.userAssignedIdentityResourceId", "options": ["user-assigned-identity-resource-id"], "help": {"short": "The user assigned identity resource id."}}]}, {"type": "string", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyUrl", "options": ["key-encryption-key-url"], "help": {"short": "The URI of the key vault key used for encryption."}}]}]}, {"type": "string", "var": "$resource.properties.networkBypassMode", "options": ["network-bypass-mode"], "group": "Properties", "help": {"short": "The network bypass mode for the cluster. Setting to 'AzureCosmosDB' allows Azure Cosmos DB service to bypass network restrictions."}, "enum": {"items": [{"name": "AzureCosmosDB", "value": "AzureCosmosDB"}, {"name": "None", "value": "None"}]}}, {"type": "array", "var": "$resource.properties.previewFeatures", "options": ["preview-features"], "group": "Properties", "help": {"short": "List of private endpoint connections."}, "item": {"type": "string", "enum": {"items": [{"name": "GeoReplicas", "value": "GeoReplicas"}]}}}, {"type": "string", "var": "$resource.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "Whether or not public endpoint access is allowed for this mongo cluster."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "object", "var": "$resource.properties.replicaParameters", "options": ["replica-parameters"], "hide": true, "group": "Properties", "help": {"short": "The parameters to create a replica mongo cluster."}, "args": [{"type": "string", "var": "$resource.properties.replicaParameters.sourceLocation", "options": ["source-location"], "required": true, "help": {"short": "The location of the source cluster"}}, {"type": "ResourceId", "var": "$resource.properties.replicaParameters.sourceResourceId", "options": ["source-resource-id"], "required": true, "help": {"short": "The id of the replication source cluster."}}]}, {"type": "object", "var": "$resource.properties.restoreParameters", "options": ["restore-parameters"], "hide": true, "group": "Properties", "help": {"short": "The parameters to create a point-in-time restore mongo cluster."}, "args": [{"type": "dateTime", "var": "$resource.properties.restoreParameters.pointInTimeUTC", "options": ["point-in-time-utc"], "help": {"short": "UTC point in time to restore a mongo cluster"}, "format": {"protocol": "iso"}}, {"type": "ResourceId", "var": "$resource.properties.restoreParameters.sourceResourceId", "options": ["source-resource-id"], "help": {"short": "Resource ID to locate the source cluster to restore"}}]}, {"type": "string", "var": "$resource.properties.serverVersion", "options": ["server-version"], "group": "Properties", "help": {"short": "The Mongo DB server version. Defaults to the latest available version if not specified."}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Sharding", "args": [{"type": "integer32", "var": "$resource.properties.sharding.shardCount", "options": ["shard-count"], "required": true, "group": "Sharding", "help": {"short": "Number of shards to provision on the cluster."}}]}, {"name": "Storage", "args": [{"type": "integer64", "var": "$resource.properties.storage.sizeGb", "options": ["storage-size"], "required": true, "group": "Storage", "help": {"short": "The size of the data disk assigned to each server."}}, {"type": "string", "var": "$resource.properties.storage.type", "options": ["storage-type"], "group": "Storage", "help": {"short": "The type of storage to provision the cluster servers with."}, "enum": {"items": [{"name": "PremiumSSD", "value": "PremiumSSD"}, {"name": "PremiumSSDv2", "value": "PremiumSSDv2"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "original-uri"}, "operationId": "MongoClusters_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "password", "name": "password", "arg": "$resource.properties.administrator.password", "secret": true}, {"type": "string", "name": "userName", "arg": "$resource.properties.administrator.userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "arg": "$resource.properties.authConfig.allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier", "arg": "$resource.properties.compute.tier"}]}, {"type": "string", "name": "createMode", "arg": "$resource.properties.createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "arg": "$resource.properties.dataApi.mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "arg": "$resource.properties.encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "arg": "$resource.properties.encryption.customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "arg": "$resource.properties.highAvailability.targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"type": "string", "name": "networkBypassMode", "arg": "$resource.properties.networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "arg": "$resource.properties.previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"type": "string", "name": "publicNetworkAccess", "arg": "$resource.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "object", "name": "replicaParameters", "arg": "$resource.properties.replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "arg": "$resource.properties.replicaParameters.sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "arg": "$resource.properties.replicaParameters.sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "arg": "$resource.properties.restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "arg": "$resource.properties.restoreParameters.pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId", "arg": "$resource.properties.restoreParameters.sourceResourceId"}]}, {"type": "string", "name": "serverVersion", "arg": "$resource.properties.serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount", "arg": "$resource.properties.sharding.shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb", "arg": "$resource.properties.storage.sizeGb"}, {"type": "string", "name": "type", "arg": "$resource.properties.storage.type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Administrator", "args": [{"nullable": true, "type": "password", "var": "$resource.properties.administrator.password", "options": ["p", "admin-password"], "group": "Administrator", "help": {"short": "The administrator password."}, "prompt": {"msg": "Password:"}}, {"nullable": true, "type": "string", "var": "$resource.properties.administrator.userName", "options": ["u", "admin-user"], "group": "Administrator", "help": {"short": "The administrator user name."}}]}, {"name": "AuthConfig", "args": [{"nullable": true, "type": "array", "var": "$resource.properties.authConfig.allowedModes", "options": ["auth-allowed-modes"], "group": "AuthConfig", "help": {"short": "Space-separated list of allowed authentication modes for data access. Allowed values: NativeAuth, MicrosoftEntraID. Example: --auth-allowed-modes NativeAuth MicrosoftEntraID"}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "MicrosoftEntraID", "value": "MicrosoftEntraID"}, {"name": "NativeAuth", "value": "NativeAuth"}]}}}]}, {"name": "Compute", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.compute.tier", "options": ["tier"], "group": "Compute", "help": {"short": "The compute tier to assign to the cluster, where each tier maps to a virtual-core and memory size. Example values: 'M30', 'M40'."}}]}, {"name": "DataApi", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.dataApi.mode", "options": ["data-api-mode"], "group": "DataApi", "help": {"short": "Enable or disable the Mongo Data API on the cluster. Allowed values: Enabled, Disabled. Example: --data-api-mode Enabled"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}, {"name": "HighAvailability", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.highAvailability.targetMode", "options": ["high-availability"], "group": "HighAvailability", "help": {"short": "The target high availability mode requested for the cluster."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "SameZone", "value": "SameZone"}, {"name": "ZoneRedundantPreferred", "value": "ZoneRedundantPreferred"}]}}]}, {"name": "Identity", "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.encryption", "options": ["encryption"], "group": "Properties", "help": {"short": "The encryption configuration for the cluster. Depends on identity being configured."}, "args": [{"nullable": true, "type": "object", "var": "$resource.properties.encryption.customerManagedKeyEncryption", "options": ["customer-managed-key-encryption"], "help": {"short": "Customer managed key encryption settings."}, "args": [{"nullable": true, "type": "object", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity", "options": ["key-encryption-key-identity"], "help": {"short": "The identity used to access the key encryption key."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.identityType", "options": ["identity-type"], "help": {"short": "The type of identity. Only 'UserAssignedIdentity' is supported."}, "enum": {"items": [{"name": "UserAssignedIdentity", "value": "UserAssignedIdentity"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.userAssignedIdentityResourceId", "options": ["user-assigned-identity-resource-id"], "help": {"short": "The user assigned identity resource id."}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyUrl", "options": ["key-encryption-key-url"], "help": {"short": "The URI of the key vault key used for encryption."}}]}]}, {"nullable": true, "type": "string", "var": "$resource.properties.networkBypassMode", "options": ["network-bypass-mode"], "group": "Properties", "help": {"short": "The network bypass mode for the cluster. Setting to 'AzureCosmosDB' allows Azure Cosmos DB service to bypass network restrictions."}, "enum": {"items": [{"name": "AzureCosmosDB", "value": "AzureCosmosDB"}, {"name": "None", "value": "None"}]}}, {"nullable": true, "type": "array", "var": "$resource.properties.previewFeatures", "options": ["preview-features"], "group": "Properties", "help": {"short": "List of private endpoint connections."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "GeoReplicas", "value": "GeoReplicas"}]}}}, {"nullable": true, "type": "string", "var": "$resource.properties.publicNetworkAccess", "options": ["public-network-access"], "group": "Properties", "help": {"short": "Whether or not public endpoint access is allowed for this mongo cluster."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.serverVersion", "options": ["server-version"], "group": "Properties", "help": {"short": "The Mongo DB server version. Defaults to the latest available version if not specified."}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Sharding", "args": [{"nullable": true, "type": "integer32", "var": "$resource.properties.sharding.shardCount", "options": ["shard-count"], "group": "Sharding", "help": {"short": "Number of shards to provision on the cluster."}}]}, {"name": "Storage", "args": [{"nullable": true, "type": "integer64", "var": "$resource.properties.storage.sizeGb", "options": ["storage-size"], "group": "Storage", "help": {"short": "The size of the data disk assigned to each server."}}, {"nullable": true, "type": "string", "var": "$resource.properties.storage.type", "options": ["storage-type"], "group": "Storage", "help": {"short": "The type of storage to provision the cluster servers with."}, "enum": {"items": [{"name": "PremiumSSD", "value": "PremiumSSD"}, {"name": "PremiumSSDv2", "value": "PremiumSSDv2"}]}}]}], "operations": [{"operationId": "MongoClusters_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "password", "name": "password", "arg": "$resource.properties.administrator.password", "secret": true}, {"type": "string", "name": "userName", "arg": "$resource.properties.administrator.userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "arg": "$resource.properties.authConfig.allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier", "arg": "$resource.properties.compute.tier"}]}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "arg": "$resource.properties.dataApi.mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "arg": "$resource.properties.encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "arg": "$resource.properties.encryption.customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyIdentity.userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl", "arg": "$resource.properties.encryption.customerManagedKeyEncryption.keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "arg": "$resource.properties.highAvailability.targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"type": "string", "name": "networkBypassMode", "arg": "$resource.properties.networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "arg": "$resource.properties.previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"type": "string", "name": "publicNetworkAccess", "arg": "$resource.properties.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "serverVersion", "arg": "$resource.properties.serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount", "arg": "$resource.properties.sharding.shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb", "arg": "$resource.properties.storage.sizeGb"}, {"type": "string", "name": "type", "arg": "$resource.properties.storage.type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "original-uri"}, "operationId": "MongoClusters_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "subresource": "identity", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "hide": true, "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "MongoClusters_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "original-uri"}, "operationId": "MongoClusters_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "subresource": "identity", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "hide": true, "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "MongoClusters_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "original-uri"}, "operationId": "MongoClusters_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-01", "subresource": "identity", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name", "cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "MongoClusters_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "MongoCluster_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml new file mode 100644 index 000000000..5099619df --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-01.xml @@ -0,0 +1,2490 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.json new file mode 100644 index 000000000..1d52a7fe6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVz/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster firewall-rule", "commands": [{"name": "list", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVz/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallRules_ListByMongoCluster", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/firewallRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "endIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "startIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.xml new file mode 100644 index 000000000..f972c7d70 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-01.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.json new file mode 100644 index 000000000..2b0290459 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster firewall-rule", "commands": [{"name": "show", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallRuleName", "options": ["n", "name", "firewall-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster firewall rule."}, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "FirewallRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallRuleName", "arg": "$Path.firewallRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/firewallRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "endIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "startIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallRuleName", "options": ["n", "name", "firewall-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster firewall rule."}, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "FirewallRules_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "firewallRuleName", "arg": "$Path.firewallRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallRuleName", "options": ["n", "name", "firewall-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster firewall rule."}, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.endIpAddress", "options": ["end-ip-address"], "group": "Properties", "help": {"short": "The end IP address of the mongo cluster firewall rule. Must be IPv4 format."}, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"type": "string", "var": "$resource.properties.startIpAddress", "options": ["start-ip-address"], "group": "Properties", "help": {"short": "The start IP address of the mongo cluster firewall rule. Must be IPv4 format."}, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "FirewallRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallRuleName", "arg": "$Path.firewallRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "endIpAddress", "arg": "$resource.properties.endIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"type": "string", "name": "startIpAddress", "arg": "$resource.properties.startIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/firewallRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "endIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "startIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.firewallRuleName", "options": ["n", "name", "firewall-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster firewall rule."}, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.endIpAddress", "options": ["end-ip-address"], "group": "Properties", "help": {"short": "The end IP address of the mongo cluster firewall rule. Must be IPv4 format."}, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"type": "string", "var": "$resource.properties.startIpAddress", "options": ["start-ip-address"], "group": "Properties", "help": {"short": "The start IP address of the mongo cluster firewall rule. Must be IPv4 format."}, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}], "operations": [{"operationId": "FirewallRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "firewallRuleName", "arg": "$Path.firewallRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/firewallRules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "endIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "startIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "FirewallRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "endIpAddress", "arg": "$resource.properties.endIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}, {"type": "string", "name": "startIpAddress", "arg": "$resource.properties.startIpAddress", "required": true, "format": {"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "FirewallRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "firewallRuleName", "arg": "$Path.firewallRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][-_.a-zA-Z0-9]*", "maxLength": 80, "minLength": 1}}, {"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@FirewallRule_read"}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml new file mode 100644 index 000000000..64419268d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-01.xml @@ -0,0 +1,478 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.json new file mode 100644 index 000000000..89e0b1026 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/listconnectionstrings", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9saXN0Q29ubmVjdGlvblN0cmluZ3M=/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "list-connection-strings", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/listconnectionstrings", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9saXN0Q29ubmVjdGlvblN0cmluZ3M=/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "MongoClusters_ListConnectionStrings", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "array", "name": "connectionStrings", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "connectionString"}, {"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "name"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.xml new file mode 100644 index 000000000..77221c7a0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-01.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.json new file mode 100644 index 000000000..c7750f948 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/promote", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9wcm9tb3Rl/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster replica", "commands": [{"name": "promote", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/promote", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9wcm9tb3Rl/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "The name of the replica to promote."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.mode", "options": ["mode"], "group": "Body", "help": {"short": "The mode to apply to the promote operation. Value is optional and default value is 'Switchover'."}, "enum": {"items": [{"name": "Switchover", "value": "Switchover"}]}}, {"type": "string", "var": "$body.promoteOption", "options": ["promote-option"], "required": true, "group": "Body", "help": {"short": "The promote option to apply to the operation."}, "enum": {"items": [{"name": "Forced", "value": "Forced"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "MongoClusters_Promote", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/promote", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "mode", "arg": "$body.mode", "enum": {"items": [{"value": "Switchover"}]}}, {"type": "string", "name": "promoteOption", "arg": "$body.promoteOption", "required": true, "enum": {"items": [{"value": "Forced"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.xml new file mode 100644 index 000000000..b160779e1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-01.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.json new file mode 100644 index 000000000..626525589 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/replicas", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9yZXBsaWNhcw==/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster replica", "commands": [{"name": "list", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/replicas", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9yZXBsaWNhcw==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Replicas_ListByParent", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/replicas", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "administrator", "props": [{"type": "string", "name": "userName"}]}, {"type": "object", "name": "authConfig", "props": [{"type": "array", "name": "allowedModes", "item": {"type": "string", "enum": {"items": [{"value": "MicrosoftEntraID"}, {"value": "NativeAuth"}]}}}]}, {"type": "object", "name": "backup", "props": [{"readOnly": true, "type": "string", "name": "earliestRestoreTime"}]}, {"readOnly": true, "type": "string", "name": "clusterStatus", "enum": {"items": [{"value": "Dropping"}, {"value": "Provisioning"}, {"value": "Ready"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}, {"value": "Updating"}]}}, {"type": "object", "name": "compute", "props": [{"type": "string", "name": "tier"}]}, {"readOnly": true, "type": "string", "name": "connectionString"}, {"type": "string", "name": "createMode", "enum": {"items": [{"value": "Default"}, {"value": "GeoReplica"}, {"value": "PointInTimeRestore"}, {"value": "Replica"}]}}, {"type": "object", "name": "dataApi", "props": [{"type": "string", "name": "mode", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"type": "object", "name": "encryption", "props": [{"type": "object", "name": "customerManagedKeyEncryption", "props": [{"type": "object", "name": "keyEncryptionKeyIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "UserAssignedIdentity"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"type": "string", "name": "keyEncryptionKeyUrl"}]}]}, {"type": "object", "name": "highAvailability", "props": [{"type": "string", "name": "targetMode", "enum": {"items": [{"value": "Disabled"}, {"value": "SameZone"}, {"value": "ZoneRedundantPreferred"}]}}]}, {"readOnly": true, "type": "string", "name": "infrastructureVersion"}, {"type": "string", "name": "networkBypassMode", "enum": {"items": [{"value": "AzureCosmosDB"}, {"value": "None"}]}}, {"type": "array", "name": "previewFeatures", "item": {"type": "string", "enum": {"items": [{"value": "GeoReplicas"}]}}}, {"readOnly": true, "type": "array", "name": "privateEndpointConnections", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "groupIds", "item": {"type": "string"}}, {"type": "object", "name": "privateEndpoint", "props": [{"readOnly": true, "type": "string", "name": "id"}]}, {"type": "object", "name": "privateLinkServiceConnectionState", "required": true, "props": [{"type": "string", "name": "actionsRequired"}, {"type": "string", "name": "description"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "@SystemData_read", "name": "systemData"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"readOnly": true, "type": "object", "name": "replica", "props": [{"readOnly": true, "type": "string", "name": "replicationState", "enum": {"items": [{"value": "Active"}, {"value": "Broken"}, {"value": "Catchup"}, {"value": "Provisioning"}, {"value": "Reconfiguring"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "role", "enum": {"items": [{"value": "AsyncReplica"}, {"value": "GeoAsyncReplica"}, {"value": "Primary"}]}}, {"readOnly": true, "type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "object", "name": "replicaParameters", "props": [{"type": "string", "name": "sourceLocation", "required": true}, {"type": "ResourceId", "name": "sourceResourceId", "required": true}]}, {"type": "object", "name": "restoreParameters", "props": [{"type": "dateTime", "name": "pointInTimeUTC", "format": {"protocol": "iso"}}, {"type": "ResourceId", "name": "sourceResourceId"}]}, {"type": "string", "name": "serverVersion"}, {"type": "object", "name": "sharding", "props": [{"type": "integer32", "name": "shardCount"}]}, {"type": "object", "name": "storage", "props": [{"type": "integer64", "name": "sizeGb"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PremiumSSD"}, {"value": "PremiumSSDv2"}]}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}], "cls": "SystemData_read"}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.xml new file mode 100644 index 000000000..f1b1d9c41 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-01.xml @@ -0,0 +1,267 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.json new file mode 100644 index 000000000..9c7005c59 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycw==/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster user", "commands": [{"name": "list", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycw==/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Users_ListByMongoCluster", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/users", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/users/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "identityProvider", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "MicrosoftEntraID"}]}}], "discriminators": [{"property": "type", "value": "MicrosoftEntraID", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "principalType", "required": true, "enum": {"items": [{"value": "servicePrincipal"}, {"value": "user"}]}}]}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "roles", "item": {"type": "object", "props": [{"type": "string", "name": "db", "required": true}, {"type": "string", "name": "role", "required": true, "enum": {"items": [{"value": "root"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.xml new file mode 100644 index 000000000..0271108d9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-01.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.json new file mode 100644 index 000000000..b71ca53ac --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0wMQ=="}], "commandGroups": [{"name": "documentdb mongocluster user", "commands": [{"name": "show", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.userName", "options": ["n", "name", "user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster user."}, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}], "operations": [{"operationId": "Users_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/users/{userName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/users/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "identityProvider", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "MicrosoftEntraID"}]}}], "discriminators": [{"property": "type", "value": "MicrosoftEntraID", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "principalType", "required": true, "enum": {"items": [{"value": "servicePrincipal"}, {"value": "user"}]}}]}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "roles", "item": {"type": "object", "props": [{"type": "string", "name": "db", "required": true}, {"type": "string", "name": "role", "required": true, "enum": {"items": [{"value": "root"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.userName", "options": ["n", "name", "user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster user."}, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Users_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/users/{userName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.userName", "options": ["n", "name", "user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster user."}, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.identityProvider", "options": ["identity-provider"], "group": "Properties", "help": {"short": "The user's identity provider definition."}, "args": [{"type": "object", "var": "$resource.properties.identityProvider.MicrosoftEntraID", "options": ["microsoft-entra-id"], "args": [{"type": "string", "var": "$resource.properties.identityProvider.MicrosoftEntraID.properties.principalType", "options": ["principal-type"], "required": true, "group": "Properties", "help": {"short": "The principal type of the user."}, "enum": {"items": [{"name": "servicePrincipal", "value": "servicePrincipal"}, {"name": "user", "value": "user"}]}}]}]}, {"type": "array", "var": "$resource.properties.roles", "options": ["roles"], "group": "Properties", "help": {"short": "Database roles that are assigned to the user. Usage: --role db=admin role=root. Multiple roles can be specified by using more than one --role argument."}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.roles[].db", "options": ["db"], "required": true, "help": {"short": "Database scope that the role is assigned to."}}, {"type": "string", "var": "$resource.properties.roles[].role", "options": ["role"], "required": true, "help": {"short": "The role that is assigned to the user on the database scope."}, "enum": {"items": [{"name": "root", "value": "root"}]}}]}, "singularOptions": ["--role"]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Users_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/users/{userName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "identityProvider", "arg": "$resource.properties.identityProvider", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$resource.properties.identityProvider.MicrosoftEntraID", "value": "MicrosoftEntraID"}]}}], "discriminators": [{"property": "type", "value": "MicrosoftEntraID", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "principalType", "arg": "$resource.properties.identityProvider.MicrosoftEntraID.properties.principalType", "required": true, "enum": {"items": [{"value": "servicePrincipal"}, {"value": "user"}]}}]}]}]}, {"type": "array", "name": "roles", "arg": "$resource.properties.roles", "item": {"type": "object", "props": [{"type": "string", "name": "db", "arg": "$resource.properties.roles[].db", "required": true}, {"type": "string", "name": "role", "arg": "$resource.properties.roles[].role", "required": true, "enum": {"items": [{"value": "root"}]}}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/users/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "identityProvider", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "MicrosoftEntraID"}]}}], "discriminators": [{"property": "type", "value": "MicrosoftEntraID", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "principalType", "required": true, "enum": {"items": [{"value": "servicePrincipal"}, {"value": "user"}]}}]}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "roles", "item": {"type": "object", "props": [{"type": "string", "name": "db", "required": true}, {"type": "string", "name": "role", "required": true, "enum": {"items": [{"value": "root"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-01", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the mongo cluster."}, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.userName", "options": ["n", "name", "user-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the mongo cluster user."}, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.identityProvider", "options": ["identity-provider"], "group": "Properties", "help": {"short": "The user's identity provider definition."}, "args": [{"type": "object", "var": "$resource.properties.identityProvider.MicrosoftEntraID", "options": ["microsoft-entra-id"], "args": [{"type": "string", "var": "$resource.properties.identityProvider.MicrosoftEntraID.properties.principalType", "options": ["principal-type"], "group": "Properties", "help": {"short": "The principal type of the user."}, "enum": {"items": [{"name": "servicePrincipal", "value": "servicePrincipal"}, {"name": "user", "value": "user"}]}}]}]}, {"nullable": true, "type": "array", "var": "$resource.properties.roles", "options": ["roles"], "group": "Properties", "help": {"short": "Database roles that are assigned to the user. Usage: --role db=admin role=root. Multiple roles can be specified by using more than one --role argument."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$resource.properties.roles[].db", "options": ["db"], "help": {"short": "Database scope that the role is assigned to."}}, {"type": "string", "var": "$resource.properties.roles[].role", "options": ["role"], "help": {"short": "The role that is assigned to the user on the database scope."}, "enum": {"items": [{"name": "root", "value": "root"}]}}]}, "singularOptions": ["--role"]}]}], "operations": [{"operationId": "Users_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/users/{userName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DocumentDB/mongoClusters/{}/users/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "identityProvider", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "MicrosoftEntraID"}]}}], "discriminators": [{"property": "type", "value": "MicrosoftEntraID", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "principalType", "required": true, "enum": {"items": [{"value": "servicePrincipal"}, {"value": "user"}]}}]}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Dropping"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "roles", "item": {"type": "object", "props": [{"type": "string", "name": "db", "required": true}, {"type": "string", "name": "role", "required": true, "enum": {"items": [{"value": "root"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "User_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "identityProvider", "arg": "$resource.properties.identityProvider", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$resource.properties.identityProvider.MicrosoftEntraID", "value": "MicrosoftEntraID"}]}}], "discriminators": [{"property": "type", "value": "MicrosoftEntraID", "props": [{"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "principalType", "arg": "$resource.properties.identityProvider.MicrosoftEntraID.properties.principalType", "required": true, "enum": {"items": [{"value": "servicePrincipal"}, {"value": "user"}]}}]}]}]}, {"type": "array", "name": "roles", "arg": "$resource.properties.roles", "item": {"type": "object", "props": [{"type": "string", "name": "db", "arg": "$resource.properties.roles[].db", "required": true}, {"type": "string", "name": "role", "arg": "$resource.properties.roles[].role", "required": true, "enum": {"items": [{"value": "root"}]}}]}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Users_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/users/{userName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "mongoClusterName", "arg": "$Path.mongoClusterName", "required": true, "format": {"pattern": "^[a-z0-9]+(-[a-z0-9]+)*", "maxLength": 40, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "userName", "arg": "$Path.userName", "required": true, "format": {"pattern": "^[a-zA-Z0-9\\-]*", "maxLength": 63, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@User_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml new file mode 100644 index 000000000..06be9fb0a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-01.xml @@ -0,0 +1,607 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+