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

The following fields are returned by SELECT queries:

The collection of metrics.

NameDatatypeDescription
nameobjectThe name of the metrics
dimensionsarrayThe Metric dimension which indicates the source of the metric
endTimestring (date-time)The metric end time
primaryAggregationstringThe metric aggregation type
resourceIdstringThe id of metric source
startTimestring (date-time)The 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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeviceName, subscriptionId, resourceGroupName, managerName$filterRetrieves the device metrics.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deviceNamestringThe name of the appliance.
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id
$filterstringOData Filter options

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 }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
AND $filter = '{{ $filter }}'
;