This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

SetEventRule

1 - 1.2

scpcli servicewatch eventrule set
--event_rule_id <value>
--service_id <value>
[--active_yn <value>]
[--description <value>]
[--event_ids <value>]
[--none_attributes <value>]
[--recipient_ids <value>]
[--resource_type_id <value>]
[--srn_list <value>]

Description

Set the Event rule.

State ACTIVE (CURRENT)

VersionNot Before
1.2-

Parameters

NameTypeDescriptionExample
event_rule_id
required
stringEvent rule IDb73f95c698f540dab18860f72fafd03f
service_id
required
stringService ID2778de83d7e247609445bbd570a4eba9
active_yn
optional
****Whether the Event rule is activeY
description
optional
stringEvent rule descriptionEvent rule 1 description
event_ids
optional
arrayList of Event IDs014cb88ca2a9420e840d5c9ac16cac89
none_attributes
optional
arrayList of attributes to assign to Nonedescription
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

Responses

NameDescriptionExample
event_ruleEvent rule

2 - 1.1

scpcli servicewatch eventrule set
--event_rule_id <value>
--service_id <value>
[--active_yn <value>]
[--description <value>]
[--event_ids <value>]
[--none_attributes <value>]
[--recipient_ids <value>]
[--resource_type_id <value>]
[--srn_list <value>]

Description

Set the Event rule.

State ACTIVE (SUPPORTED)

VersionNot Before
1.120260831

Parameters

NameTypeDescriptionExample
event_rule_id
required
stringEvent rule IDb73f95c698f540dab18860f72fafd03f
service_id
required
stringService ID2778de83d7e247609445bbd570a4eba9
active_yn
optional
****Whether the Event rule is activeY
description
optional
stringEvent rule descriptionEvent rule 1 description
event_ids
optional
arrayList of Event IDs014cb88ca2a9420e840d5c9ac16cac89
none_attributes
optional
arrayList of attributes to assign to Nonedescription
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

Responses

NameDescriptionExample
event_ruleEvent rule

3 - 1.0

scpcli servicewatch eventrule set
--event_rule_id <value>
--service_id <value>
[--active_yn <value>]
[--description <value>]
[--event_ids <value>]
[--none_attributes <value>]
[--recipient_ids <value>]
[--resource_type_id <value>]
[--srn_list <value>]

Description

Set the 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
event_rule_id
required
stringEvent rule IDb73f95c698f540dab18860f72fafd03f
service_id
required
stringService ID2778de83d7e247609445bbd570a4eba9
active_yn
optional
****Whether the Event rule is activeY
description
optional
stringEvent rule descriptionEvent rule 1 description
event_ids
optional
arrayList of Event IDs014cb88ca2a9420e840d5c9ac16cac89
none_attributes
optional
arrayList of attributes to assign to Nonedescription
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

Responses

NameDescriptionExample
event_ruleEvent rule