tencentcloud-sdk-waf 3.0.1131 → 3.0.1141

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4df52d3bf225fd0da5943f159dfc80f54c23db1
4
- data.tar.gz: 2873bbb04f842a4f2f78b5134cc7af1ce7ec3f5f
3
+ metadata.gz: d5657ab0a0813f237924d8d134c7c1134670310a
4
+ data.tar.gz: fbfd646d7e5cd4ab70cef5e0922234cd87acb7db
5
5
  SHA512:
6
- metadata.gz: 3de869df2397fa55f5ae98db1d683d52356ebd020c057a52cf797e4edaa2c790a8f5da6a41bcefdaadf2ecafca771545e2b4bb246c52c9015729c4f964c53216
7
- data.tar.gz: 2977f01489afe605f96c7586d1fc11c2bb38fa8e7adc4beefc18e78292cd79ad2d3655258369e842db12c84cee22b72183f91903aa6b775235e3dc70dc007e3f
6
+ metadata.gz: ce8ed8f13633f04a1676aab787e68d48047e7858283aca948404187d66a52aa29cd6f64cca286fd6524cb8ca22beb63fe7a78a3f665a7950c3746c0298184f69
7
+ data.tar.gz: f3773daa0863c3ec04379a915ab791fa1225390403c25a3ac7a19c0e967e32be74a705a43be16eab1da38abfa986780d98d6f2d5154bfda89588e14891048266
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1131
1
+ 3.0.1141
@@ -293,6 +293,30 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 批量IP黑白名单新增接口
297
+
298
+ # @param request: Request instance for CreateBatchIpAccessControl.
299
+ # @type request: :class:`Tencentcloud::waf::V20180125::CreateBatchIpAccessControlRequest`
300
+ # @rtype: :class:`Tencentcloud::waf::V20180125::CreateBatchIpAccessControlResponse`
301
+ def CreateBatchIpAccessControl(request)
302
+ body = send_request('CreateBatchIpAccessControl', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = CreateBatchIpAccessControlResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
296
320
  # 计费资源购买、续费下单接口
297
321
 
298
322
  # @param request: Request instance for CreateDeals.
@@ -581,6 +605,30 @@ module TencentCloud
581
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
606
  end
583
607
 
608
+ # 批量黑白名单删除接口
609
+
610
+ # @param request: Request instance for DeleteBatchIpAccessControl.
611
+ # @type request: :class:`Tencentcloud::waf::V20180125::DeleteBatchIpAccessControlRequest`
612
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DeleteBatchIpAccessControlResponse`
613
+ def DeleteBatchIpAccessControl(request)
614
+ body = send_request('DeleteBatchIpAccessControl', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = DeleteBatchIpAccessControlResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
584
632
  # 场景化后删除Bot的UCB自定义规则
585
633
 
586
634
  # @param request: Request instance for DeleteBotSceneUCBRule.
@@ -3151,6 +3199,30 @@ module TencentCloud
3151
3199
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3152
3200
  end
3153
3201
 
3202
+ # 批量IP黑白名单新增接口
3203
+
3204
+ # @param request: Request instance for ModifyBatchIpAccessControl.
3205
+ # @type request: :class:`Tencentcloud::waf::V20180125::ModifyBatchIpAccessControlRequest`
3206
+ # @rtype: :class:`Tencentcloud::waf::V20180125::ModifyBatchIpAccessControlResponse`
3207
+ def ModifyBatchIpAccessControl(request)
3208
+ body = send_request('ModifyBatchIpAccessControl', request.serialize)
3209
+ response = JSON.parse(body)
3210
+ if response['Response'].key?('Error') == false
3211
+ model = ModifyBatchIpAccessControlResponse.new
3212
+ model.deserialize(response['Response'])
3213
+ model
3214
+ else
3215
+ code = response['Response']['Error']['Code']
3216
+ message = response['Response']['Error']['Message']
3217
+ reqid = response['Response']['RequestId']
3218
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3219
+ end
3220
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3221
+ raise e
3222
+ rescue StandardError => e
3223
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3224
+ end
3225
+
3154
3226
  # bot子场景开关
3155
3227
 
3156
3228
  # @param request: Request instance for ModifyBotSceneStatus.
@@ -77,8 +77,8 @@ module TencentCloud
77
77
 
78
78
  attr_accessor :BTime, :Count, :BeginTime
79
79
  extend Gem::Deprecate
80
- deprecate :BTime, :none, 2025, 8
81
- deprecate :BTime=, :none, 2025, 8
80
+ deprecate :BTime, :none, 2025, 9
81
+ deprecate :BTime=, :none, 2025, 9
82
82
 
83
83
  def initialize(btime=nil, count=nil, begintime=nil)
84
84
  @BTime = btime
@@ -595,8 +595,8 @@ module TencentCloud
595
595
 
596
596
  attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp
597
597
  extend Gem::Deprecate
598
- deprecate :Bypass, :none, 2025, 8
599
- deprecate :Bypass=, :none, 2025, 8
598
+ deprecate :Bypass, :none, 2025, 9
599
+ deprecate :Bypass=, :none, 2025, 9
600
600
 
601
601
  def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, expiretime=nil, edition=nil, bypass=nil, eventid=nil, jobtype=nil, jobdatetime=nil, source=nil, label=nil, status=nil, pageid=nil, logicalop=nil)
602
602
  @Name = name
@@ -954,16 +954,16 @@ module TencentCloud
954
954
 
955
955
  attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :HttpsRewrite, :UpstreamDomain, :SrcList, :IsHttp2, :Edition, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :CipherTemplate, :Ciphers, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase
956
956
  extend Gem::Deprecate
957
- deprecate :ResourceId, :none, 2025, 8
958
- deprecate :ResourceId=, :none, 2025, 8
959
- deprecate :IsGray, :none, 2025, 8
960
- deprecate :IsGray=, :none, 2025, 8
961
- deprecate :GrayAreas, :none, 2025, 8
962
- deprecate :GrayAreas=, :none, 2025, 8
963
- deprecate :Edition, :none, 2025, 8
964
- deprecate :Edition=, :none, 2025, 8
965
- deprecate :Anycast, :none, 2025, 8
966
- deprecate :Anycast=, :none, 2025, 8
957
+ deprecate :ResourceId, :none, 2025, 9
958
+ deprecate :ResourceId=, :none, 2025, 9
959
+ deprecate :IsGray, :none, 2025, 9
960
+ deprecate :IsGray=, :none, 2025, 9
961
+ deprecate :GrayAreas, :none, 2025, 9
962
+ deprecate :GrayAreas=, :none, 2025, 9
963
+ deprecate :Edition, :none, 2025, 9
964
+ deprecate :Edition=, :none, 2025, 9
965
+ deprecate :Anycast, :none, 2025, 9
966
+ deprecate :Anycast=, :none, 2025, 9
967
967
 
968
968
  def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, ports=nil, iskeepalive=nil, instanceid=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, ipheaders=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, httpsrewrite=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, edition=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphertemplate=nil, ciphers=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
969
969
  @Domain = domain
@@ -1511,6 +1511,26 @@ module TencentCloud
1511
1511
  end
1512
1512
  end
1513
1513
 
1514
+ # 批量防护失败的域名以及对应的原因。
1515
+ class BatchDomainResult < TencentCloud::Common::AbstractModel
1516
+ # @param Domain: 批量操作中失败的域名
1517
+ # @type Domain: String
1518
+ # @param Message: 操作失败的原因
1519
+ # @type Message: String
1520
+
1521
+ attr_accessor :Domain, :Message
1522
+
1523
+ def initialize(domain=nil, message=nil)
1524
+ @Domain = domain
1525
+ @Message = message
1526
+ end
1527
+
1528
+ def deserialize(params)
1529
+ @Domain = params['Domain']
1530
+ @Message = params['Message']
1531
+ end
1532
+ end
1533
+
1514
1534
  # 多域名黑白名单describe返回
1515
1535
  class BatchIpAccessControlData < TencentCloud::Common::AbstractModel
1516
1536
  # @param TotalCount: 总数
@@ -1575,10 +1595,10 @@ module TencentCloud
1575
1595
 
1576
1596
  attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus, :GroupIds
1577
1597
  extend Gem::Deprecate
1578
- deprecate :Id, :none, 2025, 8
1579
- deprecate :Id=, :none, 2025, 8
1580
- deprecate :Ip, :none, 2025, 8
1581
- deprecate :Ip=, :none, 2025, 8
1598
+ deprecate :Id, :none, 2025, 9
1599
+ deprecate :Id=, :none, 2025, 9
1600
+ deprecate :Ip, :none, 2025, 9
1601
+ deprecate :Ip=, :none, 2025, 9
1582
1602
 
1583
1603
  def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil, ruleid=nil, iplist=nil, createtime=nil, jobtype=nil, crontype=nil, jobdatetime=nil, validstatus=nil, groupids=nil)
1584
1604
  @Id = id
@@ -2909,6 +2929,80 @@ module TencentCloud
2909
2929
  end
2910
2930
  end
2911
2931
 
2932
+ # CreateBatchIpAccessControl请求参数结构体
2933
+ class CreateBatchIpAccessControlRequest < TencentCloud::Common::AbstractModel
2934
+ # @param IpList: IP参数列表
2935
+ # @type IpList: Array
2936
+ # @param JobType: 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
2937
+ # @type JobType: String
2938
+ # @param JobDateTime: 定时任务配置
2939
+ # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
2940
+ # @param ActionType: 42为黑名单,40为白名单
2941
+ # @type ActionType: Integer
2942
+ # @param GroupIds: 防护对象组ID列表,如果绑定的是防护对象组,和Domains参数二选一
2943
+ # @type GroupIds: Array
2944
+ # @param Domains: 域名列表,如果绑定的是批量域名,和GroupIds参数二选一
2945
+ # @type Domains: Array
2946
+ # @param Note: 备注
2947
+ # @type Note: String
2948
+
2949
+ attr_accessor :IpList, :JobType, :JobDateTime, :ActionType, :GroupIds, :Domains, :Note
2950
+
2951
+ def initialize(iplist=nil, jobtype=nil, jobdatetime=nil, actiontype=nil, groupids=nil, domains=nil, note=nil)
2952
+ @IpList = iplist
2953
+ @JobType = jobtype
2954
+ @JobDateTime = jobdatetime
2955
+ @ActionType = actiontype
2956
+ @GroupIds = groupids
2957
+ @Domains = domains
2958
+ @Note = note
2959
+ end
2960
+
2961
+ def deserialize(params)
2962
+ @IpList = params['IpList']
2963
+ @JobType = params['JobType']
2964
+ unless params['JobDateTime'].nil?
2965
+ @JobDateTime = JobDateTime.new
2966
+ @JobDateTime.deserialize(params['JobDateTime'])
2967
+ end
2968
+ @ActionType = params['ActionType']
2969
+ @GroupIds = params['GroupIds']
2970
+ @Domains = params['Domains']
2971
+ @Note = params['Note']
2972
+ end
2973
+ end
2974
+
2975
+ # CreateBatchIpAccessControl返回参数结构体
2976
+ class CreateBatchIpAccessControlResponse < TencentCloud::Common::AbstractModel
2977
+ # @param Failed: 添加失败的域名列表,如果非空则表示有域名添加失败,整个批量规则添加失败,否则则表示批量规则添加成功。
2978
+ # @type Failed: Array
2979
+ # @param RuleId: 添加成功的批量规则ID
2980
+ # @type RuleId: Integer
2981
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2982
+ # @type RequestId: String
2983
+
2984
+ attr_accessor :Failed, :RuleId, :RequestId
2985
+
2986
+ def initialize(failed=nil, ruleid=nil, requestid=nil)
2987
+ @Failed = failed
2988
+ @RuleId = ruleid
2989
+ @RequestId = requestid
2990
+ end
2991
+
2992
+ def deserialize(params)
2993
+ unless params['Failed'].nil?
2994
+ @Failed = []
2995
+ params['Failed'].each do |i|
2996
+ batchdomainresult_tmp = BatchDomainResult.new
2997
+ batchdomainresult_tmp.deserialize(i)
2998
+ @Failed << batchdomainresult_tmp
2999
+ end
3000
+ end
3001
+ @RuleId = params['RuleId']
3002
+ @RequestId = params['RequestId']
3003
+ end
3004
+ end
3005
+
2912
3006
  # 计费下单接口出入参Goods
2913
3007
  class CreateDealsGoods < TencentCloud::Common::AbstractModel
2914
3008
  # @param GoodsNum: 商品数量
@@ -3112,7 +3206,7 @@ module TencentCloud
3112
3206
  # @type TopicId: String
3113
3207
  # @param Count: 日志导出数量, 最大值5000万
3114
3208
  # @type Count: Integer
3115
- # @param Query: 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>
3209
+ # @param Query: 日志导出检索语句,需要进行base64编码,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>
3116
3210
  # @type Query: String
3117
3211
  # @param From: 日志导出起始时间,毫秒时间戳
3118
3212
  # @type From: Integer
@@ -3244,8 +3338,8 @@ module TencentCloud
3244
3338
 
3245
3339
  attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
3246
3340
  extend Gem::Deprecate
3247
- deprecate :ValidTS, :none, 2025, 8
3248
- deprecate :ValidTS=, :none, 2025, 8
3341
+ deprecate :ValidTS, :none, 2025, 9
3342
+ deprecate :ValidTS=, :none, 2025, 9
3249
3343
 
3250
3344
  def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
3251
3345
  @Domain = domain
@@ -3726,6 +3820,38 @@ module TencentCloud
3726
3820
  end
3727
3821
  end
3728
3822
 
3823
+ # DeleteBatchIpAccessControl请求参数结构体
3824
+ class DeleteBatchIpAccessControlRequest < TencentCloud::Common::AbstractModel
3825
+ # @param Ids: 规则ID列表,支持批量删除
3826
+ # @type Ids: Array
3827
+
3828
+ attr_accessor :Ids
3829
+
3830
+ def initialize(ids=nil)
3831
+ @Ids = ids
3832
+ end
3833
+
3834
+ def deserialize(params)
3835
+ @Ids = params['Ids']
3836
+ end
3837
+ end
3838
+
3839
+ # DeleteBatchIpAccessControl返回参数结构体
3840
+ class DeleteBatchIpAccessControlResponse < TencentCloud::Common::AbstractModel
3841
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3842
+ # @type RequestId: String
3843
+
3844
+ attr_accessor :RequestId
3845
+
3846
+ def initialize(requestid=nil)
3847
+ @RequestId = requestid
3848
+ end
3849
+
3850
+ def deserialize(params)
3851
+ @RequestId = params['RequestId']
3852
+ end
3853
+ end
3854
+
3729
3855
  # DeleteBotSceneUCBRule请求参数结构体
3730
3856
  class DeleteBotSceneUCBRuleRequest < TencentCloud::Common::AbstractModel
3731
3857
  # @param Domain: 域名
@@ -4383,8 +4509,8 @@ module TencentCloud
4383
4509
 
4384
4510
  attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
4385
4511
  extend Gem::Deprecate
4386
- deprecate :TopicId, :none, 2025, 8
4387
- deprecate :TopicId=, :none, 2025, 8
4512
+ deprecate :TopicId, :none, 2025, 9
4513
+ deprecate :TopicId=, :none, 2025, 9
4388
4514
 
4389
4515
  def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
4390
4516
  @From = from
@@ -7136,10 +7262,10 @@ module TencentCloud
7136
7262
 
7137
7263
  attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
7138
7264
  extend Gem::Deprecate
7139
- deprecate :VtsMin, :none, 2025, 8
7140
- deprecate :VtsMin=, :none, 2025, 8
7141
- deprecate :VtsMax, :none, 2025, 8
7142
- deprecate :VtsMax=, :none, 2025, 8
7265
+ deprecate :VtsMin, :none, 2025, 9
7266
+ deprecate :VtsMin=, :none, 2025, 9
7267
+ deprecate :VtsMax, :none, 2025, 9
7268
+ deprecate :VtsMax=, :none, 2025, 9
7143
7269
 
7144
7270
  def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil, timertype=nil)
7145
7271
  @Domain = domain
@@ -7242,10 +7368,10 @@ module TencentCloud
7242
7368
 
7243
7369
  attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
7244
7370
  extend Gem::Deprecate
7245
- deprecate :VtsMin, :none, 2025, 8
7246
- deprecate :VtsMin=, :none, 2025, 8
7247
- deprecate :VtsMax, :none, 2025, 8
7248
- deprecate :VtsMax=, :none, 2025, 8
7371
+ deprecate :VtsMin, :none, 2025, 9
7372
+ deprecate :VtsMin=, :none, 2025, 9
7373
+ deprecate :VtsMax, :none, 2025, 9
7374
+ deprecate :VtsMax=, :none, 2025, 9
7249
7375
 
7250
7376
  def initialize(domain=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil, ip=nil, validtimestampmin=nil, validtimestampmax=nil)
7251
7377
  @Domain = domain
@@ -7311,7 +7437,7 @@ module TencentCloud
7311
7437
  # @type From: Integer
7312
7438
  # @param To: 要查询的日志的结束时间,Unix时间戳,单位ms
7313
7439
  # @type To: Integer
7314
- # @param Query: 查询语句
7440
+ # @param Query: 查询语句,进行base64编码
7315
7441
  # @type Query: String
7316
7442
  # @param TopicId: 日志主题ID,可以通过DescribeTopics接口获取,访问日志主题ID和攻击日志主题ID方式不同,注意DescribeTopics接口使用方法
7317
7443
  # @type TopicId: String
@@ -9707,8 +9833,8 @@ module TencentCloud
9707
9833
 
9708
9834
  attr_accessor :Domain, :DomainId, :InstanceId, :Edition, :InstanceName, :Cert, :CreateTime, :Engine, :HttpsRewrite, :HttpsUpstreamPort, :IsCdn, :IsGray, :IsHttp2, :IsWebsocket, :LoadBalance, :Mode, :PrivateKey, :SSLId, :UpstreamDomain, :UpstreamType, :SrcList, :Ports, :CertType, :UpstreamScheme, :Cls, :Cname, :IsKeepAlive, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :Weights, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :Level, :ProxyBuffer, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :Labels, :ProbeStatus, :UpstreamPolicy, :UpstreamRules, :UseCase
9709
9835
  extend Gem::Deprecate
9710
- deprecate :IsGray, :none, 2025, 8
9711
- deprecate :IsGray=, :none, 2025, 8
9836
+ deprecate :IsGray, :none, 2025, 9
9837
+ deprecate :IsGray=, :none, 2025, 9
9712
9838
 
9713
9839
  def initialize(domain=nil, domainid=nil, instanceid=nil, edition=nil, instancename=nil, cert=nil, createtime=nil, engine=nil, httpsrewrite=nil, httpsupstreamport=nil, iscdn=nil, isgray=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, mode=nil, privatekey=nil, sslid=nil, upstreamdomain=nil, upstreamtype=nil, srclist=nil, ports=nil, certtype=nil, upstreamscheme=nil, cls=nil, cname=nil, iskeepalive=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, weights=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, level=nil, proxybuffer=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, labels=nil, probestatus=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
9714
9840
  @Domain = domain
@@ -12741,6 +12867,80 @@ module TencentCloud
12741
12867
  end
12742
12868
  end
12743
12869
 
12870
+ # ModifyBatchIpAccessControl请求参数结构体
12871
+ class ModifyBatchIpAccessControlRequest < TencentCloud::Common::AbstractModel
12872
+ # @param RuleId: 编辑的批量规则ID
12873
+ # @type RuleId: Integer
12874
+ # @param IpList: IP参数列表
12875
+ # @type IpList: Array
12876
+ # @param JobType: 规则执行的方式,TimedJob为定时执行,CronJob为周期执行
12877
+ # @type JobType: String
12878
+ # @param JobDateTime: 定时任务配置
12879
+ # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
12880
+ # @param ActionType: 42为黑名单,40为白名单
12881
+ # @type ActionType: Integer
12882
+ # @param GroupIds: 防护对象组ID列表,如果绑定的是防护对象组,和Domains参数二选一
12883
+ # @type GroupIds: Array
12884
+ # @param Domains: 域名列表,如果绑定的是批量域名,和GroupIds参数二选一
12885
+ # @type Domains: Array
12886
+ # @param Note: 备注
12887
+ # @type Note: String
12888
+
12889
+ attr_accessor :RuleId, :IpList, :JobType, :JobDateTime, :ActionType, :GroupIds, :Domains, :Note
12890
+
12891
+ def initialize(ruleid=nil, iplist=nil, jobtype=nil, jobdatetime=nil, actiontype=nil, groupids=nil, domains=nil, note=nil)
12892
+ @RuleId = ruleid
12893
+ @IpList = iplist
12894
+ @JobType = jobtype
12895
+ @JobDateTime = jobdatetime
12896
+ @ActionType = actiontype
12897
+ @GroupIds = groupids
12898
+ @Domains = domains
12899
+ @Note = note
12900
+ end
12901
+
12902
+ def deserialize(params)
12903
+ @RuleId = params['RuleId']
12904
+ @IpList = params['IpList']
12905
+ @JobType = params['JobType']
12906
+ unless params['JobDateTime'].nil?
12907
+ @JobDateTime = JobDateTime.new
12908
+ @JobDateTime.deserialize(params['JobDateTime'])
12909
+ end
12910
+ @ActionType = params['ActionType']
12911
+ @GroupIds = params['GroupIds']
12912
+ @Domains = params['Domains']
12913
+ @Note = params['Note']
12914
+ end
12915
+ end
12916
+
12917
+ # ModifyBatchIpAccessControl返回参数结构体
12918
+ class ModifyBatchIpAccessControlResponse < TencentCloud::Common::AbstractModel
12919
+ # @param Failed: 编辑失败的域名列表,如果非空则表示有域名编辑失败,整个批量规则编辑失败,否则则表示批量规则编辑成功。
12920
+ # @type Failed: Array
12921
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12922
+ # @type RequestId: String
12923
+
12924
+ attr_accessor :Failed, :RequestId
12925
+
12926
+ def initialize(failed=nil, requestid=nil)
12927
+ @Failed = failed
12928
+ @RequestId = requestid
12929
+ end
12930
+
12931
+ def deserialize(params)
12932
+ unless params['Failed'].nil?
12933
+ @Failed = []
12934
+ params['Failed'].each do |i|
12935
+ batchdomainresult_tmp = BatchDomainResult.new
12936
+ batchdomainresult_tmp.deserialize(i)
12937
+ @Failed << batchdomainresult_tmp
12938
+ end
12939
+ end
12940
+ @RequestId = params['RequestId']
12941
+ end
12942
+ end
12943
+
12744
12944
  # ModifyBotSceneStatus请求参数结构体
12745
12945
  class ModifyBotSceneStatusRequest < TencentCloud::Common::AbstractModel
12746
12946
  # @param Domain: 域名
@@ -12955,8 +13155,8 @@ module TencentCloud
12955
13155
 
12956
13156
  attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
12957
13157
  extend Gem::Deprecate
12958
- deprecate :Bypass, :none, 2025, 8
12959
- deprecate :Bypass=, :none, 2025, 8
13158
+ deprecate :Bypass, :none, 2025, 9
13159
+ deprecate :Bypass=, :none, 2025, 9
12960
13160
 
12961
13161
  def initialize(domain=nil, ruleid=nil, rulename=nil, ruleaction=nil, strategies=nil, edition=nil, redirect=nil, bypass=nil, sortid=nil, expiretime=nil, jobtype=nil, jobdatetime=nil, source=nil, status=nil, pageid=nil, logicalop=nil)
12962
13162
  @Domain = domain
@@ -13880,8 +14080,8 @@ module TencentCloud
13880
14080
 
13881
14081
  attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
13882
14082
  extend Gem::Deprecate
13883
- deprecate :ValidTS, :none, 2025, 8
13884
- deprecate :ValidTS=, :none, 2025, 8
14083
+ deprecate :ValidTS, :none, 2025, 9
14084
+ deprecate :ValidTS=, :none, 2025, 9
13885
14085
 
13886
14086
  def initialize(domain=nil, iplist=nil, actiontype=nil, ruleid=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
13887
14087
  @Domain = domain
@@ -14524,10 +14724,10 @@ module TencentCloud
14524
14724
 
14525
14725
  attr_accessor :Domain, :DomainId, :InstanceID, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase
14526
14726
  extend Gem::Deprecate
14527
- deprecate :IsGray, :none, 2025, 8
14528
- deprecate :IsGray=, :none, 2025, 8
14529
- deprecate :Anycast, :none, 2025, 8
14530
- deprecate :Anycast=, :none, 2025, 8
14727
+ deprecate :IsGray, :none, 2025, 9
14728
+ deprecate :IsGray=, :none, 2025, 9
14729
+ deprecate :Anycast, :none, 2025, 9
14730
+ deprecate :Anycast=, :none, 2025, 9
14531
14731
 
14532
14732
  def initialize(domain=nil, domainid=nil, instanceid=nil, certtype=nil, cert=nil, privatekey=nil, sslid=nil, iscdn=nil, upstreamscheme=nil, httpsupstreamport=nil, httpsrewrite=nil, upstreamtype=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, isgray=nil, edition=nil, ports=nil, iskeepalive=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
14533
14733
  @Domain = domain
@@ -15969,10 +16169,10 @@ module TencentCloud
15969
16169
 
15970
16170
  attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
15971
16171
  extend Gem::Deprecate
15972
- deprecate :ColNames, :none, 2025, 8
15973
- deprecate :ColNames=, :none, 2025, 8
15974
- deprecate :AnalysisResults, :none, 2025, 8
15975
- deprecate :AnalysisResults=, :none, 2025, 8
16172
+ deprecate :ColNames, :none, 2025, 9
16173
+ deprecate :ColNames=, :none, 2025, 9
16174
+ deprecate :AnalysisResults, :none, 2025, 9
16175
+ deprecate :AnalysisResults=, :none, 2025, 9
15976
16176
 
15977
16177
  def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
15978
16178
  @Context = context
@@ -16126,9 +16326,7 @@ module TencentCloud
16126
16326
  # @type From: Integer
16127
16327
  # @param To: 要检索分析的日志的结束时间,Unix时间戳(毫秒)
16128
16328
  # @type To: Integer
16129
- # @param Query: 检索分析语句,最大长度为12KB
16130
- # 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
16131
- # 使用*或空字符串可查询所有日志
16329
+ # @param Query: 检索分析语句,需要进行base64编码,最大长度为12KB语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句使用*或空字符串可查询所有日志
16132
16330
  # @type Query: String
16133
16331
  # @param SyntaxRule: 检索语法规则,默认值为0,推荐使用1 (CQL语法)。
16134
16332
  # 0:Lucene语法,1:CQL语法。
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.1131
4
+ version: 3.0.1141
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-08-27 00:00:00.000000000 Z
11
+ date: 2025-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common