MockableContainerServiceSubscriptionResource.GetContainerServiceFleets Method

Definition

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_List
public virtual Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource> GetContainerServiceFleets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerServiceFleets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>
override this.GetContainerServiceFleets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerService.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