Share via


ContainerAppManagedEnvironmentResource.GetWorkloadProfileStates 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: 2024-03-01
  • Resource: ContainerAppManagedEnvironmentResource
public virtual Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWorkloadProfileState> GetWorkloadProfileStates (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkloadProfileStates : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWorkloadProfileState>
override this.GetWorkloadProfileStates : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppWorkloadProfileState>
Public Overridable Function GetWorkloadProfileStates (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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