Skip to content

PrometheusProperty

Initializer

import com.aliyun.ros.cdk.cms.RosResourceMetricRule.PrometheusProperty;
PrometheusProperty.builder()
    .level(java.lang.String)
    .level(IResolvable)
    .promQl(java.lang.String)
    .promQl(IResolvable)
    .times(java.lang.Number)
    .times(IResolvable)
//  .annotations(IResolvable)
//  .annotations(java.util.List<IResolvable)
//  .annotations(AnnotationsProperty>)
    .build();

Properties

Name Type Description
level java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
promQl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
times java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
annotations com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAnnotationsProperty> No description.

levelRequired

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

promQlRequired

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

timesRequired

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

annotationsOptional

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