tencentcloud-sdk-teo 1.0.347 → 1.0.348

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220106/models.rb +204 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de11ba6a48c8837a37a41411b0b61cae87fe0796
4
- data.tar.gz: 3cd468536230ad0581e9b0056da35ff806ade6cd
3
+ metadata.gz: 526ad176d7a813626c5c2da02fa19a39092e95eb
4
+ data.tar.gz: 565be2a8e151be2815b3180a66a9d71302a9f4b4
5
5
  SHA512:
6
- metadata.gz: 69ac0443f5e739f5e587bd6139896b668623c54876c297f2c0275289af66ea3fc6b26effafdb95b433e1aca21ffe47813898b03544d49340b30f52254bbb17a9
7
- data.tar.gz: 10ff3ebf9abfa1f08a525dfe43681b890182ed586d02f3051b5bbfed67e421ecfb8ff626a562eb0fd16ce7ce39f81b399f976fb4265c8df81ab15b2cd2e9238d
6
+ metadata.gz: 7d90094e27339106350343a6339b8f92c6e1f1a4d9fd2a8ea073d13a63b23cbb83b9edc83b8501185886b90802c7e8130b231ffea0d6adb2a0a71897b270c688
7
+ data.tar.gz: e7431468c629ef02d284fd27bc860fd847940792befb284a42a7822284fac2375714e8d31d95fd701671b643fd0e438c047544845a96e31139ad4c2056de204a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.347
1
+ 1.0.348
@@ -353,15 +353,19 @@ module TencentCloud
353
353
  # @type IspBotRule: :class:`Tencentcloud::Teo.v20220106.models.BotManagedRule`
354
354
  # @param PortraitRule: 用户画像规则
355
355
  # @type PortraitRule: :class:`Tencentcloud::Teo.v20220106.models.BotPortraitRule`
356
+ # @param IntelligenceRule: Bot智能分析
357
+ # 注意:此字段可能返回 null,表示取不到有效值。
358
+ # @type IntelligenceRule: :class:`Tencentcloud::Teo.v20220106.models.IntelligenceRule`
356
359
 
357
- attr_accessor :Switch, :ManagedRule, :UaBotRule, :IspBotRule, :PortraitRule
360
+ attr_accessor :Switch, :ManagedRule, :UaBotRule, :IspBotRule, :PortraitRule, :IntelligenceRule
358
361
 
359
- def initialize(switch=nil, managedrule=nil, uabotrule=nil, ispbotrule=nil, portraitrule=nil)
362
+ def initialize(switch=nil, managedrule=nil, uabotrule=nil, ispbotrule=nil, portraitrule=nil, intelligencerule=nil)
360
363
  @Switch = switch
361
364
  @ManagedRule = managedrule
362
365
  @UaBotRule = uabotrule
363
366
  @IspBotRule = ispbotrule
364
367
  @PortraitRule = portraitrule
368
+ @IntelligenceRule = intelligencerule
365
369
  end
366
370
 
367
371
  def deserialize(params)
@@ -382,6 +386,10 @@ module TencentCloud
382
386
  @PortraitRule = BotPortraitRule.new
383
387
  @PortraitRule.deserialize(params['PortraitRule'])
384
388
  end
389
+ unless params['IntelligenceRule'].nil?
390
+ @IntelligenceRule = IntelligenceRule.new
391
+ @IntelligenceRule.deserialize(params['IntelligenceRule'])
392
+ end
385
393
  end
386
394
  end
387
395
 
@@ -1960,10 +1968,13 @@ module TencentCloud
1960
1968
  # @type ConnectTimeout: Integer
1961
1969
  # @param EmptyConnectProtect: 空连接防护开启 0-1
1962
1970
  # @type EmptyConnectProtect: String
1971
+ # @param UdpShard: UDP分片开关;off-关闭,on-开启
1972
+ # 注意:此字段可能返回 null,表示取不到有效值。
1973
+ # @type UdpShard: String
1963
1974
 
