Retrieves the access whitelist for a Lindorm instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. To obtain the ID, call the GetLindormInstanceList operation. |
ld-bp1z3506imz2g**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InstanceId |
string |
The instance ID. |
ld-bp1z3506imz2f**** |
| RequestId |
string |
The request ID. |
1D1F6F4D-9203-53E7-84E9-5376B4657E63 |
| IpList |
array |
A list of IP addresses in the whitelist. |
|
|
string |
An IP address in the whitelist. |
192.168.0.0/24 |
|
| GroupList |
array<object> |
A list of whitelist groups. |
|
|
object |
|||
| GroupName |
string |
The name of the whitelist group. |
test |
| SecurityIpList |
string |
The IP address whitelist. |
192.168.1.0/24 |
| AccessDeniedDetail |
string |
The details about why the access was denied. |
{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"} |
Examples
Success response
JSON format
{
"InstanceId": "ld-bp1z3506imz2f****",
"RequestId": "1D1F6F4D-9203-53E7-84E9-5376B4657E63",
"IpList": [
"192.168.0.0/24"
],
"GroupList": [
{
"GroupName": "test",
"SecurityIpList": "192.168.1.0/24"
}
],
"AccessDeniedDetail": "{\"AuthAction\":\"xxx\",\"AuthPrincipalDisplayName\":\"222\",\"AuthPrincipalOwnerId\":\"111\",\"AuthPrincipalType\":\"SubUser\",,\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\",\"EncodedDiagnosticMessage\":\"xxxxxx\"}"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Lindorm.Errorcode.ParameterInvaild | The parameter is invalid. | |
| 400 | Instance.IsDeleted | The instance is deleted. | The specified instance is already deleted. |
| 400 | Instance.IsNotValid | The instance is invalid. | The specified instance is invalid. |
| 403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. | |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | This operation is not supported in the current environment. |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | You are not authorized to create the service-linked role. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.