Microsoft.Web serverfarms/virtualNetworkConnections/routes 2019-08-01

Template format

To create a Microsoft.Web/serverfarms/virtualNetworkConnections/routes resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Web/serverfarms/virtualNetworkConnections/routes",
  "apiVersion": "2019-08-01",
  "kind": "string",
  "properties": {
    "startAddress": "string",
    "endAddress": "string",
    "routeType": "string"

Property values

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

Microsoft.Web/serverfarms/virtualNetworkConnections/routes object

Name Type Required Value
name string Yes Name of the Virtual Network route.
type enum Yes routes

See Set name and type for child resources.
apiVersion enum Yes 2019-08-01
kind string No Kind of resource.
properties object Yes VnetRoute resource specific properties - VnetRouteProperties object

VnetRouteProperties object

Name Type Required Value
startAddress string No The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.
endAddress string No The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.
routeType enum No The type of route this is:DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918INHERITED - Routes inherited from the real Virtual Network routesSTATIC - Static route set on the app onlyThese values will be used for syncing an app's routes with those from a Virtual Network. - DEFAULT, INHERITED, STATIC