All Products
Search
Document Center

Cloud Firewall:CreateVpcFirewallTask

Last Updated:Dec 30, 2025

Creates a sync task for VPC firewall assets.

Operation description

This operation creates a VPC firewall that protects traffic between two VPCs connected by an Express Connect circuit. The VPC firewall does not protect cross-region traffic, cross-account traffic, or traffic between a VPC and a Virtual Border Router (VBR). For more information, see Limits on VPC firewalls.

QPS limits

The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, your API calls will be throttled. Plan your calls accordingly.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the response message. Valid values:

  • zh (default): Chinese

  • en: English

zh

TaskAction

string

Yes

The name of the task.

sync

Priority

string

No

The priority of the rule.

1

Content

string

No

The content of the task.

test

Response elements

Element

Type

Description

Example

object

Module

string

The application module.

ips_server

RequestId

string

The ID of the request.

53252B14-BF7C-5A2D-9750-56F827EB****

Examples

Success response

JSON format

{
  "Module": "ips_server\n",
  "RequestId": "53252B14-BF7C-5A2D-9750-56F827EB****"
}

Error codes

HTTP status code

Error code

Error message

Description

200 ErrorDBUpdateError A database update error occurred. A database update error occurred.
400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.