All Products
Search
Document Center

Cloud Firewall:CreateVpcFirewallTask

Last Updated:Oct 15, 2025

Creates an asset sync task for a Virtual Private Cloud (VPC) firewall.

Operation description

This API operation creates a VPC border firewall. This firewall protects traffic between two VPCs that are connected by an Express Connect circuit. The firewall does not protect traffic between VPCs in different regions, between VPCs under different Alibaba Cloud accounts, or between a VPC and a virtual border router (VBR). For more information, see VPC border firewall limits.

QPS limit

The queries per second (QPS) limit for this API operation is 10 for each user. If you exceed this limit, your API calls are throttled, which can impact your business. We recommend that you call this operation at a reasonable rate.

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.