alicloud_arms_prometheus_monitorings

This data source provides the Arms Prometheus Monitorings of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_arms_prometheus_monitorings" "ids" {
  cluster_id = "your_cluster_id"
  ids        = ["example_id"]
}

output "arms_prometheus_monitorings_id_1" {
  value = data.alicloud_arms_prometheus_monitorings.ids.prometheus_monitorings.0.id
}

data "alicloud_arms_prometheus_monitorings" "nameRegex" {
  cluster_id = "your_cluster_id"
  name_regex = "tf-example"
}

output "arms_prometheus_monitorings_id_2" {
  value = data.alicloud_arms_prometheus_monitorings.nameRegex.prometheus_monitorings.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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