tencentcloud-sdk-cfw 3.0.513 → 3.0.514

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b00143095bea88fcd9c5c15fece38a731f056fc2
4
- data.tar.gz: 2112c7d96a0aebcdcc2c1fad661faa0705fd5443
3
+ metadata.gz: a5fdb4f8f4969ba9ff6fb37b70951534d4bf0543
4
+ data.tar.gz: 80049d5d4ac9f286fcdc7399583fe8f8f658e9ed
5
5
  SHA512:
6
- metadata.gz: a7a714124cf82b3d85e78afdabf01dbdd55d4751038920bcd585d50654a569ba404ffbd16e84640606a546ae154399f8b2b2092ddadd1440e786cc5bd5da3ce4
7
- data.tar.gz: 9481a02181607dfe83775c713ac8976f4f49747c2840a36123f7c1fbd7d4d1ead507d0124965df481a893234e2d25984c4475921faf311c8940505f413b58c83
6
+ metadata.gz: 7b5dc3fd4f191bbbe9e3e989c7c247eac3b74bd0769701df97c0bb4d9a70f21bc72055981f6805064fb8e6276223b57a543a3925c6b6f694a586dea2fa883f88
7
+ data.tar.gz: 880578a5c49c77546b5ef7a3d1b229fa42883899467b9509cf69c00f7aa30f5cc94eaa3966b610ef7322e6100c836e826ccf15de3a11f2a2591aaade244ff9f0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.513
1
+ 3.0.514
@@ -1401,6 +1401,30 @@ module TencentCloud
1401
1401
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1402
1402
  end
1403
1403
 
1404
+ # 日志存储设置,可以修改存储时间和清空日志
1405
+
1406
+ # @param request: Request instance for ModifyStorageSetting.
1407
+ # @type request: :class:`Tencentcloud::cfw::V20190904::ModifyStorageSettingRequest`
1408
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyStorageSettingResponse`
1409
+ def ModifyStorageSetting(request)
1410
+ body = send_request('ModifyStorageSetting', request.serialize)
1411
+ response = JSON.parse(body)
1412
+ if response['Response'].key?('Error') == false
1413
+ model = ModifyStorageSettingResponse.new
1414
+ model.deserialize(response['Response'])
1415
+ model
1416
+ else
1417
+ code = response['Response']['Error']['Code']
1418
+ message = response['Response']['Error']['Message']
1419
+ reqid = response['Response']['RequestId']
1420
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1421
+ end
1422
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1423
+ raise e
1424
+ rescue StandardError => e
1425
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1426
+ end
1427
+
1404
1428
  # 修改规则表状态
1405
1429
 
1406
1430
  # @param request: Request instance for ModifyTableStatus.
@@ -3789,6 +3789,33 @@ module TencentCloud
3789
3789
  end
3790
3790
  end
3791
3791
 
3792
+ # ModifyStorageSetting请求参数结构体
3793
+ class ModifyStorageSettingRequest < TencentCloud::Common::AbstractModel
3794
+
3795
+
3796
+ def initialize()
3797
+ end
3798
+
3799
+ def deserialize(params)
3800
+ end
3801
+ end
3802
+
3803
+ # ModifyStorageSetting返回参数结构体
3804
+ class ModifyStorageSettingResponse < TencentCloud::Common::AbstractModel
3805
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3806
+ # @type RequestId: String
3807
+
3808
+ attr_accessor :RequestId
3809
+
3810
+ def initialize(requestid=nil)
3811
+ @RequestId = requestid
3812
+ end
3813
+
3814
+ def deserialize(params)
3815
+ @RequestId = params['RequestId']
3816
+ end
3817
+ end
3818
+
3792
3819
  # ModifyTableStatus请求参数结构体
3793
3820
  class ModifyTableStatusRequest < TencentCloud::Common::AbstractModel
3794
3821
  # @param EdgeId: EdgeId值两个vpc间的边id
@@ -3963,10 +3990,16 @@ module TencentCloud
3963
3990
  # @param ZoneZhBak: 实例所在可用区
3964
3991
  # 注意:此字段可能返回 null,表示取不到有效值。
3965
3992
  # @type ZoneZhBak: String
3993
+ # @param RuleUsed: 已使用规则数
3994
+ # 注意:此字段可能返回 null,表示取不到有效值。
3995
+ # @type RuleUsed: Integer
3996
+ # @param RuleMax: 实例的规则限制最大规格数
3997
+ # 注意:此字段可能返回 null,表示取不到有效值。
3998
+ # @type RuleMax: Integer
3966
3999
 
3967
- attr_accessor :NatinsId, :NatinsName, :Region, :FwMode, :BandWidth, :InFlowMax, :OutFlowMax, :RegionZh, :EipAddress, :VpcIp, :Subnets, :Status, :RegionDetail, :ZoneZh, :ZoneZhBak
4000
+ attr_accessor :NatinsId, :NatinsName, :Region, :FwMode, :BandWidth, :InFlowMax, :OutFlowMax, :RegionZh, :EipAddress, :VpcIp, :Subnets, :Status, :RegionDetail, :ZoneZh, :ZoneZhBak, :RuleUsed, :RuleMax
3968
4001
 
3969
- def initialize(natinsid=nil, natinsname=nil, region=nil, fwmode=nil, bandwidth=nil, inflowmax=nil, outflowmax=nil, regionzh=nil, eipaddress=nil, vpcip=nil, subnets=nil, status=nil, regiondetail=nil, zonezh=nil, zonezhbak=nil)
4002
+ def initialize(natinsid=nil, natinsname=nil, region=nil, fwmode=nil, bandwidth=nil, inflowmax=nil, outflowmax=nil, regionzh=nil, eipaddress=nil, vpcip=nil, subnets=nil, status=nil, regiondetail=nil, zonezh=nil, zonezhbak=nil, ruleused=nil, rulemax=nil)
3970
4003
  @NatinsId = natinsid
3971
4004
  @NatinsName = natinsname
3972
4005
  @Region = region
@@ -3982,6 +4015,8 @@ module TencentCloud
3982
4015
  @RegionDetail = regiondetail
3983
4016
  @ZoneZh = zonezh
3984
4017
  @ZoneZhBak = zonezhbak
4018
+ @RuleUsed = ruleused
4019
+ @RuleMax = rulemax
3985
4020
  end
3986
4021
 
3987
4022
  def deserialize(params)
@@ -4000,6 +4035,8 @@ module TencentCloud
4000
4035
  @RegionDetail = params['RegionDetail']
4001
4036
  @ZoneZh = params['ZoneZh']
4002
4037
  @ZoneZhBak = params['ZoneZhBak']
4038
+ @RuleUsed = params['RuleUsed']
4039
+ @RuleMax = params['RuleMax']
4003
4040
  end
4004
4041
  end
4005
4042
 
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.513
4
+ version: 3.0.514
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-02-21 00:00:00.000000000 Z
11
+ date: 2023-02-22 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/v20190904/client.rb
37
- - lib/v20190904/models.rb
38
36
  - lib/tencentcloud-sdk-cfw.rb
37
+ - lib/v20190904/models.rb
38
+ - lib/v20190904/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: