tencentcloud-sdk-waf 3.0.1056 → 3.0.1057

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +100 -31
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56140432b111a9f080c288e38c567d65960215c9
4
- data.tar.gz: 6c23851a919e15731a1306f45275c6b5b1cb7466
3
+ metadata.gz: eb39bcd518268b320be7760a0871742d2e052e99
4
+ data.tar.gz: 6c00f6f9a7450191095fbce345d764cfa9168a2d
5
5
  SHA512:
6
- metadata.gz: 1b30c0fe744e025cefc5a6552c6c292d51c768df3712463196fc931f629c7fabeeb2d9cb0089d92c728571f6c449f97943ba4b37f6462f76ccdb3434ff135f4a
7
- data.tar.gz: 98409d448605688d037c8488440dfd9d8176e424110f027ca935374d3935ebce1f826a2014793a5bb949f9c04f8dc6ffe272c3cfe6be9ef760cffa64a4ea12ce
6
+ metadata.gz: 395705e1ff5bacb0c93b9f382f08e079bd03416b9a1339136181eeaa5c4b7e7b87b0c3154fc95e0461c7592f0c6cda830ccbf2755e6f77401473ffbb6c7e2b37
7
+ data.tar.gz: e8753afd2b367f7177affd78fcb1a90163a6c78e9bc82a32b254f85231fa3a12a5c8ade34a7cf14204b4db15cf346af78b0cceab3e39fc2c9c4081ba768a7ea7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1056
1
+ 3.0.1057
@@ -2286,10 +2286,12 @@ module TencentCloud
2286
2286
  # @type SessionApplied: Array
2287
2287
  # @param CreateTime: 创建时间
2288
2288
  # @type CreateTime: Integer
2289
+ # @param LimitMethod: 限频方式
2290
+ # @type LimitMethod: String
2289
2291
 
2290
- attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime
2292
+ attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod
2291
2293
 
2292
- def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil)
2294
+ def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil, limitmethod=nil)
2293
2295
  @Name = name
2294
2296
  @Status = status
2295
2297
  @Advance = advance
@@ -2306,6 +2308,7 @@ module TencentCloud
2306
2308
  @EventId = eventid
2307
2309
  @SessionApplied = sessionapplied
2308
2310
  @CreateTime = createtime
2311
+ @LimitMethod = limitmethod
2309
2312
  end
2310
2313
 
2311
2314
  def deserialize(params)
@@ -2325,6 +2328,7 @@ module TencentCloud
2325
2328
  @EventId = params['EventId']
2326
2329
  @SessionApplied = params['SessionApplied']
2327
2330
  @CreateTime = params['CreateTime']
2331
+ @LimitMethod = params['LimitMethod']
2328
2332
  end
2329
2333
  end
2330
2334
 
@@ -2573,10 +2577,14 @@ module TencentCloud
2573
2577
  # @type ObjectFlowMode: Integer
2574
2578
  # @param NumericalVpcId: 数值形式的私有网络 ID
2575
2579
  # @type NumericalVpcId: Integer
2580
+ # @param ModifyTime: 修改时间
2581
+ # @type ModifyTime: String
2582
+ # @param AddTime: 创建时间
2583
+ # @type AddTime: String
2576
2584
 
2577
- attr_accessor :ObjectId, :InstanceId, :InstanceName, :PreciseDomains, :Status, :ClsStatus, :VirtualDomain, :ObjectName, :PublicIp, :PrivateIp, :VpcName, :Vpc, :InstanceLevel, :PostCLSStatus, :PostCKafkaStatus, :Type, :Region, :Proxy, :IpHeaders, :BotStatus, :ApiStatus, :ObjectFlowMode, :NumericalVpcId
2585
+ attr_accessor :ObjectId, :InstanceId, :InstanceName, :PreciseDomains, :Status, :ClsStatus, :VirtualDomain, :ObjectName, :PublicIp, :PrivateIp, :VpcName, :Vpc, :InstanceLevel, :PostCLSStatus, :PostCKafkaStatus, :Type, :Region, :Proxy, :IpHeaders, :BotStatus, :ApiStatus, :ObjectFlowMode, :NumericalVpcId, :ModifyTime, :AddTime
2578
2586
 
