Partilhar via


ContainersExtensions.GetManagedEnvironmentsAsync Método

Definição

Obtenha todos os Ambientes Gerenciados para uma assinatura. Caminho da Solicitação: /subscriptions/{subscriptionId}/providers/Microsoft.App/managedEnvironments Operation Id: ManagedEnvironments_ListBySubscription

public static Azure.AsyncPageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource> GetManagedEnvironmentsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedEnvironmentsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource>
<Extension()>
Public Function GetManagedEnvironmentsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedEnvironmentResource)

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 ManagedEnvironmentResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a