Freigeben über


VpnGatewaysOperationsExtensions.ListAsync Methode

Definition

Listet alle VpnGateways in einem Abonnement auf.

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))

Parameter

operations
IVpnGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: