Freigeben über


AppServicePlansOperationsExtensions.CreateOrUpdateVnetRouteAsync Methode

Definition

Erstellen oder Aktualisieren einer Virtual Network Route in einem App Service-Plan.

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)

Parameter

operations
IAppServicePlansOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name des App Service-Plans.

vnetName
String

Name des Virtual Network.

routeName
String

Name der Virtual Network Route.

route
VnetRouteInner

Definition der Virtual Network Route.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Erstellen oder Aktualisieren einer Virtual Network Route in einem App Service-Plan.

Gilt für: