Skip to main content

adds_services_metric_metadata

Creates, updates, deletes, gets or lists an adds_services_metric_metadata resource.

Overview

Nameadds_services_metric_metadata
TypeResource
Idazure.ad_hybrid_health_service.adds_services_metric_metadata

Fields

The following fields are returned by SELECT queries:

The metric metadata for the service.

NameDatatypeDescription
displayNamestringThe display name for the metric.
groupingsarrayThe groupings for the metrics.
isDefaultbooleanIndicates if the metric is a default metric or not.
isDevOpsbooleanIndicates if the metric is visible to DevOps or not.
isPerfCounterbooleanIndicates if the metric is a performance counter metric or not.
kindstringIndicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.
maxValueintegerThe maximum value.
metricNamestringThe metric name
metricsProcessorClassNamestringThe name of the class which retrieve and process the metric.
minValueintegerThe minimum value.
valueKindstringIndicates if the metrics is a rate,value, percent or duration type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectserviceName, metricNameGets the service related metric information.
listselectserviceName$filter, perfCounterGets the service related metrics information.

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.

NameDatatypeDescription
metricNamestringThe metric name
serviceNamestringThe name of the service.
$filterstringThe metric metadata property filter to apply.
perfCounterbooleanIndicates if only performance counter metrics are requested.

SELECT examples

Gets the service related metric information.

SELECT
displayName,
groupings,
isDefault,
isDevOps,
isPerfCounter,
kind,
maxValue,
metricName,
metricsProcessorClassName,
minValue,
valueKind
FROM azure.ad_hybrid_health_service.adds_services_metric_metadata
WHERE serviceName = '{{ serviceName }}' -- required
AND metricName = '{{ metricName }}' -- required
;