Event Rule
An EventRule is a rule to transform the request data when an Event is generated.
Package : spaceone.api.monitoring.v1
EventRule
EventRule Methods:
Method | Request | Response |
---|---|---|
create
POST /monitoring/v1/event-rules
Type | Message |
---|---|
Request | |
Response |
update
PUT /monitoring/v1/event-rule/{event_rule_id}
Changes a priority order between EventRules to apply. EventRules are filtered by the order configured.
Type | Message |
---|---|
Request | |
Response |
change_order
PUT /monitoring/v1/event-rule/{event_rule_id}/order
Updates a specific EventRule. You can make changes in EventRule settings.
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /monitoring/v1/event-rule/{event_rule_id}
Deletes a specific EventRule. You must assign an EventRule resource to delete by specifying
event_rule_id
.
Type | Message |
---|---|
Request | |
Response |
get
GET /monitoring/v1/event-rule/{event_rule_id}
Gets a specific EventRule. Prints detailed information about the EventRule.
Type | Message |
---|---|
Request | |
Response |
list
GET /monitoring/v1/event-rules
POST /monitoring/v1/event-rules/search
Gets a list of all EventRules. You can use a query to get a filtered list of EventRules. For example, you can adjust the scope of the list to a certain Project or Domain.
Type | Message |
---|---|
Request | |
Response |
stat
POST /monitoring/v1/event-rules/stat
Type | Message |
---|---|
Request | |
Response |
Message
ChangeEventRuleOrderRequest
Field | Type | Required | Description |
---|---|---|---|
event_rule_id | string | ✔ | |
order | ✔ | ||
domain_id | string | ✔ |
CreateEventRuleRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
conditions | ✔ | ||
conditions_policy |
| ✔ | |
actions | ✔ | ||
options | ✘ | ||
project_id | string | ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
EventRuleActionResponder
Field | Type | Description |
---|---|---|
resource_type | string | |
resource_id | string |
EventRuleActions
Field | Type | Description |
---|---|---|
change_assignee | string | |
change_urgency | string | |
change_project | string | |
add_project_dependency | list of string | |
add_responder | ||
match_service_account | ||
add_additional_info | ||
no_notification | bool |
EventRuleCondition
Field | Type | Description |
---|---|---|
key | string | |
value | string | |
operator | string |
EventRuleInfo
Field | Type | Description |
---|---|---|
event_rule_id | string | |
name | string | |
order | ||
conditions | ||
conditions_policy |
| |
actions | ||
options | ||
scope |
| |
project_id | string | |
tags | ||
domain_id | string | |
created_at | string |
EventRuleOptions
Field | Type | Description |
---|---|---|
stop_processing | bool |
EventRuleQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
event_rule_id | string | ✘ | |
name | string | ✘ | |
scope |
| ✘ | |
project_id | string | ✘ | |
domain_id | string | ✔ |
EventRuleRequest
Field | Type | Required | Description |
---|---|---|---|
event_rule_id | string | ✔ | |
domain_id | string | ✔ |
EventRuleStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
EventRulesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
GetEventRuleRequest
Field | Type | Required | Description |
---|---|---|---|
event_rule_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
MatchRule
Field | Type | Description |
---|---|---|
source | string | |
target | string |
UpdateEventRuleRequest
Field | Type | Required | Description |
---|---|---|---|
event_rule_id | string | ✔ | |
name | string | ✘ | |
conditions | ✘ | ||
conditions_policy |
| ✘ | |
actions | ✘ | ||
options | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ |
Last updated