Share via


ContainerServiceFleetCollection.GetAll(CancellationToken) Method

Definition

Lists fleets in the specified subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_ListByResourceGroup
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
public virtual Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerServiceFleetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to