Share via


MockableContainerServiceFleetSubscriptionResource.GetContainerServiceFleets Method

Definition

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_ListBySubscription
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
public virtual Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource> GetContainerServiceFleets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerServiceFleets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
override this.GetContainerServiceFleets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
Public Overridable Function GetContainerServiceFleets (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