Condividi tramite


ContainerServiceManagedClusterCollection.GetAllAsync Method

Definition

Lists managed clusters in the specified subscription and resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to