--- title: "CreateOrUpdateRuleGroupDto" slug: "common-vapidatatype-cicreateorupdaterulegroupdto" tags: ["Classic"] updated: 2026-09-17T09:57:05Z published: 2026-09-17T09:57:05Z canonical: "api.ncloud-docs.com/common-vapidatatype-cicreateorupdaterulegroupdto" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # CreateOrUpdateRuleGroupDto Classic/VPC環境で利用できます。 Event Ruleを作成したり、変更したりします。 ## 構文 構文は次の通りです。 ``` private String id; private List metricsGroupKey; private List monitorGroupKey; private String prodKey; private String groupName; private String groupDesc; private List recipientNotifications; private List personalNotificationRecipients; private List asgPolicyList; private Set suspendRuleItems; private Set cfTriggers; ``` ## フィールド フィールドの詳細は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `id` | String | Optional | Event Rule ID | | `metricsGroupKey` | List | Required | 監視項目グループ ID - 1個以上 - 複数入力可能 | | `monitorGroupKey` | List | Required | 監視対象グループ ID - 1個以上 - 複数入力可能 | | `prodKey` | String | Required | 商品の cw_key | | `groupName` | String | Required | Event Rule名 - 1~1000 - 更新時に変更不可で、既存の値を入力しなければならない | | `groupDesc` | String | Optional | Event Ruleの説明 - 300以下 | | `recipientNotifications` | List<[RecipientNotification](/docs/ja/common-apidatatype-cirecipientnotification)> | Optional | 通知対象グループ - 複数個入力可能 | | `personalNotificationRecipients` | List<[PersonalRecipientNotification](/docs/ja/common-apidatatype-cipersonalrecipientnotification)> | Optional | 通知対象者 - 複数個入力可能 | | `asgPolicyList` | List<[AsgPolicy](/docs/ja/common-apidatatype-ciasgpolicy)> | Optional | オートスケールグループポリシー - 複数個入力可能 | | `suspendRuleItems` | Set<[SuspendRuleItemDto](/docs/ja/common-apidatatype-cisuspendruleitemdto)> | Optional | Event Ruleのうち、無効化するリストを設定 | | `cfTriggers` | Set | Optional | 今後提供予定 |