Language

WorkloadCapabilityCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.Compute.WorkloadManager.WorkloadCapabilityResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.WorkloadManager.WorkloadCapabilityResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.WorkloadManager.WorkloadCapabilityResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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