AppServicePlansOperationsExtensions.UpdateVnetRouteAsync(IAppServicePlansOperations, String, String, String, String, VnetRoute, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.VnetRoute> UpdateVnetRouteAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, string vnetName, string routeName, Microsoft.Azure.Management.WebSites.Models.VnetRoute route, System.Threading.CancellationToken cancellationToken = null);
static member UpdateVnetRouteAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.VnetRoute * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.VnetRoute>

Parameters

operations
IAppServicePlansOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the App Service plan.

vnetName
System.String

Name of the Virtual Network.

routeName
System.String

Name of the Virtual Network route.

route
VnetRoute

Definition of the Virtual Network route.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VnetRoute>

Remarks

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

Applies to