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:
create
POST /monitoring/v1/event-rules
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.
Request
Response
change_order
PUT /monitoring/v1/event-rule/{event_rule_id}/order
Updates a specific EventRule. You can make changes in EventRule settings.
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
.
Request
Response
get
GET /monitoring/v1/event-rule/{event_rule_id}
Gets a specific EventRule. Prints detailed information about the EventRule.
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.
Request
Response
stat
POST /monitoring/v1/event-rules/stat
Request
Response
Message
ChangeEventRuleOrderRequest
CreateEventRuleRequest
name
string
✔
conditions_policy
NONE
ALL
ANY
ALWAYS
✔
project_id
string
✘
domain_id
string
✔
EventRuleActionResponder
resource_type
string
resource_id
string
EventRuleActions
change_assignee
string
change_urgency
string
change_project
string
add_project_dependency
list of string
no_notification
bool
EventRuleCondition
key
string
value
string
operator
string
EventRuleInfo
event_rule_id
string
name
string
conditions_policy
NONE
ALL
ANY
ALWAYS
scope
SCOPE_NONE
GLOBAL
PROJECT
project_id
string
domain_id
string
created_at
string
EventRuleOptions
stop_processing
bool
EventRuleQuery
event_rule_id
string
✘
name
string
✘
scope
SCOPE_NONE
GLOBAL
PROJECT
✘
project_id
string
✘
domain_id
string
✔
EventRuleRequest
event_rule_id
string
✔
domain_id
string
✔
EventRuleStatQuery
domain_id
string
✔
EventRulesInfo
GetEventRuleRequest
event_rule_id
string
✔
domain_id
string
✔
only
list of string
✘
MatchRule
source
string
target
string
UpdateEventRuleRequest
event_rule_id
string
✔
name
string
✘
conditions_policy
NONE
ALL
ANY
ALWAYS
✘
domain_id
string
✔
Last updated