2579
- def initialize(objectid=nil, instanceid=nil, instancename=nil, precisedomains=nil, status=nil, clsstatus=nil, virtualdomain=nil, objectname=nil, publicip=nil, privateip=nil, vpcname=nil, vpc=nil, instancelevel=nil, postclsstatus=nil, postckafkastatus=nil, type=nil, region=nil, proxy=nil, ipheaders=nil, botstatus=nil, apistatus=nil, objectflowmode=nil, numericalvpcid=nil)
2587
+ def initialize(objectid=nil, instanceid=nil, instancename=nil, precisedomains=nil, status=nil, clsstatus=nil, virtualdomain=nil, objectname=nil, publicip=nil, privateip=nil, vpcname=nil, vpc=nil, instancelevel=nil, postclsstatus=nil, postckafkastatus=nil, type=nil, region=nil, proxy=nil, ipheaders=nil, botstatus=nil, apistatus=nil, objectflowmode=nil, numericalvpcid=nil, modifytime=nil, addtime=nil)
2580
2588
  @ObjectId = objectid
2581
2589
  @InstanceId = instanceid
2582
2590
  @InstanceName = instancename
@@ -2600,6 +2608,8 @@ module TencentCloud
2600
2608
  @ApiStatus = apistatus
2601
2609
  @ObjectFlowMode = objectflowmode
2602
2610
  @NumericalVpcId = numericalvpcid
2611
+ @ModifyTime = modifytime
2612
+ @AddTime = addtime
2603
2613
  end
2604
2614
 
2605
2615
  def deserialize(params)
@@ -2626,6 +2636,8 @@ module TencentCloud
2626
2636
  @ApiStatus = params['ApiStatus']
2627
2637
  @ObjectFlowMode = params['ObjectFlowMode']
2628
2638
  @NumericalVpcId = params['NumericalVpcId']
2639
+ @ModifyTime = params['ModifyTime']
2640
+ @AddTime = params['AddTime']
2629
2641
  end
2630
2642
  end
2631
2643
 
@@ -2994,7 +3006,7 @@ module TencentCloud
2994
3006
 
2995
3007
  # CreateHost请求参数结构体
2996
3008
  class CreateHostRequest < TencentCloud::Common::AbstractModel
2997
- # @param Host: 防护域名配置信息
3009
+ # @param Host: 防护域名配置信息。内网负载均衡器必须携带对应的NumericalVpcId。
2998
3010
  # @type Host: :class:`Tencentcloud::Waf.v20180125.models.HostRecord`
2999
3011
  # @param InstanceID: 实例id
3000
3012
  # @type InstanceID: String
@@ -5138,10 +5150,12 @@ module TencentCloud
5138
5150
  # @type IsDefault: Boolean
5139
5151
  # @param IsValid: 是否仅显示生效场景
5140
5152
  # @type IsValid: Boolean
5153
+ # @param SceneId: 要查询的场景id
5154
+ # @type SceneId: String
5141
5155
 
5142
- attr_accessor :Domain, :Limit, :Offset, :BusinessType, :SceneName, :IsDefault, :IsValid
5156
+ attr_accessor :Domain, :Limit, :Offset, :BusinessType, :SceneName, :IsDefault, :IsValid, :SceneId
5143
5157
 
5144
- def initialize(domain=nil, limit=nil, offset=nil, businesstype=nil, scenename=nil, isdefault=nil, isvalid=nil)
5158
+ def initialize(domain=nil, limit=nil, offset=nil, businesstype=nil, scenename=nil, isdefault=nil, isvalid=nil, sceneid=nil)
5145
5159
  @Domain = domain
