Share via


VpnSitesOperationsExtensions.ListAsync Method

Definition

Lists all the VpnSites in a subscription.

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

Parameters

operations
IVpnSitesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to