devices_metric_definitions
Creates, updates, deletes, gets or lists a devices_metric_definitions
resource.
Overview
Name | devices_metric_definitions |
Type | Resource |
Id | azure_extras.storsimple_1200_series.devices_metric_definitions |
Fields
Name | Datatype | Description |
---|---|---|
name | object | The name of the metric |
dimensions | array | The supported dimensions |
metricAvailabilities | array | The available metric granularities |
primaryAggregationType | string | The metric aggregation type |
resourceId | string | The metric source id |
type | string | The metric definition type |
unit | string | The metric unit |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Retrieves 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 }}';