Skip to main content

offers_metrics

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

Overview

Nameoffers_metrics
TypeResource
Idazure_stack.subscriptions_admin.offers_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
listSELECToffer, resourceGroupName, subscriptionIdGet the offer metrics.

SELECT examples

Get the offer metrics.

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