Enables the health check function for a VBR associated with a CEN instance. The health check function ensures that you can find any failure of physical connections in a timely manner.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
CenId String  Yes cen-hahhfskfkseig****

The ID of the CEN instance.

HealthCheckSourceIp String  Yes 192.168.1.xx

The source IP address of health checks.

HealthCheckTargetIp String  Yes 10.0.0.xx

The destination IP address of health checks.

VbrInstanceId String  Yes vbr-wz95o9aylj181n5mzk****

The ID of the VBR.

VbrInstanceRegionId String  Yes cn-shenzhen

The ID of the region to which the VBR belongs. To query the region ID, call DescribeRegions.

Action String No EnableCenVbrHealthCheck

Optional. The name of this action. Value: EnableCenVbrHealthCheck

VbrInstanceOwnerId Long No 1233233323445689999

Optional. The ID of the account to which the VBR belongs.

Response parameters

Parameter Type Example value Description
RequestId String A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=EnableCenVbrHealthCheck
&CenId=cen-hahhfskfkseig****
&HealthCheckSourceIp=192.168.1.xx
&HealthCheckTargetIp=10.0.0.xx
&VbrInstanceId=vbr-wz95o9aylj181n5mzk****
&VbrInstanceRegionId=cn-shenzhen
&<CommonParameters>

Response examples

XML format

<EnableCenVbrHealthCheckResponse>
      <RequestId>A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A</RequestId>
      <CenId>Cen-atlpf6evc5kqch****</CenId>
      <VbrId>vbr-il7ldy0ux6rb15lc2****</VbrId>
      <RegionId>cn-hangzhou</RegionId>
      <SourceIp>10.10.10.xx</SourceIp>
      <TargetIp>10.10.10.xx</TargetIp>
      <PacketNum>3</PacketNum>
      <Status>Enable </Status>
</EnableCenVbrHealthCheckResponse>

JSON format

{
	"Status":"Enable",
	"PacketNum":"3",
	"RegionId":"cn-hangzhou",
	"RequestId":"A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A",
	"TargetIp":"10.10.10.xx",
	"CenId":"Cen-atlpf6evc5kqchp****",
	"VbrId":"vbr-il7ldy0ux6rb15lc2****",
	"SourceIp":"10.10.10.xx"
}

Errors

HTTP status code Error code Error message Description
400 RouteConflict The specified route already exists. The specified route already exists.
400 Illegal.SourceIpOrTargetIp The specified source IP address or destination IP address is invalid. The source IP address or destination IP address is invalid.

For a list of error codes, visit the API Error Center.