Data - Retrieve Rule Information for Alert
Retrieves rule information for alert ID provided.
GET http://<Servername>/OperationsManager/data/ruleInformationForAlert/{alertId}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
alert
|
path | True |
string |
The Alert ID of the rule to be fetched. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK.Successfully retrieved Rule Information for the Alert Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Examples
RetrieveRuleInformationForAlert
Sample Request
GET http://<Servername>/OperationsManager/data/ruleInformationForAlert/aaa0361a-985d-4e74-840c-975dae3f5bba
Sample Response
{
"tableColumns": [
{
"field": "name",
"header": "Name",
"type": null,
"hidden": false
},
{
"field": "value",
"header": "Value",
"type": null,
"hidden": false
}
],
"rows": [
{
"name": "Display name",
"value": "{\"text\":\"All Management Servers Resource Pool Unavailable\",\"drilldowntype\":\"rule\",\"id\":\"86006a18-5f04-2002-a8a3-9cd37ab016e9\"}"
},
{
"name": "Description",
"value": "This rule generates alerts when the All Management Servers Resource Pool is not available."
},
{
"name": "Comment",
"value": null
},
{
"name": "Enabled",
"value": "true"
},
{
"name": "Identifier",
"value": "1|Microsoft.SystemCenter.2007/9396306c2be7fcc4|1.0.0.0|Microsoft.SystemCenter.SDKService.PrincipleManagementServerDown.Alert||"
},
{
"name": "Category",
"value": "Alert"
},
{
"name": "Xml Tag",
"value": "Rule"
},
{
"name": "Target name",
"value": "{\"text\":\"Management Server\",\"drilldowntype\":\"class\",\"id\":\"83c21025-550e-695b-c1e0-d3e247b74205\"}"
}
]
}
Definitions
Name | Description |
---|---|
Table |
|
Table |
TableColumn
Name | Type | Description |
---|---|---|
field |
string |
Name of the Column |
header |
string |
Header of the column |
hidden |
boolean |
Is column hidden |
type |
string |
Type of the Column |
TableDataResponse
Name | Type | Description |
---|---|---|
rows |
object[] |
Table Rows of data |
tableColumns |
Table columns of data |