Skip to content

DynamicTagGroupProps

Properties for defining a DynamicTagGroup.

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

Initializer

import com.aliyun.ros.cdk.cms.DynamicTagGroupProps;
DynamicTagGroupProps.builder()
    .contactGroupList(IResolvable)
    .contactGroupList(java.util.List<java.lang.String)
    .contactGroupList(IResolvable>)
    .tagKey(java.lang.String)
    .tagKey(IResolvable)
//  .enableInstallAgent(java.lang.Boolean)
//  .enableInstallAgent(IResolvable)
//  .enableSubscribeEvent(java.lang.Boolean)
//  .enableSubscribeEvent(IResolvable)
//  .matchExpress(IResolvable)
//  .matchExpress(java.util.List<IResolvable)
//  .matchExpress(MatchExpressProperty>)
//  .matchExpressFilterRelation(java.lang.String)
//  .matchExpressFilterRelation(IResolvable)
//  .templateIdList(IResolvable)
//  .templateIdList(java.util.List<java.lang.String)
//  .templateIdList(IResolvable>)
    .build();

Properties

Name Type Description
contactGroupList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property contactGroupList: The alert contact groups.
tagKey java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tagKey: Tag key.
enableInstallAgent java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enableInstallAgent: Whether to enable initial installation monitoring plug, not installed by default.
enableSubscribeEvent java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enableSubscribeEvent: Specifies whether to automatically subscribe to event notifications for the application group.
matchExpress com.aliyun.ros.cdk.core.IResolvable OR java.util.ListMatchExpressProperty> Property matchExpress: The match expressions that are used to create an application group from tags.
matchExpressFilterRelation java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values.
templateIdList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property templateIdList: The ID of the alert template.

contactGroupListRequired

public java.lang.Object getContactGroupList();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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 java.lang.Object getTagKey();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property tagKey: Tag key.


enableInstallAgentOptional

public java.lang.Object getEnableInstallAgent();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getEnableSubscribeEvent();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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 java.lang.Object getMatchExpress();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListMatchExpressProperty>

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


matchExpressFilterRelationOptional

public java.lang.Object getMatchExpressFilterRelation();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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

Valid values:

  • and (default)
  • or

templateIdListOptional

public java.lang.Object getTemplateIdList();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property templateIdList: The ID of the alert template.

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