云防火墙 CFW-查询防护VPC数:响应参数

时间:2024-09-19 16:11:17

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

data

VPCProtectsVo object

防护vpc返回值

表5 VPCProtectsVo

参数

参数类型

描述

total

Integer

总防护VPC数

self_total

Integer

防火墙东西向防护可进行跨账号防护VPC,self_total表示本项目防护VPC总数。

other_total

Integer

防火墙东西向防护可进行跨账号防护VPC,other_total表示其他项目防护VPC数

protect_vpcs

Array of VpcAttachmentDetail objects

防火墙东西向防护可进行跨账号防护VPC,protect_vpcs指的是总体防护VPC列表

self_protect_vpcs

Array of VpcAttachmentDetail objects

防火墙东西向防护可进行跨账号防护VPC,self_protect_vpcs指的是本项目防护VPC列表

other_protect_vpcs

Array of VpcAttachmentDetail objects

防火墙东西向防护可进行跨账号防护VPC,other_protect_vpcs指的是其他项目防护VPC列表

total_assets

Integer

租户的所有VPC资产数量

表6 VpcAttachmentDetail

参数

参数类型

描述

vpc_id

String

东西向防护添加的防护vpc的id

状态码: 500

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误描述

support.huaweicloud.com/api-cfw/ListProtectedVpcs.html