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_8000_series.devices_metric_definitions

Fields

The following fields are returned by SELECT queries:

The collection of metric definitions.

NameDatatypeDescription
nameobjectThe metric name.
categorystringThe category of the metric.
dimensionsarrayThe available metric 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, managerNameGets the metric definitions for the specified 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 device name
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id

SELECT examples

Gets the metric definitions for the specified device.

SELECT
name,
category,
dimensions,
metricAvailabilities,
primaryAggregationType,
resourceId,
type,
unit
FROM azure_extras.storsimple_8000_series.devices_metric_definitions
WHERE deviceName = '{{ deviceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
;