Condividi tramite


IWebAppsOperations.UpdateVnetConnectionGatewaySlotWithHttpMessagesAsync 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>> UpdateVnetConnectionGatewaySlotWithHttpMessagesAsync (string resourceGroupName, string name, string vnetName, string gatewayName, Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner connectionEnvelope, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateVnetConnectionGatewaySlotWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner * string * 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 UpdateVnetConnectionGatewaySlotWithHttpMessagesAsync (resourceGroupName As String, name As String, vnetName As String, gatewayName As String, connectionEnvelope As VnetGatewayInner, slot As String, 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 del Rete virtuale.

gatewayName
String

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

connectionEnvelope
VnetGatewayInner

Proprietà con cui aggiornare il gateway.

slot
String

Nome dello slot di distribuzione. Se non si specifica uno slot, l'API aggiungerà o aggiornerà un gateway per il Rete virtuale dello slot di produzione.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

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

Generata quando non è possibile deserializzare la risposta

Generata quando un parametro obbligatorio è Null

Commenti

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

Si applica a