Skip to main content

ad_domain_service_members

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

Overview

Namead_domain_service_members
TypeResource
Idazure.ad_hybrid_health_service.ad_domain_service_members

Fields

The following fields are returned by SELECT queries:

The list of Active Directory Domain Servers.

NameDatatypeDescription
activeAlertsintegerThe total number of alerts that are currently active for the server.
additionalInformationstringThe additional information, if any, for the server.
addsRolesarrayThe list of ADDS roles.
createdDatestring (date-time)The date time , in UTC, when the server was onboarded to Azure Active Directory Connect Health.
dcTypesarrayThe list of domain controller types.
dimensionsarrayThe server specific configuration related dimensions.
disabledbooleanIndicates if the server is disabled or not.
disabledReasonintegerThe reason for disabling the server.
domainNamestringThe domain name.
gcReachablebooleanIndicates if the global catalog for this domain is reachable or not.
installedQfesarrayThe list of installed QFEs for the server.
isAdvertisingbooleanIndicates if the Dc is advertising or not.
lastDisabledstring (date-time)The date and time , in UTC, when the server was last disabled.
lastRebootstring (date-time)The date and time, in UTC, when the server was last rebooted.
lastServerReportedMonitoringLevelChangestring (date-time)The date and time, in UTC, when the server's data monitoring configuration was last changed.
lastUpdatedstring (date-time)The date and time, in UTC, when the server properties were last updated.
machineIdstringThe id of the machine.
machineNamestringThe name of the server.
monitoringConfigurationsComputedarrayThe monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
monitoringConfigurationsCustomizedarrayThe customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
osNamestringThe name of the operating system installed in the machine.
osVersionstringThe version of the operating system installed in the machine.
pdcReachablebooleanIndicates if the primary domain controller is reachable or not.
propertiesarrayServer specific properties.
recommendedQfesarrayThe list of recommended hotfixes for the server.
resolvedAlertsintegerThe total count of alerts that are resolved for this server.
rolestringThe service role that is being monitored in the server.
serverReportedMonitoringLevelstringThe monitoring level reported by the server.
serviceIdstringThe service id to whom this server belongs.
serviceMemberIdstringThe id of the server.
siteNamestringThe site name.
statusstringThe health status of the server.
sysvolStatebooleanIndicates if the SYSVOL state is healthy or not.
tenantIdstringThe tenant id to whom this server belongs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectserviceName, isGroupbySite, nextPartitionKey, nextRowKey$filter, query, takeCountGets the details of the servers, for a given Active Directory Domain Service, that are onboarded to Azure Active Directory Connect Health.

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
isGroupbySitebooleanIndicates if the result should be grouped by site or not.
nextPartitionKeystringThe next partition key to query for.
nextRowKeystringThe next row key to query for.
serviceNamestringThe name of the service.
$filterstringThe server property filter to apply.
querystringThe custom query.
takeCountintegerThe take count , which specifies the number of elements that can be returned from a sequence.

SELECT examples

Gets the details of the servers, for a given Active Directory Domain Service, that are onboarded to Azure Active Directory Connect Health.

SELECT
activeAlerts,
additionalInformation,
addsRoles,
createdDate,
dcTypes,
dimensions,
disabled,
disabledReason,
domainName,
gcReachable,
installedQfes,
isAdvertising,
lastDisabled,
lastReboot,
lastServerReportedMonitoringLevelChange,
lastUpdated,
machineId,
machineName,
monitoringConfigurationsComputed,
monitoringConfigurationsCustomized,
osName,
osVersion,
pdcReachable,
properties,
recommendedQfes,
resolvedAlerts,
role,
serverReportedMonitoringLevel,
serviceId,
serviceMemberId,
siteName,
status,
sysvolState,
tenantId
FROM azure.ad_hybrid_health_service.ad_domain_service_members
WHERE serviceName = '{{ serviceName }}' -- required
AND isGroupbySite = '{{ isGroupbySite }}' -- required
AND nextPartitionKey = '{{ nextPartitionKey }}' -- required
AND nextRowKey = '{{ nextRowKey }}' -- required
AND $filter = '{{ $filter }}'
AND query = '{{ query }}'
AND takeCount = '{{ takeCount }}'
;