Describes the intrusion prevention system (IPS) whitelist for a VPC firewall.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response messages. Valid values:
|
zh |
| MemberUid |
integer |
No |
The UID of the Cloud Firewall member account. |
176618****104675 |
| VpcFirewallId |
string |
Yes |
The instance ID of the VPC firewall. Valid values:
|
cen-*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response parameters |
||
| RequestId |
string |
The ID of the request. |
B5EE02F9****AA49****F9F8D69483C1 |
| Whitelists |
array<object> |
The details of the IPS whitelist for the VPC firewall. |
|
|
object |
The details of the IPS whitelist for the VPC firewall. |
||
| VpcFirewallId |
string |
The instance ID of the VPC firewall. |
cen-l6t5yj5fi762****** |
| WhiteType |
integer |
The type of the whitelist. Valid values:
|
1 |
| ListValue |
string |
The value of the list. |
10.10.200.4/32,10.10.200.25/32 |
| ListType |
integer |
The type of the list. Valid values:
|
1 |
| WhiteListValue |
array |
The content of the list. |
|
|
string |
The content of the list. |
10.10.200.4/32 |
Examples
Success response
JSON format
{
"RequestId": "B5EE02F9****AA49****F9F8D69483C1",
"Whitelists": [
{
"VpcFirewallId": "cen-l6t5yj5fi762******",
"WhiteType": 1,
"ListValue": "10.10.200.4/32,10.10.200.25/32",
"ListType": 1,
"WhiteListValue": [
"10.10.200.4/32"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 200 | ErrorParametersUid | The aliUid is invalid. | The aliUid is invalid. |
| 400 | ErrorParametersFirewallId | Invalid VPC firewall ID. | The VPC firewall ID is invalid. |
| 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.