ContainerAppManagedEnvironmentResource.GetWorkloadProfileStatesAsync Method

Definition

Get all workload Profile States for a Managed Environment.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/workloadProfileStates.
  • Operation Id. : ManagedEnvironments_ListWorkloadProfileStates.
  • Default Api Version. : 2025-10-02-preview.
  • Resource. : ContainerAppManagedEnvironmentResource.
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWorkloadProfileState> GetWorkloadProfileStatesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkloadProfileStatesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWorkloadProfileState>
override this.GetWorkloadProfileStatesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWorkloadProfileState>
Public Overridable Function GetWorkloadProfileStatesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerAppWorkloadProfileState)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to