DatabaseFleetManagerExtensions.GetDatabaseFleets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDatabaseFleets(ResourceGroupResource) |
Gets a collection of DatabaseFleetResources in the ResourceGroupResource. |
GetDatabaseFleets(SubscriptionResource, CancellationToken) |
Lists fleets in the specified subscription.
|
GetDatabaseFleets(ResourceGroupResource)
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)
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
Azure SDK for .NET