5146
5160
  @Limit = limit
5147
5161
  @Offset = offset
@@ -5149,6 +5163,7 @@ module TencentCloud
5149
5163
  @SceneName = scenename
5150
5164
  @IsDefault = isdefault
5151
5165
  @IsValid = isvalid
5166
+ @SceneId = sceneid
5152
5167
  end
5153
5168
 
5154
5169
  def deserialize(params)
@@ -5159,6 +5174,7 @@ module TencentCloud
5159
5174
  @SceneName = params['SceneName']
5160
5175
  @IsDefault = params['IsDefault']
5161
5176
  @IsValid = params['IsValid']
5177
+ @SceneId = params['SceneId']
5162
5178
  end
5163
5179
  end
5164
5180
 
@@ -5222,7 +5238,6 @@ module TencentCloud
5222
5238
  # @param ValidSceneCount: 生效场景数
5223
5239
  # @type ValidSceneCount: Integer
5224
5240
  # @param CurrentGlobalScene: 当前开启的、匹配范围为全局、优先级最高的场景
5225
- # 注意:此字段可能返回 null,表示取不到有效值。
5226
5241
  # @type CurrentGlobalScene: :class:`Tencentcloud::Waf.v20180125.models.GlobalSceneInfo`
5227
5242
  # @param CustomRuleNums: 自定义规则总数,不包括BOT白名单
5228
5243
  # @type CustomRuleNums: Integer
@@ -5275,10 +5290,12 @@ module TencentCloud
5275
5290
  # @type TimerType: Integer
5276
5291
  # @param ValidStatus: 0-全部 1-生效中 2-已过期
5277
5292
  # @type ValidStatus: Integer
5293
+ # @param RuleId: 规则id
5294
+ # @type RuleId: String
5278
5295
 
5279
- attr_accessor :Domain, :Skip, :Limit, :Sort, :SceneId, :Operate, :Name, :VersionFlag, :TimerType, :ValidStatus
5296
+ attr_accessor :Domain, :Skip, :Limit, :Sort, :SceneId, :Operate, :Name, :VersionFlag, :TimerType, :ValidStatus, :RuleId
5280
5297
 
5281
- def initialize(domain=nil, skip=nil, limit=nil, sort=nil, sceneid=nil, operate=nil, name=nil, versionflag=nil, timertype=nil, validstatus=nil)
5298
+ def initialize(domain=nil, skip=nil, limit=nil, sort=nil, sceneid=nil, operate=nil, name=nil, versionflag=nil, timertype=nil, validstatus=nil, ruleid=nil)
5282
5299
  @Domain = domain
5283
5300
  @Skip = skip
5284
5301
  @Limit = limit
@@ -5289,6 +5306,7 @@ module TencentCloud
5289
5306
  @VersionFlag = versionflag
5290
5307
  @TimerType = timertype
5291
5308
  @ValidStatus = validstatus
5309
+ @RuleId = ruleid
5292
5310
  end
5293
5311
 
5294
5312
  def deserialize(params)
@@ -5302,13 +5320,13 @@ module TencentCloud
5302
5320
  @VersionFlag = params['VersionFlag']
5303
5321
  @TimerType = params['TimerType']
5304
5322
  @ValidStatus = params['ValidStatus']
5323
+ @RuleId = params['RuleId']
5305
5324
  end
5306
5325
  end
5307
5326
 
5308
5327
  # DescribeBotSceneUCBRule返回参数结构体
5309
5328
  class DescribeBotSceneUCBRuleResponse < TencentCloud::Common::AbstractModel
5310
5329
  # @param Data: 返回数据包
5311
- # 注意:此字段可能返回 null,表示取不到有效值。
5312
5330
  # @type Data: :class:`Tencentcloud::Waf.v20180125.models.DescribeBotUCBRuleRsp`
