Share via


ContainerServiceManagedClusterCollection.GetAll(CancellationToken) 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: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
public virtual Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceManagedClusterResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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