VirtualHubsOperations.ListAsync(CancellationToken) Method

Definition

Lists all the VirtualHubs in a subscription.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VirtualHub> ListAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VirtualHub>
override this.ListAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VirtualHub>
Public Overridable Function ListAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualHub)

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<VirtualHub>

Applies to