DevicePoolCollection.GetAllAsync(CancellationToken) Method

Definition

List all device pools in a resource group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/devicePools.
  • Operation Id. : DevicePools_ListByResourceGroup.
  • Default Api Version. : 2026-04-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Hci.DevicePoolResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.DevicePoolResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.DevicePoolResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DevicePoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to