tencentcloud-sdk-waf 3.0.497 → 3.0.498
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 +2 -2
- data/lib/v20180125/models.rb +9 -5
- 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: e0b8232a6fe4a291cc43095225dbb89e5bde923e
|
|
4
|
+
data.tar.gz: 23f604cbc552ad64b56cd6bc0610a4a096592e29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef7c398ccde8120d6848dbb80376c4283a877a9bbc8ae0d5c9d3c0774131bbaa3d67bfde1cd722efdc3363e8db6c2f5e35ee25eef1556321766068df1379c66e
|
|
7
|
+
data.tar.gz: 0a7704ea45b3d84b660e897b93370ae36da74a798ca17d67f437ec26cd9e36a61766d5020e8879ef90d3327f12824ef09a970478350cfabfea20b807b3184df3
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.498
|
data/lib/v20180125/client.rb
CHANGED
|
@@ -29,7 +29,7 @@ module TencentCloud
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
#
|
|
32
|
+
# 增加访问控制(自定义策略)
|
|
33
33
|
|
|
34
34
|
# @param request: Request instance for AddCustomRule.
|
|
35
35
|
# @type request: :class:`Tencentcloud::waf::V20180125::AddCustomRuleRequest`
|
|
@@ -703,7 +703,7 @@ module TencentCloud
|
|
|
703
703
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
704
704
|
end
|
|
705
705
|
|
|
706
|
-
#
|
|
706
|
+
# 开启或禁用访问控制(自定义策略)
|
|
707
707
|
|
|
708
708
|
# @param request: Request instance for ModifyCustomRuleStatus.
|
|
709
709
|
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyCustomRuleStatusRequest`
|
data/lib/v20180125/models.rb
CHANGED
|
@@ -315,14 +315,16 @@ module TencentCloud
|
|
|
315
315
|
# @type ActionType: String
|
|
316
316
|
# @param Redirect: 如果动作是重定向,则表示重定向的地址;其他情况可以为空
|
|
317
317
|
# @type Redirect: String
|
|
318
|
-
# @param Edition:
|
|
318
|
+
# @param Edition: WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
|
319
319
|
# @type Edition: String
|
|
320
320
|
# @param Bypass: 放行的详情
|
|
321
321
|
# @type Bypass: String
|
|
322
|
+
# @param EventId: 添加规则的来源,默认为空
|
|
323
|
+
# @type EventId: String
|
|
322
324
|
|
|
323
|
-
attr_accessor :Name, :SortId, :ExpireTime, :Strategies, :Domain, :ActionType, :Redirect, :Edition, :Bypass
|
|
325
|
+
attr_accessor :Name, :SortId, :ExpireTime, :Strategies, :Domain, :ActionType, :Redirect, :Edition, :Bypass, :EventId
|
|
324
326
|
|
|
325
|
-
def initialize(name=nil, sortid=nil, expiretime=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, edition=nil, bypass=nil)
|
|
327
|
+
def initialize(name=nil, sortid=nil, expiretime=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, edition=nil, bypass=nil, eventid=nil)
|
|
326
328
|
@Name = name
|
|
327
329
|
@SortId = sortid
|
|
328
330
|
@ExpireTime = expiretime
|
|
@@ -332,6 +334,7 @@ module TencentCloud
|
|
|
332
334
|
@Redirect = redirect
|
|
333
335
|
@Edition = edition
|
|
334
336
|
@Bypass = bypass
|
|
337
|
+
@EventId = eventid
|
|
335
338
|
end
|
|
336
339
|
|
|
337
340
|
def deserialize(params)
|
|
@@ -351,6 +354,7 @@ module TencentCloud
|
|
|
351
354
|
@Redirect = params['Redirect']
|
|
352
355
|
@Edition = params['Edition']
|
|
353
356
|
@Bypass = params['Bypass']
|
|
357
|
+
@EventId = params['EventId']
|
|
354
358
|
end
|
|
355
359
|
end
|
|
356
360
|
|
|
@@ -1199,7 +1203,7 @@ module TencentCloud
|
|
|
1199
1203
|
|
|
1200
1204
|
# DescribeAccessIndex返回参数结构体
|
|
1201
1205
|
class DescribeAccessIndexResponse < TencentCloud::Common::AbstractModel
|
|
1202
|
-
# @param Status:
|
|
1206
|
+
# @param Status: 是否生效,true表示生效,false表示未生效
|
|
1203
1207
|
# @type Status: Boolean
|
|
1204
1208
|
# @param Rule: 索引配置信息
|
|
1205
1209
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3400,7 +3404,7 @@ module TencentCloud
|
|
|
3400
3404
|
# @type Domain: String
|
|
3401
3405
|
# @param Items: ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳
|
|
3402
3406
|
# @type Items: Array
|
|
3403
|
-
# @param Edition:
|
|
3407
|
+
# @param Edition: WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
|
3404
3408
|
# @type Edition: String
|
|
3405
3409
|
# @param SourceType: 是否为多域名黑白名单
|
|
3406
3410
|
# @type SourceType: String
|
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.498
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|