日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

alicloud_cms_dynamic_tag_group

更新時間:

Provides a Cloud Monitor Service Dynamic Tag Group resource.

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

-> NOTE: Available since v1.142.0.

Example Usage

Basic Usage


variable "name" {
  default = "terraform-example"
}

resource "alicloud_cms_alarm_contact_group" "default" {
  alarm_contact_group_name = var.name
}

resource "alicloud_cms_dynamic_tag_group" "default" {
  tag_key            = var.name
  contact_group_list = [alicloud_cms_alarm_contact_group.default.id]
  match_express {
    tag_value                = var.name
    tag_value_match_function = "all"
  }
}

Argument Reference

The following arguments are supported:

  • tag_key - (Required, ForceNew) The tag keys of the cloud resources.
  • match_express_filter_relation - (Optional, ForceNew) The relationship between the conditional expressions for the tag values of the cloud resources. Valid values: and, or.
  • contact_group_list - (Required, ForceNew, List) The alert contact groups. The alert notifications of the application group are sent to the alert contacts that belong to the specified alert contact groups.
  • template_id_list - (Optional, ForceNew, List) The IDs of the alert templates.
  • match_express - (Required, ForceNew, Set) The conditional expressions used to create an application group based on the tag. See match_express below.

match_express

The match_express supports the following:

  • tag_value - (Required, ForceNew) The tag values of the cloud resources.
  • tag_value_match_function - (Required, ForceNew) The method that is used to match the tag values of the cloud resources. Valid values: all, startWith, endWith, contains, notContains, equals.

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Dynamic Tag Group.
  • status - The status of the Dynamic Tag Group.

Import

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

$ terraform import alicloud_cms_dynamic_tag_group.example <id>