tencentcloud-sdk-cfw 3.0.653 → 3.0.655
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190904/client.rb +480 -0
- data/lib/v20190904/models.rb +2103 -41
- metadata +3 -3
data/lib/v20190904/models.rb
CHANGED
@@ -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,108 @@ module TencentCloud
|
|
1724
2070
|
end
|
1725
2071
|
end
|
1726
2072
|
|
1727
|
-
#
|
1728
|
-
class
|
1729
|
-
# @param
|
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
|
1734
|
-
# @type
|
1735
|
-
# @param
|
1736
|
-
# @type
|
1737
|
-
# @param
|
1738
|
-
# @type
|
1739
|
-
# @param
|
1740
|
-
# @type
|
1741
|
-
# @param
|
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
|
+
# DescribeAssociatedInstanceList请求参数结构体
|
2161
|
+
class DescribeAssociatedInstanceListRequest < TencentCloud::Common::AbstractModel
|
2162
|
+
# @param Offset: 列表偏移量
|
2163
|
+
# @type Offset: Integer
|
2164
|
+
# @param Limit: 每页记录条数
|
2165
|
+
# @type Limit: Integer
|
2166
|
+
# @param Area: 地域代码(例:ap-guangzhou),支持腾讯云全地域
|
2167
|
+
# @type Area: String
|
2168
|
+
# @param SearchValue: 额外检索条件(JSON字符串)
|
2169
|
+
# @type SearchValue: String
|
2170
|
+
# @param By: 排序字段
|
2171
|
+
# @type By: String
|
2172
|
+
# @param Order: 排序方式(asc:升序,desc:降序)
|
2173
|
+
# @type Order: String
|
2174
|
+
# @param SecurityGroupId: 安全组ID
|
1742
2175
|
# @type SecurityGroupId: String
|
1743
2176
|
# @param Type: 实例类型,'3'是cvm实例,'4'是clb实例,'5'是eni实例,'6'是云数据库
|
1744
2177
|
# @type Type: String
|
@@ -2269,6 +2702,176 @@ module TencentCloud
|
|
2269
2702
|
end
|
2270
2703
|
end
|
2271
2704
|
|
2705
|
+
# DescribeFwEdgeIps请求参数结构体
|
2706
|
+
class DescribeFwEdgeIpsRequest < TencentCloud::Common::AbstractModel
|
2707
|
+
# @param Filters: 过滤条件组合
|
2708
|
+
# @type Filters: Array
|
2709
|
+
# @param Limit: 每页条数
|
2710
|
+
# @type Limit: Integer
|
2711
|
+
# @param Offset: 偏移值
|
2712
|
+
# @type Offset: Integer
|
2713
|
+
# @param StartTime: 检索的起始时间,可不传
|
2714
|
+
# @type StartTime: String
|
2715
|
+
# @param EndTime: 检索的截止时间,可不传
|
2716
|
+
# @type EndTime: String
|
2717
|
+
# @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
2718
|
+
# @type Order: String
|
2719
|
+
# @param By: 排序所用到的字段
|
2720
|
+
# @type By: String
|
2721
|
+
|
2722
|
+
attr_accessor :Filters, :Limit, :Offset, :StartTime, :EndTime, :Order, :By
|
2723
|
+
|
2724
|
+
def initialize(filters=nil, limit=nil, offset=nil, starttime=nil, endtime=nil, order=nil, by=nil)
|
2725
|
+
@Filters = filters
|
2726
|
+
@Limit = limit
|
2727
|
+
@Offset = offset
|
2728
|
+
@StartTime = starttime
|
2729
|
+
@EndTime = endtime
|
2730
|
+
@Order = order
|
2731
|
+
@By = by
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
def deserialize(params)
|
2735
|
+
unless params['Filters'].nil?
|
2736
|
+
@Filters = []
|
2737
|
+
params['Filters'].each do |i|
|
2738
|
+
commonfilter_tmp = CommonFilter.new
|
2739
|
+
commonfilter_tmp.deserialize(i)
|
2740
|
+
@Filters << commonfilter_tmp
|
2741
|
+
end
|
2742
|
+
end
|
2743
|
+
@Limit = params['Limit']
|
2744
|
+
@Offset = params['Offset']
|
2745
|
+
@StartTime = params['StartTime']
|
2746
|
+
@EndTime = params['EndTime']
|
2747
|
+
@Order = params['Order']
|
2748
|
+
@By = params['By']
|
2749
|
+
end
|
2750
|
+
end
|
2751
|
+
|
2752
|
+
# DescribeFwEdgeIps返回参数结构体
|
2753
|
+
class DescribeFwEdgeIpsResponse < TencentCloud::Common::AbstractModel
|
2754
|
+
# @param Data: ip 开关列表
|
2755
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2756
|
+
# @type Data: Array
|
2757
|
+
# @param Total: ip 开关列表个数
|
2758
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2759
|
+
# @type Total: Integer
|
2760
|
+
# @param RegionLst: 地域列表
|
2761
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2762
|
+
# @type RegionLst: Array
|
2763
|
+
# @param InstanceTypeLst: 实例类型列表
|
2764
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2765
|
+
# @type InstanceTypeLst: Array
|
2766
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2767
|
+
# @type RequestId: String
|
2768
|
+
|
2769
|
+
attr_accessor :Data, :Total, :RegionLst, :InstanceTypeLst, :RequestId
|
2770
|
+
|
2771
|
+
def initialize(data=nil, total=nil, regionlst=nil, instancetypelst=nil, requestid=nil)
|
2772
|
+
@Data = data
|
2773
|
+
@Total = total
|
2774
|
+
@RegionLst = regionlst
|
2775
|
+
@InstanceTypeLst = instancetypelst
|
2776
|
+
@RequestId = requestid
|
2777
|
+
end
|
2778
|
+
|
2779
|
+
def deserialize(params)
|
2780
|
+
unless params['Data'].nil?
|
2781
|
+
@Data = []
|
2782
|
+
params['Data'].each do |i|
|
2783
|
+
edgeipinfo_tmp = EdgeIpInfo.new
|
2784
|
+
edgeipinfo_tmp.deserialize(i)
|
2785
|
+
@Data << edgeipinfo_tmp
|
2786
|
+
end
|
2787
|
+
end
|
2788
|
+
@Total = params['Total']
|
2789
|
+
@RegionLst = params['RegionLst']
|
2790
|
+
@InstanceTypeLst = params['InstanceTypeLst']
|
2791
|
+
@RequestId = params['RequestId']
|
2792
|
+
end
|
2793
|
+
end
|
2794
|
+
|
2795
|
+
# DescribeFwGroupInstanceInfo请求参数结构体
|
2796
|
+
class DescribeFwGroupInstanceInfoRequest < TencentCloud::Common::AbstractModel
|
2797
|
+
# @param Limit: 每页条数
|
2798
|
+
# @type Limit: Integer
|
2799
|
+
# @param Offset: 偏移值
|
2800
|
+
# @type Offset: Integer
|
2801
|
+
# @param Filters: 过滤条件组合
|
2802
|
+
# @type Filters: Array
|
2803
|
+
# @param StartTime: 检索的起始时间,可不传
|
2804
|
+
# @type StartTime: String
|
2805
|
+
# @param EndTime: 检索的截止时间,可不传
|
2806
|
+
# @type EndTime: String
|
2807
|
+
# @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
2808
|
+
# @type Order: String
|
2809
|
+
# @param By: 排序所用到的字段
|
2810
|
+
# @type By: String
|
2811
|
+
|
2812
|
+
attr_accessor :Limit, :Offset, :Filters, :StartTime, :EndTime, :Order, :By
|
2813
|
+
|
2814
|
+
def initialize(limit=nil, offset=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
|
2815
|
+
@Limit = limit
|
2816
|
+
@Offset = offset
|
2817
|
+
@Filters = filters
|
2818
|
+
@StartTime = starttime
|
2819
|
+
@EndTime = endtime
|
2820
|
+
@Order = order
|
2821
|
+
@By = by
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
def deserialize(params)
|
2825
|
+
@Limit = params['Limit']
|
2826
|
+
@Offset = params['Offset']
|
2827
|
+
unless params['Filters'].nil?
|
2828
|
+
@Filters = []
|
2829
|
+
params['Filters'].each do |i|
|
2830
|
+
commonfilter_tmp = CommonFilter.new
|
2831
|
+
commonfilter_tmp.deserialize(i)
|
2832
|
+
@Filters << commonfilter_tmp
|
2833
|
+
end
|
2834
|
+
end
|
2835
|
+
@StartTime = params['StartTime']
|
2836
|
+
@EndTime = params['EndTime']
|
2837
|
+
@Order = params['Order']
|
2838
|
+
@By = params['By']
|
2839
|
+
end
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
# DescribeFwGroupInstanceInfo返回参数结构体
|
2843
|
+
class DescribeFwGroupInstanceInfoResponse < TencentCloud::Common::AbstractModel
|
2844
|
+
# @param VpcFwGroupLst: 防火墙(组)
|
2845
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2846
|
+
# @type VpcFwGroupLst: Array
|
2847
|
+
# @param Total: 防火墙(组)个数
|
2848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2849
|
+
# @type Total: Integer
|
2850
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2851
|
+
# @type RequestId: String
|
2852
|
+
|
2853
|
+
attr_accessor :VpcFwGroupLst, :Total, :RequestId
|
2854
|
+
|
2855
|
+
def initialize(vpcfwgrouplst=nil, total=nil, requestid=nil)
|
2856
|
+
@VpcFwGroupLst = vpcfwgrouplst
|
2857
|
+
@Total = total
|
2858
|
+
@RequestId = requestid
|
2859
|
+
end
|
2860
|
+
|
2861
|
+
def deserialize(params)
|
2862
|
+
unless params['VpcFwGroupLst'].nil?
|
2863
|
+
@VpcFwGroupLst = []
|
2864
|
+
params['VpcFwGroupLst'].each do |i|
|
2865
|
+
vpcfwgroupinfo_tmp = VpcFwGroupInfo.new
|
2866
|
+
vpcfwgroupinfo_tmp.deserialize(i)
|
2867
|
+
@VpcFwGroupLst << vpcfwgroupinfo_tmp
|
2868
|
+
end
|
2869
|
+
end
|
2870
|
+
@Total = params['Total']
|
2871
|
+
@RequestId = params['RequestId']
|
2872
|
+
end
|
2873
|
+
end
|
2874
|
+
|
2272
2875
|
# DescribeGuideScanInfo请求参数结构体
|
2273
2876
|
class DescribeGuideScanInfoRequest < TencentCloud::Common::AbstractModel
|
2274
2877
|
|
@@ -3394,19 +3997,181 @@ module TencentCloud
|
|
3394
3997
|
end
|
3395
3998
|
end
|
3396
3999
|
|
3397
|
-
#
|
3398
|
-
class
|
3399
|
-
# @param
|
3400
|
-
# @type
|
3401
|
-
# @param
|
3402
|
-
# @type
|
3403
|
-
|
3404
|
-
|
4000
|
+
# DescribeVpcAcRule请求参数结构体
|
4001
|
+
class DescribeVpcAcRuleRequest < TencentCloud::Common::AbstractModel
|
4002
|
+
# @param Limit: 每页条数
|
4003
|
+
# @type Limit: Integer
|
4004
|
+
# @param Offset: 偏移值
|
4005
|
+
# @type Offset: Integer
|
4006
|
+
# @param Index: 需要查询的索引,特定场景使用,可不填
|
4007
|
+
# @type Index: String
|
4008
|
+
# @param Filters: 过滤条件组合
|
4009
|
+
# @type Filters: Array
|
4010
|
+
# @param StartTime: 检索的起始时间,可不传
|
4011
|
+
# @type StartTime: String
|
4012
|
+
# @param EndTime: 检索的截止时间,可不传
|
4013
|
+
# @type EndTime: String
|
4014
|
+
# @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
4015
|
+
# @type Order: String
|
4016
|
+
# @param By: 排序所用到的字段
|
4017
|
+
# @type By: String
|
3405
4018
|
|
3406
|
-
|
3407
|
-
|
3408
|
-
|
3409
|
-
|
4019
|
+
attr_accessor :Limit, :Offset, :Index, :Filters, :StartTime, :EndTime, :Order, :By
|
4020
|
+
|
4021
|
+
def initialize(limit=nil, offset=nil, index=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
|
4022
|
+
@Limit = limit
|
4023
|
+
@Offset = offset
|
4024
|
+
@Index = index
|
4025
|
+
@Filters = filters
|
4026
|
+
@StartTime = starttime
|
4027
|
+
@EndTime = endtime
|
4028
|
+
@Order = order
|
4029
|
+
@By = by
|
4030
|
+
end
|
4031
|
+
|
4032
|
+
def deserialize(params)
|
4033
|
+
@Limit = params['Limit']
|
4034
|
+
@Offset = params['Offset']
|
4035
|
+
@Index = params['Index']
|
4036
|
+
unless params['Filters'].nil?
|
4037
|
+
@Filters = []
|
4038
|
+
params['Filters'].each do |i|
|
4039
|
+
commonfilter_tmp = CommonFilter.new
|
4040
|
+
commonfilter_tmp.deserialize(i)
|
4041
|
+
@Filters << commonfilter_tmp
|
4042
|
+
end
|
4043
|
+
end
|
4044
|
+
@StartTime = params['StartTime']
|
4045
|
+
@EndTime = params['EndTime']
|
4046
|
+
@Order = params['Order']
|
4047
|
+
@By = params['By']
|
4048
|
+
end
|
4049
|
+
end
|
4050
|
+
|
4051
|
+
# DescribeVpcAcRule返回参数结构体
|
4052
|
+
class DescribeVpcAcRuleResponse < TencentCloud::Common::AbstractModel
|
4053
|
+
# @param Total: 总条数
|
4054
|
+
# @type Total: Integer
|
4055
|
+
# @param Data: 内网间访问控制列表数据
|
4056
|
+
# @type Data: Array
|
4057
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4058
|
+
# @type RequestId: String
|
4059
|
+
|
4060
|
+
attr_accessor :Total, :Data, :RequestId
|
4061
|
+
|
4062
|
+
def initialize(total=nil, data=nil, requestid=nil)
|
4063
|
+
@Total = total
|
4064
|
+
@Data = data
|
4065
|
+
@RequestId = requestid
|
4066
|
+
end
|
4067
|
+
|
4068
|
+
def deserialize(params)
|
4069
|
+
@Total = params['Total']
|
4070
|
+
unless params['Data'].nil?
|
4071
|
+
@Data = []
|
4072
|
+
params['Data'].each do |i|
|
4073
|
+
vpcruleitem_tmp = VpcRuleItem.new
|
4074
|
+
vpcruleitem_tmp.deserialize(i)
|
4075
|
+
@Data << vpcruleitem_tmp
|
4076
|
+
end
|
4077
|
+
end
|
4078
|
+
@RequestId = params['RequestId']
|
4079
|
+
end
|
4080
|
+
end
|
4081
|
+
|
4082
|
+
# DescribeVpcFwGroupSwitch请求参数结构体
|
4083
|
+
class DescribeVpcFwGroupSwitchRequest < TencentCloud::Common::AbstractModel
|
4084
|
+
# @param Limit: 每页条数
|
4085
|
+
# @type Limit: Integer
|
4086
|
+
# @param Offset: 偏移值
|
4087
|
+
# @type Offset: Integer
|
4088
|
+
# @param Filters: 过滤条件组合
|
4089
|
+
# @type Filters: Array
|
4090
|
+
# @param StartTime: 检索的起始时间,可不传
|
4091
|
+
# @type StartTime: String
|
4092
|
+
# @param EndTime: 检索的截止时间,可不传
|
4093
|
+
# @type EndTime: String
|
4094
|
+
# @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
4095
|
+
# @type Order: String
|
4096
|
+
# @param By: 排序所用到的字段
|
4097
|
+
# @type By: String
|
4098
|
+
|
4099
|
+
attr_accessor :Limit, :Offset, :Filters, :StartTime, :EndTime, :Order, :By
|
4100
|
+
|
4101
|
+
def initialize(limit=nil, offset=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
|
4102
|
+
@Limit = limit
|
4103
|
+
@Offset = offset
|
4104
|
+
@Filters = filters
|
4105
|
+
@StartTime = starttime
|
4106
|
+
@EndTime = endtime
|
4107
|
+
@Order = order
|
4108
|
+
@By = by
|
4109
|
+
end
|
4110
|
+
|
4111
|
+
def deserialize(params)
|
4112
|
+
@Limit = params['Limit']
|
4113
|
+
@Offset = params['Offset']
|
4114
|
+
unless params['Filters'].nil?
|
4115
|
+
@Filters = []
|
4116
|
+
params['Filters'].each do |i|
|
4117
|
+
commonfilter_tmp = CommonFilter.new
|
4118
|
+
commonfilter_tmp.deserialize(i)
|
4119
|
+
@Filters << commonfilter_tmp
|
4120
|
+
end
|
4121
|
+
end
|
4122
|
+
@StartTime = params['StartTime']
|
4123
|
+
@EndTime = params['EndTime']
|
4124
|
+
@Order = params['Order']
|
4125
|
+
@By = params['By']
|
4126
|
+
end
|
4127
|
+
end
|
4128
|
+
|
4129
|
+
# DescribeVpcFwGroupSwitch返回参数结构体
|
4130
|
+
class DescribeVpcFwGroupSwitchResponse < TencentCloud::Common::AbstractModel
|
4131
|
+
# @param SwitchList: 开关列表
|
4132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4133
|
+
# @type SwitchList: Array
|
4134
|
+
# @param Total: 开关总个数
|
4135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4136
|
+
# @type Total: Integer
|
4137
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4138
|
+
# @type RequestId: String
|
4139
|
+
|
4140
|
+
attr_accessor :SwitchList, :Total, :RequestId
|
4141
|
+
|
4142
|
+
def initialize(switchlist=nil, total=nil, requestid=nil)
|
4143
|
+
@SwitchList = switchlist
|
4144
|
+
@Total = total
|
4145
|
+
@RequestId = requestid
|
4146
|
+
end
|
4147
|
+
|
4148
|
+
def deserialize(params)
|
4149
|
+
unless params['SwitchList'].nil?
|
4150
|
+
@SwitchList = []
|
4151
|
+
params['SwitchList'].each do |i|
|
4152
|
+
fwgroupswitchshow_tmp = FwGroupSwitchShow.new
|
4153
|
+
fwgroupswitchshow_tmp.deserialize(i)
|
4154
|
+
@SwitchList << fwgroupswitchshow_tmp
|
4155
|
+
end
|
4156
|
+
end
|
4157
|
+
@Total = params['Total']
|
4158
|
+
@RequestId = params['RequestId']
|
4159
|
+
end
|
4160
|
+
end
|
4161
|
+
|
4162
|
+
# 设置nat防火墙的vpc dns 接入开关
|
4163
|
+
class DnsVpcSwitch < TencentCloud::Common::AbstractModel
|
4164
|
+
# @param VpcId: vpc id
|
4165
|
+
# @type VpcId: String
|
4166
|
+
# @param Status: 0:设置为关闭 1:设置为打开
|
4167
|
+
# @type Status: Integer
|
4168
|
+
|
4169
|
+
attr_accessor :VpcId, :Status
|
4170
|
+
|
4171
|
+
def initialize(vpcid=nil, status=nil)
|
4172
|
+
@VpcId = vpcid
|
4173
|
+
@Status = status
|
4174
|
+
end
|
3410
4175
|
|
3411
4176
|
def deserialize(params)
|
3412
4177
|
@VpcId = params['VpcId']
|
@@ -3414,6 +4179,159 @@ module TencentCloud
|
|
3414
4179
|
end
|
3415
4180
|
end
|
3416
4181
|
|
4182
|
+
# 边界防火墙公网IP开关列表
|
4183
|
+
class EdgeIpInfo < TencentCloud::Common::AbstractModel
|
4184
|
+
# @param PublicIp: 公网IP
|
4185
|
+
# @type PublicIp: String
|
4186
|
+
# @param PublicIpType: 公网 IP 类型
|
4187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4188
|
+
# @type PublicIpType: Integer
|
4189
|
+
# @param InstanceId: 实例ID
|
4190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4191
|
+
# @type InstanceId: String
|
4192
|
+
# @param InstanceName: 实例名
|
4193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4194
|
+
# @type InstanceName: String
|
4195
|
+
# @param IntranetIp: 内网IP
|
4196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4197
|
+
# @type IntranetIp: String
|
4198
|
+
# @param AssetType: 资产类型
|
4199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4200
|
+
# @type AssetType: String
|
4201
|
+
# @param Region: 地域
|
4202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4203
|
+
# @type Region: String
|
4204
|
+
# @param PortRiskCount: 风险端口数
|
4205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4206
|
+
# @type PortRiskCount: Integer
|
4207
|
+
# @param LastScanTime: 最近扫描时间
|
4208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4209
|
+
# @type LastScanTime: String
|
4210
|
+
# @param IsRegionEip: 是否为region eip
|
4211
|
+
# 0 不为region eip,不能选择串行
|
4212
|
+
# 1 为region eip 可以选择串行
|
4213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4214
|
+
# @type IsRegionEip: Integer
|
4215
|
+
# @param VpcId: EIP 所关联的VPC
|
4216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4217
|
+
# @type VpcId: String
|
4218
|
+
# @param IsSerialRegion: 0: 该地域暂未支持串行
|
4219
|
+
# 1: 该用户未在该地域配置串行带宽
|
4220
|
+
# 2: 该用户已在该地域配置串行带宽,可以开启串行开关
|
4221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4222
|
+
# @type IsSerialRegion: Integer
|
4223
|
+
# @param IsPublicClb: 0: 不是公网CLB 可以开启串行开关
|
4224
|
+
# 1: 是公网CLB 不可以开启串行开关
|
4225
|
+
|
4226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4227
|
+
# @type IsPublicClb: Integer
|
4228
|
+
# @param EndpointBindEipNum: 0: 开启开关时提示要创建私有连接。
|
4229
|
+
# 1: 关闭该开关是提示删除私有连接。
|
4230
|
+
# 如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
|
4231
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4232
|
+
# @type EndpointBindEipNum: Integer
|
4233
|
+
# @param ScanMode: 扫描深度
|
4234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4235
|
+
# @type ScanMode: String
|
4236
|
+
# @param ScanStatus: 扫描状态
|
4237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4238
|
+
# @type ScanStatus: Integer
|
4239
|
+
# @param Status: 开关状态
|
4240
|
+
# 0 : 关闭
|
4241
|
+
# 1 : 开启
|
4242
|
+
# 2 : 开启中
|
4243
|
+
# 3 : 关闭中
|
4244
|
+
# 4 : 异常
|
4245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4246
|
+
# @type Status: Integer
|
4247
|
+
# @param EndpointId: 私有连接ID
|
4248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4249
|
+
# @type EndpointId: String
|
4250
|
+
# @param EndpointIp: 私有连接IP
|
4251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4252
|
+
# @type EndpointIp: String
|
4253
|
+
# @param SwitchMode: 0 : 旁路
|
4254
|
+
# 1 : 串行
|
4255
|
+
# 2 : 正在模式切换
|
4256
|
+
# @type SwitchMode: Integer
|
4257
|
+
|
4258
|
+
attr_accessor :PublicIp, :PublicIpType, :InstanceId, :InstanceName, :IntranetIp, :AssetType, :Region, :PortRiskCount, :LastScanTime, :IsRegionEip, :VpcId, :IsSerialRegion, :IsPublicClb, :EndpointBindEipNum, :ScanMode, :ScanStatus, :Status, :EndpointId, :EndpointIp, :SwitchMode
|
4259
|
+
|
4260
|
+
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)
|
4261
|
+
@PublicIp = publicip
|
4262
|
+
@PublicIpType = publiciptype
|
4263
|
+
@InstanceId = instanceid
|
4264
|
+
@InstanceName = instancename
|
4265
|
+
@IntranetIp = intranetip
|
4266
|
+
@AssetType = assettype
|
4267
|
+
@Region = region
|
4268
|
+
@PortRiskCount = portriskcount
|
4269
|
+
@LastScanTime = lastscantime
|
4270
|
+
@IsRegionEip = isregioneip
|
4271
|
+
@VpcId = vpcid
|
4272
|
+
@IsSerialRegion = isserialregion
|
4273
|
+
@IsPublicClb = ispublicclb
|
4274
|
+
@EndpointBindEipNum = endpointbindeipnum
|
4275
|
+
@ScanMode = scanmode
|
4276
|
+
@ScanStatus = scanstatus
|
4277
|
+
@Status = status
|
4278
|
+
@EndpointId = endpointid
|
4279
|
+
@EndpointIp = endpointip
|
4280
|
+
@SwitchMode = switchmode
|
4281
|
+
end
|
4282
|
+
|
4283
|
+
def deserialize(params)
|
4284
|
+
@PublicIp = params['PublicIp']
|
4285
|
+
@PublicIpType = params['PublicIpType']
|
4286
|
+
@InstanceId = params['InstanceId']
|
4287
|
+
@InstanceName = params['InstanceName']
|
4288
|
+
@IntranetIp = params['IntranetIp']
|
4289
|
+
@AssetType = params['AssetType']
|
4290
|
+
@Region = params['Region']
|
4291
|
+
@PortRiskCount = params['PortRiskCount']
|
4292
|
+
@LastScanTime = params['LastScanTime']
|
4293
|
+
@IsRegionEip = params['IsRegionEip']
|
4294
|
+
@VpcId = params['VpcId']
|
4295
|
+
@IsSerialRegion = params['IsSerialRegion']
|
4296
|
+
@IsPublicClb = params['IsPublicClb']
|
4297
|
+
@EndpointBindEipNum = params['EndpointBindEipNum']
|
4298
|
+
@ScanMode = params['ScanMode']
|
4299
|
+
@ScanStatus = params['ScanStatus']
|
4300
|
+
@Status = params['Status']
|
4301
|
+
@EndpointId = params['EndpointId']
|
4302
|
+
@EndpointIp = params['EndpointIp']
|
4303
|
+
@SwitchMode = params['SwitchMode']
|
4304
|
+
end
|
4305
|
+
end
|
4306
|
+
|
4307
|
+
# 开启、关闭 防火墙互联网边界开关
|
4308
|
+
class EdgeIpSwitch < TencentCloud::Common::AbstractModel
|
4309
|
+
# @param PublicIp: 公网IP
|
4310
|
+
# @type PublicIp: String
|
4311
|
+
# @param SubnetId: vpc 中第一个EIP开关打开,需要指定子网创建私有连接
|
4312
|
+
# @type SubnetId: String
|
4313
|
+
# @param EndpointIp: 创建私有连接指定IP
|
4314
|
+
# @type EndpointIp: String
|
4315
|
+
# @param SwitchMode: 0 : 旁路 1 : 串行
|
4316
|
+
# @type SwitchMode: Integer
|
4317
|
+
|
4318
|
+
attr_accessor :PublicIp, :SubnetId, :EndpointIp, :SwitchMode
|
4319
|
+
|
4320
|
+
def initialize(publicip=nil, subnetid=nil, endpointip=nil, switchmode=nil)
|
4321
|
+
@PublicIp = publicip
|
4322
|
+
@SubnetId = subnetid
|
4323
|
+
@EndpointIp = endpointip
|
4324
|
+
@SwitchMode = switchmode
|
4325
|
+
end
|
4326
|
+
|
4327
|
+
def deserialize(params)
|
4328
|
+
@PublicIp = params['PublicIp']
|
4329
|
+
@SubnetId = params['SubnetId']
|
4330
|
+
@EndpointIp = params['EndpointIp']
|
4331
|
+
@SwitchMode = params['SwitchMode']
|
4332
|
+
end
|
4333
|
+
end
|
4334
|
+
|
3417
4335
|
# ExpandCfwVertical请求参数结构体
|
3418
4336
|
class ExpandCfwVerticalRequest < TencentCloud::Common::AbstractModel
|
3419
4337
|
# @param FwType: nat:nat防火墙,ew:东西向防火墙
|
@@ -3485,6 +4403,215 @@ module TencentCloud
|
|
3485
4403
|
end
|
3486
4404
|
end
|
3487
4405
|
|
4406
|
+
# 防火墙部署输入参数列表
|
4407
|
+
class FwDeploy < TencentCloud::Common::AbstractModel
|
4408
|
+
# @param DeployRegion: 防火墙部署地域
|
4409
|
+
# @type DeployRegion: String
|
4410
|
+
# @param Width: 带宽,单位:Mbps
|
4411
|
+
# @type Width: Integer
|
4412
|
+
# @param CrossAZone: 异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备
|
4413
|
+
# @type CrossAZone: Integer
|
4414
|
+
# @param Zone: 主可用区,为空则选择默认可用区
|
4415
|
+
# @type Zone: String
|
4416
|
+
# @param ZoneBak: 备可用区,为空则选择默认可用区
|
4417
|
+
# @type ZoneBak: String
|
4418
|
+
# @param CdcId: 若为cdc防火墙时填充该id
|
4419
|
+
# @type CdcId: String
|
4420
|
+
|
4421
|
+
attr_accessor :DeployRegion, :Width, :CrossAZone, :Zone, :ZoneBak, :CdcId
|
4422
|
+
|
4423
|
+
def initialize(deployregion=nil, width=nil, crossazone=nil, zone=nil, zonebak=nil, cdcid=nil)
|
4424
|
+
@DeployRegion = deployregion
|
4425
|
+
@Width = width
|
4426
|
+
@CrossAZone = crossazone
|
4427
|
+
@Zone = zone
|
4428
|
+
@ZoneBak = zonebak
|
4429
|
+
@CdcId = cdcid
|
4430
|
+
end
|
4431
|
+
|
4432
|
+
def deserialize(params)
|
4433
|
+
@DeployRegion = params['DeployRegion']
|
4434
|
+
@Width = params['Width']
|
4435
|
+
@CrossAZone = params['CrossAZone']
|
4436
|
+
@Zone = params['Zone']
|
4437
|
+
@ZoneBak = params['ZoneBak']
|
4438
|
+
@CdcId = params['CdcId']
|
4439
|
+
end
|
4440
|
+
end
|
4441
|
+
|
4442
|
+
# 防火墙引流网关信息
|
4443
|
+
class FwGateway < TencentCloud::Common::AbstractModel
|
4444
|
+
# @param GatewayId: 防火墙网关id
|
4445
|
+
# @type GatewayId: String
|
4446
|
+
# @param VpcId: 网关所属vpc id
|
4447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4448
|
+
# @type VpcId: String
|
4449
|
+
# @param IpAddress: 网关ip地址
|
4450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4451
|
+
# @type IpAddress: String
|
4452
|
+
|
4453
|
+
attr_accessor :GatewayId, :VpcId, :IpAddress
|
4454
|
+
|
4455
|
+
def initialize(gatewayid=nil, vpcid=nil, ipaddress=nil)
|
4456
|
+
@GatewayId = gatewayid
|
4457
|
+
@VpcId = vpcid
|
4458
|
+
@IpAddress = ipaddress
|
4459
|
+
end
|
4460
|
+
|
4461
|
+
def deserialize(params)
|
4462
|
+
@GatewayId = params['GatewayId']
|
4463
|
+
@VpcId = params['VpcId']
|
4464
|
+
@IpAddress = params['IpAddress']
|
4465
|
+
end
|
4466
|
+
end
|
4467
|
+
|
4468
|
+
# 多种VPC墙模式开关结构
|
4469
|
+
class FwGroupSwitch < TencentCloud::Common::AbstractModel
|
4470
|
+
# @param SwitchMode: 防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由
|
4471
|
+
# @type SwitchMode: Integer
|
4472
|
+
# @param SwitchId: 防火墙开关ID
|
4473
|
+
# 支持三种类型
|
4474
|
+
# 1. 边开关(单点互通)
|
4475
|
+
# 2. 点开关(多点互通)
|
4476
|
+
# 3. 全开关(全互通)
|
4477
|
+
# @type SwitchId: String
|
4478
|
+
|
4479
|
+
attr_accessor :SwitchMode, :SwitchId
|
4480
|
+
|
4481
|
+
def initialize(switchmode=nil, switchid=nil)
|
4482
|
+
@SwitchMode = switchmode
|
4483
|
+
@SwitchId = switchid
|
4484
|
+
end
|
4485
|
+
|
4486
|
+
def deserialize(params)
|
4487
|
+
@SwitchMode = params['SwitchMode']
|
4488
|
+
@SwitchId = params['SwitchId']
|
4489
|
+
end
|
4490
|
+
end
|
4491
|
+
|
4492
|
+
# VPC防火墙(组)四种开关展示
|
4493
|
+
class FwGroupSwitchShow < TencentCloud::Common::AbstractModel
|
4494
|
+
# @param SwitchId: 防火墙开关ID
|
4495
|
+
# @type SwitchId: String
|
4496
|
+
# @param SwitchName: 防火墙开关NAME
|
4497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4498
|
+
# @type SwitchName: String
|
4499
|
+
# @param SwitchMode: 互通模式
|
4500
|
+
# @type SwitchMode: Integer
|
4501
|
+
# @param ConnectType: 开关边连接类型 0:对等连接, 1:云连网
|
4502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4503
|
+
# @type ConnectType: Integer
|
4504
|
+
# @param ConnectId: 连接ID
|
4505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4506
|
+
# @type ConnectId: String
|
4507
|
+
# @param ConnectName: 连接名称
|
4508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4509
|
+
# @type ConnectName: String
|
4510
|
+
# @param SrcInstancesInfo: 源实例信息
|
4511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4512
|
+
# @type SrcInstancesInfo: Array
|
4513
|
+
# @param DstInstancesInfo: 目的实例信息
|
4514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4515
|
+
# @type DstInstancesInfo: Array
|
4516
|
+
# @param FwGroupId: 防火墙(组)数据
|
4517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4518
|
+
# @type FwGroupId: String
|
4519
|
+
# @param FwGroupName: 防火墙(组)名称
|
4520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4521
|
+
# @type FwGroupName: String
|
4522
|
+
# @param Enable: 开关状态 0:关 , 1:开
|
4523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4524
|
+
# @type Enable: Integer
|
4525
|
+
# @param Status: 开关的状态 0:正常, 1:转换中
|
4526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4527
|
+
# @type Status: Integer
|
4528
|
+
# @param AttachWithEdge: 0-非sase实例,忽略,1-未绑定状态,2-已绑定
|
4529
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4530
|
+
# @type AttachWithEdge: Integer
|
4531
|
+
# @param CrossEdgeStatus: 对等防火墙和开关状态 0:正常, 1:对等未创建防火墙,2:对等已创建防火墙,未打开开关
|
4532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4533
|
+
# @type CrossEdgeStatus: Integer
|
4534
|
+
# @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
|
4535
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4536
|
+
# @type FwInsRegion: Array
|
4537
|
+
# @param IpsAction: 0 观察 1 拦截 2 严格 3 关闭
|
4538
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4539
|
+
# @type IpsAction: Integer
|
4540
|
+
# @param FwInsLst: 开关关联的防火墙实例列表
|
4541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4542
|
+
# @type FwInsLst: Array
|
4543
|
+
# @param BypassStatus: 开关是否处于bypass状态
|
4544
|
+
# 0:正常状态
|
4545
|
+
# 1:bypass状态
|
4546
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4547
|
+
# @type BypassStatus: Integer
|
4548
|
+
|
4549
|
+
attr_accessor :SwitchId, :SwitchName, :SwitchMode, :ConnectType, :ConnectId, :ConnectName, :SrcInstancesInfo, :DstInstancesInfo, :FwGroupId, :FwGroupName, :Enable, :Status, :AttachWithEdge, :CrossEdgeStatus, :FwInsRegion, :IpsAction, :FwInsLst, :BypassStatus
|
4550
|
+
|
4551
|
+
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)
|
4552
|
+
@SwitchId = switchid
|
4553
|
+
@SwitchName = switchname
|
4554
|
+
@SwitchMode = switchmode
|
4555
|
+
@ConnectType = connecttype
|
4556
|
+
@ConnectId = connectid
|
4557
|
+
@ConnectName = connectname
|
4558
|
+
@SrcInstancesInfo = srcinstancesinfo
|
4559
|
+
@DstInstancesInfo = dstinstancesinfo
|
4560
|
+
@FwGroupId = fwgroupid
|
4561
|
+
@FwGroupName = fwgroupname
|
4562
|
+
@Enable = enable
|
4563
|
+
@Status = status
|
4564
|
+
@AttachWithEdge = attachwithedge
|
4565
|
+
@CrossEdgeStatus = crossedgestatus
|
4566
|
+
@FwInsRegion = fwinsregion
|
4567
|
+
@IpsAction = ipsaction
|
4568
|
+
@FwInsLst = fwinslst
|
4569
|
+
@BypassStatus = bypassstatus
|
4570
|
+
end
|
4571
|
+
|
4572
|
+
def deserialize(params)
|
4573
|
+
@SwitchId = params['SwitchId']
|
4574
|
+
@SwitchName = params['SwitchName']
|
4575
|
+
@SwitchMode = params['SwitchMode']
|
4576
|
+
@ConnectType = params['ConnectType']
|
4577
|
+
@ConnectId = params['ConnectId']
|
4578
|
+
@ConnectName = params['ConnectName']
|
4579
|
+
unless params['SrcInstancesInfo'].nil?
|
4580
|
+
@SrcInstancesInfo = []
|
4581
|
+
params['SrcInstancesInfo'].each do |i|
|
4582
|
+
netinstancesinfo_tmp = NetInstancesInfo.new
|
4583
|
+
netinstancesinfo_tmp.deserialize(i)
|
4584
|
+
@SrcInstancesInfo << netinstancesinfo_tmp
|
4585
|
+
end
|
4586
|
+
end
|
4587
|
+
unless params['DstInstancesInfo'].nil?
|
4588
|
+
@DstInstancesInfo = []
|
4589
|
+
params['DstInstancesInfo'].each do |i|
|
4590
|
+
netinstancesinfo_tmp = NetInstancesInfo.new
|
4591
|
+
netinstancesinfo_tmp.deserialize(i)
|
4592
|
+
@DstInstancesInfo << netinstancesinfo_tmp
|
4593
|
+
end
|
4594
|
+
end
|
4595
|
+
@FwGroupId = params['FwGroupId']
|
4596
|
+
@FwGroupName = params['FwGroupName']
|
4597
|
+
@Enable = params['Enable']
|
4598
|
+
@Status = params['Status']
|
4599
|
+
@AttachWithEdge = params['AttachWithEdge']
|
4600
|
+
@CrossEdgeStatus = params['CrossEdgeStatus']
|
4601
|
+
@FwInsRegion = params['FwInsRegion']
|
4602
|
+
@IpsAction = params['IpsAction']
|
4603
|
+
unless params['FwInsLst'].nil?
|
4604
|
+
@FwInsLst = []
|
4605
|
+
params['FwInsLst'].each do |i|
|
4606
|
+
vpcfwinstanceshow_tmp = VpcFwInstanceShow.new
|
4607
|
+
vpcfwinstanceshow_tmp.deserialize(i)
|
4608
|
+
@FwInsLst << vpcfwinstanceshow_tmp
|
4609
|
+
end
|
4610
|
+
end
|
4611
|
+
@BypassStatus = params['BypassStatus']
|
4612
|
+
end
|
4613
|
+
end
|
4614
|
+
|
3488
4615
|
# vpc的防火墙网段
|
3489
4616
|
class FwVpcCidr < TencentCloud::Common::AbstractModel
|
3490
4617
|
# @param VpcId: vpc的id
|
@@ -3659,13 +4786,16 @@ module TencentCloud
|
|
3659
4786
|
end
|
3660
4787
|
end
|
3661
4788
|
|
3662
|
-
#
|
4789
|
+
# 封禁放通IOC列表
|
3663
4790
|
class IocListData < TencentCloud::Common::AbstractModel
|
3664
4791
|
# @param IP: 待处置IP地址,IP/Domain字段二选一
|
4792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3665
4793
|
# @type IP: String
|
3666
4794
|
# @param Direction: 只能为0或者1 0代表出站 1代表入站
|
4795
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3667
4796
|
# @type Direction: Integer
|
3668
4797
|
# @param Domain: 待处置域名,IP/Domain字段二选一
|
4798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3669
4799
|
# @type Domain: String
|
3670
4800
|
|
3671
4801
|
attr_accessor :IP, :Direction, :Domain
|
@@ -3763,6 +4893,49 @@ module TencentCloud
|
|
3763
4893
|
end
|
3764
4894
|
end
|
3765
4895
|
|
4896
|
+
# ModifyAclRule请求参数结构体
|
4897
|
+
class ModifyAclRuleRequest < TencentCloud::Common::AbstractModel
|
4898
|
+
# @param Rules: 需要编辑的规则数组
|
4899
|
+
# @type Rules: Array
|
4900
|
+
|
4901
|
+
attr_accessor :Rules
|
4902
|
+
|
4903
|
+
def initialize(rules=nil)
|
4904
|
+
@Rules = rules
|
4905
|
+
end
|
4906
|
+
|
4907
|
+
def deserialize(params)
|
4908
|
+
unless params['Rules'].nil?
|
4909
|
+
@Rules = []
|
4910
|
+
params['Rules'].each do |i|
|
4911
|
+
createruleitem_tmp = CreateRuleItem.new
|
4912
|
+
createruleitem_tmp.deserialize(i)
|
4913
|
+
@Rules << createruleitem_tmp
|
4914
|
+
end
|
4915
|
+
end
|
4916
|
+
end
|
4917
|
+
end
|
4918
|
+
|
4919
|
+
# ModifyAclRule返回参数结构体
|
4920
|
+
class ModifyAclRuleResponse < TencentCloud::Common::AbstractModel
|
4921
|
+
# @param RuleUuid: 编辑成功后返回新策略ID列表
|
4922
|
+
# @type RuleUuid: Array
|
4923
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4924
|
+
# @type RequestId: String
|
4925
|
+
|
4926
|
+
attr_accessor :RuleUuid, :RequestId
|
4927
|
+
|
4928
|
+
def initialize(ruleuuid=nil, requestid=nil)
|
4929
|
+
@RuleUuid = ruleuuid
|
4930
|
+
@RequestId = requestid
|
4931
|
+
end
|
4932
|
+
|
4933
|
+
def deserialize(params)
|
4934
|
+
@RuleUuid = params['RuleUuid']
|
4935
|
+
@RequestId = params['RequestId']
|
4936
|
+
end
|
4937
|
+
end
|
4938
|
+
|
3766
4939
|
# ModifyAllPublicIPSwitchStatus请求参数结构体
|
3767
4940
|
class ModifyAllPublicIPSwitchStatusRequest < TencentCloud::Common::AbstractModel
|
3768
4941
|
# @param Status: 状态,0:关闭,1:开启
|
@@ -4008,17 +5181,56 @@ module TencentCloud
|
|
4008
5181
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4009
5182
|
# @type RequestId: String
|
4010
5183
|
|
4011
|
-
attr_accessor :ReturnMsg, :ReturnCode, :RequestId
|
5184
|
+
attr_accessor :ReturnMsg, :ReturnCode, :RequestId
|
5185
|
+
|
5186
|
+
def initialize(returnmsg=nil, returncode=nil, requestid=nil)
|
5187
|
+
@ReturnMsg = returnmsg
|
5188
|
+
@ReturnCode = returncode
|
5189
|
+
@RequestId = requestid
|
5190
|
+
end
|
5191
|
+
|
5192
|
+
def deserialize(params)
|
5193
|
+
@ReturnMsg = params['ReturnMsg']
|
5194
|
+
@ReturnCode = params['ReturnCode']
|
5195
|
+
@RequestId = params['RequestId']
|
5196
|
+
end
|
5197
|
+
end
|
5198
|
+
|
5199
|
+
# ModifyBlockIgnoreRule请求参数结构体
|
5200
|
+
class ModifyBlockIgnoreRuleRequest < TencentCloud::Common::AbstractModel
|
5201
|
+
# @param Rule: 规则
|
5202
|
+
# @type Rule: :class:`Tencentcloud::Cfw.v20190904.models.IntrusionDefenseRule`
|
5203
|
+
# @param RuleType: 规则类型,1封禁,2放通
|
5204
|
+
# @type RuleType: Integer
|
5205
|
+
|
5206
|
+
attr_accessor :Rule, :RuleType
|
5207
|
+
|
5208
|
+
def initialize(rule=nil, ruletype=nil)
|
5209
|
+
@Rule = rule
|
5210
|
+
@RuleType = ruletype
|
5211
|
+
end
|
5212
|
+
|
5213
|
+
def deserialize(params)
|
5214
|
+
unless params['Rule'].nil?
|
5215
|
+
@Rule = IntrusionDefenseRule.new
|
5216
|
+
@Rule.deserialize(params['Rule'])
|
5217
|
+
end
|
5218
|
+
@RuleType = params['RuleType']
|
5219
|
+
end
|
5220
|
+
end
|
5221
|
+
|
5222
|
+
# ModifyBlockIgnoreRule返回参数结构体
|
5223
|
+
class ModifyBlockIgnoreRuleResponse < TencentCloud::Common::AbstractModel
|
5224
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5225
|
+
# @type RequestId: String
|
5226
|
+
|
5227
|
+
attr_accessor :RequestId
|
4012
5228
|
|
4013
|
-
def initialize(
|
4014
|
-
@ReturnMsg = returnmsg
|
4015
|
-
@ReturnCode = returncode
|
5229
|
+
def initialize(requestid=nil)
|
4016
5230
|
@RequestId = requestid
|
4017
5231
|
end
|
4018
5232
|
|
4019
5233
|
def deserialize(params)
|
4020
|
-
@ReturnMsg = params['ReturnMsg']
|
4021
|
-
@ReturnCode = params['ReturnCode']
|
4022
5234
|
@RequestId = params['RequestId']
|
4023
5235
|
end
|
4024
5236
|
end
|
@@ -4115,6 +5327,50 @@ module TencentCloud
|
|
4115
5327
|
end
|
4116
5328
|
end
|
4117
5329
|
|
5330
|
+
# ModifyEdgeIpSwitch请求参数结构体
|
5331
|
+
class ModifyEdgeIpSwitchRequest < TencentCloud::Common::AbstractModel
|
5332
|
+
# @param Enable: 0 关闭开关
|
5333
|
+
# 1 打开开关
|
5334
|
+
# @type Enable: Integer
|
5335
|
+
# @param EdgeIpSwitchLst: 操作开关详情
|
5336
|
+
# @type EdgeIpSwitchLst: Array
|
5337
|
+
|
5338
|
+
attr_accessor :Enable, :EdgeIpSwitchLst
|
5339
|
+
|
5340
|
+
def initialize(enable=nil, edgeipswitchlst=nil)
|
5341
|
+
@Enable = enable
|
5342
|
+
@EdgeIpSwitchLst = edgeipswitchlst
|
5343
|
+
end
|
5344
|
+
|
5345
|
+
def deserialize(params)
|
5346
|
+
@Enable = params['Enable']
|
5347
|
+
unless params['EdgeIpSwitchLst'].nil?
|
5348
|
+
@EdgeIpSwitchLst = []
|
5349
|
+
params['EdgeIpSwitchLst'].each do |i|
|
5350
|
+
edgeipswitch_tmp = EdgeIpSwitch.new
|
5351
|
+
edgeipswitch_tmp.deserialize(i)
|
5352
|
+
@EdgeIpSwitchLst << edgeipswitch_tmp
|
5353
|
+
end
|
5354
|
+
end
|
5355
|
+
end
|
5356
|
+
end
|
5357
|
+
|
5358
|
+
# ModifyEdgeIpSwitch返回参数结构体
|
5359
|
+
class ModifyEdgeIpSwitchResponse < TencentCloud::Common::AbstractModel
|
5360
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5361
|
+
# @type RequestId: String
|
5362
|
+
|
5363
|
+
attr_accessor :RequestId
|
5364
|
+
|
5365
|
+
def initialize(requestid=nil)
|
5366
|
+
@RequestId = requestid
|
5367
|
+
end
|
5368
|
+
|
5369
|
+
def deserialize(params)
|
5370
|
+
@RequestId = params['RequestId']
|
5371
|
+
end
|
5372
|
+
end
|
5373
|
+
|
4118
5374
|
# ModifyEnterpriseSecurityDispatchStatus请求参数结构体
|
4119
5375
|
class ModifyEnterpriseSecurityDispatchStatusRequest < TencentCloud::Common::AbstractModel
|
4120
5376
|
# @param Status: 0:打开立即下发开关;
|
@@ -4211,6 +5467,55 @@ module TencentCloud
|
|
4211
5467
|
end
|
4212
5468
|
end
|
4213
5469
|
|
5470
|
+
# ModifyFwGroupSwitch请求参数结构体
|
5471
|
+
class ModifyFwGroupSwitchRequest < TencentCloud::Common::AbstractModel
|
5472
|
+
# @param Enable: 打开或关闭开关
|
5473
|
+
# 0:关闭开关
|
5474
|
+
# 1:打开开关
|
5475
|
+
# @type Enable: Integer
|
5476
|
+
# @param AllSwitch: 是否操作全部开关 0 不操作全部开关,1 操作全部开关
|
5477
|
+
# @type AllSwitch: Integer
|
5478
|
+
# @param SwitchList: 开关列表
|
5479
|
+
# @type SwitchList: Array
|
5480
|
+
|
5481
|
+
attr_accessor :Enable, :AllSwitch, :SwitchList
|
5482
|
+
|
5483
|
+
def initialize(enable=nil, allswitch=nil, switchlist=nil)
|
5484
|
+
@Enable = enable
|
5485
|
+
@AllSwitch = allswitch
|
5486
|
+
@SwitchList = switchlist
|
5487
|
+
end
|
5488
|
+
|
5489
|
+
def deserialize(params)
|
5490
|
+
@Enable = params['Enable']
|
5491
|
+
@AllSwitch = params['AllSwitch']
|
5492
|
+
unless params['SwitchList'].nil?
|
5493
|
+
@SwitchList = []
|
5494
|
+
params['SwitchList'].each do |i|
|
5495
|
+
fwgroupswitch_tmp = FwGroupSwitch.new
|
5496
|
+
fwgroupswitch_tmp.deserialize(i)
|
5497
|
+
@SwitchList << fwgroupswitch_tmp
|
5498
|
+
end
|
5499
|
+
end
|
5500
|
+
end
|
5501
|
+
end
|
5502
|
+
|
5503
|
+
# ModifyFwGroupSwitch返回参数结构体
|
5504
|
+
class ModifyFwGroupSwitchResponse < TencentCloud::Common::AbstractModel
|
5505
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5506
|
+
# @type RequestId: String
|
5507
|
+
|
5508
|
+
attr_accessor :RequestId
|
5509
|
+
|
5510
|
+
def initialize(requestid=nil)
|
5511
|
+
@RequestId = requestid
|
5512
|
+
end
|
5513
|
+
|
5514
|
+
def deserialize(params)
|
5515
|
+
@RequestId = params['RequestId']
|
5516
|
+
end
|
5517
|
+
end
|
5518
|
+
|
4214
5519
|
# ModifyNatAcRule请求参数结构体
|
4215
5520
|
class ModifyNatAcRuleRequest < TencentCloud::Common::AbstractModel
|
4216
5521
|
# @param Rules: 需要编辑的规则数组
|
@@ -4711,6 +6016,49 @@ module TencentCloud
|
|
4711
6016
|
end
|
4712
6017
|
end
|
4713
6018
|
|
6019
|
+
# ModifySequenceAclRules请求参数结构体
|
6020
|
+
class ModifySequenceAclRulesRequest < TencentCloud::Common::AbstractModel
|
6021
|
+
# @param RuleChangeItems: 规则快速排序:OrderIndex,原始序号;NewOrderIndex:新序号
|
6022
|
+
# @type RuleChangeItems: Array
|
6023
|
+
# @param Direction: 规则方向:1,入站;0,出站
|
6024
|
+
# @type Direction: Integer
|
6025
|
+
|
6026
|
+
attr_accessor :RuleChangeItems, :Direction
|
6027
|
+
|
6028
|
+
def initialize(rulechangeitems=nil, direction=nil)
|
6029
|
+
@RuleChangeItems = rulechangeitems
|
6030
|
+
@Direction = direction
|
6031
|
+
end
|
6032
|
+
|
6033
|
+
def deserialize(params)
|
6034
|
+
unless params['RuleChangeItems'].nil?
|
6035
|
+
@RuleChangeItems = []
|
6036
|
+
params['RuleChangeItems'].each do |i|
|
6037
|
+
rulechangeitem_tmp = RuleChangeItem.new
|
6038
|
+
rulechangeitem_tmp.deserialize(i)
|
6039
|
+
@RuleChangeItems << rulechangeitem_tmp
|
6040
|
+
end
|
6041
|
+
end
|
6042
|
+
@Direction = params['Direction']
|
6043
|
+
end
|
6044
|
+
end
|
6045
|
+
|
6046
|
+
# ModifySequenceAclRules返回参数结构体
|
6047
|
+
class ModifySequenceAclRulesResponse < TencentCloud::Common::AbstractModel
|
6048
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6049
|
+
# @type RequestId: String
|
6050
|
+
|
6051
|
+
attr_accessor :RequestId
|
6052
|
+
|
6053
|
+
def initialize(requestid=nil)
|
6054
|
+
@RequestId = requestid
|
6055
|
+
end
|
6056
|
+
|
6057
|
+
def deserialize(params)
|
6058
|
+
@RequestId = params['RequestId']
|
6059
|
+
end
|
6060
|
+
end
|
6061
|
+
|
4714
6062
|
# ModifySequenceRules请求参数结构体
|
4715
6063
|
class ModifySequenceRulesRequest < TencentCloud::Common::AbstractModel
|
4716
6064
|
# @param EdgeId: 边Id值
|
@@ -4843,6 +6191,142 @@ module TencentCloud
|
|
4843
6191
|
end
|
4844
6192
|
end
|
4845
6193
|
|
6194
|
+
# ModifyVpcAcRule请求参数结构体
|
6195
|
+
class ModifyVpcAcRuleRequest < TencentCloud::Common::AbstractModel
|
6196
|
+
# @param Rules: 需要编辑的规则数组
|
6197
|
+
# @type Rules: Array
|
6198
|
+
|
6199
|
+
attr_accessor :Rules
|
6200
|
+
|
6201
|
+
def initialize(rules=nil)
|
6202
|
+
@Rules = rules
|
6203
|
+
end
|
6204
|
+
|
6205
|
+
def deserialize(params)
|
6206
|
+
unless params['Rules'].nil?
|
6207
|
+
@Rules = []
|
6208
|
+
params['Rules'].each do |i|
|
6209
|
+
vpcruleitem_tmp = VpcRuleItem.new
|
6210
|
+
vpcruleitem_tmp.deserialize(i)
|
6211
|
+
@Rules << vpcruleitem_tmp
|
6212
|
+
end
|
6213
|
+
end
|
6214
|
+
end
|
6215
|
+
end
|
6216
|
+
|
6217
|
+
# ModifyVpcAcRule返回参数结构体
|
6218
|
+
class ModifyVpcAcRuleResponse < TencentCloud::Common::AbstractModel
|
6219
|
+
# @param RuleUuids: 编辑成功后返回新策略ID列表
|
6220
|
+
# @type RuleUuids: Array
|
6221
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6222
|
+
# @type RequestId: String
|
6223
|
+
|
6224
|
+
attr_accessor :RuleUuids, :RequestId
|
6225
|
+
|
6226
|
+
def initialize(ruleuuids=nil, requestid=nil)
|
6227
|
+
@RuleUuids = ruleuuids
|
6228
|
+
@RequestId = requestid
|
6229
|
+
end
|
6230
|
+
|
6231
|
+
def deserialize(params)
|
6232
|
+
@RuleUuids = params['RuleUuids']
|
6233
|
+
@RequestId = params['RequestId']
|
6234
|
+
end
|
6235
|
+
end
|
6236
|
+
|
6237
|
+
# ModifyVpcFwGroup请求参数结构体
|
6238
|
+
class ModifyVpcFwGroupRequest < TencentCloud::Common::AbstractModel
|
6239
|
+
# @param FwGroupId: 编辑的防火墙(组)ID
|
6240
|
+
# @type FwGroupId: String
|
6241
|
+
# @param Name: 修改防火墙(组)名称
|
6242
|
+
# @type Name: String
|
6243
|
+
# @param VpcFwInstances: 编辑的防火墙实例列表
|
6244
|
+
# @type VpcFwInstances: Array
|
6245
|
+
# @param FwCidrInfo: 指定防火墙使用网段信息
|
6246
|
+
# @type FwCidrInfo: :class:`Tencentcloud::Cfw.v20190904.models.FwCidrInfo`
|
6247
|
+
|
6248
|
+
attr_accessor :FwGroupId, :Name, :VpcFwInstances, :FwCidrInfo
|
6249
|
+
|
6250
|
+
def initialize(fwgroupid=nil, name=nil, vpcfwinstances=nil, fwcidrinfo=nil)
|
6251
|
+
@FwGroupId = fwgroupid
|
6252
|
+
@Name = name
|
6253
|
+
@VpcFwInstances = vpcfwinstances
|
6254
|
+
@FwCidrInfo = fwcidrinfo
|
6255
|
+
end
|
6256
|
+
|
6257
|
+
def deserialize(params)
|
6258
|
+
@FwGroupId = params['FwGroupId']
|
6259
|
+
@Name = params['Name']
|
6260
|
+
unless params['VpcFwInstances'].nil?
|
6261
|
+
@VpcFwInstances = []
|
6262
|
+
params['VpcFwInstances'].each do |i|
|
6263
|
+
vpcfwinstance_tmp = VpcFwInstance.new
|
6264
|
+
vpcfwinstance_tmp.deserialize(i)
|
6265
|
+
@VpcFwInstances << vpcfwinstance_tmp
|
6266
|
+
end
|
6267
|
+
end
|
6268
|
+
unless params['FwCidrInfo'].nil?
|
6269
|
+
@FwCidrInfo = FwCidrInfo.new
|
6270
|
+
@FwCidrInfo.deserialize(params['FwCidrInfo'])
|
6271
|
+
end
|
6272
|
+
end
|
6273
|
+
end
|
6274
|
+
|
6275
|
+
# ModifyVpcFwGroup返回参数结构体
|
6276
|
+
class ModifyVpcFwGroupResponse < TencentCloud::Common::AbstractModel
|
6277
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6278
|
+
# @type RequestId: String
|
6279
|
+
|
6280
|
+
attr_accessor :RequestId
|
6281
|
+
|
6282
|
+
def initialize(requestid=nil)
|
6283
|
+
@RequestId = requestid
|
6284
|
+
end
|
6285
|
+
|
6286
|
+
def deserialize(params)
|
6287
|
+
@RequestId = params['RequestId']
|
6288
|
+
end
|
6289
|
+
end
|
6290
|
+
|
6291
|
+
# ModifyVpcFwSequenceRules请求参数结构体
|
6292
|
+
class ModifyVpcFwSequenceRulesRequest < TencentCloud::Common::AbstractModel
|
6293
|
+
# @param RuleChangeItems: 规则快速排序:OrderIndex,原始序号;NewOrderIndex:新序号
|
6294
|
+
# @type RuleChangeItems: Array
|
6295
|
+
|
6296
|
+
attr_accessor :RuleChangeItems
|
6297
|
+
|
6298
|
+
def initialize(rulechangeitems=nil)
|
6299
|
+
@RuleChangeItems = rulechangeitems
|
6300
|
+
end
|
6301
|
+
|
6302
|
+
def deserialize(params)
|
6303
|
+
unless params['RuleChangeItems'].nil?
|
6304
|
+
@RuleChangeItems = []
|
6305
|
+
params['RuleChangeItems'].each do |i|
|
6306
|
+
rulechangeitem_tmp = RuleChangeItem.new
|
6307
|
+
rulechangeitem_tmp.deserialize(i)
|
6308
|
+
@RuleChangeItems << rulechangeitem_tmp
|
6309
|
+
end
|
6310
|
+
end
|
6311
|
+
end
|
6312
|
+
end
|
6313
|
+
|
6314
|
+
# ModifyVpcFwSequenceRules返回参数结构体
|
6315
|
+
class ModifyVpcFwSequenceRulesResponse < TencentCloud::Common::AbstractModel
|
6316
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6317
|
+
# @type RequestId: String
|
6318
|
+
|
6319
|
+
attr_accessor :RequestId
|
6320
|
+
|
6321
|
+
def initialize(requestid=nil)
|
6322
|
+
@RequestId = requestid
|
6323
|
+
end
|
6324
|
+
|
6325
|
+
def deserialize(params)
|
6326
|
+
@RequestId = params['RequestId']
|
6327
|
+
end
|
6328
|
+
end
|
6329
|
+
|
4846
6330
|
# Nat防火墙弹性公网ip列表
|
4847
6331
|
class NatFwEipsInfo < TencentCloud::Common::AbstractModel
|
4848
6332
|
# @param Eip: 弹性公网ip
|
@@ -5028,6 +6512,35 @@ module TencentCloud
|
|
5028
6512
|
end
|
5029
6513
|
end
|
5030
6514
|
|
6515
|
+
# 网络实例信息
|
6516
|
+
class NetInstancesInfo < TencentCloud::Common::AbstractModel
|
6517
|
+
# @param InstanceId: 网络实例ID
|
6518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6519
|
+
# @type InstanceId: String
|
6520
|
+
# @param InstanceName: 网络实例名称
|
6521
|
+
# @type InstanceName: String
|
6522
|
+
# @param InstanceCidr: 网络cidr (多段以逗号分隔)
|
6523
|
+
# @type InstanceCidr: String
|
6524
|
+
# @param Region: 网络实例所在地域
|
6525
|
+
# @type Region: String
|
6526
|
+
|
6527
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceCidr, :Region
|
6528
|
+
|
6529
|
+
def initialize(instanceid=nil, instancename=nil, instancecidr=nil, region=nil)
|
6530
|
+
@InstanceId = instanceid
|
6531
|
+
@InstanceName = instancename
|
6532
|
+
@InstanceCidr = instancecidr
|
6533
|
+
@Region = region
|
6534
|
+
end
|
6535
|
+
|
6536
|
+
def deserialize(params)
|
6537
|
+
@InstanceId = params['InstanceId']
|
6538
|
+
@InstanceName = params['InstanceName']
|
6539
|
+
@InstanceCidr = params['InstanceCidr']
|
6540
|
+
@Region = params['Region']
|
6541
|
+
end
|
6542
|
+
end
|
6543
|
+
|
5031
6544
|
# 新增模式传递参数
|
5032
6545
|
class NewModeItems < TencentCloud::Common::AbstractModel
|
5033
6546
|
# @param VpcList: 新增模式下接入的vpc列表
|
@@ -5085,15 +6598,55 @@ module TencentCloud
|
|
5085
6598
|
|
5086
6599
|
def initialize(ruleuuid=nil, returncode=nil, returnmsg=nil, requestid=nil)
|
5087
6600
|
@RuleUuid = ruleuuid
|
5088
|
-
@ReturnCode = returncode
|
5089
|
-
@ReturnMsg = returnmsg
|
6601
|
+
@ReturnCode = returncode
|
6602
|
+
@ReturnMsg = returnmsg
|
6603
|
+
@RequestId = requestid
|
6604
|
+
end
|
6605
|
+
|
6606
|
+
def deserialize(params)
|
6607
|
+
@RuleUuid = params['RuleUuid']
|
6608
|
+
@ReturnCode = params['ReturnCode']
|
6609
|
+
@ReturnMsg = params['ReturnMsg']
|
6610
|
+
@RequestId = params['RequestId']
|
6611
|
+
end
|
6612
|
+
end
|
6613
|
+
|
6614
|
+
# RemoveAclRule请求参数结构体
|
6615
|
+
class RemoveAclRuleRequest < TencentCloud::Common::AbstractModel
|
6616
|
+
# @param RuleUuid: 规则的uuid列表,可通过查询规则列表获取,注意:如果传入的是[-1]将删除所有规则
|
6617
|
+
# @type RuleUuid: Array
|
6618
|
+
# @param Direction: 规则方向:1,入站;0,出站
|
6619
|
+
# @type Direction: Integer
|
6620
|
+
|
6621
|
+
attr_accessor :RuleUuid, :Direction
|
6622
|
+
|
6623
|
+
def initialize(ruleuuid=nil, direction=nil)
|
6624
|
+
@RuleUuid = ruleuuid
|
6625
|
+
@Direction = direction
|
6626
|
+
end
|
6627
|
+
|
6628
|
+
def deserialize(params)
|
6629
|
+
@RuleUuid = params['RuleUuid']
|
6630
|
+
@Direction = params['Direction']
|
6631
|
+
end
|
6632
|
+
end
|
6633
|
+
|
6634
|
+
# RemoveAclRule返回参数结构体
|
6635
|
+
class RemoveAclRuleResponse < TencentCloud::Common::AbstractModel
|
6636
|
+
# @param RuleUuid: 删除成功后返回被删除策略的uuid列表
|
6637
|
+
# @type RuleUuid: Array
|
6638
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6639
|
+
# @type RequestId: String
|
6640
|
+
|
6641
|
+
attr_accessor :RuleUuid, :RequestId
|
6642
|
+
|
6643
|
+
def initialize(ruleuuid=nil, requestid=nil)
|
6644
|
+
@RuleUuid = ruleuuid
|
5090
6645
|
@RequestId = requestid
|
5091
6646
|
end
|
5092
6647
|
|
5093
6648
|
def deserialize(params)
|
5094
6649
|
@RuleUuid = params['RuleUuid']
|
5095
|
-
@ReturnCode = params['ReturnCode']
|
5096
|
-
@ReturnMsg = params['ReturnMsg']
|
5097
6650
|
@RequestId = params['RequestId']
|
5098
6651
|
end
|
5099
6652
|
end
|
@@ -5183,6 +6736,42 @@ module TencentCloud
|
|
5183
6736
|
end
|
5184
6737
|
end
|
5185
6738
|
|
6739
|
+
# RemoveVpcAcRule请求参数结构体
|
6740
|
+
class RemoveVpcAcRuleRequest < TencentCloud::Common::AbstractModel
|
6741
|
+
# @param RuleUuids: 规则的uuid列表,可通过查询规则列表获取,注意:如果传入的是[-1]将删除所有规则
|
6742
|
+
# @type RuleUuids: Array
|
6743
|
+
|
6744
|
+
attr_accessor :RuleUuids
|
6745
|
+
|
6746
|
+
def initialize(ruleuuids=nil)
|
6747
|
+
@RuleUuids = ruleuuids
|
6748
|
+
end
|
6749
|
+
|
6750
|
+
def deserialize(params)
|
6751
|
+
@RuleUuids = params['RuleUuids']
|
6752
|
+
end
|
6753
|
+
end
|
6754
|
+
|
6755
|
+
# RemoveVpcAcRule返回参数结构体
|
6756
|
+
class RemoveVpcAcRuleResponse < TencentCloud::Common::AbstractModel
|
6757
|
+
# @param RuleUuids: 删除成功后返回被删除策略的uuid列表
|
6758
|
+
# @type RuleUuids: Array
|
6759
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6760
|
+
# @type RequestId: String
|
6761
|
+
|
6762
|
+
attr_accessor :RuleUuids, :RequestId
|
6763
|
+
|
6764
|
+
def initialize(ruleuuids=nil, requestid=nil)
|
6765
|
+
@RuleUuids = ruleuuids
|
6766
|
+
@RequestId = requestid
|
6767
|
+
end
|
6768
|
+
|
6769
|
+
def deserialize(params)
|
6770
|
+
@RuleUuids = params['RuleUuids']
|
6771
|
+
@RequestId = params['RequestId']
|
6772
|
+
end
|
6773
|
+
end
|
6774
|
+
|
5186
6775
|
# 规则顺序变更项,由原始id值变为新的id值。
|
5187
6776
|
class RuleChangeItem < TencentCloud::Common::AbstractModel
|
5188
6777
|
# @param OrderIndex: 原始sequence 值
|
@@ -6210,6 +7799,479 @@ module TencentCloud
|
|
6210
7799
|
end
|
6211
7800
|
end
|
6212
7801
|
|
7802
|
+
# VPC防火墙实例的CVM信息
|
7803
|
+
class VpcFwCvmInsInfo < TencentCloud::Common::AbstractModel
|
7804
|
+
# @param FwInsId: VPC防火墙实例ID
|
7805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7806
|
+
# @type FwInsId: String
|
7807
|
+
# @param Region: CVM所在地域
|
7808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7809
|
+
# @type Region: String
|
7810
|
+
# @param RegionZh: CVM所在地域中文
|
7811
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7812
|
+
# @type RegionZh: String
|
7813
|
+
# @param RegionDetail: CVM所在地域详情
|
7814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7815
|
+
# @type RegionDetail: String
|
7816
|
+
# @param ZoneZh: 主机所在可用区
|
7817
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7818
|
+
# @type ZoneZh: String
|
7819
|
+
# @param ZoneZhBack: 备机所在可用区
|
7820
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7821
|
+
# @type ZoneZhBack: String
|
7822
|
+
# @param BandWidth: 防火墙CVM带宽值
|
7823
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7824
|
+
# @type BandWidth: Integer
|
7825
|
+
|
7826
|
+
attr_accessor :FwInsId, :Region, :RegionZh, :RegionDetail, :ZoneZh, :ZoneZhBack, :BandWidth
|
7827
|
+
|
7828
|
+
def initialize(fwinsid=nil, region=nil, regionzh=nil, regiondetail=nil, zonezh=nil, zonezhback=nil, bandwidth=nil)
|
7829
|
+
@FwInsId = fwinsid
|
7830
|
+
@Region = region
|
7831
|
+
@RegionZh = regionzh
|
7832
|
+
@RegionDetail = regiondetail
|
7833
|
+
@ZoneZh = zonezh
|
7834
|
+
@ZoneZhBack = zonezhback
|
7835
|
+
@BandWidth = bandwidth
|
7836
|
+
end
|
7837
|
+
|
7838
|
+
def deserialize(params)
|
7839
|
+
@FwInsId = params['FwInsId']
|
7840
|
+
@Region = params['Region']
|
7841
|
+
@RegionZh = params['RegionZh']
|
7842
|
+
@RegionDetail = params['RegionDetail']
|
7843
|
+
@ZoneZh = params['ZoneZh']
|
7844
|
+
@ZoneZhBack = params['ZoneZhBack']
|
7845
|
+
@BandWidth = params['BandWidth']
|
7846
|
+
end
|
7847
|
+
end
|
7848
|
+
|
7849
|
+
# VPC防火墙(组)及防火墙实例详情信息
|
7850
|
+
class VpcFwGroupInfo < TencentCloud::Common::AbstractModel
|
7851
|
+
# @param FwGroupId: 防火墙(组)ID
|
7852
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7853
|
+
# @type FwGroupId: String
|
7854
|
+
# @param FwGroupName: 防火墙(组)名称
|
7855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7856
|
+
# @type FwGroupName: String
|
7857
|
+
# @param FwSwitchNum: 防火墙组涉及到的开关个数
|
7858
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7859
|
+
# @type FwSwitchNum: Integer
|
7860
|
+
# @param RegionLst: 防火墙(组)部署的地域
|
7861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7862
|
+
# @type RegionLst: Array
|
7863
|
+
# @param Mode: 模式 1:CCN云联网模式;0:私有网络模式 2: sase 模式 3:ccn 高级模式 4: 私有网络(跨租户单边模式)
|
7864
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7865
|
+
# @type Mode: Integer
|
7866
|
+
# @param SwitchMode: 防火墙实例的开关模式 1: 单点互通 2: 多点互通 3: 全互通 4: 自定义路由
|
7867
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7868
|
+
# @type SwitchMode: Integer
|
7869
|
+
# @param FwInstanceLst: VPC防火墙实例卡片信息数组
|
7870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7871
|
+
# @type FwInstanceLst: Array
|
7872
|
+
# @param Status: 防火墙(状态) 0:正常 1: 初始化或操作中
|
7873
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7874
|
+
# @type Status: Integer
|
7875
|
+
# @param FwVpcCidr: auto :自动选择
|
7876
|
+
# 如果为网段,则为用户自定义 192.168.0.0/20
|
7877
|
+
# @type FwVpcCidr: String
|
7878
|
+
# @param CdcId: cdc专用集群场景时表示部署所属的cdc
|
7879
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7880
|
+
# @type CdcId: String
|
7881
|
+
# @param CdcName: cdc专用集群场景时表示cdc名称
|
7882
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7883
|
+
# @type CdcName: String
|
7884
|
+
# @param CrossUserMode: 跨租户模式 1管理员 2单边 0 非跨租户
|
7885
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7886
|
+
# @type CrossUserMode: String
|
7887
|
+
|
7888
|
+
attr_accessor :FwGroupId, :FwGroupName, :FwSwitchNum, :RegionLst, :Mode, :SwitchMode, :FwInstanceLst, :Status, :FwVpcCidr, :CdcId, :CdcName, :CrossUserMode
|
7889
|
+
|
7890
|
+
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)
|
7891
|
+
@FwGroupId = fwgroupid
|
7892
|
+
@FwGroupName = fwgroupname
|
7893
|
+
@FwSwitchNum = fwswitchnum
|
7894
|
+
@RegionLst = regionlst
|
7895
|
+
@Mode = mode
|
7896
|
+
@SwitchMode = switchmode
|
7897
|
+
@FwInstanceLst = fwinstancelst
|
7898
|
+
@Status = status
|
7899
|
+
@FwVpcCidr = fwvpccidr
|
7900
|
+
@CdcId = cdcid
|
7901
|
+
@CdcName = cdcname
|
7902
|
+
@CrossUserMode = crossusermode
|
7903
|
+
end
|
7904
|
+
|
7905
|
+
def deserialize(params)
|
7906
|
+
@FwGroupId = params['FwGroupId']
|
7907
|
+
@FwGroupName = params['FwGroupName']
|
7908
|
+
@FwSwitchNum = params['FwSwitchNum']
|
7909
|
+
@RegionLst = params['RegionLst']
|
7910
|
+
@Mode = params['Mode']
|
7911
|
+
@SwitchMode = params['SwitchMode']
|
7912
|
+
unless params['FwInstanceLst'].nil?
|
7913
|
+
@FwInstanceLst = []
|
7914
|
+
params['FwInstanceLst'].each do |i|
|
7915
|
+
vpcfwinstanceinfo_tmp = VpcFwInstanceInfo.new
|
7916
|
+
vpcfwinstanceinfo_tmp.deserialize(i)
|
7917
|
+
@FwInstanceLst << vpcfwinstanceinfo_tmp
|
7918
|
+
end
|
7919
|
+
end
|
7920
|
+
@Status = params['Status']
|
7921
|
+
@FwVpcCidr = params['FwVpcCidr']
|
7922
|
+
@CdcId = params['CdcId']
|
7923
|
+
@CdcName = params['CdcName']
|
7924
|
+
@CrossUserMode = params['CrossUserMode']
|
7925
|
+
end
|
7926
|
+
end
|
7927
|
+
|
7928
|
+
# vpc 防火墙下单防火墙实例结构体
|
7929
|
+
class VpcFwInstance < TencentCloud::Common::AbstractModel
|
7930
|
+
# @param Name: 防火墙实例名称
|
7931
|
+
# @type Name: String
|
7932
|
+
# @param VpcIds: 私有网络模式下接入的VpcId列表;仅私有网络模式使用
|
7933
|
+
# @type VpcIds: Array
|
7934
|
+
# @param FwDeploy: 部署地域信息
|
7935
|
+
# @type FwDeploy: :class:`Tencentcloud::Cfw.v20190904.models.FwDeploy`
|
7936
|
+
# @param FwInsId: 防火墙实例ID (编辑场景传)
|
7937
|
+
# @type FwInsId: String
|
7938
|
+
|
7939
|
+
attr_accessor :Name, :VpcIds, :FwDeploy, :FwInsId
|
7940
|
+
|
7941
|
+
def initialize(name=nil, vpcids=nil, fwdeploy=nil, fwinsid=nil)
|
7942
|
+
@Name = name
|
7943
|
+
@VpcIds = vpcids
|
7944
|
+
@FwDeploy = fwdeploy
|
7945
|
+
@FwInsId = fwinsid
|
7946
|
+
end
|
7947
|
+
|
7948
|
+
def deserialize(params)
|
7949
|
+
@Name = params['Name']
|
7950
|
+
@VpcIds = params['VpcIds']
|
7951
|
+
unless params['FwDeploy'].nil?
|
7952
|
+
@FwDeploy = FwDeploy.new
|
7953
|
+
@FwDeploy.deserialize(params['FwDeploy'])
|
7954
|
+
end
|
7955
|
+
@FwInsId = params['FwInsId']
|
7956
|
+
end
|
7957
|
+
end
|
7958
|
+
|
7959
|
+
# VPC防火墙实例卡片信息
|
7960
|
+
class VpcFwInstanceInfo < TencentCloud::Common::AbstractModel
|
7961
|
+
# @param FwInsName: VPC防火墙实例名称
|
7962
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7963
|
+
# @type FwInsName: String
|
7964
|
+
# @param FwInsId: VPC防火墙实例ID
|
7965
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7966
|
+
# @type FwInsId: String
|
7967
|
+
# @param FwMode: VPC防火墙实例模式 0: 旧VPC模式防火墙 1: CCN模式防火墙
|
7968
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7969
|
+
# @type FwMode: Integer
|
7970
|
+
# @param JoinInsNum: VPC防火墙接入网络实例个数
|
7971
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7972
|
+
# @type JoinInsNum: Integer
|
7973
|
+
# @param FwSwitchNum: VPC防火墙开关个数
|
7974
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7975
|
+
# @type FwSwitchNum: Integer
|
7976
|
+
# @param Status: VPC防火墙状态 0:正常 , 1:创建中 2: 变更中
|
7977
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7978
|
+
# @type Status: Integer
|
7979
|
+
# @param Time: VPC防火墙创建时间
|
7980
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7981
|
+
# @type Time: String
|
7982
|
+
# @param CcnId: VPC 相关云联网ID列表
|
7983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7984
|
+
# @type CcnId: Array
|
7985
|
+
# @param CcnName: VPC 相关云联网名称列表
|
7986
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7987
|
+
# @type CcnName: Array
|
7988
|
+
# @param PeerConnectionId: VPC 相关对等连接ID列表
|
7989
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7990
|
+
# @type PeerConnectionId: Array
|
7991
|
+
# @param PeerConnectionName: VPC 相关对等连接名称列表
|
7992
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7993
|
+
# @type PeerConnectionName: Array
|
7994
|
+
# @param FwCvmLst: VPC防火墙CVM的列表
|
7995
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7996
|
+
# @type FwCvmLst: Array
|
7997
|
+
# @param JoinInsLst: VPC防火墙接入网络实例类型列表
|
7998
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7999
|
+
# @type JoinInsLst: Array
|
8000
|
+
# @param FwGateway: 防火墙网关信息
|
8001
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8002
|
+
# @type FwGateway: Array
|
8003
|
+
# @param FwGroupId: 防火墙(组)ID
|
8004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8005
|
+
# @type FwGroupId: String
|
8006
|
+
# @param RuleUsed: 已使用规则数
|
8007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8008
|
+
# @type RuleUsed: Integer
|
8009
|
+
# @param RuleMax: 最大规则数
|
8010
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8011
|
+
# @type RuleMax: Integer
|
8012
|
+
# @param Width: 防火墙实例带宽
|
8013
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8014
|
+
# @type Width: Integer
|
8015
|
+
# @param UserVpcWidth: 用户VPC墙总带宽
|
8016
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8017
|
+
# @type UserVpcWidth: Integer
|
8018
|
+
# @param JoinInsIdLst: 接入的vpc列表
|
8019
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8020
|
+
# @type JoinInsIdLst: Array
|
8021
|
+
# @param FlowMax: 内网间峰值带宽 (单位 bps )
|
8022
|
+
# @type FlowMax: Integer
|
8023
|
+
# @param EngineVersion: 实例引擎版本
|
8024
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8025
|
+
# @type EngineVersion: String
|
8026
|
+
# @param UpdateEnable: 引擎是否可升级:0,不可升级;1,可升级
|
8027
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8028
|
+
# @type UpdateEnable: Integer
|
8029
|
+
|
8030
|
+
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
|
8031
|
+
|
8032
|
+
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)
|
8033
|
+
@FwInsName = fwinsname
|
8034
|
+
@FwInsId = fwinsid
|
8035
|
+
@FwMode = fwmode
|
8036
|
+
@JoinInsNum = joininsnum
|
8037
|
+
@FwSwitchNum = fwswitchnum
|
8038
|
+
@Status = status
|
8039
|
+
@Time = time
|
8040
|
+
@CcnId = ccnid
|
8041
|
+
@CcnName = ccnname
|
8042
|
+
@PeerConnectionId = peerconnectionid
|
8043
|
+
@PeerConnectionName = peerconnectionname
|
8044
|
+
@FwCvmLst = fwcvmlst
|
8045
|
+
@JoinInsLst = joininslst
|
8046
|
+
@FwGateway = fwgateway
|
8047
|
+
@FwGroupId = fwgroupid
|
8048
|
+
@RuleUsed = ruleused
|
8049
|
+
@RuleMax = rulemax
|
8050
|
+
@Width = width
|
8051
|
+
@UserVpcWidth = uservpcwidth
|
8052
|
+
@JoinInsIdLst = joininsidlst
|
8053
|
+
@FlowMax = flowmax
|
8054
|
+
@EngineVersion = engineversion
|
8055
|
+
@UpdateEnable = updateenable
|
8056
|
+
end
|
8057
|
+
|
8058
|
+
def deserialize(params)
|
8059
|
+
@FwInsName = params['FwInsName']
|
8060
|
+
@FwInsId = params['FwInsId']
|
8061
|
+
@FwMode = params['FwMode']
|
8062
|
+
@JoinInsNum = params['JoinInsNum']
|
8063
|
+
@FwSwitchNum = params['FwSwitchNum']
|
8064
|
+
@Status = params['Status']
|
8065
|
+
@Time = params['Time']
|
8066
|
+
@CcnId = params['CcnId']
|
8067
|
+
@CcnName = params['CcnName']
|
8068
|
+
@PeerConnectionId = params['PeerConnectionId']
|
8069
|
+
@PeerConnectionName = params['PeerConnectionName']
|
8070
|
+
unless params['FwCvmLst'].nil?
|
8071
|
+
@FwCvmLst = []
|
8072
|
+
params['FwCvmLst'].each do |i|
|
8073
|
+
vpcfwcvminsinfo_tmp = VpcFwCvmInsInfo.new
|
8074
|
+
vpcfwcvminsinfo_tmp.deserialize(i)
|
8075
|
+
@FwCvmLst << vpcfwcvminsinfo_tmp
|
8076
|
+
end
|
8077
|
+
end
|
8078
|
+
unless params['JoinInsLst'].nil?
|
8079
|
+
@JoinInsLst = []
|
8080
|
+
params['JoinInsLst'].each do |i|
|
8081
|
+
vpcfwjoininstancetype_tmp = VpcFwJoinInstanceType.new
|
8082
|
+
vpcfwjoininstancetype_tmp.deserialize(i)
|
8083
|
+
@JoinInsLst << vpcfwjoininstancetype_tmp
|
8084
|
+
end
|
8085
|
+
end
|
8086
|
+
unless params['FwGateway'].nil?
|
8087
|
+
@FwGateway = []
|
8088
|
+
params['FwGateway'].each do |i|
|
8089
|
+
fwgateway_tmp = FwGateway.new
|
8090
|
+
fwgateway_tmp.deserialize(i)
|
8091
|
+
@FwGateway << fwgateway_tmp
|
8092
|
+
end
|
8093
|
+
end
|
8094
|
+
@FwGroupId = params['FwGroupId']
|
8095
|
+
@RuleUsed = params['RuleUsed']
|
8096
|
+
@RuleMax = params['RuleMax']
|
8097
|
+
@Width = params['Width']
|
8098
|
+
@UserVpcWidth = params['UserVpcWidth']
|
8099
|
+
@JoinInsIdLst = params['JoinInsIdLst']
|
8100
|
+
@FlowMax = params['FlowMax']
|
8101
|
+
@EngineVersion = params['EngineVersion']
|
8102
|
+
@UpdateEnable = params['UpdateEnable']
|
8103
|
+
end
|
8104
|
+
end
|
8105
|
+
|
8106
|
+
# VPC防火墙实例信息
|
8107
|
+
class VpcFwInstanceShow < TencentCloud::Common::AbstractModel
|
8108
|
+
# @param FwInsId: VPC防火墙实例ID
|
8109
|
+
# @type FwInsId: String
|
8110
|
+
# @param FwInsName: VPC防火墙实例名称
|
8111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8112
|
+
# @type FwInsName: String
|
8113
|
+
# @param FwInsRegion: 网络经过VPC防火墙CVM所在地域
|
8114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8115
|
+
# @type FwInsRegion: String
|
8116
|
+
|
8117
|
+
attr_accessor :FwInsId, :FwInsName, :FwInsRegion
|
8118
|
+
|
8119
|
+
def initialize(fwinsid=nil, fwinsname=nil, fwinsregion=nil)
|
8120
|
+
@FwInsId = fwinsid
|
8121
|
+
@FwInsName = fwinsname
|
8122
|
+
@FwInsRegion = fwinsregion
|
8123
|
+
end
|
8124
|
+
|
8125
|
+
def deserialize(params)
|
8126
|
+
@FwInsId = params['FwInsId']
|
8127
|
+
@FwInsName = params['FwInsName']
|
8128
|
+
@FwInsRegion = params['FwInsRegion']
|
8129
|
+
end
|
8130
|
+
end
|
8131
|
+
|
8132
|
+
# VPC防火墙接入的网络实例类型及数量
|
8133
|
+
class VpcFwJoinInstanceType < TencentCloud::Common::AbstractModel
|
8134
|
+
# @param JoinType: 接入实例类型,VPC、DIRECTCONNECT、 VPNGW 等
|
8135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8136
|
+
# @type JoinType: String
|
8137
|
+
# @param Num: 接入的对应网络实例类型的数量
|
8138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8139
|
+
# @type Num: Integer
|
8140
|
+
|
8141
|
+
attr_accessor :JoinType, :Num
|
8142
|
+
|
8143
|
+
def initialize(jointype=nil, num=nil)
|
8144
|
+
@JoinType = jointype
|
8145
|
+
@Num = num
|
8146
|
+
end
|
8147
|
+
|
8148
|
+
def deserialize(params)
|
8149
|
+
@JoinType = params['JoinType']
|
8150
|
+
@Num = params['Num']
|
8151
|
+
end
|
8152
|
+
end
|
8153
|
+
|
8154
|
+
# VPC内网间规则
|
8155
|
+
class VpcRuleItem < TencentCloud::Common::AbstractModel
|
8156
|
+
# @param SourceContent: 访问源示例:
|
8157
|
+
# net:IP/CIDR(192.168.0.2)
|
8158
|
+
# @type SourceContent: String
|
8159
|
+
# @param SourceType: 访问源类型,类型可以为:net
|
8160
|
+
# @type SourceType: String
|
8161
|
+
# @param DestContent: 访问目的示例:
|
8162
|
+
# net:IP/CIDR(192.168.0.2)
|
8163
|
+
# domain:域名规则,例如*.qq.com
|
8164
|
+
# @type DestContent: String
|
8165
|
+
# @param DestType: 访问目的类型,类型可以为:net,domain
|
8166
|
+
# @type DestType: String
|
8167
|
+
# @param Protocol: 协议,可选的值:
|
8168
|
+
# TCP
|
8169
|
+
# UDP
|
8170
|
+
# ICMP
|
8171
|
+
# ANY
|
8172
|
+
# HTTP
|
8173
|
+
# HTTPS
|
8174
|
+
# HTTP/HTTPS
|
8175
|
+
# SMTP
|
8176
|
+
# SMTPS
|
8177
|
+
# SMTP/SMTPS
|
8178
|
+
# FTP
|
8179
|
+
# DNS
|
8180
|
+
# TLS/SSL
|
8181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8182
|
+
# @type Protocol: String
|
8183
|
+
# @param RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值:
|
8184
|
+
# accept:放行
|
8185
|
+
# drop:拒绝
|
8186
|
+
# log:观察
|
8187
|
+
# @type RuleAction: String
|
8188
|
+
# @param Port: 访问控制策略的端口。取值:
|
8189
|
+
# -1/-1:全部端口
|
8190
|
+
# 80:80端口
|
8191
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8192
|
+
# @type Port: String
|
8193
|
+
# @param Description: 描述
|
8194
|
+
# @type Description: String
|
8195
|
+
# @param OrderIndex: 规则顺序,-1表示最低,1表示最高
|
8196
|
+
# @type OrderIndex: Integer
|
8197
|
+
# @param Uuid: 规则对应的唯一id
|
8198
|
+
# @type Uuid: Integer
|
8199
|
+
# @param Enable: 规则状态,true表示启用,false表示禁用
|
8200
|
+
# @type Enable: String
|
8201
|
+
# @param EdgeId: 规则生效的范围,是在哪对vpc之间还是针对所有vpc间生效
|
8202
|
+
# @type EdgeId: String
|
8203
|
+
# @param DetectedTimes: 规则的命中次数,增删改查规则时无需传入此参数,主要用于返回查询结果数据
|
8204
|
+
# @type DetectedTimes: Integer
|
8205
|
+
# @param EdgeName: EdgeId对应的这对VPC间防火墙的描述
|
8206
|
+
# @type EdgeName: String
|
8207
|
+
# @param InternalUuid: 内部使用的uuid,一般情况下不会使用到该字段
|
8208
|
+
# @type InternalUuid: Integer
|
8209
|
+
# @param Deleted: 规则被删除:1,已删除;0,未删除
|
8210
|
+
# @type Deleted: Integer
|
8211
|
+
# @param FwGroupId: 规则生效的防火墙实例ID
|
8212
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8213
|
+
# @type FwGroupId: String
|
8214
|
+
# @param FwGroupName: 防火墙名称
|
8215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8216
|
+
# @type FwGroupName: String
|
8217
|
+
# @param BetaList: beta任务详情
|
8218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8219
|
+
# @type BetaList: Array
|
8220
|
+
|
8221
|
+
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Uuid, :Enable, :EdgeId, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList
|
8222
|
+
|
8223
|
+
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)
|
8224
|
+
@SourceContent = sourcecontent
|
8225
|
+
@SourceType = sourcetype
|
8226
|
+
@DestContent = destcontent
|
8227
|
+
@DestType = desttype
|
8228
|
+
@Protocol = protocol
|
8229
|
+
@RuleAction = ruleaction
|
8230
|
+
@Port = port
|
8231
|
+
@Description = description
|
8232
|
+
@OrderIndex = orderindex
|
8233
|
+
@Uuid = uuid
|
8234
|
+
@Enable = enable
|
8235
|
+
@EdgeId = edgeid
|
8236
|
+
@DetectedTimes = detectedtimes
|
8237
|
+
@EdgeName = edgename
|
8238
|
+
@InternalUuid = internaluuid
|
8239
|
+
@Deleted = deleted
|
8240
|
+
@FwGroupId = fwgroupid
|
8241
|
+
@FwGroupName = fwgroupname
|
8242
|
+
@BetaList = betalist
|
8243
|
+
end
|
8244
|
+
|
8245
|
+
def deserialize(params)
|
8246
|
+
@SourceContent = params['SourceContent']
|
8247
|
+
@SourceType = params['SourceType']
|
8248
|
+
@DestContent = params['DestContent']
|
8249
|
+
@DestType = params['DestType']
|
8250
|
+
@Protocol = params['Protocol']
|
8251
|
+
@RuleAction = params['RuleAction']
|
8252
|
+
@Port = params['Port']
|
8253
|
+
@Description = params['Description']
|
8254
|
+
@OrderIndex = params['OrderIndex']
|
8255
|
+
@Uuid = params['Uuid']
|
8256
|
+
@Enable = params['Enable']
|
8257
|
+
@EdgeId = params['EdgeId']
|
8258
|
+
@DetectedTimes = params['DetectedTimes']
|
8259
|
+
@EdgeName = params['EdgeName']
|
8260
|
+
@InternalUuid = params['InternalUuid']
|
8261
|
+
@Deleted = params['Deleted']
|
8262
|
+
@FwGroupId = params['FwGroupId']
|
8263
|
+
@FwGroupName = params['FwGroupName']
|
8264
|
+
unless params['BetaList'].nil?
|
8265
|
+
@BetaList = []
|
8266
|
+
params['BetaList'].each do |i|
|
8267
|
+
betainfobyacl_tmp = BetaInfoByACL.new
|
8268
|
+
betainfobyacl_tmp.deserialize(i)
|
8269
|
+
@BetaList << betainfobyacl_tmp
|
8270
|
+
end
|
8271
|
+
end
|
8272
|
+
end
|
8273
|
+
end
|
8274
|
+
|
6213
8275
|
# vpc区域数据详情
|
6214
8276
|
class VpcZoneData < TencentCloud::Common::AbstractModel
|
6215
8277
|
# @param Zone: 可用区
|