Skip to content

Commit

Permalink
enableIov --> string
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrat2005 committed Oct 16, 2024
1 parent b95e9fe commit ba2c736
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 9 additions & 2 deletions avm/res/azure-stack-hci/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,15 +746,22 @@ The virtualSwitchConfiguration overrides for the network intent.

| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`enableIov`](#parameter-networkintentsvirtualswitchconfigurationoverridesenableiov) | bool | The enableIov configuration for the network intent. |
| [`enableIov`](#parameter-networkintentsvirtualswitchconfigurationoverridesenableiov) | string | 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.

- Required: Yes
- Type: bool
- Type: string
- Allowed:
```Bicep
[
'False'
'True'
]
```

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

Expand Down
2 changes: 1 addition & 1 deletion avm/res/azure-stack-hci/cluster/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ type networkIntent = {
@description('Required. The virtualSwitchConfiguration overrides for the network intent.')
virtualSwitchConfigurationOverrides: {
@description('Required. The enableIov configuration for the network intent.')
enableIov: bool
enableIov: ('True' | 'False')

@description('Required. The loadBalancingAlgorithm configuration for the network intent.')
loadBalancingAlgorithm: ('Dynamic' | 'HyperVPort' | 'IPHash')
Expand Down
8 changes: 6 additions & 2 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": "15022001966855094976"
"templateHash": "8149234295397204997"
},
"name": "Azure Stack HCI Cluster",
"description": "This module deploys an Azure Stack HCI Cluster on the provided Arc Machines.",
Expand Down Expand Up @@ -109,7 +109,11 @@
"type": "object",
"properties": {
"enableIov": {
"type": "bool",
"type": "string",
"allowedValues": [
"False",
"True"
],
"metadata": {
"description": "Required. The enableIov configuration for the network intent."
}
Expand Down

0 comments on commit ba2c736

Please sign in to comment.