tencentcloud-sdk-cfw 3.0.742 → 3.0.744

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190904/models.rb +55 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10de0deae1cf43692138b972247fb17f87cf0807
4
- data.tar.gz: f6b2ac8d89b253e31b3ef6d8a22065ea3414df39
3
+ metadata.gz: 6b2d1cef7128aa1f1866ffe1dcf8e37f427dd1a0
4
+ data.tar.gz: bdb3124f684a660c549a620c0491bcc3c5cb9298
5
5
  SHA512:
6
- metadata.gz: 508406a420775b57969a66917ec633c9a6169f3bee017f8ff9d85451bec75a5ac9f303f5a8ccb032b08a4608cf17929cebf235d57daa92ed04c4dbb78bc803f3
7
- data.tar.gz: 1e56bdd1aca90c99d37c0063442ff88f7bb339e21f5383f508fe11fdb2417de7fe46e41ef11668670a30ee1a5eca039fd76bb1b8aaa80d92436536fa83b70b3b
6
+ metadata.gz: 726af7c74d29474d403e60eb0b1274f0484c6f14e8a825de41aae3f72d7f30afafcb3b34bc8416ccc78d8e45cfc713db53a6218540e9921acd7c161e80e45310
7
+ data.tar.gz: 8575223a82d3a21354228c3df859ff8c58f1ddf6ea9f3637e8ff0ada35c165dfb3d9df88110348f147fb0ad781a874bc4bccfa653fff681209da35218c5f7a6f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.742
1
+ 3.0.744
@@ -3549,6 +3549,8 @@ module TencentCloud
3549
3549
  class DescribeIdsWhiteRuleResponse < TencentCloud::Common::AbstractModel
3550
3550
  # @param Total: 总条数
3551
3551
  # @type Total: Integer
3552
+ # @param Data: 规则详情
3553
+ # @type Data: Array
3552
3554
  # @param ReturnCode: 返回状态码 0 成功 非0不成功
3553
3555
  # @type ReturnCode: Integer
3554
3556
  # @param ReturnMsg: 返回信息 success 成功 其他 不成功
@@ -3556,10 +3558,11 @@ module TencentCloud
3556
3558
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3557
3559
  # @type RequestId: String
3558
3560
 
3559
- attr_accessor :Total, :ReturnCode, :ReturnMsg, :RequestId
3561
+ attr_accessor :Total, :Data, :ReturnCode, :ReturnMsg, :RequestId
3560
3562
 
3561
- def initialize(total=nil, returncode=nil, returnmsg=nil, requestid=nil)
3563
+ def initialize(total=nil, data=nil, returncode=nil, returnmsg=nil, requestid=nil)
3562
3564
  @Total = total
3565
+ @Data = data
3563
3566
  @ReturnCode = returncode
3564
3567
  @ReturnMsg = returnmsg
3565
3568
  @RequestId = requestid
@@ -3567,6 +3570,14 @@ module TencentCloud
3567
3570
 
3568
3571
  def deserialize(params)
3569
3572
  @Total = params['Total']
3573
+ unless params['Data'].nil?
3574
+ @Data = []
3575
+ params['Data'].each do |i|
3576
+ idswhiteinfo_tmp = IdsWhiteInfo.new
3577
+ idswhiteinfo_tmp.deserialize(i)
3578
+ @Data << idswhiteinfo_tmp
3579
+ end
3580
+ end
3570
3581
  @ReturnCode = params['ReturnCode']
3571
3582
  @ReturnMsg = params['ReturnMsg']
3572
3583
  @RequestId = params['RequestId']
@@ -5357,6 +5368,48 @@ module TencentCloud
5357
5368
  end
5358
5369
  end
5359
5370
 
5371
+ # 入侵防御规则白名单详情
5372
+ class IdsWhiteInfo < TencentCloud::Common::AbstractModel
5373
+ # @param Id: 白名单唯一ID
5374
+ # 注意:此字段可能返回 null,表示取不到有效值。
5375
+ # @type Id: Integer
5376
+ # @param SrcIp: 源IP
5377
+ # 注意:此字段可能返回 null,表示取不到有效值。
5378
+ # @type SrcIp: String
5379
+ # @param DstIp: 目的IP
5380
+ # 注意:此字段可能返回 null,表示取不到有效值。
5381
+ # @type DstIp: String
5382
+ # @param WhiteRuleType: 规则类型
5383
+ # 注意:此字段可能返回 null,表示取不到有效值。
5384
+ # @type WhiteRuleType: String
5385
+ # @param FwType: 白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙
5386
+ # 注意:此字段可能返回 null,表示取不到有效值。
5387
+ # @type FwType: Integer
5388
+ # @param RuleId: 入侵防御规则ID
5389
+ # 注意:此字段可能返回 null,表示取不到有效值。
5390
+ # @type RuleId: String
5391
+
5392
+ attr_accessor :Id, :SrcIp, :DstIp, :WhiteRuleType, :FwType, :RuleId
5393
+
5394
+ def initialize(id=nil, srcip=nil, dstip=nil, whiteruletype=nil, fwtype=nil, ruleid=nil)
5395
+ @Id = id
5396
+ @SrcIp = srcip
5397
+ @DstIp = dstip
5398
+ @WhiteRuleType = whiteruletype
5399
+ @FwType = fwtype
5400
+ @RuleId = ruleid
5401
+ end
5402
+
5403
+ def deserialize(params)
5404
+ @Id = params['Id']
5405
+ @SrcIp = params['SrcIp']
5406
+ @DstIp = params['DstIp']
5407
+ @WhiteRuleType = params['WhiteRuleType']
5408
+ @FwType = params['FwType']
5409
+ @RuleId = params['RuleId']
5410
+ end
5411
+ end
5412
+
5360
5413
  # // InstanceInfo 实例详情结果
5361
5414
  # type InstanceInfo struct {
5362
5415
  # AppID string `json:"AppId" gorm:"column:appid"`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.742
4
+ version: 3.0.744
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common