Udostępnij za pośrednictwem


InstancePoolResource.GetUsages 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.Pageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage> GetUsages (bool? expandChildren = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsages : Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage>
override this.GetUsages : Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage>
Public Overridable Function GetUsages (Optional expandChildren As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to