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

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var defaultInstance = new AliCloud.Cen.Instance("defaultInstance", new AliCloud.Cen.InstanceArgs
        {
        });
        var defaultInstanceAttachment = new AliCloud.Cen.InstanceAttachment("defaultInstanceAttachment", new AliCloud.Cen.InstanceAttachmentArgs
        {
            ChildInstanceId = "vbr-xxxxx",
            ChildInstanceRegionId = "cn-hangzhou",
            InstanceId = defaultInstance.Id,
        });
        var defaultVbrHealthCheck = new AliCloud.Cen.VbrHealthCheck("defaultVbrHealthCheck", new AliCloud.Cen.VbrHealthCheckArgs
        {
            CenId = defaultInstance.Id,
            HealthCheckInterval = 2,
            HealthCheckSourceIp = "192.168.1.2",
            HealthCheckTargetIp = "10.0.0.2",
            HealthyThreshold = 8,
            VbrInstanceId = "vbr-xxxxx",
            VbrInstanceRegionId = "cn-hangzhou",
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

default_instance = alicloud.cen.Instance("defaultInstance")
default_instance_attachment = alicloud.cen.InstanceAttachment("defaultInstanceAttachment",
    child_instance_id="vbr-xxxxx",
    child_instance_region_id="cn-hangzhou",
    instance_id=default_instance.id)
default_vbr_health_check = alicloud.cen.VbrHealthCheck("defaultVbrHealthCheck",
    cen_id=default_instance.id,
    health_check_interval=2,
    health_check_source_ip="192.168.1.2",
    health_check_target_ip="10.0.0.2",
    healthy_threshold=8,
    vbr_instance_id="vbr-xxxxx",
    vbr_instance_region_id="cn-hangzhou")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultInstance = new alicloud.cen.Instance("default", {});
const defaultInstanceAttachment = new alicloud.cen.InstanceAttachment("default", {
    childInstanceId: "vbr-xxxxx",
    childInstanceRegionId: "cn-hangzhou",
    instanceId: defaultInstance.id,
});
const defaultVbrHealthCheck = new alicloud.cen.VbrHealthCheck("default", {
    cenId: defaultInstance.id,
    healthCheckInterval: 2,
    healthCheckSourceIp: "192.168.1.2",
    healthCheckTargetIp: "10.0.0.2",
    healthyThreshold: 8,
    vbrInstanceId: "vbr-xxxxx",
    vbrInstanceRegionId: "cn-hangzhou",
}, { dependsOn: [defaultInstanceAttachment] });

Create a VbrHealthCheck Resource

def VbrHealthCheck(resource_name, opts=None, cen_id=None, health_check_interval=None, health_check_source_ip=None, health_check_target_ip=None, healthy_threshold=None, vbr_instance_id=None, vbr_instance_owner_id=None, vbr_instance_region_id=None, __props__=None);
name string
The unique name of the resource.
args VbrHealthCheckArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VbrHealthCheckArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VbrHealthCheckArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

VbrHealthCheck Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The VbrHealthCheck resource accepts the following input properties:

CenId string

The ID of the CEN instance.

HealthCheckTargetIp string

The destination IP address of health checks.

VbrInstanceId string

The ID of the VBR.

VbrInstanceRegionId string

The ID of the region to which the VBR belongs.

HealthCheckInterval int

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

HealthCheckSourceIp string

The source IP address of health checks.

HealthyThreshold int

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

VbrInstanceOwnerId int

The ID of the account to which the VBR belongs.

CenId string

The ID of the CEN instance.

HealthCheckTargetIp string

The destination IP address of health checks.

VbrInstanceId string

The ID of the VBR.

VbrInstanceRegionId string

The ID of the region to which the VBR belongs.

HealthCheckInterval int

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

HealthCheckSourceIp string

The source IP address of health checks.

HealthyThreshold int

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

VbrInstanceOwnerId int

The ID of the account to which the VBR belongs.

cenId string

The ID of the CEN instance.

healthCheckTargetIp string

The destination IP address of health checks.

vbrInstanceId string

The ID of the VBR.

vbrInstanceRegionId string

The ID of the region to which the VBR belongs.

healthCheckInterval number

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

healthCheckSourceIp string

The source IP address of health checks.

healthyThreshold number

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

vbrInstanceOwnerId number

The ID of the account to which the VBR belongs.

cen_id str

The ID of the CEN instance.

health_check_target_ip str

The destination IP address of health checks.

vbr_instance_id str

The ID of the VBR.

vbr_instance_region_id str

The ID of the region to which the VBR belongs.

health_check_interval float

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

health_check_source_ip str

The source IP address of health checks.

healthy_threshold float

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

vbr_instance_owner_id float

The ID of the account to which the VBR belongs.

Outputs

All input properties are implicitly available as output properties. Additionally, the VbrHealthCheck resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing VbrHealthCheck Resource

Get an existing VbrHealthCheck resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: VbrHealthCheckState, opts?: CustomResourceOptions): VbrHealthCheck
static get(resource_name, id, opts=None, cen_id=None, health_check_interval=None, health_check_source_ip=None, health_check_target_ip=None, healthy_threshold=None, vbr_instance_id=None, vbr_instance_owner_id=None, vbr_instance_region_id=None, __props__=None);
func GetVbrHealthCheck(ctx *Context, name string, id IDInput, state *VbrHealthCheckState, opts ...ResourceOption) (*VbrHealthCheck, error)
public static VbrHealthCheck Get(string name, Input<string> id, VbrHealthCheckState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

CenId string

The ID of the CEN instance.

HealthCheckInterval int

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

HealthCheckSourceIp string

The source IP address of health checks.

HealthCheckTargetIp string

The destination IP address of health checks.

HealthyThreshold int

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

VbrInstanceId string

The ID of the VBR.

VbrInstanceOwnerId int

The ID of the account to which the VBR belongs.

VbrInstanceRegionId string

The ID of the region to which the VBR belongs.

CenId string

The ID of the CEN instance.

HealthCheckInterval int

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

HealthCheckSourceIp string

The source IP address of health checks.

HealthCheckTargetIp string

The destination IP address of health checks.

HealthyThreshold int

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

VbrInstanceId string

The ID of the VBR.

VbrInstanceOwnerId int

The ID of the account to which the VBR belongs.

VbrInstanceRegionId string

The ID of the region to which the VBR belongs.

cenId string

The ID of the CEN instance.

healthCheckInterval number

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

healthCheckSourceIp string

The source IP address of health checks.

healthCheckTargetIp string

The destination IP address of health checks.

healthyThreshold number

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

vbrInstanceId string

The ID of the VBR.

vbrInstanceOwnerId number

The ID of the account to which the VBR belongs.

vbrInstanceRegionId string

The ID of the region to which the VBR belongs.

cen_id str

The ID of the CEN instance.

health_check_interval float

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

health_check_source_ip str

The source IP address of health checks.

health_check_target_ip str

The destination IP address of health checks.

healthy_threshold float

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

vbr_instance_id str

The ID of the VBR.

vbr_instance_owner_id float

The ID of the account to which the VBR belongs.

vbr_instance_region_id str

The ID of the region to which the VBR belongs.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.