DynamicTagGroupProps
Properties for defining a DynamicTagGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-dynamictaggroup
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcms"
&alicloudroscdkcms.DynamicTagGroupProps {
ContactGroupList: interface{},
TagKey: interface{},
EnableInstallAgent: interface{},
EnableSubscribeEvent: interface{},
MatchExpress: interface{},
MatchExpressFilterRelation: interface{},
TemplateIdList: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ContactGroupList | interface{} | Property contactGroupList: The alert contact groups. |
TagKey | interface{} | Property tagKey: Tag key. |
EnableInstallAgent | interface{} | Property enableInstallAgent: Whether to enable initial installation monitoring plug, not installed by default. |
EnableSubscribeEvent | interface{} | Property enableSubscribeEvent: Specifies whether to automatically subscribe to event notifications for the application group. |
MatchExpress | interface{} | Property matchExpress: The match expressions that are used to create an application group from tags. |
MatchExpressFilterRelation | interface{} | Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values. |
TemplateIdList | interface{} | Property templateIdList: The ID of the alert template. |
ContactGroupListRequired
ContactGroupList interface{}
- Type: interface{}
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
TagKey interface{}
- Type: interface{}
Property tagKey: Tag key.
EnableInstallAgentOptional
EnableInstallAgent interface{}
- Type: interface{}
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
EnableSubscribeEvent interface{}
- Type: interface{}
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
MatchExpress interface{}
- Type: interface{}
Property matchExpress: The match expressions that are used to create an application group from tags.
MatchExpressFilterRelationOptional
MatchExpressFilterRelation interface{}
- Type: interface{}
Property matchExpressFilterRelation: The relationship between the conditional expressions for the tag values.
Valid values:
- and (default)
- or
TemplateIdListOptional
TemplateIdList interface{}
- Type: interface{}
Property templateIdList: The ID of the alert template.
For more information about how to query the IDs of alert templates, see DescribeMetricRuleTemplateList.