Skip to main content

plans_metrics

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

Overview

Nameplans_metrics
TypeResource
Idazure_stack.subscriptions_admin.plans_metrics

Fields

NameDatatypeDescription
endTimestringEnd time of the metric.
metricUnitstringThe resource metric unit.
metricValuesarrayList of metric values.
startTimestringStart time of the metric.
timeGrainstringTimespan of the metric.

Methods

NameAccessible byRequired ParamsDescription
listSELECTplan, resourceGroupName, subscriptionIdGet the metrics of the specified plan.

SELECT examples

Get the metrics of the specified plan.

SELECT
endTime,
metricUnit,
metricValues,
startTime,
timeGrain
FROM azure_stack.subscriptions_admin.plans_metrics
WHERE plan = '{{ plan }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';