Skip to main content

devices_metrics

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

Overview

Namedevices_metrics
TypeResource
Idazure_extras.storsimple_1200_series.devices_metrics

Fields

NameDatatypeDescription
nameobjectThe name of the metric
dimensionsarrayThe Metric dimension which indicates the source of the metric
endTimestringThe metric end time
primaryAggregationstringThe metric aggregation type
resourceIdstringThe id of metric source
startTimestringThe metric start time
timeGrainstringThe time grain, time grain indicates frequency of the metric data
typestringThe Type of the metric data
unitstringThe unit of the metric data
valuesarrayThe metric data

Methods

NameAccessible byRequired ParamsDescription
listSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves 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 }}';