CreateTrFirewallV2_云防火墙_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为3/1(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
Langstring

接收消息的语言类型。取值:展开详情

示例值:zh
FirewallNamestring

云防火墙的名称。

示例值:VPC边界防火墙云企业网企业版参考取值来源:
    DescribeVpcFirewallDetail
    CreateVpcFirewallConfigure
RouteModestring

路由模式。取值:展开详情

示例值:managed
TransitRouterIdstring

转发路由器实例 ID。

示例值:tr-m5etmb2q7e0mxcur****
RegionNostring

转发路由器实例 I 的地域 ID。

示例值:cn-hangzhou
FirewallVpcCidrstring

自动模式下防火墙 VPC 网段。

示例值:10.0.0.0/16参考取值来源:
    DescribeTrFirewallsV2Detail
FirewallSubnetCidrstring

自动模式下防火墙 VPC 中存放防火墙 ENI 的子网网段。

示例值:10.0.1.0/24参考取值来源:
    DescribeTrFirewallsV2Detail
TrAttachmentSlaveCidrstring

自动模式下防火墙 VPC 中用于连接 TR 的子网备用网段。

示例值:10.0.0.16/28参考取值来源:
    DescribeTrFirewallsV2Detail
TrAttachmentMasterCidrstring

自动模式下防火墙 VPC 中用于连接 TR 的子网主用网段。

示例值:10.0.3.0/24参考取值来源:
    DescribeTrFirewallsV2Detail
CenIdstring

云企业网实例 ID。

示例值:cen-4xbjup276au29r****
FirewallDescriptionstring

防火墙描述。

示例值:VPC边界防火墙云企业网企业版
FirewallVpcIdstring

手动模式下创建防火墙 ENI 的 VPC ID。

示例值:vpc-wz9r5qvryn0lg3atb****
FirewallVswitchIdstring

手动模式下创建防火墙 ENI 的 VSW ID。

示例值:vsw-uf6ydz3vqj77mr5l6****
TrAttachmentSlaveZonestring

交换机备可用区。

示例值:cn-chengdu-b参考取值来源:
    DescribeTrFirewallsV2Detail
TrAttachmentMasterZonestring

交换机主可用区。

示例值:cn-chengdu-a参考取值来源:
    DescribeTrFirewallsV2Detail

返回参数

字段名称字段详情
FirewallIdstring

VPC 边界防火墙实例 ID。

示例值:vfw-tr-37e22bf0d9b34870****
RequestIdstring

返回结果的请求 ID。

示例值:822B9125-6E1A-551C-8EAF-6E7AE7444B00

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
ErrorTrResourceNotReady
Transit Router has not been detected by cloud firewall诊断
400
ErrorAliUid
The aliuid is invalid.诊断
400
ErrorParameters
Error Parameters诊断
400
ErrorUserCenTrNotEnabled
This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.诊断
400
ErrorAuthentication
authentication error诊断
400
ErrorUserCredentials
User credentials failed.诊断
400
ErrorCenTRAssociationNotFound
CEN-TR attachment association not found.诊断
400
ErrorUserNotFound
User not found诊断
400
ErrorDBSelectError
A database select error occurred.诊断
400
ErrorCenNotSupportTREnterpriseAutoMode
VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection诊断
400
ErrorVpcFirewallExist
Vpc firewall already exist.诊断
400
ErrorInvalidTrFirewallType
Firewall type is invalid.诊断
400
ErrorVpcDoNotSupportSubnetRouting
The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.诊断
400
ErrorVpcAndTrNotInTheSameAccount
Vpc and transit router should in the account when create cloud firewall manual mode.诊断
400
ErrorCidrFormat
Network segment CIDR format error, please select again诊断
400
ErrorVswitchCidrIpNumNotEnough
No enough private proxy IP in vswitch cidr.诊断
400
ErrorTrFwVswCidrConflict
Illegal tr firewall cidr configuration.诊断
400
ErrorDBNoRow
No rows in database.诊断
400
ErrorRecordLog
record operation log error.诊断
400
ErrorVpcFirewallZoneId
VPC firewall zone error.诊断
400
ErrorInvalidMemberUidStatus
invalid member uid status.诊断

变更历史

变更时间变更内容概要操作
2025-02-19
变更错误码400
2024-08-08
变更错误码400
2023-10-18
新增请求参数TrAttachmentSlaveZone
新增请求参数TrAttachmentMasterZone
2023-07-21
新增错误码400

相关示例