tencentcloud-sdk-teo 1.0.347 → 1.0.350
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220106/models.rb +220 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdf935206d268a51d930138ebee8d5b95ca681d2
|
4
|
+
data.tar.gz: bf17001a6030c30afa5f31e16922b6830b5b78f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9775110d18f3f14101fd2e13afd0166afca0ca1895f645c2c607ce0a81cc7fa06a318bdbdcda34a18d25630d7975f47d846693ef438c5d5cce0448ff49a610e
|
7
|
+
data.tar.gz: 7ca28963e1d15fb157ceb027ee6e2929b5c019916f332182260f4c3045e71bf027b691d816621e057f809815eb0743d7f433eb5ae82aa2b5a562a20a949ac3f2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.350
|
data/lib/v20220106/models.rb
CHANGED
@@ -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
|
|
@@ -4614,7 +4632,10 @@ module TencentCloud
|
|
4614
4632
|
# @type StartTime: String
|
4615
4633
|
# @param EndTime: RFC3339格式,客户端时间
|
4616
4634
|
# @type EndTime: String
|
4617
|
-
# @param MetricNames:
|
4635
|
+
# @param MetricNames: 指标列表,支持的指标
|
4636
|
+
# l7Flow_outFlux: 访问流量
|
4637
|
+
# l7Flow_request: 访问请求数
|
4638
|
+
# l7Flow_outBandwidth: 访问带宽
|
4618
4639
|
# @type MetricNames: Array
|
4619
4640
|
# @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
|
4620
4641
|
# @type Interval: String
|
@@ -5163,22 +5184,30 @@ module TencentCloud
|
|
5163
5184
|
# @type StartTime: String
|
5164
5185
|
# @param EndTime: RFC3339格式,客户端时间
|
5165
5186
|
# @type EndTime: String
|
5166
|
-
# @param MetricNames:
|
5187
|
+
# @param MetricNames: 支持的指标:
|
5188
|
+
# l4Flow_connections: 访问连接数
|
5189
|
+
# l4Flow_flux: 访问总流量
|
5190
|
+
# l4Flow_inFlux: 访问入流量
|
5191
|
+
# l4Flow_outFlux: 访问出流量
|
5167
5192
|
# @type MetricNames: Array
|
5168
|
-
# @param ZoneIds:
|
5193
|
+
# @param ZoneIds: 站点id列表
|
5169
5194
|
# @type ZoneIds: Array
|
5170
|
-
# @param InstanceIds:
|
5195
|
+
# @param InstanceIds: 该字段已废弃,请使用ProxyIds字段
|
5171
5196
|
# @type InstanceIds: Array
|
5172
|
-
# @param Protocol:
|
5197
|
+
# @param Protocol: 该字段当前无效
|
5173
5198
|
# @type Protocol: String
|
5174
5199
|
# @param Interval: 时间间隔,选填{min, 5min, hour, day}
|
5175
5200
|
# @type Interval: String
|
5176
|
-
# @param RuleId:
|
5201
|
+
# @param RuleId: 该字段当前无效,请使用Filter筛选
|
5177
5202
|
# @type RuleId: String
|
5203
|
+
# @param Filters: 支持的 Filter:proxyd,ruleId
|
5204
|
+
# @type Filters: Array
|
5205
|
+
# @param ProxyIds: 四层实例列表
|
5206
|
+
# @type ProxyIds: Array
|
5178
5207
|
|
5179
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId
|
5208
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId, :Filters, :ProxyIds
|
5180
5209
|
|
5181
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil)
|
5210
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil, filters=nil, proxyids=nil)
|
5182
5211
|
@StartTime = starttime
|
5183
5212
|
@EndTime = endtime
|
5184
5213
|
@MetricNames = metricnames
|
@@ -5187,6 +5216,8 @@ module TencentCloud
|
|
5187
5216
|
@Protocol = protocol
|
5188
5217
|
@Interval = interval
|
5189
5218
|
@RuleId = ruleid
|
5219
|
+
@Filters = filters
|
5220
|
+
@ProxyIds = proxyids
|
5190
5221
|
end
|
5191
5222
|
|
5192
5223
|
def deserialize(params)
|
@@ -5198,6 +5229,15 @@ module TencentCloud
|
|
5198
5229
|
@Protocol = params['Protocol']
|
5199
5230
|
@Interval = params['Interval']
|
5200
5231
|
@RuleId = params['RuleId']
|
5232
|
+
unless params['Filters'].nil?
|
5233
|
+
@Filters = []
|
5234
|
+
params['Filters'].each do |i|
|
5235
|
+
filter_tmp = Filter.new
|
5236
|
+
filter_tmp.deserialize(i)
|
5237
|
+
@Filters << filter_tmp
|
5238
|
+
end
|
5239
|
+
end
|
5240
|
+
@ProxyIds = params['ProxyIds']
|
5201
5241
|
end
|
5202
5242
|
end
|
5203
5243
|
|
@@ -5243,7 +5283,10 @@ module TencentCloud
|
|
5243
5283
|
# @type StartTime: String
|
5244
5284
|
# @param EndTime: RFC3339标准,客户端时间
|
5245
5285
|
# @type EndTime: String
|
5246
|
-
# @param MetricNames:
|
5286
|
+
# @param MetricNames: 指标列表,支持的指标
|
5287
|
+
# l7Flow_outFlux: 访问流量
|
5288
|
+
# l7Flow_request: 访问请求数
|
5289
|
+
# l7Flow_outBandwidth: 访问带宽
|
5247
5290
|
# @type MetricNames: Array
|
5248
5291
|
# @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
|
5249
5292
|
# @type Interval: String
|
@@ -5322,7 +5365,9 @@ module TencentCloud
|
|
5322
5365
|
# @type StartTime: String
|
5323
5366
|
# @param EndTime: RFC3339标准,客户端时间
|
5324
5367
|
# @type EndTime: String
|
5325
|
-
# @param MetricNames:
|
5368
|
+
# @param MetricNames: 时序类访问流量指标列表,支持的指标
|
5369
|
+
# l7Cache_outFlux: 访问流量
|
5370
|
+
# l7Cache_request: 访问请求数
|
5326
5371
|
# @type MetricNames: Array
|
5327
5372
|
# @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
|
5328
5373
|
# @type Interval: String
|
@@ -7167,6 +7212,123 @@ module TencentCloud
|
|
7167
7212
|
end
|
7168
7213
|
end
|
7169
7214
|
|
7215
|
+
# 智能分析规则
|
7216
|
+
class IntelligenceRule < TencentCloud::Common::AbstractModel
|
7217
|
+
# @param Switch: 开关
|
7218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7219
|
+
# @type Switch: String
|
7220
|
+
# @param Items: 规则详情
|
7221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7222
|
+
# @type Items: Array
|
7223
|
+
|
7224
|
+
attr_accessor :Switch, :Items
|
7225
|
+
|
7226
|
+
def initialize(switch=nil, items=nil)
|
7227
|
+
@Switch = switch
|
7228
|
+
@Items = items
|
7229
|
+
end
|
7230
|
+
|
7231
|
+
def deserialize(params)
|
7232
|
+
@Switch = params['Switch']
|
7233
|
+
unless params['Items'].nil?
|
7234
|
+
@Items = []
|
7235
|
+
params['Items'].each do |i|
|
7236
|
+
intelligenceruleitem_tmp = IntelligenceRuleItem.new
|
7237
|
+
intelligenceruleitem_tmp.deserialize(i)
|
7238
|
+
@Items << intelligenceruleitem_tmp
|
7239
|
+
end
|
7240
|
+
end
|
7241
|
+
end
|
7242
|
+
end
|
7243
|
+
|
7244
|
+
# Bot智能分析规则详情
|
7245
|
+
class IntelligenceRuleItem < TencentCloud::Common::AbstractModel
|
7246
|
+
# @param Label: 恶意BOT
|
7247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7248
|
+
# @type Label: String
|
7249
|
+
# @param Action: 动作
|
7250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7251
|
+
# @type Action: String
|
7252
|
+
|
7253
|
+
attr_accessor :Label, :Action
|
7254
|
+
|
7255
|
+
def initialize(label=nil, action=nil)
|
7256
|
+
@Label = label
|
7257
|
+
@Action = action
|
7258
|
+
end
|
7259
|
+
|
7260
|
+
def deserialize(params)
|
7261
|
+
@Label = params['Label']
|
7262
|
+
@Action = params['Action']
|
7263
|
+
end
|
7264
|
+
end
|
7265
|
+
|
7266
|
+
# IP黑白名单及IP区域控制配置
|
7267
|
+
class IpTableConfig < TencentCloud::Common::AbstractModel
|
7268
|
+
# @param Switch: 开关
|
7269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7270
|
+
# @type Switch: String
|
7271
|
+
# @param Rules: []
|
7272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7273
|
+
# @type Rules: Array
|
7274
|
+
|
7275
|
+
attr_accessor :Switch, :Rules
|
7276
|
+
|
7277
|
+
def initialize(switch=nil, rules=nil)
|
7278
|
+
@Switch = switch
|
7279
|
+
@Rules = rules
|
7280
|
+
end
|
7281
|
+
|
7282
|
+
def deserialize(params)
|
7283
|
+
@Switch = params['Switch']
|
7284
|
+
unless params['Rules'].nil?
|
7285
|
+
@Rules = []
|
7286
|
+
params['Rules'].each do |i|
|
7287
|
+
iptablerule_tmp = IpTableRule.new
|
7288
|
+
iptablerule_tmp.deserialize(i)
|
7289
|
+
@Rules << iptablerule_tmp
|
7290
|
+
end
|
7291
|
+
end
|
7292
|
+
end
|
7293
|
+
end
|
7294
|
+
|
7295
|
+
# IP黑白名单详细规则
|
7296
|
+
class IpTableRule < TencentCloud::Common::AbstractModel
|
7297
|
+
# @param Action: 动作: drop拦截,trans放行,monitor观察
|
7298
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7299
|
+
# @type Action: String
|
7300
|
+
# @param MatchFrom: 根据类型匹配:ip(根据ip), area(根据区域)
|
7301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7302
|
+
# @type MatchFrom: String
|
7303
|
+
# @param MatchContent: 匹配内容
|
7304
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7305
|
+
# @type MatchContent: String
|
7306
|
+
# @param RuleID: 规则id
|
7307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7308
|
+
# @type RuleID: Integer
|
7309
|
+
# @param UpdateTime: 更新时间
|
7310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7311
|
+
# @type UpdateTime: String
|
7312
|
+
|
7313
|
+
attr_accessor :Action, :MatchFrom, :MatchContent, :RuleID, :UpdateTime
|
7314
|
+
|
7315
|
+
def initialize(action=nil, matchfrom=nil, matchcontent=nil, ruleid=nil, updatetime=nil)
|
7316
|
+
@Action = action
|
7317
|
+
@MatchFrom = matchfrom
|
7318
|
+
@MatchContent = matchcontent
|
7319
|
+
@RuleID = ruleid
|
7320
|
+
@UpdateTime = updatetime
|
7321
|
+
end
|
7322
|
+
|
7323
|
+
def deserialize(params)
|
7324
|
+
@Action = params['Action']
|
7325
|
+
@MatchFrom = params['MatchFrom']
|
7326
|
+
@MatchContent = params['MatchContent']
|
7327
|
+
@RuleID = params['RuleID']
|
7328
|
+
@UpdateTime = params['UpdateTime']
|
7329
|
+
end
|
7330
|
+
end
|
7331
|
+
|
7170
7332
|
# 离线日志详细信息
|
7171
7333
|
class L7OfflineLog < TencentCloud::Common::AbstractModel
|
7172
7334
|
# @param LogTime: 日志打包开始时间
|
@@ -8881,13 +9043,17 @@ module TencentCloud
|
|
8881
9043
|
# @param Template: 默认模板
|
8882
9044
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8883
9045
|
# @type Template: :class:`Tencentcloud::Teo.v20220106.models.RateLimitTemplate`
|
9046
|
+
# @param Intelligence: 智能客户端过滤
|
9047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9048
|
+
# @type Intelligence: :class:`Tencentcloud::Teo.v20220106.models.RateLimitIntelligence`
|
8884
9049
|
|
8885
|
-
attr_accessor :Switch, :UserRules, :Template
|
9050
|
+
attr_accessor :Switch, :UserRules, :Template, :Intelligence
|
8886
9051
|
|
8887
|
-
def initialize(switch=nil, userrules=nil, template=nil)
|
9052
|
+
def initialize(switch=nil, userrules=nil, template=nil, intelligence=nil)
|
8888
9053
|
@Switch = switch
|
8889
9054
|
@UserRules = userrules
|
8890
9055
|
@Template = template
|
9056
|
+
@Intelligence = intelligence
|
8891
9057
|
end
|
8892
9058
|
|
8893
9059
|
def deserialize(params)
|
@@ -8904,6 +9070,32 @@ module TencentCloud
|
|
8904
9070
|
@Template = RateLimitTemplate.new
|
8905
9071
|
@Template.deserialize(params['Template'])
|
8906
9072
|
end
|
9073
|
+
unless params['Intelligence'].nil?
|
9074
|
+
@Intelligence = RateLimitIntelligence.new
|
9075
|
+
@Intelligence.deserialize(params['Intelligence'])
|
9076
|
+
end
|
9077
|
+
end
|
9078
|
+
end
|
9079
|
+
|
9080
|
+
# 智能客户端过滤
|
9081
|
+
class RateLimitIntelligence < TencentCloud::Common::AbstractModel
|
9082
|
+
# @param Switch: 功能开关
|
9083
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9084
|
+
# @type Switch: String
|
9085
|
+
# @param Action: 执行动作 monitor(观察), alg(挑战)
|
9086
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9087
|
+
# @type Action: String
|
9088
|
+
|
9089
|
+
attr_accessor :Switch, :Action
|
9090
|
+
|
9091
|
+
def initialize(switch=nil, action=nil)
|
9092
|
+
@Switch = switch
|
9093
|
+
@Action = action
|
9094
|
+
end
|
9095
|
+
|
9096
|
+
def deserialize(params)
|
9097
|
+
@Switch = params['Switch']
|
9098
|
+
@Action = params['Action']
|
8907
9099
|
end
|
8908
9100
|
end
|
8909
9101
|
|
@@ -9215,16 +9407,20 @@ module TencentCloud
|
|
9215
9407
|
# @param SwitchConfig: 总开关
|
9216
9408
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9217
9409
|
# @type SwitchConfig: :class:`Tencentcloud::Teo.v20220106.models.SwitchConfig`
|
9410
|
+
# @param IpTableConfig: IP黑白名单
|
9411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9412
|
+
# @type IpTableConfig: :class:`Tencentcloud::Teo.v20220106.models.IpTableConfig`
|
9218
9413
|
|
9219
|
-
attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig
|
9414
|
+
attr_accessor :WafConfig, :RateLimitConfig, :DdosConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig
|
9220
9415
|
|
9221
|
-
def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil)
|
9416
|
+
def initialize(wafconfig=nil, ratelimitconfig=nil, ddosconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil)
|
9222
9417
|
@WafConfig = wafconfig
|
9223
9418
|
@RateLimitConfig = ratelimitconfig
|
9224
9419
|
@DdosConfig = ddosconfig
|
9225
9420
|
@AclConfig = aclconfig
|
9226
9421
|
@BotConfig = botconfig
|
9227
9422
|
@SwitchConfig = switchconfig
|
9423
|
+
@IpTableConfig = iptableconfig
|
9228
9424
|
end
|
9229
9425
|
|
9230
9426
|
def deserialize(params)
|
@@ -9252,6 +9448,10 @@ module TencentCloud
|
|
9252
9448
|
@SwitchConfig = SwitchConfig.new
|
9253
9449
|
@SwitchConfig.deserialize(params['SwitchConfig'])
|
9254
9450
|
end
|
9451
|
+
unless params['IpTableConfig'].nil?
|
9452
|
+
@IpTableConfig = IpTableConfig.new
|
9453
|
+
@IpTableConfig.deserialize(params['IpTableConfig'])
|
9454
|
+
end
|
9255
9455
|
end
|
9256
9456
|
end
|
9257
9457
|
|
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.
|
4
|
+
version: 1.0.350
|
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-
|
11
|
+
date: 2022-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|