1964
- attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :SourceCreateLimit, :SourceConnectLimit, :DestinationCreateLimit, :DestinationConnectLimit, :AbnormalConnectNum, :AbnormalSynRatio, :AbnormalSynNum, :ConnectTimeout, :EmptyConnectProtect
1975
+ attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :SourceCreateLimit, :SourceConnectLimit, :DestinationCreateLimit, :DestinationConnectLimit, :AbnormalConnectNum, :AbnormalSynRatio, :AbnormalSynNum, :ConnectTimeout, :EmptyConnectProtect, :UdpShard
1965
1976
 
1966
- def initialize(droptcp=nil, dropudp=nil, dropicmp=nil, dropother=nil, sourcecreatelimit=nil, sourceconnectlimit=nil, destinationcreatelimit=nil, destinationconnectlimit=nil, abnormalconnectnum=nil, abnormalsynratio=nil, abnormalsynnum=nil, connecttimeout=nil, emptyconnectprotect=nil)
1977
+ def initialize(droptcp=nil, dropudp=nil, dropicmp=nil, dropother=nil, sourcecreatelimit=nil, sourceconnectlimit=nil, destinationcreatelimit=nil, destinationconnectlimit=nil, abnormalconnectnum=nil, abnormalsynratio=nil, abnormalsynnum=nil, connecttimeout=nil, emptyconnectprotect=nil, udpshard=nil)
1967
1978
  @DropTcp = droptcp
1968
1979
  @DropUdp = dropudp
1969
1980
  @DropIcmp = dropicmp
@@ -1977,6 +1988,7 @@ module TencentCloud
1977
1988
  @AbnormalSynNum = abnormalsynnum
1978
1989
  @ConnectTimeout = connecttimeout
1979
1990
  @EmptyConnectProtect = emptyconnectprotect
1991
+ @UdpShard = udpshard
1980
1992
  end
1981
1993
 
1982
1994
  def deserialize(params)
@@ -1993,6 +2005,7 @@ module TencentCloud
1993
2005
  @AbnormalSynNum = params['AbnormalSynNum']
1994
2006
  @ConnectTimeout = params['ConnectTimeout']
1995
2007
  @EmptyConnectProtect = params['EmptyConnectProtect']
2008
+ @UdpShard = params['UdpShard']
1996
2009
  end
1997
2010
  end
1998
2011
 
@@ -2646,10 +2659,13 @@ module TencentCloud
2646
2659
  # @param Switch: DDoS开关 on-开启;off-关闭
2647
2660
  # 注意:此字段可能返回 null,表示取不到有效值。
2648
2661
  # @type Switch: String
2662
+ # @param UdpShardOpen: UDP分片功能是否支持,off-不支持,on-支持
2663
+ # 注意:此字段可能返回 null,表示取不到有效值。
2664
+ # @type UdpShardOpen: String
2649
2665
 
2650
- attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch
2666
+ attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch, :UdpShardOpen
2651
2667
 
2652
- def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil)
2668
+ def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil, udpshardopen=nil)
2653
2669
  @DdosStatusInfo = ddosstatusinfo
2654
2670
  @DdosGeoIp = ddosgeoip
2655
2671
  @DdosAllowBlock = ddosallowblock
@@ -2657,6 +2673,7 @@ module TencentCloud
2657
2673
  @DdosPacketFilter = ddospacketfilter
2658
2674
  @DdosAcl = ddosacl
2659
2675
  @Switch = switch
2676
+ @UdpShardOpen = udpshardopen
2660
2677
  end
2661
2678
 
2662
2679
  def deserialize(params)
@@ -2685,6 +2702,7 @@ module TencentCloud
2685
2702
  @DdosAcl.deserialize(params['DdosAcl'])
2686
2703
  end
2687
2704
  @Switch = params['Switch']
2705
+ @UdpShardOpen = params['UdpShardOpen']
2688
2706
  end
2689
2707
  end
2690
2708
 
@@ -5165,20 +5183,24 @@ module TencentCloud
5165
5183
  # @type EndTime: String
