Skip to content

RosResourceMetricRuleProps

Properties for defining a RosResourceMetricRule.

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

Initializer

import com.aliyun.ros.cdk.cms.RosResourceMetricRuleProps;
RosResourceMetricRuleProps.builder()
    .contactGroups(IResolvable)
    .contactGroups(java.util.List<java.lang.String)
    .contactGroups(IResolvable>)
    .escalations(IResolvable)
    .escalations(EscalationsProperty)
    .metricName(java.lang.String)
    .metricName(IResolvable)
    .namespace(java.lang.String)
    .namespace(IResolvable)
    .resources(IResolvable)
    .resources(java.util.List<java.util.Map<java.lang.String, java.lang.Object>>)
//  .compositeExpression(IResolvable)
//  .compositeExpression(CompositeExpressionProperty)
//  .deletionForce(java.lang.Boolean)
//  .deletionForce(IResolvable)
//  .effectiveInterval(java.lang.String)
//  .effectiveInterval(IResolvable)
//  .emailSubject(java.lang.String)
//  .emailSubject(IResolvable)
//  .interval(java.lang.Number)
//  .interval(IResolvable)
//  .labels(IResolvable)
//  .labels(java.util.List<IResolvable)
//  .labels(LabelsProperty>)
//  .noDataPolicy(java.lang.String)
//  .noDataPolicy(IResolvable)
//  .noEffectiveInterval(java.lang.String)
//  .noEffectiveInterval(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .prometheus(IResolvable)
//  .prometheus(PrometheusProperty)
//  .ruleId(java.lang.String)
//  .ruleId(IResolvable)
//  .ruleName(java.lang.String)
//  .ruleName(IResolvable)
//  .silenceTime(java.lang.Number)
//  .silenceTime(IResolvable)
//  .webhook(java.lang.String)
//  .webhook(IResolvable)
    .build();

Properties

Name Type Description
contactGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
escalations com.aliyun.ros.cdk.core.IResolvable OR EscalationsProperty No description.
metricName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
namespace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
resources com.aliyun.ros.cdk.core.IResolvable OR java.util.List> No description.
compositeExpression com.aliyun.ros.cdk.core.IResolvable OR CompositeExpressionProperty No description.
deletionForce java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
effectiveInterval java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
emailSubject java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
interval java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
labels com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLabelsProperty> No description.
noDataPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
noEffectiveInterval java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
prometheus com.aliyun.ros.cdk.core.IResolvable OR PrometheusProperty No description.
ruleId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ruleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
silenceTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
webhook java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

contactGroupsRequired

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

escalationsRequired

public java.lang.Object getEscalations();

metricNameRequired

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

namespaceRequired

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

resourcesRequired

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

compositeExpressionOptional

public java.lang.Object getCompositeExpression();

deletionForceOptional

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

effectiveIntervalOptional

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

emailSubjectOptional

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

intervalOptional

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

labelsOptional

public java.lang.Object getLabels();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLabelsProperty>

noDataPolicyOptional

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

noEffectiveIntervalOptional

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

periodOptional

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

prometheusOptional

public java.lang.Object getPrometheus();

ruleIdOptional

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

ruleNameOptional

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

silenceTimeOptional

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

webhookOptional

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