Queries whether permissions on a virtual private cloud (VPC) are granted to a virtual border router (VBR).
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceType | string | Yes | The type of instance. Valid values:
| VBR |
InstanceId | string | Yes | The ID of the instance.
| vbr-bp12mw1f8k3jgygk9**** |
PageNumber | long | No | The page number. Default value: 1. | 1 |
PageSize | long | No | The number of entries per page. Maximum value: 50. Default value: 10. | 10 |
VbrRegionNo | string | No | The ID of the region where the instance is deployed.
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "E6E90F6B-2B41-5AAF-ABEB-236ADBAAD91D",
"EcGrantRelations": [
{
"VbrOwnerUid": 1210123456123456,
"VbrInstanceId": "vbr-m5ex0xf63xk8s5bob****",
"InstanceId": "vpc-bp1brjuegjc88v3u9****",
"AliUid": 1250123456123456,
"RegionNo": "cn-hangzhou",
"Status": "Created",
"InstanceName": "VPCname",
"InstanceRouterId": "vrt-bp1i0yzgjd8ra05ec****",
"VbrRegionNo": "cn-hangzhou",
"GmtCreate": "2022-09-02T11:46Z",
"GrantType": "All"
}
],
"TotalCount": 10,
"Count": 1,
"Page": 1,
"PageSize": 10
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParam.NotNull | The parameter must not be null. | A required parameter is not specified. |
400 | Parameter.Illegal | The parameter is illegal. | The parameter is invalid. |
400 | Instance.StatusError | The status of instance error. | - |
404 | VRouterId.NotFound | The VRouter not found. | The specified vRouter cannot be found. |
404 | Instance.NotExist | The instance not exist. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-11-12 | The Error code has changed | View Change Details |
2024-08-16 | The Error code has changed | View Change Details |
2023-09-25 | API Description Update. The Error code has changed | View Change Details |