5313
5331
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5314
5332
  # @type RequestId: String
@@ -5521,7 +5539,7 @@ module TencentCloud
5521
5539
  class DescribeCertificateVerifyResultRequest < TencentCloud::Common::AbstractModel
5522
5540
  # @param Domain: 域名
5523
5541
  # @type Domain: String
5524
- # @param CertType: 证书类型。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
5542
+ # @param CertType: 证书类型,此参数和GmCertType不可同时为0。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
5525
5543
  # @type CertType: Integer
5526
5544
  # @param Certificate: CertType为1时,需要填充此参数,表示自有证书的证书链
5527
5545
  # @type Certificate: String
@@ -5529,7 +5547,7 @@ module TencentCloud
5529
5547
  # @type CertID: String
5530
5548
  # @param PrivateKey: CertType为1时,需要填充此参数,表示自有证书的私钥
5531
5549
  # @type PrivateKey: String
5532
- # @param GmCertType: 国密证书类型。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
5550
+ # @param GmCertType: 国密证书类型,此参数和CertType不可同时为0。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
5533
5551
  # @type GmCertType: Integer
5534
5552
  # @param GmCert: GmCertType为1时,需要填充此参数,表示自有国密证书的证书链
5535
5553
  # @type GmCert: String
@@ -6944,11 +6962,17 @@ module TencentCloud
6944
6962
  class DescribeObjectsRequest < TencentCloud::Common::AbstractModel
6945
6963
  # @param Filters: 支持的过滤器: ObjectId: clb实例ID VIP: clb实例的公网IP InstanceId: waf实例ID Domain: 精准域名 Status: waf防护开关状态: 0关闭,1开启 ClsStatus: waf日志开关: 0关闭,1开启
6946
6964
  # @type Filters: Array
6965
+ # @param Order: 排序方式,支持asc或者desc
6966
+ # @type Order: String
6967
+ # @param By: 根据哪个字段排序
6968
+ # @type By: String
6947
6969
 
6948
- attr_accessor :Filters
6970
+ attr_accessor :Filters, :Order, :By
6949
6971
 
6950
- def initialize(filters=nil)
6972
+ def initialize(filters=nil, order=nil, by=nil)
6951
6973
  @Filters = filters
6974
+ @Order = order
6975
+ @By = by
6952
6976
  end
6953
6977
 
6954
6978
  def deserialize(params)
@@ -6960,6 +6984,8 @@ module TencentCloud
6960
6984
  @Filters << filtersitemnew_tmp
6961
6985
  end
6962
6986
  end
6987
+ @Order = params['Order']
6988
+ @By = params['By']
6963
6989
  end
6964
6990
  end
6965
6991
 
@@ -10205,10 +10231,12 @@ module TencentCloud
10205
10231
  # @type BlockPageId: Integer
10206
10232
  # @param ActionList: 当Action=intercept时,此字段必填
10207
10233
  # @type ActionList: Array
10234
+ # @param DelayTime: 惩罚时间
10235
+ # @type DelayTime: Integer
10208
10236
 
10209
- attr_accessor :Domain, :Name, :Rule, :Action, :OnOff, :RuleType, :Prior, :Timestamp, :Label, :Id, :SceneId, :ValidTime, :Appid, :AdditionArg, :Desc, :RuleId, :PreDefine, :JobType, :JobDateTime, :ExpireTime, :ValidStatus, :BlockPageId, :ActionList
10237
+ attr_accessor :Domain, :Name, :Rule, :Action, :OnOff, :RuleType, :Prior, :Timestamp, :Label, :Id, :SceneId, :ValidTime, :Appid, :AdditionArg, :Desc, :RuleId, :PreDefine, :JobType, :JobDateTime, :ExpireTime, :ValidStatus, :BlockPageId, :ActionList, :DelayTime
10210
10238
 
