Skip to main content

adds_services

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

Overview

Nameadds_services
TypeResource
Idazure.ad_hybrid_health_service.adds_services

Fields

NameDatatypeDescription
idstringThe id of the service.
activeAlertsintegerThe count of alerts that are currently active for the service.
additionalInformationstringThe additional information related to the service.
createdDatestringThe date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.
customNotificationEmailsarrayThe list of additional emails that are configured to receive notifications about the service.
disabledbooleanIndicates if the service is disabled or not.
displayNamestringThe display name of the service.
healthstringThe health of the service.
lastDisabledstringThe date and time, in UTC, when the service was last disabled.
lastUpdatedstringThe date or time , in UTC, when the service properties were last updated.
monitoringConfigurationsComputedobjectThe monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.
monitoringConfigurationsCustomizedobjectThe customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.
notificationEmailEnabledbooleanIndicates if email notification is enabled or not.
notificationEmailEnabledForGlobalAdminsbooleanIndicates if email notification is enabled for global administrators of the tenant.
notificationEmailsarrayThe list of emails to whom service notifications will be sent.
notificationEmailsEnabledForGlobalAdminsbooleanIndicates if email notification is enabled for global administrators of the tenant.
originalDisabledStatebooleanGets the original disable state.
resolvedAlertsintegerThe total count of alerts that has been resolved for the service.
serviceIdstringThe id of the service.
serviceNamestringThe name of the service.
signaturestringThe signature of the service.
simplePropertiesobjectList of service specific configuration properties.
tenantIdstringThe id of the tenant to which the service is registered to.
typestringThe service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.

Methods

NameAccessible byRequired ParamsDescription
getSELECTserviceNameGets the details of an Active Directory Domain Service for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health.
listSELECTGets the details of Active Directory Domain Service, for a tenant, that are onboarded to Azure Active Directory Connect Health.
deleteDELETEserviceNameDeletes an Active Directory Domain Service which is onboarded to Azure Active Directory Connect Health.
updateUPDATEserviceNameUpdates an Active Directory Domain Service properties of an onboarded service.
addEXECOnboards a service for a given tenant in Azure Active Directory Connect Health.

SELECT examples

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

SELECT
id,
activeAlerts,
additionalInformation,
createdDate,
customNotificationEmails,
disabled,
displayName,
health,
lastDisabled,
lastUpdated,
monitoringConfigurationsComputed,
monitoringConfigurationsCustomized,
notificationEmailEnabled,
notificationEmailEnabledForGlobalAdmins,
notificationEmails,
notificationEmailsEnabledForGlobalAdmins,
originalDisabledState,
resolvedAlerts,
serviceId,
serviceName,
signature,
simpleProperties,
tenantId,
type
FROM azure.ad_hybrid_health_service.adds_services
;

UPDATE example

Updates a adds_services resource.

/*+ update */
UPDATE azure.ad_hybrid_health_service.adds_services
SET
id = '{{ id }}',
activeAlerts = '{{ activeAlerts }}',
additionalInformation = '{{ additionalInformation }}',
createdDate = '{{ createdDate }}',
customNotificationEmails = '{{ customNotificationEmails }}',
disabled = true|false,
displayName = '{{ displayName }}',
health = '{{ health }}',
lastDisabled = '{{ lastDisabled }}',
lastUpdated = '{{ lastUpdated }}',
monitoringConfigurationsComputed = '{{ monitoringConfigurationsComputed }}',
monitoringConfigurationsCustomized = '{{ monitoringConfigurationsCustomized }}',
notificationEmailEnabled = true|false,
notificationEmailEnabledForGlobalAdmins = true|false,
notificationEmailsEnabledForGlobalAdmins = true|false,
notificationEmails = '{{ notificationEmails }}',
originalDisabledState = true|false,
resolvedAlerts = '{{ resolvedAlerts }}',
serviceId = '{{ serviceId }}',
serviceName = '{{ serviceName }}',
signature = '{{ signature }}',
simpleProperties = '{{ simpleProperties }}',
tenantId = '{{ tenantId }}',
type = '{{ type }}'
WHERE
serviceName = '{{ serviceName }}';

DELETE example

Deletes the specified adds_services resource.

/*+ delete */
DELETE FROM azure.ad_hybrid_health_service.adds_services
WHERE serviceName = '{{ serviceName }}';