Partager via


AppServicePlansOperationsExtensions.CreateOrUpdateVnetRouteAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetRoute> CreateOrUpdateVnetRouteAsync (this Microsoft.Azure.Management.WebSites.Version2016_09_01.IAppServicePlansOperations operations, string resourceGroupName, string name, string vnetName, string routeName, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetRoute route, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateVnetRouteAsync : Microsoft.Azure.Management.WebSites.Version2016_09_01.IAppServicePlansOperations * string * string * string * string * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetRoute * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.VnetRoute>
<Extension()>
Public Function CreateOrUpdateVnetRouteAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, vnetName As String, routeName As String, route As VnetRoute, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VnetRoute)

Parameters

resourceGroupName
String
name
String
vnetName
String
routeName
String
route
VnetRoute
cancellationToken
CancellationToken

Returns

Applies to