Condividi tramite


IAppServicePlansOperations.GetVnetGatewayWithHttpMessagesAsync Metodo

Definizione

Ottenere un gateway Rete virtuale.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.VnetGatewayInner>> GetVnetGatewayWithHttpMessagesAsync (string resourceGroupName, string name, string vnetName, string gatewayName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVnetGatewayWithHttpMessagesAsync : string * string * string * 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 GetVnetGatewayWithHttpMessagesAsync (resourceGroupName As String, name As String, vnetName As String, gatewayName 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 del piano di servizio app.

vnetName
String

Nome del Rete virtuale.

gatewayName
String

Nome del gateway. È supportato solo il gateway "primario".

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 Ottenere un gateway Rete virtuale.

Si applica a