Partilhar via


VpnConnectionsOperationsExtensions.GetAsync Método

Definição

Recupera os detalhes de uma conexão VPN.

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

Parâmetros

operations
IVpnConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do VpnGateway.

gatewayName
String

O nome do gateway.

connectionName
String

O nome da conexão vpn.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a