swagger: "2.0"
schemes:
  - https
host: management.azure.com
info:
  description: REST APIs for Azure Active Directory Connect Health
  title: ADHybridHealthService
  version: 2014-01-01
  x-apisguru-categories:
    - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
    - format: swagger
      url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/ADHybridHealthService.json
      version: "2.0"
  x-providerName: azure.com
  x-serviceName: adhybridhealthservice-ADHybridHealthService
  x-tags:
    - Azure
    - Microsoft
consumes:
  - application/json
produces:
  - application/json
securityDefinitions:
  azure_auth:
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    description: Azure Active Directory OAuth2 Flow.
    flow: implicit
    scopes:
      user_impersonation: impersonate your user account
    type: oauth2
security:
  - azure_auth:
      - user_impersonation
parameters:
  apiVersionParameter:
    description: The version of the API to be used with the client request.
    in: query
    name: api-version
    required: true
    type: string
paths:
  /providers/Microsoft.ADHybridHealthService/addsservices:
    get:
      description: Gets the details of Active Directory Domain Service, for a tenant, that are onboarded to Azure Active Directory Connect Health.
      operationId: addsServices_list
      parameters:
        - description: The service property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The 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.
          in: query
          name: serviceType
          required: false
          type: string
        - description: The skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements.
          in: query
          name: skipCount
          required: false
          type: integer
        - description: The take count , which specifies the number of elements that can be returned from a sequence.
          in: query
          name: takeCount
          required: false
          type: integer
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: " The list of Active Directory Domain Controller services."
          schema:
            $ref: "#/definitions/Services"
      tags:
        - Adds
      x-ms-examples:
        addsServices_list:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 1
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    createdDate: 2017-04-07T16:03:06.9053139Z
                    customNotificationEmails:
                      - email1
                      - email2
                    disabled: false
                    displayName: sample display name
                    health: Healthy
                    id: /providers/Microsoft.ADHybridHealthService/services/GetServices/PremiumCheck
                    lastDisabled: 2017-05-07T16:03:06.9053139Z
                    lastUpdated: 2018-04-30T00:55:33.5799677Z
                    monitoringConfigurationsComputed: samplemonitoringConfig
                    monitoringConfigurationsCustomized: samplemonitoringConfig
                    notificationEmailEnabled: true
                    notificationEmailEnabledForGlobalAdmins: true
                    notificationEmails:
                      - email3
                      - email4
                    notificationEmailsEnabledForGlobalAdmins: false
                    originalDisabledState: false
                    resolvedAlerts: 0
                    serviceId: 12345678-1234-1234-1234-123456789000
                    serviceName: sampleServiceName
                    signature: SampleSignature
                    simpleProperties: null
                    tenantId: 12345678-1234-1234-1234-123456789000
                    type: AadSyncService
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      description: Onboards a service for a given tenant in Azure Active Directory Connect Health.
      operationId: addsServices_add
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
        - description: The service object.
          in: body
          name: service
          required: true
          schema:
            $ref: "#/definitions/ServiceProperties"
      responses:
        "200":
          description: Adds the Active Directory Domain Controller Services.
          schema:
            $ref: "#/definitions/ServiceProperties"
      tags:
        - Adds
      x-ms-examples:
        addsServices_add:
          parameters:
            api-version: 2014-01-01
            service:
              activeAlerts: 0
              additionalInformation: SampleAdditionalInformation
              createdDate: 2017-04-07T16:03:06.9053139Z
              customNotificationEmails:
                - email1
                - email2
              disabled: false
              displayName: sample display name
              health: Healthy
              id: ServiceId
              lastDisabled: 2017-05-07T16:03:06.9053139Z
              lastUpdated: 2018-04-30T00:55:33.5799677Z
              monitoringConfigurationsComputed: samplemonitoringConfig
              monitoringConfigurationsCustomized: samplemonitoringConfig
              notificationEmailEnabled: true
              notificationEmailEnabledForGlobalAdmins: true
              notificationEmails:
                - email3
                - email4
              notificationEmailsEnabledForGlobalAdmins: false
              originalDisabledState: false
              resolvedAlerts: 0
              serviceId: 12345678-1234-1234-1234-123456789000
              serviceName: sampleServiceName
              signature: SampleSignature
              simpleProperties: null
              tenantId: 12345678-1234-1234-1234-123456789000
              type: AadSyncService
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2017-04-07T16:03:06.9053139Z
                customNotificationEmails:
                  - email1
                  - email2
                disabled: false
                displayName: sample display name
                health: Healthy
                id: ServiceId
                lastDisabled: 2017-05-07T16:03:06.9053139Z
                lastUpdated: 2018-04-30T00:55:33.5799677Z
                monitoringConfigurationsComputed: samplemonitoringConfig
                monitoringConfigurationsCustomized: samplemonitoringConfig
                notificationEmailEnabled: true
                notificationEmailEnabledForGlobalAdmins: true
                notificationEmails:
                  - email3
                  - email4
                notificationEmailsEnabledForGlobalAdmins: false
                originalDisabledState: false
                resolvedAlerts: 0
                serviceId: 12345678-1234-1234-1234-123456789000
                serviceName: sampleServiceName
                signature: SampleSignature
                simpleProperties: null
                tenantId: 12345678-1234-1234-1234-123456789000
                type: AadSyncService
  /providers/Microsoft.ADHybridHealthService/addsservices/premiumCheck:
    get:
      description: Gets the details of Active Directory Domain Services for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health.
      operationId: addsServices_listPremiumServices
      parameters:
        - description: The service property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The 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.
          in: query
          name: serviceType
          required: false
          type: string
        - description: The skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements.
          in: query
          name: skipCount
          required: false
          type: integer
        - description: The take count , which specifies the number of elements that can be returned from a sequence.
          in: query
          name: takeCount
          required: false
          type: integer
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of premium services.
          schema:
            $ref: "#/definitions/Services"
      tags:
        - Services
      x-ms-examples:
        addsServices_listPremiumServices:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 1
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    createdDate: 2017-04-07T16:03:06.9053139Z
                    customNotificationEmails:
                      - email1
                      - email2
                    disabled: false
                    displayName: sample display name
                    health: Healthy
                    id: /providers/Microsoft.ADHybridHealthService/services/GetServices/PremiumCheck
                    lastDisabled: 2017-05-07T16:03:06.9053139Z
                    lastUpdated: 2018-04-30T00:55:33.5799677Z
                    monitoringConfigurationsComputed: samplemonitoringConfig
                    monitoringConfigurationsCustomized: samplemonitoringConfig
                    notificationEmailEnabled: true
                    notificationEmailEnabledForGlobalAdmins: true
                    notificationEmails:
                      - email3
                      - email4
                    notificationEmailsEnabledForGlobalAdmins: false
                    originalDisabledState: false
                    resolvedAlerts: 0
                    serviceId: 12345678-1234-1234-1234-123456789000
                    serviceName: sampleServiceName
                    signature: SampleSignature
                    simpleProperties: null
                    tenantId: 12345678-1234-1234-1234-123456789000
                    type: AadSyncService
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}":
    delete:
      description: Deletes an Active Directory Domain Service which is onboarded to Azure Active Directory Connect Health.
      operationId: addsServices_delete
      parameters:
        - description: The name of the service which needs to be deleted.
          in: path
          name: serviceName
          required: true
          type: string
        - description: Indicates if the service will be permanently deleted or disabled. True indicates that the service will be permanently deleted and False indicates that the service will be marked disabled and then deleted after 30 days, if it is not re-registered.
          in: query
          name: confirm
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "204":
          description: Successfully deleted the service.
      tags:
        - Services
      x-ms-examples:
        addsServices_delete:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleServiceName
          responses:
            "204": {}
    get:
      description: Gets 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.
      operationId: addsServices_get
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The Active Directory Domain Controller service as specified by the serviceName property. "
          schema:
            $ref: "#/definitions/ServiceProperties"
      tags:
        - Services
      x-ms-examples:
        addsServices_get:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2017-04-07T16:03:06.9053139Z
                customNotificationEmails:
                  - email1
                  - email2
                disabled: false
                displayName: sample display name
                health: Healthy
                id: ServiceId
                lastDisabled: 2017-05-07T16:03:06.9053139Z
                lastUpdated: 2018-04-30T00:55:33.5799677Z
                monitoringConfigurationsComputed: samplemonitoringConfig
                monitoringConfigurationsCustomized: samplemonitoringConfig
                notificationEmailEnabled: true
                notificationEmailEnabledForGlobalAdmins: true
                notificationEmails:
                  - email3
                  - email4
                notificationEmailsEnabledForGlobalAdmins: false
                originalDisabledState: false
                resolvedAlerts: 0
                serviceId: 12345678-1234-1234-1234-123456789000
                serviceName: sampleServiceName
                signature: SampleSignature
                simpleProperties: null
                tenantId: 12345678-1234-1234-1234-123456789000
                type: AadSyncService
    patch:
      description: Updates an Active Directory Domain Service properties of an onboarded service.
      operationId: addsServices_update
      parameters:
        - description: The name of the service which needs to be deleted.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The service object.
          in: body
          name: service
          required: true
          schema:
            $ref: "#/definitions/ServiceProperties"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully updated service.
          schema:
            $ref: "#/definitions/ServiceProperties"
      tags:
        - Services
      x-ms-examples:
        addsServices_update:
          parameters:
            api-version: 2014-01-01
            service:
              notificationEmailEnabled: true
              notificationEmailEnabledForGlobalAdmins: true
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2017-04-07T16:03:06.9053139Z
                customNotificationEmails:
                  - email1
                  - email2
                disabled: false
                displayName: sample display name
                health: Healthy
                id: /providers/Microsoft.ADHybridHealthService/services/GetServices/PremiumCheck/sampleServiceName
                lastDisabled: 2017-05-07T16:03:06.9053139Z
                lastUpdated: 2018-04-30T00:55:33.5799677Z
                monitoringConfigurationsComputed: samplemonitoringConfig
                monitoringConfigurationsCustomized: samplemonitoringConfig
                notificationEmailEnabled: true
                notificationEmailEnabledForGlobalAdmins: true
                notificationEmails:
                  - email3
                  - email4
                notificationEmailsEnabledForGlobalAdmins: false
                originalDisabledState: false
                resolvedAlerts: 0
                serviceId: 12345678-1234-1234-1234-123456789000
                serviceName: sampleServiceName
                signature: SampleSignature
                simpleProperties: null
                tenantId: 12345678-1234-1234-1234-123456789000
                type: AadSyncService
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/addomainservicemembers":
    get:
      description: Gets the details of the servers, for a given Active Directory Domain Service, that are onboarded to Azure Active Directory Connect Health.
      operationId: adDomainServiceMembers_list
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: Indicates if the result should be grouped by site or not.
          in: query
          name: isGroupbySite
          required: true
          type: boolean
        - description: The custom query.
          in: query
          name: query
          required: false
          type: string
        - description: The next partition key to query for.
          enum:
            - " "
          in: query
          name: nextPartitionKey
          required: true
          type: string
          x-ms-enum:
            modelAsString: true
            name: nextPartitionKey
        - description: The next row key to query for.
          enum:
            - " "
          in: query
          name: nextRowKey
          required: true
          type: string
          x-ms-enum:
            modelAsString: true
            name: nextRowKey
        - description: The take count , which specifies the number of elements that can be returned from a sequence.
          in: query
          name: takeCount
          required: false
          type: integer
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of Active Directory Domain Servers.
          schema:
            $ref: "#/definitions/AddsServiceMembers"
      tags:
        - Adds
      x-ms-examples:
        adDomainServiceMembers_list:
          parameters:
            api-version: 2014-01-01
            isGroupbySite: true
            nextPartitionKey: " "
            nextRowKey: " "
            serviceName: sampleServiceName
            takeCount: 1
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    addsRoles:
                      - sampleRole
                    createdDate: 2018-04-28T23:17:00.511864Z
                    dcTypes:
                      - GC
                    dimensions:
                      - key: key1
                        value: value1
                    disabled: false
                    disabledReason: 0
                    domainName: sampleDomainName
                    gcReachable: true
                    installedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    isAdvertising: true
                    lastDisabled: 2018-04-28T23:17:00.511864Z
                    lastReboot: 2018-04-28T23:17:00.511864Z
                    lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                    lastUpdated: 2018-04-30T18:00:41.6956022Z
                    machineId: machineIdGuid
                    machineName: sampleMachineName
                    monitoringConfigurationsComputed:
                      - key: key1
                        value: value1
                    monitoringConfigurationsCustomized:
                      - key: key1
                        value: value1
                    osName: osName
                    osVersion: osVersion
                    pdcReachable: true
                    properties:
                      - key: key1
                        value: value1
                    recommendedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    resolvedAlerts: 0
                    role: SampleRole
                    serverReportedMonitoringLevel: Off
                    serviceId: serviceIdGuid
                    serviceMemberId: ServiceMemberIdGuid
                    siteName: Default-First-Site-Name
                    status: Healthy
                    sysvolState: true
                    tenantId: 00000000-0000-0000-0000-000000000000
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/addsservicemembers":
    get:
      description: Gets the details of the Active Directory Domain servers, for a given Active Directory Domain Service, that are onboarded to Azure Active Directory Connect Health.
      operationId: addsServiceMembers_list
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of Active Directory Domain Servers. "
          schema:
            $ref: "#/definitions/AddsServiceMembers"
      tags:
        - Adds
      x-ms-examples:
        addsServiceMembers_list:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    addsRoles:
                      - sampleRole
                    createdDate: 2018-04-28T11:33:07.484Z
                    dcTypes:
                      - GC
                    dimensions:
                      - key: key1
                        value: value1
                    disabled: false
                    disabledReason: 0
                    domainName: sampleDomainName
                    gcReachable: true
                    installedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    isAdvertising: true
                    lastDisabled: 2018-04-28T23:17:00.511864Z
                    lastReboot: 2018-04-28T23:17:00.511864Z
                    lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                    lastUpdated: 2018-04-30T18:00:41.6956022Z
                    machineId: machineIdGuid
                    machineName: sampleMachineName
                    monitoringConfigurationsComputed:
                      - key: key1
                        value: value1
                    monitoringConfigurationsCustomized:
                      - key: key1
                        value: value1
                    osName: osName
                    osVersion: osVersion
                    pdcReachable: true
                    properties:
                      - key: key1
                        value: value1
                    recommendedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    resolvedAlerts: 0
                    role: SampleRole
                    serverReportedMonitoringLevel: Off
                    serviceId: serviceIdGuid
                    serviceMemberId: ServiceMemberIdGuid
                    siteName: Default-First-Site-Name
                    status: Healthy
                    sysvolState: true
                    tenantId: 00000000-0000-0000-0000-000000000000
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/alerts":
    get:
      description: Gets the alerts for a given Active Directory Domain Service.
      operationId: alerts_listAddsAlerts
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The alert property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The alert state to query for.
          in: query
          name: state
          required: false
          type: string
        - description: The start date to query for.
          format: date-time
          in: query
          name: from
          required: false
          type: string
        - description: The end date till when to query for.
          format: date-time
          in: query
          name: to
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of alerts for the given service.
          schema:
            $ref: "#/definitions/Alerts"
      tags:
        - Adds
      x-ms-examples:
        alerts_listAddsAlerts:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
            state: Active
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlertProperties:
                      - key: ActiveProperty1
                        value: Value1
                    additionalInformation:
                      - hasProperties: true
                        properties:
                          - key: Property1
                            value: Value1
                          - key: Property2
                            value: Value2
                        titleName: SampleAdditionalInfo
                        titleValue: SampleTitle
                    alertId: SampleAlertId
                    createdDate: 2018-04-10T03:12:23.4408944Z
                    description: SampleAlertDescription
                    displayName: SampleAlertDisplayName
                    lastUpdated: 2018-04-30T19:24:42.1946017Z
                    level: Error
                    monitorRoleType: SampleRole
                    relatedLinks:
                      - title: SampleTitle1
                        url: SampleUrl1
                      - title: SampleTilte2
                        url: SampleUrl2
                    remediation: SampleAlertRemediation
                    resolvedAlertProperties:
                      - key: ResolvedProperty1
                        value: Value1
                    resolvedDate: 2018-04-10T03:12:23.4408944Z
                    scope: SampleScope
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    shortName: SampleAlertName
                    state: Active
                    tenantId: SampleTenantId
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/configuration":
    get:
      description: Gets the service configurations.
      operationId: configuration_listAddsConfigurations
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The grouping for configurations.
          in: query
          name: grouping
          required: false
          type: string
      responses:
        "200":
          description: "The Active Directory Domain Controller service configuration. "
          schema:
            $ref: "#/definitions/AddsConfiguration"
      tags:
        - Adds
      x-ms-examples:
        configuration_listAddsConfigurations:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 1
                value:
                  - key: Forest name
                    value: SampleForestName
                  - key: Functional Level
                    value: Sample Functional Level.
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/dimensions/{dimension}":
    get:
      description: Gets the dimensions for a given dimension type in a server.
      operationId: dimensions_listAddsDimensions
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The dimension type.
          in: path
          name: dimension
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of dimensions for a server. "
          schema:
            $ref: "#/definitions/Dimensions"
      tags:
        - Adds
      x-ms-examples:
        dimensions_listAddsDimensions:
          parameters:
            api-version: 2014-01-01
            dimension: SmapleDimension
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlerts: 0
                    additionalInformation: AdditionInformation1
                    displayName: sampleDisplayName
                    health: Healthy
                    lastUpdated: 2018-04-09T23:55:51.0067357Z
                    resolvedAlerts: 0
                    signature: sampleSignature
                    simpleProperties:
                      - key: Domain Functional Level
                        value: Value1
                      - key: Forest
                        value: Value1
                      - key: Infrastructure Master
                        value: Value1
                      - key: PDC
                        value: Value1
                      - key: RID Master
                        value: Value1
                    type: addsdomain
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/features/{featureName}/userpreference":
    delete:
      description: Deletes the user preferences for a given feature.
      operationId: addsServicesUserPreference_delete
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The name of the feature.
          in: path
          name: featureName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "Successfully deleted the user preference settings. "
      tags:
        - Adds
      x-ms-examples:
        addsServicesUserPreference_delete:
          parameters:
            api-version: 2014-01-01
            featureName: SampleFeatureName
            serviceName: sampleServiceName
          responses:
            "200": {}
    get:
      description: Gets the user preferences for a given feature.
      operationId: addsServicesUserPreference_get
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The name of the feature.
          in: path
          name: featureName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The user preference settings. "
          schema:
            $ref: "#/definitions/UserPreference"
      tags:
        - Adds
      x-ms-examples:
        addsServicesUserPreference_get:
          parameters:
            api-version: 2014-01-01
            featureName: SampleFeatureName
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                metricNames:
                  - UserPreference1
                  - UserPreference2
    post:
      description: Adds the user preferences for a given feature.
      operationId: addsServicesUserPreference_add
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The name of the feature.
          in: path
          name: featureName
          required: true
          type: string
        - description: The user preference setting.
          in: body
          name: setting
          required: true
          schema:
            $ref: "#/definitions/UserPreference"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: " Successfully added the user preference settings. "
      tags:
        - Adds
      x-ms-examples:
        addsServicesUserPreference_add:
          parameters:
            api-version: 2014-01-01
            featureName: SampleFeatureName
            serviceName: sampleServiceName
            setting:
              metricNames:
                - UserPreference1
                - UserPreference2
          responses:
            "200": {}
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/forestsummary":
    get:
      description: Gets the forest summary for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.
      operationId: addsServices_getForestSummary
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of forest summary for the service. "
          schema:
            $ref: "#/definitions/ForestSummary"
      tags:
        - Adds
      x-ms-examples:
        addsServices_getForestSummary:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                domainCount: 1
                domains:
                  - sampledomain
                forestName: sampleForestName
                monitoredDcCount: 1
                siteCount: 1
                sites:
                  - Default-First-Site-Name
                totalDcCount: 1
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metricmetadata":
    get:
      description: Gets the service related metrics information.
      operationId: addsServices_listMetricMetadata
      parameters:
        - description: The metric metadata property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: Indicates if only performance counter metrics are requested.
          in: query
          name: perfCounter
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of metric metadata for a service. "
          schema:
            $ref: "#/definitions/MetricMetadataList"
      tags:
        - Adds
      x-ms-examples:
        addsServices_listMetricMetadata:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - displayName: SampleDisplayName
                    groupings:
                      - displayName: SampleDisplayName
                        invisibleForUi: false
                        key: SampleKey
                    isDefault: false
                    isDevOps: false
                    isPerfCounter: false
                    kind: Line
                    maxValue: 0
                    metricName: SampleMetricName
                    metricsProcessorClassName: SampleMetricsProcessorClassName1
                    minValue: 0
                    valueKind: Value
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metricmetadata/{metricName}":
    get:
      description: Gets the service related metric information.
      operationId: addsServices_getMetricMetadata
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: " The metric metadata for the service."
          schema:
            $ref: "#/definitions/MetricMetadata"
      tags:
        - Adds
      x-ms-examples:
        addsServices_getMetricMetadata:
          parameters:
            api-version: 2014-01-01
            metricName: SampleMetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                displayName: SampleDisplayName
                groupings:
                  - displayName: SampleDisplayName
                    invisibleForUi: false
                    key: SampleKey
                isDefault: false
                isDevOps: false
                isPerfCounter: false
                kind: Line
                maxValue: 0
                metricName: SampleMetricName
                metricsProcessorClassName: SampleMetricsProcessorClassName1
                minValue: 0
                valueKind: Value
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metricmetadata/{metricName}/groups/{groupName}":
    get:
      description: Gets the service related metrics for a given metric and group combination.
      operationId: addsServices_getMetricMetadataForGroup
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - description: The group key
          in: query
          name: groupKey
          required: false
          type: string
        - description: The start date.
          format: date-time
          in: query
          name: fromDate
          required: false
          type: string
        - description: The end date.
          format: date-time
          in: query
          name: toDate
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The metric sets for a given service and group. "
          schema:
            $ref: "#/definitions/MetricSets"
      tags:
        - Adds
      x-ms-examples:
        addsServices_getMetricMetadataForGroup:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SamplemetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                sets:
                  - setName: SampleSetName
                    values:
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - 5
                      - 8
                      - 3
                      - 3
                      - 12
                      - 7
                      - 7
                      - 10
                      - null
                      - 1
                      - 1
                      - 2
                      - 2
                      - null
                timeStamps:
                  - 2018-04-29T22:00:00Z
                  - 2018-04-29T23:00:00Z
                  - 2018-04-30T00:00:00Z
                  - 2018-04-30T01:00:00Z
                  - 2018-04-30T02:00:00Z
                  - 2018-04-30T03:00:00Z
                  - 2018-04-30T04:00:00Z
                  - 2018-04-30T05:00:00Z
                  - 2018-04-30T06:00:00Z
                  - 2018-04-30T07:00:00Z
                  - 2018-04-30T08:00:00Z
                  - 2018-04-30T09:00:00Z
                  - 2018-04-30T10:00:00Z
                  - 2018-04-30T11:00:00Z
                  - 2018-04-30T12:00:00Z
                  - 2018-04-30T13:00:00Z
                  - 2018-04-30T14:00:00Z
                  - 2018-04-30T15:00:00Z
                  - 2018-04-30T16:00:00Z
                  - 2018-04-30T17:00:00Z
                  - 2018-04-30T18:00:00Z
                  - 2018-04-30T19:00:00Z
                  - 2018-04-30T20:00:00Z
                  - 2018-04-30T21:00:00Z
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metrics/{metricName}/groups/{groupName}":
    get:
      description: Gets the server related metrics for a given metric and group combination.
      operationId: addsService_getMetrics
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - description: The group key
          in: query
          name: groupKey
          required: false
          type: string
        - description: The start date.
          format: date-time
          in: query
          name: fromDate
          required: false
          type: string
        - description: The end date.
          format: date-time
          in: query
          name: toDate
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The metric sets for the service. "
          schema:
            $ref: "#/definitions/MetricSets"
      tags:
        - Adds
      x-ms-examples:
        addsService_getMetrics:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SamplemetricName
            serviceMemberId: SampleServiceMemberId
            serviceName: SampleName
          responses:
            "200":
              body:
                sets:
                  - setName: SampleSetName
                    values:
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - 5
                      - 8
                      - 3
                      - 3
                      - 12
                      - 7
                      - 7
                      - 10
                      - null
                      - 1
                      - 1
                      - 2
                      - 2
                      - null
                timeStamps:
                  - 2018-04-29T22:00:00Z
                  - 2018-04-29T23:00:00Z
                  - 2018-04-30T00:00:00Z
                  - 2018-04-30T01:00:00Z
                  - 2018-04-30T02:00:00Z
                  - 2018-04-30T03:00:00Z
                  - 2018-04-30T04:00:00Z
                  - 2018-04-30T05:00:00Z
                  - 2018-04-30T06:00:00Z
                  - 2018-04-30T07:00:00Z
                  - 2018-04-30T08:00:00Z
                  - 2018-04-30T09:00:00Z
                  - 2018-04-30T10:00:00Z
                  - 2018-04-30T11:00:00Z
                  - 2018-04-30T12:00:00Z
                  - 2018-04-30T13:00:00Z
                  - 2018-04-30T14:00:00Z
                  - 2018-04-30T15:00:00Z
                  - 2018-04-30T16:00:00Z
                  - 2018-04-30T17:00:00Z
                  - 2018-04-30T18:00:00Z
                  - 2018-04-30T19:00:00Z
                  - 2018-04-30T20:00:00Z
                  - 2018-04-30T21:00:00Z
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metrics/{metricName}/groups/{groupName}/average":
    get:
      description: Gets the average of the metric values for a given metric and group combination.
      operationId: addsServices_listMetricsAverage
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of metrics. "
          schema:
            $ref: "#/definitions/Metrics"
      tags:
        - Adds
      x-ms-examples:
        addsServices_listMetricsAverage:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SampleMetricName
            metricsName: SampleMetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - key: Key1
                    value: Value1
                  - key: Key2
                    value: Value2
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/metrics/{metricName}/groups/{groupName}/sum":
    get:
      description: Gets the sum of the metric values for a given metric and group combination.
      operationId: addsServices_listMetricsSum
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of aum of the metric values for a given service. "
          schema:
            $ref: "#/definitions/Metrics"
      tags:
        - Adds
      x-ms-examples:
        addsServices_listMetricsSum:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SampleMetricName
            metricsName: SampleMetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - key: Key1
                    value: Value1
                  - key: Key2
                    value: Value2
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationdetails":
    get:
      description: Gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.
      operationId: addsServices_listReplicationDetails
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: Indicates if InboundReplicationNeighbor details are required or not.
          in: query
          name: withDetails
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of replication details for a service. "
          schema:
            $ref: "#/definitions/ReplicationDetailsList"
      tags:
        - Adds
      x-ms-examples:
        addsServices_listReplicationDetails:
          parameters:
            api-version: 2014-01-01
            query: SampleQuery
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 1
                value:
                  - domain: SampleDomainName
                    inboundNeighborCollection:
                      - additionalInfo: SampleAdditionalInformation
                        consecutiveFailureCount: 0
                        errorDescription: SampleErrorDescription
                        errorTitle: SampleErrorTitle
                        fixDetails: SampleFixDescription
                        fixLink: SampleFixLink
                        lastAttemptedSync: 2018-04-30T21:39:45+00:00
                        lastErrorCode: 0
                        lastErrorMessage: "The operation completed successfully.\r\n"
                        lastSuccessfulSync: 2018-04-30T21:39:45+00:00
                        namingContext: SampleNamingContext
                        sourceDomainController: SampleSourceDomainName
                        status: 0
                    lastAttemptedSync: 2018-04-30T21:40:10Z
                    lastSuccessfulSync: 2018-04-30T21:40:10Z
                    site: Domain-Controllers
                    status: 0
                    targetServer: SampleTargetServerName
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationstatus":
    get:
      description: Gets Replication status for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.
      operationId: addsServicesReplicationStatus_get
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The replication status for a service. "
          schema:
            $ref: "#/definitions/ReplicationStatus"
      tags:
        - Adds
      x-ms-examples:
        addsServicesReplicationStatus_get:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleName
          responses:
            "200":
              body:
                errorDcCount: 0
                forestName: SampleForestName
                totalDcCount: 6
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/replicationsummary":
    get:
      description: Gets complete domain controller list along with replication details for a given Active Directory Domain Service, that is onboarded to Azure Active Directory Connect Health.
      operationId: addsServices_listReplicationSummary
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: Indicates if the result should be grouped by site or not.
          in: query
          name: isGroupbySite
          required: true
          type: boolean
        - description: The custom query.
          in: query
          name: query
          required: true
          type: string
        - description: The next partition key to query for.
          enum:
            - " "
          in: query
          name: nextPartitionKey
          required: true
          type: string
          x-ms-enum:
            modelAsString: true
            name: nextPartitionKey
        - description: The next row key to query for.
          enum:
            - " "
          in: query
          name: nextRowKey
          required: true
          type: string
          x-ms-enum:
            modelAsString: true
            name: nextRowKey
        - description: The take count , which specifies the number of elements that can be returned from a sequence.
          in: query
          name: takeCount
          required: false
          type: integer
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The list of replication summary for a service. "
          schema:
            $ref: "#/definitions/ReplicationSummaryList"
      tags:
        - Adds
      x-ms-examples:
        addsServices_listReplicationSummary:
          parameters:
            api-version: 2014-01-01
            isGroupbySite: true
            nextPartitionKey: " "
            nextRowKey: " "
            query: SampleQuery
            serviceName: SampleName
          responses:
            "200":
              body:
                value:
                  - domain: SampleDomainName
                    inboundNeighborCollection:
                      - additionalInfo: SampleAdditionalInformation
                        consecutiveFailureCount: 0
                        errorDescription: SampleErrorDescription
                        errorTitle: SampleErrorTitle
                        fixDetails: SampleFixDescription
                        fixLink: SampleFixLink
                        lastAttemptedSync: 2018-04-30T21:39:45+00:00
                        lastErrorCode: 0
                        lastErrorMessage: "The operation completed successfully.\r\n"
                        lastSuccessfulSync: 2018-04-30T21:39:45+00:00
                        namingContext: SampleNamingContext
                        sourceDomainController: SampleSourceDomainName
                        status: 0
                    lastAttemptedSync: 2018-04-30T21:40:10Z
                    lastSuccessfulSync: 2018-04-30T21:40:10Z
                    site: Domain-Controllers
                    status: 0
                    targetServer: SampleTargetServerName
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers":
    get:
      description: Gets the details of the servers, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service.
      operationId: addsServicesServiceMembers_list
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The server specific dimension.
          in: query
          name: dimensionType
          required: false
          type: string
        - description: The value of the dimension.
          in: query
          name: dimensionSignature
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of service members for a given service.
          schema:
            $ref: "#/definitions/ServiceMembers"
      tags:
        - Adds
      x-ms-examples:
        addsServicesServiceMembers_list:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    createdDate: 2018-04-28T11:33:07.484Z
                    dimensions:
                      - key: key1
                        value: value1
                    disabled: false
                    disabledReason: 0
                    installedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    lastDisabled: 2018-04-28T23:17:00.511864Z
                    lastReboot: 2018-04-28T11:33:07.484Z
                    lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                    lastUpdated: 2018-05-01T00:15:32.5476494Z
                    machineId: SampleMachineId
                    machineName: SampleMachineName
                    monitoringConfigurationsComputed:
                      - key: key1
                        value: value1
                    monitoringConfigurationsCustomized:
                      - key: key1
                        value: value1
                    osName: SampleOSName
                    osVersion: SampleOSVersion
                    properties:
                      - key: key1
                        value: value1
                    recommendedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    resolvedAlerts: 0
                    role: AdfsServer_30
                    serverReportedMonitoringLevel: Off
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    status: Healthy
                    tenantId: SampleTenantId
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      description: Onboards  a server, for a given Active Directory Domain Controller service, to Azure Active Directory Connect Health Service.
      operationId: addsServicesServiceMembers_add
      parameters:
        - description: The name of the service under which the server is to be onboarded.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server object.
          in: body
          name: serviceMember
          required: true
          schema:
            $ref: "#/definitions/ServiceMember"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully added the service member.
          schema:
            $ref: "#/definitions/ServiceMember"
      tags:
        - Adds
      x-ms-examples:
        addsServicesServiceMembers_add:
          parameters:
            api-version: 2014-01-01
            serviceMember:
              activeAlerts: 0
              additionalInformation: SampleAdditionalInformation
              createdDate: 2018-04-28T23:17:00.511864Z
              dimensions:
                - key: key1
                  value: value1
              disabled: false
              disabledReason: 0
              installedQfes:
                - installedDate: 2016-11-06T04:00:00Z
                  kbName: KB3019978
                  link: SampleLink
              lastDisabled: 2018-04-28T23:17:00.511864Z
              lastReboot: 2018-04-28T11:33:07.484Z
              lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
              lastUpdated: 2018-05-01T00:15:32.5476494Z
              machineId: SampleMachineId
              machineName: SampleMachineName
              monitoringConfigurationsComputed:
                - key: key1
                  value: value1
              monitoringConfigurationsCustomized:
                - key: key1
                  value: value1
              osName: osName
              osVersion: osVersion
              properties:
                - key: key1
                  value: value1
              recommendedQfes:
                - installedDate: 2016-11-06T04:00:00Z
                  kbName: KB3019978
                  link: SampleLink
              resolvedAlerts: 0
              role: AdfsServer_30
              serverReportedMonitoringLevel: Off
              serviceId: SampleServiceId
              serviceMemberId: SampleServiceMemberId
              status: Healthy
              tenantId: SampleTenantId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2018-04-28T23:17:00.511864Z
                dimensions:
                  - key: key1
                    value: value1
                disabled: false
                disabledReason: 0
                installedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                lastDisabled: 2018-04-28T23:17:00.511864Z
                lastReboot: 2018-04-28T11:33:07.484Z
                lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                lastUpdated: 2018-05-01T00:15:32.5476494Z
                machineId: SampleMachineId
                machineName: SampleMachineName
                monitoringConfigurationsComputed:
                  - key: key1
                    value: value1
                monitoringConfigurationsCustomized:
                  - key: key1
                    value: value1
                osName: osName
                osVersion: osVersion
                properties:
                  - key: key1
                    value: value1
                recommendedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                resolvedAlerts: 0
                role: AdfsServer_30
                serverReportedMonitoringLevel: Off
                serviceId: SampleServiceId
                serviceMemberId: SampleServiceMemberId
                status: Healthy
                tenantId: SampleTenantId
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers/{serviceMemberId}":
    delete:
      description: Deletes a Active Directory Domain Controller server that has been onboarded to Azure Active Directory Connect Health Service.
      operationId: addsServiceMembers_delete
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - description: Indicates if the server will be permanently deleted or disabled. True indicates that the server will be permanently deleted and False indicates that the server will be marked disabled and then deleted after 30 days, if it is not re-registered.
          in: query
          name: confirm
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully deleted the service member.
      tags:
        - Adds
      x-ms-examples:
        addsServiceMembers_delete:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: SampleServiceName
          responses:
            "200": {}
    get:
      description: Gets the details of a server, for a given Active Directory Domain Controller service, that are onboarded to Azure Active Directory Connect Health Service.
      operationId: addsServiceMembers_get
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: "The service member details for a given service. "
          schema:
            $ref: "#/definitions/ServiceMember"
      tags:
        - Adds
      x-ms-examples:
        addsServiceMembers_get:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2018-04-28T11:33:07.484Z
                dimensions:
                  - key: key1
                    value: value1
                disabled: false
                disabledReason: 0
                installedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                lastDisabled: 2018-04-28T23:17:00.511864Z
                lastReboot: 2018-04-28T11:33:07.484Z
                lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                lastUpdated: 2018-05-01T00:15:32.5476494Z
                machineId: SampleMachineId
                machineName: SampleMachineName
                monitoringConfigurationsComputed:
                  - key: key1
                    value: value1
                monitoringConfigurationsCustomized:
                  - key: key1
                    value: value1
                osName: SampleOSName
                osVersion: SampleOSVersion
                properties:
                  - key: key1
                    value: value1
                recommendedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                resolvedAlerts: 0
                role: AdfsServer_30
                serverReportedMonitoringLevel: Off
                serviceId: SampleServiceId
                serviceMemberId: SampleServiceMemberId
                status: Healthy
                tenantId: SampleTenantId
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers/{serviceMemberId}/alerts":
    get:
      description: Gets the details of an alert for a given Active Directory Domain Controller service and server combination.
      operationId: addsServices_listServerAlerts
      parameters:
        - description: The server Id for which the alert details needs to be queried.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The alert property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The alert state to query for.
          in: query
          name: state
          required: false
          type: string
        - description: The start date to query for.
          format: date-time
          in: query
          name: from
          required: false
          type: string
        - description: The end date till when to query for.
          format: date-time
          in: query
          name: to
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of server alerts.
          schema:
            $ref: "#/definitions/Alerts"
      tags:
        - Adds
      x-ms-examples:
        addsServices_listServerAlerts:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
            state: Active
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlertProperties:
                      - key: ActiveProperty1
                        value: Value1
                    additionalInformation:
                      - hasProperties: true
                        properties:
                          - key: Property1
                            value: Value1
                          - key: Property2
                            value: Value2
                        titleName: SampleAdditionalInfo
                        titleValue: SampleTitle
                    alertId: SampleAlertId
                    createdDate: 2018-04-10T03:12:23.4408944Z
                    description: SampleAlertDescription
                    displayName: SampleAlertDisplayName
                    lastUpdated: 2018-04-30T19:24:42.1945017Z
                    level: Error
                    monitorRoleType: SampleRole
                    relatedLinks:
                      - title: SampleTitle1
                        url: SampleUrl1
                      - title: SampleTilte2
                        url: SampleUrl2
                    remediation: SampleAlertRemediation
                    resolvedAlertProperties:
                      - key: ActiveProperty1
                        value: Value1
                    resolvedDate: 2018-04-10T03:12:23.4408944Z
                    scope: SampleScope
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    shortName: SampleAlertName
                    state: Active
                    tenantId: SampleTenantId
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/addsservices/{serviceName}/servicemembers/{serviceMemberId}/credentials":
    get:
      description: Gets the credentials of the server which is needed by the agent to connect to Azure Active Directory Connect Health Service.
      operationId: addsServiceMembers_listCredentials
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of server credentials.
          schema:
            $ref: "#/definitions/Credentials"
      tags:
        - Adds
      x-ms-examples:
        addsServiceMembers_listCredentials:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - credentialData:
                      - SampleCredentialData
                      - SampleCredentialData1
                    identifier: SampleIdentifier
                    type: SampleType
      x-ms-pageable:
        nextLinkName: null
  /providers/Microsoft.ADHybridHealthService/configuration:
    get:
      description: Gets the details of a tenant onboarded to Azure Active Directory Connect Health.
      operationId: configuration_get
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The tenant details.
          schema:
            $ref: "#/definitions/Tenant"
      tags:
        - Configuration
      x-ms-examples:
        configuration_get:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                aadLicense: Premium
                aadPremium: true
                agentAutoUpdate: true
                alertSuppressionTimeInMins: 4320
                consentedToMicrosoftDevOps: true
                countryLetterCode: tenantCountryLetterCode
                createdDate: 2015-03-06T20:35:04.0018068Z
                devOpsTtl: 0001-01-01T00:00:00Z
                disabled: false
                disabledReason: 0
                globalAdminsEmail:
                  - email1
                  - email2
                initialDomain: tenantInitialDomain
                lastDisabled: 0001-01-01T00:00:00Z
                lastVerified: 0001-01-01T00:00:00Z
                onboarded: true
                onboardingAllowed: true
                pksCertificate: SamplePKSCertificate
                privatePreviewTenant: false
                tenantId: sampleTenantId
                tenantInQuarantine: false
                tenantName: SampleTenantName
    patch:
      description: Updates tenant properties for tenants onboarded to Azure Active Directory Connect Health.
      operationId: configuration_update
      parameters:
        - description: The tenant object with the properties set to the updated value.
          in: body
          name: tenant
          required: true
          schema:
            $ref: "#/definitions/Tenant"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully updated the tenant.
          schema:
            $ref: "#/definitions/Tenant"
      tags:
        - Configuration
      x-ms-examples:
        configuration_update:
          parameters:
            api-version: 2014-01-01
            tenant:
              agentAutoUpdate: false
          responses:
            "200":
              body:
                aadLicense: Premium
                aadPremium: true
                agentAutoUpdate: true
                alertSuppressionTimeInMins: 4320
                consentedToMicrosoftDevOps: true
                countryLetterCode: tenantCountryLetterCode
                createdDate: 2015-03-06T20:35:04.0018068Z
                devOpsTtl: 0001-01-01T00:00:00Z
                disabled: false
                disabledReason: 0
                globalAdminsEmail:
                  - email1
                  - email2
                initialDomain: tenantInitialDomain
                lastDisabled: 0001-01-01T00:00:00Z
                lastVerified: 0001-01-01T00:00:00Z
                onboarded: true
                onboardingAllowed: true
                pksCertificate: SamplePKSCertificate
                privatePreviewTenant: false
                tenantId: sampleTenantId
                tenantInQuarantine: false
                tenantName: SampleTenantName
    post:
      description: Onboards a tenant in Azure Active Directory Connect Health.
      operationId: configuration_add
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully added the tenant.
          schema:
            $ref: "#/definitions/Tenant"
      tags:
        - Configuration
      x-ms-examples:
        configuration_add:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                aadLicense: Premium
                aadPremium: true
                agentAutoUpdate: true
                alertSuppressionTimeInMins: 4320
                consentedToMicrosoftDevOps: true
                countryLetterCode: tenantCountryLetterCode
                createdDate: 2015-03-06T20:35:04.0018068Z
                devOpsTtl: 0001-01-01T00:00:00Z
                disabled: false
                disabledReason: 0
                globalAdminsEmail:
                  - email1
                  - email2
                initialDomain: tenantInitialDomain
                lastDisabled: 0001-01-01T00:00:00Z
                lastVerified: 0001-01-01T00:00:00Z
                onboarded: true
                onboardingAllowed: true
                pksCertificate: SamplePKSCertificate
                privatePreviewTenant: false
                tenantId: sampleTenantId
                tenantInQuarantine: false
                tenantName: SampleTenantName
  /providers/Microsoft.ADHybridHealthService/operations:
    get:
      description: Lists the available Azure Data Factory API operations.
      operationId: operations_list
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of operations.
          schema:
            $ref: "#/definitions/OperationListResponse"
      tags:
        - operations
      x-ms-examples:
        operations_list:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - display:
                      description: Sample description
                      operation: Sample operation
                      provider: Microsoft ADHybridHealthService
                      resource: Sample Resource
                    name: Microsoft.ADHybridHealthService_Sample_Operation
      x-ms-pageable:
        nextLinkName: nextLink
  /providers/Microsoft.ADHybridHealthService/reports/DevOps/IsDevOps:
    get:
      description: Checks if the user is enabled for Dev Ops access.
      operationId: reports_getDevOps
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Indicates if the user is Dev Ops or not.
          schema:
            $ref: "#/definitions/Result"
      tags:
        - DevOps
      x-ms-examples:
        reports_getDevOps:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                value: true
  "/providers/Microsoft.ADHybridHealthService/service/{serviceName}/servicemembers/{serviceMemberId}/connectors":
    get:
      description: Gets the connector details for a service.
      operationId: serviceMembers_listConnectors
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of connector details.
          schema:
            $ref: "#/definitions/Connectors"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_listConnectors:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - connectorId: SampleConnectorId
                    description: SampleDescription
                    id: SampleId
                    name: SampleName
                    partitions:
                      - dn: SampleDN
                        enabled: false
                        id: SampleId
                        isDomain: true
                        name: SampleName
                        partitionScope:
                          containersExcluded:
                            - SampleContainer1
                          containersIncluded:
                            - SampleContainer
                          isDefault: false
                          objectClasses:
                            - SampleClass
                        timeCreated: 2017-08-04T19:07:34.903Z
                        timeLastModified: 2018-05-03T23:08:25.273+00:00
                        type: AD
                      - dn: SampleDN
                        enabled: true
                        id: SampleId2
                        isDomain: true
                        name: SampleName
                        partitionScope:
                          containersExcluded:
                            - SampleContainer1
                          containersIncluded:
                            - SampleContainer
                          isDefault: false
                          objectClasses:
                            - sampleClass
                        timeCreated: 2017-08-04T19:07:34.97Z
                        timeLastModified: 2018-05-03T23:08:25.273+00:00
                        type: AD
                    passwordHashSyncConfiguration:
                      enabled: true
                      target: SampleTarget
                    passwordManagementSettings:
                      connectTo: SampleConnectTo
                      connectionTimeout: 24
                      enabled: true
                      extensionFilePath: SampleFilePath
                      maximumRetryCount: 10
                      requiresSecureConnection: true
                      retryIntervalInSeconds: 20
                      supportedPasswordOperations: Undefined
                      unlockAccount: true
                      user: SampleUser
                    runProfiles:
                      - id: SampleId
                        name: Full Import
                        runSteps:
                          - batchSize: 50
                            objectDeleteLimit: 0
                            objectProcessLimit: 0
                            operationType: 1
                            pageSize: 500
                            partitionId: SamplePartitionId
                            timeout: 120
                    schemaXml: SampleSchema
                    timeCreated: 2017-08-04T19:07:02.957Z
                    timeLastModified: 2018-05-03T23:08:25.273Z
                    type: SampleType
                    version: 12418
      x-ms-pageable:
        nextLinkName: null
  /providers/Microsoft.ADHybridHealthService/services:
    get:
      description: Gets the details of services, for a tenant, that are onboarded to Azure Active Directory Connect Health.
      operationId: services_list
      parameters:
        - description: The service property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The 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.
          in: query
          name: serviceType
          required: false
          type: string
        - description: The skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements.
          in: query
          name: skipCount
          required: false
          type: integer
        - description: The take count , which specifies the number of elements that can be returned from a sequence.
          in: query
          name: takeCount
          required: false
          type: integer
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of services.
          schema:
            $ref: "#/definitions/Services"
      tags:
        - Services
      x-ms-examples:
        services_list:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 1
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    createdDate: 2017-04-07T16:03:06.9053139Z
                    customNotificationEmails:
                      - email1
                      - email2
                    disabled: false
                    displayName: sample display name
                    health: Healthy
                    id: /providers/Microsoft.ADHybridHealthService/services/GetServices/PremiumCheck
                    lastDisabled: 2017-05-07T16:03:06.9053139Z
                    lastUpdated: 2018-04-30T00:55:33.5799677Z
                    monitoringConfigurationsComputed: samplemonitoringConfig
                    monitoringConfigurationsCustomized: samplemonitoringConfig
                    notificationEmailEnabled: true
                    notificationEmailEnabledForGlobalAdmins: true
                    notificationEmails:
                      - email3
                      - email4
                    notificationEmailsEnabledForGlobalAdmins: false
                    originalDisabledState: false
                    resolvedAlerts: 0
                    serviceId: 12345678-1234-1234-1234-123456789000
                    serviceName: sampleServiceName
                    signature: SampleSignature
                    simpleProperties: null
                    tenantId: 12345678-1234-1234-1234-123456789000
                    type: AadSyncService
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      description: Onboards a service for a given tenant in Azure Active Directory Connect Health.
      operationId: services_add
      parameters:
        - $ref: "#/parameters/apiVersionParameter"
        - description: The service object.
          in: body
          name: service
          required: true
          schema:
            $ref: "#/definitions/ServiceProperties"
      responses:
        "200":
          description: Successfully added the service.
          schema:
            $ref: "#/definitions/ServiceProperties"
      tags:
        - Services
      x-ms-examples:
        services_add:
          parameters:
            api-version: 2014-01-01
            service:
              activeAlerts: 0
              additionalInformation: SampleAdditionalInformation
              createdDate: 2017-04-07T16:03:06.9053139Z
              customNotificationEmails:
                - email1
                - email2
              disabled: false
              displayName: sample display name
              health: Healthy
              id: ServiceId
              lastDisabled: 2017-05-07T16:03:06.9053139Z
              lastUpdated: 2018-04-30T00:55:33.5799677Z
              monitoringConfigurationsComputed: samplemonitoringConfig
              monitoringConfigurationsCustomized: samplemonitoringConfig
              notificationEmailEnabled: true
              notificationEmailEnabledForGlobalAdmins: true
              notificationEmails:
                - email3
                - email4
              notificationEmailsEnabledForGlobalAdmins: false
              originalDisabledState: false
              resolvedAlerts: 0
              serviceId: 12345678-1234-1234-1234-123456789000
              serviceName: sampleServiceName
              signature: SampleSignature
              simpleProperties: null
              tenantId: 12345678-1234-1234-1234-123456789000
              type: AadSyncService
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2017-04-07T16:03:06.9053139Z
                customNotificationEmails:
                  - email1
                  - email2
                disabled: false
                displayName: sample display name
                health: Healthy
                id: ServiceId
                lastDisabled: 2017-05-07T16:03:06.9053139Z
                lastUpdated: 2018-04-30T00:55:33.5799677Z
                monitoringConfigurationsComputed: samplemonitoringConfig
                monitoringConfigurationsCustomized: samplemonitoringConfig
                notificationEmailEnabled: true
                notificationEmailEnabledForGlobalAdmins: true
                notificationEmails:
                  - email3
                  - email4
                notificationEmailsEnabledForGlobalAdmins: false
                originalDisabledState: false
                resolvedAlerts: 0
                serviceId: 12345678-1234-1234-1234-123456789000
                serviceName: sampleServiceName
                signature: SampleSignature
                simpleProperties: null
                tenantId: 12345678-1234-1234-1234-123456789000
                type: AadSyncService
  /providers/Microsoft.ADHybridHealthService/services/premiumCheck:
    get:
      description: Gets the details of services for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health.
      operationId: services_listPremium
      parameters:
        - description: The service property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The 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.
          in: query
          name: serviceType
          required: false
          type: string
        - description: The skip count, which specifies the number of elements that can be bypassed from a sequence and then return the remaining elements.
          in: query
          name: skipCount
          required: false
          type: integer
        - description: The take count , which specifies the number of elements that can be returned from a sequence.
          in: query
          name: takeCount
          required: false
          type: integer
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of premium services.
          schema:
            $ref: "#/definitions/Services"
      tags:
        - Services
      x-ms-examples:
        services_listPremium:
          parameters:
            api-version: 2014-01-01
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 1
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    createdDate: 2017-04-07T16:03:06.9053139Z
                    customNotificationEmails:
                      - email1
                      - email2
                    disabled: false
                    displayName: sample display name
                    health: Healthy
                    id: /providers/Microsoft.ADHybridHealthService/services/GetServices/PremiumCheck
                    lastDisabled: 2017-05-07T16:03:06.9053139Z
                    lastUpdated: 2018-04-30T00:55:33.5799677Z
                    monitoringConfigurationsComputed: samplemonitoringConfig
                    monitoringConfigurationsCustomized: samplemonitoringConfig
                    notificationEmailEnabled: true
                    notificationEmailEnabledForGlobalAdmins: true
                    notificationEmails:
                      - email3
                      - email4
                    notificationEmailsEnabledForGlobalAdmins: false
                    originalDisabledState: false
                    resolvedAlerts: 0
                    serviceId: 12345678-1234-1234-1234-123456789000
                    serviceName: sampleServiceName
                    signature: SampleSignature
                    simpleProperties: null
                    tenantId: 12345678-1234-1234-1234-123456789000
                    type: AadSyncService
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}":
    delete:
      description: Deletes a service which is onboarded to Azure Active Directory Connect Health.
      operationId: services_delete
      parameters:
        - description: The name of the service which needs to be deleted.
          in: path
          name: serviceName
          required: true
          type: string
        - description: Indicates if the service will be permanently deleted or disabled. True indicates that the service will be permanently deleted and False indicates that the service will be marked disabled and then deleted after 30 days, if it is not re-registered.
          in: query
          name: confirm
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "204":
          description: Successfully deleted the service.
      tags:
        - Services
      x-ms-examples:
        services_delete:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleServiceName
          responses:
            "204": {}
    get:
      description: Gets the details of a service for a tenant having Azure AD Premium license and is onboarded to Azure Active Directory Connect Health.
      operationId: services_get
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of services.
          schema:
            $ref: "#/definitions/ServiceProperties"
      tags:
        - Services
      x-ms-examples:
        services_get:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2017-04-07T16:03:06.9053139Z
                customNotificationEmails:
                  - email1
                  - email2
                disabled: false
                displayName: sample display name
                health: Healthy
                id: ServiceId
                lastDisabled: 2017-05-07T16:03:06.9053139Z
                lastUpdated: 2018-04-30T00:55:33.5799677Z
                monitoringConfigurationsComputed: samplemonitoringConfig
                monitoringConfigurationsCustomized: samplemonitoringConfig
                notificationEmailEnabled: true
                notificationEmailEnabledForGlobalAdmins: true
                notificationEmails:
                  - email3
                  - email4
                notificationEmailsEnabledForGlobalAdmins: false
                originalDisabledState: false
                resolvedAlerts: 0
                serviceId: 12345678-1234-1234-1234-123456789000
                serviceName: sampleServiceName
                signature: SampleSignature
                simpleProperties: null
                tenantId: 12345678-1234-1234-1234-123456789000
                type: AadSyncService
    patch:
      description: Updates the service properties of an onboarded service.
      operationId: services_update
      parameters:
        - description: The name of the service which needs to be deleted.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The service object.
          in: body
          name: service
          required: true
          schema:
            $ref: "#/definitions/ServiceProperties"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully updated the service.
          schema:
            $ref: "#/definitions/ServiceProperties"
      tags:
        - Services
      x-ms-examples:
        services_update:
          parameters:
            api-version: 2014-01-01
            service:
              notificationEmailEnabled: true
              notificationEmailEnabledForGlobalAdmins: true
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2017-04-07T16:03:06.9053139Z
                customNotificationEmails:
                  - email1
                  - email2
                disabled: false
                displayName: sample display name
                health: Healthy
                id: /providers/Microsoft.ADHybridHealthService/services/GetServices/PremiumCheck/sampleServiceName
                lastDisabled: 2017-05-07T16:03:06.9053139Z
                lastUpdated: 2018-04-30T00:55:33.5799677Z
                monitoringConfigurationsComputed: samplemonitoringConfig
                monitoringConfigurationsCustomized: samplemonitoringConfig
                notificationEmailEnabled: true
                notificationEmailEnabledForGlobalAdmins: true
                notificationEmails:
                  - email3
                  - email4
                notificationEmailsEnabledForGlobalAdmins: false
                originalDisabledState: false
                resolvedAlerts: 0
                serviceId: 12345678-1234-1234-1234-123456789000
                serviceName: sampleServiceName
                signature: SampleSignature
                simpleProperties: null
                tenantId: 12345678-1234-1234-1234-123456789000
                type: AadSyncService
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/TenantWhitelisting/{featureName}":
    get:
      description: Checks if the tenant, to which a service is registered, is whitelisted to use a feature.
      operationId: services_getTenantWhitelisting
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The name of the feature.
          in: path
          name: featureName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Indicates if a tenant is whitelisted for a feature or not.
          schema:
            $ref: "#/definitions/Result"
      tags:
        - Services
      x-ms-examples:
        services_getTenantWhitelisting:
          parameters:
            api-version: 2014-01-01
            featureName: SampleFeatureName
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value: true
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts":
    get:
      description: Gets the alerts for a given service.
      operationId: services_listAlerts
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The alert property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The alert state to query for.
          in: query
          name: state
          required: false
          type: string
        - description: The start date to query for.
          format: date-time
          in: query
          name: from
          required: false
          type: string
        - description: The end date till when to query for.
          format: date-time
          in: query
          name: to
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of alerts.
          schema:
            $ref: "#/definitions/Alerts"
      tags:
        - Alerts
      x-ms-examples:
        services_listAlerts:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
            state: Active
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlertProperties:
                      - key: ActiveProperty1
                        value: Value1
                    additionalInformation:
                      - hasProperties: true
                        properties:
                          - key: Property1
                            value: Value1
                          - key: Property2
                            value: Value2
                        titleName: SampleAdditionalInfo
                        titleValue: SampleTitle
                    alertId: SampleAlertId
                    createdDate: 2018-04-10T03:12:23.4408944Z
                    description: SampleAlertDescription
                    displayName: SampleAlertDisplayName
                    lastUpdated: 2018-04-30T19:24:42.1946017Z
                    level: Error
                    monitorRoleType: SampleRole
                    relatedLinks:
                      - title: SampleTitle1
                        url: SampleUrl1
                      - title: SampleTilte2
                        url: SampleUrl2
                    remediation: SampleAlertRemediation
                    resolvedAlertProperties:
                      - key: ResolvedProperty1
                        value: Value1
                    resolvedDate: 2018-04-10T03:12:23.4408944Z
                    scope: SampleScope
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    shortName: SampleAlertName
                    state: Active
                    tenantId: SampleTenantId
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/checkServiceFeatureAvailibility/{featureName}":
    get:
      description: Checks if the service has all the pre-requisites met to use a feature.
      operationId: services_getFeatureAvailibility
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The name of the feature.
          in: path
          name: featureName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Indicates if the feature is available or not.
          schema:
            $ref: "#/definitions/Result"
      tags:
        - Services
      x-ms-examples:
        services_getFeatureAvailibility:
          parameters:
            api-version: 2014-01-01
            featureName: SampleFeatureName
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value: true
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/counts":
    get:
      description: Gets the count of latest AAD export errors.
      operationId: services_listExportErrors
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of export errors.
          schema:
            $ref: "#/definitions/ErrorCounts"
      tags:
        - Services
      x-ms-examples:
        services_listExportErrors:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleServiceName
          responses:
            "200":
              body:
                value:
                  - count: 49
                    errorBucket: DuplicateAttributeError
                    truncated: false
                  - count: 0
                    errorBucket: DataMismatch
                    truncated: false
                  - count: 0
                    errorBucket: DataValidationError
                    truncated: false
                  - count: 0
                    errorBucket: LargeAttribute
                    truncated: false
                  - count: 0
                    errorBucket: FederatedDomainChange
                    truncated: false
                  - count: 0
                    errorBucket: Others
                    truncated: false
                  - count: 49
                    errorBucket: All
                    truncated: false
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/exporterrors/listV2":
    get:
      description: " Gets the categorized export errors."
      operationId: services_listExportErrorsV2
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The error category to query for.
          in: query
          name: errorBucket
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of merged export errors.
          schema:
            $ref: "#/definitions/MergedExportErrors"
      tags:
        - Services
      x-ms-examples:
        services_listExportErrorsV2:
          parameters:
            api-version: 2014-01-01
            errorBucket: SampleErrorBucket
            serviceName: SampleName
          responses:
            "200":
              body:
                value:
                  - attributeName: OnPremiseSecurityIdentifier
                    attributeValue: System.Byte[]
                    createdDate: 2018-04-30T22:13:47.6380995Z
                    csObjectId: SampleObjectId
                    dn: CN=SampleDN
                    existingObject:
                      displayName: SampleDisplayName
                      distinguishedName: SampleDistinguishedName
                      lastDirSyncTime: 2016-06-02T18:41:59Z
                      mail: SampleEmail
                      objectGuid: SampleObjectGuid
                      objectType: User
                      onpremisesUserPrincipalName: OnPremUPN
                      proxyAddresses: SampleProxyAddress
                      sourceAnchor: SampleSourceAnchor
                      sourceOfAuthority: Active Directory
                      timeOccurred: 0001-01-01T00:00:00Z
                      userPrincipalName: SampleUPN
                    exportErrorStatus: 1
                    id: SampleMergedExportErrorId
                    incomingObject:
                      displayName: SampleDisplayName
                      distinguishedName: SampelDN
                      lastDirSyncTime: 2016-06-02T18:41:59Z
                      mail: SampleMail
                      objectGuid: SampleObjectGuid
                      objectType: user
                      onpremisesUserPrincipalName: SampleUPN1
                      proxyAddresses: SampleProxyAddress
                      sourceAnchor: SampleSourceAnchor
                      sourceOfAuthority: Unknown
                      timeOccurred: 2018-04-30T22:04:36.043Z
                      userPrincipalName: SampleUPN
                    incomingObjectDisplayName: SampleIncomingDisplayName
                    incomingObjectType: user
                    mergedEntityId: SampleMergedEntityId
                    modifiedOrRemovedAttributeValue: SampleValue
                    runStepResultId: SampleRunStepId
                    samAccountName: SampleSAMAccountName
                    serverErrorDetail: SampleErrorDetails
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    timeFirstOccurred: 2017-07-11T18:36:15.843Z
                    timeOccurred: 2018-04-30T22:04:36.043Z
                    type: AttributeValueMustBeUnique
                    userPrincipalName: SampleUPN
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/exportstatus":
    get:
      description: Gets the export status.
      operationId: services_listExportStatus
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of export statuses.
          schema:
            $ref: "#/definitions/ExportStatuses"
      tags:
        - Services
      x-ms-examples:
        services_listExportStatus:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - endTime: 2018-04-30T23:04:37.647Z
                    runStepResultId: SampleRunStepId
                    serviceId: sampleServiceId
                    serviceMemberId: SampleServiceMemberId
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/feedbacktype/alerts/feedback":
    post:
      description: Adds an alert feedback submitted by customer.
      operationId: services_addAlertFeedback
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The alert feedback.
          in: body
          name: alertFeedback
          required: true
          schema:
            $ref: "#/definitions/AlertFeedback"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully added alert feedback.
          schema:
            $ref: "#/definitions/AlertFeedback"
      tags:
        - Feedback
      x-ms-examples:
        services_addAlertFeedback:
          parameters:
            alertFeedback:
              comment: SampleComment
              consentedToShare: false
              feedback: Like
              level: Error
              serviceMemberId: SampleServiceMemberId
              shortName: AlertShortName
              state: Active
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                comment: SampleComment
                consentedToShare: false
                createdDate: 2018-04-30T23:28:19.6001893Z
                feedback: Like
                level: Error
                serviceMemberId: null
                shortName: AlertShortName
                state: Active
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/feedbacktype/alerts/{shortName}/alertfeedback":
    get:
      description: Gets a list of all alert feedback for a given tenant and alert type.
      operationId: services_listAlertFeedback
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The name of the alert.
          in: path
          name: shortName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of alert feedback.
          schema:
            $ref: "#/definitions/AlertFeedbacks"
      tags:
        - Feedback
      x-ms-examples:
        services_listAlertFeedback:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
            shortName: AlertShortName
          responses:
            "200":
              body:
                value:
                  - comment: SampleComment
                    consentedToShare: false
                    createdDate: 2018-04-30T23:28:19.6001893Z
                    feedback: Like
                    level: Error
                    serviceMemberId: null
                    shortName: AlertShortName
                    state: Active
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata":
    get:
      description: Gets the service related metrics information.
      operationId: services_listMetricMetadata
      parameters:
        - description: The metric metadata property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: Indicates if only performance counter metrics are requested.
          in: query
          name: perfCounter
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of metric metadata for a given service.
          schema:
            $ref: "#/definitions/MetricMetadataList"
      tags:
        - Metrics
      x-ms-examples:
        services_listMetricMetadata:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - displayName: SampleDisplayName
                    groupings:
                      - displayName: SampleDisplayName
                        invisibleForUi: false
                        key: SampleKey
                    isDefault: false
                    isDevOps: false
                    isPerfCounter: false
                    kind: Line
                    maxValue: 0
                    metricName: SampleMetricName
                    metricsProcessorClassName: SampleMetricsProcessorClassName1
                    minValue: 0
                    valueKind: Value
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}":
    get:
      description: Gets the service related metrics information.
      operationId: services_getMetricMetadata
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The metric metadata for a given metric.
          schema:
            $ref: "#/definitions/MetricMetadata"
      tags:
        - Metrics
      x-ms-examples:
        services_getMetricMetadata:
          parameters:
            api-version: 2014-01-01
            metricName: SampleMetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                displayName: SampleDisplayName
                groupings:
                  - displayName: SampleDisplayName
                    invisibleForUi: false
                    key: SampleKey
                isDefault: false
                isDevOps: false
                isPerfCounter: false
                kind: Line
                maxValue: 0
                metricName: SampleMetricName
                metricsProcessorClassName: SampleMetricsProcessorClassName1
                minValue: 0
                valueKind: Value
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metricmetadata/{metricName}/groups/{groupName}":
    get:
      description: Gets the service related metrics for a given metric and group combination.
      operationId: services_getMetricMetadataForGroup
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - description: The group key
          in: query
          name: groupKey
          required: false
          type: string
        - description: The start date.
          format: date-time
          in: query
          name: fromDate
          required: false
          type: string
        - description: The end date.
          format: date-time
          in: query
          name: toDate
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The metric sets for a given service and group.
          schema:
            $ref: "#/definitions/MetricSets"
      tags:
        - Metrics
      x-ms-examples:
        services_getMetricMetadataForGroup:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SamplemetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                sets:
                  - setName: SampleSetName
                    values:
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - 5
                      - 8
                      - 3
                      - 3
                      - 12
                      - 7
                      - 7
                      - 10
                      - null
                      - 1
                      - 1
                      - 2
                      - 2
                      - null
                timeStamps:
                  - 2018-04-29T22:00:00Z
                  - 2018-04-29T23:00:00Z
                  - 2018-04-30T00:00:00Z
                  - 2018-04-30T01:00:00Z
                  - 2018-04-30T02:00:00Z
                  - 2018-04-30T03:00:00Z
                  - 2018-04-30T04:00:00Z
                  - 2018-04-30T05:00:00Z
                  - 2018-04-30T06:00:00Z
                  - 2018-04-30T07:00:00Z
                  - 2018-04-30T08:00:00Z
                  - 2018-04-30T09:00:00Z
                  - 2018-04-30T10:00:00Z
                  - 2018-04-30T11:00:00Z
                  - 2018-04-30T12:00:00Z
                  - 2018-04-30T13:00:00Z
                  - 2018-04-30T14:00:00Z
                  - 2018-04-30T15:00:00Z
                  - 2018-04-30T16:00:00Z
                  - 2018-04-30T17:00:00Z
                  - 2018-04-30T18:00:00Z
                  - 2018-04-30T19:00:00Z
                  - 2018-04-30T20:00:00Z
                  - 2018-04-30T21:00:00Z
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}":
    get:
      description: Gets the server related metrics for a given metric and group combination.
      operationId: service_getMetrics
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - description: The group key
          in: query
          name: groupKey
          required: false
          type: string
        - description: The start date.
          format: date-time
          in: query
          name: fromDate
          required: false
          type: string
        - description: The end date.
          format: date-time
          in: query
          name: toDate
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The metric sets for a given service.
          schema:
            $ref: "#/definitions/MetricSets"
      tags:
        - Metrics
      x-ms-examples:
        service_getMetrics:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SamplemetricName
            serviceMemberId: SampleServiceMemberId
            serviceName: SampleName
          responses:
            "200":
              body:
                sets:
                  - setName: SampleSetName
                    values:
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - 5
                      - 8
                      - 3
                      - 3
                      - 12
                      - 7
                      - 7
                      - 10
                      - null
                      - 1
                      - 1
                      - 2
                      - 2
                      - null
                timeStamps:
                  - 2018-04-29T22:00:00Z
                  - 2018-04-29T23:00:00Z
                  - 2018-04-30T00:00:00Z
                  - 2018-04-30T01:00:00Z
                  - 2018-04-30T02:00:00Z
                  - 2018-04-30T03:00:00Z
                  - 2018-04-30T04:00:00Z
                  - 2018-04-30T05:00:00Z
                  - 2018-04-30T06:00:00Z
                  - 2018-04-30T07:00:00Z
                  - 2018-04-30T08:00:00Z
                  - 2018-04-30T09:00:00Z
                  - 2018-04-30T10:00:00Z
                  - 2018-04-30T11:00:00Z
                  - 2018-04-30T12:00:00Z
                  - 2018-04-30T13:00:00Z
                  - 2018-04-30T14:00:00Z
                  - 2018-04-30T15:00:00Z
                  - 2018-04-30T16:00:00Z
                  - 2018-04-30T17:00:00Z
                  - 2018-04-30T18:00:00Z
                  - 2018-04-30T19:00:00Z
                  - 2018-04-30T20:00:00Z
                  - 2018-04-30T21:00:00Z
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}/average":
    get:
      description: Gets the average of the metric values for a given metric and group combination.
      operationId: services_listMetricsAverage
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of average metrics for a given service.
          schema:
            $ref: "#/definitions/Metrics"
      tags:
        - Metrics
      x-ms-examples:
        services_listMetricsAverage:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SampleMetricName
            metricsName: SampleMetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - key: Key1
                    value: Value1
                  - key: Key2
                    value: Value2
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/metrics/{metricName}/groups/{groupName}/sum":
    get:
      description: Gets the sum of the metric values for a given metric and group combination.
      operationId: services_listMetricsSum
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of metrics for a given service.
          schema:
            $ref: "#/definitions/Metrics"
      tags:
        - Metrics
      x-ms-examples:
        services_listMetricsSum:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SampleMetricName
            metricsName: SampleMetricName
            serviceName: SampleName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - key: Key1
                    value: Value1
                  - key: Key2
                    value: Value2
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/monitoringconfiguration":
    patch:
      description: Updates the service level monitoring configuration.
      operationId: services_updateMonitoringConfiguration
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The monitoring configuration to update
          in: body
          name: configurationSetting
          required: true
          schema:
            $ref: "#/definitions/Item"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully updated the monitoring configuration.
      tags:
        - Services
      x-ms-examples:
        services_updateMonitoringConfiguration:
          parameters:
            api-version: 2014-01-01
            configurationSetting:
              key: key1
              value: Value1
            serviceName: SampleServiceName
          responses:
            "200": {}
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/monitoringconfigurations":
    get:
      description: Gets the service level monitoring configurations.
      operationId: services_listMonitoringConfigurations
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of monitoring configurations.
          schema:
            $ref: "#/definitions/Items"
      tags:
        - Services
      x-ms-examples:
        services_listMonitoringConfigurations:
          parameters:
            api-version: 2014-01-01
            serviceName: SampleServiceName
          responses:
            "200":
              body:
                value:
                  - key: MonitoringLevel
                    value: Partial
                  - key: StagingMode
                    value: <value not aggregated>
                  - key: ConfigurationUploadInterval
                    value: "240"
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/reports/badpassword/details/user":
    get:
      description: Gets the bad password login attempt report for an user
      operationId: services_listUserBadPasswordReport
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The source of data, if its test data or customer data.
          in: query
          name: dataSource
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of bad password login attempts.
          schema:
            $ref: "#/definitions/ErrorReportUsersEntries"
      tags:
        - Reports
      x-ms-examples:
        services_listUserBadPasswordReport:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - ipAddress: SampleIPAddress
                    lastUpdated: 2018-04-25T14:39:18.3555285Z
                    totalErrorAttempts: 10
                    uniqueIpAddresses: SampleUniqueIPAddresses
                    userId: SampleUser1
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/reports/riskyIp/blobUris":
    get:
      description: Gets all Risky IP report URIs for the last 7 days.
      operationId: services_listAllRiskyIpDownloadReport
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Risky IP report URIs for the last 7 days.
          schema:
            $ref: "#/definitions/RiskyIPBlobUris"
      tags:
        - Reports
      x-ms-examples:
        services_listAllRiskyIpDownloadReport:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - blobCreateDateTime: 2019-01-07T20:32:02+00:00
                    jobCompletionTime: 2019-01-07T20:32:05+00:00
                    resultSasUri: SAS Uri of the blob.
                    serviceId: ServiceId of the tenant.
                    status: status of the task.
                    tenantId: TenantId of the tenant.
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/reports/riskyIp/generateBlobUri":
    post:
      description: Initiate the generation of a new Risky IP report. Returns the URI for the new one.
      operationId: services_listCurrentRiskyIpDownloadReport
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The URI of the Risky IP report that was requested.
          schema:
            $ref: "#/definitions/RiskyIPBlobUris"
      tags:
        - Reports
      x-ms-examples:
        services_listCurrentRiskyIpDownloadReport:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - blobCreateDateTime: 2019-01-07T20:32:02+00:00
                    jobCompletionTime: 2019-01-07T20:32:05+00:00
                    resultSasUri: SAS Uri of the blob.
                    serviceId: ServiceId of the tenant.
                    status: status of the task.
                    tenantId: TenantId of the tenant.
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers":
    get:
      description: Gets the details of the servers, for a given service, that are onboarded to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_list
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The server specific dimension.
          in: query
          name: dimensionType
          required: false
          type: string
        - description: The value of the dimension.
          in: query
          name: dimensionSignature
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of service members.
          schema:
            $ref: "#/definitions/ServiceMembers"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_list:
          parameters:
            api-version: 2014-01-01
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlerts: 0
                    additionalInformation: SampleAdditionalInformation
                    createdDate: 2018-04-28T11:33:07.484Z
                    dimensions:
                      - key: key1
                        value: value1
                    disabled: false
                    disabledReason: 0
                    installedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    lastDisabled: 2018-04-28T23:17:00.511864Z
                    lastReboot: 2018-04-28T11:33:07.484Z
                    lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                    lastUpdated: 2018-05-01T00:15:32.5476494Z
                    machineId: SampleMachineId
                    machineName: SampleMachineName
                    monitoringConfigurationsComputed:
                      - key: key1
                        value: value1
                    monitoringConfigurationsCustomized:
                      - key: key1
                        value: value1
                    osName: SampleOSName
                    osVersion: SampleOSVersion
                    properties:
                      - key: key1
                        value: value1
                    recommendedQfes:
                      - installedDate: 2016-11-06T04:00:00Z
                        kbName: KB3019978
                        link: SampleLink
                    resolvedAlerts: 0
                    role: AdfsServer_30
                    serverReportedMonitoringLevel: Off
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    status: Healthy
                    tenantId: SampleTenantId
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      description: Onboards  a server, for a given service, to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_add
      parameters:
        - description: The name of the service under which the server is to be onboarded.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server object.
          in: body
          name: serviceMember
          required: true
          schema:
            $ref: "#/definitions/ServiceMember"
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully added the service member.
          schema:
            $ref: "#/definitions/ServiceMember"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_add:
          parameters:
            api-version: 2014-01-01
            serviceMember:
              activeAlerts: 0
              additionalInformation: SampleAdditionalInformation
              createdDate: 2018-04-28T23:17:00.511864Z
              dimensions:
                - key: key1
                  value: value1
              disabled: false
              disabledReason: 0
              installedQfes:
                - installedDate: 2016-11-06T04:00:00Z
                  kbName: KB3019978
                  link: SampleLink
              lastDisabled: 2018-04-28T23:17:00.511864Z
              lastReboot: 2018-04-28T11:33:07.484Z
              lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
              lastUpdated: 2018-05-01T00:15:32.5476494Z
              machineId: SampleMachineId
              machineName: SampleMachineName
              monitoringConfigurationsComputed:
                - key: key1
                  value: value1
              monitoringConfigurationsCustomized:
                - key: key1
                  value: value1
              osName: osName
              osVersion: osVersion
              properties:
                - key: key1
                  value: value1
              recommendedQfes:
                - installedDate: 2016-11-06T04:00:00Z
                  kbName: KB3019978
                  link: SampleLink
              resolvedAlerts: 0
              role: AdfsServer_30
              serverReportedMonitoringLevel: Off
              serviceId: SampleServiceId
              serviceMemberId: SampleServiceMemberId
              status: Healthy
              tenantId: SampleTenantId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2018-04-28T23:17:00.511864Z
                dimensions:
                  - key: key1
                    value: value1
                disabled: false
                disabledReason: 0
                installedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                lastDisabled: 2018-04-28T23:17:00.511864Z
                lastReboot: 2018-04-28T11:33:07.484Z
                lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                lastUpdated: 2018-05-01T00:15:32.5476494Z
                machineId: SampleMachineId
                machineName: SampleMachineName
                monitoringConfigurationsComputed:
                  - key: key1
                    value: value1
                monitoringConfigurationsCustomized:
                  - key: key1
                    value: value1
                osName: osName
                osVersion: osVersion
                properties:
                  - key: key1
                    value: value1
                recommendedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                resolvedAlerts: 0
                role: AdfsServer_30
                serverReportedMonitoringLevel: Off
                serviceId: SampleServiceId
                serviceMemberId: SampleServiceMemberId
                status: Healthy
                tenantId: SampleTenantId
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}":
    delete:
      description: Deletes a server that has been onboarded to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_delete
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - description: Indicates if the server will be permanently deleted or disabled. True indicates that the server will be permanently deleted and False indicates that the server will be marked disabled and then deleted after 30 days, if it is not re-registered.
          in: query
          name: confirm
          required: false
          type: boolean
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully deleted the service member.
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_delete:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: SampleServiceName
          responses:
            "200": {}
    get:
      description: Gets the details of a server, for a given service, that are onboarded to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_get
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The specific service member.
          schema:
            $ref: "#/definitions/ServiceMember"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_get:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                activeAlerts: 0
                additionalInformation: SampleAdditionalInformation
                createdDate: 2018-04-28T11:33:07.484Z
                dimensions:
                  - key: key1
                    value: value1
                disabled: false
                disabledReason: 0
                installedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                lastDisabled: 2018-04-28T23:17:00.511864Z
                lastReboot: 2018-04-28T11:33:07.484Z
                lastServerReportedMonitoringLevelChange: 2018-04-30T18:00:41.6956022Z
                lastUpdated: 2018-05-01T00:15:32.5476494Z
                machineId: SampleMachineId
                machineName: SampleMachineName
                monitoringConfigurationsComputed:
                  - key: key1
                    value: value1
                monitoringConfigurationsCustomized:
                  - key: key1
                    value: value1
                osName: SampleOSName
                osVersion: SampleOSVersion
                properties:
                  - key: key1
                    value: value1
                recommendedQfes:
                  - installedDate: 2016-11-06T04:00:00Z
                    kbName: KB3019978
                    link: SampleLink
                resolvedAlerts: 0
                role: AdfsServer_30
                serverReportedMonitoringLevel: Off
                serviceId: SampleServiceId
                serviceMemberId: SampleServiceMemberId
                status: Healthy
                tenantId: SampleTenantId
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/alerts":
    get:
      description: Gets the details of an alert for a given service and server combination.
      operationId: serviceMembers_listAlerts
      parameters:
        - description: The server Id for which the alert details needs to be queried.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The alert property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The alert state to query for.
          in: query
          name: state
          required: false
          type: string
        - description: The start date to query for.
          format: date-time
          in: query
          name: from
          required: false
          type: string
        - description: The end date till when to query for.
          format: date-time
          in: query
          name: to
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of alerts.
          schema:
            $ref: "#/definitions/Alerts"
      tags:
        - Alerts
      x-ms-examples:
        serviceMembers_listAlerts:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
            state: Active
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - activeAlertProperties:
                      - key: ActiveProperty1
                        value: Value1
                    additionalInformation:
                      - hasProperties: true
                        properties:
                          - key: Property1
                            value: Value1
                          - key: Property2
                            value: Value2
                        titleName: SampleAdditionalInfo
                        titleValue: SampleTitle
                    alertId: SampleAlertId
                    createdDate: 2018-04-10T03:12:23.4408944Z
                    description: SampleAlertDescription
                    displayName: SampleAlertDisplayName
                    lastUpdated: 2018-04-30T19:24:42.1945017Z
                    level: Error
                    monitorRoleType: SampleRole
                    relatedLinks:
                      - title: SampleTitle1
                        url: SampleUrl1
                      - title: SampleTilte2
                        url: SampleUrl2
                    remediation: SampleAlertRemediation
                    resolvedAlertProperties:
                      - key: ActiveProperty1
                        value: Value1
                    resolvedDate: 2018-04-10T03:12:23.4408944Z
                    scope: SampleScope
                    serviceId: SampleServiceId
                    serviceMemberId: SampleServiceMemberId
                    shortName: SampleAlertName
                    state: Active
                    tenantId: SampleTenantId
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/credentials":
    get:
      description: Gets the credentials of the server which is needed by the agent to connect to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_listCredentials
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The property filter to apply.
          in: query
          name: $filter
          required: false
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of service member credentials.
          schema:
            $ref: "#/definitions/Credentials"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_listCredentials:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - credentialData:
                      - SampleCredentialData
                      - SampleCredentialData1
                    identifier: SampleIdentifier
                    type: SampleType
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/data":
    delete:
      description: Deletes the data uploaded by the server to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_deleteData
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Successfully deleted the service member.
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_deleteData:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: SampleServiceName
          responses:
            "200": {}
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/datafreshness":
    get:
      description: Gets the last time when the server uploaded data to Azure Active Directory Connect Health Service.
      operationId: serviceMembers_listDataFreshness
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of datafreshness details for a server.
          schema:
            $ref: "#/definitions/DataFreshnessDetails"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_listDataFreshness:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - key: DataFreshnessKeyName
                    value: 2015-03-06T17:41:34.305Z
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/exportstatus":
    get:
      description: Gets the export status.
      operationId: serviceMembers_listExportStatus
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of export statuses.
          schema:
            $ref: "#/definitions/ExportStatuses"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_listExportStatus:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                continuationToken: null
                nextLink: null
                totalCount: 0
                value:
                  - endTime: 2018-04-30T23:04:37.647Z
                    runStepResultId: SampleRunStepId
                    serviceId: sampleServiceId
                    serviceMemberId: SampleServiceMemberId
      x-ms-pageable:
        nextLinkName: nextLink
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/globalconfiguration":
    get:
      description: Gets the global configuration.
      operationId: serviceMembers_listGlobalConfiguration
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server id.
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of global configurations.
          schema:
            $ref: "#/definitions/GlobalConfigurations"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_listGlobalConfiguration:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                value:
                  - featureSet:
                      - key: faturekey1
                        value: value1
                    numSavedPwdEvent: 0
                    passwordSyncEnabled: false
                    schemaXml: SampleSchemaXML
                    version: 12
      x-ms-pageable:
        nextLinkName: null
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/metrics/{metricName}":
    get:
      description: Gets the list of connectors and run profile names.
      operationId: serviceMembers_getConnectorMetadata
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The service member id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - description: The name of the metric.
          in: path
          name: metricName
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: Gets the list of connectors and run profile names for the given service and service member.
          schema:
            $ref: "#/definitions/ConnectorMetadata"
      tags:
        - Metrics
      x-ms-examples:
        serviceMembers_getConnectorMetadata:
          parameters:
            api-version: 2014-01-01
            metricName: sampleMetricName
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                connectors:
                  - connectorDisplayName: adhsdfus1runner.adhs.com
                    connectorId: 3efbb72d-5047-4816-a7dd-73fefe16a2f3
                  - connectorDisplayName: dfadhybridhealth.dfdomain.net - AAD
                    connectorId: b891884f-051e-4a83-95af-2544101c9083
                runProfileNames:
                  - Export
                  - ApplyRules
                  - DeltaImport
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/metrics/{metricName}/groups/{groupName}":
    get:
      description: Gets the server related metrics for a given metric and group combination.
      operationId: serviceMembers_getMetrics
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The metric name
          in: path
          name: metricName
          required: true
          type: string
        - description: The group name
          in: path
          name: groupName
          required: true
          type: string
        - description: The server id.
          format: uuid
          in: path
          name: serviceMemberId
          required: true
          type: string
        - description: The group key
          in: query
          name: groupKey
          required: false
          type: string
        - description: The start date.
          format: date-time
          in: query
          name: fromDate
          required: false
          type: string
        - description: The end date.
          format: date-time
          in: query
          name: toDate
          required: false
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The list of metric sets for a given metric.
          schema:
            $ref: "#/definitions/MetricSets"
      tags:
        - Metrics
      x-ms-examples:
        serviceMembers_getMetrics:
          parameters:
            api-version: 2014-01-01
            groupName: SampleGroupName
            metricName: SamplemetricName
            serviceMemberId: SampleServiceMemberId
            serviceName: SampleName
          responses:
            "200":
              body:
                sets:
                  - setName: SampleSetName
                    values:
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - null
                      - 5
                      - 8
                      - 3
                      - 3
                      - 12
                      - 7
                      - 7
                      - 10
                      - null
                      - 1
                      - 1
                      - 2
                      - 2
                      - null
                timeStamps:
                  - 2018-04-29T22:00:00Z
                  - 2018-04-29T23:00:00Z
                  - 2018-04-30T00:00:00Z
                  - 2018-04-30T01:00:00Z
                  - 2018-04-30T02:00:00Z
                  - 2018-04-30T03:00:00Z
                  - 2018-04-30T04:00:00Z
                  - 2018-04-30T05:00:00Z
                  - 2018-04-30T06:00:00Z
                  - 2018-04-30T07:00:00Z
                  - 2018-04-30T08:00:00Z
                  - 2018-04-30T09:00:00Z
                  - 2018-04-30T10:00:00Z
                  - 2018-04-30T11:00:00Z
                  - 2018-04-30T12:00:00Z
                  - 2018-04-30T13:00:00Z
                  - 2018-04-30T14:00:00Z
                  - 2018-04-30T15:00:00Z
                  - 2018-04-30T16:00:00Z
                  - 2018-04-30T17:00:00Z
                  - 2018-04-30T18:00:00Z
                  - 2018-04-30T19:00:00Z
                  - 2018-04-30T20:00:00Z
                  - 2018-04-30T21:00:00Z
  "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/servicemembers/{serviceMemberId}/serviceconfiguration":
    get:
      description: Gets the service configuration.
      operationId: serviceMembers_getServiceConfiguration
      parameters:
        - description: The name of the service.
          in: path
          name: serviceName
          required: true
          type: string
        - description: The server Id.
          in: path
          name: serviceMemberId
          required: true
          type: string
        - $ref: "#/parameters/apiVersionParameter"
      responses:
        "200":
          description: The service configuration.
          schema:
            $ref: "#/definitions/ServiceConfiguration"
      tags:
        - ServiceMembers
      x-ms-examples:
        serviceMembers_getServiceConfiguration:
          parameters:
            api-version: 2014-01-01
            serviceMemberId: SampleServiceMemberId
            serviceName: sampleServiceName
          responses:
            "200":
              body:
                serviceAccount: SampleServiceAccount
                serviceType: 1
                sqlDatabaseName: SQLDBName
                sqlDatabaseSize: 0
                sqlEdition: unknown
                sqlInstance: ""
                sqlServer: SQLServerName
                sqlVersion: unknown
                version: 1.1.750.0
