Compartilhar via


ContainerServiceFleetExtensions.GetContainerServiceFleets Method

Definition

Overloads

GetContainerServiceFleets(ResourceGroupResource)

Gets a collection of ContainerServiceFleetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerServiceFleets() instead.

GetContainerServiceFleets(SubscriptionResource, CancellationToken)

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

GetContainerServiceFleets(ResourceGroupResource)

Source:
ContainerServiceFleetExtensions.cs
Source:
ContainerServiceFleetExtensions.cs

Gets a collection of ContainerServiceFleetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerServiceFleets() instead.

public static Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetCollection GetContainerServiceFleets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerServiceFleets : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetCollection
<Extension()>
Public Function GetContainerServiceFleets (resourceGroupResource As ResourceGroupResource) As ContainerServiceFleetCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ContainerServiceFleetResources and their operations over a ContainerServiceFleetResource.

Exceptions

resourceGroupResource is null.

Applies to

GetContainerServiceFleets(SubscriptionResource, CancellationToken)

Source:
ContainerServiceFleetExtensions.cs
Source:
ContainerServiceFleetExtensions.cs

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 static Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource> GetContainerServiceFleets (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerServiceFleets : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerServiceFleet.ContainerServiceFleetResource>
<Extension()>
Public Function GetContainerServiceFleets (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerServiceFleetResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to