alicloud_cms_alarm_contact_group

更新时间:

Provides a CMS Alarm Contact Group resource.

For information about CMS Alarm Contact Group and how to use it, see What is Alarm Contact Group.

-> NOTE: Available since v1.101.0.

Example Usage

Basic Usage


resource "alicloud_cms_alarm_contact_group" "example" {
  alarm_contact_group_name = "tf-example"
}

Argument Reference

The following arguments are supported:

  • alarm_contact_group_name - (Required, ForceNew) The name of the alarm group.
  • contacts - (Optional) The name of the alert contact.
  • describe - (Optional) The description of the alert group.
  • enable_subscribed - (Optional) Whether to open weekly subscription.

Attributes Reference

The following attributes are exported:

  • id - The resource ID of Alarm Contact Group.

Import

CMS Alarm Contact Group can be imported using the id, e.g.

$ terraform import alicloud_cms_alarm_contact_group.example tf-testacc123