Skip to main content

devices_metric_definitions

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

Overview

Namedevices_metric_definitions
TypeResource
Idazure_extras.storsimple_1200_series.devices_metric_definitions

Fields

NameDatatypeDescription
nameobjectThe name of the metric
dimensionsarrayThe supported dimensions
metricAvailabilitiesarrayThe available metric granularities
primaryAggregationTypestringThe metric aggregation type
resourceIdstringThe metric source id
typestringThe metric definition type
unitstringThe metric unit

Methods

NameAccessible byRequired ParamsDescription
listSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves metric definition of all metrics aggregated at device.

SELECT examples

Retrieves metric definition of all metrics aggregated at device.

SELECT
name,
dimensions,
metricAvailabilities,
primaryAggregationType,
resourceId,
type,
unit
FROM azure_extras.storsimple_1200_series.devices_metric_definitions
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';