文档

alicloud_cms_monitor_group_instances

更新时间:
一键部署

This data source provides the Cms Monitor Group Instances of the current Alibaba Cloud user.

-> NOTE: Available in v1.115.0+.

Example Usage

Basic Usage

data "alicloud_cms_monitor_group_instanceses" "example" {
  ids = ["example_value"]
}

output "first_cms_monitor_group_instances_id" {
  value = data.alicloud_cms_monitor_group_instanceses.example.instanceses.0.instances
}

Argument Reference

The following arguments are supported:

  • ids - (Required, ForceNew) A list of Monitor Group Instances IDs.
  • keyword - (Optional, ForceNew) The keyword.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

Argument Reference

The following attributes are exported in addition to the arguments listed above:

  • instances - A list of Cms Monitor Group Instances. Each element contains the following attributes:
    • instances - Instance information added to the Cms Group.
      • category - The category of instance.
      • instance_id - The id of instance.
      • instance_name - The name of instance.
      • region_id - The region id of instance.

  • 本页导读 (0)
文档反馈