tencentcloud-sdk-waf 3.0.1054 → 3.0.1055
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/v20180125/client.rb +24 -0
- data/lib/v20180125/models.rb +55 -28
- 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: d9e559ae8fb741cafed6934842bd9cba24eabb36
|
4
|
+
data.tar.gz: 6d8095cc03fefca142eb2157211e0523b55faf35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7733f68c5705e7d2b51fc214e6132e0ab3a278bfe05e51b3a2baf172d22566dc7656c895de3c5bdf36251394b5dbb385e6605b9117181bc3a907c10b3efce0f2
|
7
|
+
data.tar.gz: a72040179a884e39955ea908c17826f6e6833161b285da8988ac6971cc3f583afc4d129ca8cae0344e13fde0a73811d02339ce559a61e9027808f7a4c6065f32
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1055
|
data/lib/v20180125/client.rb
CHANGED
@@ -3272,6 +3272,30 @@ module TencentCloud
|
|
3272
3272
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3273
3273
|
end
|
3274
3274
|
|
3275
|
+
# 修改实例攻击日志投递开关,企业版及以上版本可以开通,否则返回错误
|
3276
|
+
|
3277
|
+
# @param request: Request instance for ModifyInstanceAttackLogPost.
|
3278
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyInstanceAttackLogPostRequest`
|
3279
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::ModifyInstanceAttackLogPostResponse`
|
3280
|
+
def ModifyInstanceAttackLogPost(request)
|
3281
|
+
body = send_request('ModifyInstanceAttackLogPost', request.serialize)
|
3282
|
+
response = JSON.parse(body)
|
3283
|
+
if response['Response'].key?('Error') == false
|
3284
|
+
model = ModifyInstanceAttackLogPostResponse.new
|
3285
|
+
model.deserialize(response['Response'])
|
3286
|
+
model
|
3287
|
+
else
|
3288
|
+
code = response['Response']['Error']['Code']
|
3289
|
+
message = response['Response']['Error']['Message']
|
3290
|
+
reqid = response['Response']['RequestId']
|
3291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3292
|
+
end
|
3293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3294
|
+
raise e
|
3295
|
+
rescue StandardError => e
|
3296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3297
|
+
end
|
3298
|
+
|
3275
3299
|
# 修改实例的QPS弹性计费开关
|
3276
3300
|
|
3277
3301
|
# @param request: Request instance for ModifyInstanceElasticMode.
|
data/lib/v20180125/models.rb
CHANGED
@@ -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,
|
81
|
-
deprecate :BTime=, :none, 2025,
|
80
|
+
deprecate :BTime, :none, 2025, 5
|
81
|
+
deprecate :BTime=, :none, 2025, 5
|
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,
|
599
|
-
deprecate :Bypass=, :none, 2025,
|
598
|
+
deprecate :Bypass, :none, 2025, 5
|
599
|
+
deprecate :Bypass=, :none, 2025, 5
|
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
|
@@ -1529,10 +1529,10 @@ module TencentCloud
|
|
1529
1529
|
|
1530
1530
|
attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus, :GroupIds
|
1531
1531
|
extend Gem::Deprecate
|
1532
|
-
deprecate :Id, :none, 2025,
|
1533
|
-
deprecate :Id=, :none, 2025,
|
1534
|
-
deprecate :Ip, :none, 2025,
|
1535
|
-
deprecate :Ip=, :none, 2025,
|
1532
|
+
deprecate :Id, :none, 2025, 5
|
1533
|
+
deprecate :Id=, :none, 2025, 5
|
1534
|
+
deprecate :Ip, :none, 2025, 5
|
1535
|
+
deprecate :Ip=, :none, 2025, 5
|
1536
1536
|
|
1537
1537
|
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)
|
1538
1538
|
@Id = id
|
@@ -3061,8 +3061,8 @@ module TencentCloud
|
|
3061
3061
|
|
3062
3062
|
attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
3063
3063
|
extend Gem::Deprecate
|
3064
|
-
deprecate :ValidTS, :none, 2025,
|
3065
|
-
deprecate :ValidTS=, :none, 2025,
|
3064
|
+
deprecate :ValidTS, :none, 2025, 5
|
3065
|
+
deprecate :ValidTS=, :none, 2025, 5
|
3066
3066
|
|
3067
3067
|
def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
3068
3068
|
@Domain = domain
|
@@ -4019,8 +4019,8 @@ module TencentCloud
|
|
4019
4019
|
|
4020
4020
|
attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
|
4021
4021
|
extend Gem::Deprecate
|
4022
|
-
deprecate :TopicId, :none, 2025,
|
4023
|
-
deprecate :TopicId=, :none, 2025,
|
4022
|
+
deprecate :TopicId, :none, 2025, 5
|
4023
|
+
deprecate :TopicId=, :none, 2025, 5
|
4024
4024
|
|
4025
4025
|
def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
|
4026
4026
|
@From = from
|
@@ -6711,10 +6711,10 @@ module TencentCloud
|
|
6711
6711
|
|
6712
6712
|
attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
|
6713
6713
|
extend Gem::Deprecate
|
6714
|
-
deprecate :VtsMin, :none, 2025,
|
6715
|
-
deprecate :VtsMin=, :none, 2025,
|
6716
|
-
deprecate :VtsMax, :none, 2025,
|
6717
|
-
deprecate :VtsMax=, :none, 2025,
|
6714
|
+
deprecate :VtsMin, :none, 2025, 5
|
6715
|
+
deprecate :VtsMin=, :none, 2025, 5
|
6716
|
+
deprecate :VtsMax, :none, 2025, 5
|
6717
|
+
deprecate :VtsMax=, :none, 2025, 5
|
6718
6718
|
|
6719
6719
|
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)
|
6720
6720
|
@Domain = domain
|
@@ -6817,10 +6817,10 @@ module TencentCloud
|
|
6817
6817
|
|
6818
6818
|
attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
|
6819
6819
|
extend Gem::Deprecate
|
6820
|
-
deprecate :VtsMin, :none, 2025,
|
6821
|
-
deprecate :VtsMin=, :none, 2025,
|
6822
|
-
deprecate :VtsMax, :none, 2025,
|
6823
|
-
deprecate :VtsMax=, :none, 2025,
|
6820
|
+
deprecate :VtsMin, :none, 2025, 5
|
6821
|
+
deprecate :VtsMin=, :none, 2025, 5
|
6822
|
+
deprecate :VtsMax, :none, 2025, 5
|
6823
|
+
deprecate :VtsMax=, :none, 2025, 5
|
6824
6824
|
|
6825
6825
|
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)
|
6826
6826
|
@Domain = domain
|
@@ -11905,8 +11905,8 @@ module TencentCloud
|
|
11905
11905
|
|
11906
11906
|
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
|
11907
11907
|
extend Gem::Deprecate
|
11908
|
-
deprecate :Bypass, :none, 2025,
|
11909
|
-
deprecate :Bypass=, :none, 2025,
|
11908
|
+
deprecate :Bypass, :none, 2025, 5
|
11909
|
+
deprecate :Bypass=, :none, 2025, 5
|
11910
11910
|
|
11911
11911
|
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)
|
11912
11912
|
@Domain = domain
|
@@ -12610,6 +12610,33 @@ module TencentCloud
|
|
12610
12610
|
end
|
12611
12611
|
end
|
12612
12612
|
|
12613
|
+
# ModifyInstanceAttackLogPost请求参数结构体
|
12614
|
+
class ModifyInstanceAttackLogPostRequest < TencentCloud::Common::AbstractModel
|
12615
|
+
|
12616
|
+
|
12617
|
+
def initialize()
|
12618
|
+
end
|
12619
|
+
|
12620
|
+
def deserialize(params)
|
12621
|
+
end
|
12622
|
+
end
|
12623
|
+
|
12624
|
+
# ModifyInstanceAttackLogPost返回参数结构体
|
12625
|
+
class ModifyInstanceAttackLogPostResponse < TencentCloud::Common::AbstractModel
|
12626
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12627
|
+
# @type RequestId: String
|
12628
|
+
|
12629
|
+
attr_accessor :RequestId
|
12630
|
+
|
12631
|
+
def initialize(requestid=nil)
|
12632
|
+
@RequestId = requestid
|
12633
|
+
end
|
12634
|
+
|
12635
|
+
def deserialize(params)
|
12636
|
+
@RequestId = params['RequestId']
|
12637
|
+
end
|
12638
|
+
end
|
12639
|
+
|
12613
12640
|
# ModifyInstanceElasticMode请求参数结构体
|
12614
12641
|
class ModifyInstanceElasticModeRequest < TencentCloud::Common::AbstractModel
|
12615
12642
|
# @param InstanceId: 实例ID
|
@@ -12790,8 +12817,8 @@ module TencentCloud
|
|
12790
12817
|
|
12791
12818
|
attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
12792
12819
|
extend Gem::Deprecate
|
12793
|
-
deprecate :ValidTS, :none, 2025,
|
12794
|
-
deprecate :ValidTS=, :none, 2025,
|
12820
|
+
deprecate :ValidTS, :none, 2025, 5
|
12821
|
+
deprecate :ValidTS=, :none, 2025, 5
|
12795
12822
|
|
12796
12823
|
def initialize(domain=nil, iplist=nil, actiontype=nil, ruleid=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
12797
12824
|
@Domain = domain
|
@@ -14357,10 +14384,10 @@ module TencentCloud
|
|
14357
14384
|
|
14358
14385
|
attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
|
14359
14386
|
extend Gem::Deprecate
|
14360
|
-
deprecate :ColNames, :none, 2025,
|
14361
|
-
deprecate :ColNames=, :none, 2025,
|
14362
|
-
deprecate :AnalysisResults, :none, 2025,
|
14363
|
-
deprecate :AnalysisResults=, :none, 2025,
|
14387
|
+
deprecate :ColNames, :none, 2025, 5
|
14388
|
+
deprecate :ColNames=, :none, 2025, 5
|
14389
|
+
deprecate :AnalysisResults, :none, 2025, 5
|
14390
|
+
deprecate :AnalysisResults=, :none, 2025, 5
|
14364
14391
|
|
14365
14392
|
def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
|
14366
14393
|
@Context = context
|
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.
|
4
|
+
version: 3.0.1055
|
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
|
+
date: 2025-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|