10211
- def initialize(domain=nil, name=nil, rule=nil, action=nil, onoff=nil, ruletype=nil, prior=nil, timestamp=nil, label=nil, id=nil, sceneid=nil, validtime=nil, appid=nil, additionarg=nil, desc=nil, ruleid=nil, predefine=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, validstatus=nil, blockpageid=nil, actionlist=nil)
10239
+ def initialize(domain=nil, name=nil, rule=nil, action=nil, onoff=nil, ruletype=nil, prior=nil, timestamp=nil, label=nil, id=nil, sceneid=nil, validtime=nil, appid=nil, additionarg=nil, desc=nil, ruleid=nil, predefine=nil, jobtype=nil, jobdatetime=nil, expiretime=nil, validstatus=nil, blockpageid=nil, actionlist=nil, delaytime=nil)
10212
10240
  @Domain = domain
10213
10241
  @Name = name
10214
10242
  @Rule = rule
@@ -10232,6 +10260,7 @@ module TencentCloud
10232
10260
  @ValidStatus = validstatus
10233
10261
  @BlockPageId = blockpageid
10234
10262
  @ActionList = actionlist
10263
+ @DelayTime = delaytime
10235
10264
  end
10236
10265
 
10237
10266
  def deserialize(params)
@@ -10275,6 +10304,7 @@ module TencentCloud
10275
10304
  @ActionList << ucbactionproportion_tmp
10276
10305
  end
10277
10306
  end
10307
+ @DelayTime = params['DelayTime']
10278
10308
  end
10279
10309
  end
10280
10310
 
@@ -10298,10 +10328,12 @@ module TencentCloud
10298
10328
  # @type Areas: Array
10299
10329
  # @param Lang: 语言环境
10300
10330
  # @type Lang: String
10331
+ # @param ParamCompareList: 参数匹配
10332
+ # @type ParamCompareList: Array
10301
10333
 
10302
- attr_accessor :Key, :Op, :Value, :OpOp, :OpArg, :OpValue, :Name, :Areas, :Lang
10334
+ attr_accessor :Key, :Op, :Value, :OpOp, :OpArg, :OpValue, :Name, :Areas, :Lang, :ParamCompareList
10303
10335
 
10304
- def initialize(key=nil, op=nil, value=nil, opop=nil, oparg=nil, opvalue=nil, name=nil, areas=nil, lang=nil)
10336
+ def initialize(key=nil, op=nil, value=nil, opop=nil, oparg=nil, opvalue=nil, name=nil, areas=nil, lang=nil, paramcomparelist=nil)
10305
10337
  @Key = key
10306
10338
  @Op = op
10307
10339
  @Value = value
@@ -10311,6 +10343,7 @@ module TencentCloud
10311
10343
  @Name = name
10312
10344
  @Areas = areas
10313
10345
  @Lang = lang
10346
+ @ParamCompareList = paramcomparelist
10314
10347
  end
10315
10348
 
10316
10349
  def deserialize(params)
@@ -10333,6 +10366,14 @@ module TencentCloud
10333
10366
  end
10334
10367
  end
10335
10368
  @Lang = params['Lang']
10369
+ unless params['ParamCompareList'].nil?
10370
+ @ParamCompareList = []
10371
+ params['ParamCompareList'].each do |i|
10372
+ paramcomparelist_tmp = ParamCompareList.new
10373
+ paramcomparelist_tmp.deserialize(i)
10374
+ @ParamCompareList << paramcomparelist_tmp
10375
+ end
10376
+ end
10336
10377
  end
10337
10378
  end
10338
10379
 
@@ -10824,8 +10865,6 @@ module TencentCloud
10824
10865
  # @type ListenerId: String
10825
10866
  # @param ListenerName: 负载均衡监听器的名称
10826
10867
  # @type ListenerName: String
10827
- # @param Vip: 负载均衡实例的IP
10828
- # @type Vip: String
10829
10868
  # @param Vport: 负载均衡实例的端口
