devices_metrics
Creates, updates, deletes, gets or lists a devices_metrics
resource.
Overview
Name | devices_metrics |
Type | Resource |
Id | azure_extras.storsimple_1200_series.devices_metrics |
Fields
Name | Datatype | Description |
---|---|---|
name | object | The name of the metric |
dimensions | array | The Metric dimension which indicates the source of the metric |
endTime | string | The metric end time |
primaryAggregation | string | The metric aggregation type |
resourceId | string | The id of metric source |
startTime | string | The metric start time |
timeGrain | string | The time grain, time grain indicates frequency of the metric data |
type | string | The Type of the metric data |
unit | string | The unit of the metric data |
values | array | The metric data |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Retrieves the device metrics. |
SELECT
examples
Retrieves the device metrics.
SELECT
name,
dimensions,
endTime,
primaryAggregation,
resourceId,
startTime,
timeGrain,
type,
unit,
values
FROM azure_extras.storsimple_1200_series.devices_metrics
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';