Sdílet prostřednictvím


P2sVpnGatewaysOperationsExtensions.ListAsync Method

Definition

Lists all the P2SVpnGateways in a subscription.

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

Parameters

operations
IP2sVpnGatewaysOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to