Alert
An Alert, a set of Events, is the smallest unit to manage incidents.
Package : spaceone.api.monitoring.v1
Alert
Alert Methods:
create
POST /monitoring/v1/alerts
Creates a new Alert. Alerts generated with
create
method are made in a manual way. Manually made Alerts can be used for Notifications.
Request
Response
update
PUT /monitoring/v1/alert/{alert_id}
Updates a specific Alert. You can make changes in Alert settings, including the
title
,description
,responder
,state
, andurgency
. Theresponder
of the Alert is a User who is assigned to respond to the Alert.
Request
Response
update_state
POST /monitoring/v1/alert/{alert_id}/{access_key}/{state}
Request
Response
merge
POST /monitoring/v1/alerts/merge
Request
Response
snooze
POST /monitoring/v1/alert/{alert_id}/snooze
Request
Response
add_responder
POST /monitoring/v1/alert/{alert_id}/responders
Adds a responder who receives a Notification about an Alert.
Request
Response
remove_responder
DELETE /monitoring/v1/alert/{alert_id}/responders
Deletes a responder who receives a Notification about an Alert.
Request
Response
add_project_dependency
POST /monitoring/v1/alert/{alert_id}/project-dependencies
Request
Response
remove_project_dependency
DELETE /monitoring/v1/alert/{alert_id}/project-dependency/{project_id}
Request
Response
delete
DELETE /monitoring/v1/alert/{alert_id}
Deletes a specific Alert and remove it from the list of Alerts. You must specify the
alert_id
of the Alert to delete.
Request
Response
get
GET /monitoring/v1/alert/{alert_id}
Gets a specific Alert. Prints detailed information about the Alert.
Request
Response
list
GET /monitoring/v1/alerts
POST /monitoring/v1/alerts/search
Gets a list of all Alerts. You can use a query to get a filtered list of Alerts.
Request
Response
stat
POST /monitoring/v1/alerts/stat
Request
Response
Message
AlertInfo
alert_number
alert_id
string
title
string
state
ALERT_STATE_NONE
TRIGGERED
ACKNOWLEDGED
RESOLVED
ERROR
status_message
string
description
string
assignee
string
urgency
ALERT_URGENCY_NONE
HIGH
LOW
severity
string
rule
string
resource
provider
string
account
string
is_snoozed
bool
snoozed_end_time
string
escalation_step
escalation_ttl
responders
project_dependencies
list of string
image_url
string
additional_info
triggered_by
string
webhook_id
string
escalation_policy_id
string
project_id
string
domain_id
string
created_at
string
updated_at
string
acknowledged_at
string
resolved_at
string
escalated_at
string
AlertProjectDependencyRequest
alert_id
string
✔
project_id
string
✔
domain_id
string
✔
AlertQuery
query
✘
alert_number
✘
alert_id
string
✘
title
string
✘
state
ALERT_STATE_NONE
TRIGGERED
ACKNOWLEDGED
RESOLVED
ERROR
✘
assignee
string
✘
urgency
ALERT_URGENCY_NONE
HIGH
LOW
✘
severity
string
✘
is_snoozed
string
✘
resource_id
string
✘
provider
string
✘
account
string
✘
triggered_by
string
✘
webhook_id
string
✘
escalation_policy_id
string
✘
project_id
string
✘
domain_id
string
✔
AlertRequest
alert_id
string
✔
domain_id
string
✔
AlertResource
resource_id
string
resource_type
string
name
string
AlertResponder
resource_type
string
resource_id
string
AlertResponderRequest
alert_id
string
✔
resource_type
string
✔
resource_id
string
✔
domain_id
string
✔
AlertStatQuery
query
✔
domain_id
string
✔
AlertsInfo
results
total_count
CreateAlertRequest
title
string
✔
description
string
✘
assignee
string
✘
urgency
ALERT_URGENCY_NONE
HIGH
LOW
✘
project_id
string
✔
domain_id
string
✔
GetAlertRequest
alert_id
string
✔
domain_id
string
✔
only
list of string
✘
MergeAlertRequest
alerts
list of string
✔
merge_to
string
✔
domain_id
string
✔
SnoozeAlertRequest
alert_id
string
✔
end_time
string
✔
domain_id
string
✔
UpdateAlertRequest
alert_id
string
✔
title
string
✘
state
string
✘
status_message
string
✘
description
string
✘
assignee
string
✘
urgency
ALERT_URGENCY_NONE
HIGH
LOW
✘
project_id
string
✘
reset_status_message
bool
✘
reset_description
bool
✘
reset_assignee
bool
✘
domain_id
string
✔
UpdateAlertStateRequest
alert_id
string
✔
access_key
string
✔
state
string
✘
Last updated