Skip to content

Commit

Permalink
Add new ExpressRoute virtual network gateway types (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
tasador authored and tombuildsstuff committed Nov 7, 2018
1 parent 43052a7 commit 1cd5ba2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions azurerm/resource_arm_virtual_network_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ func resourceArmVirtualNetworkGateway() *schema.Resource {
string(network.VirtualNetworkGatewaySkuNameVpnGw1),
string(network.VirtualNetworkGatewaySkuNameVpnGw2),
string(network.VirtualNetworkGatewaySkuNameVpnGw3),
string(network.VirtualNetworkGatewaySkuNameErGw1AZ),
string(network.VirtualNetworkGatewaySkuNameErGw2AZ),
string(network.VirtualNetworkGatewaySkuNameErGw3AZ),
}, true),
},

Expand Down Expand Up @@ -758,6 +761,9 @@ func validateArmVirtualNetworkGatewayExpressRouteSku() schema.SchemaValidateFunc
string(network.VirtualNetworkGatewaySkuTierStandard),
string(network.VirtualNetworkGatewaySkuTierHighPerformance),
string(network.VirtualNetworkGatewaySkuTierUltraPerformance),
string(network.VirtualNetworkGatewaySkuNameErGw1AZ),
string(network.VirtualNetworkGatewaySkuNameErGw2AZ),
string(network.VirtualNetworkGatewaySkuNameErGw3AZ),
}, true)
}

Expand Down
3 changes: 2 additions & 1 deletion website/docs/r/virtual_network_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ The following arguments are supported:

* `sku` - (Required) Configuration of the size and capacity of the virtual network
gateway. Valid options are `Basic`, `Standard`, `HighPerformance`, `UltraPerformance`,
`VpnGw1`, `VpnGw2` and `VpnGw3` and depend on the `type` and `vpn_type` arguments.
`ErGw1AZ`, `ErGw2AZ`, `ErGw3AZ`, `VpnGw1`, `VpnGw2` and `VpnGw3`
and depend on the `type` and `vpn_type` arguments.
A `PolicyBased` gateway only supports the `Basic` sku. Further, the `UltraPerformance`
sku is only supported by an `ExpressRoute` gateway.

Expand Down

0 comments on commit 1cd5ba2

Please sign in to comment.