Modifies the intrusion prevention configuration of a VPC firewall.
Operation description
You can call this operation to modify the intrusion prevention configuration of a VPC firewall.
QPS limit
The queries per second (QPS) limit for this operation is 10 per user. If the QPS limit is exceeded, API calls are throttled. This may affect your business. We recommend that you take this limit into consideration when you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:ModifyVpcFirewallDefaultIPSConfig |
update |
*VpcFirewallIpsConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
SourceIp
deprecated
|
string |
No |
The source IP address of the request. |
192.0.XX.XX |
| Lang |
string |
No |
The language of the content within the request and response. Valid values:
|
zh |
| VpcFirewallId |
string |
Yes |
The instance ID of the VPC firewall. Valid values:
|
vfw-m5e7dbc4y**** |
| BasicRules |
string |
Yes |
Specifies whether to enable the basic policies. Valid values:
|
1 |
| EnableAllPatch |
string |
Yes |
Specifies whether to enable virtual patching. Valid values:
|
1 |
| RunMode |
string |
Yes |
The mode of the intrusion prevention system (IPS). Valid values:
|
0 |
| MemberUid |
string |
No |
The UID of the member account. |
258039427902**** |
| RuleClass |
string |
No |
The IPS rule group. Valid values:
|
1 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
3B51B5BF-3C26-5009-ADAB-190E58DE4D6E |
Examples
Success response
JSON format
{
"RequestId": "3B51B5BF-3C26-5009-ADAB-190E58DE4D6E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorDBInsert | An error occurred while performing an insert operation in the database. | An error occurred while performing an insert operation in the database. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorParametersFirewallId | Invalid VPC firewall ID. | The VPC firewall ID is invalid. |
| 400 | ErrorParametersMemberUid | invalid memberUid. | Invalid memberUid. |
| 400 | ErrorRecordLog | update operation log error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.