InstancePoolResource.GetUsages 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.
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
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.