Skip to content

LivenessProperty

Initializer

import com.aliyun.ros.cdk.edas.RosK8sApplication.LivenessProperty;
LivenessProperty.builder()
//  .exec(IResolvable)
//  .exec(ExecProperty)
//  .failureThreshold(java.lang.Number)
//  .failureThreshold(IResolvable)
//  .httpGet(IResolvable)
//  .httpGet(HttpGetProperty)
//  .initialDelaySeconds(java.lang.Number)
//  .initialDelaySeconds(IResolvable)
//  .periodSeconds(java.lang.Number)
//  .periodSeconds(IResolvable)
//  .successThreshold(java.lang.Number)
//  .successThreshold(IResolvable)
//  .tcpSocket(IResolvable)
//  .tcpSocket(TcpSocketProperty)
//  .timeoutSeconds(java.lang.Number)
//  .timeoutSeconds(IResolvable)
    .build();

Properties

Name Type Description
exec com.aliyun.ros.cdk.core.IResolvable OR ExecProperty No description.
failureThreshold java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
httpGet com.aliyun.ros.cdk.core.IResolvable OR HttpGetProperty No description.
initialDelaySeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
periodSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
successThreshold java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
tcpSocket com.aliyun.ros.cdk.core.IResolvable OR TcpSocketProperty No description.
timeoutSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.

execOptional

public java.lang.Object getExec();

failureThresholdOptional

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

httpGetOptional

public java.lang.Object getHttpGet();

initialDelaySecondsOptional

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

periodSecondsOptional

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

successThresholdOptional

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

tcpSocketOptional

public java.lang.Object getTcpSocket();

timeoutSecondsOptional

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