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 ec22527 commit 5a43828
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 19 deletions.
41 changes: 32 additions & 9 deletions avm/res/azure-stack-hci/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ An array of Network ATC Network Intent objects that define the Compute, Manageme
| [`overrideQosPolicy`](#parameter-networkintentsoverrideqospolicy) | bool | Specify whether to override the qosPolicy property. Use false by default. |
| [`overrideVirtualSwitchConfiguration`](#parameter-networkintentsoverridevirtualswitchconfiguration) | bool | Specify whether to override the virtualSwitchConfiguration property. Use false by default. |
| [`qosPolicyOverrides`](#parameter-networkintentsqospolicyoverrides) | object | The qosPolicy overrides for the network intent. |
| [`trafficType`](#parameter-networkintentstraffictype) | array | The traffic types for the network intent. Allowed values: "Compute", "Management", "Storage". |
| [`trafficType`](#parameter-networkintentstraffictype) | array | The traffic types for the network intent. |
| [`virtualSwitchConfigurationOverrides`](#parameter-networkintentsvirtualswitchconfigurationoverrides) | object | The virtualSwitchConfiguration overrides for the network intent. |

### Parameter: `networkIntents.adapter`
Expand All @@ -625,7 +625,7 @@ The adapter property overrides for the network intent.
| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`jumboPacket`](#parameter-networkintentsadapterpropertyoverridesjumbopacket) | string | The jumboPacket configuration for the network adapters. |
| [`networkDirect`](#parameter-networkintentsadapterpropertyoverridesnetworkdirect) | string | The networkDirect configuration for the network adapters. Allowed values: "Enabled", "Disabled". |
| [`networkDirect`](#parameter-networkintentsadapterpropertyoverridesnetworkdirect) | string | The networkDirect configuration for the network adapters. |
| [`networkDirectTechnology`](#parameter-networkintentsadapterpropertyoverridesnetworkdirecttechnology) | string | The networkDirectTechnology configuration for the network adapters. Allowed values: "RoCEv2", "iWARP". |

### Parameter: `networkIntents.adapterPropertyOverrides.jumboPacket`
Expand All @@ -637,10 +637,17 @@ The jumboPacket configuration for the network adapters.

### Parameter: `networkIntents.adapterPropertyOverrides.networkDirect`

The networkDirect configuration for the network adapters. Allowed values: "Enabled", "Disabled".
The networkDirect configuration for the network adapters.

- Required: Yes
- Type: string
- Allowed:
```Bicep
[
'Disabled'
'Enabled'
]
```

### Parameter: `networkIntents.adapterPropertyOverrides.networkDirectTechnology`

Expand Down Expand Up @@ -715,10 +722,18 @@ Recommend 3.

### Parameter: `networkIntents.trafficType`

The traffic types for the network intent. Allowed values: "Compute", "Management", "Storage".
The traffic types for the network intent.

- Required: Yes
- Type: array
- Allowed:
```Bicep
[
'Compute'
'Management'
'Storage'
]
```

### Parameter: `networkIntents.virtualSwitchConfigurationOverrides`

Expand All @@ -731,22 +746,30 @@ The virtualSwitchConfiguration overrides for the network intent.

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`enableIov`](#parameter-networkintentsvirtualswitchconfigurationoverridesenableiov) | string | The enableIov configuration for the network intent. Allowed values: "True", "False". |
| [`loadBalancingAlgorithm`](#parameter-networkintentsvirtualswitchconfigurationoverridesloadbalancingalgorithm) | string | The loadBalancingAlgorithm configuration for the network intent. Allowed values: "Dynamic", "HyperVPort", "IPHash". |
| [`enableIov`](#parameter-networkintentsvirtualswitchconfigurationoverridesenableiov) | bool | The enableIov configuration for the network intent |
| [`loadBalancingAlgorithm`](#parameter-networkintentsvirtualswitchconfigurationoverridesloadbalancingalgorithm) | string | The loadBalancingAlgorithm configuration for the network intent. |

### Parameter: `networkIntents.virtualSwitchConfigurationOverrides.enableIov`

The enableIov configuration for the network intent. Allowed values: "True", "False".
The enableIov configuration for the network intent

- Required: Yes
- Type: string
- Type: bool

### Parameter: `networkIntents.virtualSwitchConfigurationOverrides.loadBalancingAlgorithm`

The loadBalancingAlgorithm configuration for the network intent. Allowed values: "Dynamic", "HyperVPort", "IPHash".
The loadBalancingAlgorithm configuration for the network intent.

- Required: Yes
- Type: string
- Allowed:
```Bicep
[
'Dynamic'
'HyperVPort'
'IPHash'
]
```

### Parameter: `startingIPAddress`

Expand Down
49 changes: 39 additions & 10 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": "13299255301563208667"
"templateHash": "10344293108601439009"
},
"name": "Azure Stack HCI Cluster",
"description": "This module deploys an Azure Stack HCI Cluster on the provided Arc Machines.",
Expand Down Expand Up @@ -48,8 +48,12 @@
},
"networkDirect": {
"type": "string",
"allowedValues": [
"Disabled",
"Enabled"
],
"metadata": {
"description": "Required. The networkDirect configuration for the network adapters. Allowed values: \"Enabled\", \"Disabled\"."
"description": "Required. The networkDirect configuration for the network adapters."
}
},
"networkDirectTechnology": {
Expand Down Expand Up @@ -105,15 +109,20 @@
"type": "object",
"properties": {
"enableIov": {
"type": "string",
"type": "bool",
"metadata": {
"description": "Required. The enableIov configuration for the network intent. Allowed values: \"True\", \"False\"."
"description": "Required. The enableIov configuration for the network intent"
}
},
"loadBalancingAlgorithm": {
"type": "string",
"allowedValues": [
"Dynamic",
"HyperVPort",
"IPHash"
],
"metadata": {
"description": "Required. The loadBalancingAlgorithm configuration for the network intent. Allowed values: \"Dynamic\", \"HyperVPort\", \"IPHash\"."
"description": "Required. The loadBalancingAlgorithm configuration for the network intent."
}
}
},
Expand All @@ -123,13 +132,18 @@
},
"trafficType": {
"type": "array",
"items": {
"type": "string"
},
"allowedValues": [
"Compute",
"Management",
"Storage"
],
"metadata": {
"description": "Required. The traffic types for the network intent. Allowed values: \"Compute\", \"Management\", \"Storage\"."
"description": "Required. The traffic types for the network intent."
}
}
},
"metadata": {
"__bicep_export!": true
}
},
"storageAdapterIPInfoType": {
Expand All @@ -153,6 +167,9 @@
"description": "Required. The subnet mask for the storage adapter."
}
}
},
"metadata": {
"__bicep_export!": true
}
},
"storageNetworksType": {
Expand Down Expand Up @@ -180,12 +197,18 @@
"description": "Optional. The storage adapter IP information for 3-node switchless or manual config deployments."
}
}
},
"metadata": {
"__bicep_export!": true
}
},
"storageNetworksArrayType": {
"type": "array",
"items": {
"$ref": "#/definitions/storageNetworksType"
},
"metadata": {
"__bicep_export!": true
}
},
"securityConfigurationType": {
Expand Down Expand Up @@ -251,6 +274,9 @@
"description": "Required. Enable/Disable WDAC enforcement."
}
}
},
"metadata": {
"__bicep_export!": true
}
},
"roleAssignmentType": {
Expand Down Expand Up @@ -324,7 +350,10 @@
}
}
},
"nullable": true
"nullable": true,
"metadata": {
"__bicep_export!": true
}
}
},
"parameters": {
Expand Down

0 comments on commit 5a43828

Please sign in to comment.