Queries the intrusion prevention configuration of a specified VPC firewall.
Operation description
This operation queries the intrusion prevention configuration of a specified VPC firewall. Before you call this operation, you must create a VPC firewall instance.
QPS limit
This API operation has a limit of 10 queries per second (QPS) per user. If you exceed this limit, your calls are throttled. This may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VpcFirewallId |
string |
Yes |
The instance ID of the VPC firewall. Valid values:
|
cen-**** |
| MemberUid |
string |
No |
The UID of the member account. |
258039427902**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
850A84D6-****-00090125adf1 |
| RunMode |
integer |
The mode of the intrusion prevention system (IPS). Valid values:
|
0 |
| EnableAllPatch |
integer |
Indicates whether virtual patching is enabled. Valid values:
|
1 |
| BasicRules |
integer |
Indicates whether basic policies are enabled. Valid values:
|
1 |
| RuleClass |
integer |
The IPS rule group. Valid values:
|
1 |
Examples
Success response
JSON format
{
"RequestId": "850A84D6-****-00090125adf1",
"RunMode": 0,
"EnableAllPatch": 1,
"BasicRules": 1,
"RuleClass": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorVpcFirewallId | The VPC firewall ID is invalid. | The VPC firewall ID is invalid. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorParametersFirewallId | Invalid VPC firewall ID. | The VPC firewall ID is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.