tencentcloud-sdk-waf 3.0.1172 → 3.0.1181
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 +72 -0
- data/lib/v20180125/models.rb +241 -46
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5668508ab258d9aae1832f7a1c34b2abe2aa73b9
|
|
4
|
+
data.tar.gz: f02ebf5f47d50a7e156a49e1b597dd265dfe7005
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc0cf5af77b0a42b7aa9ec41019b3cb6d2d04c447440efe41f42b373cbe29408bc01de8d08c7d7f23a9a9bf8778be43583285c19c008292c48dd97e5a5d20d05
|
|
7
|
+
data.tar.gz: d262ab0089c4df3e32e8d36a0ae9c6fdbf3bc661144446af31fce21a855abe8d6952ebf2d283e06f256a5ae1ce4597c5c6fe26536abc945a3e7bfd25690ed65f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1181
|
data/lib/v20180125/client.rb
CHANGED
|
@@ -125,6 +125,30 @@ module TencentCloud
|
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
+
# 添加一键bypass能力支持,直接添加APPID
|
|
129
|
+
|
|
130
|
+
# @param request: Request instance for AddBypassAllRule.
|
|
131
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::AddBypassAllRuleRequest`
|
|
132
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::AddBypassAllRuleResponse`
|
|
133
|
+
def AddBypassAllRule(request)
|
|
134
|
+
body = send_request('AddBypassAllRule', request.serialize)
|
|
135
|
+
response = JSON.parse(body)
|
|
136
|
+
if response['Response'].key?('Error') == false
|
|
137
|
+
model = AddBypassAllRuleResponse.new
|
|
138
|
+
model.deserialize(response['Response'])
|
|
139
|
+
model
|
|
140
|
+
else
|
|
141
|
+
code = response['Response']['Error']['Code']
|
|
142
|
+
message = response['Response']['Error']['Message']
|
|
143
|
+
reqid = response['Response']['RequestId']
|
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
145
|
+
end
|
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
147
|
+
raise e
|
|
148
|
+
rescue StandardError => e
|
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
150
|
+
end
|
|
151
|
+
|
|
128
152
|
# 增加访问控制(自定义策略)
|
|
129
153
|
|
|
130
154
|
# @param request: Request instance for AddCustomRule.
|
|
@@ -4352,6 +4376,30 @@ module TencentCloud
|
|
|
4352
4376
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4353
4377
|
end
|
|
4354
4378
|
|
|
4379
|
+
# 查询该用户是否被加入了全局的bypass列表
|
|
4380
|
+
|
|
4381
|
+
# @param request: Request instance for QueryBypassAllStatus.
|
|
4382
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::QueryBypassAllStatusRequest`
|
|
4383
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::QueryBypassAllStatusResponse`
|
|
4384
|
+
def QueryBypassAllStatus(request)
|
|
4385
|
+
body = send_request('QueryBypassAllStatus', request.serialize)
|
|
4386
|
+
response = JSON.parse(body)
|
|
4387
|
+
if response['Response'].key?('Error') == false
|
|
4388
|
+
model = QueryBypassAllStatusResponse.new
|
|
4389
|
+
model.deserialize(response['Response'])
|
|
4390
|
+
model
|
|
4391
|
+
else
|
|
4392
|
+
code = response['Response']['Error']['Code']
|
|
4393
|
+
message = response['Response']['Error']['Message']
|
|
4394
|
+
reqid = response['Response']['RequestId']
|
|
4395
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4396
|
+
end
|
|
4397
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4398
|
+
raise e
|
|
4399
|
+
rescue StandardError => e
|
|
4400
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4401
|
+
end
|
|
4402
|
+
|
|
4355
4403
|
# 刷新接入检查的结果,后台会生成接入检查任务
|
|
4356
4404
|
|
|
4357
4405
|
# @param request: Request instance for RefreshAccessCheckResult.
|
|
@@ -4376,6 +4424,30 @@ module TencentCloud
|
|
|
4376
4424
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4377
4425
|
end
|
|
4378
4426
|
|
|
4427
|
+
# 删除一键bypass规则
|
|
4428
|
+
|
|
4429
|
+
# @param request: Request instance for RemoveBypassAllRule.
|
|
4430
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::RemoveBypassAllRuleRequest`
|
|
4431
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::RemoveBypassAllRuleResponse`
|
|
4432
|
+
def RemoveBypassAllRule(request)
|
|
4433
|
+
body = send_request('RemoveBypassAllRule', request.serialize)
|
|
4434
|
+
response = JSON.parse(body)
|
|
4435
|
+
if response['Response'].key?('Error') == false
|
|
4436
|
+
model = RemoveBypassAllRuleResponse.new
|
|
4437
|
+
model.deserialize(response['Response'])
|
|
4438
|
+
model
|
|
4439
|
+
else
|
|
4440
|
+
code = response['Response']['Error']['Code']
|
|
4441
|
+
message = response['Response']['Error']['Message']
|
|
4442
|
+
reqid = response['Response']['RequestId']
|
|
4443
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4444
|
+
end
|
|
4445
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4446
|
+
raise e
|
|
4447
|
+
rescue StandardError => e
|
|
4448
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4449
|
+
end
|
|
4450
|
+
|
|
4379
4451
|
# 本接口用于搜索WAF访问日志
|
|
4380
4452
|
|
|
4381
4453
|
# @param request: Request instance for SearchAccessLog.
|
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, 12
|
|
81
|
+
deprecate :BTime=, :none, 2025, 12
|
|
82
82
|
|
|
83
83
|
def initialize(btime=nil, count=nil, begintime=nil)
|
|
84
84
|
@BTime = btime
|
|
@@ -556,6 +556,33 @@ module TencentCloud
|
|
|
556
556
|
end
|
|
557
557
|
end
|
|
558
558
|
|
|
559
|
+
# AddBypassAllRule请求参数结构体
|
|
560
|
+
class AddBypassAllRuleRequest < TencentCloud::Common::AbstractModel
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
def initialize()
|
|
564
|
+
end
|
|
565
|
+
|
|
566
|
+
def deserialize(params)
|
|
567
|
+
end
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
# AddBypassAllRule返回参数结构体
|
|
571
|
+
class AddBypassAllRuleResponse < TencentCloud::Common::AbstractModel
|
|
572
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
573
|
+
# @type RequestId: String
|
|
574
|
+
|
|
575
|
+
attr_accessor :RequestId
|
|
576
|
+
|
|
577
|
+
def initialize(requestid=nil)
|
|
578
|
+
@RequestId = requestid
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
def deserialize(params)
|
|
582
|
+
@RequestId = params['RequestId']
|
|
583
|
+
end
|
|
584
|
+
end
|
|
585
|
+
|
|
559
586
|
# AddCustomRule请求参数结构体
|
|
560
587
|
class AddCustomRuleRequest < TencentCloud::Common::AbstractModel
|
|
561
588
|
# @param Name: 规则名称
|
|
@@ -597,8 +624,8 @@ module TencentCloud
|
|
|
597
624
|
|
|
598
625
|
attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp, :ActionRatio
|
|
599
626
|
extend Gem::Deprecate
|
|
600
|
-
deprecate :Bypass, :none, 2025,
|
|
601
|
-
deprecate :Bypass=, :none, 2025,
|
|
627
|
+
deprecate :Bypass, :none, 2025, 12
|
|
628
|
+
deprecate :Bypass=, :none, 2025, 12
|
|
602
629
|
|
|
603
630
|
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, actionratio=nil)
|
|
604
631
|
@Name = name
|
|
@@ -952,16 +979,16 @@ module TencentCloud
|
|
|
952
979
|
|
|
953
980
|
attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :HttpsRewrite, :IsHttp2, :ActiveCheck, :CipherTemplate, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :UpstreamDomain, :SrcList, :Edition, :Anycast, :Weights, :TLSVersion, :Ciphers, :ProxyConnectTimeout, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase, :Gzip
|
|
954
981
|
extend Gem::Deprecate
|
|
955
|
-
deprecate :ResourceId, :none, 2025,
|
|
956
|
-
deprecate :ResourceId=, :none, 2025,
|
|
957
|
-
deprecate :IsGray, :none, 2025,
|
|
958
|
-
deprecate :IsGray=, :none, 2025,
|
|
959
|
-
deprecate :GrayAreas, :none, 2025,
|
|
960
|
-
deprecate :GrayAreas=, :none, 2025,
|
|
961
|
-
deprecate :Edition, :none, 2025,
|
|
962
|
-
deprecate :Edition=, :none, 2025,
|
|
963
|
-
deprecate :Anycast, :none, 2025,
|
|
964
|
-
deprecate :Anycast=, :none, 2025,
|
|
982
|
+
deprecate :ResourceId, :none, 2025, 12
|
|
983
|
+
deprecate :ResourceId=, :none, 2025, 12
|
|
984
|
+
deprecate :IsGray, :none, 2025, 12
|
|
985
|
+
deprecate :IsGray=, :none, 2025, 12
|
|
986
|
+
deprecate :GrayAreas, :none, 2025, 12
|
|
987
|
+
deprecate :GrayAreas=, :none, 2025, 12
|
|
988
|
+
deprecate :Edition, :none, 2025, 12
|
|
989
|
+
deprecate :Edition=, :none, 2025, 12
|
|
990
|
+
deprecate :Anycast, :none, 2025, 12
|
|
991
|
+
deprecate :Anycast=, :none, 2025, 12
|
|
965
992
|
|
|
966
993
|
def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, ports=nil, iskeepalive=nil, instanceid=nil, httpsrewrite=nil, ishttp2=nil, activecheck=nil, ciphertemplate=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, ipheaders=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, upstreamdomain=nil, srclist=nil, edition=nil, anycast=nil, weights=nil, tlsversion=nil, ciphers=nil, proxyconnecttimeout=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, gzip=nil)
|
|
967
994
|
@Domain = domain
|
|
@@ -1928,10 +1955,10 @@ module TencentCloud
|
|
|
1928
1955
|
|
|
1929
1956
|
attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus, :GroupIds
|
|
1930
1957
|
extend Gem::Deprecate
|
|
1931
|
-
deprecate :Id, :none, 2025,
|
|
1932
|
-
deprecate :Id=, :none, 2025,
|
|
1933
|
-
deprecate :Ip, :none, 2025,
|
|
1934
|
-
deprecate :Ip=, :none, 2025,
|
|
1958
|
+
deprecate :Id, :none, 2025, 12
|
|
1959
|
+
deprecate :Id=, :none, 2025, 12
|
|
1960
|
+
deprecate :Ip, :none, 2025, 12
|
|
1961
|
+
deprecate :Ip=, :none, 2025, 12
|
|
1935
1962
|
|
|
1936
1963
|
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)
|
|
1937
1964
|
@Id = id
|
|
@@ -2105,6 +2132,54 @@ module TencentCloud
|
|
|
2105
2132
|
end
|
|
2106
2133
|
end
|
|
2107
2134
|
|
|
2135
|
+
# BOT安全监测资源信息
|
|
2136
|
+
class BotMonitorPkg < TencentCloud::Common::AbstractModel
|
|
2137
|
+
# @param ResourceIds: 资源id
|
|
2138
|
+
# @type ResourceIds: String
|
|
2139
|
+
# @param Status: 状态
|
|
2140
|
+
# @type Status: Integer
|
|
2141
|
+
# @param Region: 地域
|
|
2142
|
+
# @type Region: Integer
|
|
2143
|
+
# @param BeginTime: 开始时间
|
|
2144
|
+
# @type BeginTime: String
|
|
2145
|
+
# @param EndTime: 结束时间
|
|
2146
|
+
# @type EndTime: String
|
|
2147
|
+
# @param InquireNum: 申请数量
|
|
2148
|
+
# @type InquireNum: Integer
|
|
2149
|
+
# @param UsedNum: 使用数量
|
|
2150
|
+
# @type UsedNum: Integer
|
|
2151
|
+
# @param RenewFlag: 续费标志
|
|
2152
|
+
# @type RenewFlag: Integer
|
|
2153
|
+
# @param BillingItem: 计费项
|
|
2154
|
+
# @type BillingItem: String
|
|
2155
|
+
|
|
2156
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag, :BillingItem
|
|
2157
|
+
|
|
2158
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil, billingitem=nil)
|
|
2159
|
+
@ResourceIds = resourceids
|
|
2160
|
+
@Status = status
|
|
2161
|
+
@Region = region
|
|
2162
|
+
@BeginTime = begintime
|
|
2163
|
+
@EndTime = endtime
|
|
2164
|
+
@InquireNum = inquirenum
|
|
2165
|
+
@UsedNum = usednum
|
|
2166
|
+
@RenewFlag = renewflag
|
|
2167
|
+
@BillingItem = billingitem
|
|
2168
|
+
end
|
|
2169
|
+
|
|
2170
|
+
def deserialize(params)
|
|
2171
|
+
@ResourceIds = params['ResourceIds']
|
|
2172
|
+
@Status = params['Status']
|
|
2173
|
+
@Region = params['Region']
|
|
2174
|
+
@BeginTime = params['BeginTime']
|
|
2175
|
+
@EndTime = params['EndTime']
|
|
2176
|
+
@InquireNum = params['InquireNum']
|
|
2177
|
+
@UsedNum = params['UsedNum']
|
|
2178
|
+
@RenewFlag = params['RenewFlag']
|
|
2179
|
+
@BillingItem = params['BillingItem']
|
|
2180
|
+
end
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2108
2183
|
# Bot资源信息
|
|
2109
2184
|
class BotPkg < TencentCloud::Common::AbstractModel
|
|
2110
2185
|
# @param ResourceIds: 资源id
|
|
@@ -2496,6 +2571,54 @@ module TencentCloud
|
|
|
2496
2571
|
end
|
|
2497
2572
|
end
|
|
2498
2573
|
|
|
2574
|
+
# BOT安全护航资源信息
|
|
2575
|
+
class BotSecurityPkg < TencentCloud::Common::AbstractModel
|
|
2576
|
+
# @param ResourceIds: 资源id
|
|
2577
|
+
# @type ResourceIds: String
|
|
2578
|
+
# @param Status: 状态
|
|
2579
|
+
# @type Status: Integer
|
|
2580
|
+
# @param Region: 地域
|
|
2581
|
+
# @type Region: Integer
|
|
2582
|
+
# @param BeginTime: 开始时间
|
|
2583
|
+
# @type BeginTime: String
|
|
2584
|
+
# @param EndTime: 结束时间
|
|
2585
|
+
# @type EndTime: String
|
|
2586
|
+
# @param InquireNum: 申请数量
|
|
2587
|
+
# @type InquireNum: Integer
|
|
2588
|
+
# @param UsedNum: 使用数量
|
|
2589
|
+
# @type UsedNum: Integer
|
|
2590
|
+
# @param RenewFlag: 续费标志
|
|
2591
|
+
# @type RenewFlag: Integer
|
|
2592
|
+
# @param BillingItem: 计费项
|
|
2593
|
+
# @type BillingItem: String
|
|
2594
|
+
|
|
2595
|
+
attr_accessor :ResourceIds, :Status, :Region, :BeginTime, :EndTime, :InquireNum, :UsedNum, :RenewFlag, :BillingItem
|
|
2596
|
+
|
|
2597
|
+
def initialize(resourceids=nil, status=nil, region=nil, begintime=nil, endtime=nil, inquirenum=nil, usednum=nil, renewflag=nil, billingitem=nil)
|
|
2598
|
+
@ResourceIds = resourceids
|
|
2599
|
+
@Status = status
|
|
2600
|
+
@Region = region
|
|
2601
|
+
@BeginTime = begintime
|
|
2602
|
+
@EndTime = endtime
|
|
2603
|
+
@InquireNum = inquirenum
|
|
2604
|
+
@UsedNum = usednum
|
|
2605
|
+
@RenewFlag = renewflag
|
|
2606
|
+
@BillingItem = billingitem
|
|
2607
|
+
end
|
|
2608
|
+
|
|
2609
|
+
def deserialize(params)
|
|
2610
|
+
@ResourceIds = params['ResourceIds']
|
|
2611
|
+
@Status = params['Status']
|
|
2612
|
+
@Region = params['Region']
|
|
2613
|
+
@BeginTime = params['BeginTime']
|
|
2614
|
+
@EndTime = params['EndTime']
|
|
2615
|
+
@InquireNum = params['InquireNum']
|
|
2616
|
+
@UsedNum = params['UsedNum']
|
|
2617
|
+
@RenewFlag = params['RenewFlag']
|
|
2618
|
+
@BillingItem = params['BillingItem']
|
|
2619
|
+
end
|
|
2620
|
+
end
|
|
2621
|
+
|
|
2499
2622
|
# bot的趋势图对象
|
|
2500
2623
|
class BotStatPointItem < TencentCloud::Common::AbstractModel
|
|
2501
2624
|
# @param TimeStamp: 横坐标
|
|
@@ -3761,8 +3884,8 @@ module TencentCloud
|
|
|
3761
3884
|
|
|
3762
3885
|
attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
|
3763
3886
|
extend Gem::Deprecate
|
|
3764
|
-
deprecate :ValidTS, :none, 2025,
|
|
3765
|
-
deprecate :ValidTS=, :none, 2025,
|
|
3887
|
+
deprecate :ValidTS, :none, 2025, 12
|
|
3888
|
+
deprecate :ValidTS=, :none, 2025, 12
|
|
3766
3889
|
|
|
3767
3890
|
def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
|
3768
3891
|
@Domain = domain
|
|
@@ -5146,8 +5269,8 @@ module TencentCloud
|
|
|
5146
5269
|
|
|
5147
5270
|
attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
|
|
5148
5271
|
extend Gem::Deprecate
|
|
5149
|
-
deprecate :TopicId, :none, 2025,
|
|
5150
|
-
deprecate :TopicId=, :none, 2025,
|
|
5272
|
+
deprecate :TopicId, :none, 2025, 12
|
|
5273
|
+
deprecate :TopicId=, :none, 2025, 12
|
|
5151
5274
|
|
|
5152
5275
|
def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
|
|
5153
5276
|
@From = from
|
|
@@ -7907,10 +8030,10 @@ module TencentCloud
|
|
|
7907
8030
|
|
|
7908
8031
|
attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
|
|
7909
8032
|
extend Gem::Deprecate
|
|
7910
|
-
deprecate :VtsMin, :none, 2025,
|
|
7911
|
-
deprecate :VtsMin=, :none, 2025,
|
|
7912
|
-
deprecate :VtsMax, :none, 2025,
|
|
7913
|
-
deprecate :VtsMax=, :none, 2025,
|
|
8033
|
+
deprecate :VtsMin, :none, 2025, 12
|
|
8034
|
+
deprecate :VtsMin=, :none, 2025, 12
|
|
8035
|
+
deprecate :VtsMax, :none, 2025, 12
|
|
8036
|
+
deprecate :VtsMax=, :none, 2025, 12
|
|
7914
8037
|
|
|
7915
8038
|
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)
|
|
7916
8039
|
@Domain = domain
|
|
@@ -8013,10 +8136,10 @@ module TencentCloud
|
|
|
8013
8136
|
|
|
8014
8137
|
attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
|
|
8015
8138
|
extend Gem::Deprecate
|
|
8016
|
-
deprecate :VtsMin, :none, 2025,
|
|
8017
|
-
deprecate :VtsMin=, :none, 2025,
|
|
8018
|
-
deprecate :VtsMax, :none, 2025,
|
|
8019
|
-
deprecate :VtsMax=, :none, 2025,
|
|
8139
|
+
deprecate :VtsMin, :none, 2025, 12
|
|
8140
|
+
deprecate :VtsMin=, :none, 2025, 12
|
|
8141
|
+
deprecate :VtsMax, :none, 2025, 12
|
|
8142
|
+
deprecate :VtsMax=, :none, 2025, 12
|
|
8020
8143
|
|
|
8021
8144
|
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)
|
|
8022
8145
|
@Domain = domain
|
|
@@ -10624,8 +10747,8 @@ module TencentCloud
|
|
|
10624
10747
|
|
|
10625
10748
|
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, :ProxyConnectTimeout, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :Weights, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :Level, :ProxyBuffer, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :Labels, :ProbeStatus, :UpstreamPolicy, :UpstreamRules, :UseCase, :Gzip, :State
|
|
10626
10749
|
extend Gem::Deprecate
|
|
10627
|
-
deprecate :IsGray, :none, 2025,
|
|
10628
|
-
deprecate :IsGray=, :none, 2025,
|
|
10750
|
+
deprecate :IsGray, :none, 2025, 12
|
|
10751
|
+
deprecate :IsGray=, :none, 2025, 12
|
|
10629
10752
|
|
|
10630
10753
|
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, proxyconnecttimeout=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, gzip=nil, state=nil)
|
|
10631
10754
|
@Domain = domain
|
|
@@ -12378,10 +12501,14 @@ module TencentCloud
|
|
|
12378
12501
|
# @type LLMMonPkg: :class:`Tencentcloud::Waf.v20180125.models.LLMMonPkg`
|
|
12379
12502
|
# @param RegionId: 地域id
|
|
12380
12503
|
# @type RegionId: Integer
|
|
12504
|
+
# @param BotSecurityPkg: BOT安全护航信息
|
|
12505
|
+
# @type BotSecurityPkg: :class:`Tencentcloud::Waf.v20180125.models.BotSecurityPkg`
|
|
12506
|
+
# @param BotMonitorPkg: BOT安全监测资源信息
|
|
12507
|
+
# @type BotMonitorPkg: :class:`Tencentcloud::Waf.v20180125.models.BotMonitorPkg`
|
|
12381
12508
|
|
|
12382
|
-
attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg, :MiniPkg, :MiniQpsStandard, :MiniMaxQPS, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem, :FreeDelayFlag, :Last3MaxQPS, :Last3MaxBandwidth, :MajorEventsProPkg, :BasicFlag, :NetworkConfig, :RCEPkg, :ExceedPolicy, :LLMPkg, :ElasticResourceId, :LLMMonPkg, :RegionId
|
|
12509
|
+
attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg, :MiniPkg, :MiniQpsStandard, :MiniMaxQPS, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem, :FreeDelayFlag, :Last3MaxQPS, :Last3MaxBandwidth, :MajorEventsProPkg, :BasicFlag, :NetworkConfig, :RCEPkg, :ExceedPolicy, :LLMPkg, :ElasticResourceId, :LLMMonPkg, :RegionId, :BotSecurityPkg, :BotMonitorPkg
|
|
12383
12510
|
|
|
12384
|
-
def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil, minipkg=nil, miniqpsstandard=nil, minimaxqps=nil, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil, freedelayflag=nil, last3maxqps=nil, last3maxbandwidth=nil, majoreventspropkg=nil, basicflag=nil, networkconfig=nil, rcepkg=nil, exceedpolicy=nil, llmpkg=nil, elasticresourceid=nil, llmmonpkg=nil, regionid=nil)
|
|
12511
|
+
def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil, minipkg=nil, miniqpsstandard=nil, minimaxqps=nil, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil, freedelayflag=nil, last3maxqps=nil, last3maxbandwidth=nil, majoreventspropkg=nil, basicflag=nil, networkconfig=nil, rcepkg=nil, exceedpolicy=nil, llmpkg=nil, elasticresourceid=nil, llmmonpkg=nil, regionid=nil, botsecuritypkg=nil, botmonitorpkg=nil)
|
|
12385
12512
|
@InstanceId = instanceid
|
|
12386
12513
|
@InstanceName = instancename
|
|
12387
12514
|
@ResourceIds = resourceids
|
|
@@ -12434,6 +12561,8 @@ module TencentCloud
|
|
|
12434
12561
|
@ElasticResourceId = elasticresourceid
|
|
12435
12562
|
@LLMMonPkg = llmmonpkg
|
|
12436
12563
|
@RegionId = regionid
|
|
12564
|
+
@BotSecurityPkg = botsecuritypkg
|
|
12565
|
+
@BotMonitorPkg = botmonitorpkg
|
|
12437
12566
|
end
|
|
12438
12567
|
|
|
12439
12568
|
def deserialize(params)
|
|
@@ -12534,6 +12663,14 @@ module TencentCloud
|
|
|
12534
12663
|
@LLMMonPkg.deserialize(params['LLMMonPkg'])
|
|
12535
12664
|
end
|
|
12536
12665
|
@RegionId = params['RegionId']
|
|
12666
|
+
unless params['BotSecurityPkg'].nil?
|
|
12667
|
+
@BotSecurityPkg = BotSecurityPkg.new
|
|
12668
|
+
@BotSecurityPkg.deserialize(params['BotSecurityPkg'])
|
|
12669
|
+
end
|
|
12670
|
+
unless params['BotMonitorPkg'].nil?
|
|
12671
|
+
@BotMonitorPkg = BotMonitorPkg.new
|
|
12672
|
+
@BotMonitorPkg.deserialize(params['BotMonitorPkg'])
|
|
12673
|
+
end
|
|
12537
12674
|
end
|
|
12538
12675
|
end
|
|
12539
12676
|
|
|
@@ -14647,8 +14784,8 @@ module TencentCloud
|
|
|
14647
14784
|
|
|
14648
14785
|
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp, :ActionRatio
|
|
14649
14786
|
extend Gem::Deprecate
|
|
14650
|
-
deprecate :Bypass, :none, 2025,
|
|
14651
|
-
deprecate :Bypass=, :none, 2025,
|
|
14787
|
+
deprecate :Bypass, :none, 2025, 12
|
|
14788
|
+
deprecate :Bypass=, :none, 2025, 12
|
|
14652
14789
|
|
|
14653
14790
|
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, actionratio=nil)
|
|
14654
14791
|
@Domain = domain
|
|
@@ -15574,8 +15711,8 @@ module TencentCloud
|
|
|
15574
15711
|
|
|
15575
15712
|
attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
|
15576
15713
|
extend Gem::Deprecate
|
|
15577
|
-
deprecate :ValidTS, :none, 2025,
|
|
15578
|
-
deprecate :ValidTS=, :none, 2025,
|
|
15714
|
+
deprecate :ValidTS, :none, 2025, 12
|
|
15715
|
+
deprecate :ValidTS=, :none, 2025, 12
|
|
15579
15716
|
|
|
15580
15717
|
def initialize(domain=nil, iplist=nil, actiontype=nil, ruleid=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
|
15581
15718
|
@Domain = domain
|
|
@@ -16230,10 +16367,10 @@ module TencentCloud
|
|
|
16230
16367
|
|
|
16231
16368
|
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, :ProxyConnectTimeout, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase, :Gzip
|
|
16232
16369
|
extend Gem::Deprecate
|
|
16233
|
-
deprecate :IsGray, :none, 2025,
|
|
16234
|
-
deprecate :IsGray=, :none, 2025,
|
|
16235
|
-
deprecate :Anycast, :none, 2025,
|
|
16236
|
-
deprecate :Anycast=, :none, 2025,
|
|
16370
|
+
deprecate :IsGray, :none, 2025, 12
|
|
16371
|
+
deprecate :IsGray=, :none, 2025, 12
|
|
16372
|
+
deprecate :Anycast, :none, 2025, 12
|
|
16373
|
+
deprecate :Anycast=, :none, 2025, 12
|
|
16237
16374
|
|
|
16238
16375
|
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, proxyconnecttimeout=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, gzip=nil)
|
|
16239
16376
|
@Domain = domain
|
|
@@ -17397,6 +17534,37 @@ module TencentCloud
|
|
|
17397
17534
|
end
|
|
17398
17535
|
end
|
|
17399
17536
|
|
|
17537
|
+
# QueryBypassAllStatus请求参数结构体
|
|
17538
|
+
class QueryBypassAllStatusRequest < TencentCloud::Common::AbstractModel
|
|
17539
|
+
|
|
17540
|
+
|
|
17541
|
+
def initialize()
|
|
17542
|
+
end
|
|
17543
|
+
|
|
17544
|
+
def deserialize(params)
|
|
17545
|
+
end
|
|
17546
|
+
end
|
|
17547
|
+
|
|
17548
|
+
# QueryBypassAllStatus返回参数结构体
|
|
17549
|
+
class QueryBypassAllStatusResponse < TencentCloud::Common::AbstractModel
|
|
17550
|
+
# @param Result: 该用户是否被加入了全局的bypass列表
|
|
17551
|
+
# @type Result: Boolean
|
|
17552
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17553
|
+
# @type RequestId: String
|
|
17554
|
+
|
|
17555
|
+
attr_accessor :Result, :RequestId
|
|
17556
|
+
|
|
17557
|
+
def initialize(result=nil, requestid=nil)
|
|
17558
|
+
@Result = result
|
|
17559
|
+
@RequestId = requestid
|
|
17560
|
+
end
|
|
17561
|
+
|
|
17562
|
+
def deserialize(params)
|
|
17563
|
+
@Result = params['Result']
|
|
17564
|
+
@RequestId = params['RequestId']
|
|
17565
|
+
end
|
|
17566
|
+
end
|
|
17567
|
+
|
|
17400
17568
|
# 有效REC设备安全包信息
|
|
17401
17569
|
class RCEPkg < TencentCloud::Common::AbstractModel
|
|
17402
17570
|
# @param ResourceIds: 资源id
|
|
@@ -17524,6 +17692,33 @@ module TencentCloud
|
|
|
17524
17692
|
end
|
|
17525
17693
|
end
|
|
17526
17694
|
|
|
17695
|
+
# RemoveBypassAllRule请求参数结构体
|
|
17696
|
+
class RemoveBypassAllRuleRequest < TencentCloud::Common::AbstractModel
|
|
17697
|
+
|
|
17698
|
+
|
|
17699
|
+
def initialize()
|
|
17700
|
+
end
|
|
17701
|
+
|
|
17702
|
+
def deserialize(params)
|
|
17703
|
+
end
|
|
17704
|
+
end
|
|
17705
|
+
|
|
17706
|
+
# RemoveBypassAllRule返回参数结构体
|
|
17707
|
+
class RemoveBypassAllRuleResponse < TencentCloud::Common::AbstractModel
|
|
17708
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17709
|
+
# @type RequestId: String
|
|
17710
|
+
|
|
17711
|
+
attr_accessor :RequestId
|
|
17712
|
+
|
|
17713
|
+
def initialize(requestid=nil)
|
|
17714
|
+
@RequestId = requestid
|
|
17715
|
+
end
|
|
17716
|
+
|
|
17717
|
+
def deserialize(params)
|
|
17718
|
+
@RequestId = params['RequestId']
|
|
17719
|
+
end
|
|
17720
|
+
end
|
|
17721
|
+
|
|
17527
17722
|
# 用户规则更新输出规则子项
|
|
17528
17723
|
class ReqUserRule < TencentCloud::Common::AbstractModel
|
|
17529
17724
|
# @param Id: 特征序号
|
|
@@ -17798,10 +17993,10 @@ module TencentCloud
|
|
|
17798
17993
|
|
|
17799
17994
|
attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
|
|
17800
17995
|
extend Gem::Deprecate
|
|
17801
|
-
deprecate :ColNames, :none, 2025,
|
|
17802
|
-
deprecate :ColNames=, :none, 2025,
|
|
17803
|
-
deprecate :AnalysisResults, :none, 2025,
|
|
17804
|
-
deprecate :AnalysisResults=, :none, 2025,
|
|
17996
|
+
deprecate :ColNames, :none, 2025, 12
|
|
17997
|
+
deprecate :ColNames=, :none, 2025, 12
|
|
17998
|
+
deprecate :AnalysisResults, :none, 2025, 12
|
|
17999
|
+
deprecate :AnalysisResults=, :none, 2025, 12
|
|
17805
18000
|
|
|
17806
18001
|
def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
|
|
17807
18002
|
@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.1181
|
|
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-
|
|
11
|
+
date: 2025-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20180125/client.rb
|
|
37
|
-
- lib/v20180125/models.rb
|
|
38
36
|
- lib/tencentcloud-sdk-waf.rb
|
|
37
|
+
- lib/v20180125/models.rb
|
|
38
|
+
- lib/v20180125/client.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|