次の方法で共有


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: 2024-03-01
  • 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

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

Applies to