plans_metric_definitions
Creates, updates, deletes, gets or lists a plans_metric_definitions
resource.
Overview
Name | plans_metric_definitions |
Type | Resource |
Id | azure_stack.subscriptions_admin.plans_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 | plan, resourceGroupName, subscriptionId | Get the metric definitions of the specified plan. |
SELECT
examples
Get the metric definitions of the specified plan.
SELECT
name,
metricAvailabilities,
primaryAggregationType,
unit
FROM azure_stack.subscriptions_admin.plans_metric_definitions
WHERE plan = '{{ plan }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';