ApplyAlertRuleTemplateProps
Properties for defining a ApplyAlertRuleTemplate
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-applyalertruletemplate
Initializer
import com.aliyun.ros.cdk.arms.ApplyAlertRuleTemplateProps;
ApplyAlertRuleTemplateProps.builder()
// .clusterIds(IResolvable)
// .clusterIds(java.util.List<java.lang.String)
// .clusterIds(IResolvable>)
// .templateIds(IResolvable)
// .templateIds(java.util.List<java.lang.String)
// .templateIds(IResolvable>)
// .update(java.lang.Boolean)
// .update(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
clusterIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property clusterIds: The IDs list of Prometheus Instances. |
templateIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property templateIds: The IDs list of Prometheus alert rule templates. |
update |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property update: Whether to update created alert rules. |
clusterIds
Optional
public java.lang.Object getClusterIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property clusterIds: The IDs list of Prometheus Instances.
templateIds
Optional
public java.lang.Object getTemplateIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property templateIds: The IDs list of Prometheus alert rule templates.
update
Optional
public java.lang.Object getUpdate();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property update: Whether to update created alert rules.
Default false.