1.0

1.0

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.

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260630

Parameters

NameTypeDescriptionExample
service_id
required
stringService ID2778de83d7e247609445bbd570a4eba9
name
required
stringEvent rule nameEvent rule 1
description
optional
stringEvent rule descriptionEvent rule 1 description
event_ids
optional
arrayList of Event IDs014cb88ca2a9420e840d5c9ac16cac89
recipient_ids
optional
arrayNotification recipient IDs947c6a8559434505b28a5e21fff463d0
resource_type_id
optional
stringResource type ID596bf16709e84e27b7df397bf59b877c
srn_list
optional
arrayList of SDS cloud Resource Namessrn:dev2::1bcf39b344ac41cbaf0466ff0d2bebad:kr-west1::servicewatch:event-rule/a58c8645928043a6868277c7d7fef11a
tags
optional
arrayList of Tags'{"key": "", "value": ""}'

Responses

NameDescriptionExample
event_ruleEvent rule