Partilhar via


ContainerAppManagedEnvironmentResource.GetWorkloadProfileStates Método

Definição

Obtenha todos os estados de perfil de carga de trabalho para um ambiente gerenciado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/workloadProfileStates
  • Operação IdManagedEnvironments_ListWorkloadProfileStates
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)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de ContainerAppWorkloadProfileState que pode levar várias solicitações de serviço para iterar.

Aplica-se a