다음을 통해 공유


VirtualHubsOperationsExtensions.ListAsync Method

Definition

Lists all the VirtualHubs in a subscription.

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

Parameters

operations
IVirtualHubsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to