共用方式為


MockableContainerServiceSubscriptionResource.GetContainerServiceManagedClustersAsync Method

Definition

Gets a list of managed clusters in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters
  • Operation Id: ManagedClusters_List
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource> GetContainerServiceManagedClustersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerServiceManagedClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>
override this.GetContainerServiceManagedClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>
Public Overridable Function GetContainerServiceManagedClustersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerServiceManagedClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ContainerServiceManagedClusterResource that may take multiple service requests to iterate over.

Applies to