tencentcloud-sdk-cfw 3.0.654 → 3.0.656

Sign up to get free protection for your applications and to get access to all the features.
@@ -214,6 +214,53 @@ module TencentCloud
214
214
  end
215
215
  end
216
216
 
217
+ # AddAclRule请求参数结构体
218
+ class AddAclRuleRequest < TencentCloud::Common::AbstractModel
219
+ # @param Rules: 需要添加的访问控制规则列表
220
+ # @type Rules: Array
221
+ # @param From: 添加规则的来源,一般不需要使用,值insert_rule 表示插入指定位置的规则;值batch_import 表示批量导入规则;为空时表示添加规则
222
+ # @type From: String
223
+
224
+ attr_accessor :Rules, :From
225
+
226
+ def initialize(rules=nil, from=nil)
227
+ @Rules = rules
228
+ @From = from
229
+ end
230
+
231
+ def deserialize(params)
232
+ unless params['Rules'].nil?
233
+ @Rules = []
234
+ params['Rules'].each do |i|
235
+ createruleitem_tmp = CreateRuleItem.new
236
+ createruleitem_tmp.deserialize(i)
237
+ @Rules << createruleitem_tmp
238
+ end
239
+ end
240
+ @From = params['From']
241
+ end
242
+ end
243
+
244
+ # AddAclRule返回参数结构体
245
+ class AddAclRuleResponse < TencentCloud::Common::AbstractModel
246
+ # @param RuleUuid: 创建成功后返回新策略ID列表
247
+ # @type RuleUuid: Array
248
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
249
+ # @type RequestId: String
250
+
251
+ attr_accessor :RuleUuid, :RequestId
252
+
253
+ def initialize(ruleuuid=nil, requestid=nil)
254
+ @RuleUuid = ruleuuid
255
+ @RequestId = requestid
256
+ end
257
+
258
+ def deserialize(params)
259
+ @RuleUuid = params['RuleUuid']
260
+ @RequestId = params['RequestId']
261
+ end
262
+ end
263
+
217
264
  # AddEnterpriseSecurityGroupRules请求参数结构体
218
265
  class AddEnterpriseSecurityGroupRulesRequest < TencentCloud::Common::AbstractModel
219
266
  # @param Data: 创建规则数据
@@ -328,6 +375,53 @@ module TencentCloud
328
375
  end
329
376
  end
330
377
 
378
+ # AddVpcAcRule请求参数结构体
379
+ class AddVpcAcRuleRequest < TencentCloud::Common::AbstractModel
380
+ # @param Rules: 需要添加的vpc内网间规则列表
381
+ # @type Rules: Array
382
+ # @param From: 添加规则的来源,一般不需要使用,值insert_rule 表示插入指定位置的规则;值batch_import 表示批量导入规则;为空时表示添加规则
383
+ # @type From: String
384
+
385
+ attr_accessor :Rules, :From
386
+
387
+ def initialize(rules=nil, from=nil)
388
+ @Rules = rules
389
+ @From = from
390
+ end
391
+
392
+ def deserialize(params)
393
+ unless params['Rules'].nil?
394
+ @Rules = []
395
+ params['Rules'].each do |i|
396
+ vpcruleitem_tmp = VpcRuleItem.new
397
+ vpcruleitem_tmp.deserialize(i)
398
+ @Rules << vpcruleitem_tmp
399
+ end
400
+ end
401
+ @From = params['From']
402
+ end
403
+ end
404
+
405
+ # AddVpcAcRule返回参数结构体
406
+ class AddVpcAcRuleResponse < TencentCloud::Common::AbstractModel
407
+ # @param RuleUuids: 创建成功后返回新策略ID列表
408
+ # @type RuleUuids: Array
409
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
410
+ # @type RequestId: String
411
+
412
+ attr_accessor :RuleUuids, :RequestId
413
+
414
+ def initialize(ruleuuids=nil, requestid=nil)
415
+ @RuleUuids = ruleuuids
416
+ @RequestId = requestid
417
+ end
418
+
419
+ def deserialize(params)
420
+ @RuleUuids = params['RuleUuids']
421
+ @RequestId = params['RequestId']
422
+ end
423
+ end
424
+
331
425
  # AssetZone
332
426
  class AssetZone < TencentCloud::Common::AbstractModel
333
427
  # @param Zone: 地域
@@ -717,18 +811,22 @@ module TencentCloud
717
811
  class CreateAddressTemplateResponse < TencentCloud::Common::AbstractModel
718
812
  # @param Status: 创建结果,0成功
719
813
  # @type Status: Integer
814
+ # @param Uuid: 唯一Id
815
+ # @type Uuid: String
720
816
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
721
817
  # @type RequestId: String
722
818
 
723
- attr_accessor :Status, :RequestId
819
+ attr_accessor :Status, :Uuid, :RequestId
724
820
 
725
- def initialize(status=nil, requestid=nil)
821
+ def initialize(status=nil, uuid=nil, requestid=nil)
726
822
  @Status = status
823
+ @Uuid = uuid
727
824
  @RequestId = requestid
728
825
  end
729
826
 
730
827
  def deserialize(params)
731
828
  @Status = params['Status']
829
+ @Uuid = params['Uuid']
732
830
  @RequestId = params['RequestId']
733
831
  end
734
832
  end
@@ -762,16 +860,27 @@ module TencentCloud
762
860
 
763
861
  # CreateBlockIgnoreRuleList返回参数结构体
764
862
  class CreateBlockIgnoreRuleListResponse < TencentCloud::Common::AbstractModel
863
+ # @param List: 成功返回
864
+ # @type List: Array
765
865
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
766
866
  # @type RequestId: String
767
867
 
768
- attr_accessor :RequestId
868
+ attr_accessor :List, :RequestId
769
869
 
770
- def initialize(requestid=nil)
870
+ def initialize(list=nil, requestid=nil)
871
+ @List = list
771
872
  @RequestId = requestid
772
873
  end
773
874
 
774
875
  def deserialize(params)
876
+ unless params['List'].nil?
877
+ @List = []
878
+ params['List'].each do |i|
879
+ ioclistdata_tmp = IocListData.new
880
+ ioclistdata_tmp.deserialize(i)
881
+ @List << ioclistdata_tmp
882
+ end
883
+ end
775
884
  @RequestId = params['RequestId']
776
885
  end
777
886
  end
@@ -1079,6 +1188,78 @@ module TencentCloud
1079
1188
  end
1080
1189
  end
1081
1190
 
1191
+ # 创建互联网边界规则参数结构
1192
+ class CreateRuleItem < TencentCloud::Common::AbstractModel
1193
+ # @param SourceContent: 访问源示例: net:IP/CIDR(192.168.0.2)
1194
+ # @type SourceContent: String
1195
+ # @param SourceType: 访问源类型:入向规则时类型可以为 ip,net,template,location;出向规则时可以为 ip,net,template,instance,group,tag
1196
+ # @type SourceType: String
1197
+ # @param TargetContent: 访问目的示例: net:IP/CIDR(192.168.0.2) domain:域名规则,例如*.qq.com
1198
+ # @type TargetContent: String
1199
+ # @param TargetType: 访问目的类型:入向规则时类型可以为ip,net,template,instance,group,tag;出向规则时可以为 ip,net,domain,template,location
1200
+ # @type TargetType: String
1201
+ # @param Protocol: 协议,可选的值: TCP UDP ICMP ANY HTTP HTTPS HTTP/HTTPS SMTP SMTPS SMTP/SMTPS FTP DNS
1202
+ # @type Protocol: String
1203
+ # @param RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值: accept:放行 drop:拒绝 log:观察
1204
+ # @type RuleAction: String
1205
+ # @param Port: 访问控制策略的端口。取值: -1/-1:全部端口 80:80端口
1206
+ # @type Port: String
1207
+ # @param Direction: 规则方向:1,入站;0,出站
1208
+ # @type Direction: Integer
1209
+ # @param OrderIndex: 规则序号
1210
+ # @type OrderIndex: Integer
1211
+ # @param Uuid: 规则对应的唯一id,创建规则时无需填写
1212
+ # @type Uuid: Integer
1213
+ # @param Enable: 规则状态,true表示启用,false表示禁用
1214
+ # @type Enable: String
1215
+ # @param Description: 描述
1216
+ # @type Description: String
1217
+ # @param Scope: all
1218
+ # @type Scope: String
1219
+ # @param RuleSource: 0,正常规则添加;1,入侵检测添加
1220
+ # @type RuleSource: Integer
1221
+ # @param LogId: 告警Id
1222
+ # @type LogId: String
1223
+
1224
+ attr_accessor :SourceContent, :SourceType, :TargetContent, :TargetType, :Protocol, :RuleAction, :Port, :Direction, :OrderIndex, :Uuid, :Enable, :Description, :Scope, :RuleSource, :LogId
1225
+
1226
+ def initialize(sourcecontent=nil, sourcetype=nil, targetcontent=nil, targettype=nil, protocol=nil, ruleaction=nil, port=nil, direction=nil, orderindex=nil, uuid=nil, enable=nil, description=nil, scope=nil, rulesource=nil, logid=nil)
1227
+ @SourceContent = sourcecontent
1228
+ @SourceType = sourcetype
1229
+ @TargetContent = targetcontent
1230
+ @TargetType = targettype
1231
+ @Protocol = protocol
1232
+ @RuleAction = ruleaction
1233
+ @Port = port
1234
+ @Direction = direction
1235
+ @OrderIndex = orderindex
1236
+ @Uuid = uuid
1237
+ @Enable = enable
1238
+ @Description = description
1239
+ @Scope = scope
1240
+ @RuleSource = rulesource
1241
+ @LogId = logid
1242
+ end
1243
+
1244
+ def deserialize(params)
1245
+ @SourceContent = params['SourceContent']
1246
+ @SourceType = params['SourceType']
1247
+ @TargetContent = params['TargetContent']
1248
+ @TargetType = params['TargetType']
1249
+ @Protocol = params['Protocol']
1250
+ @RuleAction = params['RuleAction']
1251
+ @Port = params['Port']
1252
+ @Direction = params['Direction']
1253
+ @OrderIndex = params['OrderIndex']
1254
+ @Uuid = params['Uuid']
1255
+ @Enable = params['Enable']
1256
+ @Description = params['Description']
1257
+ @Scope = params['Scope']
1258
+ @RuleSource = params['RuleSource']
1259
+ @LogId = params['LogId']
1260
+ end
1261
+ end
1262
+
1082
1263
  # CreateSecurityGroupRules请求参数结构体
1083
1264
  class CreateSecurityGroupRulesRequest < TencentCloud::Common::AbstractModel
1084
1265
  # @param Data: 添加的企业安全组规则数据
@@ -1134,6 +1315,86 @@ module TencentCloud
1134
1315
  end
1135
1316
  end
1136
1317
 
1318
+ # CreateVpcFwGroup请求参数结构体
1319
+ class CreateVpcFwGroupRequest < TencentCloud::Common::AbstractModel
1320
+ # @param Name: VPC防火墙(组)名称
1321
+ # @type Name: String
1322
+ # @param Mode: 模式 1:CCN云联网模式;0:私有网络模式 2: sase 模式 3:ccn 高级模式 4: 私有网络(跨租户单边模式)
1323
+ # @type Mode: Integer
1324
+ # @param VpcFwInstances: 防火墙(组)下的防火墙实例列表
1325
+ # @type VpcFwInstances: Array
1326
+ # @param SwitchMode: 防火墙实例的开关模式
1327
+ # 1: 单点互通
1328
+ # 2: 多点互通
1329
+ # 3: 全互通
1330
+ # 4: 自定义路由
1331
+ # @type SwitchMode: Integer
1332
+ # @param FwVpcCidr: auto 自动选择防火墙网段
1333
+ # 10.10.10.0/24 用户输入的防火墙网段
1334
+ # @type FwVpcCidr: String
1335
+ # @param CcnId: 云联网id ,适用于云联网模式
1336
+ # @type CcnId: String
1337
+ # @param FwCidrInfo: 指定防火墙使用网段信息
1338
+ # @type FwCidrInfo: :class:`Tencentcloud::Cfw.v20190904.models.FwCidrInfo`
1339
+ # @param CrossUserMode: 跨租户管理员模式 1管理员 2多账号
1340
+ # @type CrossUserMode: String
1341
+
1342
+ attr_accessor :Name, :Mode, :VpcFwInstances, :SwitchMode, :FwVpcCidr, :CcnId, :FwCidrInfo, :CrossUserMode
1343
+
1344
+ def initialize(name=nil, mode=nil, vpcfwinstances=nil, switchmode=nil, fwvpccidr=nil, ccnid=nil, fwcidrinfo=nil, crossusermode=nil)
1345
+ @Name = name
1346
+ @Mode = mode
1347
+ @VpcFwInstances = vpcfwinstances
1348
+ @SwitchMode = switchmode
1349
+ @FwVpcCidr = fwvpccidr
1350
+ @CcnId = ccnid
1351
+ @FwCidrInfo = fwcidrinfo
1352
+ @CrossUserMode = crossusermode
1353
+ end
1354
+
1355
+ def deserialize(params)
1356
+ @Name = params['Name']
1357
+ @Mode = params['Mode']
1358
+ unless params['VpcFwInstances'].nil?
1359
+ @VpcFwInstances = []
1360
+ params['VpcFwInstances'].each do |i|
1361
+ vpcfwinstance_tmp = VpcFwInstance.new
1362
+ vpcfwinstance_tmp.deserialize(i)
1363
+ @VpcFwInstances << vpcfwinstance_tmp
1364
+ end
1365
+ end
1366
+ @SwitchMode = params['SwitchMode']
1367
+ @FwVpcCidr = params['FwVpcCidr']
1368
+ @CcnId = params['CcnId']
1369
+ unless params['FwCidrInfo'].nil?
1370
+ @FwCidrInfo = FwCidrInfo.new
1371
+ @FwCidrInfo.deserialize(params['FwCidrInfo'])
1372
+ end
1373
+ @CrossUserMode = params['CrossUserMode']
1374
+ end
1375
+ end
1376
+
1377
+ # CreateVpcFwGroup返回参数结构体
1378
+ class CreateVpcFwGroupResponse < TencentCloud::Common::AbstractModel
1379
+ # @param FwGroupId: 防火墙组ID
1380
+ # 注意:此字段可能返回 null,表示取不到有效值。
1381
+ # @type FwGroupId: String
1382
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1383
+ # @type RequestId: String
1384
+
1385
+ attr_accessor :FwGroupId, :RequestId
1386
+
1387
+ def initialize(fwgroupid=nil, requestid=nil)
1388
+ @FwGroupId = fwgroupid
1389
+ @RequestId = requestid
1390
+ end
1391
+
1392
+ def deserialize(params)
1393
+ @FwGroupId = params['FwGroupId']
1394
+ @RequestId = params['RequestId']
1395
+ end
1396
+ end
1397
+
1137
1398
  # 数据库白名单规则数据
1138
1399
  class DatabaseWhiteListRuleData < TencentCloud::Common::AbstractModel
1139
1400
  # @param SourceIp: 访问源
@@ -1336,6 +1597,49 @@ module TencentCloud
1336
1597
  end
1337
1598
  end
1338
1599
 
1600
+ # DeleteBlockIgnoreRuleList请求参数结构体
1601
+ class DeleteBlockIgnoreRuleListRequest < TencentCloud::Common::AbstractModel
1602
+ # @param Rules: 规则列表
1603
+ # @type Rules: Array
1604
+ # @param RuleType: 规则类型,1封禁,2放通,不支持域名封禁
1605
+ # @type RuleType: Integer
1606
+
1607
+ attr_accessor :Rules, :RuleType
1608
+
1609
+ def initialize(rules=nil, ruletype=nil)
1610
+ @Rules = rules
1611
+ @RuleType = ruletype
1612
+ end
1613
+
1614
+ def deserialize(params)
1615
+ unless params['Rules'].nil?
1616
+ @Rules = []
1617
+ params['Rules'].each do |i|
1618
+ ioclistdata_tmp = IocListData.new
1619
+ ioclistdata_tmp.deserialize(i)
1620
+ @Rules << ioclistdata_tmp
1621
+ end
1622
+ end
1623
+ @RuleType = params['RuleType']
1624
+ end
1625
+ end
1626
+
1627
+ # DeleteBlockIgnoreRuleList返回参数结构体
1628
+ class DeleteBlockIgnoreRuleListResponse < TencentCloud::Common::AbstractModel
1629
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1630
+ # @type RequestId: String
1631
+
1632
+ attr_accessor :RequestId
1633
+
1634
+ def initialize(requestid=nil)
1635
+ @RequestId = requestid
1636
+ end
1637
+
1638
+ def deserialize(params)
1639
+ @RequestId = params['RequestId']
1640
+ end
1641
+ end
1642
+
1339
1643
  # DeleteNatFwInstance请求参数结构体
1340
1644
  class DeleteNatFwInstanceRequest < TencentCloud::Common::AbstractModel
1341
1645
  # @param CfwInstance: 防火墙实例id
@@ -1453,6 +1757,48 @@ module TencentCloud
1453
1757
  end
1454
1758
  end
1455
1759
 
1760
+ # DeleteVpcFwGroup请求参数结构体
1761
+ class DeleteVpcFwGroupRequest < TencentCloud::Common::AbstractModel
1762
+ # @param FwGroupId: 防火墙(组)Id
1763
+ # @type FwGroupId: String
1764
+ # @param DeleteFwGroup: 是否删除整个防火墙(组)
1765
+ # 0:不删除防火墙(组),只删除单独实例
1766
+ # 1:删除整个防火墙(组)
1767
+ # @type DeleteFwGroup: Integer
1768
+ # @param VpcFwInsList: 待删除的防火墙实例数组
1769
+ # @type VpcFwInsList: Array
1770
+
1771
+ attr_accessor :FwGroupId, :DeleteFwGroup, :VpcFwInsList
1772
+
1773
+ def initialize(fwgroupid=nil, deletefwgroup=nil, vpcfwinslist=nil)
1774
+ @FwGroupId = fwgroupid
1775
+ @DeleteFwGroup = deletefwgroup
1776
+ @VpcFwInsList = vpcfwinslist
1777
+ end
1778
+
1779
+ def deserialize(params)
1780
+ @FwGroupId = params['FwGroupId']
1781
+ @DeleteFwGroup = params['DeleteFwGroup']
1782
+ @VpcFwInsList = params['VpcFwInsList']
1783
+ end
1784
+ end
1785
+
1786
+ # DeleteVpcFwGroup返回参数结构体
1787
+ class DeleteVpcFwGroupResponse < TencentCloud::Common::AbstractModel
1788
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1789
+ # @type RequestId: String
1790
+
1791
+ attr_accessor :RequestId
1792
+
1793
+ def initialize(requestid=nil)
1794
+ @RequestId = requestid
1795
+ end
1796
+
1797
+ def deserialize(params)
1798
+ @RequestId = params['RequestId']
1799
+ end
1800
+ end
1801
+
1456
1802
  # DeleteVpcInstance请求参数结构体
