Skip to content

Commit

Permalink
set avm
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrat2005 committed Oct 16, 2024
1 parent 45084bb commit 55e6f10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
21 changes: 13 additions & 8 deletions avm/res/azure-stack-hci/cluster/deployment-settings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand All @@ -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 |
Expand All @@ -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].
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions avm/res/azure-stack-hci/cluster/deployment-settings/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand All @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions avm/res/azure-stack-hci/cluster/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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.",
Expand All @@ -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": {
Expand Down

0 comments on commit 55e6f10

Please sign in to comment.