Language

WorkloadCapabilityCollection.GetAll(CancellationToken) Method

Definition

Lists capabilities in a workload space.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/workloadSpaces/{spaceName}/capabilities.
  • Operation Id. : Capabilities_ListByWorkloadSpace.
  • Default Api Version. : 2026-11-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Compute.WorkloadManager.WorkloadCapabilityResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.WorkloadManager.WorkloadCapabilityResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.WorkloadManager.WorkloadCapabilityResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WorkloadCapabilityResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to