The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
string
ARM template resource definition
The expressRouteGateways resource type can be deployed with operations that target:
The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
string
Quickstart templates
The following quickstart templates deploy this resource type.
This template allows you to create an Azure Virtual WAN (vWAN) multi-hub deployment, including all gateways and VNET connections, and demonstrate the usage of Route Tables for custom routing.
Terraform (AzAPI provider) resource definition
The expressRouteGateways resource type can be deployed with operations that target:
Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/expressRouteGateways resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/expressRouteGateways@2020-04-01"
name = "string"
location = "string"
body = jsonencode({
properties = {
autoScaleConfiguration = {
bounds = {
max = int
min = int
}
}
virtualHub = {
id = "string"
}
}
})
tags = {
{customized property} = "string"
}
}
The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.