10830
10869
  # @type Vport: Integer
10831
10870
  # @param Region: 负载均衡LD的地域
@@ -10834,6 +10873,8 @@ module TencentCloud
10834
10873
  # @type Protocol: String
10835
10874
  # @param Zone: 负载均衡监听器所在的zone
10836
10875
  # @type Zone: String
10876
+ # @param Vip: 负载均衡实例的IP。域名化CLB VIP可填空。
10877
+ # @type Vip: String
10837
10878
  # @param NumericalVpcId: 负载均衡的VPCID,公网为-1,内网按实际填写
10838
10879
  # @type NumericalVpcId: Integer
10839
10880
  # @param LoadBalancerType: 负载均衡的网络类型。OPEN: 公网 INTERNAL :内网
@@ -10841,18 +10882,18 @@ module TencentCloud
10841
10882
  # @param LoadBalancerDomain: 负载均衡的域名
10842
10883
  # @type LoadBalancerDomain: String
10843
10884
 
10844
- attr_accessor :LoadBalancerId, :LoadBalancerName, :ListenerId, :ListenerName, :Vip, :Vport, :Region, :Protocol, :Zone, :NumericalVpcId, :LoadBalancerType, :LoadBalancerDomain
10885
+ attr_accessor :LoadBalancerId, :LoadBalancerName, :ListenerId, :ListenerName, :Vport, :Region, :Protocol, :Zone, :Vip, :NumericalVpcId, :LoadBalancerType, :LoadBalancerDomain
10845
10886
 
10846
- def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vip=nil, vport=nil, region=nil, protocol=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil)
10887
+ def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vport=nil, region=nil, protocol=nil, zone=nil, vip=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil)
10847
10888
  @LoadBalancerId = loadbalancerid
10848
10889
  @LoadBalancerName = loadbalancername
10849
10890
  @ListenerId = listenerid
10850
10891
  @ListenerName = listenername
10851
- @Vip = vip
10852
10892
  @Vport = vport
10853
10893
  @Region = region
10854
10894
  @Protocol = protocol
10855
10895
  @Zone = zone
10896
+ @Vip = vip
10856
10897
  @NumericalVpcId = numericalvpcid
10857
10898
  @LoadBalancerType = loadbalancertype
10858
10899
  @LoadBalancerDomain = loadbalancerdomain
@@ -10863,11 +10904,11 @@ module TencentCloud
10863
10904
  @LoadBalancerName = params['LoadBalancerName']
10864
10905
  @ListenerId = params['ListenerId']
10865
10906
  @ListenerName = params['ListenerName']
10866
- @Vip = params['Vip']
10867
10907
  @Vport = params['Vport']
10868
10908
  @Region = params['Region']
10869
10909
  @Protocol = params['Protocol']
10870
10910
  @Zone = params['Zone']
10911
+ @Vip = params['Vip']
10871
10912
  @NumericalVpcId = params['NumericalVpcId']
10872
10913
  @LoadBalancerType = params['LoadBalancerType']
10873
10914
  @LoadBalancerDomain = params['LoadBalancerDomain']
@@ -11777,18 +11818,22 @@ module TencentCloud
11777
11818
  class ModifyBotSceneUCBRuleResponse < TencentCloud::Common::AbstractModel
11778
11819
  # @param Data: 正常情况下为null
11779
11820
  # @type Data: String
11821
+ # @param RuleIdList: ["1231"]
11822
+ # @type RuleIdList: Array
11780
11823
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11781
11824
  # @type RequestId: String
11782
11825
 
11783
- attr_accessor :Data, :RequestId
11826
+ attr_accessor :Data, :RuleIdList, :RequestId
11784
11827
 
11785
- def initialize(data=nil, requestid=nil)
11828
+ def initialize(data=nil, ruleidlist=nil, requestid=nil)
11786
11829
  @Data = data
