VbrHealthCheck

This topic describes how to configure the health check feature for a Cloud Enterprise Network (CEN) instance. After you attach a Virtual Border Router (VBR) to the CEN instance and configure the health check feature, you can monitor the network conditions of the on-premises data center connected to the VBR. For information about CEN VBR HealthCheck and how to use it, see Manage CEN VBR HealthCheck.

NOTE: Available in 1.88.0+

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.InstanceAttachment;
import com.pulumi.alicloud.cen.InstanceAttachmentArgs;
import com.pulumi.alicloud.cen.VbrHealthCheck;
import com.pulumi.alicloud.cen.VbrHealthCheckArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
.cenInstanceName("test_name")
.build());
var defaultInstanceAttachment = new InstanceAttachment("defaultInstanceAttachment", InstanceAttachmentArgs.builder()
.instanceId(defaultInstance.id())
.childInstanceId("vbr-xxxxx")
.childInstanceType("VBR")
.childInstanceRegionId("cn-hangzhou")
.build());
var defaultVbrHealthCheck = new VbrHealthCheck("defaultVbrHealthCheck", VbrHealthCheckArgs.builder()
.cenId(defaultInstance.id())
.healthCheckSourceIp("192.168.1.2")
.healthCheckTargetIp("10.0.0.2")
.vbrInstanceId("vbr-xxxxx")
.vbrInstanceRegionId("cn-hangzhou")
.healthCheckInterval(2)
.healthyThreshold(8)
.build(), CustomResourceOptions.builder()
.dependsOn(defaultInstanceAttachment)
.build());
}
}

Import

CEN VBR HealthCheck can be imported using the id, e.g.

$ pulumi import alicloud:cen/vbrHealthCheck:VbrHealthCheck example vbr-xxxxx:cn-hangzhou

Properties

Link copied to clipboard
val cenId: Output<String>

The ID of the CEN instance.

Link copied to clipboard
val healthCheckInterval: Output<Int>?

Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.

Link copied to clipboard

The source IP address of health checks.

Link copied to clipboard

The destination IP address of health checks.

Link copied to clipboard
val healthyThreshold: Output<Int>?

Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vbrInstanceId: Output<String>

The ID of the VBR.

Link copied to clipboard
val vbrInstanceOwnerId: Output<Int>?

The ID of the account to which the VBR belongs.

Link copied to clipboard

The ID of the region to which the VBR belongs.