Microsoft.Network routeTables/routes template reference

Template format

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

  "name": "string",
  "type": "Microsoft.Network/routeTables/routes",
  "apiVersion": "2018-06-01",
  "properties": {
    "addressPrefix": "string",
    "nextHopType": "string",
    "nextHopIpAddress": "string"

Property values

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

Microsoft.Network/routeTables/routes object

Name Type Required Value
name string Yes
type enum Yes Microsoft.Network/routeTables/routes
apiVersion enum Yes 2018-06-01
properties object Yes Properties of the route. - RoutePropertiesFormat object

RoutePropertiesFormat object

Name Type Required Value
addressPrefix string No The destination CIDR to which the route applies.
nextHopType enum Yes The type of Azure hop the packet should be sent to. Possible values are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', and 'None'. - VirtualNetworkGateway, VnetLocal, Internet, VirtualAppliance, None
nextHopIpAddress string No The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.