ListVpdGrantRules
Queries the details of one or more route entries for a Lingjun network segment, including the route type, route entry status, destination CIDR block, and next hop instance information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListVpdGrantRules |
list |
*VpdGrantRule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| ErId |
string |
No |
The instance ID of the Lingjun HUB. |
er-kkopgtne |
| GrantTenantId |
string |
No |
The ID of the authorized tenant. |
1620939556166279 |
| InstanceId |
string |
No |
The ID of the network instance to query. Note
This parameter is actually required. If it is not provided, the API returns error code 1006 (The InstanceId parameter is empty). |
vpd-8rgvqazb |
| InstanceName |
string |
No |
The name of the instance. |
vpd-1 |
| GrantRuleId |
string |
No |
The ID of the authorization entry. |
grant-rule-8rgvqazb |
| ForSelect |
boolean |
No |
Specifies whether the parameter is used for a drop-down list. |
true |
| ResourceGroupId |
string |
No |
The instance ID of the resource group. |
rg-aek2l4sq6l7unhi |
| PageNumber |
integer |
No |
The page number. Starting value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
| EnablePage |
boolean |
No |
Specifies whether paging is enabled. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response information. |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The error message. If the instance status is abnormal, this parameter indicates the cause of the exception. |
Success |
| RequestId |
string |
The ID of the request. |
A56F7D3C-8850-5AF4-A342-2D71C9A9D1CC |
| Content |
object |
The response content. |
|
| Total |
integer |
The total number of records. |
0 |
| Data |
array<object> |
The list of authorization information for Lingjun network segments. |
|
|
object |
The authorization information for a Lingjun network segment. |
||
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| TenantId |
string |
The ID of the tenant. |
1655449505171 |
| InstanceId |
string |
The instance ID of the Lingjun CIDR block. |
vpd-8rgvqazb |
| InstanceName |
string |
The name of the instance. |
vpd-1 |
| Product |
string |
The type of the authorized product. Valid values:
You do not need to specify this parameter. |
VPD |
| ErId |
string |
The ID of the Lingjun HUB instance to which the current network instance is authorized. |
er-kkopgtne |
| GrantTenantId |
string |
The ID of the tenant to which the current instance is authorized. |
1672372231790 |
| Used |
boolean |
Indicates whether the current authorized instance is bound. |
true |
| CreateTime |
string |
The creation time. The value is a 13-digit UNIX timestamp in milliseconds. |
1643013506000 |
| GrantRuleId |
string |
The ID of the authorization entry. |
grant-rule-8rgvqazb |
| ResourceGroupId |
string |
The instance ID of the resource group. |
rg-aek2l4sq6l7unhi |
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "Succeeded",
"RequestId": "A56F7D3C-8850-5AF4-A342-2D71C9A9D1CC",
"Content": {
"Total": 0,
"Data": [
{
"RegionId": "cn-wulanchabu",
"TenantId": "1655449505171",
"InstanceId": "vpd-8rgvqazb",
"InstanceName": "vpd-1",
"Product": "VPD",
"ErId": "er-kkopgtne",
"GrantTenantId": "1672372231790",
"Used": true,
"CreateTime": "1643013506000",
"GrantRuleId": "grant-rule-8rgvqazb",
"ResourceGroupId": "rg-aek2l4sq6l7unhi"
}
]
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.