Skip to content

Commit

Permalink
update vnet, gws, and fw api versions back
Browse files Browse the repository at this point in the history
  • Loading branch information
jtracey93 committed Oct 17, 2023
1 parent 9e67e6a commit 7eafe3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions eslzArm/subscriptionTemplates/hubspoke-connectivity.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
{
"name": "[variables('hubName')]",
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2023-04-01",
"apiVersion": "2020-04-01",
"location": "[parameters('location')]",
"properties": {
"addressSpace": {
Expand Down Expand Up @@ -324,7 +324,7 @@
},
{
"condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'No'), not(empty(parameters('subnetMaskForGw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"name": "[variables('vpngwname')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
Expand Down Expand Up @@ -375,7 +375,7 @@
},
{
"condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'Yes'), not(empty(parameters('subnetMaskForGw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"name": "[variables('vpngwname')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
Expand Down Expand Up @@ -452,7 +452,7 @@
},
{
"condition": "[and(equals(parameters('enableErGw'), 'Yes'), not(empty(parameters('subnetMaskForGw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"name": "[variables('erGwName')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
Expand Down Expand Up @@ -528,7 +528,7 @@
{
"condition": "[and(equals(parameters('enableAzFw'), 'Yes'), not(empty(parameters('subnetMaskForAzFw'))))]",
"type": "Microsoft.Network/firewallPolicies",
"apiVersion": "2023-04-01",
"apiVersion": "2020-11-01",
"name": "[variables('azFwPolicyName')]",
"location": "[parameters('location')]",
"properties": {
Expand All @@ -540,7 +540,7 @@
},
{
"condition": "[and(equals(parameters('enableAzFw'), 'Yes'), not(empty(parameters('subnetMaskForAzFw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"type": "Microsoft.Network/azureFirewalls",
"name": "[variables('azfwname')]",
"location": "[parameters('location')]",
Expand Down
8 changes: 4 additions & 4 deletions eslzArm/subscriptionTemplates/nvahubspoke-connectivity.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
{
"name": "[variables('hubName')]",
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2023-04-01",
"apiVersion": "2020-04-01",
"location": "[parameters('location')]",
"properties": {
"addressSpace": {
Expand Down Expand Up @@ -245,7 +245,7 @@
},
{
"condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'No'), not(empty(parameters('subnetMaskForGw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"name": "[variables('vpngwname')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
Expand Down Expand Up @@ -296,7 +296,7 @@
},
{
"condition": "[and(equals(parameters('enableVpnGw'), 'Yes'), equals(parameters('enableVpnActiveActive'),'Yes'), not(empty(parameters('subnetMaskForGw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"name": "[variables('vpngwname')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
Expand Down Expand Up @@ -373,7 +373,7 @@
},
{
"condition": "[and(equals(parameters('enableErGw'), 'Yes'), not(empty(parameters('subnetMaskForGw'))))]",
"apiVersion": "2023-04-01",
"apiVersion": "2020-05-01",
"name": "[variables('erGwName')]",
"type": "Microsoft.Network/virtualNetworkGateways",
"location": "[parameters('location')]",
Expand Down

0 comments on commit 7eafe3b

Please sign in to comment.