From cefd70b801b2df833fdabc31d509a8575d3f7ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Matarrita?= Date: Wed, 16 Sep 2026 15:20:43 -0600 Subject: [PATCH 1/2] Add planned DocumentDB replica promotion model Generate the 2026-06-15-preview promote command model with Planned and Forced options. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 46bb57cf-0490-4f99-a750-27ca921e5d89 --- .../mongocluster/replica/_promote.md | 11 +++ .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 84 +++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.xml diff --git a/Commands/documentdb/mongocluster/replica/_promote.md b/Commands/documentdb/mongocluster/replica/_promote.md index 0e5c21841..1cee1051b 100644 --- a/Commands/documentdb/mongocluster/replica/_promote.md +++ b/Commands/documentdb/mongocluster/replica/_promote.md @@ -14,3 +14,14 @@ Promotes a replica mongo cluster to a primary role. ```bash documentdb mongocluster replica promote -n MyReplica -g MyResourceGroup --mode Switchover --promote-option Forced ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- Promote a caught-up replica to primary without data loss. + ```bash + documentdb mongocluster replica promote -n MyReplica -g MyResourceGroup --mode Switchover --promote-option Planned + ``` diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.json new file mode 100644 index 000000000..d6fa8e2d1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/promote", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9wcm9tb3Rl/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster replica", "commands": [{"name": "promote", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/promote", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9wcm9tb3Rl/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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"}, {"name": "Planned", "value": "Planned"}]}}]}], "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-15-preview"}, "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"}, {"value": "Planned"}]}}], "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.xml new file mode 100644 index 000000000..064d1a249 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcHJvbW90ZQ==/2026-06-15-preview.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+
+
+
From 9a0566a2e4cef5a64804d2dce476637339c52711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Matarrita?= Date: Thu, 17 Sep 2026 00:37:32 -0600 Subject: [PATCH 2/2] Regenerate DocumentDB models for preview API Generate the complete DocumentDB command model for 2026-06-15-preview while retaining stable versions and adding planned replica promotion support. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 46bb57cf-0490-4f99-a750-27ca921e5d89 --- .../mongocluster/_check-name-availability.md | 11 + Commands/documentdb/mongocluster/_create.md | 11 + Commands/documentdb/mongocluster/_delete.md | 11 + .../mongocluster/_list-connection-strings.md | 11 + Commands/documentdb/mongocluster/_list.md | 12 + Commands/documentdb/mongocluster/_show.md | 11 + Commands/documentdb/mongocluster/_update.md | 11 + .../mongocluster/firewall-rule/_create.md | 11 + .../mongocluster/firewall-rule/_delete.md | 11 + .../mongocluster/firewall-rule/_list.md | 11 + .../mongocluster/firewall-rule/_show.md | 11 + .../mongocluster/firewall-rule/_update.md | 11 + .../mongocluster/identity/_assign.md | 11 + .../mongocluster/identity/_remove.md | 11 + .../documentdb/mongocluster/identity/_show.md | 11 + .../microsoft-entra-user/_assign.md | 16 + .../microsoft-entra-user/_list.md | 16 + .../microsoft-entra-user/_remove.md | 16 + .../microsoft-entra-user/_show.md | 16 + .../microsoft-entra-user/_update.md | 16 + .../microsoft-entra-user/readme.md | 20 + Commands/documentdb/mongocluster/readme.md | 5 +- .../documentdb/mongocluster/replica/_list.md | 11 + .../mongocluster/replica/_promote.md | 4 +- Commands/documentdb/readme.md | 4 +- Commands/readme.md | 2 +- .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 550 ++++ .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 72 + .../2026-06-15-preview.md | 1 + .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 2490 +++++++++++++++++ .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 108 + .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 478 ++++ .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 61 + .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 267 ++ .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 129 + .../2026-06-15-preview.json | 1 + .../2026-06-15-preview.xml | 607 ++++ 45 files changed, 5058 insertions(+), 6 deletions(-) create mode 100644 Commands/documentdb/mongocluster/microsoft-entra-user/_assign.md create mode 100644 Commands/documentdb/mongocluster/microsoft-entra-user/_list.md create mode 100644 Commands/documentdb/mongocluster/microsoft-entra-user/_remove.md create mode 100644 Commands/documentdb/mongocluster/microsoft-entra-user/_show.md create mode 100644 Commands/documentdb/mongocluster/microsoft-entra-user/_update.md create mode 100644 Commands/documentdb/mongocluster/microsoft-entra-user/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml diff --git a/Commands/documentdb/mongocluster/_check-name-availability.md b/Commands/documentdb/mongocluster/_check-name-availability.md index 466f567ec..2d57bd2d6 100644 --- a/Commands/documentdb/mongocluster/_check-name-availability.md +++ b/Commands/documentdb/mongocluster/_check-name-availability.md @@ -14,3 +14,14 @@ Check if mongo cluster name is available for use. ```bash documentdb mongocluster check-name-availability --location eastus --name MyCluster ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index 5858a546c..d3059c8bc 100644 --- a/Commands/documentdb/mongocluster/_create.md +++ b/Commands/documentdb/mongocluster/_create.md @@ -14,3 +14,14 @@ Create a mongo cluster. Update overwrites all properties for the resource. To on ```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 ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index b9f67b04a..c16e89440 100644 --- a/Commands/documentdb/mongocluster/_delete.md +++ b/Commands/documentdb/mongocluster/_delete.md @@ -14,3 +14,14 @@ Delete a mongo cluster. ```bash documentdb mongocluster delete -n MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index 710f4317d..80a823fed 100644 --- a/Commands/documentdb/mongocluster/_list-connection-strings.md +++ b/Commands/documentdb/mongocluster/_list-connection-strings.md @@ -14,3 +14,14 @@ List mongo cluster connection strings. This includes the default connection stri ```bash documentdb mongocluster list-connection-strings --cluster-name MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.xml) **Preview** + + + +#### 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 index fd9157b5f..0c63d5e15 100644 --- a/Commands/documentdb/mongocluster/_list.md +++ b/Commands/documentdb/mongocluster/_list.md @@ -15,3 +15,15 @@ List all the mongo clusters in a given subscription. ```bash documentdb mongocluster list -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.xml) **Preview** + + + + +#### 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 index 3da367ea7..57fb1a9d9 100644 --- a/Commands/documentdb/mongocluster/_show.md +++ b/Commands/documentdb/mongocluster/_show.md @@ -14,3 +14,14 @@ Get information about a mongo cluster. ```bash documentdb mongocluster show -n MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index f6e7051f0..ed84ee070 100644 --- a/Commands/documentdb/mongocluster/_update.md +++ b/Commands/documentdb/mongocluster/_update.md @@ -14,3 +14,14 @@ Update a mongo cluster. Update overwrites all properties for the resource. To on ```bash documentdb mongocluster update -n MyCluster -g MyResourceGroup --tier M40 ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index 0f693e30d..84cdba80a 100644 --- a/Commands/documentdb/mongocluster/firewall-rule/_create.md +++ b/Commands/documentdb/mongocluster/firewall-rule/_create.md @@ -14,3 +14,14 @@ Create a new firewall rule or updates an existing firewall rule on a mongo clust ```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 ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml) **Preview** + + + +#### 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 index 0c929c073..fff1df9e1 100644 --- a/Commands/documentdb/mongocluster/firewall-rule/_delete.md +++ b/Commands/documentdb/mongocluster/firewall-rule/_delete.md @@ -14,3 +14,14 @@ Delete a mongo cluster firewall rule. ```bash documentdb mongocluster firewall-rule delete -n AllowOffice --cluster-name MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml) **Preview** + + + +#### 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 index f29c98402..4a177c3f0 100644 --- a/Commands/documentdb/mongocluster/firewall-rule/_list.md +++ b/Commands/documentdb/mongocluster/firewall-rule/_list.md @@ -14,3 +14,14 @@ List all the firewall rules in a given mongo cluster. ```bash documentdb mongocluster firewall-rule list --cluster-name MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.xml) **Preview** + + + +#### 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 index fa218ce4a..433ac5df4 100644 --- a/Commands/documentdb/mongocluster/firewall-rule/_show.md +++ b/Commands/documentdb/mongocluster/firewall-rule/_show.md @@ -14,3 +14,14 @@ Get information about a mongo cluster firewall rule. ```bash documentdb mongocluster firewall-rule show -n AllowOffice --cluster-name MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml) **Preview** + + + +#### 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 index 6f3654efa..645e94d0a 100644 --- a/Commands/documentdb/mongocluster/firewall-rule/_update.md +++ b/Commands/documentdb/mongocluster/firewall-rule/_update.md @@ -14,3 +14,14 @@ Update a new firewall rule or updates an existing firewall rule on a mongo clust ```bash documentdb mongocluster firewall-rule update -n AllowOffice --cluster-name MyCluster -g MyResourceGroup --end-ip-address 1.2.3.20 ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml) **Preview** + + + +#### 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/identity/_assign.md b/Commands/documentdb/mongocluster/identity/_assign.md index c319b3c42..1ed2bf4d7 100644 --- a/Commands/documentdb/mongocluster/identity/_assign.md +++ b/Commands/documentdb/mongocluster/identity/_assign.md @@ -14,3 +14,14 @@ Assign the user or system managed identities. ```bash documentdb mongocluster identity assign -n MyCluster -g MyResourceGroup --user-assigned /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index a7e1908b5..ee212efac 100644 --- a/Commands/documentdb/mongocluster/identity/_remove.md +++ b/Commands/documentdb/mongocluster/identity/_remove.md @@ -14,3 +14,14 @@ Remove the user or system managed identities. ```bash documentdb mongocluster identity remove -n MyCluster -g MyResourceGroup --user-assigned /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### 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 index 74667cd85..658a0be93 100644 --- a/Commands/documentdb/mongocluster/identity/_show.md +++ b/Commands/documentdb/mongocluster/identity/_show.md @@ -14,3 +14,14 @@ Show the details of managed identities. ```bash documentdb mongocluster identity show -n MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- Show managed identities. + ```bash + documentdb mongocluster identity show -n MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/microsoft-entra-user/_assign.md b/Commands/documentdb/mongocluster/microsoft-entra-user/_assign.md new file mode 100644 index 000000000..568c9de97 --- /dev/null +++ b/Commands/documentdb/mongocluster/microsoft-entra-user/_assign.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster microsoft-entra-user assign_ + +Grant a Microsoft Entra ID principal access to a mongo cluster by assigning it database roles. + +## Versions + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- Assign admin access to an Entra ID user (or service principal) by object ID. + ```bash + documentdb mongocluster microsoft-entra-user assign --object-id 11111111-1111-1111-1111-111111111111 --cluster-name MyCluster -g MyResourceGroup --type User --role db=admin role=root + ``` diff --git a/Commands/documentdb/mongocluster/microsoft-entra-user/_list.md b/Commands/documentdb/mongocluster/microsoft-entra-user/_list.md new file mode 100644 index 000000000..6a40ddd91 --- /dev/null +++ b/Commands/documentdb/mongocluster/microsoft-entra-user/_list.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster microsoft-entra-user list_ + +List the Microsoft Entra ID users on a mongo cluster. + +## Versions + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- List Entra ID users on a cluster. + ```bash + documentdb mongocluster microsoft-entra-user list --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/microsoft-entra-user/_remove.md b/Commands/documentdb/mongocluster/microsoft-entra-user/_remove.md new file mode 100644 index 000000000..29a6971bf --- /dev/null +++ b/Commands/documentdb/mongocluster/microsoft-entra-user/_remove.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster microsoft-entra-user remove_ + +Remove a Microsoft Entra ID principal's access from a mongo cluster. + +## Versions + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- Remove an Entra ID user's access by object ID. + ```bash + documentdb mongocluster microsoft-entra-user remove --object-id 11111111-1111-1111-1111-111111111111 --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/microsoft-entra-user/_show.md b/Commands/documentdb/mongocluster/microsoft-entra-user/_show.md new file mode 100644 index 000000000..1fb8610cb --- /dev/null +++ b/Commands/documentdb/mongocluster/microsoft-entra-user/_show.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster microsoft-entra-user show_ + +Get the definition of a Microsoft Entra ID user on a mongo cluster. + +## Versions + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- Get an Entra ID user by object ID. + ```bash + documentdb mongocluster microsoft-entra-user show --object-id 11111111-1111-1111-1111-111111111111 --cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/microsoft-entra-user/_update.md b/Commands/documentdb/mongocluster/microsoft-entra-user/_update.md new file mode 100644 index 000000000..6368b1885 --- /dev/null +++ b/Commands/documentdb/mongocluster/microsoft-entra-user/_update.md @@ -0,0 +1,16 @@ +# [Command] _documentdb mongocluster microsoft-entra-user update_ + +Update a Microsoft Entra ID user on a mongo cluster. + +## Versions + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- Update an Entra ID user's roles. + ```bash + documentdb mongocluster microsoft-entra-user update --object-id 11111111-1111-1111-1111-111111111111 --cluster-name MyCluster -g MyResourceGroup --role db=admin role=root + ``` diff --git a/Commands/documentdb/mongocluster/microsoft-entra-user/readme.md b/Commands/documentdb/mongocluster/microsoft-entra-user/readme.md new file mode 100644 index 000000000..8dc0706d8 --- /dev/null +++ b/Commands/documentdb/mongocluster/microsoft-entra-user/readme.md @@ -0,0 +1,20 @@ +# [Group] _documentdb mongocluster microsoft-entra-user_ + +Manage Microsoft Entra ID users on a mongo cluster. + +## Commands + +- [assign](/Commands/documentdb/mongocluster/microsoft-entra-user/_assign.md) +: Grant a Microsoft Entra ID principal access to a mongo cluster by assigning it database roles. + +- [list](/Commands/documentdb/mongocluster/microsoft-entra-user/_list.md) +: List the Microsoft Entra ID users on a mongo cluster. + +- [remove](/Commands/documentdb/mongocluster/microsoft-entra-user/_remove.md) +: Remove a Microsoft Entra ID principal's access from a mongo cluster. + +- [show](/Commands/documentdb/mongocluster/microsoft-entra-user/_show.md) +: Get the definition of a Microsoft Entra ID user on a mongo cluster. + +- [update](/Commands/documentdb/mongocluster/microsoft-entra-user/_update.md) +: Update a Microsoft Entra ID user on a mongo cluster. diff --git a/Commands/documentdb/mongocluster/readme.md b/Commands/documentdb/mongocluster/readme.md index c483b0db6..6be76abe3 100644 --- a/Commands/documentdb/mongocluster/readme.md +++ b/Commands/documentdb/mongocluster/readme.md @@ -1,6 +1,6 @@ # [Group] _documentdb mongocluster_ -Manage Mongo Cluster +Manage Azure DocumentDB mongo clusters. ## Subgroups @@ -10,6 +10,9 @@ Manage Mongo Cluster - [identity](/Commands/documentdb/mongocluster/identity/readme.md) : Manage Identity +- [microsoft-entra-user](/Commands/documentdb/mongocluster/microsoft-entra-user/readme.md) +: Manage Microsoft Entra ID users on a mongo cluster. + - [replica](/Commands/documentdb/mongocluster/replica/readme.md) : Manage Replica diff --git a/Commands/documentdb/mongocluster/replica/_list.md b/Commands/documentdb/mongocluster/replica/_list.md index e7a1126b3..7cfbc1169 100644 --- a/Commands/documentdb/mongocluster/replica/_list.md +++ b/Commands/documentdb/mongocluster/replica/_list.md @@ -14,3 +14,14 @@ List all the replicas for the mongo cluster. ```bash documentdb mongocluster replica list --cluster-name MyCluster -g MyResourceGroup ``` + +### [2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.xml) **Preview** + + + +#### examples + +- List replicas of a cluster. + ```bash + documentdb mongocluster replica list --parent-cluster-name MyCluster -g MyResourceGroup + ``` diff --git a/Commands/documentdb/mongocluster/replica/_promote.md b/Commands/documentdb/mongocluster/replica/_promote.md index 1cee1051b..cd23490bd 100644 --- a/Commands/documentdb/mongocluster/replica/_promote.md +++ b/Commands/documentdb/mongocluster/replica/_promote.md @@ -21,7 +21,7 @@ Promotes a replica mongo cluster to a primary role. #### examples -- Promote a caught-up replica to primary without data loss. +- Promote a replica to primary. ```bash - documentdb mongocluster replica promote -n MyReplica -g MyResourceGroup --mode Switchover --promote-option Planned + documentdb mongocluster replica promote -n MyReplica -g MyResourceGroup --mode Switchover --promote-option Forced ``` diff --git a/Commands/documentdb/readme.md b/Commands/documentdb/readme.md index cda97a9b1..e4ab3dddd 100644 --- a/Commands/documentdb/readme.md +++ b/Commands/documentdb/readme.md @@ -1,8 +1,8 @@ # [Group] _documentdb_ -Manage Document Db +Manage Azure DocumentDB clusters. ## Subgroups - [mongocluster](/Commands/documentdb/mongocluster/readme.md) -: Manage Mongo Cluster +: Manage Azure DocumentDB mongo clusters. diff --git a/Commands/readme.md b/Commands/readme.md index bd1953c64..0c65954f5 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -162,7 +162,7 @@ : Manage Dns Resolver - [documentdb](/Commands/documentdb/readme.md) -: Manage Document Db +: Manage Azure DocumentDB clusters. - [durabletask](/Commands/durabletask/readme.md) : Commands to manage Durabletask schedulers and taskhubs diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.json new file mode 100644 index 000000000..772e62ed2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbW9uZ29DbHVzdGVycw==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJz/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "list", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbW9uZ29DbHVzdGVycw==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJz/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.xml new file mode 100644 index 000000000..458585deb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.xml @@ -0,0 +1,550 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.json new file mode 100644 index 000000000..07c89958d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/locations/{}/checkmongoclusternameavailability", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2hlY2tNb25nb0NsdXN0ZXJOYW1lQXZhaWxhYmlsaXR5/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "check-name-availability", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.documentdb/locations/{}/checkmongoclusternameavailability", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkRvY3VtZW50REIvbG9jYXRpb25zL3tsb2NhdGlvbn0vY2hlY2tNb25nb0NsdXN0ZXJOYW1lQXZhaWxhYmlsaXR5/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.xml new file mode 100644 index 000000000..d4bfb29fb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL2xvY2F0aW9ucy97fS9jaGVja21vbmdvY2x1c3Rlcm5hbWVhdmFpbGFiaWxpdHk=/2026-06-15-preview.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.md new file mode 100644 index 000000000..a4a5268fb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.documentdb/mongoclusters 2026-06-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnM=/2026-06-15-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.json new file mode 100644 index 000000000..86ed63100 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "show", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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", "password", "admin-password"], "group": "Administrator", "help": {"short": "The administrator password."}, "prompt": {"msg": "Password:"}}, {"type": "string", "var": "$resource.properties.administrator.userName", "options": ["u", "admin-user"], "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"], "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"], "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"], "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"], "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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", "password", "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-15-preview"}, "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "subresource": "identity", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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"], "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-15-preview"}, "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "subresource": "identity", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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"], "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-15-preview"}, "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}", "version": "2026-06-15-preview", "subresource": "identity", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml new file mode 100644 index 000000000..dfce4246e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30=/2026-06-15-preview.xml @@ -0,0 +1,2490 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.json new file mode 100644 index 000000000..cd039d80e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVz/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster firewall-rule", "commands": [{"name": "list", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVz/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.xml new file mode 100644 index 000000000..e9acf248a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcw==/2026-06-15-preview.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.json new file mode 100644 index 000000000..321543af0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster firewall-rule", "commands": [{"name": "show", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/firewallrules/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9maXJld2FsbFJ1bGVzL3tmaXJld2FsbFJ1bGVOYW1lfQ==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml new file mode 100644 index 000000000..22ee5f92a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vZmlyZXdhbGxydWxlcy97fQ==/2026-06-15-preview.xml @@ -0,0 +1,478 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.json new file mode 100644 index 000000000..4c57fd704 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/listconnectionstrings", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9saXN0Q29ubmVjdGlvblN0cmluZ3M=/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster", "commands": [{"name": "list-connection-strings", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/listconnectionstrings", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9saXN0Q29ubmVjdGlvblN0cmluZ3M=/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.xml new file mode 100644 index 000000000..e0a60abd0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vbGlzdGNvbm5lY3Rpb25zdHJpbmdz/2026-06-15-preview.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.json new file mode 100644 index 000000000..311e08c59 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/replicas", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9yZXBsaWNhcw==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster replica", "commands": [{"name": "list", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/replicas", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS9yZXBsaWNhcw==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.mongoClusterName", "options": ["parent-cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the parent 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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.xml new file mode 100644 index 000000000..3243d7cf2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vcmVwbGljYXM=/2026-06-15-preview.xml @@ -0,0 +1,267 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.json new file mode 100644 index 000000000..30d6d7b42 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycw==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster microsoft-entra-user", "commands": [{"name": "list", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycw==/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.xml new file mode 100644 index 000000000..643e9370e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnM=/2026-06-15-preview.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.json new file mode 100644 index 000000000..a1206f5d4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "documentdb mongocluster microsoft-entra-user", "commands": [{"name": "show", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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", "object-id"], "required": true, "idPart": "child_name_1", "help": {"short": "Object ID (client ID) of the Microsoft Entra principal. Provide the GUID of the service principal or user, not a friendly name or UPN."}, "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-15-preview"}, "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": "remove", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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", "object-id"], "required": true, "idPart": "child_name_1", "help": {"short": "Object ID (client ID) of the Microsoft Entra principal. Provide the GUID of the service principal or user, not a friendly name or UPN."}, "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-15-preview"}, "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": "assign", "version": "2026-06-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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", "object-id"], "required": true, "idPart": "child_name_1", "help": {"short": "Object ID (client ID) of the Microsoft Entra principal. Provide the GUID of the service principal or user, not a friendly name or UPN."}, "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-15-preview"}, "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-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.documentdb/mongoclusters/{}/users/{}", "version": "2026-06-15-preview", "swagger": "mgmt-plane/mongocluster/ResourceProviders/Microsoft.DocumentDB/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9tb25nb0NsdXN0ZXJzL3ttb25nb0NsdXN0ZXJOYW1lfS91c2Vycy97dXNlck5hbWV9/V/MjAyNi0wNi0xNS1wcmV2aWV3"}], "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", "object-id"], "required": true, "idPart": "child_name_1", "help": {"short": "Object ID (client ID) of the Microsoft Entra principal. Provide the GUID of the service principal or user, not a friendly name or UPN."}, "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-15-preview"}, "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-15-preview"}, "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-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml new file mode 100644 index 000000000..04bdc3a37 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kb2N1bWVudGRiL21vbmdvY2x1c3RlcnMve30vdXNlcnMve30=/2026-06-15-preview.xml @@ -0,0 +1,607 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+