5166
5184
  # @param MetricNames: 指标列表
5167
5185
  # @type MetricNames: Array
5168
- # @param ZoneIds: ZoneId列表,仅在zone/instance维度下查询时该参数有效
5186
+ # @param ZoneIds: 站点id列表
5169
5187
  # @type ZoneIds: Array
5170
- # @param InstanceIds: InstanceId列表,仅在Instance维度下查询时该参数有效
5188
+ # @param InstanceIds: 该字段已废弃,请使用ProxyIds字段
5171
5189
  # @type InstanceIds: Array
5172
- # @param Protocol: 协议类型, 该字段当前无效
5190
+ # @param Protocol: 该字段当前无效
5173
5191
  # @type Protocol: String
5174
5192
  # @param Interval: 时间间隔,选填{min, 5min, hour, day}
5175
5193
  # @type Interval: String
5176
- # @param RuleId: 规则ID,仅在instance维度有效
5194
+ # @param RuleId: 该字段当前无效,请使用Filter筛选
5177
5195
  # @type RuleId: String
5196
+ # @param Filters: 支持的 Filter:proxyd,ruleId
5197
+ # @type Filters: Array
5198
+ # @param ProxyIds: 四层实例列表
5199
+ # @type ProxyIds: Array
5178
5200
 
5179
- attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId
5201
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId, :Filters, :ProxyIds
5180
5202
 
5181
- def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil)
5203
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil, filters=nil, proxyids=nil)
5182
5204
  @StartTime = starttime
5183
5205
  @EndTime = endtime
5184
5206
  @MetricNames = metricnames
@@ -5187,6 +5209,8 @@ module TencentCloud
5187
5209
  @Protocol = protocol
5188
5210
  @Interval = interval
5189
5211
  @RuleId = ruleid
5212
+ @Filters = filters
5213
+ @ProxyIds = proxyids
5190
5214
  end
5191
5215
 
5192
5216
  def deserialize(params)
@@ -5198,6 +5222,15 @@ module TencentCloud
5198
5222
  @Protocol = params['Protocol']
5199
5223
  @Interval = params['Interval']
5200
5224
  @RuleId = params['RuleId']
5225
+ unless params['Filters'].nil?
5226
+ @Filters = []
5227
+ params['Filters'].each do |i|
5228
+ filter_tmp = Filter.new
5229
+ filter_tmp.deserialize(i)
5230
+ @Filters << filter_tmp
5231
+ end
5232
+ end
5233
+ @ProxyIds = params['ProxyIds']
5201
5234
  end
5202
5235
  end
5203
5236
 
@@ -7167,6 +7200,123 @@ module TencentCloud
7167
7200
  end
7168
7201
  end
7169
7202
 
