alicloud_cms_monitor_group

Provides a Cloud Monitor Service Monitor Group resource.

For information about Cloud Monitor Service Monitor Group and how to use it, see What is Monitor Group.

Example Usage

Basic Usage

resource "alicloud_cms_monitor_group" "example" {
  monitor_group_name = "tf-example-accmonitorgroup"
}

resource "alicloud_cms_monitor_group" "default2" {
  contact_groups      = ["your_contact_groups"]
  resource_group_id   = "your_resource_group_id"
  resource_group_name = "resource_group_name"
  tags = {
    Created = "TF"
    For     = "Acceptance-example"
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Cloud Monitor Service Monitor Group can be imported using the id, e.g.

$ terraform import alicloud_cms_monitor_group.example <id>