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
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
name | string | Metric definition name. |
metricAvailabilities | array | Metric availabilities. |
primaryAggregationType | string | Type of the primary aggregation. |
unit | string | Unit of metrics. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , plan | Get the metric definitions of the specified plan. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
plan | string | Name of the plan. |
resourceGroupName | string | The resource group the resource is located under. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call. |
SELECT
examples
- list
Get the metric definitions of the specified plan.
SELECT
name,
metricAvailabilities,
primaryAggregationType,
unit
FROM azure_stack.subscriptions_admin.plans_metric_definitions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND plan = '{{ plan }}' -- required
;