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
|
groupDesc |
String | Optional | Event rule description
|
monitorGroup |
MonitorGrpDto | Required | Set monitoring target. |
metricsGroup |
CreateOrUpdateMetricsGrpDto | Required | Set monitoring item. |
recipientNotifications |
List<RecipientNotification> | Optional | Notification recipient group
|
personalNotificationRecipients |
List<PersonalRecipientNotification> | Optional | Notification recipient group
|
asgPolicys |
List<AsgPolicy> | Optional | VPC autoscaling group policy
|
classicAsgPolicys |
List<AsgPolicy> | Optional | Classic autoscaling group policy
|
cfTriggers |
Set<String> | Optional | Cloud Functions trigger name |