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<AsgPolicy> asgPolicys;
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 | 통보 대상 그룹
|
asgPolicys |
List<AsgPolicy> | Optional | 오토 스케일링 그룹 정책
|
cfTriggers |
Set<String> | Optional | 추후 제공 예정 |