Microsoft.Network virtualHubs/routeTables 2019-12-01

Template format

To create a Microsoft.Network/virtualHubs/routeTables resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/virtualHubs/routeTables",
  "apiVersion": "2019-12-01",
  "properties": {
    "routes": [
      {
        "destinationType": "string",
        "destinations": [
          "string"
        ],
        "nextHopType": "string",
        "nextHops": [
          "string"
        ]
      }
    ],
    "attachedConnections": [
      "string"
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/virtualHubs/routeTables object

Name Type Required Value
name string Yes The name of the route table.
type enum Yes routeTables
-or-
Microsoft.Network/virtualHubs/routeTables

See Set name and type for child resources.
apiVersion enum Yes 2019-12-01
properties object Yes Properties of the virtual hub route table v2. - VirtualHubRouteTableV2Properties object

VirtualHubRouteTableV2Properties object

Name Type Required Value
routes array No List of all routes. - VirtualHubRouteV2 object
attachedConnections array No List of all connections attached to this route table v2. - string

VirtualHubRouteV2 object

Name Type Required Value
destinationType string No The type of destinations.
destinations array No List of all destinations. - string
nextHopType string No The type of next hops.
nextHops array No NextHops ip address. - string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Secured virtual hubs

Deploy to Azure
This template creates a secured virtual hub using Azure Firewall to secure your cloud network traffic destined to the Internet.