Partager via


IAppServicePlansOperations.UpdateVnetGatewayWithHttpMessagesAsync Méthode

Définition

Mettre à jour une passerelle Réseau virtuel.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.WebSites.Models.VnetGateway>> UpdateVnetGatewayWithHttpMessagesAsync (string resourceGroupName, string name, string vnetName, string gatewayName, Microsoft.Azure.Management.WebSites.Models.VnetGateway connectionEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateVnetGatewayWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.WebSites.Models.VnetGateway * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.WebSites.Models.VnetGateway>>
Public Function UpdateVnetGatewayWithHttpMessagesAsync (resourceGroupName As String, name As String, vnetName As String, gatewayName As String, connectionEnvelope As VnetGateway, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of VnetGateway))

Paramètres

resourceGroupName
String

Nom du groupe de ressources auquel appartient la ressource.

name
String

Nom du plan App Service.

vnetName
String

Nom du Réseau virtuel.

gatewayName
String

Nom de la passerelle. Seule la passerelle « primaire » est prise en charge.

connectionEnvelope
VnetGateway

Définition de la passerelle.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée en cas d’impossibilité de désérialiser la réponse

Levée lorsqu’un paramètre obligatoire a la valeur Null

Remarques

Description de La mise à jour d’une passerelle Réseau virtuel.

S’applique à