tencentcloud-sdk-cfw 3.0.754 → 3.0.756
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/models.rb +142 -28
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2cb2f66aaa2a16bab85408577d49166a84ad1b6
|
4
|
+
data.tar.gz: d294fc37b0a82c2e6e6fe1903f64248367c61680
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8291ce15e21b28643740cca28ad25472152aac71d765016bde823da6829bec37816fba21d2b602d8bdde222fce09e3418c77ff71cd9038e298523eefbe8bb58
|
7
|
+
data.tar.gz: 43f48c4e2d7d4ba85473ac07e2169b6706f26a309c79cabfb1832456644885ae88857efd28c5fc950c4cd6b5456796fc6f7ca496cfd896c36ec168e5fec3440c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.756
|
data/lib/v20190904/models.rb
CHANGED
@@ -269,16 +269,22 @@ module TencentCloud
|
|
269
269
|
# @type Type: Integer
|
270
270
|
# @param ClientToken: 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。
|
271
271
|
# @type ClientToken: String
|
272
|
-
# @param IsDelay:
|
272
|
+
# @param IsDelay: (IsDelay为老版参数,新版无需输入)是否延迟下发,1则延迟下发,否则立即下发
|
273
273
|
# @type IsDelay: Integer
|
274
|
+
# @param From: 来源 默认空 覆盖导入是 batch_import_cover
|
275
|
+
# @type From: String
|
276
|
+
# @param IsUseId: 是否使用id 默认不需要
|
277
|
+
# @type IsUseId: Integer
|
274
278
|
|
275
|
-
attr_accessor :Data, :Type, :ClientToken, :IsDelay
|
279
|
+
attr_accessor :Data, :Type, :ClientToken, :IsDelay, :From, :IsUseId
|
276
280
|
|
277
|
-
def initialize(data=nil, type=nil, clienttoken=nil, isdelay=nil)
|
281
|
+
def initialize(data=nil, type=nil, clienttoken=nil, isdelay=nil, from=nil, isuseid=nil)
|
278
282
|
@Data = data
|
279
283
|
@Type = type
|
280
284
|
@ClientToken = clienttoken
|
281
285
|
@IsDelay = isdelay
|
286
|
+
@From = from
|
287
|
+
@IsUseId = isuseid
|
282
288
|
end
|
283
289
|
|
284
290
|
def deserialize(params)
|
@@ -293,6 +299,8 @@ module TencentCloud
|
|
293
299
|
@Type = params['Type']
|
294
300
|
@ClientToken = params['ClientToken']
|
295
301
|
@IsDelay = params['IsDelay']
|
302
|
+
@From = params['From']
|
303
|
+
@IsUseId = params['IsUseId']
|
296
304
|
end
|
297
305
|
end
|
298
306
|
|
@@ -533,15 +541,24 @@ module TencentCloud
|
|
533
541
|
|
534
542
|
# 入侵防御放通封禁规则
|
535
543
|
class BlockIgnoreRule < TencentCloud::Common::AbstractModel
|
544
|
+
# @param RuleType: 1 封禁 2外部IP 3域名 4情报 5assets 6udf 7入侵防御规则id (2-7属于白名单类型)
|
545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
546
|
+
# @type RuleType: Integer
|
547
|
+
# @param Ioc: 规则ip或白名单内容
|
548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
549
|
+
# @type Ioc: String
|
550
|
+
# @param IocName: 资产实例名称、自定义策略名称等
|
551
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
552
|
+
# @type IocName: String
|
553
|
+
# @param IocInfo: 白名单信息
|
554
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
555
|
+
# @type IocInfo: String
|
536
556
|
# @param Domain: 域名
|
537
557
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
538
558
|
# @type Domain: String
|
539
559
|
# @param IP: IP
|
540
560
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
541
561
|
# @type IP: String
|
542
|
-
# @param Ioc: 规则ip
|
543
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
544
|
-
# @type Ioc: String
|
545
562
|
# @param Level: 危险等级
|
546
563
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
547
564
|
# @type Level: String
|
@@ -551,6 +568,9 @@ module TencentCloud
|
|
551
568
|
# @param Direction: 方向:1入站,0出站
|
552
569
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
553
570
|
# @type Direction: Integer
|
571
|
+
# @param DirectionList: 所有方向聚合成字符串
|
572
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
573
|
+
# @type DirectionList: String
|
554
574
|
# @param Protocol: 协议
|
555
575
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
556
576
|
# @type Protocol: String
|
@@ -584,16 +604,26 @@ module TencentCloud
|
|
584
604
|
# @param Comment: 备注
|
585
605
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
586
606
|
# @type Comment: String
|
607
|
+
# @param LastHitTime: 上次命中时间
|
608
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
609
|
+
# @type LastHitTime: String
|
610
|
+
# @param CustomRule: 自定义规则细节
|
611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
612
|
+
# @type CustomRule: :class:`Tencentcloud::Cfw.v20190904.models.CustomWhiteRule`
|
587
613
|
|
588
|
-
attr_accessor :
|
614
|
+
attr_accessor :RuleType, :Ioc, :IocName, :IocInfo, :Domain, :IP, :Level, :EventName, :Direction, :DirectionList, :Protocol, :Address, :Action, :StartTime, :EndTime, :IgnoreReason, :Source, :UniqueId, :MatchTimes, :Country, :Comment, :LastHitTime, :CustomRule
|
589
615
|
|
590
|
-
def initialize(
|
616
|
+
def initialize(ruletype=nil, ioc=nil, iocname=nil, iocinfo=nil, domain=nil, ip=nil, level=nil, eventname=nil, direction=nil, directionlist=nil, protocol=nil, address=nil, action=nil, starttime=nil, endtime=nil, ignorereason=nil, source=nil, uniqueid=nil, matchtimes=nil, country=nil, comment=nil, lasthittime=nil, customrule=nil)
|
617
|
+
@RuleType = ruletype
|
618
|
+
@Ioc = ioc
|
619
|
+
@IocName = iocname
|
620
|
+
@IocInfo = iocinfo
|
591
621
|
@Domain = domain
|
592
622
|
@IP = ip
|
593
|
-
@Ioc = ioc
|
594
623
|
@Level = level
|
595
624
|
@EventName = eventname
|
596
625
|
@Direction = direction
|
626
|
+
@DirectionList = directionlist
|
597
627
|
@Protocol = protocol
|
598
628
|
@Address = address
|
599
629
|
@Action = action
|
@@ -605,15 +635,21 @@ module TencentCloud
|
|
605
635
|
@MatchTimes = matchtimes
|
606
636
|
@Country = country
|
607
637
|
@Comment = comment
|
638
|
+
@LastHitTime = lasthittime
|
639
|
+
@CustomRule = customrule
|
608
640
|
end
|
609
641
|
|
610
642
|
def deserialize(params)
|
643
|
+
@RuleType = params['RuleType']
|
644
|
+
@Ioc = params['Ioc']
|
645
|
+
@IocName = params['IocName']
|
646
|
+
@IocInfo = params['IocInfo']
|
611
647
|
@Domain = params['Domain']
|
612
648
|
@IP = params['IP']
|
613
|
-
@Ioc = params['Ioc']
|
614
649
|
@Level = params['Level']
|
615
650
|
@EventName = params['EventName']
|
616
651
|
@Direction = params['Direction']
|
652
|
+
@DirectionList = params['DirectionList']
|
617
653
|
@Protocol = params['Protocol']
|
618
654
|
@Address = params['Address']
|
619
655
|
@Action = params['Action']
|
@@ -625,6 +661,11 @@ module TencentCloud
|
|
625
661
|
@MatchTimes = params['MatchTimes']
|
626
662
|
@Country = params['Country']
|
627
663
|
@Comment = params['Comment']
|
664
|
+
@LastHitTime = params['LastHitTime']
|
665
|
+
unless params['CustomRule'].nil?
|
666
|
+
@CustomRule = CustomWhiteRule.new
|
667
|
+
@CustomRule.deserialize(params['CustomRule'])
|
668
|
+
end
|
628
669
|
end
|
629
670
|
end
|
630
671
|
|
@@ -1464,10 +1505,12 @@ module TencentCloud
|
|
1464
1505
|
# @type Description: String
|
1465
1506
|
# @param ParamTemplateId: 端口协议组ID
|
1466
1507
|
# @type ParamTemplateId: String
|
1508
|
+
# @param InternalUuid: 内部id
|
1509
|
+
# @type InternalUuid: Integer
|
1467
1510
|
|
1468
|
-
attr_accessor :SourceContent, :SourceType, :TargetContent, :TargetType, :Protocol, :RuleAction, :Port, :Direction, :OrderIndex, :Enable, :Uuid, :Description, :ParamTemplateId
|
1511
|
+
attr_accessor :SourceContent, :SourceType, :TargetContent, :TargetType, :Protocol, :RuleAction, :Port, :Direction, :OrderIndex, :Enable, :Uuid, :Description, :ParamTemplateId, :InternalUuid
|
1469
1512
|
|
1470
|
-
def initialize(sourcecontent=nil, sourcetype=nil, targetcontent=nil, targettype=nil, protocol=nil, ruleaction=nil, port=nil, direction=nil, orderindex=nil, enable=nil, uuid=nil, description=nil, paramtemplateid=nil)
|
1513
|
+
def initialize(sourcecontent=nil, sourcetype=nil, targetcontent=nil, targettype=nil, protocol=nil, ruleaction=nil, port=nil, direction=nil, orderindex=nil, enable=nil, uuid=nil, description=nil, paramtemplateid=nil, internaluuid=nil)
|
1471
1514
|
@SourceContent = sourcecontent
|
1472
1515
|
@SourceType = sourcetype
|
1473
1516
|
@TargetContent = targetcontent
|
@@ -1481,6 +1524,7 @@ module TencentCloud
|
|
1481
1524
|
@Uuid = uuid
|
1482
1525
|
@Description = description
|
1483
1526
|
@ParamTemplateId = paramtemplateid
|
1527
|
+
@InternalUuid = internaluuid
|
1484
1528
|
end
|
1485
1529
|
|
1486
1530
|
def deserialize(params)
|
@@ -1497,6 +1541,7 @@ module TencentCloud
|
|
1497
1541
|
@Uuid = params['Uuid']
|
1498
1542
|
@Description = params['Description']
|
1499
1543
|
@ParamTemplateId = params['ParamTemplateId']
|
1544
|
+
@InternalUuid = params['InternalUuid']
|
1500
1545
|
end
|
1501
1546
|
end
|
1502
1547
|
|
@@ -1711,6 +1756,38 @@ module TencentCloud
|
|
1711
1756
|
end
|
1712
1757
|
end
|
1713
1758
|
|
1759
|
+
# 自定义白名单规则
|
1760
|
+
class CustomWhiteRule < TencentCloud::Common::AbstractModel
|
1761
|
+
# @param SrcIP: 访问源
|
1762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1763
|
+
# @type SrcIP: String
|
1764
|
+
# @param DstIP: 访问目的
|
1765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1766
|
+
# @type DstIP: String
|
1767
|
+
# @param IdsRuleName: 规则名称
|
1768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1769
|
+
# @type IdsRuleName: String
|
1770
|
+
# @param IdsRuleId: 规则ID
|
1771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1772
|
+
# @type IdsRuleId: String
|
1773
|
+
|
1774
|
+
attr_accessor :SrcIP, :DstIP, :IdsRuleName, :IdsRuleId
|
1775
|
+
|
1776
|
+
def initialize(srcip=nil, dstip=nil, idsrulename=nil, idsruleid=nil)
|
1777
|
+
@SrcIP = srcip
|
1778
|
+
@DstIP = dstip
|
1779
|
+
@IdsRuleName = idsrulename
|
1780
|
+
@IdsRuleId = idsruleid
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
def deserialize(params)
|
1784
|
+
@SrcIP = params['SrcIP']
|
1785
|
+
@DstIP = params['DstIP']
|
1786
|
+
@IdsRuleName = params['IdsRuleName']
|
1787
|
+
@IdsRuleId = params['IdsRuleId']
|
1788
|
+
end
|
1789
|
+
end
|
1790
|
+
|
1714
1791
|
# 数据库白名单规则数据
|
1715
1792
|
class DatabaseWhiteListRuleData < TencentCloud::Common::AbstractModel
|
1716
1793
|
# @param SourceIp: 访问源
|
@@ -2280,10 +2357,16 @@ module TencentCloud
|
|
2280
2357
|
# @param ParamTemplateId: 协议端口组ID
|
2281
2358
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2282
2359
|
# @type ParamTemplateId: String
|
2360
|
+
# @param SourceName: 访问源名称
|
2361
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2362
|
+
# @type SourceName: String
|
2363
|
+
# @param TargetName: 访问目的名称
|
2364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2365
|
+
# @type TargetName: String
|
2283
2366
|
|
2284
|
-
attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId
|
2367
|
+
attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId, :SourceName, :TargetName
|
2285
2368
|
|
2286
|
-
def initialize(sourcecontent=nil, targetcontent=nil, protocol=nil, port=nil, ruleaction=nil, description=nil, count=nil, orderindex=nil, sourcetype=nil, targettype=nil, uuid=nil, invalid=nil, isregion=nil, countrycode=nil, citycode=nil, countryname=nil, cityname=nil, cloudcode=nil, iscloud=nil, enable=nil, direction=nil, instancename=nil, internaluuid=nil, status=nil, betalist=nil, scope=nil, internetborderuuid=nil, paramtemplatename=nil, paramtemplateid=nil)
|
2369
|
+
def initialize(sourcecontent=nil, targetcontent=nil, protocol=nil, port=nil, ruleaction=nil, description=nil, count=nil, orderindex=nil, sourcetype=nil, targettype=nil, uuid=nil, invalid=nil, isregion=nil, countrycode=nil, citycode=nil, countryname=nil, cityname=nil, cloudcode=nil, iscloud=nil, enable=nil, direction=nil, instancename=nil, internaluuid=nil, status=nil, betalist=nil, scope=nil, internetborderuuid=nil, paramtemplatename=nil, paramtemplateid=nil, sourcename=nil, targetname=nil)
|
2287
2370
|
@SourceContent = sourcecontent
|
2288
2371
|
@TargetContent = targetcontent
|
2289
2372
|
@Protocol = protocol
|
@@ -2313,6 +2396,8 @@ module TencentCloud
|
|
2313
2396
|
@InternetBorderUuid = internetborderuuid
|
2314
2397
|
@ParamTemplateName = paramtemplatename
|
2315
2398
|
@ParamTemplateId = paramtemplateid
|
2399
|
+
@SourceName = sourcename
|
2400
|
+
@TargetName = targetname
|
2316
2401
|
end
|
2317
2402
|
|
2318
2403
|
def deserialize(params)
|
@@ -2352,6 +2437,8 @@ module TencentCloud
|
|
2352
2437
|
@InternetBorderUuid = params['InternetBorderUuid']
|
2353
2438
|
@ParamTemplateName = params['ParamTemplateName']
|
2354
2439
|
@ParamTemplateId = params['ParamTemplateId']
|
2440
|
+
@SourceName = params['SourceName']
|
2441
|
+
@TargetName = params['TargetName']
|
2355
2442
|
end
|
2356
2443
|
end
|
2357
2444
|
|
@@ -2826,35 +2913,40 @@ module TencentCloud
|
|
2826
2913
|
# @type Offset: Integer
|
2827
2914
|
# @param Direction: 方向:1互联网入站,0互联网出站,3内网,空 全部方向
|
2828
2915
|
# @type Direction: String
|
2829
|
-
# @param RuleType: 规则类型:1封禁,2放通
|
2830
|
-
# @type RuleType: Integer
|
2831
2916
|
# @param Order: 排序类型:desc降序,asc正序
|
2832
2917
|
# @type Order: String
|
2833
2918
|
# @param By: 排序列:EndTime结束时间,StartTime开始时间,MatchTimes命中次数
|
2834
2919
|
# @type By: String
|
2835
2920
|
# @param SearchValue: 搜索参数,json格式字符串,空则传"{}",域名:domain,危险等级:level,放通原因:ignore_reason,安全事件来源:rule_source,地理位置:address,模糊搜索:common
|
2836
2921
|
# @type SearchValue: String
|
2922
|
+
# @param RuleType: 规则类型:1封禁,2放通
|
2923
|
+
# @type RuleType: Integer
|
2924
|
+
# @param ShowType: blocklist 封禁列表
|
2925
|
+
# whitelist 白名单列表
|
2926
|
+
# @type ShowType: String
|
2837
2927
|
|
2838
|
-
attr_accessor :Limit, :Offset, :Direction, :
|
2928
|
+
attr_accessor :Limit, :Offset, :Direction, :Order, :By, :SearchValue, :RuleType, :ShowType
|
2839
2929
|
|
2840
|
-
def initialize(limit=nil, offset=nil, direction=nil,
|
2930
|
+
def initialize(limit=nil, offset=nil, direction=nil, order=nil, by=nil, searchvalue=nil, ruletype=nil, showtype=nil)
|
2841
2931
|
@Limit = limit
|
2842
2932
|
@Offset = offset
|
2843
2933
|
@Direction = direction
|
2844
|
-
@RuleType = ruletype
|
2845
2934
|
@Order = order
|
2846
2935
|
@By = by
|
2847
2936
|
@SearchValue = searchvalue
|
2937
|
+
@RuleType = ruletype
|
2938
|
+
@ShowType = showtype
|
2848
2939
|
end
|
2849
2940
|
|
2850
2941
|
def deserialize(params)
|
2851
2942
|
@Limit = params['Limit']
|
2852
2943
|
@Offset = params['Offset']
|
2853
2944
|
@Direction = params['Direction']
|
2854
|
-
@RuleType = params['RuleType']
|
2855
2945
|
@Order = params['Order']
|
2856
2946
|
@By = params['By']
|
2857
2947
|
@SearchValue = params['SearchValue']
|
2948
|
+
@RuleType = params['RuleType']
|
2949
|
+
@ShowType = params['ShowType']
|
2858
2950
|
end
|
2859
2951
|
end
|
2860
2952
|
|
@@ -2870,17 +2962,20 @@ module TencentCloud
|
|
2870
2962
|
# @type ReturnMsg: String
|
2871
2963
|
# @param SourceList: 安全事件来源下拉框
|
2872
2964
|
# @type SourceList: Array
|
2965
|
+
# @param RuleTypeDataList: 对应规则类型的数量,示例:[0,122,30,55,12,232,0],封禁0个,IP地址122个,域名30个,威胁情报55个,资产实例12个,自定义策略232个,入侵防御规则0个
|
2966
|
+
# @type RuleTypeDataList: Array
|
2873
2967
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2874
2968
|
# @type RequestId: String
|
2875
2969
|
|
2876
|
-
attr_accessor :Data, :Total, :ReturnCode, :ReturnMsg, :SourceList, :RequestId
|
2970
|
+
attr_accessor :Data, :Total, :ReturnCode, :ReturnMsg, :SourceList, :RuleTypeDataList, :RequestId
|
2877
2971
|
|
2878
|
-
def initialize(data=nil, total=nil, returncode=nil, returnmsg=nil, sourcelist=nil, requestid=nil)
|
2972
|
+
def initialize(data=nil, total=nil, returncode=nil, returnmsg=nil, sourcelist=nil, ruletypedatalist=nil, requestid=nil)
|
2879
2973
|
@Data = data
|
2880
2974
|
@Total = total
|
2881
2975
|
@ReturnCode = returncode
|
2882
2976
|
@ReturnMsg = returnmsg
|
2883
2977
|
@SourceList = sourcelist
|
2978
|
+
@RuleTypeDataList = ruletypedatalist
|
2884
2979
|
@RequestId = requestid
|
2885
2980
|
end
|
2886
2981
|
|
@@ -2897,6 +2992,7 @@ module TencentCloud
|
|
2897
2992
|
@ReturnCode = params['ReturnCode']
|
2898
2993
|
@ReturnMsg = params['ReturnMsg']
|
2899
2994
|
@SourceList = params['SourceList']
|
2995
|
+
@RuleTypeDataList = params['RuleTypeDataList']
|
2900
2996
|
@RequestId = params['RequestId']
|
2901
2997
|
end
|
2902
2998
|
end
|
@@ -8135,10 +8231,12 @@ module TencentCloud
|
|
8135
8231
|
# @param ParameterName: 模板名称
|
8136
8232
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8137
8233
|
# @type ParameterName: String
|
8234
|
+
# @param ProtocolPortName: 端口协议类型参数模板名称
|
8235
|
+
# @type ProtocolPortName: String
|
8138
8236
|
|
8139
|
-
attr_accessor :OrderIndex, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Detail, :BothWay, :Id, :Status, :IsNew, :VpcId, :SubnetId, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ServiceTemplateId, :BothWayInfo, :Direction, :ProtocolPortType, :Uuid, :Region, :AssetGroupNameIn, :AssetGroupNameOut, :ParameterName
|
8237
|
+
attr_accessor :OrderIndex, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Detail, :BothWay, :Id, :Status, :IsNew, :VpcId, :SubnetId, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ServiceTemplateId, :BothWayInfo, :Direction, :ProtocolPortType, :Uuid, :Region, :AssetGroupNameIn, :AssetGroupNameOut, :ParameterName, :ProtocolPortName
|
8140
8238
|
|
8141
|
-
def initialize(orderindex=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, detail=nil, bothway=nil, id=nil, status=nil, isnew=nil, vpcid=nil, subnetid=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, servicetemplateid=nil, bothwayinfo=nil, direction=nil, protocolporttype=nil, uuid=nil, region=nil, assetgroupnamein=nil, assetgroupnameout=nil, parametername=nil)
|
8239
|
+
def initialize(orderindex=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, detail=nil, bothway=nil, id=nil, status=nil, isnew=nil, vpcid=nil, subnetid=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, servicetemplateid=nil, bothwayinfo=nil, direction=nil, protocolporttype=nil, uuid=nil, region=nil, assetgroupnamein=nil, assetgroupnameout=nil, parametername=nil, protocolportname=nil)
|
8142
8240
|
@OrderIndex = orderindex
|
8143
8241
|
@SourceId = sourceid
|
8144
8242
|
@SourceType = sourcetype
|
@@ -8167,6 +8265,7 @@ module TencentCloud
|
|
8167
8265
|
@AssetGroupNameIn = assetgroupnamein
|
8168
8266
|
@AssetGroupNameOut = assetgroupnameout
|
8169
8267
|
@ParameterName = parametername
|
8268
|
+
@ProtocolPortName = protocolportname
|
8170
8269
|
end
|
8171
8270
|
|
8172
8271
|
def deserialize(params)
|
@@ -8205,6 +8304,7 @@ module TencentCloud
|
|
8205
8304
|
@AssetGroupNameIn = params['AssetGroupNameIn']
|
8206
8305
|
@AssetGroupNameOut = params['AssetGroupNameOut']
|
8207
8306
|
@ParameterName = params['ParameterName']
|
8307
|
+
@ProtocolPortName = params['ProtocolPortName']
|
8208
8308
|
end
|
8209
8309
|
end
|
8210
8310
|
|
@@ -8274,10 +8374,12 @@ module TencentCloud
|
|
8274
8374
|
# @param Enable: (入参时、Enable已弃用;由通用配置中新增规则启用状态控制)
|
8275
8375
|
# 规则状态,true表示启用,false表示禁用
|
8276
8376
|
# @type Enable: String
|
8377
|
+
# @param Uid: 规则对应的唯一内部id
|
8378
|
+
# @type Uid: String
|
8277
8379
|
|
8278
|
-
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :RuleAction, :Description, :OrderIndex, :Protocol, :Port, :ServiceTemplateId, :Id, :Enable
|
8380
|
+
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :RuleAction, :Description, :OrderIndex, :Protocol, :Port, :ServiceTemplateId, :Id, :Enable, :Uid
|
8279
8381
|
|
8280
|
-
def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, ruleaction=nil, description=nil, orderindex=nil, protocol=nil, port=nil, servicetemplateid=nil, id=nil, enable=nil)
|
8382
|
+
def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, ruleaction=nil, description=nil, orderindex=nil, protocol=nil, port=nil, servicetemplateid=nil, id=nil, enable=nil, uid=nil)
|
8281
8383
|
@SourceContent = sourcecontent
|
8282
8384
|
@SourceType = sourcetype
|
8283
8385
|
@DestContent = destcontent
|
@@ -8290,6 +8392,7 @@ module TencentCloud
|
|
8290
8392
|
@ServiceTemplateId = servicetemplateid
|
8291
8393
|
@Id = id
|
8292
8394
|
@Enable = enable
|
8395
|
+
@Uid = uid
|
8293
8396
|
end
|
8294
8397
|
|
8295
8398
|
def deserialize(params)
|
@@ -8305,6 +8408,7 @@ module TencentCloud
|
|
8305
8408
|
@ServiceTemplateId = params['ServiceTemplateId']
|
8306
8409
|
@Id = params['Id']
|
8307
8410
|
@Enable = params['Enable']
|
8411
|
+
@Uid = params['Uid']
|
8308
8412
|
end
|
8309
8413
|
end
|
8310
8414
|
|
@@ -9328,10 +9432,16 @@ module TencentCloud
|
|
9328
9432
|
# @param ParamTemplateName: 端口协议组名称
|
9329
9433
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9330
9434
|
# @type ParamTemplateName: String
|
9435
|
+
# @param TargetName: 访问目的名称
|
9436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9437
|
+
# @type TargetName: String
|
9438
|
+
# @param SourceName: 访问源名称
|
9439
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9440
|
+
# @type SourceName: String
|
9331
9441
|
|
9332
|
-
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Uuid, :Enable, :EdgeId, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName
|
9442
|
+
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Uuid, :Enable, :EdgeId, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName
|
9333
9443
|
|
9334
|
-
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, paramtemplateid=nil, paramtemplatename=nil)
|
9444
|
+
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, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil)
|
9335
9445
|
@SourceContent = sourcecontent
|
9336
9446
|
@SourceType = sourcetype
|
9337
9447
|
@DestContent = destcontent
|
@@ -9353,6 +9463,8 @@ module TencentCloud
|
|
9353
9463
|
@BetaList = betalist
|
9354
9464
|
@ParamTemplateId = paramtemplateid
|
9355
9465
|
@ParamTemplateName = paramtemplatename
|
9466
|
+
@TargetName = targetname
|
9467
|
+
@SourceName = sourcename
|
9356
9468
|
end
|
9357
9469
|
|
9358
9470
|
def deserialize(params)
|
@@ -9384,6 +9496,8 @@ module TencentCloud
|
|
9384
9496
|
end
|
9385
9497
|
@ParamTemplateId = params['ParamTemplateId']
|
9386
9498
|
@ParamTemplateName = params['ParamTemplateName']
|
9499
|
+
@TargetName = params['TargetName']
|
9500
|
+
@SourceName = params['SourceName']
|
9387
9501
|
end
|
9388
9502
|
end
|
9389
9503
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cfw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.756
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20190904/client.rb
|
37
|
-
- lib/v20190904/models.rb
|
38
36
|
- lib/tencentcloud-sdk-cfw.rb
|
37
|
+
- lib/v20190904/models.rb
|
38
|
+
- lib/v20190904/client.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|