Share via


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: VirtualHubRouteTableV2s_List
  • Default Api Version: 2023-11-01
  • Resource: VirtualHubRouteTableV2Resource
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

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

Applies to