Compartir a través de


VpnConnectionsOperationsExtensions.GetAsync Método

Definición

Recupera los detalles de una conexión VPN.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnConnection> GetAsync (this Microsoft.Azure.Management.Network.IVpnConnectionsOperations operations, string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IVpnConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnConnection>
<Extension()>
Public Function GetAsync (operations As IVpnConnectionsOperations, resourceGroupName As String, gatewayName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VpnConnection)

Parámetros

operations
IVpnConnectionsOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos de VpnGateway.

gatewayName
String

El nombre de la puerta de enlace.

connectionName
String

Nombre de la conexión vpn.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a