offers_metric_definitions
Creates, updates, deletes, gets or lists a offers_metric_definitions
resource.
Overview
Name | offers_metric_definitions |
Type | Resource |
Id | azure_stack.subscriptions_admin.offers_metric_definitions |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Metric definition name. |
metricAvailabilities | array | List of metric definitions. |
primaryAggregationType | string | The primary aggregation type for resource metric. |
unit | string | The resource metric unit. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | offer, resourceGroupName, subscriptionId | Get 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 }}';