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

The following fields are returned by SELECT queries:

The collection of metric definitions.

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeviceName, subscriptionId, resourceGroupName, managerNameRetrieves metric definition of all metrics aggregated at device.

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

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