Compartilhar via


VirtualNetworkGatewaysOperationsExtensions.GetAsync Método

Definição

Obtém o gateway de rede virtual especificado por grupo de recursos.

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

Parâmetros

operations
IVirtualNetworkGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayName
String

O nome do gateway de rede virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a