Project Alert Config
A ProjectAlertConfig is a resource to set the alert policies for a Project.
Package : spaceone.api.monitoring.v1
ProjectAlertConfig
ProjectAlertConfig Methods:
create
POST /monitoring/v1/project-alert-configs
Creates a new ProjectAlertConfig in a specific Project. When creating a ProjectAlertConfig, validation of the Project is preceded. After the validation is done, ProjectAlertConfig enables EscalationPolicy to be set in the Project, or enables
enum
typerecovery_mode
andnotification_urgency
to be set through theoptions
parameter. The parameterrecovery_mode
is for changing the state of the Alert toresolved
if the external monitoring solution sends the resolved Alert. The parameternotification_urgency
is used to choose whether you will get all Alerts or only urgent ones.
Response
update
PUT /monitoring/v1/project-alert-config/{project_alert_config_id}
Updates a specific ProjectAlertConfig. You can make changes in ProjectAlertConfig settings, including the EscalationPolicy to apply. You can also change
notification_urgency
andrecovery_mode
by modifying theoptions
parameter.
Response
delete
DELETE /monitoring/v1/project-alert-config/{project_alert_config_id}
Deletes a specific ProjectAlertConfig. Deletes alert configuration data in a Project.
Request
Response
get
GET /monitoring/v1/project-alert-config/{project_alert_config_id}
Gets a specific ProjectAlertConfig. Prints detailed information about the ProjectAlertConfig, including EscalationPolicy, recovery mode, and notification urgency.
Request
Response
list
GET /monitoring/v1/project-alert-configs
POST /monitoring/v1/project-alert-configs/search
Gets a list of all ProjectAlertConfigs from all projects configured in the same domain. You can use a query to get a filtered list of ProjectAlertConfigs.
Request
Response
stat
POST /monitoring/v1/project-alert-configs/stat
Request
Response
Message
AlertOptions
notification_urgency
URGENCY_NONE
ALL
HIGH_ONLY
recovery_mode
RECOVERY_NONE
AUTO
MANUAL
CreateProjectAlertConfigRequest
GetProjectAlertConfigRequest
project_id
string
✔
domain_id
string
✔
only
list of string
✘
ProjectAlertConfigInfo
project_id
string
domain_id
string
created_at
string
ProjectAlertConfigQuery
ProjectAlertConfigRequest
project_id
string
✔
domain_id
string
✔
ProjectAlertConfigStatQuery
domain_id
string
✔
ProjectAlertConfigsInfo
UpdateProjectAlertConfigRequest
Last updated