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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2577f5d544259a4cc61eb26371cb4b1d6714026e
4
- data.tar.gz: 4f6027bcb1b082113281f21c1dc1e82bd4222440
3
+ metadata.gz: e0b8232a6fe4a291cc43095225dbb89e5bde923e
4
+ data.tar.gz: 23f604cbc552ad64b56cd6bc0610a4a096592e29
5
5
  SHA512:
6
- metadata.gz: f57eca8f65fcfa76d44773af05489c7786f1889bf8e3d21bf8b8227350eb35e0bd3be318065e176c664d009166118cc98e3aa7b1dfee26a073d37f613a2e9835
7
- data.tar.gz: 35bf8ffe8a40563b38ff2edaa58802988bd6dca2ebdef44357805d5974f20168b47f110ebdaa5ae12d4def622422c1560f7238c6cc7a631e89fbdd2749cfb245
6
+ metadata.gz: ef7c398ccde8120d6848dbb80376c4283a877a9bbc8ae0d5c9d3c0774131bbaa3d67bfde1cd722efdc3363e8db6c2f5e35ee25eef1556321766068df1379c66e
7
+ data.tar.gz: 0a7704ea45b3d84b660e897b93370ae36da74a798ca17d67f437ec26cd9e36a61766d5020e8879ef90d3327f12824ef09a970478350cfabfea20b807b3184df3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.497
1
+ 3.0.498
@@ -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`
@@ -315,14 +315,16 @@ module TencentCloud
315
315
  # @type ActionType: String
316
316
  # @param Redirect: 如果动作是重定向,则表示重定向的地址;其他情况可以为空
317
317
  # @type Redirect: String
318
- # @param Edition: "clb-waf"或者"sparta-waf"
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: clb-waf或者sparta-waf
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.497
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-30 00:00:00.000000000 Z
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