Project Alert Config
A ProjectAlertConfig is a resource to set the alert policies for a Project.
Package : spaceone.api.monitoring.v1
ProjectAlertConfig
ProjectAlertConfig Methods:
Method | Request | Response |
---|---|---|
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.
Type | Message |
---|---|
Request | |
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.
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /monitoring/v1/project-alert-config/{project_alert_config_id}
Deletes a specific ProjectAlertConfig. Deletes alert configuration data in a Project.
Type | Message |
---|---|
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.
Type | Message |
---|---|
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.
Type | Message |
---|---|
Request | |
Response |
stat
POST /monitoring/v1/project-alert-configs/stat
Type | Message |
---|---|
Request | |
Response |
Message
AlertOptions
Field | Type | Description |
---|---|---|
notification_urgency |
| |
recovery_mode |
|
CreateProjectAlertConfigRequest
Field | Type | Required | Description |
---|---|---|---|
project_id | string | ✔ | |
escalation_policy_id | string | ✘ | |
options | ✘ | ||
domain_id | string | ✔ |
GetProjectAlertConfigRequest
Field | Type | Required | Description |
---|---|---|---|
project_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
ProjectAlertConfigInfo
Field | Type | Description |
---|---|---|
project_id | string | |
options | ||
escalation_policy_info | ||
domain_id | string | |
created_at | string |
ProjectAlertConfigQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
project_id | string | ✘ | |
escalation_policy_id | string | ✘ | |
domain_id | string | ✔ |
ProjectAlertConfigRequest
Field | Type | Required | Description |
---|---|---|---|
project_id | string | ✔ | |
domain_id | string | ✔ |
ProjectAlertConfigStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
ProjectAlertConfigsInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
UpdateProjectAlertConfigRequest
Field | Type | Required | Description |
---|---|---|---|
project_id | string | ✔ | |
escalation_policy_id | string | ✘ | |
options | ✘ | ||
domain_id | string | ✔ |
Last updated