Microsoft.Network virtualHubs/routeTables

ARM template resource definition

The virtualHubs/routeTables resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

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

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

Property values

virtualHubs/routeTables

Name Description Value
type The resource type 'Microsoft.Network/virtualHubs/routeTables'
apiVersion The resource api version '2023-04-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
properties Properties of the virtual hub route table v2. VirtualHubRouteTableV2Properties

VirtualHubRouteTableV2Properties

Name Description Value
attachedConnections List of all connections attached to this route table v2. string[]
routes List of all routes. VirtualHubRouteV2[]

VirtualHubRouteV2

Name Description Value
destinations List of all destinations. string[]
destinationType The type of destinations. string
nextHops NextHops ip address. string[]
nextHopType The type of next hops. string