From ba2c73676ca48d02b40607527572e3a831759d9a Mon Sep 17 00:00:00 2001 From: Matthew Bratschun Date: Wed, 16 Oct 2024 12:54:23 -0600 Subject: [PATCH] enableIov --> string --- avm/res/azure-stack-hci/cluster/README.md | 11 +++++++++-- avm/res/azure-stack-hci/cluster/main.bicep | 2 +- avm/res/azure-stack-hci/cluster/main.json | 8 ++++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/avm/res/azure-stack-hci/cluster/README.md b/avm/res/azure-stack-hci/cluster/README.md index 8f769ee684..1c22341cc7 100644 --- a/avm/res/azure-stack-hci/cluster/README.md +++ b/avm/res/azure-stack-hci/cluster/README.md @@ -746,7 +746,7 @@ 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` @@ -754,7 +754,14 @@ The virtualSwitchConfiguration overrides for the network intent. The enableIov configuration for the network intent. - Required: Yes -- Type: bool +- Type: string +- Allowed: + ```Bicep + [ + 'False' + 'True' + ] + ``` ### Parameter: `networkIntents.virtualSwitchConfigurationOverrides.loadBalancingAlgorithm` diff --git a/avm/res/azure-stack-hci/cluster/main.bicep b/avm/res/azure-stack-hci/cluster/main.bicep index 07feed4244..9a6f329c1e 100644 --- a/avm/res/azure-stack-hci/cluster/main.bicep +++ b/avm/res/azure-stack-hci/cluster/main.bicep @@ -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') diff --git a/avm/res/azure-stack-hci/cluster/main.json b/avm/res/azure-stack-hci/cluster/main.json index e0fbc112fb..e66167a895 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": "15022001966855094976" + "templateHash": "8149234295397204997" }, "name": "Azure Stack HCI Cluster", "description": "This module deploys an Azure Stack HCI Cluster on the provided Arc Machines.", @@ -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." }