Compartir a través de


VpnGatewaysOperationsExtensions.GetAsync Método

Definición

Recupera los detalles de una puerta de enlace de VPN wan virtual.

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

Parámetros

operations
IVpnGatewaysOperations

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.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a