elastic_pools_metric_definitions
Creates, updates, deletes, gets or lists a elastic_pools_metric_definitions
resource.
Overview
Name | elastic_pools_metric_definitions |
Type | Resource |
Id | azure.sql.elastic_pools_metric_definitions |
Fields
Name | Datatype | Description |
---|---|---|
name | object | A database metric name. |
metricAvailabilities | array | The list of database metric availabilities for the metric. |
primaryAggregationType | string | The primary aggregation type defining how metric values are displayed. |
resourceUri | string | The resource uri of the database. |
unit | string | The unit of the metric. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | elasticPoolName, resourceGroupName, serverName, subscriptionId | Returns elastic pool metric definitions. |
SELECT
examples
Returns elastic pool metric definitions.
SELECT
name,
metricAvailabilities,
primaryAggregationType,
resourceUri,
unit
FROM azure.sql.elastic_pools_metric_definitions
WHERE elasticPoolName = '{{ elasticPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';