DescribeSlr
Query whether the user has the SLR role-AliyunServiceRoleForEfloVcc required for Lingjun connection.
Operation description
You can call this operation to query whether a user account has a AliyunServiceRoleForEfloVcc role.
If you do not have a AliyunServiceRoleForEfloVcc role, you need to use the initializeVcc interface to complete authorization, otherwise users will not be able to use Lingjun to connect to the product.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:DescribeSlr |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the RAM instance belongs. |
rg-aeky5f3qx6ceapq |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The response status code. |
0 |
| Message |
string |
The error message. (If the instance is in the Exception state, the exception cause is prompted.) |
Success |
| RequestId |
string |
Request ID of the current request |
9C50C9CD-E799-54DA-BA7A-1FAF3DF80857 |
| Content |
object |
The returned data. |
|
| HasRole |
boolean |
Whether the role exists |
true |
| AccessDeniedDetail |
string |
The information about the request denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "成功",
"RequestId": "9C50C9CD-E799-54DA-BA7A-1FAF3DF80857",
"Content": {
"HasRole": true
},
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.