Microsoft.Network routeTables/routes 2020-03-01

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": "2020-03-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 The name of the route.
type enum Yes routes
-or-
Microsoft.Network/routeTables/routes

See Set name and type for child resources.
apiVersion enum Yes 2020-03-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. - 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.