Queries the intrusion prevention system (IPS) whitelist for the Internet Border.
Operation description
QPS limits
The queries per second (QPS) limit for this API is 10 calls per second for each user. If you exceed this limit, API calls are throttled, which can impact your business. We recommend that you call this API at a reasonable rate.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
47.100.XX.XX |
| Lang |
string |
No |
The language. Valid values:
|
zh |
| Lang |
string |
No |
The language. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
04F788A5-6A47-5EA9-AC30-CA4DB98AD520 |
| Whitelists |
array<object> |
The list of IPv4 whitelists for the IPS on the Internet Border. |
|
|
object |
An IPv4 whitelist for the IPS on the Internet Border. |
||
| Direction |
integer |
The direction of IPv4 traffic on the Internet Border. Valid values:
|
1 |
| WhiteType |
integer |
The type of source or destination for which the IPv4 whitelist on the Internet Border takes effect. Valid values:
|
1 |
| ListValue |
string |
The value of the IPv4 whitelist on the Internet Border.
|
10.10.200.4/32,10.10.200.25/32 |
| ListType |
integer |
The type of address in the IPv4 whitelist for the Internet. Valid values:
|
1 |
| WhiteListValue |
array |
The list of IPv4 whitelists for the Internet. |
|
|
string |
An IPv4 whitelist for the Internet.
|
10.10.200.4/32 |
|
| Ipv6Whitelists |
array<object> |
The list of IPv6 whitelists for the IPS on the Internet Border. |
|
|
object |
An IPv6 whitelist for the IPS on the Internet Border. |
||
| Direction |
integer |
The direction of IPv6 traffic on the Internet Border. Valid values:
|
1 |
| WhiteType |
integer |
The type of source or destination for which the IPv6 whitelist on the Internet Border takes effect. Valid values:
|
2 |
| ListValue |
string |
The value of the IPv6 whitelist on the Internet Border.
|
2408:400a:81a:7900:a77d:ea36:fcbf:de40/128 |
| ListType |
integer |
The type of address in the IPv6 whitelist for the Internet. Valid values:
|
0 |
| WhiteListValue |
array |
The list of IPv6 whitelists for the Internet. |
|
|
string |
An IPv6 whitelist for the Internet.
|
2408:400a:81a:7900:a77d:ea36:fcbf:de40/128 |
Examples
Success response
JSON format
{
"RequestId": "04F788A5-6A47-5EA9-AC30-CA4DB98AD520",
"Whitelists": [
{
"Direction": 1,
"WhiteType": 1,
"ListValue": "10.10.200.4/32,10.10.200.25/32",
"ListType": 1,
"WhiteListValue": [
"10.10.200.4/32"
]
}
],
"Ipv6Whitelists": [
{
"Direction": 1,
"WhiteType": 2,
"ListValue": "2408:400a:81a:7900:a77d:ea36:fcbf:de40/128",
"ListType": 0,
"WhiteListValue": [
"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\n"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | invalid aliUid. | Invalid Aliuid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorMarshalJSON | internal error: marshal json. | An error occurred. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.