Delen via


InstancePoolResource.GetUsagesAsync Method

Definition

Gets all instance pool usage metrics

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages
  • Operation Id: Usages_ListByInstancePool
  • Default Api Version: 2021-02-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage> GetUsagesAsync (bool? expandChildren = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage>
override this.GetUsagesAsync : Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage>
Public Overridable Function GetUsagesAsync (Optional expandChildren As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InstancePoolUsage)

Parameters

expandChildren
Nullable<Boolean>

Optional request parameter to include managed instance usages within the instance pool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of InstancePoolUsage that may take multiple service requests to iterate over.

Applies to