Skip to content

Commit

Permalink
Update param name and fix param declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Apr 30, 2024
1 parent e1279bd commit 9d20a97
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parAzFirewallDnsServers | No | Array of custom DNS servers used by Azure F
parVirtualWanName | No | Prefix Used for Virtual WAN.
parVirtualWanLock | No | Resource Lock Configuration for Virtual WAN. - `kind` - The lock settings of the service which can be CanNotDelete, ReadOnly, or None. - `notes` - Notes about this lock.
parVirtualWanHubName | No | Prefix Used for Virtual WAN Hub.
parVirtualWanHubRouteName | No | The name of the route table that manages routing between the Virtual WAN Hub and the Azure Firewall
parVirtualWanHubDefaultRouteName | No | The name of the route table that manages routing between the Virtual WAN Hub and the Azure Firewall
parVirtualWanHubs | No | Array Used for multiple Virtual WAN Hubs deployment. Each object in the array represents an individual Virtual WAN Hub configuration. Add/remove additional objects in the array to meet the number of Virtual WAN Hubs required. - `parVpnGatewayEnabled` - Switch to enable/disable VPN Gateway deployment on the respective Virtual WAN Hub. - `parExpressRouteGatewayEnabled` - Switch to enable/disable ExpressRoute Gateway deployment on the respective Virtual WAN Hub. - `parAzFirewallEnabled` - Switch to enable/disable Azure Firewall deployment on the respective Virtual WAN Hub. - `parVirtualHubAddressPrefix` - The IP address range in CIDR notation for the vWAN virtual Hub to use. - `parHubLocation` - The Virtual WAN Hub location. - `parHubRoutingPreference` - The Virtual WAN Hub routing preference. The allowed values are `ASN`, `VpnGateway`, `ExpressRoute`. - `parVirtualRouterAutoScaleConfiguration` - The Virtual WAN Hub capacity. The value should be between 2 to 50. - `parVirtualHubRoutingIntentDestinations` - The Virtual WAN Hub routing intent destinations, leave empty if not wanting to enable routing intent. The allowed values are `Internet`, `PrivateTraffic`.
parVpnGatewayLock | No | Resource Lock Configuration for Virtual WAN Hub VPN Gateway. - `kind` - The lock settings of the service which can be CanNotDelete, ReadOnly, or None. - `notes` - Notes about this lock.
parExpressRouteGatewayLock | No | Resource Lock Configuration for Virtual WAN Hub ExpressRoute Gateway. - `kind` - The lock settings of the service which can be CanNotDelete, ReadOnly, or None. - `notes` - Notes about this lock.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"parVirtualWanHubName": {
"value": "alz-vhub"
},
"parVirtualWanHubRouteName": {
"parVirtualWanHubDefaultRouteName": {
"value": "default-to-azfw"
},
"parVpnGatewayName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"parVirtualWanHubName": {
"value": "alz-vhub"
},
"parVirtualWanHubRouteName": {
"parVirtualWanHubDefaultRouteName": {
"value": "default-to-azfw"
},
"parVpnGatewayName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"parVirtualWanHubName": {
"value": "alz-vhub"
},
"parVirtualWanHubRouteName": {
"parVirtualWanHubDefaultRouteName": {
"value": "default-to-azfw"
},
"parVpnGatewayName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"parVirtualHubEnabled": {
"value": true
},
"parVirtualWanHubRouteName": {
"parVirtualWanHubDefaultRouteName": {
"value": "default-to-azfw"
},
"parVirtualWanHubs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ param parVirtualWanLock lockType = {
param parVirtualWanHubName string = '${parCompanyPrefix}-vhub'

@sys.description('The name of the route table that manages routing between the Virtual WAN Hub and the Azure Firewall.')
parVirtualWanHubRouteName: 'default-to-azfw'
param parVirtualWanHubDefaultRouteName string = 'default-to-azfw'

@sys.description('''Array Used for multiple Virtual WAN Hubs deployment. Each object in the array represents an individual Virtual WAN Hub configuration. Add/remove additional objects in the array to meet the number of Virtual WAN Hubs required.
Expand Down Expand Up @@ -397,7 +397,7 @@ resource resVhubRouteTable 'Microsoft.Network/virtualHubs/hubRouteTables@2023-04
]
routes: [
{
name: parVirtualWanHubRouteName
name: parVirtualWanHubDefaultRouteName
destinations: [
'0.0.0.0/0'
]
Expand Down

0 comments on commit 9d20a97

Please sign in to comment.