Queries the configuration of a router interface.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DescribeRouterInterfaceAttribute |
get |
*RouterInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the router interface. You can call the DescribeRegions operation to query the region ID. |
cn-qingdao |
| InstanceId |
string |
Yes |
The ID of the router interface to query. |
ri-m5egfc10sednwk2yt**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| ReservationActiveTime |
string |
The renewal active time. The time is displayed in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
2022-06-11T16:00:00Z |
| HealthCheckTargetIp |
string |
The health check target IP address. |
2.2.XX.XX |
| Status |
string |
The status of the router interface. Valid values:
|
Active |
| CreationTime |
string |
The time when the router interface was created. The time is displayed in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
2022-04-14T08:57:24Z |
| ReservationOrderType |
string |
The renewal order type. Valid values: RENEW, which indicates a renewal order. |
RENEW |
| OppositeInterfaceId |
string |
The ID of the peer router interface. |
ri-bp1xkrzttximaoxbl**** |
| Spec |
string |
The specification of the router interface. Valid values:
|
Mini.2 |
| ChargeType |
string |
The billing method. Valid values:
|
AfterPay |
| RouterInterfaceId |
string |
The ID of the router interface. |
ri-m5egfc10sednwk2yt**** |
| Message |
string |
The returned message. |
successful |
| HcThreshold |
integer |
The health check threshold. This value indicates the number of probe packets sent during a health check. Unit: packets. |
8 |
| OppositeRouterType |
string |
The type of the router to which the peer router interface belongs. Valid values:
|
VRouter |
| GmtModified |
string |
The time when the router interface was last modified. |
2022-04-28T10:02:12Z |
| VpcInstanceId |
string |
The ID of the virtual private cloud (VPC) to which the router interface belongs. |
vpc-bp1b49rqrybk45nio**** |
| OppositeInterfaceOwnerId |
string |
The ID of the account to which the peer router interface belongs. |
1321932713**** |
| OppositeVpcInstanceId |
string |
The ID of the peer VPC. |
vpc-bp1b49rqrybk45nio**** |
| ReservationInternetChargeType |
string |
The renewal billing type. Valid values: PayByBandwidth, which indicates pay-by-bandwidth. |
PayByBandwidth |
| CrossBorder |
boolean |
Indicates whether this is a cross-border connection. Valid values:
|
false |
| RequestId |
string |
The request ID. |
01818199-04F6-47F4-9ADF-7CC824CF57A4 |
| Bandwidth |
integer |
The bandwidth of the router interface. Unit: Mbps. |
2 |
| Description |
string |
The description of the router interface. |
Peer interface |
| HcRate |
integer |
The health check rate. Unit: seconds. This value indicates the interval between consecutive probe packets sent during a health check. |
2 |
| ReservationBandwidth |
string |
The renewal bandwidth. Unit: Mbps. |
100 |
| Code |
string |
The HTTP status code. |
200 |
| Name |
string |
The name of the router interface. |
RouterInterface1 |
| OppositeRouterId |
string |
The ID of the router to which the peer router interface belongs. |
vrt-bp11xvy6lb9photuu**** |
| OppositeInterfaceSpec |
string |
The specification of the peer router interface. Valid values:
|
Negative |
| RouterId |
string |
The ID of the router to which the router interface belongs. |
vbr-m5ex0xf63xk8s5bob**** |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| OppositeInterfaceBusinessStatus |
string |
The business status of the peer router interface. Valid values:
|
Normal |
| ConnectedTime |
string |
The time when the connection was established. The time is displayed in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
2022-04-14T08:58:04Z |
| HealthCheckSourceIp |
string |
The health check source IP address. |
1.1.XX.XX |
| OppositeInterfaceStatus |
string |
The status of the peer router interface. Valid values:
|
Active |
| EndTime |
string |
The end time of the data retrieval. The time is displayed in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
2999-09-08T16:00:00Z |
| OppositeRegionId |
string |
The region ID of the peer router interface. |
cn-hangzhou |
| OppositeAccessPointId |
string |
The ID of the peer access point. |
ap-cn-qingdao-ls-B |
| BusinessStatus |
string |
The business status of the router interface. Valid values:
|
Normal |
| HealthCheckStatus |
string |
The health check status. Valid values:
|
normal |
| OppositeBandwidth |
integer |
The bandwidth of the peer router interface. Unit: Mbps. |
0 |
| RouterType |
string |
The type of the router to which the route table belongs. Valid values:
|
VRouter |
| Role |
string |
The role in the peering connection. |
InitiatingSide |
| HasReservationData |
string |
Indicates whether renewal data exists. Valid values:
|
false |
| AccessPointId |
string |
The ID of the access point. |
ap-cn-qingdao-ls-A |
| ResourceGroupId |
string |
The resource group ID. For more information about resource groups, see What is a resource group?. |
rg-acfmxazb4ph6aiy**** |
| Tags |
object |
||
| Tags |
array<object> |
The tags of the resource. |
|
|
object |
The tag. |
||
| Key |
string |
The tag key of the resource. You must specify at least 1 tag key and can specify at most 20 tag keys. The tag key cannot be an empty string. A tag key can be up to 64 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with |
FinanceDept |
| Value |
string |
The tag value of the resource. You can specify at most 20 tag values. The tag value can be an empty string. The tag value can be up to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It cannot start with |
FinanceJoshua |
| FastLinkMode |
string |
Indicates whether the router interface on the VBR was created in fast link mode. Fast link mode allows the router interfaces on both the VBR and VPC sides to automatically connect after creation. Valid values:
Note
|
false |
Examples
Success response
JSON format
{
"ReservationActiveTime": "2022-06-11T16:00:00Z",
"HealthCheckTargetIp": "2.2.XX.XX",
"Status": "Active",
"CreationTime": "2022-04-14T08:57:24Z",
"ReservationOrderType": "RENEW",
"OppositeInterfaceId": "ri-bp1xkrzttximaoxbl****",
"Spec": "Mini.2",
"ChargeType": "AfterPay",
"RouterInterfaceId": "ri-m5egfc10sednwk2yt****",
"Message": "successful",
"HcThreshold": 8,
"OppositeRouterType": "VRouter",
"GmtModified": "2022-04-28T10:02:12Z",
"VpcInstanceId": "vpc-bp1b49rqrybk45nio****",
"OppositeInterfaceOwnerId": "1321932713****",
"OppositeVpcInstanceId": "vpc-bp1b49rqrybk45nio****",
"ReservationInternetChargeType": "PayByBandwidth",
"CrossBorder": false,
"RequestId": "01818199-04F6-47F4-9ADF-7CC824CF57A4",
"Bandwidth": 2,
"Description": "Peer interface",
"HcRate": 2,
"ReservationBandwidth": "100",
"Code": "200",
"Name": "RouterInterface1",
"OppositeRouterId": "vrt-bp11xvy6lb9photuu****",
"OppositeInterfaceSpec": "Negative",
"RouterId": "vbr-m5ex0xf63xk8s5bob****",
"Success": true,
"OppositeInterfaceBusinessStatus": "Normal",
"ConnectedTime": "2022-04-14T08:58:04Z",
"HealthCheckSourceIp": "1.1.XX.XX",
"OppositeInterfaceStatus": "Active",
"EndTime": "2999-09-08T16:00:00Z",
"OppositeRegionId": "cn-hangzhou",
"OppositeAccessPointId": "ap-cn-qingdao-ls-B",
"BusinessStatus": "Normal",
"HealthCheckStatus": "normal",
"OppositeBandwidth": 0,
"RouterType": "VRouter",
"Role": "InitiatingSide",
"HasReservationData": "false",
"AccessPointId": "ap-cn-qingdao-ls-A",
"ResourceGroupId": "rg-acfmxazb4ph6aiy****",
"Tags": {
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
]
},
"FastLinkMode": "false"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam.NotNull | The parameter must not be null. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.