Skip to main content

adds_services_server_alerts

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

Overview

Nameadds_services_server_alerts
TypeResource
Idazure.ad_hybrid_health_service.adds_services_server_alerts

Fields

The following fields are returned by SELECT queries:

The list of server alerts.

NameDatatypeDescription
activeAlertPropertiesarrayThe active alert properties.
additionalInformationarrayAdditional information related to the alert.
alertIdstring (uuid)The alert Id.
createdDatestring (date-time)The date and time,in UTC,when the alert was created.
descriptionstringThe alert description.
displayNamestringThe display name for the alert.
lastUpdatedstring (date-time)The date and time, in UTC, when the alert was last updated.
levelstringThe alert level which indicates the severity of the alert.
monitorRoleTypestringThe monitoring role type for which the alert was raised.
relatedLinksarrayThe help links to get more information related to the alert.
remediationstringThe alert remediation.
resolvedAlertPropertiesarrayThe resolved alert properties.
resolvedDatestring (date-time)The date and time, in UTC, when the alert was resolved.
scopestringThe scope of the alert. Indicates if it is a service or a server related alert.
serviceIdstring (uuid)The service Id.
serviceMemberIdstring (uuid)The server Id.
shortNamestringThe alert short name.
statestringThe alert state which can be either active or resolved with multiple resolution types.
tenantIdstring (uuid)The tenant Id.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectserviceMemberId, serviceName$filter, state, from, toGets the details of an alert for a given Active Directory Domain Controller service and server 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
serviceMemberIdstring (uuid)The server Id for which the alert details needs to be queried.
serviceNamestringThe name of the service.
$filterstringThe alert property filter to apply.
fromstring (date-time)The start date to query for.
statestringThe alert state to query for.
tostring (date-time)The end date till when to query for.

SELECT examples

Gets the details of an alert for a given Active Directory Domain Controller service and server combination.

SELECT
activeAlertProperties,
additionalInformation,
alertId,
createdDate,
description,
displayName,
lastUpdated,
level,
monitorRoleType,
relatedLinks,
remediation,
resolvedAlertProperties,
resolvedDate,
scope,
serviceId,
serviceMemberId,
shortName,
state,
tenantId
FROM azure.ad_hybrid_health_service.adds_services_server_alerts
WHERE serviceMemberId = '{{ serviceMemberId }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND $filter = '{{ $filter }}'
AND state = '{{ state }}'
AND from = '{{ from }}'
AND to = '{{ to }}'
;