API Guide
{
"@odata.id": "/api/AlertService/AlertActionTemplates(60)",
"Id": 60,
"Name": "Trap",
"Description": "Trap",
"Disabled": true,
"ParameterDetails": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(90)",
"Id": 90,
"Name": "Syslog",
"Description": "Syslog",
"Disabled": true,
"ParameterDetails": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(80)",
"Id": 80,
"Name": "OnDemandHealth",
"Description": "OnDemandHealth",
"Disabled": false,
"ParameterDetails": []
},
{
"@odata.id": "/api/AlertService/AlertActionTemplates(100)",
"Id": 100,
"Name": "Ignore",
"Description": "Ignore",
"Disabled": false,
"ParameterDetails": []
}
]
}
Table 72. Attributes
Attribute name Description
Id ID of the action template.
Name Name of the action template.
Description Description of the action template.
Disabled Indicates if the template is enabled or disabled.
ParameterDetail Extra parameter that the template can carry and apply.
/api/AlertService/AlertActionTemplates(Id)
This URI represents a specific alert-action template.
GET method for AlertActionTemplates(Id)
This method returns a specific alert-action template.
Description
Returns a specific alert-action template.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#AlertService.AlertActionTemplate/$entity",
114 Alerts