Compartilhar via


VpnGatewaysOperationsExtensions.ListAsync Método

Definição

Lista todos os VpnGateways em uma assinatura.

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

Parâmetros

operations
IVpnGatewaysOperations

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a