Partilhar via


AppContainersExtensions.GetContainerAppManagedEnvironmentsAsync Método

Definição

Obtenha todos os Ambientes Gerenciados para uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.App/managedEnvironments
  • Operação IdManagedEnvironments_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource> GetContainerAppManagedEnvironmentsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerAppManagedEnvironmentsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>
<Extension()>
Public Function GetContainerAppManagedEnvironmentsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerAppManagedEnvironmentResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de ContainerAppManagedEnvironmentResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a