Partilhar via


ContainerServiceExtensions.GetContainerServiceManagedClustersAsync Método

Definição

Obtém uma lista de clusters gerenciados na assinatura especificada.

  • Caminho da solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters
  • IdManagedClusters_List de operação
public static Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource> GetContainerServiceManagedClustersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerServiceManagedClustersAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>
<Extension()>
Public Function GetContainerServiceManagedClustersAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerServiceManagedClusterResource)

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

Aplica-se a