Get Rules Of Plugin Using GET
Retrieve all the notification rules of the plugin instance
Request
URI
GET
https://{api_host}/api/alertplugins/{pluginId}/rules
COPY
Path Parameters
string
pluginId
Required
The identifier for the plugin instance
Responses
200
List of notification rules
Returns notification-rules of type(s) application/json
{
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"pageInfo": {
"page": 0,
"pageSize": 0,
"sortBy": "string",
"sortOrder": "string",
"totalCount": 0
},
"rules": [
{
"alertControlStates": [
"string"
],
"alertDefinitionIdFilters": {
"values": [
"string"
]
},
"alertImpactFilters": {
"values": [
"string"
]
},
"alertStatuses": [
"string"
],
"alertTypeFilters": [
{
"alertSubTypes": [
0
],
"alertType": 0
}
],
"collectorGroupId": "string",
"collectorUUId": "string",
"criticalities": [
"string"
],
"id": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"name": "string",
"pluginId": "string",
"properties": [
{
"name": "string",
"value": "string"
}
],
"resourceFilter": {
"childrenResourceKindFilters": [
"string"
],
"childrenResourceKindKeyFilters": [
{
"adapterKind": "string",
"resourceKind": "string"
}
],
"matchResourceIdOnly": false,
"relationship": "string",
"resourceId": "string"
},
"resourceFilters": [
{
"childrenResourceKindFilters": [
"string"
],
"childrenResourceKindKeyFilters": [
{
"adapterKind": "string",
"resourceKind": "string"
}
],
"matchResourceIdOnly": false,
"relationship": "string",
"resourceId": "string"
}
],
"resourceKindFilter": {
"adapterKind": "string",
"resourceKind": "string"
},
"resourceKindFilters": [
{
"adapterKind": "string",
"resourceKind": "string"
}
],
"templateId": "string"
}
]
}
Alert Plugins Operations
POST
Create Alert Plugin Using POST
DELETE
Delete Alert Plugin Using DELETE
GET
Get Alert Plugin Instance Using GET
GET
Get Alert Plugins Of Type Using GET
GET
Get Alert Plugin Types Using GET
GET
Get Alert Plugin Type With Id Using GET
GET
Get Rules Of Plugin Using GET
PUT
Modify Alert Plugin State Using PUT
PATCH
Patch Alert Plugin Using PATCH
PUT
Update Alert Plugin Using PUT