Description | : Retrieve alert rule definitions in a subscription. |
Reference | : Link ¶ |
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricAlerts
{
subscriptionId:
string
,
api-version:
string
,
}
⚐ Response (200)
{
value:
}
[
]
,
{
,
properties:
}
{
,
description:
string
,
severity:
integer
,
enabled:
boolean
,
scopes:
[
,
string
,
]
evaluationFrequency:
string
,
windowSize:
string
,
targetResourceType:
string
,
targetResourceRegion:
string
,
criteria:
{
,
odata.type:
enum
,
}
autoMitigate:
boolean
,
resolveConfiguration:
{
,
autoResolved:
boolean
,
timeToResolve:
string
,
}
actions:
[
]
,
{
,
actionGroupId:
string
,
webHookProperties:
object
,
}
lastUpdatedTime:
string
,
isMigrated:
boolean
,
customProperties:
object
,
actionProperties:
object
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}