All Products
Search
Document Center

Cloud Firewall:ModifyVpcFirewallDefaultIPSConfig

Last Updated:Aug 01, 2025

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that support authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-cloudfirewall:ModifyVpcFirewallDefaultIPSConfig

update

*VpcFirewallIpsConfig

acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}

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 (default): Chinese.

  • en: English.

zh

VpcFirewallId

string

Yes

The instance ID of the VPC firewall. Valid values:

  • If the VPC firewall protects traffic between a network instance in a Cloud Enterprise Network (CEN) and a specified VPC, use the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the DescribeVpcFirewallCenList operation to query the IDs of CEN instances.

  • If the VPC firewall protects traffic between two VPCs that are connected using an Express Connect circuit, use the instance ID of the VPC firewall. You can call the DescribeVpcFirewallList operation to query the instance IDs of VPC firewalls.

vfw-m5e7dbc4y****

BasicRules

string

Yes

Specifies whether to enable the basic policies. Valid values:

  • 1: yes

  • 0: no

1

EnableAllPatch

string

Yes

Specifies whether to enable virtual patching. Valid values:

  • 1: yes

  • 0: no

1

RunMode

string

Yes

The mode of the intrusion prevention system (IPS). Valid values:

  • 1: Block Mode.

  • 0: monitor mode.

0

MemberUid

string

No

The UID of the member account.

258039427902****

RuleClass

string

No

The IPS rule group. Valid values:

  • 1: Loose

  • 2: Medium

  • 3: Strict

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.