ListVccGrantRules
Queries the details of a specific Lingjun connection authorization, including the authorized tenant ID, region, and Lingjun HUB instance information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListVccGrantRules |
list |
*VccGrantRule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| ErId |
string |
No |
The Lingjun HUB ID. |
er-kkopgtne |
| GrantTenantId |
string |
No |
The authorized tenant ID. |
1620939556166277 |
| InstanceId |
string |
No |
The network instance ID. Note
This parameter is actually required. If it is not provided, the API returns error code 1006 (The InstanceId parameter is empty). You can call ListVccs to obtain a valid Lingjun connection instance ID. |
vcc-cn-jaj33d1b804 |
| InstanceName |
string |
No |
The instance name. |
vcc-1 |
| GrantRuleId |
string |
No |
The authorization entry ID. |
grant-rule-jaj33d1b804 |
| ForSelect |
boolean |
No |
Specifies whether the parameter is used for a drop-down list. |
true |
| ResourceGroupId |
string |
No |
The resource group instance ID. |
rg-aeky5f3qx6ceapq |
| PageNumber |
integer |
No |
The current page number. Starting value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20. |
20 |
| EnablePage |
boolean |
No |
Specifies whether to enable paged query. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response information. |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The response message. |
success |
| RequestId |
string |
The request ID. |
A56F7D3C-8850-5AF4-A342-2D71C9A9D1CC |
| Content |
object |
The response content. |
|
| Total |
integer |
The total number of records. |
0 |
| Data |
array<object> |
The list of cross-account authorization information for Lingjun connections. |
|
|
object |
The cross-account authorization information for a Lingjun connection. |
||
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| TenantId |
string |
The tenant ID. |
1655449505171 |
| InstanceId |
string |
The network instance ID. |
vcc-cn-jaj33d1kb05 |
| InstanceName |
string |
The instance name. |
vcc-1 |
| Product |
string |
The authorized product type. Valid values:
|
VCC |
| ErId |
string |
The Lingjun HUB ID. |
er-kkopgtne |
| GrantTenantId |
string |
The authorized tenant ID. |
1013666993027780 |
| Used |
boolean |
Specifies whether the current cross-account resource is bound to a cross-account Lingjun HUB. Valid values:
|
true |
| CreateTime |
string |
The creation time. The value is a 13-digit UNIX timestamp in milliseconds. |
1678273219000 |
| GrantRuleId |
string |
The instance ID of the cross-account authorization information. |
grant-rule-jpumgwvp |
| ResourceGroupId |
string |
The resource group instance ID. |
rg-aek2l4sq6l7unhi |
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"RequestId": "A56F7D3C-8850-5AF4-A342-2D71C9A9D1CC",
"Content": {
"Total": 0,
"Data": [
{
"RegionId": "cn-wulanchabu",
"TenantId": "1655449505171",
"InstanceId": "vcc-cn-jaj33d1kb05",
"InstanceName": "vcc-1",
"Product": "VCC",
"ErId": "er-kkopgtne",
"GrantTenantId": "1013666993027780",
"Used": true,
"CreateTime": "1678273219000",
"GrantRuleId": "grant-rule-jpumgwvp",
"ResourceGroupId": "rg-aek2l4sq6l7unhi"
}
]
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.