Skip to main content

usages_by_instance_pools

Creates, updates, deletes, gets or lists a usages_by_instance_pools resource.

Overview

Nameusages_by_instance_pools
TypeResource
Idazure.sql.usages_by_instance_pools

Fields

NameDatatypeDescription
idstringResource ID.
nameobjectARM Usage Name
currentValueintegerUsage current value.
limitintegerUsage limit.
requestedLimitintegerUsage requested limit.
typestringResource type.
unitstringUsage unit.

Methods

NameAccessible byRequired ParamsDescription
listSELECTinstancePoolName, resourceGroupName, subscriptionIdGets all instance pool usage metrics

SELECT examples

Gets all instance pool usage metrics

SELECT
id,
name,
currentValue,
limit,
requestedLimit,
type,
unit
FROM azure.sql.usages_by_instance_pools
WHERE instancePoolName = '{{ instancePoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';