1457
1803
  class DeleteVpcInstanceRequest < TencentCloud::Common::AbstractModel
1458
1804
 
@@ -1724,21 +2070,224 @@ module TencentCloud
1724
2070
  end
1725
2071
  end
1726
2072
 
1727
- # DescribeAssociatedInstanceList请求参数结构体
1728
- class DescribeAssociatedInstanceListRequest < TencentCloud::Common::AbstractModel
1729
- # @param Offset: 列表偏移量
1730
- # @type Offset: Integer
1731
- # @param Limit: 每页记录条数
2073
+ # DescribeAclRule请求参数结构体
2074
+ class DescribeAclRuleRequest < TencentCloud::Common::AbstractModel
2075
+ # @param Limit: 每页条数
1732
2076
  # @type Limit: Integer
1733
- # @param Area: 地域代码(例:ap-guangzhou),支持腾讯云全地域
1734
- # @type Area: String
1735
- # @param SearchValue: 额外检索条件(JSON字符串)
1736
- # @type SearchValue: String
1737
- # @param By: 排序字段
1738
- # @type By: String
1739
- # @param Order: 排序方式(asc:升序,desc:降序)
1740
- # @type Order: String
1741
- # @param SecurityGroupId: 安全组ID
2077
+ # @param Offset: 偏移值
2078
+ # @type Offset: Integer
2079
+ # @param Index: 需要查询的索引,特定场景使用,可不填
2080
+ # @type Index: String
2081
+ # @param Filters: 过滤条件组合
2082
+ # @type Filters: Array
2083
+ # @param StartTime: 检索的起始时间,可不传
2084
+ # @type StartTime: String
2085
+ # @param EndTime: 检索的截止时间,可不传
2086
+ # @type EndTime: String
2087
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
2088
+ # @type Order: String
2089
+ # @param By: 排序所用到的字段
2090
+ # @type By: String
2091
+
2092
+ attr_accessor :Limit, :Offset, :Index, :Filters, :StartTime, :EndTime, :Order, :By
2093
+
2094
+ def initialize(limit=nil, offset=nil, index=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
2095
+ @Limit = limit
2096
+ @Offset = offset
2097
+ @Index = index
2098
+ @Filters = filters
2099
+ @StartTime = starttime
2100
+ @EndTime = endtime
2101
+ @Order = order
2102
+ @By = by
2103
+ end
2104
+
2105
+ def deserialize(params)
2106
+ @Limit = params['Limit']
2107
+ @Offset = params['Offset']
2108
+ @Index = params['Index']
2109
+ unless params['Filters'].nil?
2110
+ @Filters = []
2111
+ params['Filters'].each do |i|
2112
+ commonfilter_tmp = CommonFilter.new
2113
+ commonfilter_tmp.deserialize(i)
2114
+ @Filters << commonfilter_tmp
2115
+ end
2116
+ end
2117
+ @StartTime = params['StartTime']
2118
+ @EndTime = params['EndTime']
2119
+ @Order = params['Order']
2120
+ @By = params['By']
2121
+ end
2122
+ end
2123
+
2124
+ # DescribeAclRule返回参数结构体
2125
+ class DescribeAclRuleResponse < TencentCloud::Common::AbstractModel
2126
+ # @param Total: 总条数
2127
+ # @type Total: Integer
2128
+ # @param Data: nat访问控制列表数据
2129
+ # 注意:此字段可能返回 null,表示取不到有效值。
2130
+ # @type Data: Array
2131
+ # @param AllTotal: 未过滤的总条数
2132
+ # @type AllTotal: Integer
2133
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2134
+ # @type RequestId: String
2135
+
2136
+ attr_accessor :Total, :Data, :AllTotal, :RequestId
2137
+
2138
+ def initialize(total=nil, data=nil, alltotal=nil, requestid=nil)
2139
+ @Total = total
2140
+ @Data = data
2141
+ @AllTotal = alltotal
2142
+ @RequestId = requestid
2143
+ end
2144
+
2145
+ def deserialize(params)
2146
+ @Total = params['Total']
2147
+ unless params['Data'].nil?
2148
+ @Data = []
2149
+ params['Data'].each do |i|
2150
+ descacitem_tmp = DescAcItem.new
2151
+ descacitem_tmp.deserialize(i)
2152
+ @Data << descacitem_tmp
2153
+ end
2154
+ end
2155
+ @AllTotal = params['AllTotal']
2156
+ @RequestId = params['RequestId']
2157
+ end
2158
+ end
2159
+
2160
+ # DescribeAddressTemplateList请求参数结构体
2161
+ class DescribeAddressTemplateListRequest < TencentCloud::Common::AbstractModel
2162
+ # @param Offset: 偏移量,分页用
2163
+ # @type Offset: Integer
2164
+ # @param Limit: 条数,分页用
2165
+ # @type Limit: Integer
2166
+ # @param By: 排序字段,取值 'UpdateTime' | 'RulesNum'
2167
+ # @type By: String
2168
+ # @param Order: 排序,取值 'asc'|'desc'
2169
+ # @type Order: String
2170
+ # @param SearchValue: 搜索值
2171
+ # @type SearchValue: String
2172
+ # @param Uuid: 检索地址模板唯一id
2173
+ # @type Uuid: String
2174
+
2175
+ attr_accessor :Offset, :Limit, :By, :Order, :SearchValue, :Uuid
2176
+
2177
+ def initialize(offset=nil, limit=nil, by=nil, order=nil, searchvalue=nil, uuid=nil)
2178
+ @Offset = offset
2179
+ @Limit = limit
2180
+ @By = by
2181
+ @Order = order
2182
+ @SearchValue = searchvalue
2183
+ @Uuid = uuid
2184
+ end
2185
+
2186
+ def deserialize(params)
2187
+ @Offset = params['Offset']
2188
+ @Limit = params['Limit']
2189
+ @By = params['By']
2190
+ @Order = params['Order']
2191
+ @SearchValue = params['SearchValue']
2192
+ @Uuid = params['Uuid']
2193
+ end
2194
+ end
2195
+
2196
+ # DescribeAddressTemplateList返回参数结构体
2197
+ class DescribeAddressTemplateListResponse < TencentCloud::Common::AbstractModel
2198
+ # @param Total: 模板总数
2199
+ # @type Total: Integer
2200
+ # @param Data: 模板列表数据
2201
+ # @type Data: Array
2202
+ # @param NameList: 模板名称列表
2203
+ # @type NameList: Array
2204
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2205
+ # @type RequestId: String
2206
+
2207
+ attr_accessor :Total, :Data, :NameList, :RequestId
2208
+
2209
+ def initialize(total=nil, data=nil, namelist=nil, requestid=nil)
2210
+ @Total = total
2211
+ @Data = data
2212
+ @NameList = namelist
2213
+ @RequestId = requestid
2214
+ end
2215
+
2216
+ def deserialize(params)
2217
+ @Total = params['Total']
2218
+ unless params['Data'].nil?
2219
+ @Data = []
2220
+ params['Data'].each do |i|
2221
+ templatelistinfo_tmp = TemplateListInfo.new
2222
+ templatelistinfo_tmp.deserialize(i)
2223
+ @Data << templatelistinfo_tmp
2224
+ end
2225
+ end
2226
+ @NameList = params['NameList']
2227
+ @RequestId = params['RequestId']
2228
+ end
2229
+ end
2230
+
2231
+ # DescribeAssetSync请求参数结构体
2232
+ class DescribeAssetSyncRequest < TencentCloud::Common::AbstractModel
2233
+
2234
+
2235
+ def initialize()
2236
+ end
2237
+
2238
+ def deserialize(params)
2239
+ end
2240
+ end
2241
+
2242
+ # DescribeAssetSync返回参数结构体
2243
+ class DescribeAssetSyncResponse < TencentCloud::Common::AbstractModel
2244
+ # @param Status: 返回状态
2245
+ # 1 更新中
2246
+ # 2 更新完成
2247
+ # 3 更新失败
2248
+ # 4 更新失败
2249
+ # @type Status: Integer
2250
+ # @param ReturnMsg: success 成功
2251
+ # 其他失败
2252
+ # @type ReturnMsg: String
2253
+ # @param ReturnCode: 0 成功
2254
+ # 非0 失败
2255
+ # @type ReturnCode: Integer
2256
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2257
+ # @type RequestId: String
2258
+
2259
+ attr_accessor :Status, :ReturnMsg, :ReturnCode, :RequestId
2260
+
2261
+ def initialize(status=nil, returnmsg=nil, returncode=nil, requestid=nil)
2262
+ @Status = status
2263
+ @ReturnMsg = returnmsg
2264
+ @ReturnCode = returncode
2265
+ @RequestId = requestid
2266
+ end
2267
+
2268
+ def deserialize(params)
2269
+ @Status = params['Status']
2270
+ @ReturnMsg = params['ReturnMsg']
2271
+ @ReturnCode = params['ReturnCode']
2272
+ @RequestId = params['RequestId']
2273
+ end
2274
+ end
2275
+
2276
+ # DescribeAssociatedInstanceList请求参数结构体
2277
+ class DescribeAssociatedInstanceListRequest < TencentCloud::Common::AbstractModel
2278
+ # @param Offset: 列表偏移量
2279
+ # @type Offset: Integer
2280
+ # @param Limit: 每页记录条数
2281
+ # @type Limit: Integer
2282
+ # @param Area: 地域代码(例:ap-guangzhou),支持腾讯云全地域
2283
+ # @type Area: String
2284
+ # @param SearchValue: 额外检索条件(JSON字符串)
2285
+ # @type SearchValue: String
2286
+ # @param By: 排序字段
2287
+ # @type By: String
2288
+ # @param Order: 排序方式(asc:升序,desc:降序)
2289
+ # @type Order: String
2290
+ # @param SecurityGroupId: 安全组ID
1742
2291
  # @type SecurityGroupId: String
1743
2292
  # @param Type: 实例类型,'3'是cvm实例,'4'是clb实例,'5'是eni实例,'6'是云数据库
1744
2293
  # @type Type: String
@@ -2269,52 +2818,258 @@ module TencentCloud
2269
2818
  end
2270
2819
  end
2271
2820
 
2272
- # DescribeGuideScanInfo请求参数结构体
2273
- class DescribeGuideScanInfoRequest < TencentCloud::Common::AbstractModel
2821
+ # DescribeFwEdgeIps请求参数结构体
2822
+ class DescribeFwEdgeIpsRequest < TencentCloud::Common::AbstractModel
2823
+ # @param Filters: 过滤条件组合
2824
+ # @type Filters: Array
2825
+ # @param Limit: 每页条数
2826
+ # @type Limit: Integer
2827
+ # @param Offset: 偏移值
2828
+ # @type Offset: Integer
2829
+ # @param StartTime: 检索的起始时间,可不传
2830
+ # @type StartTime: String
2831
+ # @param EndTime: 检索的截止时间,可不传
2832
+ # @type EndTime: String
2833
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
2834
+ # @type Order: String
2835
+ # @param By: 排序所用到的字段
2836
+ # @type By: String
2274
2837
 
2838
+ attr_accessor :Filters, :Limit, :Offset, :StartTime, :EndTime, :Order, :By
2275
2839
 
2276
- def initialize()
2840
+ def initialize(filters=nil, limit=nil, offset=nil, starttime=nil, endtime=nil, order=nil, by=nil)
2841
+ @Filters = filters
2842
+ @Limit = limit
2843
+ @Offset = offset
2844
+ @StartTime = starttime
2845
+ @EndTime = endtime
2846
+ @Order = order
2847
+ @By = by
2277
2848
  end
2278
2849
 
2279
2850
  def deserialize(params)
2851
+ unless params['Filters'].nil?
2852
+ @Filters = []
2853
+ params['Filters'].each do |i|
2854
+ commonfilter_tmp = CommonFilter.new
2855
+ commonfilter_tmp.deserialize(i)
2856
+ @Filters << commonfilter_tmp
2857
+ end
2858
+ end
2859
+ @Limit = params['Limit']
2860
+ @Offset = params['Offset']
2861
+ @StartTime = params['StartTime']
2862
+ @EndTime = params['EndTime']
2863
+ @Order = params['Order']
2864
+ @By = params['By']
2280
2865
  end
2281
2866
  end
2282
2867
 
2283
- # DescribeGuideScanInfo返回参数结构体
2284
- class DescribeGuideScanInfoResponse < TencentCloud::Common::AbstractModel
2285
- # @param Data: 扫描信息
2286
- # @type Data: :class:`Tencentcloud::Cfw.v20190904.models.ScanInfo`
2868
+ # DescribeFwEdgeIps返回参数结构体
2869
+ class DescribeFwEdgeIpsResponse < TencentCloud::Common::AbstractModel
2870
+ # @param Data: ip 开关列表
2871
+ # 注意:此字段可能返回 null,表示取不到有效值。
2872
+ # @type Data: Array
2873
+ # @param Total: ip 开关列表个数
2874
+ # 注意:此字段可能返回 null,表示取不到有效值。
2875
+ # @type Total: Integer
2876
+ # @param RegionLst: 地域列表
2877
+ # 注意:此字段可能返回 null,表示取不到有效值。
2878
+ # @type RegionLst: Array
2879
+ # @param InstanceTypeLst: 实例类型列表
2880
+ # 注意:此字段可能返回 null,表示取不到有效值。
2881
+ # @type InstanceTypeLst: Array
2287
2882
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2288
2883
  # @type RequestId: String
2289
2884
 
2290
- attr_accessor :Data, :RequestId
2885
+ attr_accessor :Data, :Total, :RegionLst, :InstanceTypeLst, :RequestId
2291
2886
 
2292
- def initialize(data=nil, requestid=nil)
2887
+ def initialize(data=nil, total=nil, regionlst=nil, instancetypelst=nil, requestid=nil)
2293
2888
  @Data = data
2889
+ @Total = total
2890
+ @RegionLst = regionlst
2891
+ @InstanceTypeLst = instancetypelst
2294
2892
  @RequestId = requestid
2295
2893
  end
2296
2894
 
2297
2895
  def deserialize(params)
2298
2896
  unless params['Data'].nil?
2299
- @Data = ScanInfo.new
2300
- @Data.deserialize(params['Data'])
2897
+ @Data = []
2898
+ params['Data'].each do |i|
2899
+ edgeipinfo_tmp = EdgeIpInfo.new
2900
+ edgeipinfo_tmp.deserialize(i)
2901
+ @Data << edgeipinfo_tmp
2902
+ end
2301
2903
  end
2904
+ @Total = params['Total']
2905
+ @RegionLst = params['RegionLst']
2906
+ @InstanceTypeLst = params['InstanceTypeLst']
2302
2907
  @RequestId = params['RequestId']
2303
2908
  end
2304
2909
  end
2305
2910
 
2306
- # DescribeIPStatusList请求参数结构体
2307
- class DescribeIPStatusListRequest < TencentCloud::Common::AbstractModel
2308
- # @param IPList: 资产Id
2309
- # @type IPList: Array
2310
-
2311
- attr_accessor :IPList
2911
+ # DescribeFwGroupInstanceInfo请求参数结构体
2912
+ class DescribeFwGroupInstanceInfoRequest < TencentCloud::Common::AbstractModel
2913
+ # @param Limit: 每页条数
2914
+ # @type Limit: Integer
2915
+ # @param Offset: 偏移值
2916
+ # @type Offset: Integer
2917
+ # @param Filters: 过滤条件组合
2918
+ # @type Filters: Array
2919
+ # @param StartTime: 检索的起始时间,可不传
2920
+ # @type StartTime: String
2921
+ # @param EndTime: 检索的截止时间,可不传
2922
+ # @type EndTime: String
2923
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
2924
+ # @type Order: String
2925
+ # @param By: 排序所用到的字段
2926
+ # @type By: String
2312
2927
 
2313
- def initialize(iplist=nil)
2314
- @IPList = iplist
2315
- end
2928
+ attr_accessor :Limit, :Offset, :Filters, :StartTime, :EndTime, :Order, :By
2316
2929
 
2317
- def deserialize(params)
2930
+ def initialize(limit=nil, offset=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
2931
+ @Limit = limit
2932
+ @Offset = offset
2933
+ @Filters = filters
2934
+ @StartTime = starttime
2935
+ @EndTime = endtime
2936
+ @Order = order
2937
+ @By = by
2938
+ end
2939
+
2940
+ def deserialize(params)
2941
+ @Limit = params['Limit']
2942
+ @Offset = params['Offset']
2943
+ unless params['Filters'].nil?
2944
+ @Filters = []
2945
+ params['Filters'].each do |i|
2946
+ commonfilter_tmp = CommonFilter.new
2947
+ commonfilter_tmp.deserialize(i)
2948
+ @Filters << commonfilter_tmp
2949
+ end
2950
+ end
2951
+ @StartTime = params['StartTime']
2952
+ @EndTime = params['EndTime']
2953
+ @Order = params['Order']
2954
+ @By = params['By']
2955
+ end
2956
+ end
2957
+
2958
+ # DescribeFwGroupInstanceInfo返回参数结构体
2959
+ class DescribeFwGroupInstanceInfoResponse < TencentCloud::Common::AbstractModel
2960
+ # @param VpcFwGroupLst: 防火墙(组)
2961
+ # 注意:此字段可能返回 null,表示取不到有效值。
2962
+ # @type VpcFwGroupLst: Array
2963
+ # @param Total: 防火墙(组)个数
2964
+ # 注意:此字段可能返回 null,表示取不到有效值。
2965
+ # @type Total: Integer
2966
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2967
+ # @type RequestId: String
2968
+
2969
+ attr_accessor :VpcFwGroupLst, :Total, :RequestId
2970
+
2971
+ def initialize(vpcfwgrouplst=nil, total=nil, requestid=nil)
2972
+ @VpcFwGroupLst = vpcfwgrouplst
2973
+ @Total = total
2974
+ @RequestId = requestid
2975
+ end
2976
+
2977
+ def deserialize(params)
2978
+ unless params['VpcFwGroupLst'].nil?
2979
+ @VpcFwGroupLst = []
2980
+ params['VpcFwGroupLst'].each do |i|
2981
+ vpcfwgroupinfo_tmp = VpcFwGroupInfo.new
2982
+ vpcfwgroupinfo_tmp.deserialize(i)
2983
+ @VpcFwGroupLst << vpcfwgroupinfo_tmp
2984
+ end
2985
+ end
2986
+ @Total = params['Total']
2987
+ @RequestId = params['RequestId']
2988
+ end
2989
+ end
2990
+
2991
+ # DescribeFwSyncStatus请求参数结构体
2992
+ class DescribeFwSyncStatusRequest < TencentCloud::Common::AbstractModel
2993
+ # @param SyncType: 查询的同步状态类型:Route,同步路由状态
2994
+ # @type SyncType: String
2995
+
2996
+ attr_accessor :SyncType
2997
+
2998
+ def initialize(synctype=nil)
2999
+ @SyncType = synctype
3000
+ end
3001
+
3002
+ def deserialize(params)
3003
+ @SyncType = params['SyncType']
3004
+ end
3005
+ end
3006
+
3007
+ # DescribeFwSyncStatus返回参数结构体
3008
+ class DescribeFwSyncStatusResponse < TencentCloud::Common::AbstractModel
3009
+ # @param SyncStatus: 同步状态:1,同步中;0,同步完成
3010
+ # @type SyncStatus: Integer
3011
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3012
+ # @type RequestId: String
3013
+
3014
+ attr_accessor :SyncStatus, :RequestId
3015
+
3016
+ def initialize(syncstatus=nil, requestid=nil)
3017
+ @SyncStatus = syncstatus
3018
+ @RequestId = requestid
3019
+ end
3020
+
3021
+ def deserialize(params)
3022
+ @SyncStatus = params['SyncStatus']
3023
+ @RequestId = params['RequestId']
3024
+ end
3025
+ end
3026
+
3027
+ # DescribeGuideScanInfo请求参数结构体
3028
+ class DescribeGuideScanInfoRequest < TencentCloud::Common::AbstractModel
3029
+
3030
+
3031
+ def initialize()
3032
+ end
3033
+
3034
+ def deserialize(params)
3035
+ end
3036
+ end
3037
+
3038
+ # DescribeGuideScanInfo返回参数结构体
3039
+ class DescribeGuideScanInfoResponse < TencentCloud::Common::AbstractModel
3040
+ # @param Data: 扫描信息
3041
+ # @type Data: :class:`Tencentcloud::Cfw.v20190904.models.ScanInfo`
3042
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3043
+ # @type RequestId: String
3044
+
3045
+ attr_accessor :Data, :RequestId
3046
+
3047
+ def initialize(data=nil, requestid=nil)
3048
+ @Data = data
3049
+ @RequestId = requestid
3050
+ end
3051
+
3052
+ def deserialize(params)
3053
+ unless params['Data'].nil?
3054
+ @Data = ScanInfo.new
3055
+ @Data.deserialize(params['Data'])
3056
+ end
3057
+ @RequestId = params['RequestId']
3058
+ end
3059
+ end
3060
+
3061
+ # DescribeIPStatusList请求参数结构体
3062
+ class DescribeIPStatusListRequest < TencentCloud::Common::AbstractModel
3063
+ # @param IPList: 资产Id
3064
+ # @type IPList: Array
3065
+
3066
+ attr_accessor :IPList
3067
+
3068
+ def initialize(iplist=nil)
3069
+ @IPList = iplist
3070
+ end
3071
+
3072
+ def deserialize(params)
2318
3073
  @IPList = params['IPList']
2319
3074
  end
2320
3075
  end
@@ -2774,6 +3529,81 @@ module TencentCloud
2774
3529
  end
2775
3530
  end
2776
3531
 
3532
+ # DescribeNatSwitchList请求参数结构体
3533
+ class DescribeNatSwitchListRequest < TencentCloud::Common::AbstractModel
3534
+ # @param Offset: 偏移量,分页用
3535
+ # @type Offset: Integer
3536
+ # @param Limit: 条数,分页用
3537
+ # @type Limit: Integer
3538
+ # @param SearchValue: 搜索值
3539
+ # @type SearchValue: String
3540
+ # @param Status: 开关,1打开,0关闭
3541
+ # @type Status: Integer
3542
+ # @param VpcId: 筛选NAT防火墙子网开关所属VPC
3543
+ # @type VpcId: String
3544
+ # @param NatId: 筛选NAT防火墙子网开关所属NAT网关
3545
+ # @type NatId: String
3546
+ # @param NatInsId: 筛选NAT防火墙子网开关所属NAT防火墙实例
3547
+ # @type NatInsId: String
3548
+ # @param Area: 筛选NAT防火墙子网开关所属地域
3549
+ # @type Area: String
3550
+
3551
+ attr_accessor :Offset, :Limit, :SearchValue, :Status, :VpcId, :NatId, :NatInsId, :Area
3552
+
3553
+ def initialize(offset=nil, limit=nil, searchvalue=nil, status=nil, vpcid=nil, natid=nil, natinsid=nil, area=nil)
3554
+ @Offset = offset
3555
+ @Limit = limit
3556
+ @SearchValue = searchvalue
3557
+ @Status = status
3558
+ @VpcId = vpcid
3559
+ @NatId = natid
3560
+ @NatInsId = natinsid
3561
+ @Area = area
3562
+ end
3563
+
3564
+ def deserialize(params)
3565
+ @Offset = params['Offset']
3566
+ @Limit = params['Limit']
3567
+ @SearchValue = params['SearchValue']
3568
+ @Status = params['Status']
3569
+ @VpcId = params['VpcId']
3570
+ @NatId = params['NatId']
3571
+ @NatInsId = params['NatInsId']
3572
+ @Area = params['Area']
3573
+ end
3574
+ end
3575
+
3576
+ # DescribeNatSwitchList返回参数结构体
3577
+ class DescribeNatSwitchListResponse < TencentCloud::Common::AbstractModel
3578
+ # @param Total: 总数
3579
+ # @type Total: Integer
3580
+ # @param Data: NAT边界防火墙开关列表数据
3581
+ # @type Data: Array
3582
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3583
+ # @type RequestId: String
3584
+
3585
+ attr_accessor :Total, :Data, :RequestId
3586
+
3587
+ def initialize(total=nil, data=nil, requestid=nil)
3588
+ @Total = total
3589
+ @Data = data
3590
+ @RequestId = requestid
3591
+ end
3592
+
3593
+ def deserialize(params)
3594
+ @Total = params['Total']
3595
+ unless params['Data'].nil?
3596
+ @Data = []
3597
+ params['Data'].each do |i|
3598
+ natswitchlistdata_tmp = NatSwitchListData.new
3599
+ natswitchlistdata_tmp.deserialize(i)
3600
+ @Data << natswitchlistdata_tmp
3601
+ end
3602
+ end
3603
+ @RequestId = params['RequestId']
3604
+ end
3605
+ end
3606
+
2777
3607
  # DescribeResourceGroupNew请求参数结构体
2778
3608
  class DescribeResourceGroupNewRequest < TencentCloud::Common::AbstractModel
2779
3609
  # @param QueryType: 查询类型 网络结构-vpc,业务识别-resource ,资源标签-tag
@@ -3394,64 +4224,379 @@ module TencentCloud
3394
4224
  end
3395
4225
  end
3396
4226
 
3397
- # 设置nat防火墙的vpc dns 接入开关
3398
- class DnsVpcSwitch < TencentCloud::Common::AbstractModel
3399
- # @param VpcId: vpc id
3400
- # @type VpcId: String
3401
- # @param Status: 0:设置为关闭 1:设置为打开
3402
- # @type Status: Integer
3403
-
3404
- attr_accessor :VpcId, :Status
3405
-
3406
- def initialize(vpcid=nil, status=nil)
3407
- @VpcId = vpcid
3408
- @Status = status
3409
- end
3410
-
3411
- def deserialize(params)
3412
- @VpcId = params['VpcId']
3413
- @Status = params['Status']
3414
- end
3415
- end
3416
-
3417
- # ExpandCfwVertical请求参数结构体
3418
- class ExpandCfwVerticalRequest < TencentCloud::Common::AbstractModel
3419
- # @param FwType: nat:nat防火墙,ew:东西向防火墙
3420
- # @type FwType: String
3421
- # @param Width: 带宽值
3422
- # @type Width: Integer
3423
- # @param CfwInstance: 防火墙实例id
3424
- # @type CfwInstance: String
4227
+ # DescribeVpcAcRule请求参数结构体
4228
+ class DescribeVpcAcRuleRequest < TencentCloud::Common::AbstractModel
4229
+ # @param Limit: 每页条数
4230
+ # @type Limit: Integer
4231
+ # @param Offset: 偏移值
4232
+ # @type Offset: Integer
4233
+ # @param Index: 需要查询的索引,特定场景使用,可不填
4234
+ # @type Index: String
4235
+ # @param Filters: 过滤条件组合
4236
+ # @type Filters: Array
4237
+ # @param StartTime: 检索的起始时间,可不传
4238
+ # @type StartTime: String
4239
+ # @param EndTime: 检索的截止时间,可不传
4240
+ # @type EndTime: String
4241
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
4242
+ # @type Order: String
4243
+ # @param By: 排序所用到的字段
4244
+ # @type By: String
3425
4245
 
3426
- attr_accessor :FwType, :Width, :CfwInstance
4246
+ attr_accessor :Limit, :Offset, :Index, :Filters, :StartTime, :EndTime, :Order, :By
3427
4247
 
3428
- def initialize(fwtype=nil, width=nil, cfwinstance=nil)
3429
- @FwType = fwtype
3430
- @Width = width
3431
- @CfwInstance = cfwinstance
4248
+ def initialize(limit=nil, offset=nil, index=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
4249
+ @Limit = limit
4250
+ @Offset = offset
4251
+ @Index = index
4252
+ @Filters = filters
4253
+ @StartTime = starttime
4254
+ @EndTime = endtime
4255
+ @Order = order
4256
+ @By = by
3432
4257
  end
3433
4258
 
3434
4259
  def deserialize(params)
3435
- @FwType = params['FwType']
3436
- @Width = params['Width']
3437
- @CfwInstance = params['CfwInstance']
4260
+ @Limit = params['Limit']
4261
+ @Offset = params['Offset']
4262
+ @Index = params['Index']
4263
+ unless params['Filters'].nil?
4264
+ @Filters = []
4265
+ params['Filters'].each do |i|
4266
+ commonfilter_tmp = CommonFilter.new
4267
+ commonfilter_tmp.deserialize(i)
4268
+ @Filters << commonfilter_tmp
4269
+ end
4270
+ end
4271
+ @StartTime = params['StartTime']
4272
+ @EndTime = params['EndTime']
4273
+ @Order = params['Order']
4274
+ @By = params['By']
3438
4275
  end
3439
4276
  end
3440
4277
 
3441
- # ExpandCfwVertical返回参数结构体
3442
- class ExpandCfwVerticalResponse < TencentCloud::Common::AbstractModel
4278
+ # DescribeVpcAcRule返回参数结构体
4279
+ class DescribeVpcAcRuleResponse < TencentCloud::Common::AbstractModel
4280
+ # @param Total: 总条数
4281
+ # @type Total: Integer
4282
+ # @param Data: 内网间访问控制列表数据
4283
+ # @type Data: Array
3443
4284
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3444
4285
  # @type RequestId: String
3445
4286
 
3446
- attr_accessor :RequestId
4287
+ attr_accessor :Total, :Data, :RequestId
3447
4288
 
3448
- def initialize(requestid=nil)
4289
+ def initialize(total=nil, data=nil, requestid=nil)
4290
+ @Total = total
4291
+ @Data = data
3449
4292
  @RequestId = requestid
3450
4293
  end
3451
4294
 
3452
4295
  def deserialize(params)
3453
- @RequestId = params['RequestId']
3454
- end
4296
+ @Total = params['Total']
4297
+ unless params['Data'].nil?
4298
+ @Data = []
4299
+ params['Data'].each do |i|
4300
+ vpcruleitem_tmp = VpcRuleItem.new
4301
+ vpcruleitem_tmp.deserialize(i)
4302
+ @Data << vpcruleitem_tmp
4303
+ end
4304
+ end
4305
+ @RequestId = params['RequestId']
4306
+ end
4307
+ end
4308
+
4309
+ # DescribeVpcFwGroupSwitch请求参数结构体
4310
+ class DescribeVpcFwGroupSwitchRequest < TencentCloud::Common::AbstractModel
4311
+ # @param Limit: 每页条数
4312
+ # @type Limit: Integer
4313
+ # @param Offset: 偏移值
4314
+ # @type Offset: Integer
4315
+ # @param Filters: 过滤条件组合
4316
+ # @type Filters: Array
4317
+ # @param StartTime: 检索的起始时间,可不传
4318
+ # @type StartTime: String
4319
+ # @param EndTime: 检索的截止时间,可不传
4320
+ # @type EndTime: String
4321
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
4322
+ # @type Order: String
4323
+ # @param By: 排序所用到的字段
4324
+ # @type By: String
4325
+
4326
+ attr_accessor :Limit, :Offset, :Filters, :StartTime, :EndTime, :Order, :By
4327
+
4328
+ def initialize(limit=nil, offset=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
4329
+ @Limit = limit
4330
+ @Offset = offset
4331
+ @Filters = filters
4332
+ @StartTime = starttime
4333
+ @EndTime = endtime
4334
+ @Order = order
4335
+ @By = by
4336
+ end
4337
+
4338
+ def deserialize(params)
4339
+ @Limit = params['Limit']
4340
+ @Offset = params['Offset']
4341
+ unless params['Filters'].nil?
4342
+ @Filters = []
4343
+ params['Filters'].each do |i|
4344
+ commonfilter_tmp = CommonFilter.new
4345
+ commonfilter_tmp.deserialize(i)
4346
+ @Filters << commonfilter_tmp
4347
+ end
4348
+ end
4349
+ @StartTime = params['StartTime']
4350
+ @EndTime = params['EndTime']
4351
+ @Order = params['Order']
4352
+ @By = params['By']
4353
+ end
4354
+ end
4355
+
4356
+ # DescribeVpcFwGroupSwitch返回参数结构体
4357
+ class DescribeVpcFwGroupSwitchResponse < TencentCloud::Common::AbstractModel
4358
+ # @param SwitchList: 开关列表
4359
+ # 注意:此字段可能返回 null,表示取不到有效值。
4360
+ # @type SwitchList: Array
4361
+ # @param Total: 开关总个数
4362
+ # 注意:此字段可能返回 null,表示取不到有效值。
4363
+ # @type Total: Integer
4364
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4365
+ # @type RequestId: String
4366
+
4367
+ attr_accessor :SwitchList, :Total, :RequestId
4368
+
4369
+ def initialize(switchlist=nil, total=nil, requestid=nil)
4370
+ @SwitchList = switchlist
4371
+ @Total = total
4372
+ @RequestId = requestid
4373
+ end
4374
+
4375
+ def deserialize(params)
4376
+ unless params['SwitchList'].nil?
4377
+ @SwitchList = []
4378
+ params['SwitchList'].each do |i|
4379
+ fwgroupswitchshow_tmp = FwGroupSwitchShow.new
4380
+ fwgroupswitchshow_tmp.deserialize(i)
4381
+ @SwitchList << fwgroupswitchshow_tmp
4382
+ end
4383
+ end
4384
+ @Total = params['Total']
4385
+ @RequestId = params['RequestId']
4386
+ end
4387
+ end
4388
+
4389
+ # 设置nat防火墙的vpc dns 接入开关
4390
+ class DnsVpcSwitch < TencentCloud::Common::AbstractModel
4391
+ # @param VpcId: vpc id
4392
+ # @type VpcId: String
4393
+ # @param Status: 0:设置为关闭 1:设置为打开
4394
+ # @type Status: Integer
4395
+
4396
+ attr_accessor :VpcId, :Status
4397
+
4398
+ def initialize(vpcid=nil, status=nil)
4399
+ @VpcId = vpcid
4400
+ @Status = status
4401
+ end
4402
+
4403
+ def deserialize(params)
4404
+ @VpcId = params['VpcId']
4405
+ @Status = params['Status']
4406
+ end
4407
+ end
4408
+
4409
+ # 边界防火墙公网IP开关列表
4410
+ class EdgeIpInfo < TencentCloud::Common::AbstractModel
4411
+ # @param PublicIp: 公网IP
4412
+ # @type PublicIp: String
4413
+ # @param PublicIpType: 公网 IP 类型
4414
+ # 注意:此字段可能返回 null,表示取不到有效值。
4415
+ # @type PublicIpType: Integer
4416
+ # @param InstanceId: 实例ID
4417
+ # 注意:此字段可能返回 null,表示取不到有效值。
4418
+ # @type InstanceId: String
4419
+ # @param InstanceName: 实例名
4420
+ # 注意:此字段可能返回 null,表示取不到有效值。
4421
+ # @type InstanceName: String
4422
+ # @param IntranetIp: 内网IP
4423
+ # 注意:此字段可能返回 null,表示取不到有效值。
4424
+ # @type IntranetIp: String
4425
+ # @param AssetType: 资产类型
4426
+ # 注意:此字段可能返回 null,表示取不到有效值。
4427
+ # @type AssetType: String
4428
+ # @param Region: 地域
4429
+ # 注意:此字段可能返回 null,表示取不到有效值。
4430
+ # @type Region: String
4431
+ # @param PortRiskCount: 风险端口数
4432
+ # 注意:此字段可能返回 null,表示取不到有效值。
4433
+ # @type PortRiskCount: Integer
4434
+ # @param LastScanTime: 最近扫描时间
4435
+ # 注意:此字段可能返回 null,表示取不到有效值。
4436
+ # @type LastScanTime: String
4437
+ # @param IsRegionEip: 是否为region eip
4438
+ # 0 不为region eip,不能选择串行
4439
+ # 1 为region eip 可以选择串行
4440
+ # 注意:此字段可能返回 null,表示取不到有效值。
4441
+ # @type IsRegionEip: Integer
4442
+ # @param VpcId: EIP 所关联的VPC
4443
+ # 注意:此字段可能返回 null,表示取不到有效值。
4444
+ # @type VpcId: String
4445
+ # @param IsSerialRegion: 0: 该地域暂未支持串行
4446
+ # 1: 该用户未在该地域配置串行带宽
4447
+ # 2: 该用户已在该地域配置串行带宽,可以开启串行开关
4448
+ # 注意:此字段可能返回 null,表示取不到有效值。
4449
+ # @type IsSerialRegion: Integer
4450
+ # @param IsPublicClb: 0: 不是公网CLB 可以开启串行开关
4451
+ # 1: 是公网CLB 不可以开启串行开关
4452
+
4453
+ # 注意:此字段可能返回 null,表示取不到有效值。
4454
+ # @type IsPublicClb: Integer
4455
+ # @param EndpointBindEipNum: 0: 开启开关时提示要创建私有连接。
4456
+ # 1: 关闭该开关是提示删除私有连接。
4457
+ # 如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
4458
+ # 注意:此字段可能返回 null,表示取不到有效值。
4459
+ # @type EndpointBindEipNum: Integer
4460
+ # @param ScanMode: 扫描深度
4461
+ # 注意:此字段可能返回 null,表示取不到有效值。
4462
+ # @type ScanMode: String
4463
+ # @param ScanStatus: 扫描状态
4464
+ # 注意:此字段可能返回 null,表示取不到有效值。
4465
+ # @type ScanStatus: Integer
4466
+ # @param Status: 开关状态
4467
+ # 0 : 关闭
4468
+ # 1 : 开启
4469
+ # 2 : 开启中
4470
+ # 3 : 关闭中
4471
+ # 4 : 异常
4472
+ # 注意:此字段可能返回 null,表示取不到有效值。
4473
+ # @type Status: Integer
4474
+ # @param EndpointId: 私有连接ID
4475
+ # 注意:此字段可能返回 null,表示取不到有效值。
4476
+ # @type EndpointId: String
4477
+ # @param EndpointIp: 私有连接IP
4478
+ # 注意:此字段可能返回 null,表示取不到有效值。
4479
+ # @type EndpointIp: String
4480
+ # @param SwitchMode: 0 : 旁路
4481
+ # 1 : 串行
4482
+ # 2 : 正在模式切换
4483
+ # @type SwitchMode: Integer
4484
+
4485
+ attr_accessor :PublicIp, :PublicIpType, :InstanceId, :InstanceName, :IntranetIp, :AssetType, :Region, :PortRiskCount, :LastScanTime, :IsRegionEip, :VpcId, :IsSerialRegion, :IsPublicClb, :EndpointBindEipNum, :ScanMode, :ScanStatus, :Status, :EndpointId, :EndpointIp, :SwitchMode
4486
+
4487
+ def initialize(publicip=nil, publiciptype=nil, instanceid=nil, instancename=nil, intranetip=nil, assettype=nil, region=nil, portriskcount=nil, lastscantime=nil, isregioneip=nil, vpcid=nil, isserialregion=nil, ispublicclb=nil, endpointbindeipnum=nil, scanmode=nil, scanstatus=nil, status=nil, endpointid=nil, endpointip=nil, switchmode=nil)
4488
+ @PublicIp = publicip
4489
+ @PublicIpType = publiciptype
4490
+ @InstanceId = instanceid
4491
+ @InstanceName = instancename
4492
+ @IntranetIp = intranetip
4493
+ @AssetType = assettype
4494
+ @Region = region
4495
+ @PortRiskCount = portriskcount
4496
+ @LastScanTime = lastscantime
4497
+ @IsRegionEip = isregioneip
4498
+ @VpcId = vpcid
4499
+ @IsSerialRegion = isserialregion
4500
+ @IsPublicClb = ispublicclb
4501
+ @EndpointBindEipNum = endpointbindeipnum
4502
+ @ScanMode = scanmode
4503
+ @ScanStatus = scanstatus
4504
+ @Status = status
4505
+ @EndpointId = endpointid
4506
+ @EndpointIp = endpointip
4507
+ @SwitchMode = switchmode
4508
+ end
4509
+
4510
+ def deserialize(params)
4511
+ @PublicIp = params['PublicIp']
4512
+ @PublicIpType = params['PublicIpType']
4513
+ @InstanceId = params['InstanceId']
4514
+ @InstanceName = params['InstanceName']
4515
+ @IntranetIp = params['IntranetIp']
4516
+ @AssetType = params['AssetType']
4517
+ @Region = params['Region']
4518
+ @PortRiskCount = params['PortRiskCount']
4519
+ @LastScanTime = params['LastScanTime']
4520
+ @IsRegionEip = params['IsRegionEip']
4521
+ @VpcId = params['VpcId']
4522
+ @IsSerialRegion = params['IsSerialRegion']
4523
+ @IsPublicClb = params['IsPublicClb']
4524
+ @EndpointBindEipNum = params['EndpointBindEipNum']
4525
+ @ScanMode = params['ScanMode']
4526
+ @ScanStatus = params['ScanStatus']
4527
+ @Status = params['Status']
4528
+ @EndpointId = params['EndpointId']
4529
+ @EndpointIp = params['EndpointIp']
4530
+ @SwitchMode = params['SwitchMode']
4531
+ end
4532
+ end
4533
+
4534
+ # 开启、关闭 防火墙互联网边界开关
4535
+ class EdgeIpSwitch < TencentCloud::Common::AbstractModel
4536
+ # @param PublicIp: 公网IP
4537
+ # @type PublicIp: String
4538
+ # @param SubnetId: vpc 中第一个EIP开关打开,需要指定子网创建私有连接
4539
+ # @type SubnetId: String
4540
+ # @param EndpointIp: 创建私有连接指定IP
4541
+ # @type EndpointIp: String
4542
+ # @param SwitchMode: 0 : 旁路 1 : 串行
4543
+ # @type SwitchMode: Integer
4544
+
4545
+ attr_accessor :PublicIp, :SubnetId, :EndpointIp, :SwitchMode
4546
+
4547
+ def initialize(publicip=nil, subnetid=nil, endpointip=nil, switchmode=nil)
4548
+ @PublicIp = publicip
4549
+ @SubnetId = subnetid
4550
+ @EndpointIp = endpointip
4551
+ @SwitchMode = switchmode
4552
+ end
4553
+
4554
+ def deserialize(params)
4555
+ @PublicIp = params['PublicIp']
4556
+ @SubnetId = params['SubnetId']
4557
+ @EndpointIp = params['EndpointIp']
4558
+ @SwitchMode = params['SwitchMode']
4559
+ end
4560
+ end
4561
+
4562
+ # ExpandCfwVertical请求参数结构体
4563
+ class ExpandCfwVerticalRequest < TencentCloud::Common::AbstractModel
4564
+ # @param FwType: nat:nat防火墙,ew:东西向防火墙
4565
+ # @type FwType: String
4566
+ # @param Width: 带宽值
4567
+ # @type Width: Integer
4568
+ # @param CfwInstance: 防火墙实例id
4569
+ # @type CfwInstance: String
4570
+
4571
+ attr_accessor :FwType, :Width, :CfwInstance
4572
+
4573
+ def initialize(fwtype=nil, width=nil, cfwinstance=nil)
4574
+ @FwType = fwtype
4575
+ @Width = width
4576
+ @CfwInstance = cfwinstance
4577
+ end
4578
+
4579
+ def deserialize(params)
4580
+ @FwType = params['FwType']
4581
+ @Width = params['Width']
4582
+ @CfwInstance = params['CfwInstance']
4583
+ end
4584
+ end
4585
+
4586
+ # ExpandCfwVertical返回参数结构体
4587
+ class ExpandCfwVerticalResponse < TencentCloud::Common::AbstractModel
4588
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4589
+ # @type RequestId: String
4590
+
4591
+ attr_accessor :RequestId
4592
+
4593
+ def initialize(requestid=nil)
4594
+ @RequestId = requestid
4595
+ end
4596
+
4597
+ def deserialize(params)
4598
+ @RequestId = params['RequestId']
4599
+ end
3455
4600
  end
3456
4601
 
3457
4602
  # 防火墙网段信息
@@ -3485,6 +4630,215 @@ module TencentCloud
3485
4630
  end
3486
4631
  end
3487
4632
 
4633
+ # 防火墙部署输入参数列表
4634
+ class FwDeploy < TencentCloud::Common::AbstractModel
4635
+ # @param DeployRegion: 防火墙部署地域
4636
+ # @type DeployRegion: String
4637
+ # @param Width: 带宽,单位:Mbps
4638
+ # @type Width: Integer
4639
+ # @param CrossAZone: 异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备
4640
+ # @type CrossAZone: Integer
4641
+ # @param Zone: 主可用区,为空则选择默认可用区
4642
+ # @type Zone: String
4643
+ # @param ZoneBak: 备可用区,为空则选择默认可用区
4644
+ # @type ZoneBak: String
4645
+ # @param CdcId: 若为cdc防火墙时填充该id
4646
+ # @type CdcId: String
4647
+
4648
+ attr_accessor :DeployRegion, :Width, :CrossAZone, :Zone, :ZoneBak, :CdcId
4649
+
4650
+ def initialize(deployregion=nil, width=nil, crossazone=nil, zone=nil, zonebak=nil, cdcid=nil)
4651
+ @DeployRegion = deployregion
4652
+ @Width = width
4653
+ @CrossAZone = crossazone
4654
+ @Zone = zone
4655
+ @ZoneBak = zonebak
4656
+ @CdcId = cdcid
4657
+ end
4658
+
4659
+ def deserialize(params)
4660
+ @DeployRegion = params['DeployRegion']
4661
+ @Width = params['Width']
4662
+ @CrossAZone = params['CrossAZone']
4663
+ @Zone = params['Zone']
4664
+ @ZoneBak = params['ZoneBak']
4665
+ @CdcId = params['CdcId']
4666
+ end
4667
+ end
4668
+
4669
+ # 防火墙引流网关信息
4670
+ class FwGateway < TencentCloud::Common::AbstractModel
4671
+ # @param GatewayId: 防火墙网关id
4672
+ # @type GatewayId: String
4673
+ # @param VpcId: 网关所属vpc id
4674
+ # 注意:此字段可能返回 null,表示取不到有效值。
4675
+ # @type VpcId: String
4676
+ # @param IpAddress: 网关ip地址
4677
+ # 注意:此字段可能返回 null,表示取不到有效值。
4678
+ # @type IpAddress: String
4679
+
4680
+ attr_accessor :GatewayId, :VpcId, :IpAddress
4681
+
4682
+ def initialize(gatewayid=nil, vpcid=nil, ipaddress=nil)
4683
+ @GatewayId = gatewayid
4684
+ @VpcId = vpcid
4685
+ @IpAddress = ipaddress
4686
+ end
4687
+
4688
+ def deserialize(params)
4689
+ @GatewayId = params['GatewayId']
4690
+ @VpcId = params['VpcId']
4691
+ @IpAddress = params['IpAddress']
4692
+ end
4693
+ end
4694
+
4695
+ # 多种VPC墙模式开关结构
4696
+ class FwGroupSwitch < TencentCloud::Common::AbstractModel
4697
+ # @param SwitchMode: 防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由
4698
+ # @type SwitchMode: Integer
4699
+ # @param SwitchId: 防火墙开关ID
4700
+ # 支持三种类型
4701
+ # 1. 边开关(单点互通)
4702
+ # 2. 点开关(多点互通)
4703
+ # 3. 全开关(全互通)
4704
+ # @type SwitchId: String
4705
+
4706
+ attr_accessor :SwitchMode, :SwitchId
4707
+
4708
+ def initialize(switchmode=nil, switchid=nil)
4709
+ @SwitchMode = switchmode
4710
+ @SwitchId = switchid
4711
+ end
4712
+
4713
+ def deserialize(params)
4714
+ @SwitchMode = params['SwitchMode']
4715
+ @SwitchId = params['SwitchId']
4716
+ end
4717
+ end
4718
+
4719
+ # VPC防火墙(组)四种开关展示
4720
+ class FwGroupSwitchShow < TencentCloud::Common::AbstractModel
4721
+ # @param SwitchId: 防火墙开关ID
4722
+ # @type SwitchId: String
4723
+ # @param SwitchName: 防火墙开关NAME
4724
+ # 注意:此字段可能返回 null,表示取不到有效值。
4725
+ # @type SwitchName: String
4726
+ # @param SwitchMode: 互通模式
4727
+ # @type SwitchMode: Integer
4728
+ # @param ConnectType: 开关边连接类型 0:对等连接, 1:云连网
4729
+ # 注意:此字段可能返回 null,表示取不到有效值。
4730
+ # @type ConnectType: Integer
4731
+ # @param ConnectId: 连接ID
4732
+ # 注意:此字段可能返回 null,表示取不到有效值。
4733
+ # @type ConnectId: String
4734
+ # @param ConnectName: 连接名称
4735
+ # 注意:此字段可能返回 null,表示取不到有效值。
4736
+ # @type ConnectName: String
4737
+ # @param SrcInstancesInfo: 源实例信息
4738
+ # 注意:此字段可能返回 null,表示取不到有效值。
4739
+ # @type SrcInstancesInfo: Array
4740
+ # @param DstInstancesInfo: 目的实例信息
4741
+ # 注意:此字段可能返回 null,表示取不到有效值。
4742
+ # @type DstInstancesInfo: Array
4743
+ # @param FwGroupId: 防火墙(组)数据
4744
+ # 注意:此字段可能返回 null,表示取不到有效值。
4745
+ # @type FwGroupId: String
4746
+ # @param FwGroupName: 防火墙(组)名称
4747
+ # 注意:此字段可能返回 null,表示取不到有效值。
4748
+ # @type FwGroupName: String
4749
+ # @param Enable: 开关状态 0:关 , 1:开
4750
+ # 注意:此字段可能返回 null,表示取不到有效值。
4751
+ # @type Enable: Integer
4752
+ # @param Status: 开关的状态 0:正常, 1:转换中
4753
+ # 注意:此字段可能返回 null,表示取不到有效值。
4754
+ # @type Status: Integer
4755
+ # @param AttachWithEdge: 0-非sase实例,忽略,1-未绑定状态,2-已绑定
4756
+ # 注意:此字段可能返回 null,表示取不到有效值。
4757
+ # @type AttachWithEdge: Integer
4758
+ # @param CrossEdgeStatus: 对等防火墙和开关状态 0:正常, 1:对等未创建防火墙,2:对等已创建防火墙,未打开开关
4759
+ # 注意:此字段可能返回 null,表示取不到有效值。
4760
+ # @type CrossEdgeStatus: Integer
4761
+ # @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
4762
+ # 注意:此字段可能返回 null,表示取不到有效值。
4763
+ # @type FwInsRegion: Array
4764
+ # @param IpsAction: 0 观察 1 拦截 2 严格 3 关闭
4765
+ # 注意:此字段可能返回 null,表示取不到有效值。
4766
+ # @type IpsAction: Integer
4767
+ # @param FwInsLst: 开关关联的防火墙实例列表
4768
+ # 注意:此字段可能返回 null,表示取不到有效值。
4769
+ # @type FwInsLst: Array
4770
+ # @param BypassStatus: 开关是否处于bypass状态
4771
+ # 0:正常状态
4772
+ # 1:bypass状态
4773
+ # 注意:此字段可能返回 null,表示取不到有效值。
4774
+ # @type BypassStatus: Integer
4775
+
4776
+ attr_accessor :SwitchId, :SwitchName, :SwitchMode, :ConnectType, :ConnectId, :ConnectName, :SrcInstancesInfo, :DstInstancesInfo, :FwGroupId, :FwGroupName, :Enable, :Status, :AttachWithEdge, :CrossEdgeStatus, :FwInsRegion, :IpsAction, :FwInsLst, :BypassStatus
4777
+
4778
+ def initialize(switchid=nil, switchname=nil, switchmode=nil, connecttype=nil, connectid=nil, connectname=nil, srcinstancesinfo=nil, dstinstancesinfo=nil, fwgroupid=nil, fwgroupname=nil, enable=nil, status=nil, attachwithedge=nil, crossedgestatus=nil, fwinsregion=nil, ipsaction=nil, fwinslst=nil, bypassstatus=nil)
4779
+ @SwitchId = switchid
4780
+ @SwitchName = switchname
4781
+ @SwitchMode = switchmode
4782
+ @ConnectType = connecttype
4783
+ @ConnectId = connectid
4784
+ @ConnectName = connectname
4785
+ @SrcInstancesInfo = srcinstancesinfo
4786
+ @DstInstancesInfo = dstinstancesinfo
4787
+ @FwGroupId = fwgroupid
4788
+ @FwGroupName = fwgroupname
4789
+ @Enable = enable
4790
+ @Status = status
4791
+ @AttachWithEdge = attachwithedge
4792
+ @CrossEdgeStatus = crossedgestatus
4793
+ @FwInsRegion = fwinsregion
4794
+ @IpsAction = ipsaction
4795
+ @FwInsLst = fwinslst
4796
+ @BypassStatus = bypassstatus
4797
+ end
4798
+
4799
+ def deserialize(params)
4800
+ @SwitchId = params['SwitchId']
4801
+ @SwitchName = params['SwitchName']
4802
+ @SwitchMode = params['SwitchMode']
4803
+ @ConnectType = params['ConnectType']
4804
+ @ConnectId = params['ConnectId']
4805
+ @ConnectName = params['ConnectName']
4806
+ unless params['SrcInstancesInfo'].nil?
4807
+ @SrcInstancesInfo = []
4808
+ params['SrcInstancesInfo'].each do |i|
4809
+ netinstancesinfo_tmp = NetInstancesInfo.new
4810
+ netinstancesinfo_tmp.deserialize(i)
4811
+ @SrcInstancesInfo << netinstancesinfo_tmp
4812
+ end
4813
+ end
4814
+ unless params['DstInstancesInfo'].nil?
4815
+ @DstInstancesInfo = []
4816
+ params['DstInstancesInfo'].each do |i|
4817
+ netinstancesinfo_tmp = NetInstancesInfo.new
4818
+ netinstancesinfo_tmp.deserialize(i)
4819
+ @DstInstancesInfo << netinstancesinfo_tmp
4820
+ end
4821
+ end
4822
+ @FwGroupId = params['FwGroupId']
4823
+ @FwGroupName = params['FwGroupName']
4824
+ @Enable = params['Enable']
4825
+ @Status = params['Status']
4826
+ @AttachWithEdge = params['AttachWithEdge']
4827
+ @CrossEdgeStatus = params['CrossEdgeStatus']
4828
+ @FwInsRegion = params['FwInsRegion']
4829
+ @IpsAction = params['IpsAction']
4830
+ unless params['FwInsLst'].nil?
4831
+ @FwInsLst = []
4832
+ params['FwInsLst'].each do |i|
4833
+ vpcfwinstanceshow_tmp = VpcFwInstanceShow.new
4834
+ vpcfwinstanceshow_tmp.deserialize(i)
4835
+ @FwInsLst << vpcfwinstanceshow_tmp
4836
+ end
4837
+ end
4838
+ @BypassStatus = params['BypassStatus']
4839
+ end
4840
+ end
4841
+
3488
4842
  # vpc的防火墙网段
3489
4843
  class FwVpcCidr < TencentCloud::Common::AbstractModel
3490
4844
  # @param VpcId: vpc的id
@@ -3659,13 +5013,16 @@ module TencentCloud
3659
5013
  end
3660
5014
  end
3661
5015
 
3662
- # 黑白名单IOC列表
5016
+ # 封禁放通IOC列表
3663
5017
  class IocListData < TencentCloud::Common::AbstractModel
3664
5018
  # @param IP: 待处置IP地址,IP/Domain字段二选一
5019
+ # 注意:此字段可能返回 null,表示取不到有效值。
3665
5020
  # @type IP: String
3666
5021
  # @param Direction: 只能为0或者1 0代表出站 1代表入站
5022
+ # 注意:此字段可能返回 null,表示取不到有效值。
3667
5023
  # @type Direction: Integer
3668
5024
  # @param Domain: 待处置域名,IP/Domain字段二选一
5025
+ # 注意:此字段可能返回 null,表示取不到有效值。
3669
5026
  # @type Domain: String
3670
5027
 
3671
5028
  attr_accessor :IP, :Direction, :Domain
@@ -3763,6 +5120,107 @@ module TencentCloud
3763
5120
  end
3764
5121
  end
3765
5122
 
5123
+ # ModifyAclRule请求参数结构体
5124
+ class ModifyAclRuleRequest < TencentCloud::Common::AbstractModel
5125
+ # @param Rules: 需要编辑的规则数组
5126
+ # @type Rules: Array
5127
+
5128
+ attr_accessor :Rules
5129
+
5130
+ def initialize(rules=nil)
5131
+ @Rules = rules
5132
+ end
5133
+
5134
+ def deserialize(params)
5135
+ unless params['Rules'].nil?
5136
+ @Rules = []
5137
+ params['Rules'].each do |i|
5138
+ createruleitem_tmp = CreateRuleItem.new
5139
+ createruleitem_tmp.deserialize(i)
5140
+ @Rules << createruleitem_tmp
5141
+ end
5142
+ end
5143
+ end
5144
+ end
5145
+
5146
+ # ModifyAclRule返回参数结构体
5147
+ class ModifyAclRuleResponse < TencentCloud::Common::AbstractModel
5148
+ # @param RuleUuid: 编辑成功后返回新策略ID列表
5149
+ # @type RuleUuid: Array
5150
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5151
+ # @type RequestId: String
5152
+
5153
+ attr_accessor :RuleUuid, :RequestId
5154
+
5155
+ def initialize(ruleuuid=nil, requestid=nil)
5156
+ @RuleUuid = ruleuuid
5157
+ @RequestId = requestid
5158
+ end
5159
+
5160
+ def deserialize(params)
5161
+ @RuleUuid = params['RuleUuid']
5162
+ @RequestId = params['RequestId']
5163
+ end
5164
+ end
5165
+
5166
+ # ModifyAddressTemplate请求参数结构体
5167
+ class ModifyAddressTemplateRequest < TencentCloud::Common::AbstractModel
5168
+ # @param Uuid: 地址模板唯一Id
5169
+ # @type Uuid: String
5170
+ # @param Name: 模板名称
5171
+ # @type Name: String
5172
+ # @param Detail: 模板描述
5173
+ # @type Detail: String
5174
+ # @param IpString: Type为1,ip模板eg:1.1.1.1,2.2.2.2;
5175
+ # Type为5,域名模板eg:www.qq.com,www.tencent.com
5176
+ # @type IpString: String
5177
+ # @param Type: 1 ip模板
5178
+ # 5 域名模板
5179
+ # @type Type: Integer
5180
+
5181
+ attr_accessor :Uuid, :Name, :Detail, :IpString, :Type
5182
+
5183
+ def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, type=nil)
5184
+ @Uuid = uuid
5185
+ @Name = name
5186
+ @Detail = detail
5187
+ @IpString = ipstring
5188
+ @Type = type
5189
+ end
5190
+
5191
+ def deserialize(params)
5192
+ @Uuid = params['Uuid']
5193
+ @Name = params['Name']
5194
+ @Detail = params['Detail']
5195
+ @IpString = params['IpString']
5196
+ @Type = params['Type']
5197
+ end
5198
+ end
5199
+
5200
+ # ModifyAddressTemplate返回参数结构体
5201
+ class ModifyAddressTemplateResponse < TencentCloud::Common::AbstractModel
5202
+ # @param Status: 创建结果,0成功
5203
+ # @type Status: Integer
5204
+ # @param Uuid: 唯一Id
5205
+ # @type Uuid: String
5206
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5207
+ # @type RequestId: String
5208
+
5209
+ attr_accessor :Status, :Uuid, :RequestId
5210
+
5211
+ def initialize(status=nil, uuid=nil, requestid=nil)
5212
+ @Status = status
5213
+ @Uuid = uuid
5214
+ @RequestId = requestid
5215
+ end
5216
+
5217
+ def deserialize(params)
5218
+ @Status = params['Status']
5219
+ @Uuid = params['Uuid']
5220
+ @RequestId = params['RequestId']
5221
+ end
5222
+ end
5223
+
3766
5224
  # ModifyAllPublicIPSwitchStatus请求参数结构体
3767
5225
  class ModifyAllPublicIPSwitchStatusRequest < TencentCloud::Common::AbstractModel
3768
5226
  # @param Status: 状态,0:关闭,1:开启
@@ -3960,6 +5418,50 @@ module TencentCloud
3960
5418
  end
3961
5419
  end
3962
5420
 
5421
+ # ModifyAssetSync请求参数结构体
5422
+ class ModifyAssetSyncRequest < TencentCloud::Common::AbstractModel
5423
+
5424
+
5425
+ def initialize()
5426
+ end
5427
+
5428
+ def deserialize(params)
5429
+ end
5430
+ end
5431
+
5432
+ # ModifyAssetSync返回参数结构体
5433
+ class ModifyAssetSyncResponse < TencentCloud::Common::AbstractModel
5434
+ # @param Status: 返回状态
5435
+ # 0 请求成功
5436
+ # 2 请求失败
5437
+ # 3 请求失败-频率限制
5438
+ # @type Status: Integer
5439
+ # @param ReturnMsg: success 成功
5440
+ # 其他失败
5441
+ # @type ReturnMsg: String
5442
+ # @param ReturnCode: 0 成功
5443
+ # 非0 失败
5444
+ # @type ReturnCode: Integer
5445
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5446
+ # @type RequestId: String
5447
+
5448
+ attr_accessor :Status, :ReturnMsg, :ReturnCode, :RequestId
5449
+
5450
+ def initialize(status=nil, returnmsg=nil, returncode=nil, requestid=nil)
5451
+ @Status = status
5452
+ @ReturnMsg = returnmsg
5453
+ @ReturnCode = returncode
5454
+ @RequestId = requestid
5455
+ end
5456
+
5457
+ def deserialize(params)
5458
+ @Status = params['Status']
5459
+ @ReturnMsg = params['ReturnMsg']
5460
+ @ReturnCode = params['ReturnCode']
5461
+ @RequestId = params['RequestId']
5462
+ end
5463
+ end
5464
+
3963
5465
  # ModifyBlockIgnoreList请求参数结构体
3964
5466
  class ModifyBlockIgnoreListRequest < TencentCloud::Common::AbstractModel
3965
5467
  # @param RuleType: 1封禁列表 2 放通列表
@@ -3993,32 +5495,71 @@ module TencentCloud
3993
5495
  @IOC << ioclistdata_tmp
3994
5496
  end
3995
5497
  end
3996
- @IocAction = params['IocAction']
3997
- @StartTime = params['StartTime']
3998
- @EndTime = params['EndTime']
5498
+ @IocAction = params['IocAction']
5499
+ @StartTime = params['StartTime']
5500
+ @EndTime = params['EndTime']
5501
+ end
5502
+ end
5503
+
5504
+ # ModifyBlockIgnoreList返回参数结构体
5505
+ class ModifyBlockIgnoreListResponse < TencentCloud::Common::AbstractModel
5506
+ # @param ReturnMsg: 接口返回信息
5507
+ # @type ReturnMsg: String
5508
+ # @param ReturnCode: 接口返回错误码,0请求成功 非0失败
5509
+ # @type ReturnCode: Integer
5510
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5511
+ # @type RequestId: String
5512
+
5513
+ attr_accessor :ReturnMsg, :ReturnCode, :RequestId
5514
+
5515
+ def initialize(returnmsg=nil, returncode=nil, requestid=nil)
5516
+ @ReturnMsg = returnmsg
5517
+ @ReturnCode = returncode
5518
+ @RequestId = requestid
5519
+ end
5520
+
5521
+ def deserialize(params)
5522
+ @ReturnMsg = params['ReturnMsg']
5523
+ @ReturnCode = params['ReturnCode']
5524
+ @RequestId = params['RequestId']
5525
+ end
5526
+ end
5527
+
5528
+ # ModifyBlockIgnoreRule请求参数结构体
5529
+ class ModifyBlockIgnoreRuleRequest < TencentCloud::Common::AbstractModel
5530
+ # @param Rule: 规则
5531
+ # @type Rule: :class:`Tencentcloud::Cfw.v20190904.models.IntrusionDefenseRule`
5532
+ # @param RuleType: 规则类型,1封禁,2放通
5533
+ # @type RuleType: Integer
5534
+
5535
+ attr_accessor :Rule, :RuleType
5536
+
5537
+ def initialize(rule=nil, ruletype=nil)
5538
+ @Rule = rule
5539
+ @RuleType = ruletype
5540
+ end
5541
+
5542
+ def deserialize(params)
5543
+ unless params['Rule'].nil?
5544
+ @Rule = IntrusionDefenseRule.new
5545
+ @Rule.deserialize(params['Rule'])
5546
+ end
5547
+ @RuleType = params['RuleType']
3999
5548
  end
4000
5549
  end
4001
5550
 
4002
- # ModifyBlockIgnoreList返回参数结构体
4003
- class ModifyBlockIgnoreListResponse < TencentCloud::Common::AbstractModel
4004
- # @param ReturnMsg: 接口返回信息
4005
- # @type ReturnMsg: String
4006
- # @param ReturnCode: 接口返回错误码,0请求成功 非0失败
4007
- # @type ReturnCode: Integer
5551
+ # ModifyBlockIgnoreRule返回参数结构体
5552
+ class ModifyBlockIgnoreRuleResponse < TencentCloud::Common::AbstractModel
4008
5553
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4009
5554
  # @type RequestId: String
4010
5555
 
4011
- attr_accessor :ReturnMsg, :ReturnCode, :RequestId
5556
+ attr_accessor :RequestId
4012
5557
 
4013
- def initialize(returnmsg=nil, returncode=nil, requestid=nil)
4014
- @ReturnMsg = returnmsg
4015
- @ReturnCode = returncode
5558
+ def initialize(requestid=nil)
4016
5559
  @RequestId = requestid
4017
5560
  end
4018
5561
 
4019
5562
  def deserialize(params)
4020
- @ReturnMsg = params['ReturnMsg']
4021
- @ReturnCode = params['ReturnCode']
4022
5563
  @RequestId = params['RequestId']
4023
5564
  end
4024
5565
  end
@@ -4115,6 +5656,50 @@ module TencentCloud
4115
5656
  end
4116
5657
  end
4117
5658
 
5659
+ # ModifyEdgeIpSwitch请求参数结构体
5660
+ class ModifyEdgeIpSwitchRequest < TencentCloud::Common::AbstractModel
5661
+ # @param Enable: 0 关闭开关
5662
+ # 1 打开开关
5663
+ # @type Enable: Integer
5664
+ # @param EdgeIpSwitchLst: 操作开关详情
5665
+ # @type EdgeIpSwitchLst: Array
5666
+
5667
+ attr_accessor :Enable, :EdgeIpSwitchLst
5668
+
5669
+ def initialize(enable=nil, edgeipswitchlst=nil)
5670
+ @Enable = enable
5671
+ @EdgeIpSwitchLst = edgeipswitchlst
5672
+ end
5673
+
5674
+ def deserialize(params)
5675
+ @Enable = params['Enable']
5676
+ unless params['EdgeIpSwitchLst'].nil?
5677
+ @EdgeIpSwitchLst = []
5678
+ params['EdgeIpSwitchLst'].each do |i|
5679
+ edgeipswitch_tmp = EdgeIpSwitch.new
5680
+ edgeipswitch_tmp.deserialize(i)
5681
+ @EdgeIpSwitchLst << edgeipswitch_tmp
5682
+ end
5683
+ end
5684
+ end
5685
+ end
5686
+
5687
+ # ModifyEdgeIpSwitch返回参数结构体
5688
+ class ModifyEdgeIpSwitchResponse < TencentCloud::Common::AbstractModel
5689
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5690
+ # @type RequestId: String
5691
+
5692
+ attr_accessor :RequestId
5693
+
5694
+ def initialize(requestid=nil)
5695
+ @RequestId = requestid
5696
+ end
5697
+
5698
+ def deserialize(params)
5699
+ @RequestId = params['RequestId']
5700
+ end
5701
+ end
5702
+
4118
5703
  # ModifyEnterpriseSecurityDispatchStatus请求参数结构体
4119
5704
  class ModifyEnterpriseSecurityDispatchStatusRequest < TencentCloud::Common::AbstractModel
4120
5705
  # @param Status: 0:打开立即下发开关;
@@ -4211,6 +5796,55 @@ module TencentCloud
4211
5796
  end
4212
5797
  end
4213
5798
 
5799
+ # ModifyFwGroupSwitch请求参数结构体
5800
+ class ModifyFwGroupSwitchRequest < TencentCloud::Common::AbstractModel
5801
+ # @param Enable: 打开或关闭开关
5802
+ # 0:关闭开关
5803
+ # 1:打开开关
5804
+ # @type Enable: Integer
5805
+ # @param AllSwitch: 是否操作全部开关 0 不操作全部开关,1 操作全部开关
5806
+ # @type AllSwitch: Integer
5807
+ # @param SwitchList: 开关列表
5808
+ # @type SwitchList: Array
5809
+
5810
+ attr_accessor :Enable, :AllSwitch, :SwitchList
5811
+
5812
+ def initialize(enable=nil, allswitch=nil, switchlist=nil)
5813
+ @Enable = enable
5814
+ @AllSwitch = allswitch
5815
+ @SwitchList = switchlist
5816
+ end
5817
+
5818
+ def deserialize(params)
5819
+ @Enable = params['Enable']
5820
+ @AllSwitch = params['AllSwitch']
5821
+ unless params['SwitchList'].nil?
5822
+ @SwitchList = []
5823
+ params['SwitchList'].each do |i|
5824
+ fwgroupswitch_tmp = FwGroupSwitch.new
5825
+ fwgroupswitch_tmp.deserialize(i)
5826
+ @SwitchList << fwgroupswitch_tmp
5827
+ end
5828
+ end
5829
+ end
5830
+ end
5831
+
5832
+ # ModifyFwGroupSwitch返回参数结构体
5833
+ class ModifyFwGroupSwitchResponse < TencentCloud::Common::AbstractModel
5834
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5835
+ # @type RequestId: String
5836
+
5837
+ attr_accessor :RequestId
5838
+
5839
+ def initialize(requestid=nil)
5840
+ @RequestId = requestid
5841
+ end
5842
+
5843
+ def deserialize(params)
5844
+ @RequestId = params['RequestId']
5845
+ end
5846
+ end
5847
+
4214
5848
  # ModifyNatAcRule请求参数结构体
4215
5849
  class ModifyNatAcRuleRequest < TencentCloud::Common::AbstractModel
4216
5850
  # @param Rules: 需要编辑的规则数组
@@ -4397,6 +6031,51 @@ module TencentCloud
4397
6031
  end
4398
6032
  end
4399
6033
 
6034
+ # ModifyNatInstance请求参数结构体
6035
+ class ModifyNatInstanceRequest < TencentCloud::Common::AbstractModel
6036
+ # @param InstanceName: NAT防火墙实例名称
6037
+ # @type InstanceName: String
6038
+ # @param NatInstanceId: NAT防火墙实例ID
6039
+ # @type NatInstanceId: String
6040
+
6041
+ attr_accessor :InstanceName, :NatInstanceId
6042
+
6043
+ def initialize(instancename=nil, natinstanceid=nil)
6044
+ @InstanceName = instancename
6045
+ @NatInstanceId = natinstanceid
6046
+ end
6047
+
6048
+ def deserialize(params)
6049
+ @InstanceName = params['InstanceName']
6050
+ @NatInstanceId = params['NatInstanceId']
6051
+ end
6052
+ end
6053
+
6054
+ # ModifyNatInstance返回参数结构体
6055
+ class ModifyNatInstanceResponse < TencentCloud::Common::AbstractModel
6056
+ # @param Status: 0 正常
6057
+ # -1 异常
6058
+ # @type Status: Integer
6059
+ # @param NatInstanceId: nat实例唯一ID
6060
+ # @type NatInstanceId: String
6061
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6062
+ # @type RequestId: String
6063
+
6064
+ attr_accessor :Status, :NatInstanceId, :RequestId
6065
+
6066
+ def initialize(status=nil, natinstanceid=nil, requestid=nil)
6067
+ @Status = status
6068
+ @NatInstanceId = natinstanceid
6069
+ @RequestId = requestid
6070
+ end
6071
+
6072
+ def deserialize(params)
6073
+ @Status = params['Status']
6074
+ @NatInstanceId = params['NatInstanceId']
6075
+ @RequestId = params['RequestId']
6076
+ end
6077
+ end
6078
+
4400
6079
  # ModifyNatSequenceRules请求参数结构体
4401
6080
  class ModifyNatSequenceRulesRequest < TencentCloud::Common::AbstractModel
4402
6081
  # @param RuleChangeItems: 规则快速排序:OrderIndex,原始序号;NewOrderIndex:新序号
@@ -4711,6 +6390,49 @@ module TencentCloud
4711
6390
  end
4712
6391
  end
4713
6392
 
6393
+ # ModifySequenceAclRules请求参数结构体
6394
+ class ModifySequenceAclRulesRequest < TencentCloud::Common::AbstractModel
6395
+ # @param RuleChangeItems: 规则快速排序:OrderIndex,原始序号;NewOrderIndex:新序号
6396
+ # @type RuleChangeItems: Array
6397
+ # @param Direction: 规则方向:1,入站;0,出站
6398
+ # @type Direction: Integer
6399
+
6400
+ attr_accessor :RuleChangeItems, :Direction
6401
+
6402
+ def initialize(rulechangeitems=nil, direction=nil)
6403
+ @RuleChangeItems = rulechangeitems
6404
+ @Direction = direction
6405
+ end
6406
+
6407
+ def deserialize(params)
6408
+ unless params['RuleChangeItems'].nil?
6409
+ @RuleChangeItems = []
6410
+ params['RuleChangeItems'].each do |i|
6411
+ rulechangeitem_tmp = RuleChangeItem.new
6412
+ rulechangeitem_tmp.deserialize(i)
6413
+ @RuleChangeItems << rulechangeitem_tmp
6414
+ end
6415
+ end
6416
+ @Direction = params['Direction']
6417
+ end
6418
+ end
6419
+
6420
+ # ModifySequenceAclRules返回参数结构体
6421
+ class ModifySequenceAclRulesResponse < TencentCloud::Common::AbstractModel
6422
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6423
+ # @type RequestId: String
6424
+
6425
+ attr_accessor :RequestId
6426
+
6427
+ def initialize(requestid=nil)
6428
+ @RequestId = requestid
6429
+ end
6430
+
6431
+ def deserialize(params)
6432
+ @RequestId = params['RequestId']
6433
+ end
6434
+ end
6435
+
4714
6436
  # ModifySequenceRules请求参数结构体
4715
6437
  class ModifySequenceRulesRequest < TencentCloud::Common::AbstractModel
4716
6438
  # @param EdgeId: 边Id值
@@ -4746,40 +6468,186 @@ module TencentCloud
4746
6468
  end
4747
6469
  end
4748
6470
 
4749
- # ModifySequenceRules返回参数结构体
4750
- class ModifySequenceRulesResponse < TencentCloud::Common::AbstractModel
4751
- # @param Status: 0: 修改成功, 非0: 修改失败
4752
- # 注意:此字段可能返回 null,表示取不到有效值。
4753
- # @type Status: Integer
6471
+ # ModifySequenceRules返回参数结构体
6472
+ class ModifySequenceRulesResponse < TencentCloud::Common::AbstractModel
6473
+ # @param Status: 0: 修改成功, 非0: 修改失败
6474
+ # 注意:此字段可能返回 null,表示取不到有效值。
6475
+ # @type Status: Integer
6476
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6477
+ # @type RequestId: String
6478
+
6479
+ attr_accessor :Status, :RequestId
6480
+
6481
+ def initialize(status=nil, requestid=nil)
6482
+ @Status = status
6483
+ @RequestId = requestid
6484
+ end
6485
+
6486
+ def deserialize(params)
6487
+ @Status = params['Status']
6488
+ @RequestId = params['RequestId']
6489
+ end
6490
+ end
6491
+
6492
+ # ModifyStorageSetting请求参数结构体
6493
+ class ModifyStorageSettingRequest < TencentCloud::Common::AbstractModel
6494
+
6495
+
6496
+ def initialize()
6497
+ end
6498
+
6499
+ def deserialize(params)
6500
+ end
6501
+ end
6502
+
6503
+ # ModifyStorageSetting返回参数结构体
6504
+ class ModifyStorageSettingResponse < TencentCloud::Common::AbstractModel
6505
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6506
+ # @type RequestId: String
6507
+
6508
+ attr_accessor :RequestId
6509
+
6510
+ def initialize(requestid=nil)
6511
+ @RequestId = requestid
6512
+ end
6513
+
6514
+ def deserialize(params)
6515
+ @RequestId = params['RequestId']
6516
+ end
6517
+ end
6518
+
6519
+ # ModifyTableStatus请求参数结构体
6520
+ class ModifyTableStatusRequest < TencentCloud::Common::AbstractModel
6521
+ # @param EdgeId: EdgeId值两个vpc间的边id
6522
+ # @type EdgeId: String
6523
+ # @param Status: 状态值,1:锁表,2:解锁表
6524
+ # @type Status: Integer
6525
+ # @param Area: Nat所在地域
6526
+ # @type Area: String
6527
+ # @param Direction: 0: 出向,1:入向
6528
+ # @type Direction: Integer
6529
+
6530
+ attr_accessor :EdgeId, :Status, :Area, :Direction
6531
+
6532
+ def initialize(edgeid=nil, status=nil, area=nil, direction=nil)
6533
+ @EdgeId = edgeid
6534
+ @Status = status
6535
+ @Area = area
6536
+ @Direction = direction
6537
+ end
6538
+
6539
+ def deserialize(params)
6540
+ @EdgeId = params['EdgeId']
6541
+ @Status = params['Status']
6542
+ @Area = params['Area']
6543
+ @Direction = params['Direction']
6544
+ end
6545
+ end
6546
+
6547
+ # ModifyTableStatus返回参数结构体
6548
+ class ModifyTableStatusResponse < TencentCloud::Common::AbstractModel
6549
+ # @param Status: 0:正常,-1:不正常
6550
+ # 注意:此字段可能返回 null,表示取不到有效值。
6551
+ # @type Status: Integer
6552
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6553
+ # @type RequestId: String
6554
+
6555
+ attr_accessor :Status, :RequestId
6556
+
6557
+ def initialize(status=nil, requestid=nil)
6558
+ @Status = status
6559
+ @RequestId = requestid
6560
+ end
6561
+
6562
+ def deserialize(params)
6563
+ @Status = params['Status']
6564
+ @RequestId = params['RequestId']
6565
+ end
6566
+ end
6567
+
6568
+ # ModifyVpcAcRule请求参数结构体
6569
+ class ModifyVpcAcRuleRequest < TencentCloud::Common::AbstractModel
6570
+ # @param Rules: 需要编辑的规则数组
6571
+ # @type Rules: Array
6572
+
6573
+ attr_accessor :Rules
6574
+
6575
+ def initialize(rules=nil)
6576
+ @Rules = rules
6577
+ end
6578
+
6579
+ def deserialize(params)
6580
+ unless params['Rules'].nil?
6581
+ @Rules = []
6582
+ params['Rules'].each do |i|
6583
+ vpcruleitem_tmp = VpcRuleItem.new
6584
+ vpcruleitem_tmp.deserialize(i)
6585
+ @Rules << vpcruleitem_tmp
6586
+ end
6587
+ end
6588
+ end
6589
+ end
6590
+
6591
+ # ModifyVpcAcRule返回参数结构体
6592
+ class ModifyVpcAcRuleResponse < TencentCloud::Common::AbstractModel
6593
+ # @param RuleUuids: 编辑成功后返回新策略ID列表
6594
+ # @type RuleUuids: Array
4754
6595
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4755
6596
  # @type RequestId: String
4756
6597
 
4757
- attr_accessor :Status, :RequestId
6598
+ attr_accessor :RuleUuids, :RequestId
4758
6599
 
4759
- def initialize(status=nil, requestid=nil)
4760
- @Status = status
6600
+ def initialize(ruleuuids=nil, requestid=nil)
6601
+ @RuleUuids = ruleuuids
4761
6602
  @RequestId = requestid
4762
6603
  end
4763
6604
 
4764
6605
  def deserialize(params)
4765
- @Status = params['Status']
6606
+ @RuleUuids = params['RuleUuids']
4766
6607
  @RequestId = params['RequestId']
4767
6608
  end
4768
6609
  end
4769
6610
 
4770
- # ModifyStorageSetting请求参数结构体
4771
- class ModifyStorageSettingRequest < TencentCloud::Common::AbstractModel
6611
+ # ModifyVpcFwGroup请求参数结构体
6612
+ class ModifyVpcFwGroupRequest < TencentCloud::Common::AbstractModel
6613
+ # @param FwGroupId: 编辑的防火墙(组)ID
6614
+ # @type FwGroupId: String
6615
+ # @param Name: 修改防火墙(组)名称
6616
+ # @type Name: String
6617
+ # @param VpcFwInstances: 编辑的防火墙实例列表
6618
+ # @type VpcFwInstances: Array
6619
+ # @param FwCidrInfo: 指定防火墙使用网段信息
6620
+ # @type FwCidrInfo: :class:`Tencentcloud::Cfw.v20190904.models.FwCidrInfo`
4772
6621
 
6622
+ attr_accessor :FwGroupId, :Name, :VpcFwInstances, :FwCidrInfo
4773
6623
 
4774
- def initialize()
6624
+ def initialize(fwgroupid=nil, name=nil, vpcfwinstances=nil, fwcidrinfo=nil)
6625
+ @FwGroupId = fwgroupid
6626
+ @Name = name
6627
+ @VpcFwInstances = vpcfwinstances
6628
+ @FwCidrInfo = fwcidrinfo
4775
6629
  end
4776
6630
 
4777
6631
  def deserialize(params)
6632
+ @FwGroupId = params['FwGroupId']
6633
+ @Name = params['Name']
6634
+ unless params['VpcFwInstances'].nil?
6635
+ @VpcFwInstances = []
6636
+ params['VpcFwInstances'].each do |i|
6637
+ vpcfwinstance_tmp = VpcFwInstance.new
6638
+ vpcfwinstance_tmp.deserialize(i)
6639
+ @VpcFwInstances << vpcfwinstance_tmp
6640
+ end
6641
+ end
6642
+ unless params['FwCidrInfo'].nil?
6643
+ @FwCidrInfo = FwCidrInfo.new
6644
+ @FwCidrInfo.deserialize(params['FwCidrInfo'])
6645
+ end
4778
6646
  end
4779
6647
  end
4780
6648
 
4781
- # ModifyStorageSetting返回参数结构体
4782
- class ModifyStorageSettingResponse < TencentCloud::Common::AbstractModel
6649
+ # ModifyVpcFwGroup返回参数结构体
6650
+ class ModifyVpcFwGroupResponse < TencentCloud::Common::AbstractModel
4783
6651
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4784
6652
  # @type RequestId: String
4785
6653
 
@@ -4794,51 +6662,41 @@ module TencentCloud
4794
6662
  end
4795
6663
  end
4796
6664
 
4797
- # ModifyTableStatus请求参数结构体
4798
- class ModifyTableStatusRequest < TencentCloud::Common::AbstractModel
4799
- # @param EdgeId: EdgeId值两个vpc间的边id
4800
- # @type EdgeId: String
4801
- # @param Status: 状态值,1:锁表,2:解锁表
4802
- # @type Status: Integer
4803
- # @param Area: Nat所在地域
4804
- # @type Area: String
4805
- # @param Direction: 0: 出向,1:入向
4806
- # @type Direction: Integer
6665
+ # ModifyVpcFwSequenceRules请求参数结构体
6666
+ class ModifyVpcFwSequenceRulesRequest < TencentCloud::Common::AbstractModel
6667
+ # @param RuleChangeItems: 规则快速排序:OrderIndex,原始序号;NewOrderIndex:新序号
6668
+ # @type RuleChangeItems: Array
4807
6669
 
4808
- attr_accessor :EdgeId, :Status, :Area, :Direction
6670
+ attr_accessor :RuleChangeItems
4809
6671
 
4810
- def initialize(edgeid=nil, status=nil, area=nil, direction=nil)
4811
- @EdgeId = edgeid
4812
- @Status = status
4813
- @Area = area
4814
- @Direction = direction
6672
+ def initialize(rulechangeitems=nil)
6673
+ @RuleChangeItems = rulechangeitems
4815
6674
  end
4816
6675
 
4817
6676
  def deserialize(params)
4818
- @EdgeId = params['EdgeId']
4819
- @Status = params['Status']
4820
- @Area = params['Area']
4821
- @Direction = params['Direction']
6677
+ unless params['RuleChangeItems'].nil?
6678
+ @RuleChangeItems = []
6679
+ params['RuleChangeItems'].each do |i|
6680
+ rulechangeitem_tmp = RuleChangeItem.new
6681
+ rulechangeitem_tmp.deserialize(i)
6682
+ @RuleChangeItems << rulechangeitem_tmp
6683
+ end
6684
+ end
4822
6685
  end
4823
6686
  end
4824
6687
 
4825
- # ModifyTableStatus返回参数结构体
4826
- class ModifyTableStatusResponse < TencentCloud::Common::AbstractModel
4827
- # @param Status: 0:正常,-1:不正常
4828
- # 注意:此字段可能返回 null,表示取不到有效值。
4829
- # @type Status: Integer
6688
+ # ModifyVpcFwSequenceRules返回参数结构体
6689
+ class ModifyVpcFwSequenceRulesResponse < TencentCloud::Common::AbstractModel
4830
6690
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4831
6691
  # @type RequestId: String
4832
6692
 
4833
- attr_accessor :Status, :RequestId
6693
+ attr_accessor :RequestId
4834
6694
 
4835
- def initialize(status=nil, requestid=nil)
4836
- @Status = status
6695
+ def initialize(requestid=nil)
4837
6696
  @RequestId = requestid
4838
6697
  end
4839
6698
 
4840
6699
  def deserialize(params)
4841
- @Status = params['Status']
4842
6700
  @RequestId = params['RequestId']
4843
6701
  end
4844
6702
  end
@@ -5028,6 +6886,131 @@ module TencentCloud
5028
6886
  end
5029
6887
  end
5030
6888
 
6889
+ # NAT防火墙开关列表数据
6890
+ class NatSwitchListData < TencentCloud::Common::AbstractModel
6891
+ # @param Id: 列表ID
6892
+ # @type Id: Integer
6893
+ # @param SubnetId: 子网ID
6894
+ # 注意:此字段可能返回 null,表示取不到有效值。
6895
+ # @type SubnetId: String
6896
+ # @param SubnetName: 子网名称
6897
+ # 注意:此字段可能返回 null,表示取不到有效值。
6898
+ # @type SubnetName: String
6899
+ # @param SubnetCidr: IPv4 CIDR
6900
+ # 注意:此字段可能返回 null,表示取不到有效值。
6901
+ # @type SubnetCidr: String
6902
+ # @param RouteId: 关联路由ID
6903
+ # 注意:此字段可能返回 null,表示取不到有效值。
6904
+ # @type RouteId: String
6905
+ # @param RouteName: 关联路由名称
6906
+ # 注意:此字段可能返回 null,表示取不到有效值。
6907
+ # @type RouteName: String
6908
+ # @param CvmNum: 云服务器个数
6909
+ # 注意:此字段可能返回 null,表示取不到有效值。
6910
+ # @type CvmNum: Integer
6911
+ # @param VpcId: 所属VPC ID
6912
+ # 注意:此字段可能返回 null,表示取不到有效值。
6913
+ # @type VpcId: String
6914
+ # @param VpcName: 所属VPC名称
6915
+ # 注意:此字段可能返回 null,表示取不到有效值。
6916
+ # @type VpcName: String
6917
+ # @param Enable: 是否生效
6918
+ # 注意:此字段可能返回 null,表示取不到有效值。
6919
+ # @type Enable: Integer
6920
+ # @param Status: 开关状态
6921
+ # 注意:此字段可能返回 null,表示取不到有效值。
6922
+ # @type Status: Integer
6923
+ # @param NatId: NAT网关ID
6924
+ # 注意:此字段可能返回 null,表示取不到有效值。
6925
+ # @type NatId: String
6926
+ # @param NatName: NAT网关名称
6927
+ # 注意:此字段可能返回 null,表示取不到有效值。
6928
+ # @type NatName: String
6929
+ # @param NatInsId: NAT防火墙实例ID
6930
+ # 注意:此字段可能返回 null,表示取不到有效值。
6931
+ # @type NatInsId: String
6932
+ # @param NatInsName: NAT防火墙实例名称
6933
+ # 注意:此字段可能返回 null,表示取不到有效值。
6934
+ # @type NatInsName: String
6935
+ # @param Region: 地域
6936
+ # 注意:此字段可能返回 null,表示取不到有效值。
6937
+ # @type Region: String
6938
+ # @param Abnormal: 开关是否异常,0:正常,1:异常
6939
+ # 注意:此字段可能返回 null,表示取不到有效值。
6940
+ # @type Abnormal: Integer
6941
+
6942
+ attr_accessor :Id, :SubnetId, :SubnetName, :SubnetCidr, :RouteId, :RouteName, :CvmNum, :VpcId, :VpcName, :Enable, :Status, :NatId, :NatName, :NatInsId, :NatInsName, :Region, :Abnormal
6943
+
6944
+ def initialize(id=nil, subnetid=nil, subnetname=nil, subnetcidr=nil, routeid=nil, routename=nil, cvmnum=nil, vpcid=nil, vpcname=nil, enable=nil, status=nil, natid=nil, natname=nil, natinsid=nil, natinsname=nil, region=nil, abnormal=nil)
6945
+ @Id = id
6946
+ @SubnetId = subnetid
6947
+ @SubnetName = subnetname
6948
+ @SubnetCidr = subnetcidr
6949
+ @RouteId = routeid
6950
+ @RouteName = routename
6951
+ @CvmNum = cvmnum
6952
+ @VpcId = vpcid
6953
+ @VpcName = vpcname
6954
+ @Enable = enable
6955
+ @Status = status
6956
+ @NatId = natid
6957
+ @NatName = natname
6958
+ @NatInsId = natinsid
6959
+ @NatInsName = natinsname
6960
+ @Region = region
6961
+ @Abnormal = abnormal
6962
+ end
6963
+
6964
+ def deserialize(params)
6965
+ @Id = params['Id']
6966
+ @SubnetId = params['SubnetId']
6967
+ @SubnetName = params['SubnetName']
6968
+ @SubnetCidr = params['SubnetCidr']
6969
+ @RouteId = params['RouteId']
6970
+ @RouteName = params['RouteName']
6971
+ @CvmNum = params['CvmNum']
6972
+ @VpcId = params['VpcId']
6973
+ @VpcName = params['VpcName']
6974
+ @Enable = params['Enable']
6975
+ @Status = params['Status']
6976
+ @NatId = params['NatId']
6977
+ @NatName = params['NatName']
6978
+ @NatInsId = params['NatInsId']
6979
+ @NatInsName = params['NatInsName']
6980
+ @Region = params['Region']
6981
+ @Abnormal = params['Abnormal']
6982
+ end
6983
+ end
6984
+
6985
+ # 网络实例信息
6986
+ class NetInstancesInfo < TencentCloud::Common::AbstractModel
6987
+ # @param InstanceId: 网络实例ID
6988
+ # 注意:此字段可能返回 null,表示取不到有效值。
6989
+ # @type InstanceId: String
6990
+ # @param InstanceName: 网络实例名称
6991
+ # @type InstanceName: String
6992
+ # @param InstanceCidr: 网络cidr (多段以逗号分隔)
6993
+ # @type InstanceCidr: String
6994
+ # @param Region: 网络实例所在地域
6995
+ # @type Region: String
6996
+
6997
+ attr_accessor :InstanceId, :InstanceName, :InstanceCidr, :Region
6998
+
6999
+ def initialize(instanceid=nil, instancename=nil, instancecidr=nil, region=nil)
7000
+ @InstanceId = instanceid
7001
+ @InstanceName = instancename
7002
+ @InstanceCidr = instancecidr
7003
+ @Region = region
7004
+ end
7005
+
7006
+ def deserialize(params)
7007
+ @InstanceId = params['InstanceId']
7008
+ @InstanceName = params['InstanceName']
7009
+ @InstanceCidr = params['InstanceCidr']
7010
+ @Region = params['Region']
7011
+ end
7012
+ end
7013
+
5031
7014
  # 新增模式传递参数
5032
7015
  class NewModeItems < TencentCloud::Common::AbstractModel
5033
7016
  # @param VpcList: 新增模式下接入的vpc列表
@@ -5098,6 +7081,46 @@ module TencentCloud
5098
7081
  end
5099
7082
  end
5100
7083
 
7084
+ # RemoveAclRule请求参数结构体
7085
+ class RemoveAclRuleRequest < TencentCloud::Common::AbstractModel
7086
+ # @param RuleUuid: 规则的uuid列表,可通过查询规则列表获取,注意:如果传入的是[-1]将删除所有规则
7087
+ # @type RuleUuid: Array
7088
+ # @param Direction: 规则方向:1,入站;0,出站
7089
+ # @type Direction: Integer
7090
+
7091
+ attr_accessor :RuleUuid, :Direction
7092
+
7093
+ def initialize(ruleuuid=nil, direction=nil)
7094
+ @RuleUuid = ruleuuid
7095
+ @Direction = direction
7096
+ end
7097
+
7098
+ def deserialize(params)
7099
+ @RuleUuid = params['RuleUuid']
7100
+ @Direction = params['Direction']
7101
+ end
7102
+ end
7103
+
7104
+ # RemoveAclRule返回参数结构体
7105
+ class RemoveAclRuleResponse < TencentCloud::Common::AbstractModel
7106
+ # @param RuleUuid: 删除成功后返回被删除策略的uuid列表
7107
+ # @type RuleUuid: Array
7108
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7109
+ # @type RequestId: String
7110
+
7111
+ attr_accessor :RuleUuid, :RequestId
7112
+
7113
+ def initialize(ruleuuid=nil, requestid=nil)
7114
+ @RuleUuid = ruleuuid
7115
+ @RequestId = requestid
7116
+ end
7117
+
7118
+ def deserialize(params)
7119
+ @RuleUuid = params['RuleUuid']
7120
+ @RequestId = params['RequestId']
7121
+ end
7122
+ end
7123
+
5101
7124
  # RemoveEnterpriseSecurityGroupRule请求参数结构体
5102
7125
  class RemoveEnterpriseSecurityGroupRuleRequest < TencentCloud::Common::AbstractModel
5103
7126
  # @param RuleUuid: 规则的uuid,可通过查询规则列表获取
@@ -5183,6 +7206,42 @@ module TencentCloud
5183
7206
  end
5184
7207
  end
5185
7208
 
7209
+ # RemoveVpcAcRule请求参数结构体
7210
+ class RemoveVpcAcRuleRequest < TencentCloud::Common::AbstractModel
7211
+ # @param RuleUuids: 规则的uuid列表,可通过查询规则列表获取,注意:如果传入的是[-1]将删除所有规则
7212
+ # @type RuleUuids: Array
7213
+
7214
+ attr_accessor :RuleUuids
7215
+
7216
+ def initialize(ruleuuids=nil)
7217
+ @RuleUuids = ruleuuids
7218
+ end
7219
+
7220
+ def deserialize(params)
7221
+ @RuleUuids = params['RuleUuids']
7222
+ end
7223
+ end
7224
+
7225
+ # RemoveVpcAcRule返回参数结构体
7226
+ class RemoveVpcAcRuleResponse < TencentCloud::Common::AbstractModel
7227
+ # @param RuleUuids: 删除成功后返回被删除策略的uuid列表
7228
+ # @type RuleUuids: Array
7229
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7230
+ # @type RequestId: String
7231
+
7232
+ attr_accessor :RuleUuids, :RequestId
7233
+
7234
+ def initialize(ruleuuids=nil, requestid=nil)
7235
+ @RuleUuids = ruleuuids
7236
+ @RequestId = requestid
7237
+ end
7238
+
7239
+ def deserialize(params)
7240
+ @RuleUuids = params['RuleUuids']
7241
+ @RequestId = params['RequestId']
7242
+ end
7243
+ end
7244
+
5186
7245
  # 规则顺序变更项,由原始id值变为新的id值。
5187
7246
  class RuleChangeItem < TencentCloud::Common::AbstractModel
5188
7247
  # @param OrderIndex: 原始sequence 值
@@ -6058,6 +8117,42 @@ module TencentCloud
6058
8117
  end
6059
8118
  end
6060
8119
 
8120
+ # SyncFwOperate请求参数结构体
8121
+ class SyncFwOperateRequest < TencentCloud::Common::AbstractModel
8122
+ # @param SyncType: 同步操作类型:Route,同步防火墙路由
8123
+ # @type SyncType: String
8124
+ # @param FwType: 防火墙类型;nat,nat防火墙;ew,vpc间防火墙
8125
+ # @type FwType: String
8126
+
8127
+ attr_accessor :SyncType, :FwType
8128
+
8129
+ def initialize(synctype=nil, fwtype=nil)
8130
+ @SyncType = synctype
8131
+ @FwType = fwtype
8132
+ end
8133
+
8134
+ def deserialize(params)
8135
+ @SyncType = params['SyncType']
8136
+ @FwType = params['FwType']
8137
+ end
8138
+ end
8139
+
8140
+ # SyncFwOperate返回参数结构体
8141
+ class SyncFwOperateResponse < TencentCloud::Common::AbstractModel
8142
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8143
+ # @type RequestId: String
8144
+
8145
+ attr_accessor :RequestId
8146
+
8147
+ def initialize(requestid=nil)
8148
+ @RequestId = requestid
8149
+ end
8150
+
8151
+ def deserialize(params)
8152
+ @RequestId = params['RequestId']
8153
+ end
8154
+ end
8155
+
6061
8156
  # 告警中心概览数据
6062
8157
  class TLogInfo < TencentCloud::Common::AbstractModel
6063
8158
  # @param OutNum: 失陷主机
@@ -6073,24 +8168,76 @@ module TencentCloud
6073
8168
  # @param BruteForceNum: 暴力破解
6074
8169
  # @type BruteForceNum: Integer
6075
8170
 
6076
- attr_accessor :OutNum, :HandleNum, :VulNum, :NetworkNum, :BanNum, :BruteForceNum
8171
+ attr_accessor :OutNum, :HandleNum, :VulNum, :NetworkNum, :BanNum, :BruteForceNum
8172
+
8173
+ def initialize(outnum=nil, handlenum=nil, vulnum=nil, networknum=nil, bannum=nil, bruteforcenum=nil)
8174
+ @OutNum = outnum
8175
+ @HandleNum = handlenum
8176
+ @VulNum = vulnum
8177
+ @NetworkNum = networknum
8178
+ @BanNum = bannum
8179
+ @BruteForceNum = bruteforcenum
8180
+ end
8181
+
8182
+ def deserialize(params)
8183
+ @OutNum = params['OutNum']
8184
+ @HandleNum = params['HandleNum']
8185
+ @VulNum = params['VulNum']
8186
+ @NetworkNum = params['NetworkNum']
8187
+ @BanNum = params['BanNum']
8188
+ @BruteForceNum = params['BruteForceNum']
8189
+ end
8190
+ end
8191
+
8192
+ # 地址模版列表数据
8193
+ class TemplateListInfo < TencentCloud::Common::AbstractModel
8194
+ # @param Uuid: 模版ID
8195
+ # 注意:此字段可能返回 null,表示取不到有效值。
8196
+ # @type Uuid: String
8197
+ # @param Name: 模版名称
8198
+ # 注意:此字段可能返回 null,表示取不到有效值。
8199
+ # @type Name: String
8200
+ # @param Detail: 描述
8201
+ # 注意:此字段可能返回 null,表示取不到有效值。
8202
+ # @type Detail: String
8203
+ # @param IpString: IP模版
8204
+ # 注意:此字段可能返回 null,表示取不到有效值。
8205
+ # @type IpString: String
8206
+ # @param InsertTime: 插入时间
8207
+ # 注意:此字段可能返回 null,表示取不到有效值。
8208
+ # @type InsertTime: String
8209
+ # @param UpdateTime: 修改时间
8210
+ # 注意:此字段可能返回 null,表示取不到有效值。
8211
+ # @type UpdateTime: String
8212
+ # @param Type: 模版类型
8213
+ # 注意:此字段可能返回 null,表示取不到有效值。
8214
+ # @type Type: Integer
8215
+ # @param RulesNum: 关联规则条数
8216
+ # 注意:此字段可能返回 null,表示取不到有效值。
8217
+ # @type RulesNum: Integer
8218
+
8219
+ attr_accessor :Uuid, :Name, :Detail, :IpString, :InsertTime, :UpdateTime, :Type, :RulesNum
6077
8220
 
6078
- def initialize(outnum=nil, handlenum=nil, vulnum=nil, networknum=nil, bannum=nil, bruteforcenum=nil)
6079
- @OutNum = outnum
6080
- @HandleNum = handlenum
6081
- @VulNum = vulnum
6082
- @NetworkNum = networknum
6083
- @BanNum = bannum
6084
- @BruteForceNum = bruteforcenum
8221
+ def initialize(uuid=nil, name=nil, detail=nil, ipstring=nil, inserttime=nil, updatetime=nil, type=nil, rulesnum=nil)
8222
+ @Uuid = uuid
8223
+ @Name = name
8224
+ @Detail = detail
8225
+ @IpString = ipstring
8226
+ @InsertTime = inserttime
8227
+ @UpdateTime = updatetime
8228
+ @Type = type
8229
+ @RulesNum = rulesnum
6085
8230
  end
6086
8231
 
6087
8232
  def deserialize(params)
6088
- @OutNum = params['OutNum']
6089
- @HandleNum = params['HandleNum']
6090
- @VulNum = params['VulNum']
6091
- @NetworkNum = params['NetworkNum']
6092
- @BanNum = params['BanNum']
6093
- @BruteForceNum = params['BruteForceNum']
8233
+ @Uuid = params['Uuid']
8234
+ @Name = params['Name']
8235
+ @Detail = params['Detail']
8236
+ @IpString = params['IpString']
8237
+ @InsertTime = params['InsertTime']
8238
+ @UpdateTime = params['UpdateTime']
8239
+ @Type = params['Type']
8240
+ @RulesNum = params['RulesNum']
6094
8241
  end
6095
8242
  end
6096
8243
 
@@ -6210,6 +8357,479 @@ module TencentCloud
6210
8357
  end
6211
8358
  end
6212
8359
 
8360
+ # VPC防火墙实例的CVM信息
8361
+ class VpcFwCvmInsInfo < TencentCloud::Common::AbstractModel
8362
+ # @param FwInsId: VPC防火墙实例ID
8363
+ # 注意:此字段可能返回 null,表示取不到有效值。
8364
+ # @type FwInsId: String
8365
+ # @param Region: CVM所在地域
8366
+ # 注意:此字段可能返回 null,表示取不到有效值。
8367
+ # @type Region: String
8368
+ # @param RegionZh: CVM所在地域中文
8369
+ # 注意:此字段可能返回 null,表示取不到有效值。
8370
+ # @type RegionZh: String
8371
+ # @param RegionDetail: CVM所在地域详情
8372
+ # 注意:此字段可能返回 null,表示取不到有效值。
8373
+ # @type RegionDetail: String
8374
+ # @param ZoneZh: 主机所在可用区
8375
+ # 注意:此字段可能返回 null,表示取不到有效值。
8376
+ # @type ZoneZh: String
8377
+ # @param ZoneZhBack: 备机所在可用区
8378
+ # 注意:此字段可能返回 null,表示取不到有效值。
8379
+ # @type ZoneZhBack: String
8380
+ # @param BandWidth: 防火墙CVM带宽值
8381
+ # 注意:此字段可能返回 null,表示取不到有效值。
8382
+ # @type BandWidth: Integer
8383
+
8384
+ attr_accessor :FwInsId, :Region, :RegionZh, :RegionDetail, :ZoneZh, :ZoneZhBack, :BandWidth
8385
+
8386
+ def initialize(fwinsid=nil, region=nil, regionzh=nil, regiondetail=nil, zonezh=nil, zonezhback=nil, bandwidth=nil)
8387
+ @FwInsId = fwinsid
8388
+ @Region = region
8389
+ @RegionZh = regionzh
8390
+ @RegionDetail = regiondetail
8391
+ @ZoneZh = zonezh
8392
+ @ZoneZhBack = zonezhback
8393
+ @BandWidth = bandwidth
8394
+ end
8395
+
8396
+ def deserialize(params)
8397
+ @FwInsId = params['FwInsId']
8398
+ @Region = params['Region']
8399
+ @RegionZh = params['RegionZh']
8400
+ @RegionDetail = params['RegionDetail']
8401
+ @ZoneZh = params['ZoneZh']
8402
+ @ZoneZhBack = params['ZoneZhBack']
8403
+ @BandWidth = params['BandWidth']
8404
+ end
8405
+ end
8406
+
8407
+ # VPC防火墙(组)及防火墙实例详情信息
8408
+ class VpcFwGroupInfo < TencentCloud::Common::AbstractModel
8409
+ # @param FwGroupId: 防火墙(组)ID
8410
+ # 注意:此字段可能返回 null,表示取不到有效值。
8411
+ # @type FwGroupId: String
8412
+ # @param FwGroupName: 防火墙(组)名称
8413
+ # 注意:此字段可能返回 null,表示取不到有效值。
8414
+ # @type FwGroupName: String
8415
+ # @param FwSwitchNum: 防火墙组涉及到的开关个数
8416
+ # 注意:此字段可能返回 null,表示取不到有效值。
8417
+ # @type FwSwitchNum: Integer
8418
+ # @param RegionLst: 防火墙(组)部署的地域
8419
+ # 注意:此字段可能返回 null,表示取不到有效值。
8420
+ # @type RegionLst: Array
8421
+ # @param Mode: 模式 1:CCN云联网模式;0:私有网络模式 2: sase 模式 3:ccn 高级模式 4: 私有网络(跨租户单边模式)
8422
+ # 注意:此字段可能返回 null,表示取不到有效值。
8423
+ # @type Mode: Integer
8424
+ # @param SwitchMode: 防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由
8425
+ # 注意:此字段可能返回 null,表示取不到有效值。
8426
+ # @type SwitchMode: Integer
8427
+ # @param FwInstanceLst: VPC防火墙实例卡片信息数组
8428
+ # 注意:此字段可能返回 null,表示取不到有效值。
8429
+ # @type FwInstanceLst: Array
8430
+ # @param Status: 防火墙(状态) 0:正常 1: 初始化或操作中
8431
+ # 注意:此字段可能返回 null,表示取不到有效值。
8432
+ # @type Status: Integer
8433
+ # @param FwVpcCidr: auto :自动选择
8434
+ # 如果为网段,则为用户自定义 192.168.0.0/20
8435
+ # @type FwVpcCidr: String
8436
+ # @param CdcId: cdc专用集群场景时表示部署所属的cdc
8437
+ # 注意:此字段可能返回 null,表示取不到有效值。
8438
+ # @type CdcId: String
8439
+ # @param CdcName: cdc专用集群场景时表示cdc名称
8440
+ # 注意:此字段可能返回 null,表示取不到有效值。
8441
+ # @type CdcName: String
8442
+ # @param CrossUserMode: 跨租户模式 1管理员 2单边 0 非跨租户
8443
+ # 注意:此字段可能返回 null,表示取不到有效值。
8444
+ # @type CrossUserMode: String
8445
+
8446
+ attr_accessor :FwGroupId, :FwGroupName, :FwSwitchNum, :RegionLst, :Mode, :SwitchMode, :FwInstanceLst, :Status, :FwVpcCidr, :CdcId, :CdcName, :CrossUserMode
8447
+
8448
+ def initialize(fwgroupid=nil, fwgroupname=nil, fwswitchnum=nil, regionlst=nil, mode=nil, switchmode=nil, fwinstancelst=nil, status=nil, fwvpccidr=nil, cdcid=nil, cdcname=nil, crossusermode=nil)
8449
+ @FwGroupId = fwgroupid
8450
+ @FwGroupName = fwgroupname
8451
+ @FwSwitchNum = fwswitchnum
8452
+ @RegionLst = regionlst
8453
+ @Mode = mode
8454
+ @SwitchMode = switchmode
8455
+ @FwInstanceLst = fwinstancelst
8456
+ @Status = status
8457
+ @FwVpcCidr = fwvpccidr
8458
+ @CdcId = cdcid
8459
+ @CdcName = cdcname
8460
+ @CrossUserMode = crossusermode
8461
+ end
8462
+
8463
+ def deserialize(params)
8464
+ @FwGroupId = params['FwGroupId']
8465
+ @FwGroupName = params['FwGroupName']
8466
+ @FwSwitchNum = params['FwSwitchNum']
8467
+ @RegionLst = params['RegionLst']
8468
+ @Mode = params['Mode']
8469
+ @SwitchMode = params['SwitchMode']
8470
+ unless params['FwInstanceLst'].nil?
8471
+ @FwInstanceLst = []
8472
+ params['FwInstanceLst'].each do |i|
8473
+ vpcfwinstanceinfo_tmp = VpcFwInstanceInfo.new
8474
+ vpcfwinstanceinfo_tmp.deserialize(i)
8475
+ @FwInstanceLst << vpcfwinstanceinfo_tmp
8476
+ end
8477
+ end
8478
+ @Status = params['Status']
8479
+ @FwVpcCidr = params['FwVpcCidr']
8480
+ @CdcId = params['CdcId']
8481
+ @CdcName = params['CdcName']
8482
+ @CrossUserMode = params['CrossUserMode']
8483
+ end
8484
+ end
8485
+
8486
+ # vpc 防火墙下单防火墙实例结构体
8487
+ class VpcFwInstance < TencentCloud::Common::AbstractModel
8488
+ # @param Name: 防火墙实例名称
8489
+ # @type Name: String
8490
+ # @param VpcIds: 私有网络模式下接入的VpcId列表;仅私有网络模式使用
8491
+ # @type VpcIds: Array
8492
+ # @param FwDeploy: 部署地域信息
8493
+ # @type FwDeploy: :class:`Tencentcloud::Cfw.v20190904.models.FwDeploy`
8494
+ # @param FwInsId: 防火墙实例ID (编辑场景传)
8495
+ # @type FwInsId: String
8496
+
8497
+ attr_accessor :Name, :VpcIds, :FwDeploy, :FwInsId
8498
+
8499
+ def initialize(name=nil, vpcids=nil, fwdeploy=nil, fwinsid=nil)
8500
+ @Name = name
8501
+ @VpcIds = vpcids
8502
+ @FwDeploy = fwdeploy
8503
+ @FwInsId = fwinsid
8504
+ end
8505
+
8506
+ def deserialize(params)
8507
+ @Name = params['Name']
8508
+ @VpcIds = params['VpcIds']
8509
+ unless params['FwDeploy'].nil?
8510
+ @FwDeploy = FwDeploy.new
8511
+ @FwDeploy.deserialize(params['FwDeploy'])
8512
+ end
8513
+ @FwInsId = params['FwInsId']
8514
+ end
8515
+ end
8516
+
8517
+ # VPC防火墙实例卡片信息
8518
+ class VpcFwInstanceInfo < TencentCloud::Common::AbstractModel
8519
+ # @param FwInsName: VPC防火墙实例名称
8520
+ # 注意:此字段可能返回 null,表示取不到有效值。
8521
+ # @type FwInsName: String
8522
+ # @param FwInsId: VPC防火墙实例ID
8523
+ # 注意:此字段可能返回 null,表示取不到有效值。
8524
+ # @type FwInsId: String
8525
+ # @param FwMode: VPC防火墙实例模式 0: 旧VPC模式防火墙 1: CCN模式防火墙
8526
+ # 注意:此字段可能返回 null,表示取不到有效值。
8527
+ # @type FwMode: Integer
8528
+ # @param JoinInsNum: VPC防火墙接入网络实例个数
8529
+ # 注意:此字段可能返回 null,表示取不到有效值。
8530
+ # @type JoinInsNum: Integer
8531
+ # @param FwSwitchNum: VPC防火墙开关个数
8532
+ # 注意:此字段可能返回 null,表示取不到有效值。
8533
+ # @type FwSwitchNum: Integer
8534
+ # @param Status: VPC防火墙状态 0:正常 , 1:创建中 2: 变更中
8535
+ # 注意:此字段可能返回 null,表示取不到有效值。
8536
+ # @type Status: Integer
8537
+ # @param Time: VPC防火墙创建时间
8538
+ # 注意:此字段可能返回 null,表示取不到有效值。
8539
+ # @type Time: String
8540
+ # @param CcnId: VPC 相关云联网ID列表
8541
+ # 注意:此字段可能返回 null,表示取不到有效值。
8542
+ # @type CcnId: Array
8543
+ # @param CcnName: VPC 相关云联网名称列表
8544
+ # 注意:此字段可能返回 null,表示取不到有效值。
8545
+ # @type CcnName: Array
8546
+ # @param PeerConnectionId: VPC 相关对等连接ID列表
8547
+ # 注意:此字段可能返回 null,表示取不到有效值。
8548
+ # @type PeerConnectionId: Array
8549
+ # @param PeerConnectionName: VPC 相关对等连接名称列表
8550
+ # 注意:此字段可能返回 null,表示取不到有效值。
8551
+ # @type PeerConnectionName: Array
8552
+ # @param FwCvmLst: VPC防火墙CVM的列表
8553
+ # 注意:此字段可能返回 null,表示取不到有效值。
8554
+ # @type FwCvmLst: Array
8555
+ # @param JoinInsLst: VPC防火墙接入网络实例类型列表
8556
+ # 注意:此字段可能返回 null,表示取不到有效值。
8557
+ # @type JoinInsLst: Array
8558
+ # @param FwGateway: 防火墙网关信息
8559
+ # 注意:此字段可能返回 null,表示取不到有效值。
8560
+ # @type FwGateway: Array
8561
+ # @param FwGroupId: 防火墙(组)ID
8562
+ # 注意:此字段可能返回 null,表示取不到有效值。
8563
+ # @type FwGroupId: String
8564
+ # @param RuleUsed: 已使用规则数
8565
+ # 注意:此字段可能返回 null,表示取不到有效值。
8566
+ # @type RuleUsed: Integer
8567
+ # @param RuleMax: 最大规则数
8568
+ # 注意:此字段可能返回 null,表示取不到有效值。
8569
+ # @type RuleMax: Integer
8570
+ # @param Width: 防火墙实例带宽
8571
+ # 注意:此字段可能返回 null,表示取不到有效值。
8572
+ # @type Width: Integer
8573
+ # @param UserVpcWidth: 用户VPC墙总带宽
8574
+ # 注意:此字段可能返回 null,表示取不到有效值。
8575
+ # @type UserVpcWidth: Integer
8576
+ # @param JoinInsIdLst: 接入的vpc列表
8577
+ # 注意:此字段可能返回 null,表示取不到有效值。
8578
+ # @type JoinInsIdLst: Array
8579
+ # @param FlowMax: 内网间峰值带宽 (单位 bps )
8580
+ # @type FlowMax: Integer
8581
+ # @param EngineVersion: 实例引擎版本
8582
+ # 注意:此字段可能返回 null,表示取不到有效值。
8583
+ # @type EngineVersion: String
8584
+ # @param UpdateEnable: 引擎是否可升级:0,不可升级;1,可升级
8585
+ # 注意:此字段可能返回 null,表示取不到有效值。
8586
+ # @type UpdateEnable: Integer
8587
+
8588
+ attr_accessor :FwInsName, :FwInsId, :FwMode, :JoinInsNum, :FwSwitchNum, :Status, :Time, :CcnId, :CcnName, :PeerConnectionId, :PeerConnectionName, :FwCvmLst, :JoinInsLst, :FwGateway, :FwGroupId, :RuleUsed, :RuleMax, :Width, :UserVpcWidth, :JoinInsIdLst, :FlowMax, :EngineVersion, :UpdateEnable
8589
+
8590
+ def initialize(fwinsname=nil, fwinsid=nil, fwmode=nil, joininsnum=nil, fwswitchnum=nil, status=nil, time=nil, ccnid=nil, ccnname=nil, peerconnectionid=nil, peerconnectionname=nil, fwcvmlst=nil, joininslst=nil, fwgateway=nil, fwgroupid=nil, ruleused=nil, rulemax=nil, width=nil, uservpcwidth=nil, joininsidlst=nil, flowmax=nil, engineversion=nil, updateenable=nil)
8591
+ @FwInsName = fwinsname
8592
+ @FwInsId = fwinsid
8593
+ @FwMode = fwmode
8594
+ @JoinInsNum = joininsnum
8595
+ @FwSwitchNum = fwswitchnum
8596
+ @Status = status
8597
+ @Time = time
8598
+ @CcnId = ccnid
8599
+ @CcnName = ccnname
8600
+ @PeerConnectionId = peerconnectionid
8601
+ @PeerConnectionName = peerconnectionname
8602
+ @FwCvmLst = fwcvmlst
8603
+ @JoinInsLst = joininslst
8604
+ @FwGateway = fwgateway
8605
+ @FwGroupId = fwgroupid
8606
+ @RuleUsed = ruleused
8607
+ @RuleMax = rulemax
8608
+ @Width = width
8609
+ @UserVpcWidth = uservpcwidth
8610
+ @JoinInsIdLst = joininsidlst
8611
+ @FlowMax = flowmax
8612
+ @EngineVersion = engineversion
8613
+ @UpdateEnable = updateenable
8614
+ end
8615
+
8616
+ def deserialize(params)
8617
+ @FwInsName = params['FwInsName']
8618
+ @FwInsId = params['FwInsId']
8619
+ @FwMode = params['FwMode']
8620
+ @JoinInsNum = params['JoinInsNum']
8621
+ @FwSwitchNum = params['FwSwitchNum']
8622
+ @Status = params['Status']
8623
+ @Time = params['Time']
8624
+ @CcnId = params['CcnId']
8625
+ @CcnName = params['CcnName']
8626
+ @PeerConnectionId = params['PeerConnectionId']
8627
+ @PeerConnectionName = params['PeerConnectionName']
8628
+ unless params['FwCvmLst'].nil?
8629
+ @FwCvmLst = []
8630
+ params['FwCvmLst'].each do |i|
8631
+ vpcfwcvminsinfo_tmp = VpcFwCvmInsInfo.new
8632
+ vpcfwcvminsinfo_tmp.deserialize(i)
8633
+ @FwCvmLst << vpcfwcvminsinfo_tmp
8634
+ end
8635
+ end
8636
+ unless params['JoinInsLst'].nil?
8637
+ @JoinInsLst = []
8638
+ params['JoinInsLst'].each do |i|
8639
+ vpcfwjoininstancetype_tmp = VpcFwJoinInstanceType.new
8640
+ vpcfwjoininstancetype_tmp.deserialize(i)
8641
+ @JoinInsLst << vpcfwjoininstancetype_tmp
8642
+ end
8643
+ end
8644
+ unless params['FwGateway'].nil?
8645
+ @FwGateway = []
8646
+ params['FwGateway'].each do |i|
8647
+ fwgateway_tmp = FwGateway.new
8648
+ fwgateway_tmp.deserialize(i)
8649
+ @FwGateway << fwgateway_tmp
8650
+ end
8651
+ end
8652
+ @FwGroupId = params['FwGroupId']
8653
+ @RuleUsed = params['RuleUsed']
8654
+ @RuleMax = params['RuleMax']
8655
+ @Width = params['Width']
8656
+ @UserVpcWidth = params['UserVpcWidth']
8657
+ @JoinInsIdLst = params['JoinInsIdLst']
8658
+ @FlowMax = params['FlowMax']
8659
+ @EngineVersion = params['EngineVersion']
8660
+ @UpdateEnable = params['UpdateEnable']
8661
+ end
8662
+ end
8663
+
8664
+ # VPC防火墙实例信息
8665
+ class VpcFwInstanceShow < TencentCloud::Common::AbstractModel
8666
+ # @param FwInsId: VPC防火墙实例ID
8667
+ # @type FwInsId: String
8668
+ # @param FwInsName: VPC防火墙实例名称
8669
+ # 注意:此字段可能返回 null,表示取不到有效值。
8670
+ # @type FwInsName: String
8671
+ # @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
8672
+ # 注意:此字段可能返回 null,表示取不到有效值。
8673
+ # @type FwInsRegion: String
8674
+
8675
+ attr_accessor :FwInsId, :FwInsName, :FwInsRegion
8676
+
8677
+ def initialize(fwinsid=nil, fwinsname=nil, fwinsregion=nil)
8678
+ @FwInsId = fwinsid
8679
+ @FwInsName = fwinsname
8680
+ @FwInsRegion = fwinsregion
8681
+ end
8682
+
8683
+ def deserialize(params)
8684
+ @FwInsId = params['FwInsId']
8685
+ @FwInsName = params['FwInsName']
8686
+ @FwInsRegion = params['FwInsRegion']
8687
+ end
8688
+ end
8689
+
8690
+ # VPC防火墙接入的网络实例类型及数量
8691
+ class VpcFwJoinInstanceType < TencentCloud::Common::AbstractModel
8692
+ # @param JoinType: 接入实例类型,VPC、DIRECTCONNECT、 VPNGW 等
8693
+ # 注意:此字段可能返回 null,表示取不到有效值。
8694
+ # @type JoinType: String
8695
+ # @param Num: 接入的对应网络实例类型的数量
8696
+ # 注意:此字段可能返回 null,表示取不到有效值。
8697
+ # @type Num: Integer
8698
+
8699
+ attr_accessor :JoinType, :Num
8700
+
8701
+ def initialize(jointype=nil, num=nil)
8702
+ @JoinType = jointype
8703
+ @Num = num
8704
+ end
8705
+
8706
+ def deserialize(params)
8707
+ @JoinType = params['JoinType']
8708
+ @Num = params['Num']
8709
+ end
8710
+ end
8711
+
8712
+ # VPC内网间规则
8713
+ class VpcRuleItem < TencentCloud::Common::AbstractModel
8714
+ # @param SourceContent: 访问源示例:
8715
+ # net:IP/CIDR(192.168.0.2)
8716
+ # @type SourceContent: String
8717
+ # @param SourceType: 访问源类型,类型可以为:net
8718
+ # @type SourceType: String
8719
+ # @param DestContent: 访问目的示例:
8720
+ # net:IP/CIDR(192.168.0.2)
8721
+ # domain:域名规则,例如*.qq.com
8722
+ # @type DestContent: String
8723
+ # @param DestType: 访问目的类型,类型可以为:net,domain
8724
+ # @type DestType: String
8725
+ # @param Protocol: 协议,可选的值:
8726
+ # TCP
8727
+ # UDP
8728
+ # ICMP
8729
+ # ANY
8730
+ # HTTP
8731
+ # HTTPS
8732
+ # HTTP/HTTPS
8733
+ # SMTP
8734
+ # SMTPS
8735
+ # SMTP/SMTPS
8736
+ # FTP
8737
+ # DNS
8738
+ # TLS/SSL
8739
+ # 注意:此字段可能返回 null,表示取不到有效值。
8740
+ # @type Protocol: String
8741
+ # @param RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值:
8742
+ # accept:放行
8743
+ # drop:拒绝
8744
+ # log:观察
8745
+ # @type RuleAction: String
8746
+ # @param Port: 访问控制策略的端口。取值:
8747
+ # -1/-1:全部端口
8748
+ # 80:80端口
8749
+ # 注意:此字段可能返回 null,表示取不到有效值。
8750
+ # @type Port: String
8751
+ # @param Description: 描述
8752
+ # @type Description: String
8753
+ # @param OrderIndex: 规则顺序,-1表示最低,1表示最高
8754
+ # @type OrderIndex: Integer
8755
+ # @param Uuid: 规则对应的唯一id
8756
+ # @type Uuid: Integer
8757
+ # @param Enable: 规则状态,true表示启用,false表示禁用
8758
+ # @type Enable: String
8759
+ # @param EdgeId: 规则生效的范围,是在哪对vpc之间还是针对所有vpc间生效
8760
+ # @type EdgeId: String
8761
+ # @param DetectedTimes: 规则的命中次数,增删改查规则时无需传入此参数,主要用于返回查询结果数据
8762
+ # @type DetectedTimes: Integer
8763
+ # @param EdgeName: EdgeId对应的这对VPC间防火墙的描述
8764
+ # @type EdgeName: String
8765
+ # @param InternalUuid: 内部使用的uuid,一般情况下不会使用到该字段
8766
+ # @type InternalUuid: Integer
8767
+ # @param Deleted: 规则被删除:1,已删除;0,未删除
8768
+ # @type Deleted: Integer
8769
+ # @param FwGroupId: 规则生效的防火墙实例ID
8770
+ # 注意:此字段可能返回 null,表示取不到有效值。
8771
+ # @type FwGroupId: String
8772
+ # @param FwGroupName: 防火墙名称
8773
+ # 注意:此字段可能返回 null,表示取不到有效值。
8774
+ # @type FwGroupName: String
8775
+ # @param BetaList: beta任务详情
8776
+ # 注意:此字段可能返回 null,表示取不到有效值。
8777
+ # @type BetaList: Array
8778
+
8779
+ attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Uuid, :Enable, :EdgeId, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList
8780
+
8781
+ def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, uuid=nil, enable=nil, edgeid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil)
8782
+ @SourceContent = sourcecontent
8783
+ @SourceType = sourcetype
8784
+ @DestContent = destcontent
8785
+ @DestType = desttype
8786
+ @Protocol = protocol
8787
+ @RuleAction = ruleaction
8788
+ @Port = port
8789
+ @Description = description
8790
+ @OrderIndex = orderindex
8791
+ @Uuid = uuid
8792
+ @Enable = enable
8793
+ @EdgeId = edgeid
8794
+ @DetectedTimes = detectedtimes
8795
+ @EdgeName = edgename
8796
+ @InternalUuid = internaluuid
8797
+ @Deleted = deleted
8798
+ @FwGroupId = fwgroupid
8799
+ @FwGroupName = fwgroupname
8800
+ @BetaList = betalist
8801
+ end
8802
+
8803
+ def deserialize(params)
8804
+ @SourceContent = params['SourceContent']
8805
+ @SourceType = params['SourceType']
8806
+ @DestContent = params['DestContent']
8807
+ @DestType = params['DestType']
8808
+ @Protocol = params['Protocol']
8809
+ @RuleAction = params['RuleAction']
8810
+ @Port = params['Port']
8811
+ @Description = params['Description']
8812
+ @OrderIndex = params['OrderIndex']
8813
+ @Uuid = params['Uuid']
8814
+ @Enable = params['Enable']
8815
+ @EdgeId = params['EdgeId']
8816
+ @DetectedTimes = params['DetectedTimes']
8817
+ @EdgeName = params['EdgeName']
8818
+ @InternalUuid = params['InternalUuid']
8819
+ @Deleted = params['Deleted']
8820
+ @FwGroupId = params['FwGroupId']
8821
+ @FwGroupName = params['FwGroupName']
8822
+ unless params['BetaList'].nil?
8823
+ @BetaList = []
8824
+ params['BetaList'].each do |i|
8825
+ betainfobyacl_tmp = BetaInfoByACL.new
8826
+ betainfobyacl_tmp.deserialize(i)
8827
+ @BetaList << betainfobyacl_tmp
8828
+ end
8829
+ end
8830
+ end
8831
+ end
8832
+
6213
8833
  # vpc区域数据详情
6214
8834
  class VpcZoneData < TencentCloud::Common::AbstractModel
6215
8835
  # @param Zone: 可用区