Partager via


WebAppsOperationsExtensions.CreateOrUpdateVnetConnectionGatewayAsync Méthode

Définition

Ajoute une passerelle à un Réseau virtuel connecté (PUT) ou la met à jour (PATCH).

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.VnetGateway> CreateOrUpdateVnetConnectionGatewayAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string vnetName, string gatewayName, Microsoft.Azure.Management.WebSites.Models.VnetGateway connectionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateVnetConnectionGatewayAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.VnetGateway * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.VnetGateway>
<Extension()>
Public Function CreateOrUpdateVnetConnectionGatewayAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, vnetName As String, gatewayName As String, connectionEnvelope As VnetGateway, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VnetGateway)

Paramètres

operations
IWebAppsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources auquel appartient la ressource.

name
String

Nom de l’application.

vnetName
String

Nom du Réseau virtuel.

gatewayName
String

Nom de la passerelle. Actuellement, la seule chaîne prise en charge est « primary ».

connectionEnvelope
VnetGateway

Propriétés avec laquelle mettre à jour cette passerelle.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Description pour Ajoute une passerelle à un Réseau virtuel connecté (PUT) ou la met à jour (PATCH).

S’applique à