Skip to main content

managers_metric_definitions

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

Overview

Namemanagers_metric_definitions
TypeResource
Idazure_extras.storsimple_1200_series.managers_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
listselectsubscriptionId, resourceGroupName, managerNameRetrieves metric definition of all metrics aggregated at manager.

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
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id

SELECT examples

Retrieves metric definition of all metrics aggregated at manager.

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