7203
+ # 智能分析规则
7204
+ class IntelligenceRule < TencentCloud::Common::AbstractModel
7205
+ # @param Switch: 开关
7206
+ # 注意:此字段可能返回 null,表示取不到有效值。
7207
+ # @type Switch: String
7208
+ # @param Items: 规则详情
7209
+ # 注意:此字段可能返回 null,表示取不到有效值。
7210
+ # @type Items: Array
7211
+
7212
+ attr_accessor :Switch, :Items
7213
+
7214
+ def initialize(switch=nil, items=nil)
7215
+ @Switch = switch
7216
+ @Items = items
7217
+ end
7218
+
7219
+ def deserialize(params)
7220
+ @Switch = params['Switch']
7221
+ unless params['Items'].nil?
7222
+ @Items = []
7223
+ params['Items'].each do |i|
7224
+ intelligenceruleitem_tmp = IntelligenceRuleItem.new
7225
+ intelligenceruleitem_tmp.deserialize(i)
7226
+ @Items << intelligenceruleitem_tmp
7227
+ end
7228
+ end
7229
+ end
7230
+ end
7231
+
7232
+ # Bot智能分析规则详情
7233
+ class IntelligenceRuleItem < TencentCloud::Common::AbstractModel
7234
+ # @param Label: 恶意BOT
7235
+ # 注意:此字段可能返回 null,表示取不到有效值。
7236
+ # @type Label: String
7237
+ # @param Action: 动作
7238
+ # 注意:此字段可能返回 null,表示取不到有效值。
7239
+ # @type Action: String
7240
+
7241
+ attr_accessor :Label, :Action
7242
+
7243
+ def initialize(label=nil, action=nil)
7244
+ @Label = label
7245
+ @Action = action
7246
+ end
7247
+
7248
+ def deserialize(params)
7249
+ @Label = params['Label']
7250
+ @Action = params['Action']
7251
+ end
7252
+ end
7253
+
7254
+ # IP黑白名单及IP区域控制配置
7255
+ class IpTableConfig < TencentCloud::Common::AbstractModel
7256
+ # @param Switch: 开关
7257
+ # 注意:此字段可能返回 null,表示取不到有效值。
7258
+ # @type Switch: String
7259
+ # @param Rules: []
7260
+ # 注意:此字段可能返回 null,表示取不到有效值。
7261
+ # @type Rules: Array
7262
+
7263
+ attr_accessor :Switch, :Rules
7264
+
7265
+ def initialize(switch=nil, rules=nil)
7266
+ @Switch = switch
7267
+ @Rules = rules
7268
+ end
7269
+
7270
+ def deserialize(params)
7271
+ @Switch = params['Switch']
7272
+ unless params['Rules'].nil?
7273
+ @Rules = []
7274
+ params['Rules'].each do |i|
7275
+ iptablerule_tmp = IpTableRule.new
7276
+ iptablerule_tmp.deserialize(i)
7277
+ @Rules << iptablerule_tmp
7278
+ end
7279
+ end
7280
+ end
7281
+ end
7282
+
7283
+ # IP黑白名单详细规则
7284
+ class IpTableRule < TencentCloud::Common::AbstractModel
7285
+ # @param Action: 动作: drop拦截,trans放行,monitor观察
7286
+ # 注意:此字段可能返回 null,表示取不到有效值。
7287
+ # @type Action: String
7288
+ # @param MatchFrom: 根据类型匹配:ip(根据ip), area(根据区域)
7289
+ # 注意:此字段可能返回 null,表示取不到有效值。
7290
+ # @type MatchFrom: String
7291
+ # @param MatchContent: 匹配内容
7292
+ # 注意:此字段可能返回 null,表示取不到有效值。
7293
+ # @type MatchContent: String
7294
+ # @param RuleID: 规则id
7295
+ # 注意:此字段可能返回 null,表示取不到有效值。
7296
+ # @type RuleID: Integer
7297
+ # @param UpdateTime: 更新时间
7298
+ # 注意:此字段可能返回 null,表示取不到有效值。
7299
+ # @type UpdateTime: String
7300
+
7301
+ attr_accessor :Action, :MatchFrom, :MatchContent, :RuleID, :UpdateTime
7302
+
7303
+ def initialize(action=nil, matchfrom=nil, matchcontent=nil, ruleid=nil, updatetime=nil)
7304
+ @Action = action
7305
+ @MatchFrom = matchfrom
7306
+ @MatchContent = matchcontent
7307
+ @RuleID = ruleid
7308
+ @UpdateTime = updatetime
7309
+ end
7310
+
7311
+ def deserialize(params)
7312
+ @Action = params['Action']
7313
+ @MatchFrom = params['MatchFrom']
7314
+ @MatchContent = params['MatchContent']
7315
+ @RuleID = params['RuleID']
7316
+ @UpdateTime = params['UpdateTime']
7317
+ end
7318
+ end
7319
+
7170
7320
  # 离线日志详细信息
7171
7321
  class L7OfflineLog < TencentCloud::Common::AbstractModel
7172
7322
  # @param LogTime: 日志打包开始时间
@@ -8881,13 +9031,17 @@ module TencentCloud
8881
9031
  # @param Template: 默认模板
8882
9032
  # 注意:此字段可能返回 null,表示取不到有效值。
