Retrieves the IPS whitelist of a VPC firewall.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeVpcFirewallIPSWhitelist |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| MemberUid |
integer |
No |
The UID of the Cloud Firewall member accounts. |
176618****104675 |
| VpcFirewallId |
string |
Yes |
The instance ID of the VPC firewall. Valid values:
|
cen-*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
B5EE02F9****AA49****F9F8D69483C1 |
| Whitelists |
array<object> |
The details of the VPC border firewall IPS whitelist. |
|
|
object |
The details of the VPC border firewall IPS whitelist. |
||
| VpcFirewallId |
string |
The instance ID of the VPC border firewall. |
cen-l6t5yj5fi762****** |
| WhiteType |
integer |
The whitelist type. Valid values:
|
1 |
| ListValue |
string |
The value of the corresponding list type. |
10.10.200.4/32,10.10.200.25/32 |
| ListType |
integer |
The list type. Valid values:
|
1 |
| WhiteListValue |
array |
The content of the list type array. |
|
|
string |
The content of the list type array. |
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.