Share via


VirtualHubCollection.GetAll(CancellationToken) Method

Definition

Lists all the VirtualHubs in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs
  • Operation Id: VirtualHubs_ListByResourceGroup
  • Default Api Version: 2024-03-01
  • Resource: VirtualHubResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.VirtualHubResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VirtualHubResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VirtualHubResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualHubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of VirtualHubResource that may take multiple service requests to iterate over.

Applies to