From fd10261744b30f103b65ba09b820035013b67cf3 Mon Sep 17 00:00:00 2001 From: Rafael Mendizabal Date: Fri, 20 Nov 2026 13:58:49 -0600 Subject: [PATCH] [HorizonDB] Model cluster authentication and password commands Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 623396a5-dd46-4d21-9278-63b6e564f9b3 --- .../horizondb/cluster/authentication/_list.md | 16 + .../authentication/password/_create.md | 16 + .../cluster/authentication/password/_show.md | 16 + .../authentication/password/_update.md | 16 + .../cluster/authentication/password/readme.md | 14 + .../cluster/authentication/readme.md | 13 + Commands/horizondb/cluster/readme.md | 3 + .../2026-10-01-preview.json | 1 + .../2026-10-01-preview.xml | 106 +++++ .../2026-10-01-preview.json | 1 + .../2026-10-01-preview.xml | 388 ++++++++++++++++++ 11 files changed, 590 insertions(+) create mode 100644 Commands/horizondb/cluster/authentication/_list.md create mode 100644 Commands/horizondb/cluster/authentication/password/_create.md create mode 100644 Commands/horizondb/cluster/authentication/password/_show.md create mode 100644 Commands/horizondb/cluster/authentication/password/_update.md create mode 100644 Commands/horizondb/cluster/authentication/password/readme.md create mode 100644 Commands/horizondb/cluster/authentication/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml diff --git a/Commands/horizondb/cluster/authentication/_list.md b/Commands/horizondb/cluster/authentication/_list.md new file mode 100644 index 000000000..a1b647e88 --- /dev/null +++ b/Commands/horizondb/cluster/authentication/_list.md @@ -0,0 +1,16 @@ +# [Command] _horizondb cluster authentication list_ + +List authentication methods for a HorizonDB cluster. + +## Versions + +### [2026-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.xml) **Preview** + + + +#### examples + +- List cluster authentication methods + ```bash + horizondb cluster authentication list --resource-group example-resource-group --cluster-name example-cluster + ``` diff --git a/Commands/horizondb/cluster/authentication/password/_create.md b/Commands/horizondb/cluster/authentication/password/_create.md new file mode 100644 index 000000000..cb7bb387b --- /dev/null +++ b/Commands/horizondb/cluster/authentication/password/_create.md @@ -0,0 +1,16 @@ +# [Command] _horizondb cluster authentication password create_ + +Create or replace password authentication settings for a HorizonDB cluster. + +## Versions + +### [2026-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml) **Preview** + + + +#### examples + +- Set up an administrator using a securely prompted password + ```bash + horizondb cluster authentication password create --resource-group example-resource-group --cluster-name example-cluster --state Enabled --administrator-login exampleadmin --administrator-login-password + ``` diff --git a/Commands/horizondb/cluster/authentication/password/_show.md b/Commands/horizondb/cluster/authentication/password/_show.md new file mode 100644 index 000000000..a2ea50aa7 --- /dev/null +++ b/Commands/horizondb/cluster/authentication/password/_show.md @@ -0,0 +1,16 @@ +# [Command] _horizondb cluster authentication password show_ + +Show password authentication settings for a HorizonDB cluster. + +## Versions + +### [2026-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml) **Preview** + + + +#### examples + +- Show password authentication settings + ```bash + horizondb cluster authentication password show --resource-group example-resource-group --cluster-name example-cluster + ``` diff --git a/Commands/horizondb/cluster/authentication/password/_update.md b/Commands/horizondb/cluster/authentication/password/_update.md new file mode 100644 index 000000000..a48a2cb5c --- /dev/null +++ b/Commands/horizondb/cluster/authentication/password/_update.md @@ -0,0 +1,16 @@ +# [Command] _horizondb cluster authentication password update_ + +Update password authentication settings for a HorizonDB cluster. + +## Versions + +### [2026-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml) **Preview** + + + +#### examples + +- Reset the administrator password using a secure prompt + ```bash + horizondb cluster authentication password update --resource-group example-resource-group --cluster-name example-cluster --administrator-login-password + ``` diff --git a/Commands/horizondb/cluster/authentication/password/readme.md b/Commands/horizondb/cluster/authentication/password/readme.md new file mode 100644 index 000000000..cd86fced4 --- /dev/null +++ b/Commands/horizondb/cluster/authentication/password/readme.md @@ -0,0 +1,14 @@ +# [Group] _horizondb cluster authentication password_ + +Manage password authentication settings for a HorizonDB cluster. + +## Commands + +- [create](/Commands/horizondb/cluster/authentication/password/_create.md) +: Create or replace password authentication settings for a HorizonDB cluster. + +- [show](/Commands/horizondb/cluster/authentication/password/_show.md) +: Show password authentication settings for a HorizonDB cluster. + +- [update](/Commands/horizondb/cluster/authentication/password/_update.md) +: Update password authentication settings for a HorizonDB cluster. diff --git a/Commands/horizondb/cluster/authentication/readme.md b/Commands/horizondb/cluster/authentication/readme.md new file mode 100644 index 000000000..2c38f7234 --- /dev/null +++ b/Commands/horizondb/cluster/authentication/readme.md @@ -0,0 +1,13 @@ +# [Group] _horizondb cluster authentication_ + +Manage authentication methods for a HorizonDB cluster. + +## Subgroups + +- [password](/Commands/horizondb/cluster/authentication/password/readme.md) +: Manage password authentication settings for a HorizonDB cluster. + +## Commands + +- [list](/Commands/horizondb/cluster/authentication/_list.md) +: List authentication methods for a HorizonDB cluster. diff --git a/Commands/horizondb/cluster/readme.md b/Commands/horizondb/cluster/readme.md index 83689b92b..13c765975 100644 --- a/Commands/horizondb/cluster/readme.md +++ b/Commands/horizondb/cluster/readme.md @@ -4,6 +4,9 @@ Manage HorizonDB Cluster ## Subgroups +- [authentication](/Commands/horizondb/cluster/authentication/readme.md) +: Manage authentication methods for a HorizonDB cluster. + - [pool](/Commands/horizondb/cluster/pool/readme.md) : Manage HorizonDB Pool diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.json new file mode 100644 index 000000000..b1b49c95e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.horizondb/clusters/{}/authentications", "version": "2026-10-01-preview", "swagger": "mgmt-plane/horizondb/ResourceProviders/Microsoft.HorizonDb/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSG9yaXpvbkRiL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vYXV0aGVudGljYXRpb25z/V/MjAyNi0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "horizondb cluster authentication", "commands": [{"name": "list", "version": "2026-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.horizondb/clusters/{}/authentications", "version": "2026-10-01-preview", "swagger": "mgmt-plane/horizondb/ResourceProviders/Microsoft.HorizonDb/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSG9yaXpvbkRiL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vYXV0aGVudGljYXRpb25z/V/MjAyNi0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the HorizonDB cluster."}, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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": "Authentications_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/authentications", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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-10-01-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": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.xml new file mode 100644 index 000000000..4d0961157 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25z/2026-10-01-preview.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.json new file mode 100644 index 000000000..eb73c2c8b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.horizondb/clusters/{}/authentications/passwordmethod", "version": "2026-10-01-preview", "swagger": "mgmt-plane/horizondb/ResourceProviders/Microsoft.HorizonDb/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSG9yaXpvbkRiL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkTWV0aG9k/V/MjAyNi0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "horizondb cluster authentication password", "commands": [{"name": "show", "version": "2026-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.horizondb/clusters/{}/authentications/passwordmethod", "version": "2026-10-01-preview", "swagger": "mgmt-plane/horizondb/ResourceProviders/Microsoft.HorizonDb/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSG9yaXpvbkRiL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkTWV0aG9k/V/MjAyNi0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the HorizonDB cluster."}, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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": "PasswordAuthentications_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/authentications/passwordMethod", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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-10-01-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.HorizonDb/clusters/{}/authentications/passwordMethod"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "administratorLogin", "format": {"maxLength": 63, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "state", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"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": "create", "version": "2026-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.horizondb/clusters/{}/authentications/passwordmethod", "version": "2026-10-01-preview", "swagger": "mgmt-plane/horizondb/ResourceProviders/Microsoft.HorizonDb/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSG9yaXpvbkRiL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkTWV0aG9k/V/MjAyNi0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the HorizonDB cluster."}, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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.administratorLogin", "options": ["administrator-login"], "group": "Properties", "help": {"short": "The PostgreSQL administrator login name. This value is returned in responses after it is set. After it is set, renaming is not supported. Setting the login requires password authentication state to be Enabled in the same request."}, "format": {"maxLength": 63, "minLength": 1}}, {"type": "password", "var": "$resource.properties.administratorLoginPassword", "options": ["admin-password", "administrator-login-password"], "group": "Properties", "help": {"short": "The PostgreSQL administrator password. Setting the password requires password authentication state to be Enabled in the same request."}, "format": {"maxLength": 128, "minLength": 8}, "prompt": {"msg": "Administrator password: ", "confirm": true}}, {"type": "string", "var": "$resource.properties.state", "options": ["state"], "group": "Properties", "help": {"short": "The state of PostgreSQL username-and-password authentication."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "PasswordAuthentications_CreateOrReplace", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/authentications/passwordMethod", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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-10-01-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": "administratorLogin", "arg": "$resource.properties.administratorLogin", "format": {"maxLength": 63, "minLength": 1}}, {"type": "password", "name": "administratorLoginPassword", "arg": "$resource.properties.administratorLoginPassword", "secret": true, "format": {"maxLength": 128, "minLength": 8}}, {"type": "string", "name": "state", "arg": "$resource.properties.state", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Retry-After"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HorizonDb/clusters/{}/authentications/passwordMethod"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "administratorLogin", "format": {"maxLength": 63, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "state", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"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-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.horizondb/clusters/{}/authentications/passwordmethod", "version": "2026-10-01-preview", "swagger": "mgmt-plane/horizondb/ResourceProviders/Microsoft.HorizonDb/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSG9yaXpvbkRiL2NsdXN0ZXJzL3tjbHVzdGVyTmFtZX0vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkTWV0aG9k/V/MjAyNi0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the HorizonDB cluster."}, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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": "password", "var": "$properties.properties.administratorLoginPassword", "options": ["admin-password", "administrator-login-password"], "group": "Properties", "help": {"short": "The PostgreSQL administrator password. Supplying this property resets the configured administrator's password. When password authentication is currently disabled for a cluster that already has an administrator, this property can be combined with state Enabled to re-enable password authentication and reset the password."}, "format": {"maxLength": 128, "minLength": 8}, "prompt": {"msg": "Administrator password: ", "confirm": true}}, {"type": "string", "var": "$properties.properties.state", "options": ["state"], "group": "Properties", "help": {"short": "The target password-authentication state. Enabled can be combined with administratorLoginPassword to re-enable password authentication and reset the password for a cluster that already has an administrator. Disabling password authentication does not remove or modify existing database users or roles. Disabled cannot be combined with administratorLoginPassword."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "PasswordAuthentications_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/authentications/passwordMethod", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true, "format": {"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$", "maxLength": 63, "minLength": 1}}, {"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-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "password", "name": "administratorLoginPassword", "arg": "$properties.properties.administratorLoginPassword", "secret": true, "format": {"maxLength": 128, "minLength": 8}}, {"type": "string", "name": "state", "arg": "$properties.properties.state", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.HorizonDb/clusters/{}/authentications/passwordMethod"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "administratorLogin", "format": {"maxLength": 63, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "state", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}]}, {"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": "Azure-AsyncOperation"}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml new file mode 100644 index 000000000..5cdb3b24a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5ob3Jpem9uZGIvY2x1c3RlcnMve30vYXV0aGVudGljYXRpb25zL3Bhc3N3b3JkbWV0aG9k/2026-10-01-preview.xml @@ -0,0 +1,388 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + +
+
+ +
+
+