GetVpdGrantRule
Queries the details of cross-account resource authorization for a Lingjun network segment, including the authorized tenant ID, Lingjun HUB instance ID, and network instance ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:GetVpdGrantRule |
get |
*VpdGrantRule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| GrantRuleId |
string |
Yes |
The authorization resource instance ID. |
grant-rule-xrgvqazb |
| ErId |
string |
No |
The ID of the Lingjun HUB instance. |
er-kkopgtne |
| GrantTenantId |
string |
No |
The ID of the authorized tenant. |
1620939556166277 |
| InstanceId |
string |
No |
The authorization instance ID. |
vpd-xxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The error message, which indicates the cause of the exception when the instance status is abnormal. |
Success |
| RequestId |
string |
The ID of the request. |
9C50C9CD-E799-54DA-BA7A-1FAF3DF80857 |
| Content |
object |
The response content. |
|
| RegionId |
string |
The region ID. |
cn-wulanchabu |
| TenantId |
string |
The tenant ID. |
1655449505171 |
| InstanceId |
string |
The network instance ID. |
vpd-xxxxxxxxxx |
| InstanceName |
string |
The name of the network instance. |
vpd-lingjun |
| Product |
string |
The network product code. Valid values:
|
VPD |
| ErId |
string |
The Lingjun HUB instance ID. |
er-kkopgtne |
| GrantTenantId |
string |
The ID of the authorized tenant. |
1620939556166277 |
| Used |
boolean |
Specifies whether the current authorization information has been used. Default value: false. |
false |
| CreateTime |
string |
The creation time. The value is a 13-digit UNIX timestamp in milliseconds. |
1648085472000 |
| GrantRuleId |
string |
The ID of the authorized resource. |
grant-rule-xxxxxx |
| ResourceGroupId |
string |
The resource group instance ID. |
rg-aek2l4sq6l7u*** |
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "Success",
"RequestId": "9C50C9CD-E799-54DA-BA7A-1FAF3DF80857",
"Content": {
"RegionId": "cn-wulanchabu",
"TenantId": "1655449505171",
"InstanceId": "vpd-xxxxxxxxxx",
"InstanceName": "vpd-lingjun",
"Product": "VPD",
"ErId": "er-kkopgtne",
"GrantTenantId": "1620939556166277",
"Used": false,
"CreateTime": "1648085472000",
"GrantRuleId": "grant-rule-xxxxxx",
"ResourceGroupId": "rg-aek2l4sq6l7u***"
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.