Skip to content

ApplicationMonitorProps

Properties for defining a ApplicationMonitor.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-applicationmonitor

Initializer

import com.aliyun.ros.cdk.ga.ApplicationMonitorProps;
ApplicationMonitorProps.builder()
    .acceleratorId(java.lang.String)
    .acceleratorId(IResolvable)
    .address(java.lang.String)
    .address(IResolvable)
    .listenerId(java.lang.String)
    .listenerId(IResolvable)
    .taskName(java.lang.String)
    .taskName(IResolvable)
//  .detectEnable(java.lang.Boolean)
//  .detectEnable(IResolvable)
//  .detectThreshold(java.lang.Number)
//  .detectThreshold(IResolvable)
//  .detectTimes(java.lang.Number)
//  .detectTimes(IResolvable)
//  .optionsJson(IResolvable)
//  .optionsJson(java.util.Map<java.lang.String, java.lang.Object>)
//  .silenceTime(java.lang.Number)
//  .silenceTime(IResolvable)
    .build();

Properties

Name Type Description
acceleratorId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property acceleratorId: The ID of the GA instance on which you want to perform the origin probing task.
address java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property address: The URL or IP address that you want to probe.
listenerId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property listenerId: The ID of the listener on which you want to perform the origin probing task.
taskName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property taskName: The name of the origin probing task.
detectEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property detectEnable: Specifies whether to enable the automatic diagnostics feature.
detectThreshold java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property detectThreshold: The threshold that is used to trigger the automatic diagnostics feature.
detectTimes java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property detectTimes: The number of times that the threshold must be reached before the automatic diagnostics feature is triggered.
optionsJson com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property optionsJson: The extended options of the listener protocol that is used by the origin probing task.
silenceTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property silenceTime: The silence period of the automatic diagnostics feature.

acceleratorIdRequired

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

Property acceleratorId: The ID of the GA instance on which you want to perform the origin probing task.


addressRequired

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

Property address: The URL or IP address that you want to probe.


listenerIdRequired

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

Property listenerId: The ID of the listener on which you want to perform the origin probing task.


taskNameRequired

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

Property taskName: The name of the origin probing task.

The name must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.


detectEnableOptional

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

Property detectEnable: Specifies whether to enable the automatic diagnostics feature.


detectThresholdOptional

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

Property detectThreshold: The threshold that is used to trigger the automatic diagnostics feature.

Unit: percentage.Valid values: 0 to 100.The default value is 0, which indicates that the automatic diagnostics feature is not triggered.


detectTimesOptional

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

Property detectTimes: The number of times that the threshold must be reached before the automatic diagnostics feature is triggered.

Valid values: 1 to 20. Default value: 1.


optionsJsonOptional

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

Property optionsJson: The extended options of the listener protocol that is used by the origin probing task.

The options vary based on the listener protocol.


silenceTimeOptional

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

Property silenceTime: The silence period of the automatic diagnostics feature.

This parameter specifies the interval at which the automatic diagnostics feature is triggered. If the availability rate does not return to normal after GA triggers an automatic diagnostic task, GA must wait until the silence period ends before GA can trigger another automatic diagnostic task.If the number of consecutive times that the availability rate drops below the threshold of automatic diagnostics reaches the value of DetectTimes, the automatic diagnostics feature is triggered. The automatic diagnostics feature is not triggered again within the silence period even if the availability rate remains below the threshold. If the availability rate does not return to normal after the silence period ends, the automatic diagnostics feature is triggered again.Unit: seconds. Valid values: 300 to 86400. Default value: 300.