11830
+ @RuleIdList = ruleidlist
11787
11831
  @RequestId = requestid
11788
11832
  end
11789
11833
 
11790
11834
  def deserialize(params)
11791
11835
  @Data = params['Data']
11836
+ @RuleIdList = params['RuleIdList']
11792
11837
  @RequestId = params['RequestId']
11793
11838
  end
11794
11839
  end
@@ -13636,6 +13681,26 @@ module TencentCloud
13636
13681
  end
13637
13682
  end
13638
13683
 
13684
+ # bot-自定义规则请求参数比对结构体
13685
+ class ParamCompareList < TencentCloud::Common::AbstractModel
13686
+ # @param Key: 请求参数比对的匹配参数
13687
+ # @type Key: String
13688
+ # @param Value: 请求参数比对的匹配值
13689
+ # @type Value: String
13690
+
13691
+ attr_accessor :Key, :Value
13692
+
13693
+ def initialize(key=nil, value=nil)
13694
+ @Key = key
13695
+ @Value = value
13696
+ end
13697
+
13698
+ def deserialize(params)
13699
+ @Key = params['Key']
13700
+ @Value = params['Value']
13701
+ end
13702
+ end
13703
+
13639
13704
  # PeakPoints数组项
13640
13705
  class PeakPointsItem < TencentCloud::Common::AbstractModel
13641
13706
  # @param Time: 秒级别时间戳
@@ -14625,7 +14690,7 @@ module TencentCloud
14625
14690
 
14626
14691
  # waf斯巴达-编辑防护域名中的端口结构
14627
14692
  class SpartaProtectionPort < TencentCloud::Common::AbstractModel
14628
- # @param NginxServerId: 分配的服务器id
14693
+ # @param NginxServerId: 分配的服务器id。首次接入的域名和端口该参数填0,已接入的域名和端口分配的id可以通过DescribeDomainDetailsSaas或DescribeDomains接口获取。
14629
14694
  # @type NginxServerId: Integer
14630
14695
  # @param Port: 端口
14631
14696
  # @type Port: String
@@ -15117,7 +15182,7 @@ module TencentCloud
15117
15182
  # @type Priority: Integer
15118
15183
  # @param ValidTime: 动作有效时间
15119
15184
  # @type ValidTime: Integer
15120
- # @param OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
15185
+ # @param OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
15121
15186
  # @type OptionsArr: String
15122
15187
  # @param Edition: waf版本,sparta-waf或者clb-waf
15123
15188
  # @type Edition: String
@@ -15133,10 +15198,12 @@ module TencentCloud
15133
15198
  # @type CreateTime: Integer
15134
15199
  # @param Length: url长度
15135
15200
  # @type Length: Integer
15201
+ # @param LimitMethod: 限频方式
15202
+ # @type LimitMethod: String
15136
15203
 
15137
- attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length
15204
+ attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length, :LimitMethod
15138
15205
 
15139
- def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil)
15206
+ def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil, limitmethod=nil)
15140
15207
  @Domain = domain
15141
15208
  @Name = name
15142
15209
  @Status = status
@@ -15156,6 +15223,7 @@ module TencentCloud
15156
15223
  @RuleId = ruleid
15157
15224
  @CreateTime = createtime
15158
15225
  @Length = length
15226
+ @LimitMethod = limitmethod
15159
15227
  end
15160
15228
 
15161
15229
  def deserialize(params)
@@ -15178,6 +15246,7 @@ module TencentCloud
15178
15246
  @RuleId = params['RuleId']
15179
15247
  @CreateTime = params['CreateTime']
15180
15248
  @Length = params['Length']
15249
+ @LimitMethod = params['LimitMethod']
15181
15250
  end
15182
15251
  end
15183
15252
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1056
4
+ version: 3.0.1057
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-11 00:00:00.000000000 Z
11
+ date: 2025-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common