Compartilhar via


LocalNetworkGatewaysOperationsExtensions.GetAsync Método

Definição

Obtém o gateway de rede local especificado em um grupo de recursos.

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

Parâmetros

operations
ILocalNetworkGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos.

localNetworkGatewayName
String

O nome do gateway de rede local.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a