Condividi tramite


IWebAppsOperations.CreateOrUpdateVnetConnectionGatewayWithHttpMessagesAsync Metodo

Definizione

Aggiunge un gateway a un Rete virtuale connesso (PUT) o lo aggiorna (PATCH).

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

Parametri

resourceGroupName
String

Nome del gruppo di risorse a cui appartiene la risorsa.

name
String

Nome dell'applicazione.

vnetName
String

Nome dell'Rete virtuale.

gatewayName
String

Nome del gateway. Attualmente, l'unica stringa supportata è "primaria".

connectionEnvelope
VnetGatewayInner

Proprietà con cui aggiornare questo gateway.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generato quando l'operazione ha restituito un codice di stato non valido

Generato quando non è possibile deserializzare la risposta

Generato quando un parametro obbligatorio è Null

Commenti

Descrizione per Aggiunge un gateway a un Rete virtuale connesso (PUT) o lo aggiorna (PATCH).

Si applica a