다음을 통해 공유


ContainerServiceExtensions.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_List

GetContainerServiceFleets(ResourceGroupResource)

Source:
ContainerServiceExtensions.cs

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

public static Azure.ResourceManager.ContainerService.ContainerServiceFleetCollection GetContainerServiceFleets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetContainerServiceFleets : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ContainerService.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:
ContainerServiceExtensions.cs

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_List
public static Azure.Pageable<Azure.ResourceManager.ContainerService.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.ContainerService.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