| Description | : List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime. |
| Reference | : Link ¶ |
⚼ Request
GET:
/providers/Microsoft.AlertsManagement/alerts
{
targetResource:
string
,
targetResourceType:
string
,
targetResourceGroup:
string
,
monitorService:
string
,
monitorCondition:
string
,
severity:
string
,
alertState:
string
,
alertRule:
string
,
smartGroupId:
string
,
includeContext:
boolean
,
includeEgressConfig:
boolean
,
pageCount:
integer
,
sortBy:
string
,
sortOrder:
string
,
select:
string
,
timeRange:
string
,
customTimeRange:
string
,
api-version:
string
,
}
⚐ Response (200)
{
nextLink:
string
,
value:
}
[
]
,
{
,
properties:
}
{
,
essentials:
{
,
severity:
enum
,
signalType:
enum
,
alertState:
enum
,
monitorCondition:
enum
,
targetResource:
string
,
targetResourceName:
string
,
targetResourceGroup:
string
,
targetResourceType:
string
,
monitorService:
enum
,
alertRule:
string
,
sourceCreatedId:
string
,
smartGroupId:
string
,
smartGroupingReason:
string
,
startDateTime:
string
,
lastModifiedDateTime:
string
,
monitorConditionResolvedDateTime:
string
,
lastModifiedUserName:
string
,
actionStatus:
{
,
isSuppressed:
boolean
,
}
description:
string
,
}
context:
object
,
egressConfig:
object
,
customProperties:
object
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
}
[
,
string
,
]