Partilhar via


AppContainersExtensions.GetContainerAppConnectedEnvironmentsAsync Método

Definição

Obtenha todos os connectedEnvironments para uma assinatura.

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

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

Aplica-se a