Classic/VPC環境で利用できます。
監視対象グループ、監視項目グループを作成せずに Event Ruleを作成します。
構文
構文は次の通りです。
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;
フィールド
フィールドの詳細は次の通りです。
フィールド | タイプ | 必須の有無 | 説明 |
---|---|---|---|
prodKey |
String | Required | 商品の cw_key |
groupName |
String | Required | Event Ruleの名前
|
groupDesc |
String | Optional | Event Ruleの説明
|
monitorGroup |
MonitorGrpDto | Required | 監視対象設定 |
metricsGroup |
CreateOrUpdateMetricsGrpDto | Required | 監視項目設定 |
recipientNotifications |
List<RecipientNotification> | Optional | 通知対象グループ
|
personalNotificationRecipients |
List<PersonalRecipientNotification> | Optional | 通知対象グループ
|
asgPolicys |
List<AsgPolicy> | Optional | VPCオートスケールグループポリシー
|
classicAsgPolicys |
List<AsgPolicy> | Optional | Classicオートスケールグループポリシー
|
cfTriggers |
Set<String> | Optional | Cloud Functions Trigger名 |