DirectRuleGroupCreateDto

Prev Next

Available in Classic and VPC

Create an event rule without creating monitoring target and item groups

Syntax

The syntax is as follows:

private String prodKey;
private String groupName;
private String groupDesc;
private MonitorGrpDto monitorGroup;
private CreateOrUpdateMetricsGrpDto metricsGroup;
private List<RecipientNotification> recipientNotifications;
private List<PersonalRecipientNotification> personalNotificationRecipients;
private List<AsgPolicy> asgPolicys;
private List<AsgPolicy> classicAsgPolicys;
private Set<String> cfTriggers;

Field

The following describes the fields:

Field Type Required Description
prodKey String Required cw_key of the product
groupName String Required Event rule name
  • 1-100
groupDesc String Optional Event rule description
  • 300 or less
monitorGroup MonitorGrpDto Required Set monitoring target.
metricsGroup CreateOrUpdateMetricsGrpDto Required Set monitoring item.
recipientNotifications List<RecipientNotification> Optional Notification recipient group
  • Multiple entries allowed
personalNotificationRecipients List<PersonalRecipientNotification> Optional Notification recipient group
  • Multiple entries allowed
asgPolicys List<AsgPolicy> Optional VPC autoscaling group policy
  • Multiple entries allowed
classicAsgPolicys List<AsgPolicy> Optional Classic autoscaling group policy
  • Multiple entries allowed
cfTriggers Set<String> Optional Cloud Functions trigger name