Freigeben über


IVpnConnectionsOperations.ListByVpnGatewayWithHttpMessagesAsync Methode

Definition

Ruft alle VPN-Verbindungen für ein bestimmtes Virtual WAN-VPN-Gateway ab.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VpnConnection>>> ListByVpnGatewayWithHttpMessagesAsync (string resourceGroupName, string gatewayName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByVpnGatewayWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VpnConnection>>>
Public Function ListByVpnGatewayWithHttpMessagesAsync (resourceGroupName 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 IPage(Of VpnConnection)))

Parameter

resourceGroupName
String

Der Ressourcengruppenname des VpnGateway.

gatewayName
String

Der Name des Gateways.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: