OsImageCollection.GetAll(CancellationToken) Method

Definition

List all os images.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/osImages.
  • Operation Id. : OsImages_ListBySubscriptionLocationResource.
  • Default Api Version. : 2026-04-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Hci.OsImageResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.OsImageResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.OsImageResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OsImageResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to