Skip to content

DynamicTagGroupProps

Properties for defining a DynamicTagGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-dynamictaggroup

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cms;
new DynamicTagGroupProps {
    object ContactGroupList,
    object TagKey,
    object EnableInstallAgent = null,
    object EnableSubscribeEvent = null,
    object MatchExpress = null,
    object MatchExpressFilterRelation = null,
    object TemplateIdList = null
};

Properties

Name Type Description
ContactGroupList object Property contactGroupList: The alert contact groups.
TagKey object Property tagKey: Tag key.
EnableInstallAgent object Property enableInstallAgent: Whether to enable initial installation monitoring plug, not installed by default.
EnableSubscribeEvent object Property enableSubscribeEvent: Specifies whether to automatically subscribe to event notifications for the application group.
MatchExpress object Property matchExpress: The match expressions that are used to create an application group from tags.
MatchExpressFilterRelation object Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values.
TemplateIdList object Property templateIdList: The ID of the alert template.

ContactGroupListRequired

public object ContactGroupList { get; set; }
  • Type: object

Property contactGroupList: The alert contact groups.

The value of N can be from 1 to 100. Alert notifications for the application group are sent to the alert contacts in these alert contact groups. An alert contact group can contain one or more alert contacts. For more information about how to create alert contacts and alert contact groups, see PutContact and PutContactGroup. For more information about how to obtain alert contact groups, see DescribeContactGroupList.


TagKeyRequired

public object TagKey { get; set; }
  • Type: object

Property tagKey: Tag key.


EnableInstallAgentOptional

public object EnableInstallAgent { get; set; }
  • Type: object

Property enableInstallAgent: Whether to enable initial installation monitoring plug, not installed by default.

Values are: true: enable installation Note If ECS generated instances group does not monitor plug-in installed will attempt to automatically install. false: disable installation


EnableSubscribeEventOptional

public object EnableSubscribeEvent { get; set; }
  • Type: object

Property enableSubscribeEvent: Specifies whether to automatically subscribe to event notifications for the application group.

When a critical or warning event occurs on a resource in the application group, CloudMonitor sends an alert notification. Valid values:

  • true: enabled.
  • false (default): disabled.

MatchExpressOptional

public object MatchExpress { get; set; }
  • Type: object

Property matchExpress: The match expressions that are used to create an application group from tags.


MatchExpressFilterRelationOptional

public object MatchExpressFilterRelation { get; set; }
  • Type: object

Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values.

Valid values:

  • and (default)
  • or

TemplateIdListOptional

public object TemplateIdList { get; set; }
  • Type: object

Property templateIdList: The ID of the alert template.

For more information about how to query the IDs of alert templates, see DescribeMetricRuleTemplateList.