Skip to main content

services_metric_metadata_for_groups

Creates, updates, deletes, gets or lists a services_metric_metadata_for_groups resource.

Overview

Nameservices_metric_metadata_for_groups
TypeResource
Idazure.ad_hybrid_health_service.services_metric_metadata_for_groups

Fields

The following fields are returned by SELECT queries:

The metric sets for a given service and group.

NameDatatypeDescription
setsarrayThe list of metric set.
timeStampsarrayThe list of timestamps for each metric in the metric set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectserviceName, metricName, groupNamegroupKey, fromDate, toDateGets the service related metrics for a given metric and group combination.

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
groupNamestringThe group name
metricNamestringThe metric name
serviceNamestringThe name of the service.
fromDatestring (date-time)The start date.
groupKeystringThe group key
toDatestring (date-time)The end date.

SELECT examples

Gets the service related metrics for a given metric and group combination.

SELECT
sets,
timeStamps
FROM azure.ad_hybrid_health_service.services_metric_metadata_for_groups
WHERE serviceName = '{{ serviceName }}' -- required
AND metricName = '{{ metricName }}' -- required
AND groupName = '{{ groupName }}' -- required
AND groupKey = '{{ groupKey }}'
AND fromDate = '{{ fromDate }}'
AND toDate = '{{ toDate }}'
;