Queries the health check information for a virtual border router (VBR) in a specified region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenVbrHealthCheck |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
No |
The ID of the Cloud Enterprise Network (CEN) instance. |
cen-6hpdgj7ni6pz1k**** |
| VbrInstanceRegionId |
string |
Yes |
The ID of the region where the Virtual Border Router (VBR) is deployed. For more information, see DescribeChildInstanceRegions. |
cn-hangzhou |
| VbrInstanceId |
string |
No |
The ID of the VBR. |
vbr-bp1kznorjeembsuhl**** |
| VbrInstanceOwnerId |
integer |
No |
The ID of the Alibaba Cloud account that owns the VBR. |
1250123456123456 |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Valid values: 1 to 50. Default value: 10. |
10 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| PageSize |
integer |
The number of entries returned per page. |
10 |
| RequestId |
string |
The request ID. |
B8C9702E-304A-4E18-AC89-BE2D91C2C176 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| VbrHealthChecks |
object |
||
| VbrHealthCheck |
array<object> |
The health check configurations of the VBR. |
|
|
object |
|||
| HealthCheckTargetIp |
string |
The destination IP address of the health check. |
192.XX.XX.1 |
| VbrInstanceId |
string |
The VBR ID. |
vbr-bp1kznorjeembsuhl**** |
| VbrInstanceRegionId |
string |
The ID of the region where the VBR is deployed. |
cn-hangzhou |
| CenId |
string |
The CEN ID. |
cen-6hpdgj7ni6pz1k**** |
| HealthyThreshold |
integer |
The number of probe packets that are sent during a health check. |
8 |
| HealthCheckInterval |
integer |
The interval, in seconds, at which probe packets are sent during a health check. |
2 |
| HealthCheckSourceIp |
string |
The source IP address of the health check. |
172.XX.XX.1 |
| HealthCheckOnly |
boolean |
Specifies whether to enable the detection-only feature for the health check.
|
false |
| Description |
string |
The description of the health check. |
healthcheck_description |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "B8C9702E-304A-4E18-AC89-BE2D91C2C176",
"PageNumber": 1,
"TotalCount": 1,
"VbrHealthChecks": {
"VbrHealthCheck": [
{
"HealthCheckTargetIp": "192.XX.XX.1",
"VbrInstanceId": "vbr-bp1kznorjeembsuhl****",
"VbrInstanceRegionId": "cn-hangzhou",
"CenId": "cen-6hpdgj7ni6pz1k****",
"HealthyThreshold": 8,
"HealthCheckInterval": 2,
"HealthCheckSourceIp": "172.XX.XX.1",
"HealthCheckOnly": false,
"Description": "healthcheck_description"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.