8883
9033
  # @type Template: :class:`Tencentcloud::Teo.v20220106.models.RateLimitTemplate`
9034
+ # @param Intelligence: 智能客户端过滤
9035
+ # 注意:此字段可能返回 null,表示取不到有效值。
9036
+ # @type Intelligence: :class:`Tencentcloud::Teo.v20220106.models.RateLimitIntelligence`
8884
9037
 
8885
- attr_accessor :Switch, :UserRules, :Template
9038
+ attr_accessor :Switch, :UserRules, :Template, :Intelligence
8886
9039
 
8887
- def initialize(switch=nil, userrules=nil, template=nil)
9040
+ def initialize(switch=nil, userrules=nil, template=nil, intelligence=nil)
8888
9041
  @Switch = switch
8889
9042
  @UserRules = userrules
8890
9043
  @Template = template
9044
+ @Intelligence = intelligence
8891
9045
  end
8892
9046
 
8893
9047
  def deserialize(params)
@@ -8904,6 +9058,32 @@ module TencentCloud
8904
9058
  @Template = RateLimitTemplate.new
8905
9059
  @Template.deserialize(params['Template'])
8906
9060
  end
9061
+ unless params['Intelligence'].nil?
9062
+ @Intelligence = RateLimitIntelligence.new
9063
+ @Intelligence.deserialize(params['Intelligence'])
9064
+ end
9065
+ end
9066
+ end
9067
+
9068
+ # 智能客户端过滤
9069
+ class RateLimitIntelligence < TencentCloud::Common::AbstractModel
9070
+ # @param Switch: 功能开关
9071
+ # 注意:此字段可能返回 null,表示取不到有效值。
9072
+ # @type Switch: String
9073
+ # @param Action: 执行动作 monitor(观察), alg(挑战)
9074
+ # 注意:此字段可能返回 null,表示取不到有效值。
9075
+ # @type Action: String
9076
+
9077
+ attr_accessor :Switch, :Action
9078
+
9079
+ def initialize(switch=nil, action=nil)
9080
+ @Switch = switch
9081
+ @Action = action
9082
+ end
9083
+
9084
+ def deserialize(params)
9085
+ @Switch = params['Switch']
9086
+ @Action = params['Action']
8907
9087
  end
8908
9088
  end
8909
9089
 
@@ -9215,16 +9395,20 @@ module TencentCloud
9215
9395
  # @param SwitchConfig: 总开关
9216
9396
  # 注意:此字段可能返回 null,表示取不到有效值。
9217
9397
  # @type SwitchConfig: :class:`Tencentcloud::Teo.v20220106.models.SwitchConfig`
9398
+ # @param IpTableConfig: IP黑白名单
9399
+ # 注意:此字段可能返回 null,表示取不到有效值。
9400
+ # @type IpTableConfig: :class:`Tencentcloud::Teo.v20220106.models.IpTableConfig`
9218
9401
 
9219
- attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig
9402
+ attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig
9220
9403
 
9221
- def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil)
9404
+ def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil)
9222
9405
  @WafConfig = wafconfig
9223
9406
  @RateLimitConfig = ratelimitconfig
9224
9407
  @DdosConfig = ddosconfig
9225
9408
  @AclConfig = aclconfig
9226
9409
  @BotConfig = botconfig
9227
9410
  @SwitchConfig = switchconfig
9411
+ @IpTableConfig = iptableconfig
9228
9412
  end
9229
9413
 
9230
9414
  def deserialize(params)
@@ -9252,6 +9436,10 @@ module TencentCloud
9252
9436
  @SwitchConfig = SwitchConfig.new
9253
9437
  @SwitchConfig.deserialize(params['SwitchConfig'])
9254
9438
  end
9439
+ unless params['IpTableConfig'].nil?
9440
+ @IpTableConfig = IpTableConfig.new
9441
+ @IpTableConfig.deserialize(params['IpTableConfig'])
9442
+ end
9255
9443
  end
9256
9444
  end
9257
9445
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.347
4
+ version: 1.0.348
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-03 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common