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
new VbrHealthCheck(name: string, args: VbrHealthCheckArgs, opts?: CustomResourceOptions);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);func NewVbrHealthCheck(ctx *Context, name string, args VbrHealthCheckArgs, opts ...ResourceOption) (*VbrHealthCheck, error)public VbrHealthCheck(string name, VbrHealthCheckArgs args, CustomResourceOptions? opts = null)- 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:
- Cen
Id string The ID of the CEN instance.
- Health
Check stringTarget Ip The destination IP address of health checks.
- Vbr
Instance stringId The ID of the VBR.
- Vbr
Instance stringRegion Id The ID of the region to which the VBR belongs.
- Health
Check intInterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- Health
Check stringSource Ip The source IP address of health checks.
- Healthy
Threshold int Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
- Vbr
Instance intOwner Id The ID of the account to which the VBR belongs.
- Cen
Id string The ID of the CEN instance.
- Health
Check stringTarget Ip The destination IP address of health checks.
- Vbr
Instance stringId The ID of the VBR.
- Vbr
Instance stringRegion Id The ID of the region to which the VBR belongs.
- Health
Check intInterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- Health
Check stringSource Ip The source IP address of health checks.
- Healthy
Threshold int Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
- Vbr
Instance intOwner Id The ID of the account to which the VBR belongs.
- cen
Id string The ID of the CEN instance.
- health
Check stringTarget Ip The destination IP address of health checks.
- vbr
Instance stringId The ID of the VBR.
- vbr
Instance stringRegion Id The ID of the region to which the VBR belongs.
- health
Check numberInterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- health
Check stringSource Ip The source IP address of health checks.
- healthy
Threshold number Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
- vbr
Instance numberOwner Id The ID of the account to which the VBR belongs.
- cen_
id str The ID of the CEN instance.
- health_
check_ strtarget_ ip The destination IP address of health checks.
- vbr_
instance_ strid The ID of the VBR.
- vbr_
instance_ strregion_ id The ID of the region to which the VBR belongs.
- health_
check_ floatinterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- health_
check_ strsource_ ip 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_ floatowner_ id 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:
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): VbrHealthCheckstatic 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:
- Cen
Id string The ID of the CEN instance.
- Health
Check intInterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- Health
Check stringSource Ip The source IP address of health checks.
- Health
Check stringTarget Ip The destination IP address of health checks.
- Healthy
Threshold int Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
- Vbr
Instance stringId The ID of the VBR.
- Vbr
Instance intOwner Id The ID of the account to which the VBR belongs.
- Vbr
Instance stringRegion Id The ID of the region to which the VBR belongs.
- Cen
Id string The ID of the CEN instance.
- Health
Check intInterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- Health
Check stringSource Ip The source IP address of health checks.
- Health
Check stringTarget Ip The destination IP address of health checks.
- Healthy
Threshold int Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
- Vbr
Instance stringId The ID of the VBR.
- Vbr
Instance intOwner Id The ID of the account to which the VBR belongs.
- Vbr
Instance stringRegion Id The ID of the region to which the VBR belongs.
- cen
Id string The ID of the CEN instance.
- health
Check numberInterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- health
Check stringSource Ip The source IP address of health checks.
- health
Check stringTarget Ip The destination IP address of health checks.
- healthy
Threshold number Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
- vbr
Instance stringId The ID of the VBR.
- vbr
Instance numberOwner Id The ID of the account to which the VBR belongs.
- vbr
Instance stringRegion Id The ID of the region to which the VBR belongs.
- cen_
id str The ID of the CEN instance.
- health_
check_ floatinterval Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
- health_
check_ strsource_ ip The source IP address of health checks.
- health_
check_ strtarget_ ip 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_ strid The ID of the VBR.
- vbr_
instance_ floatowner_ id The ID of the account to which the VBR belongs.
- vbr_
instance_ strregion_ id 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
alicloudTerraform Provider.