ad_domain_service_members
Creates, updates, deletes, gets or lists an ad_domain_service_members
resource.
Overview
Name | ad_domain_service_members |
Type | Resource |
Id | azure.ad_hybrid_health_service.ad_domain_service_members |
Fields
The following fields are returned by SELECT
queries:
- list
The list of Active Directory Domain Servers.
Name | Datatype | Description |
---|---|---|
activeAlerts | integer | The total number of alerts that are currently active for the server. |
additionalInformation | string | The additional information, if any, for the server. |
addsRoles | array | The list of ADDS roles. |
createdDate | string (date-time) | The date time , in UTC, when the server was onboarded to Azure Active Directory Connect Health. |
dcTypes | array | The list of domain controller types. |
dimensions | array | The server specific configuration related dimensions. |
disabled | boolean | Indicates if the server is disabled or not. |
disabledReason | integer | The reason for disabling the server. |
domainName | string | The domain name. |
gcReachable | boolean | Indicates if the global catalog for this domain is reachable or not. |
installedQfes | array | The list of installed QFEs for the server. |
isAdvertising | boolean | Indicates if the Dc is advertising or not. |
lastDisabled | string (date-time) | The date and time , in UTC, when the server was last disabled. |
lastReboot | string (date-time) | The date and time, in UTC, when the server was last rebooted. |
lastServerReportedMonitoringLevelChange | string (date-time) | The date and time, in UTC, when the server's data monitoring configuration was last changed. |
lastUpdated | string (date-time) | The date and time, in UTC, when the server properties were last updated. |
machineId | string | The id of the machine. |
machineName | string | The name of the server. |
monitoringConfigurationsComputed | array | The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health. |
monitoringConfigurationsCustomized | array | The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health. |
osName | string | The name of the operating system installed in the machine. |
osVersion | string | The version of the operating system installed in the machine. |
pdcReachable | boolean | Indicates if the primary domain controller is reachable or not. |
properties | array | Server specific properties. |
recommendedQfes | array | The list of recommended hotfixes for the server. |
resolvedAlerts | integer | The total count of alerts that are resolved for this server. |
role | string | The service role that is being monitored in the server. |
serverReportedMonitoringLevel | string | The monitoring level reported by the server. |
serviceId | string | The service id to whom this server belongs. |
serviceMemberId | string | The id of the server. |
siteName | string | The site name. |
status | string | The health status of the server. |
sysvolState | boolean | Indicates if the SYSVOL state is healthy or not. |
tenantId | string | The tenant id to whom this server belongs. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | serviceName , isGroupbySite , nextPartitionKey , nextRowKey | $filter , query , takeCount | Gets 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.
Name | Datatype | Description |
---|---|---|
isGroupbySite | boolean | Indicates if the result should be grouped by site or not. |
nextPartitionKey | string | The next partition key to query for. |
nextRowKey | string | The next row key to query for. |
serviceName | string | The name of the service. |
$filter | string | The server property filter to apply. |
query | string | The custom query. |
takeCount | integer | The take count , which specifies the number of elements that can be returned from a sequence. |
SELECT
examples
- list
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 }}'
;