VirtualHubRouteTableV2Collection.GetAllAsync(CancellationToken) Method

Definition

Retrieves the details of all VirtualHubRouteTableV2s.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables.
  • Operation Id. : VirtualHubs_VirtualHubRouteTableV2sList.
  • Default Api Version. : 2025-07-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VirtualHubRouteTableV2Resource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualHubRouteTableV2Resource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to