PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}/?api-version=2023-01-01

Description for Create or update a Virtual Network route in an App Service plan.

Servers

Path parameters

Name Type Required Description
routeName String Yes

Name of the Virtual Network route.

name String Yes

Name of the App Service plan.

subscriptionId String Yes

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

resourceGroupName String Yes

Name of the resource group to which the resource belongs.

vnetName String Yes

Name of the Virtual Network.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

Resource Id.

name String No

Resource Name.

properties Object No

VnetRoute resource specific properties

properties.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.

properties.routeType String No

The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only

These values will be used for syncing an app's routes with those from a Virtual Network.

Possible values:

  • "DEFAULT"
  • "INHERITED"
  • "STATIC"
properties.endAddress String No

The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.

type String No

Resource type.

kind String No

Kind of resource.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.