Udostępnij za pośrednictwem


AppServicePlansOperationsExtensions.CreateOrUpdateVnetRouteAsync Metoda

Definicja

Utwórz lub zaktualizuj trasę Virtual Network w planie App Service.

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

Parametry

operations
IAppServicePlansOperations

Grupa operacji dla tej metody rozszerzenia.

resourceGroupName
String

Nazwa grupy zasobów, do której należy zasób.

name
String

Nazwa planu usługi App Service.

vnetName
String

Nazwa Virtual Network.

routeName
String

Nazwa trasy Virtual Network.

route
VnetRouteInner

Definicja trasy Virtual Network.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Uwagi

Opis tworzenia lub aktualizowania trasy Virtual Network w planie App Service.

Dotyczy