CenVbrHealthCheckProps
Properties for defining a CenVbrHealthCheck
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-cenvbrhealthcheck
Initializer
import com.aliyun.ros.cdk.cen.CenVbrHealthCheckProps;
CenVbrHealthCheckProps.builder()
.cenId(java.lang.String)
.cenId(IResolvable)
.healthCheckTargetIp(java.lang.String)
.healthCheckTargetIp(IResolvable)
.vbrInstanceId(java.lang.String)
.vbrInstanceId(IResolvable)
.vbrInstanceRegionId(java.lang.String)
.vbrInstanceRegionId(IResolvable)
// .healthCheckInterval(java.lang.Number)
// .healthCheckInterval(IResolvable)
// .healthCheckSourceIp(java.lang.String)
// .healthCheckSourceIp(IResolvable)
// .healthyThreshold(java.lang.Number)
// .healthyThreshold(IResolvable)
// .vbrInstanceOwnerId(java.lang.Number)
// .vbrInstanceOwnerId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
cenId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cenId: The ID of the CEN instance. |
healthCheckTargetIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckTargetIp: Specifies the destination IP address of the health check. |
vbrInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vbrInstanceId: The ID of the VBR instance. |
vbrInstanceRegionId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vbrInstanceRegionId: The ID of the region where the VBR instance is deployed. |
healthCheckInterval |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckInterval: Specifies the time interval at which probe packets are sent during the health check. |
healthCheckSourceIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property healthCheckSourceIp: You can use either of the following methods to specify the source IP address of the health check. |
healthyThreshold |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property healthyThreshold: Specifies the number of probe packets to be sent during the health check. |
vbrInstanceOwnerId |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property vbrInstanceOwnerId: The User ID (UID) of the account to which the VBR instance belongs. |
cenId
Required
public java.lang.Object getCenId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cenId: The ID of the CEN instance.
healthCheckTargetIp
Required
public java.lang.Object getHealthCheckTargetIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckTargetIp: Specifies the destination IP address of the health check.
The destination IP address is the IP address of the client-facing interface on the VBR instance.
vbrInstanceId
Required
public java.lang.Object getVbrInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vbrInstanceId: The ID of the VBR instance.
vbrInstanceRegionId
Required
public java.lang.Object getVbrInstanceRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vbrInstanceRegionId: The ID of the region where the VBR instance is deployed.
You can call the DescribeRegionsoperation to query region IDs.
healthCheckInterval
Optional
public java.lang.Object getHealthCheckInterval();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckInterval: Specifies the time interval at which probe packets are sent during the health check.
Default value: 2. Valid values: 2 to 3. Unit: second.
healthCheckSourceIp
Optional
public java.lang.Object getHealthCheckSourceIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property healthCheckSourceIp: You can use either of the following methods to specify the source IP address of the health check.
Automatic IP Address: The system automatically assigns an IP address within the CIDR block 100.96.0.0/16 (recommended). Custom IP Address: You can specify a source IP address that is available within the CIDR block 10.0.0.0/8, 192.168.0.0/16, or 172.16.0.0/12. The specified source IP address must not overlap with the IP addresses of the Alibaba Cloud-facing and client-facing interfaces on the VBR instance, or the IP addresses of the instances with which the VBR instance needs to communicate in the CEN.
healthyThreshold
Optional
public java.lang.Object getHealthyThreshold();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property healthyThreshold: Specifies the number of probe packets to be sent during the health check.
Default value: 8. Valid values: 3 to 8. Unit: packet.
vbrInstanceOwnerId
Optional
public java.lang.Object getVbrInstanceOwnerId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property vbrInstanceOwnerId: The User ID (UID) of the account to which the VBR instance belongs.