metrics_at_subscription_scope_posts
Creates, updates, deletes, gets or lists a metrics_at_subscription_scope_posts
resource.
Overview
Name | metrics_at_subscription_scope_posts |
Type | Resource |
Id | azure.monitor.metrics_at_subscription_scope_posts |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The metric Id. |
name | object | The localizable string class. |
displayDescription | string | Detailed description of this metric. |
errorCode | string | 'Success' or the error details on query failures for this metric. |
errorMessage | string | Error message encountered querying this specific metric. |
timeseries | array | The time series returned when a data query is performed. |
type | string | The resource type of the metric resource. |
unit | string | The unit of the metric. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | interval, metricName, region, subscriptionId, timespan | Lists the metric data for a subscription. Parameters can be specified on either query params or the body. |
SELECT
examples
Lists the metric data for a subscription. Parameters can be specified on either query params or the body.
SELECT
id,
name,
displayDescription,
errorCode,
errorMessage,
timeseries,
type,
unit
FROM azure.monitor.metrics_at_subscription_scope_posts
WHERE interval = '{{ interval }}'
AND metricName = '{{ metricName }}'
AND region = '{{ region }}'
AND subscriptionId = '{{ subscriptionId }}'
AND timespan = '{{ timespan }}';