1.1
1.1
scpcli servicewatch eventrule create
--service_id <value>
--name <value>
[--description <value>]
[--event_ids <value>]
[--recipient_ids <value>]
[--resource_type_id <value>]
[--srn_list <value>]
[--tags <value>]
Description
Create an Event rule.
상태 ACTIVE (SUPPORTED)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.1 | 20260831 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| service_id required | string | Service ID | 2778de83d7e247609445bbd570a4eba9 |
| name required | string | Event rule name | Event rule 1 |
| description optional | string | Event rule description | Event rule 1 description |
| event_ids optional | array | List of Event IDs | 014cb88ca2a9420e840d5c9ac16cac89 |
| recipient_ids optional | array | Notification recipient IDs | 947c6a8559434505b28a5e21fff463d0 |
| resource_type_id optional | string | Resource type ID | 596bf16709e84e27b7df397bf59b877c |
| srn_list optional | array | List of SDS cloud Resource Names | srn:dev2::1bcf39b344ac41cbaf0466ff0d2bebad:kr-west1::servicewatch:event-rule/a58c8645928043a6868277c7d7fef11a |
| tags optional | array | List of Tags | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|---|---|
| event_rule | Event rule |