All Products
Search
Document Center

Cloud Firewall:ModifyTrFirewallV2Configuration

Last Updated:Dec 09, 2025

Modifies the configuration of a VPC firewall for a transit router.

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. Valid values:

  • zh (default): Chinese

  • en: English

zh

FirewallId

string

No

The ID of the VPC firewall instance.

vfw-tr-bcdf89d405ce4bd2****

FirewallName

string

No

The name of the VPC firewall instance.

VPC边界防火墙

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9

Examples

Success response

JSON format

{
  "RequestId": "A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorParameters Error Parameters The parameter is invalid.
400 ErrorTrFirewallNotExist Cen TR firewall not exist. Cloud Enterprise Network Enterprise Edition firewall does not exist.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.
400 ErrorAuthentication authentication error The authentication failed.
400 ErrorVpcFirewallExist Vpc firewall already exist. The firewall is already configured and cannot be configured repeatedly.
400 ErrorDBInsertError A database insert error occurred. An error occurred while performing an insert operation in the database.
400 ErrorDBTxError A database transaction error occurred. The error message returned because an internal error has occurred in the database transaction.
400 ErrorDBNoRow No rows in database. No data found.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.