Skip to main content

offers_metric_definitions

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

Overview

Nameoffers_metric_definitions
TypeResource
Idazure_stack.subscriptions_admin.offers_metric_definitions

Fields

NameDatatypeDescription
namestringMetric definition name.
metricAvailabilitiesarrayList of metric definitions.
primaryAggregationTypestringThe primary aggregation type for resource metric.
unitstringThe resource metric unit.

Methods

NameAccessible byRequired ParamsDescription
listSELECToffer, resourceGroupName, subscriptionIdGet the metric definitions.

SELECT examples

Get the metric definitions.

SELECT
name,
metricAvailabilities,
primaryAggregationType,
unit
FROM azure_stack.subscriptions_admin.offers_metric_definitions
WHERE offer = '{{ offer }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';