DatabaseFleetManagerExtensions.GetDatabaseFleets Method

Definition

Overloads

GetDatabaseFleets(ResourceGroupResource)

Gets a collection of DatabaseFleetResources in the ResourceGroupResource.

GetDatabaseFleets(SubscriptionResource, CancellationToken)

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_ListBySubscription

GetDatabaseFleets(ResourceGroupResource)

Source:
DatabaseFleetManagerExtensions.cs

Gets a collection of DatabaseFleetResources in the ResourceGroupResource.

public static Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetCollection GetDatabaseFleets (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDatabaseFleets : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetCollection
<Extension()>
Public Function GetDatabaseFleets (resourceGroupResource As ResourceGroupResource) As DatabaseFleetCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DatabaseFleetResources and their operations over a DatabaseFleetResource.

Applies to

GetDatabaseFleets(SubscriptionResource, CancellationToken)

Source:
DatabaseFleetManagerExtensions.cs

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetResource> GetDatabaseFleets (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDatabaseFleets : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetResource>
<Extension()>
Public Function GetDatabaseFleets (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DatabaseFleetResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to