definitions:
  AdditionalInformation:
    description: The additional information for a property.
    properties:
      hasProperties:
        description: Indicates if properties are present or not.
        type: boolean
      properties:
        description: The list of properties which are included in the additional information.
        items:
          $ref: "#/definitions/Item"
        type: object
      titleName:
        description: The title name for the property.
        type: string
      titleValue:
        description: The title value for the property.
        type: string
    type: object
  AddsConfiguration:
    description: The list of key value properties.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of configuration.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Item"
        type: array
    type: object
  AddsServiceMember:
    description: The server details for ADDS service.
    properties:
      activeAlerts:
        description: The total number of alerts that are currently active for the server.
        type: integer
      additionalInformation:
        description: The additional information, if any, for the server.
        type: string
      addsRoles:
        description: The list of ADDS roles.
        items:
          type: string
        type: array
      createdDate:
        description: The date time , in UTC, when the server was onboarded to Azure Active Directory Connect Health.
        format: date-time
        type: string
      dcTypes:
        description: The list of domain controller types.
        items:
          type: string
        type: array
      dimensions:
        description: The server specific configuration related dimensions.
        items:
          $ref: "#/definitions/Item"
        type: array
      disabled:
        description: "Indicates if the server is disabled or not. "
        type: boolean
      disabledReason:
        description: The reason for disabling the server.
        type: integer
      domainName:
        description: The domain name.
        type: string
      gcReachable:
        description: Indicates if the global catalog for this domain is reachable or not.
        type: boolean
      installedQfes:
        description: The list of installed QFEs for the server.
        items:
          $ref: "#/definitions/Hotfix"
        type: array
      isAdvertising:
        description: Indicates if the Dc is advertising or not.
        type: boolean
      lastDisabled:
        description: The date and time , in UTC, when the server was last disabled.
        format: date-time
        type: string
      lastReboot:
        description: The date and time, in UTC, when the server was last rebooted.
        format: date-time
        type: string
      lastServerReportedMonitoringLevelChange:
        description: The date and time, in UTC, when the server's data monitoring configuration was last changed.
        format: date-time
        type: string
      lastUpdated:
        description: The date and time, in UTC, when the server properties were last updated.
        format: date-time
        type: string
      machineId:
        description: The id of the machine.
        type: string
      machineName:
        description: The name of the server.
        type: string
      monitoringConfigurationsComputed:
        description: The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
        items:
          $ref: "#/definitions/Item"
        type: array
      monitoringConfigurationsCustomized:
        description: The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
        items:
          $ref: "#/definitions/Item"
        type: array
      osName:
        description: The name of the operating system installed in the machine.
        type: string
      osVersion:
        description: The version of the operating system installed in the machine.
        type: string
      pdcReachable:
        description: Indicates if the primary domain controller is reachable or not.
        type: boolean
      properties:
        description: Server specific properties.
        items:
          $ref: "#/definitions/Item"
        type: array
      recommendedQfes:
        description: The list of recommended hotfixes for the server.
        items:
          $ref: "#/definitions/Hotfix"
        type: array
      resolvedAlerts:
        description: The total count of alerts that are resolved for this server.
        type: integer
      role:
        description: The service role that is being monitored in the server.
        type: string
      serverReportedMonitoringLevel:
        description: The monitoring level reported by the server.
        enum:
          - Partial
          - Full
          - Off
        type: string
        x-ms-enum:
          modelAsString: false
          name: MonitoringLevel
      serviceId:
        description: The service id to whom this server belongs.
        type: string
      serviceMemberId:
        description: The id of the server.
        type: string
      siteName:
        description: The site name.
        type: string
      status:
        description: The health status of the server.
        type: string
      sysvolState:
        description: Indicates if the SYSVOL state is healthy or not.
        type: boolean
      tenantId:
        description: The tenant id to whom this server belongs.
        type: string
    type: object
  AddsServiceMembers:
    description: The list of  ADDS service members.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of service members.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/AddsServiceMember"
        type: array
    type: object
  Agent:
    description: The agent details.
    properties:
      agentVersion:
        description: The agent version.
        type: string
      createdDate:
        description: The date and time, in UTC, when the agent was created.
        format: date-time
        type: string
      credential:
        description: The agent credential details.
        items:
          $ref: "#/definitions/Credential"
        type: object
      key:
        description: " The connector hash key."
        type: string
      machineId:
        description: The machine Id.
        type: string
      machineName:
        description: The machine name.
        type: string
      tenantId:
        description: The tenant Id.
        type: string
    type: object
  Alert:
    description: " The alert details indicating an issue with service or server."
    properties:
      activeAlertProperties:
        description: The active alert properties.
        items:
          $ref: "#/definitions/Item"
        type: array
      additionalInformation:
        description: Additional information related to the alert.
        items:
          $ref: "#/definitions/AdditionalInformation"
        type: array
      alertId:
        description: The alert Id.
        format: uuid
        type: string
      createdDate:
        description: The date and time,in UTC,when the alert was created.
        format: date-time
        type: string
      description:
        description: The alert description.
        type: string
      displayName:
        description: The display name for the alert.
        type: string
      lastUpdated:
        description: The date and time, in UTC, when the alert was last updated.
        format: date-time
        type: string
      level:
        description: The alert level which indicates the severity of the alert.
        enum:
          - Warning
          - Error
          - PreWarning
        type: string
        x-ms-enum:
          modelAsString: true
          name: Level
      monitorRoleType:
        description: The monitoring role type for which the alert was raised.
        type: string
      relatedLinks:
        description: The help links to get more information related to the alert.
        items:
          $ref: "#/definitions/HelpLink"
        type: array
      remediation:
        description: The alert remediation.
        type: string
      resolvedAlertProperties:
        description: The resolved alert properties.
        items:
          $ref: "#/definitions/Item"
        type: array
      resolvedDate:
        description: The date and time, in UTC, when the alert was resolved.
        format: date-time
        type: string
      scope:
        description: The scope of the alert. Indicates if it is a service or a server related alert.
        type: string
      serviceId:
        description: The service Id.
        format: uuid
        type: string
      serviceMemberId:
        description: The server Id.
        format: uuid
        type: string
      shortName:
        description: The alert short name.
        type: string
      state:
        description: The alert state which can be either active or resolved with multiple resolution types.
        enum:
          - Active
          - ResolvedByPositiveResult
          - ResolvedManually
          - ResolvedByTimer
          - ResolvedByStateChange
        type: string
        x-ms-enum:
          modelAsString: true
          name: State
      tenantId:
        description: The tenant Id.
        format: uuid
        type: string
    type: object
  AlertFeedback:
    description: The alert feedback details.
    properties:
      comment:
        description: Additional comments related to the alert.
        type: string
      consentedToShare:
        description: Indicates if the alert feedback can be shared from product team.
        type: boolean
      createdDate:
        description: The date and time,in UTC,when the alert was created.
        format: date-time
        type: string
      feedback:
        description: The feedback for the alert which indicates if the customer likes or dislikes the alert.
        type: string
      level:
        description: The alert level which indicates the severity of the alert.
        type: string
      serviceMemberId:
        description: The server Id of the alert.
        type: string
      shortName:
        description: The alert short name.
        type: string
      state:
        description: The alert state which can be either active or resolved with multiple resolution types.
        type: string
    type: object
  AlertFeedbacks:
    description: The list of alert feedback.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/AlertFeedback"
        type: array
    type: object
  Alerts:
    description: The list of alerts for a service.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of alert elements.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Alert"
        type: array
    type: object
  AssociatedObject:
    description: Object that hold sync object details.
    properties:
      displayName:
        description: The display name of the object.
        type: string
      distinguishedName:
        description: The distinguished name of the object.
        type: string
      lastDirSyncTime:
        description: The last dirSync time.
        format: date-time
        type: string
      mail:
        description: The email of the object.
        type: string
      objectGuid:
        description: The object guid.
        type: string
      objectType:
        description: The object type.
        type: string
      onpremisesUserPrincipalName:
        description: The On-premises UPN.
        type: string
      proxyAddresses:
        description: The proxy addresses.
        type: string
      sourceAnchor:
        description: The source anchor.
        type: string
      sourceOfAuthority:
        description: The source of authority.
        type: string
      timeOccurred:
        description: " The time of the error."
        format: date-time
        type: string
      userPrincipalName:
        description: " The UPN."
        type: string
    type: object
  AttributeDelta:
    description: The delta attributes.
    properties:
      multiValued:
        description: Indicates if the attribute delta is multivalued or not.
        type: boolean
      name:
        description: The name of the attribute delta.
        type: string
      operationType:
        description: The attribute delta operation type.
        enum:
          - Undefined
          - Add
          - Replace
          - Update
          - Delete
        type: string
        x-ms-enum:
          modelAsString: true
          name: AttributeDeltaOperationType
      valueType:
        description: The value type.
        enum:
          - Undefined
          - Dn
          - Binary
          - String
          - Integer
          - Boolean
        type: string
        x-ms-enum:
          modelAsString: true
          name: ValueType
      values:
        description: The delta values.
        items:
          $ref: "#/definitions/ValueDelta"
        type: array
    type: object
  AttributeMapping:
    description: The attribute mapping details.
    properties:
      contextId:
        description: The context Id.
        type: string
      destinationAttribute:
        description: The destination attribute.
        type: string
      mappingSource:
        $ref: "#/definitions/AttributeMppingSource"
        description: The mapping source.
      type:
        description: The attribute mapping type.
        enum:
          - Constant
          - Direct
          - DnPart
          - Script
        type: string
        x-ms-enum:
          modelAsString: true
          name: AttributeMappingType
    type: object
  AttributeMppingSource:
    description: The attribute mapping source.
    properties:
      constantValue:
        description: The constant value.
        type: string
      dnPart:
        description: The value for dn part.
        type: integer
      scriptContext:
        description: The script context.
        type: string
      sourceAttribute:
        description: The source attribute.
        items:
          type: string
        type: array
    type: object
  ChangeNotReimported:
    description: The changes which are not re-imported.
    properties:
      delta:
        $ref: "#/definitions/ChangeNotReimportedDelta"
        description: The delta changes that is not re-imported.
      entry:
        $ref: "#/definitions/ChangeNotReimportedEntry"
        description: The object entry in a change that is not re-imported.
    type: object
  ChangeNotReimportedDelta:
    description: The delta in a change that is not re-imported.
    properties:
      anchor:
        description: The anchor.
        type: string
      attributes:
        description: The attributes.
        items:
          $ref: "#/definitions/AttributeDelta"
        type: array
      dnAttributes:
        description: The delta attributes for distinguished names.
        items:
          $ref: "#/definitions/AttributeDelta"
        type: array
      operationType:
        description: The operation type.
        enum:
          - Undefined
          - None
          - Add
          - Replace
          - Update
          - Delete
          - Obsolete
          - DeleteAdd
        type: string
        x-ms-enum:
          modelAsString: true
          name: DeltaOperationType
    type: object
  ChangeNotReimportedEntry:
    description: The object entry in a change that is not re-imported.
    properties:
      anchor:
        description: The anchor.
        type: string
      attributes:
        description: The attributes.
        items:
          $ref: "#/definitions/AttributeDelta"
        type: array
      dn:
        description: The distinguished name.
        type: string
      dnAttributes:
        description: The delta attributes for distinguished names.
        items:
          $ref: "#/definitions/AttributeDelta"
        type: array
      objectClasses:
        description: The list of object classes.
        items:
          type: string
        type: array
      parentAnchor:
        description: The parent anchor.
        type: string
      primaryObjectClass:
        description: The primary object class.
        type: string
    type: object
  Connector:
    description: The connect details.
    properties:
      attributesIncluded:
        description: The attribute inclusion list of the connector.
        items:
          type: string
        type: array
      classesIncluded:
        description: The class inclusion list of the connector.
        items:
          type: string
        type: array
      connectorId:
        description: The connector Id.
        type: string
      description:
        description: The connector description.
        type: string
      id:
        description: The connector Id.
        type: string
      name:
        description: The connector name.
        type: string
      partitions:
        description: The partitions of the connector.
        items:
          $ref: "#/definitions/Partition"
        type: array
      passwordHashSyncConfiguration:
        description: The password hash synchronization configuration of the connector.
        items:
          $ref: "#/definitions/PasswordHashSyncConfiguration"
        type: object
      passwordManagementSettings:
        description: The password management settings of the connector.
        items:
          $ref: "#/definitions/PasswordManagementSettings"
        type: object
      runProfiles:
        description: The run profiles of the connector.
        items:
          $ref: "#/definitions/RunProfile"
        type: array
      schemaXml:
        description: The schema xml for the connector.
        type: string
      timeCreated:
        description: The date and time when this connector was created.
        format: date-time
        type: string
      timeLastModified:
        description: The date and time when this connector was last modified.
        format: date-time
        type: string
      type:
        description: The connector type.
        type: string
      version:
        description: The connector version
        type: integer
    type: object
  ConnectorConnectionError:
    description: The connector connection error.
    properties:
      connectorId:
        description: The connector Id.
        type: string
      errorCode:
        description: The error code.
        type: string
      id:
        description: The error Id.
        type: string
      message:
        description: The message for the connection error.
        type: string
      runStepResultId:
        description: The run step result Id.
        type: string
      server:
        description: The server where the connection error happened.
        type: string
      timeOccured:
        description: The time when the connection error occurred.
        format: date-time
        type: string
      type:
        description: The type of error.
        type: string
    type: object
  ConnectorConnectionErrors:
    description: The list of connector connection errors.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ConnectorConnectionError"
        type: array
    type: object
  ConnectorMetadata:
    description: Gets the list of connectors and run profile names.
    properties:
      connectors:
        description: The list of connectors.
        items:
          $ref: "#/definitions/ConnectorMetadataDetails"
        type: array
      runProfileNames:
        description: The list of run profile names.
        items:
          type: string
        type: array
    type: object
  ConnectorMetadataDetails:
    description: Details of the connector.
    properties:
      connectorDisplayName:
        description: The Connector Display Name
        type: string
      connectorId:
        description: The Connector Id.
        type: string
    type: object
  ConnectorObjectError:
    description: The connector object error.
    properties:
      anchor:
        description: The name for the anchor of the object.
        type: string
      attributeName:
        description: The attribute name of the object.
        type: string
      columnNumber:
        description: The column number for the object error.
        type: integer
      connectorId:
        description: The connector Id.
        type: string
      dn:
        description: The distinguished name of the object.
        type: string
      entryNumber:
        description: The entry number for object error occurred.
        type: integer
      errorCode:
        description: The error code.
        type: string
      id:
        description: The error Id.
        type: string
      lineNumber:
        description: The line number for the object error.
        type: integer
      message:
        description: The message for the object error.
        type: string
      runStepResultId:
        description: The run step result Id.
        type: string
      serverErrorDetail:
        description: The server side error details.
        type: string
      type:
        description: The type of error.
        type: string
      values:
        description: The value corresponding to attribute name.
        items:
          type: string
        type: array
    type: object
  ConnectorObjectErrors:
    description: The list of connector object errors.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ConnectorObjectError"
        type: array
    type: object
  Connectors:
    description: The list of connects for a service.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Connector"
        type: array
    type: object
  Credential:
    description: The credential for a given server.
    properties:
      credentialData:
        description: The credential data.
        items:
          type: string
        type: array
      identifier:
        description: The credential identifier.
        type: string
      type:
        description: The type of credential.
        type: string
    type: object
  Credentials:
    description: The list of agent credentials.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Credential"
        type: array
    type: object
  DataFreshnessDetails:
    description: The data freshness details for the server.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Item"
        type: array
    type: object
  Dimension:
    description: The connector object error.
    properties:
      activeAlerts:
        description: The count of alerts that are currently active for the service.
        type: integer
      additionalInformation:
        description: The additional information related to the service.
        type: string
      displayName:
        description: The display name of the service.
        type: string
      health:
        description: The health status for the domain controller.
        enum:
          - Healthy
          - Warning
          - Error
          - NotMonitored
          - Missing
        type: string
        x-ms-enum:
          modelAsString: true
          name: HealthStatus
      lastUpdated:
        description: The date or time , in UTC, when the service properties were last updated.
        format: date-time
        type: string
      resolvedAlerts:
        description: The total count of alerts that has been resolved for the service.
        type: integer
      signature:
        description: The signature of the service.
        type: string
      simpleProperties:
        description: List of service specific configuration properties.
        items:
          $ref: "#/definitions/Item"
        type: object
      type:
        description: The 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.
        type: string
    type: object
  Dimensions:
    description: The list of dimensions.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of dimensions.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Dimension"
        type: array
    type: object
  Display:
    description: Displays the details related to operations supported by Azure Active Directory Connect Health.
    properties:
      description:
        description: " The description for the operation."
        type: string
      operation:
        description: The details of the operation.
        type: string
      provider:
        description: The provider name.
        type: string
    type: object
  ErrorCount:
    description: The error count details.
    properties:
      count:
        description: The error count.
        type: integer
      errorBucket:
        description: The error bucket.
        type: string
      truncated:
        description: Indicates if the error count is truncated or not.
        type: boolean
    type: object
  ErrorCounts:
    description: The list of error counts.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ErrorCount"
        type: array
    type: object
  ErrorDetail:
    description: The error details.
    properties:
      description:
        description: The error description.
        type: string
      detail:
        description: Additional details related to the error.
        type: string
      kbUrl:
        description: The knowledge base article url which contains more information about the error.
        type: string
      objectWithSyncError:
        $ref: "#/definitions/MergedExportError"
        description: " The object with sync error."
      objectsWithSyncError:
        $ref: "#/definitions/ObjectWithSyncError"
        description: The list of objects with sync errors.
    type: object
  ErrorReportUsersEntries:
    description: The list of bad password log in attempt entries.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ErrorReportUsersEntry"
        type: array
    type: object
  ErrorReportUsersEntry:
    description: The bad password login attempt details.
    properties:
      ipAddress:
        description: The Ip address corresponding to the last error event.
        type: string
      lastUpdated:
        description: The date and time when the last error event was logged.
        format: date-time
        type: string
      totalErrorAttempts:
        description: The total count of specific error events.
        type: integer
      uniqueIpAddresses:
        description: The list of unique IP addresses.
        type: string
      userId:
        description: The user ID value.
        type: string
    type: object
  ExportError:
    description: The export error details.
    properties:
      aadDisplayName:
        description: The AAD side display name
        type: string
      aadDistinguishedName:
        description: The AAD side distinguished name for the object.
        type: string
      aadMail:
        description: The AAD side email for the object.
        type: string
      aadObjectGuid:
        description: The AAD side object guid.
        type: string
      aadObjectType:
        description: The AAD side object type.
        type: string
      aadSourceOfAuthority:
        description: The AAD side source of authority for the object.
        type: string
      aadUserPrincipalName:
        description: The AAD side user principal name.
        type: string
      adDisplayName:
        description: The display name for the AD object.
        type: string
      adDistinguishedName:
        description: The distinguished name for the AD object.
        type: string
      adMail:
        description: The email for the AD object.
        type: string
      adObjectGuid:
        description: The AD object guid.
        type: string
      adObjectType:
        description: The AD object type
        type: string
      adSourceAnchor:
        description: The AD source anchor.
        type: string
      adSourceOfAuthority:
        description: The source of authority for the AD object.
        type: string
      adUserPrincipalName:
        description: The user principal name for the AD object.
        type: string
      attributeMultiValue:
        description: Indicates if the attribute is multi valued or not.
        type: boolean
      attributeName:
        description: The attribute name.
        type: string
      attributeValue:
        description: The attribute value.
        type: string
      cloudAnchor:
        description: The name of the cloud anchor.
        type: string
      connectorId:
        description: The connector Id.
        type: string
      csObjectId:
        description: The cloud object Id.
        type: string
      dn:
        description: The distinguished name.
        type: string
      errorCode:
        description: The error code.
        type: string
      id:
        description: The error Id.
        type: string
      lastDirSyncTime:
        description: The date and time of last sync run.
        format: date-time
        type: string
      maxLimit:
        description: The maximum limit.
        type: string
      message:
        description: The export error message.
        type: string
      minLimit:
        description: The minimum limit.
        type: string
      modifiedAttributeValue:
        description: The modified attribute value.
        type: string
      objectIdConflict:
        description: The object Id with which there was an attribute conflict.
        type: string
      retryCount:
        description: The retry count.
        type: integer
      runStepResultId:
        description: The run step result Id.
        type: string
      samAccountName:
        description: The SAM account name.
        type: string
      serverErrorDetail:
        description: The server error detail.
        type: string
      timeFirstOccured:
        description: The date and time when the export error first occurred.
        format: date-time
        type: string
      timeOccured:
        description: The date and time of occurrence.
        format: date-time
        type: string
      type:
        description: The type of error.
        type: string
    type: object
  ExportErrors:
    description: The list of export errors.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ExportError"
        type: array
    type: object
  ExportStatus:
    description: The details of the export status.
    properties:
      endTime:
        description: The date and time when the export ended.
        format: date-time
        type: string
      runStepResultId:
        description: The run step result Id.
        type: string
      serviceId:
        description: The id of the service for whom the export status is being reported.
        format: uuid
        type: string
      serviceMemberId:
        description: The server Id for whom the export status is being reported.
        format: uuid
        type: string
    type: object
  ExportStatuses:
    description: The list of export statuses.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of service elements.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ExportStatus"
        type: array
    type: object
  ExtensionErrorInfo:
    description: The extension error details.
    properties:
      callStack:
        description: The call stack for the error.
        type: string
      extensionContext:
        description: The extension context.
        type: string
      extensionName:
        description: The extension name.
        type: string
    type: object
  ForestSummary:
    description: The forest summary for an ADDS domain.
    properties:
      domainCount:
        description: The domain count.
        type: integer
      domains:
        description: The list of domain controller names.
        items:
          type: string
        type: array
      forestName:
        description: The forest name.
        type: string
      monitoredDcCount:
        description: The number of domain controllers that are monitored by Azure Active Directory Connect Health.
        type: integer
      siteCount:
        description: The site count.
        type: integer
      sites:
        description: The list of site names.
        items:
          type: string
        type: array
      totalDcCount:
        description: The total domain controllers.
        type: integer
    type: object
  GlobalConfiguration:
    description: The global configuration settings.
    properties:
      featureSet:
        description: The list of additional feature sets.
        items:
          $ref: "#/definitions/Item"
        type: array
      numSavedPwdEvent:
        description: The number of saved password events.
        type: integer
      passwordSyncEnabled:
        description: Indicates if password sync is enabled or not.
        type: boolean
      schemaXml:
        description: The schema for the configuration.
        type: string
      version:
        description: The version for the global configuration.
        type: integer
    type: object
  GlobalConfigurations:
    description: The list of global configurations.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/GlobalConfiguration"
        type: array
    type: object
  HelpLink:
    description: The help link which contains more information related to an alert.
    properties:
      title:
        description: The title for the link.
        type: string
      url:
        description: The url for the help document.
        type: string
    type: object
  Hotfix:
    description: The details of the hotfix installed in the server.
    properties:
      installedDate:
        description: The date and time, in UTC, when the KB was installed in the server.
        format: date-time
        type: string
      kbName:
        description: The name of the hotfix KB.
        type: string
      link:
        description: The link to the KB Article.
        type: string
    type: object
  Hotfixes:
    description: The list of hotfixes installed in the server.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Hotfix"
        type: array
    type: object
  ImportError:
    description: The import error details.
    properties:
      algorithmStepType:
        description: The operation type specific  to error reporting.
        enum:
          - Undefined
          - Staging
          - ConnectorFilter
          - Join
          - Projection
          - ImportFlow
          - Provisioning
          - ValidateConnectorFilter
          - Deprovisioning
          - ExportFlow
          - MvDeletion
          - Recall
          - MvObjectTypeChange
        type: string
        x-ms-enum:
          modelAsString: true
          name: AlgorithmStepType
      changeNotReimported:
        $ref: "#/definitions/ChangeNotReimported"
        description: The change details that is not re-imported.
      connectorId:
        description: The connector Id.
        type: string
      csObjectId:
        description: The object Id.
        type: string
      dn:
        description: The distinguished name.
        type: string
      extensionErrorInfo:
        $ref: "#/definitions/ExtensionErrorInfo"
        description: The extension error information.
      id:
        description: The error Id.
        type: string
      retryCount:
        description: The retry count.
        type: integer
      ruleErrorInfo:
        $ref: "#/definitions/RuleErrorInfo"
        description: The error details in legacy rule processing.
      runStepResultId:
        description: The run step result Id.
        type: string
      timeFirstOccurred:
        description: The time when the import error first occurred.
        format: date-time
        type: string
      timeOccurred:
        description: The time when the import error occurred.
        format: date-time
        type: string
      type:
        description: The type of error.
        type: string
    type: object
  ImportErrors:
    description: The list of import errors.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ImportError"
        type: array
    type: object
  InboundReplicationNeighbor:
    description: The replication summary for the domain controller inbound neighbor.
    properties:
      additionalInfo:
        description: The additional details.
        type: string
      consecutiveFailureCount:
        description: The number of consecutive failure counts.
        type: integer
      errorDescription:
        description: The error description.
        type: string
      errorTitle:
        description: The error title.
        type: string
      fixDetails:
        description: The details of the fix.
        type: string
      fixLink:
        description: The link for the fix of the error.
        type: string
      lastAttemptedSync:
        description: The last time a sync was attempted on the domain controller.
        format: date-time
        type: string
      lastErrorCode:
        description: The last error code.
        type: integer
      lastErrorMessage:
        description: The error message of the last error.
        type: string
      lastSuccessfulSync:
        description: The last time when a successful sync happened.
        format: date-time
        type: string
      namingContext:
        description: The naming context.
        type: string
      sourceDomainController:
        description: The name of the source domain controller.
        type: string
      status:
        description: The health status for the domain controller
        type: integer
    type: object
  InboundReplicationNeighbors:
    description: The list of replication summary for the domain controller inbound neighbor.
    properties:
      value:
        description: The details of inbound replication neighbors.
        items:
          $ref: "#/definitions/InboundReplicationNeighbor"
        type: array
    type: object
  Item:
    description: The key value pair for properties.
    properties:
      key:
        description: The key for the property.
        type: string
      value:
        description: The value for the key.
        type: string
    type: object
  Items:
    description: The list of key value properties.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Item"
        type: array
    type: object
  MergedExportError:
    description: The merged export error.
    properties:
      attributeName:
        description: The attribute name.
        type: string
      attributeValue:
        description: The attribute value.
        type: string
      createdDate:
        description: The date and time, in UTC, when the error was created.
        format: date-time
        type: string
      csObjectId:
        description: " the cs object Id."
        type: string
      dn:
        description: the DN of the object.
        type: string
      existingObject:
        $ref: "#/definitions/AssociatedObject"
        description: The existing object
      exportErrorStatus:
        description: The export error status.
        type: integer
      id:
        description: The error Id.
        type: string
      incomingObject:
        $ref: "#/definitions/AssociatedObject"
        description: The incoming object details.
      incomingObjectDisplayName:
        description: The incoming object display name.
        type: string
      incomingObjectType:
        description: The incoming object type.
        type: string
      mergedEntityId:
        description: The merged entity Id.
        format: uuid
        type: string
      modifiedOrRemovedAttributeValue:
        description: The modified or removed attribute value.
        type: string
      runStepResultId:
        description: The run step result Id.
        format: uuid
        type: string
      samAccountName:
        description: The sam account name.
        type: string
      serverErrorDetail:
        description: The server error details.
        type: string
      serviceId:
        description: The service Id.
        format: uuid
        type: string
      serviceMemberId:
        description: The server Id.
        format: uuid
        type: string
      timeFirstOccurred:
        description: The time when the error first occurred.
        format: date-time
        type: string
      timeOccurred:
        description: The date and time when the error occurred.
        format: date-time
        type: string
      type:
        description: The type of the error.
        type: string
      userPrincipalName:
        description: The user principal name
        type: string
    type: object
  MergedExportErrors:
    description: The list of export errors.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/MergedExportError"
        type: array
    type: object
  MetricGroup:
    description: " The metric group details."
    properties:
      displayName:
        description: The display name for the group.
        type: string
      invisibleForUi:
        description: indicates if the metric group is displayed in Azure Active Directory Connect Health UI.
        type: boolean
      key:
        description: The key for the group.
        type: string
    type: object
  MetricMetadata:
    description: The metric meta data
    properties:
      displayName:
        description: The display name for the metric.
        type: string
      groupings:
        description: The groupings for the metrics.
        items:
          $ref: "#/definitions/MetricGroup"
        type: array
      isDefault:
        description: Indicates if the metric is a default metric or not.
        type: boolean
      isDevOps:
        description: Indicates if the metric is visible to DevOps or not.
        type: boolean
      isPerfCounter:
        description: Indicates if the metric is a performance counter metric or not.
        type: boolean
      kind:
        description: Indicates whether the dashboard to represent the metric is a line, bar,pie, area or donut chart.
        type: string
      maxValue:
        description: The maximum value.
        type: integer
      metricName:
        description: The metric name
        type: string
      metricsProcessorClassName:
        description: The name of the class which retrieve and process the metric.
        type: string
      minValue:
        description: The minimum value.
        type: integer
      valueKind:
        description: Indicates if the metrics is a rate,value, percent or duration type.
        type: string
    type: object
  MetricMetadataList:
    description: The list of metric metadata.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of service elements.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/MetricMetadata"
        type: array
    type: object
  MetricSet:
    description: " The set of metric values. Example of a MetricSet are Values of token requests for a Server1 or RelyingParty1."
    properties:
      setName:
        description: The name of the set.
        type: string
      values:
        description: The list of the metric values.
        items:
          type: integer
        type: array
    type: object
  MetricSets:
    description: The metrics data represented set.
    properties:
      sets:
        description: The list of metric set.
        items:
          $ref: "#/definitions/MetricSet"
        type: array
      timeStamps:
        description: The list of timestamps for each metric in the metric set.
        items:
          format: date-time
          type: string
        type: array
    type: object
  Metrics:
    description: The list of metric items.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of metrics.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/Item"
        type: array
    type: object
  ModuleConfiguration:
    description: The module configuration as required by the Agent service.
    properties:
      agentService:
        description: The name of agent service.
        type: string
      moduleName:
        description: The name of the module for which the configuration is applicable.
        type: string
      properties:
        additionalProperties:
          type: string
        description: The key value pairs of properties required for configuration.
        type: object
    type: object
  ModuleConfigurations:
    description: The list of module configurations.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ModuleConfiguration"
        type: array
    type: object
  ObjectWithSyncError:
    description: The objects with sync errors.
    properties:
      attributeMultiValues:
        description: Indicates if the attribute is multi-valued or not.
        type: boolean
      attributeName:
        description: The attribute name.
        type: string
      attributeValue:
        description: The attribute value.
        type: string
      displayName:
        description: The display name.
        type: string
      distinguishedName:
        description: The distinguished name.
        type: string
      errorType:
        description: The error type.
        type: string
      mail:
        description: The email.
        type: string
      maxLimit:
        description: The maximum limit.
        type: string
      minLimit:
        description: The minimum limit.
        type: string
      modififedValue:
        description: The modified value.
        type: string
      objectGuid:
        description: The object guid.
        type: string
      objectType:
        description: The object type.
        type: string
      sourceAnchor:
        description: The source anchor.
        type: string
      sourceOfAuthority:
        description: The source of authority.
        type: string
      timeOccured:
        description: The date and time of occurrence.
        format: date-time
        type: string
      userPrincipalName:
        description: The user principal name.
        type: string
    type: object
  Operation:
    description: The details of the operation.
    properties:
      display:
        description: The display details for the operation.
        items:
          $ref: "#/definitions/Display"
        type: object
      name:
        description: The name of the operation.
        type: string
    type: object
  OperationListResponse:
    description: Lists all of the available REST API operations for Azure Active Directory Connect Health.
    properties:
      continuationToken:
        description: The continuation token to get next set of operations.
        type: string
      nextLink:
        description: URL to get the next set of operation list results if there are any.
        readOnly: true
        type: string
      totalCount:
        description: The total count of operations.
        type: integer
      value:
        description: List of operations supported by the Microsoft.ADHybridHealthService resource provider.
        items:
          $ref: "#/definitions/Operation"
        readOnly: true
        type: array
    type: object
  Partition:
    description: Describes the partition in Synchronization service.
    properties:
      dn:
        description: The distinguished name for the partition.
        type: string
      enabled:
        description: Indicates if the partition object is selected or not.
        type: boolean
      id:
        description: The partition Id.
        type: string
      isDomain:
        description: Indicates if the partition is a domain or not.
        type: boolean
      name:
        description: The name of the partition.
        type: string
      partitionScope:
        $ref: "#/definitions/PartitionScope"
        description: The scope of the partition.
      timeCreated:
        description: The date and time when the partition is created.
        format: date-time
        type: string
      timeLastModified:
        description: The time and date when the partition was last modified.
        format: date-time
        type: string
      type:
        description: The partition type.
        type: string
    type: object
  PartitionScope:
    description: The connector partition scope.
    properties:
      containersExcluded:
        description: The list of containers excluded.
        items:
          type: string
        type: array
      containersIncluded:
        description: The list of containers included.
        items:
          type: string
        type: array
      isDefault:
        description: Indicates if the partition scope is default or not.
        type: boolean
      objectClasses:
        description: The in-scope object classes.
        items:
          type: string
        type: array
    type: object
  PasswordHashSyncConfiguration:
    description: The password has synchronization configuration settings.
    properties:
      enabled:
        description: Indicates if the password hash synchronization configuration settings is enabled.
        type: boolean
      target:
        description: The target.
        type: string
    type: object
  PasswordManagementSettings:
    description: The password management settings.
    properties:
      connectTo:
        description: Connection point of password management.
        type: string
      connectionTimeout:
        description: Connection timeout for password extension.
        type: integer
      enabled:
        description: Indicates if the password extension is enabled.
        type: boolean
      extensionFilePath:
        description: The file path of the password management extension.
        type: string
      maximumRetryCount:
        description: The maximum number of retries.
        type: integer
      requiresSecureConnection:
        description: Indicates if a secure connection is required for password management.
        type: boolean
      retryIntervalInSeconds:
        description: The time between retries.
        type: integer
      supportedPasswordOperations:
        description: The supported password operations.
        enum:
          - Undefined
          - Set
          - Change
        type: string
        x-ms-enum:
          modelAsString: true
          name: PasswordOperationTypes
      unlockAccount:
        description: Indicates if accounts should be unlocked when resetting password.
        type: boolean
      user:
        description: User to execute password extension.
        type: string
    type: object
  ReplicationDetailsList:
    description: The list of replication details.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of replication detail elements.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ReplicationSummary"
        type: array
    type: object
  ReplicationStatus:
    description: " Replication summary for a domain controller."
    properties:
      errorDcCount:
        description: The total number of domain controllers with error in a given forest.
        type: integer
      forestName:
        description: The forest name.
        type: string
      totalDcCount:
        description: The total number of domain controllers for a given forest.
        type: integer
    type: object
  ReplicationSummary:
    description: The replication summary for a domain controller.
    properties:
      domain:
        description: The domain name for a given domain controller.
        type: string
      inboundNeighborCollection:
        description: List of individual domain controller neighbor's inbound replication status.
        items:
          $ref: "#/definitions/InboundReplicationNeighbor"
        type: array
      lastAttemptedSync:
        description: The last time when a sync was attempted for a given domain controller.
        format: date-time
        type: string
      lastSuccessfulSync:
        description: The time when the last successful sync happened for a given domain controller.
        format: date-time
        type: string
      site:
        description: The site name for a given domain controller.
        type: string
      status:
        description: The health status for a domain controller.
        type: integer
      targetServer:
        description: The domain controller name.
        type: string
    type: object
  ReplicationSummaryList:
    description: The list of replication summary details.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ReplicationSummary"
        type: array
    type: object
  Result:
    description: The result for an operation.
    properties:
      value:
        description: The value.
        type: boolean
    type: object
  RiskyIPBlobUri:
    description: The blob uri pointing to Risky IP Report.
    properties:
      blobCreateDateTime:
        description: Time at which the new Risky IP report was requested.
        format: date-time
        type: string
      jobCompletionTime:
        description: Time at which the blob creation job for the new Risky IP report was completed.
        format: date-time
        type: string
      resultSasUri:
        description: The blob uri for the report.
        type: string
      serviceId:
        description: The service id for whom the report belongs to.
        type: string
      status:
        description: Status of the Risky IP report generation.
        type: string
      tenantId:
        description: The tenant id for whom the report belongs to.
        type: string
    type: object
  RiskyIPBlobUris:
    description: The list containing blob uris.
    properties:
      value:
        description: The list of blob uris.
        items:
          $ref: "#/definitions/RiskyIPBlobUri"
        type: array
    type: object
  RuleErrorInfo:
    description: The error details in legacy rule processing.
    properties:
      attributeMapping:
        $ref: "#/definitions/AttributeMapping"
        description: The attribute mapping details.
      connectorId:
        description: The connector Id.
        type: string
      connectorName:
        description: The connector name.
        type: string
      csObjectId:
        description: The object Id.
        type: string
      dn:
        description: The distinguished name.
        type: string
    type: object
  RunProfile:
    description: Describes the run profile.
    properties:
      id:
        description: The run profile Id.
        type: string
      name:
        description: The run profile name
        type: string
      runSteps:
        description: The run steps of the run profile.
        items:
          $ref: "#/definitions/RunStep"
        type: array
    type: object
  RunProfiles:
    description: The list of run profiles.
    properties:
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/RunProfile"
        type: array
    type: object
  RunStep:
    description: The run step for a run profile.
    properties:
      batchSize:
        description: The batch size used by the run step.
        type: integer
      objectDeleteLimit:
        description: The object deletion limit.
        type: integer
      objectProcessLimit:
        description: The object processing limit.
        type: integer
      operationType:
        description: The run step operation types.
        type: integer
      pageSize:
        description: The page size of the run step.
        type: integer
      partitionId:
        description: The Id of the partition that a current run step operation is executing.
        type: string
      timeout:
        description: The operation timeout.
        type: integer
    type: object
  ServiceConfiguration:
    description: The service configuration
    properties:
      serviceAccount:
        description: The service account.
        type: string
      serviceType:
        description: The service type of the server.
        type: integer
      sqlDatabaseName:
        description: The SQL database.
        type: string
      sqlDatabaseSize:
        description: The SQL database size.
        type: integer
      sqlEdition:
        description: The SQL edition
        type: string
      sqlInstance:
        description: The SQL instance details.
        type: string
      sqlServer:
        description: The SQL server information.
        type: string
      sqlVersion:
        description: The SQL version.
        type: string
      version:
        description: The version of the sync service.
        type: string
    type: object
  ServiceMember:
    description: The server properties for a given service.
    properties:
      activeAlerts:
        description: The total number of alerts that are currently active for the server.
        type: integer
      additionalInformation:
        description: The additional information, if any, for the server.
        type: string
      createdDate:
        description: The date time , in UTC, when the server was onboarded to Azure Active Directory Connect Health.
        format: date-time
        type: string
      dimensions:
        description: The server specific configuration related dimensions.
        items:
          $ref: "#/definitions/Item"
        type: object
      disabled:
        description: "Indicates if the server is disabled or not. "
        type: boolean
      disabledReason:
        description: The reason for disabling the server.
        type: integer
      installedQfes:
        description: The list of installed QFEs for the server.
        items:
          $ref: "#/definitions/Hotfix"
        type: object
      lastDisabled:
        description: The date and time , in UTC, when the server was last disabled.
        format: date-time
        type: string
      lastReboot:
        description: The date and time, in UTC, when the server was last rebooted.
        format: date-time
        type: string
      lastServerReportedMonitoringLevelChange:
        description: The date and time, in UTC, when the server's data monitoring configuration was last changed.
        format: date-time
        type: string
      lastUpdated:
        description: The date and time, in UTC, when the server properties were last updated.
        format: date-time
        type: string
      machineId:
        description: The id of the machine.
        type: string
      machineName:
        description: The name of the server.
        type: string
      monitoringConfigurationsComputed:
        description: The monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
        items:
          $ref: "#/definitions/Item"
        type: object
      monitoringConfigurationsCustomized:
        description: The customized monitoring configuration of the server which determines what activities are monitored by Azure Active Directory Connect Health.
        items:
          $ref: "#/definitions/Item"
        type: object
      osName:
        description: The name of the operating system installed in the machine.
        type: string
      osVersion:
        description: The version of the operating system installed in the machine.
        type: string
      properties:
        description: Server specific properties.
        items:
          $ref: "#/definitions/Item"
        type: object
      recommendedQfes:
        description: The list of recommended hotfixes for the server.
        items:
          $ref: "#/definitions/Hotfix"
        type: object
      resolvedAlerts:
        description: The total count of alerts that are resolved for this server.
        type: integer
      role:
        description: The service role that is being monitored in the server.
        type: string
      serverReportedMonitoringLevel:
        description: The monitoring level reported by the server.
        enum:
          - Partial
          - Full
          - Off
        type: string
        x-ms-enum:
          modelAsString: false
          name: MonitoringLevel
      serviceId:
        description: The service id to whom this server belongs.
        type: string
      serviceMemberId:
        description: The id of the server.
        type: string
      status:
        description: The health status of the server.
        type: string
      tenantId:
        description: The tenant id to whom this server belongs.
        type: string
    type: object
  ServiceMembers:
    description: The list of servers that are onboarded for a given service.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of service elements.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ServiceMember"
        type: array
    type: object
  ServiceProperties:
    description: The service properties for a given service.
    properties:
      activeAlerts:
        description: The count of alerts that are currently active for the service.
        type: integer
      additionalInformation:
        description: The additional information related to the service.
        type: string
      createdDate:
        description: The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.
        format: date-time
        type: string
      customNotificationEmails:
        description: The list of additional emails that are configured to receive notifications about the service.
        items:
          type: string
        type: array
      disabled:
        description: Indicates if the service is disabled or not.
        type: boolean
      displayName:
        description: The display name of the service.
        type: string
      health:
        description: The health of the service.
        type: string
      id:
        description: The id of the service.
        type: string
      lastDisabled:
        description: The date and time, in UTC, when the service was last disabled.
        format: date-time
        type: string
      lastUpdated:
        description: The date or time , in UTC, when the service properties were last updated.
        format: date-time
        type: string
      monitoringConfigurationsComputed:
        description: The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.
        items:
          $ref: "#/definitions/Items"
        type: object
      monitoringConfigurationsCustomized:
        description: The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.
        items:
          $ref: "#/definitions/Items"
        type: object
      notificationEmailEnabled:
        description: Indicates if email notification is enabled or not.
        type: boolean
      notificationEmailEnabledForGlobalAdmins:
        description: Indicates if email notification is enabled for global administrators of the tenant.
        type: boolean
      notificationEmails:
        description: The list of emails to whom service notifications will be sent.
        items:
          type: string
        type: array
      notificationEmailsEnabledForGlobalAdmins:
        description: Indicates if email notification is enabled for global administrators of the tenant.
        type: boolean
      originalDisabledState:
        description: Gets the original disable state.
        type: boolean
      resolvedAlerts:
        description: The total count of alerts that has been resolved for the service.
        type: integer
      serviceId:
        description: The id of the service.
        type: string
      serviceName:
        description: The name of the service.
        type: string
      signature:
        description: The signature of the service.
        type: string
      simpleProperties:
        description: List of service specific configuration properties.
        items:
          $ref: "#/definitions/Items"
        type: object
      tenantId:
        description: The id of the tenant to which the service is registered to.
        type: string
      type:
        description: The 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.
        type: string
    type: object
  Services:
    description: The list of services for a given onboarded tenant.
    properties:
      continuationToken:
        description: The continuation token for paginated calls.
        type: string
      nextLink:
        description: The link used to get the next page of operations.
        type: string
      totalCount:
        description: The total count of service elements.
        type: integer
      value:
        description: The value returned by the operation.
        items:
          $ref: "#/definitions/ServiceProperties"
        type: array
    type: object
  TabularExportError:
    description: The details for export error.
    properties:
      mergedEntityId:
        description: The merged entity Id.
        format: uuid
        type: string
      serviceId:
        description: The service Id.
        format: uuid
        type: string
      serviceMemberId:
        description: The server Id.
        format: uuid
        type: string
      tabularExportErrorData:
        description: The export error data.
        type: string
    type: object
  Tenant:
    description: The details of the onboarded tenant.
    properties:
      aadLicense:
        description: The Azure Active Directory license of the tenant.
        type: string
      aadPremium:
        description: Indicate if the tenant has Azure Active Directory Premium license or not.
        type: boolean
      agentAutoUpdate:
        description: Indicates if the tenant is configured to automatically receive updates for Azure Active Directory Connect Health client side features.
        type: boolean
      alertSuppressionTimeInMins:
        description: The time in minutes after which an alert will be auto-suppressed.
        type: integer
      consentedToMicrosoftDevOps:
        description: Indicates if the tenant data can be seen by Microsoft through Azure portal.
        type: boolean
      countryLetterCode:
        description: The country letter code of the tenant.
        type: string
      createdDate:
        description: The date, in UTC, when the tenant was onboarded to Azure Active Directory Connect Health.
        format: date-time
        type: string
      devOpsTtl:
        description: The date and time, in UTC, till when the tenant data can be seen by Microsoft through Azure portal.
        format: date-time
        type: string
      disabled:
        description: Indicates if the tenant is disabled in Azure Active Directory Connect Health.
        type: boolean
      disabledReason:
        description: The reason due to which the tenant was disabled in Azure Active Directory Connect Health.
        type: integer
      globalAdminsEmail:
        description: The list of global administrators for the tenant.
        items:
          type: string
        type: array
      initialDomain:
        description: The initial domain of the tenant.
        type: string
      lastDisabled:
        description: The date and time, in UTC, when the tenant was last disabled in Azure Active Directory Connect Health.
        format: date-time
        type: string
      lastVerified:
        description: The date and time, in UTC, when the tenant onboarding status in Azure Active Directory Connect Health was last verified.
        format: date-time
        type: string
      onboarded:
        description: Indicates if the tenant is already onboarded to Azure Active Directory Connect Health.
        type: boolean
      onboardingAllowed:
        description: Indicates if the tenant is allowed to  onboard to Azure Active Directory Connect Health.
        type: boolean
      pksCertificate:
        description: The certificate associated with the tenant to onboard data to Azure Active Directory Connect Health.
        type: object
      privatePreviewTenant:
        description: Indicates if the tenant has signed up for private preview of Azure Active Directory Connect Health features.
        type: boolean
      tenantId:
        description: The Id of the tenant.
        type: string
      tenantInQuarantine:
        description: Indicates if data collection for this tenant is disabled or not.
        type: boolean
      tenantName:
        description: The name of the tenant.
        type: string
    type: object
  TenantOnboardingDetails:
    description: The tenant onboarding details.
    properties:
      onboardingDisplayUrl:
        description: The display url, to help tenant navigate or onboard to Azure Active Directory Connect Health blade, based on tenant onboarding status.
        type: string
      tenantOnboarded:
        description: Indicates if the tenant is onboarded to Azure Active Directory Connect Health or not.
        type: boolean
    type: object
  UserPreference:
    description: " The user preference for a given feature."
    properties:
      metricNames:
        description: The name of the metric.
        items:
          type: string
        type: array
    type: object
  ValueDelta:
    description: The value of the delta.
    properties:
      operationType:
        description: The operation type.
        enum:
          - Undefined
          - Add
          - Update
          - Delete
        type: string
        x-ms-enum:
          modelAsString: true
          name: ValueDeltaOperationType
      value:
        description: The value of the delta.
        type: string
    type: object
