Returns list of alarm rules
successful operation
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "count": 0,
- "next": "string",
- "previous": "string",
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_name": "string",
- "alias_name": "string"
}, - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
]
}
Returns instance of alarm rules
successful operation
Bad request
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Internal server error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": [
- null
], - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_name": "string",
- "alias_name": "string"
}, - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
Returns instance of alarm rule
successful operation
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_name": "string",
- "alias_name": "string"
}, - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
Return instance of alarm rules
successful operation
Invalid request.
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": [
- null
], - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_name": "string",
- "alias_name": "string"
}, - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
Returns instance of alarm rules
successful operation
Invalid request.
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": [
- null
], - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "enterprise": "796caaf9-a7de-4817-9ffa-39d04bf83de9",
- "devices": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "device_name": "string",
- "alias_name": "string"
}, - "groups": [
- "string"
], - "name": "string",
- "description": "string",
- "metric": "string",
- "conditions": {
- "value": 0,
- "unit": "string",
- "comparator": "string",
- "toggle_state": true
}, - "action_emails": [
- "user@example.com"
], - "actions": [
- "string"
], - "alert_channels": [
- "string"
], - "created_on": "2019-08-24T14:15:22Z",
- "updated_on": "2019-08-24T14:15:22Z",
- "is_active": true,
- "realert_interval": 0,
- "repeat_times": 0,
- "trigger_count": 0,
- "daily_trigger_count": 0
}
Empty response
The resource was deleted successfully.
Invalid request.
Authorization information is missing or invalid.
Forbidden, no permission to perform this action.
Not Found.
Internal server error
{- "errors": [
- "string"
], - "message": "string",
- "status": 0
}
Returns instance of alarm rule history
successful operation
Authorization information is missing or invalid.
Not Found.
Internal server error
{- "device_name": "string",
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "group_id": [
- null
], - "group_name": "string",
- "alert_time": "2019-08-24T14:15:22Z",
- "latest_seen": "2019-08-24T14:15:22Z"
}