Skip to main content

sql_pool_usages

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

Overview

Namesql_pool_usages
TypeResource
Idazure.synapse.sql_pool_usages

Fields

NameDatatypeDescription
namestringThe name of the usage metric.
currentValuenumberThe current value of the usage metric.
displayNamestringThe usage metric display name.
limitnumberThe current limit of the usage metric.
nextResetTimestringThe next reset time for the usage metric (ISO8601 format).
resourceNamestringThe name of the resource.
unitstringThe units of the usage metric.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, sqlPoolName, subscriptionId, workspaceNameGets SQL pool usages.

SELECT examples

Gets SQL pool usages.

SELECT
name,
currentValue,
displayName,
limit,
nextResetTime,
resourceName,
unit
FROM azure.synapse.sql_pool_usages
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sqlPoolName = '{{ sqlPoolName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';