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

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