tencentcloud-sdk-cfw 3.0.743 → 3.0.745

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: a870ee21d6b55176d79aa29849fde2432d82abae
4
- data.tar.gz: bc150209e54a0fdd9e7fe0c1af826ba222f2adf0
3
+ metadata.gz: a591ed090404a2a0b2e872614c944df7bad923e5
4
+ data.tar.gz: 0b83492bbf1921a9342a02e2d255fe94c2446152
5
5
  SHA512:
6
- metadata.gz: 8fc5cb85a0e4cb6699c99274048380ea78686a2b4c1e1dcfc52c725e5daf85c680039121ddd4808b064782266910bf2bafc9cb6c3d4ea1ec7276ed85438f9ec3
7
- data.tar.gz: 19e60db6b021a0f04feaaaabe5234e861dc401a5a05127c84d881a5240cd6981d2d4e1c07665bfa16ea01589339dd0a0ee106f675a9cf03f9fabb014490a928f
6
+ metadata.gz: f33029d02bc7119108b40e0e0f8f384654f57a778e208b4d30a79578d6ec6672af2bbce4be4fdd3b9f2fe1130b300c56c140942ceaeea07afe8dc7e277a041bc
7
+ data.tar.gz: e53b213f20d753580a824b1ddd79ea9d8b4e496d955fa210bed968d191ce8baf80cd1e69cc946e89f825f3b787fc8beef7ef0b4bbbbd89a946c00dd2555c833d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.743
1
+ 3.0.745
@@ -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.743
4
+ version: 3.0.745
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-07 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common