---
title: "GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts"
method: GET
path: "/providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts"
tags: ["Alerts"]
---

# GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts

`GET /providers/Microsoft.ADHybridHealthService/services/{serviceName}/alerts`

Gets the alerts for a given service.

## Path parameters

- `serviceName` string, required

## Query parameters

- `$filter` string
- `state` string
- `from` string, date-time
- `to` string, date-time
- `api-version` string, required

## Response `200`

The list of alerts.

- Alerts — The list of alerts for a service.
  - `value` Alert[] — The value returned by the operation.
    - `alertId` string, uuid — The alert Id.
    - `level` 'Warning' | 'Error' | 'PreWarning' — The alert level which indicates the severity of the alert.
    - `state` 'Active' | 'ResolvedByPositiveResult' | 'ResolvedManually' | 'ResolvedByTimer' | 'ResolvedByStateChange' — The alert state which can be either active or resolved with multiple resolution types.
    - `shortName` string — The alert short name.
    - `displayName` string — The display name for the alert.
    - `description` string — The alert description.
    - `remediation` string — The alert remediation.
    - `relatedLinks` HelpLink[] — The help links to get more information related to the alert.
      - `title` string — The title for the link.
      - `url` string — The url for the help document.
    - `scope` string — The scope of the alert. Indicates if it is a service or a server related alert.
    - `additionalInformation` AdditionalInformation[] — Additional information related to the alert.
      - `titleName` string — The title name for the property.
      - `titleValue` string — The title value for the property.
      - `properties` object — The list of properties which are included in the additional information.
      - `hasProperties` boolean — Indicates if properties are present or not.
    - `createdDate` string, date-time — The date and time,in UTC,when the alert was created.
    - `resolvedDate` string, date-time — The date and time, in UTC, when the alert was resolved.
    - `lastUpdated` string, date-time — The date and time, in UTC, when the alert was last updated.
    - `monitorRoleType` string — The monitoring role type for which the alert was raised.
    - `activeAlertProperties` Item[] — The active alert properties.
      - `key` string — The key for the property.
      - `value` string — The value for the key.
    - `resolvedAlertProperties` Item[] — The resolved alert properties.
      - `key` string — The key for the property.
      - `value` string — The value for the key.
    - `tenantId` string, uuid — The tenant Id.
    - `serviceId` string, uuid — The service Id.
    - `serviceMemberId` string, uuid — The server Id.
  - `nextLink` string — The link used to get the next page of operations.
  - `totalCount` integer — The total count of alert elements.
  - `continuationToken` string — The continuation token for paginated calls.

---

[API](https://skmtc.net/azure/apis/adhybridhealthservice.md) · [All operations](https://skmtc.net/azure/apis/adhybridhealthservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/adhybridhealthservice/revisions/35cb734a789a/schema)
