Partilhar via


ContainersExtensions.GetManagedEnvironments Método

Definição

Sobrecargas

GetManagedEnvironments(ResourceGroupResource)

Obtém uma coleção de ManagedEnvironmentResources no ResourceGroupResource.

GetManagedEnvironments(SubscriptionResource, CancellationToken)

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

GetManagedEnvironments(ResourceGroupResource)

Origem:
ContainersExtensions.cs

Obtém uma coleção de ManagedEnvironmentResources no ResourceGroupResource.

public static Azure.ResourceManager.Applications.Containers.ManagedEnvironmentCollection GetManagedEnvironments (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetManagedEnvironments : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Applications.Containers.ManagedEnvironmentCollection
<Extension()>
Public Function GetManagedEnvironments (resourceGroupResource As ResourceGroupResource) As ManagedEnvironmentCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

Retornos

Um objeto que representa a coleção de ManagedEnvironmentResources e suas operações em um ManagedEnvironmentResource.

Aplica-se a

GetManagedEnvironments(SubscriptionResource, CancellationToken)

Origem:
ContainersExtensions.cs

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.Pageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource> GetManagedEnvironments (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedEnvironments : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentResource>
<Extension()>
Public Function GetManagedEnvironments (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedEnvironmentResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a