diff --git a/eslzArm/subscriptionTemplates/hubspoke-connectivity.json b/eslzArm/subscriptionTemplates/hubspoke-connectivity.json index 9a0068fcd5..332f53c010 100644 --- a/eslzArm/subscriptionTemplates/hubspoke-connectivity.json +++ b/eslzArm/subscriptionTemplates/hubspoke-connectivity.json @@ -273,7 +273,7 @@ { "name": "[variables('hubName')]", "type": "Microsoft.Network/virtualNetworks", - "apiVersion": "2020-04-01", + "apiVersion": "2023-04-01", "location": "[parameters('location')]", "properties": { "addressSpace": { @@ -324,7 +324,7 @@ }, { "condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'No'), not(empty(parameters('subnetMaskForGw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "name": "[variables('vpngwname')]", "type": "Microsoft.Network/virtualNetworkGateways", "location": "[parameters('location')]", @@ -375,7 +375,7 @@ }, { "condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'Yes'), not(empty(parameters('subnetMaskForGw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "name": "[variables('vpngwname')]", "type": "Microsoft.Network/virtualNetworkGateways", "location": "[parameters('location')]", @@ -452,7 +452,7 @@ }, { "condition": "[and(equals(parameters('enableErGw'), 'Yes'), not(empty(parameters('subnetMaskForGw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "name": "[variables('erGwName')]", "type": "Microsoft.Network/virtualNetworkGateways", "location": "[parameters('location')]", @@ -528,7 +528,7 @@ { "condition": "[and(equals(parameters('enableAzFw'), 'Yes'), not(empty(parameters('subnetMaskForAzFw'))))]", "type": "Microsoft.Network/firewallPolicies", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "name": "[variables('azFwPolicyName')]", "location": "[parameters('location')]", "properties": { @@ -540,7 +540,7 @@ }, { "condition": "[and(equals(parameters('enableAzFw'), 'Yes'), not(empty(parameters('subnetMaskForAzFw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "type": "Microsoft.Network/azureFirewalls", "name": "[variables('azfwname')]", "location": "[parameters('location')]", diff --git a/eslzArm/subscriptionTemplates/nvahubspoke-connectivity.json b/eslzArm/subscriptionTemplates/nvahubspoke-connectivity.json index 631f20d388..87abc1f728 100644 --- a/eslzArm/subscriptionTemplates/nvahubspoke-connectivity.json +++ b/eslzArm/subscriptionTemplates/nvahubspoke-connectivity.json @@ -197,7 +197,7 @@ { "name": "[variables('hubName')]", "type": "Microsoft.Network/virtualNetworks", - "apiVersion": "2020-04-01", + "apiVersion": "2023-04-01", "location": "[parameters('location')]", "properties": { "addressSpace": { @@ -245,7 +245,7 @@ }, { "condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'No'), not(empty(parameters('subnetMaskForGw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "name": "[variables('vpngwname')]", "type": "Microsoft.Network/virtualNetworkGateways", "location": "[parameters('location')]", @@ -296,7 +296,7 @@ }, { "condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'Yes'), not(empty(parameters('subnetMaskForGw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "name": "[variables('vpngwname')]", "type": "Microsoft.Network/virtualNetworkGateways", "location": "[parameters('location')]", @@ -373,7 +373,7 @@ }, { "condition": "[and(equals(parameters('enableErGw'), 'Yes'), not(empty(parameters('subnetMaskForGw'))))]", - "apiVersion": "2020-05-01", + "apiVersion": "2023-04-01", "name": "[variables('erGwName')]", "type": "Microsoft.Network/virtualNetworkGateways", "location": "[parameters('location')]",