Freigeben über


ContainerAppManagedEnvironmentResource.GetWorkloadProfileStatesAsync Methode

Definition

Ruft alle Workloadprofilstatus für eine verwaltete Umgebung ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/workloadProfileStates
  • Vorgangs-IdManagedEnvironments_ListWorkloadProfileStates
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)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ContainerAppWorkloadProfileState , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: