From 55e6f105424c173d1622cce6d9550e4b18c5253b Mon Sep 17 00:00:00 2001 From: Matthew Bratschun Date: Wed, 16 Oct 2024 07:44:48 -0600 Subject: [PATCH] set avm --- .../cluster/deployment-settings/README.md | 21 ++++++++++++------- .../cluster/deployment-settings/main.json | 4 ++-- avm/res/azure-stack-hci/cluster/main.json | 6 +++--- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/avm/res/azure-stack-hci/cluster/deployment-settings/README.md b/avm/res/azure-stack-hci/cluster/deployment-settings/README.md index b5e18d2c70..f248697d51 100644 --- a/avm/res/azure-stack-hci/cluster/deployment-settings/README.md +++ b/avm/res/azure-stack-hci/cluster/deployment-settings/README.md @@ -20,7 +20,6 @@ This module deploys an Azure Stack HCI Cluster Deployment Settings resource. | Parameter | Type | Description | | :-- | :-- | :-- | -| [`clusterName`](#parameter-clustername) | string | The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure. | | [`clusterNodeNames`](#parameter-clusternodenames) | array | Names of the cluster node Arc Machine resources. These are the name of the Arc Machine resources created when the new HCI nodes were Arc initialized. Example: [hci-node-1, hci-node-2]. | | [`clusterWitnessStorageAccountName`](#parameter-clusterwitnessstorageaccountname) | string | The name of the storage account to be used as the witness for the HCI Windows Failover Cluster. | | [`customLocationName`](#parameter-customlocationname) | string | The name of the Custom Location associated with the Arc Resource Bridge for this cluster. This value should reflect the physical location and identifier of the HCI cluster. Example: cl-hci-den-clu01. | @@ -39,6 +38,12 @@ This module deploys an Azure Stack HCI Cluster Deployment Settings resource. | [`storageNetworks`](#parameter-storagenetworks) | array | An array of JSON objects that define the storage network configuration for the cluster. Each object should contain the adapterName, VLAN properties, and (optionally) IP configurations. | | [`subnetMask`](#parameter-subnetmask) | string | The subnet mask pf the Management Network for the HCI cluster - ex: 255.255.252.0. | +**Conditional parameters** + +| Parameter | Type | Description | +| :-- | :-- | :-- | +| [`clusterName`](#parameter-clustername) | string | The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure. Required if the template is used in a standalone deployment. | + **Optional parameters** | Parameter | Type | Description | @@ -52,13 +57,6 @@ This module deploys an Azure Stack HCI Cluster Deployment Settings resource. | [`streamingDataClient`](#parameter-streamingdataclient) | bool | The metrics data for deploying a HCI cluster. | | [`tags`](#parameter-tags) | object | Tags of the resource. | -### Parameter: `clusterName` - -The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure. - -- Required: Yes -- Type: string - ### Parameter: `clusterNodeNames` Names of the cluster node Arc Machine resources. These are the name of the Arc Machine resources created when the new HCI nodes were Arc initialized. Example: [hci-node-1, hci-node-2]. @@ -186,6 +184,13 @@ The subnet mask pf the Management Network for the HCI cluster - ex: 255.255.252. - Required: Yes - Type: string +### Parameter: `clusterName` + +The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure. Required if the template is used in a standalone deployment. + +- Required: Yes +- Type: string + ### Parameter: `cloudId` If using a shared key vault or non-legacy secret naming, pass the properties.cloudId guid from the pre-created HCI cluster resource. diff --git a/avm/res/azure-stack-hci/cluster/deployment-settings/main.json b/avm/res/azure-stack-hci/cluster/deployment-settings/main.json index 5afe8bc689..97ab8b86dd 100644 --- a/avm/res/azure-stack-hci/cluster/deployment-settings/main.json +++ b/avm/res/azure-stack-hci/cluster/deployment-settings/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.29.47.4906", - "templateHash": "10123607740126918191" + "templateHash": "3241591826392885903" }, "name": "Azure Stack HCI Cluster Deployment Settings", "description": "This module deploys an Azure Stack HCI Cluster Deployment Settings resource.", @@ -18,7 +18,7 @@ "minLength": 4, "maxLength": 15, "metadata": { - "description": "Required. The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure." + "description": "Conditional. The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure. Required if the template is used in a standalone deployment." } }, "location": { diff --git a/avm/res/azure-stack-hci/cluster/main.json b/avm/res/azure-stack-hci/cluster/main.json index f388254c6b..1f8e1f82be 100644 --- a/avm/res/azure-stack-hci/cluster/main.json +++ b/avm/res/azure-stack-hci/cluster/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.29.47.4906", - "templateHash": "16904147783629655950" + "templateHash": "13299255301563208667" }, "name": "Azure Stack HCI Cluster", "description": "This module deploys an Azure Stack HCI Cluster on the provided Arc Machines.", @@ -699,7 +699,7 @@ "_generator": { "name": "bicep", "version": "0.29.47.4906", - "templateHash": "10123607740126918191" + "templateHash": "3241591826392885903" }, "name": "Azure Stack HCI Cluster Deployment Settings", "description": "This module deploys an Azure Stack HCI Cluster Deployment Settings resource.", @@ -711,7 +711,7 @@ "minLength": 4, "maxLength": 15, "metadata": { - "description": "Required. The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure." + "description": "Conditional. The name of the Azure Stack HCI cluster - this must be a valid Active Directory computer name and will be the name of your cluster in Azure. Required if the template is used in a standalone deployment." } }, "location": {