API Guide

"@odata.id": "/api/AlertService/AlertActionTemplates(50)",
"Id": 50,
"Name": "Email",
"Description": "Email",
"Disabled": true,
"ParameterDetails": []
}
Table 73. Attributes
Attribute name Description
Id ID of the action template.
Name Name of the action template.
Description Extra description of the action template.
Disabled Indicates if the template is enabled or disabled.
ParameterDetails Extra parameter that the template can carry and apply.
/api/AlertService/Actions/AlertService.EnableAlertPolicies
POST method for AlertService.EnableAlertPolicies
This method enables the selected alert policies.
Description
Enables the selected alert policies.
Privilege MONITORING_SETUP
HTTP response
codes
201
Example request
body
{
"AlertPolicyIds": [100,200,300]
}
Or
{
"AllPolicies": true
}
/api/AlertService/Actions/AlertService.DisableAlertPolicies
POST method for AlertService.DisableAlertPolicies
This method disables the selected alert policies.
Description
Disables the selected alert policies.
Privilege MONITORING_SETUP
HTTP response
codes
201
Alerts 115