Escalation Policy
An EscalationPolicy is a set of rules to deliver an alert to assigned members.
Package : spaceone.api.monitoring.v1
EscalationPolicy
EscalationPolicy Methods:
Method | Request | Response |
---|---|---|
create
POST /monitoring/v1/escalation-policies
Creates a new EscalationPolicy. When creating an EscalationPolicy, if the project_id is assigned, the EscalationPolicy is applied to the Project with the same project_id. If an EscalationPolicy is set as a global policy, all Projects in the same domain can apply the policy.
Type | Message |
---|---|
Request | |
Response |
update
PUT /monitoring/v1/escalation-policy/{escalation_policy_id}
Updates a specific EscalationPolicy. You can make changes in EscalationPolicy settings, including the name, the escalation process, and the number of iterations.
Type | Message |
---|---|
Request | |
Response |
set_default
PUT /monitoring/v1/escalation-policy/{escalation_policy_id}/set-default
Sets a specific EscalationPolicy as default. Only policies configured as global can be set as default. When a Project is created, even if you did not configure any policy to the Project, the default policy set by this api method is applied.
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /monitoring/v1/escalation-policy/{escalation_policy_id}
Deletes a specific EscalationPolicy. Deletes the EscalationPolicy with the escalation_policy_id from the deletion request.
Type | Message |
---|---|
Request | |
Response |
get
GET /monitoring/v1/escalation-policy/{escalation_policy_id}
Gets a specific EscalationPolicy. Prints detailed information about the EscalationPolicy, including the name, rules, and termination conditions.
Type | Message |
---|---|
Request | |
Response |
list
GET /monitoring/v1/escalation-policies
POST /monitoring/v1/escalation-policies/search
Gets a list of all EscalationPolicies. You can use a query to get a filtered list of EscalationPolicies.
Type | Message |
---|---|
Request | |
Response |
stat
POST /monitoring/v1/escalation-policies/stat
Type | Message |
---|---|
Request | |
Response |
Message
CreateEscalationPolicyRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
rules | ✔ | ||
repeat_count | ✘ | ||
finish_condition |
| ✘ | |
project_id | string | ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
EscalationPoliciesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
EscalationPolicyInfo
Field | Type | Description |
---|---|---|
escalation_policy_id | string | |
name | string | |
is_default | bool | |
rules | ||
repeat_count | ||
finish_condition |
| |
scope |
| |
project_id | string | |
tags | ||
domain_id | string | |
created_at | string |
EscalationPolicyQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
escalation_policy_id | string | ✘ | |
name | string | ✘ | |
is_default | bool | ✘ | |
finish_condition |
| ✘ | |
scope |
| ✘ | |
project_id | string | ✘ | |
domain_id | string | ✔ |
EscalationPolicyRequest
Field | Type | Required | Description |
---|---|---|---|
escalation_policy_id | string | ✔ | |
domain_id | string | ✔ |
EscalationPolicyRule
Field | Type | Description |
---|---|---|
notification_level |
| |
escalate_minutes |
EscalationPolicyStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
GetEscalationPolicyRequest
Field | Type | Required | Description |
---|---|---|---|
escalation_policy_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
UpdateEscalationPolicyRequest
Field | Type | Required | Description |
---|---|---|---|
escalation_policy_id | string | ✔ | |
name | string | ✘ | |
rules | ✘ | ||
repeat_count | ✘ | ||
finish_condition |
| ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
Last updated