tencentcloud-sdk-cfs 3.0.936 → 3.0.938

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190719/models.rb +47 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfe50b5f23b59e0e1642ef66f1f0548dafcc321f
4
- data.tar.gz: 122a1d03ec2188c79db9e2382c6ab67f61c23115
3
+ metadata.gz: c028c4d2e9c50f8cd57f8645d50e03d1abc82f1d
4
+ data.tar.gz: d3a108df6c7ff994e065a4505565ce2a278ebedf
5
5
  SHA512:
6
- metadata.gz: 5222b0410932cc2d9fc5a3a2d620ab94cab39b3a0e6e2449843bd60ed13449b4a7f2ca274b6f9eaf3fb56689093e716d6d63c9d937dd067052f1d210da042a91
7
- data.tar.gz: 739947812caae9b59910f93a988e5dc5af6ee61da6d2251d3c911e638c0b5a6d49bded920fc0d7f5884801c161f8ba3a8cd08d6b51cfb667f167b0d416b2a07e
6
+ metadata.gz: 5a95418cdbc28764eff5ced5c53d124af567029aba7b9a4d82c0267dada6bfd15a876164e3fe2c313c0a65e4a533c92d314ff1361f9b4de20c4831d3e5fa6f6a
7
+ data.tar.gz: c221c677f704bd9cf73aa25f59a19e373a5e326e5a0963cc84052b213744df465f3ccb92700257fb1a88e8f18b7f149252ddc64544dc311c688a12a6a9c7621a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.936
1
+ 3.0.938
@@ -17,6 +17,30 @@
17
17
  module TencentCloud
18
18
  module Cfs
19
19
  module V20190719
20
+ # 自动扩容规则
21
+ class AutoScaleUpRule < TencentCloud::Common::AbstractModel
22
+ # @param Status: 自动扩容策略开启,关闭
23
+ # @type Status: String
24
+ # @param ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
25
+ # @type ScaleThreshold: Integer
26
+ # @param TargetThreshold: 扩容后使用量跟集群总量比例,范围[1-90]
27
+ # @type TargetThreshold: Integer
28
+
29
+ attr_accessor :Status, :ScaleThreshold, :TargetThreshold
30
+
31
+ def initialize(status=nil, scalethreshold=nil, targetthreshold=nil)
32
+ @Status = status
33
+ @ScaleThreshold = scalethreshold
34
+ @TargetThreshold = targetthreshold
35
+ end
36
+
37
+ def deserialize(params)
38
+ @Status = params['Status']
39
+ @ScaleThreshold = params['ScaleThreshold']
40
+ @TargetThreshold = params['TargetThreshold']
41
+ end
42
+ end
43
+
20
44
  # 快照策略信息
21
45
  class AutoSnapshotPolicyInfo < TencentCloud::Common::AbstractModel
22
46
  # @param AutoSnapshotPolicyId: 快照策略ID
@@ -1957,6 +1981,10 @@ module TencentCloud
1957
1981
  # @type AppId: Integer
1958
1982
  # @param BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
1959
1983
  # @type BandwidthLimit: Float
1984
+ # @param AutoSnapshotPolicyId: 文件系统关联的快照策略
1985
+ # @type AutoSnapshotPolicyId: String
1986
+ # @param SnapStatus: 文件系统处理快照状态
1987
+ # @type SnapStatus: String
1960
1988
  # @param Capacity: 文件系统容量规格上限
1961
1989
  # 单位:GiB
1962
1990
  # @type Capacity: Integer
@@ -1969,10 +1997,16 @@ module TencentCloud
1969
1997
  # @param TieringDetail: 分层存储详情
1970
1998
  # 注意:此字段可能返回 null,表示取不到有效值。
1971
1999
  # @type TieringDetail: :class:`Tencentcloud::Cfs.v20190719.models.TieringDetailInfo`
2000
+ # @param AutoScaleUpRule: 文件系统自动扩容策略
2001
+ # 注意:此字段可能返回 null,表示取不到有效值。
2002
+ # @type AutoScaleUpRule: :class:`Tencentcloud::Cfs.v20190719.models.AutoScaleUpRule`
2003
+ # @param Version: 文件系统版本
2004
+ # 注意:此字段可能返回 null,表示取不到有效值。
2005
+ # @type Version: String
1972
2006
 
1973
- attr_accessor :CreationTime, :CreationToken, :FileSystemId, :LifeCycleState, :SizeByte, :SizeLimit, :ZoneId, :Zone, :Protocol, :StorageType, :StorageResourcePkg, :BandwidthResourcePkg, :PGroup, :FsName, :Encrypted, :KmsKeyId, :AppId, :BandwidthLimit, :Capacity, :Tags, :TieringState, :TieringDetail
2007
+ attr_accessor :CreationTime, :CreationToken, :FileSystemId, :LifeCycleState, :SizeByte, :SizeLimit, :ZoneId, :Zone, :Protocol, :StorageType, :StorageResourcePkg, :BandwidthResourcePkg, :PGroup, :FsName, :Encrypted, :KmsKeyId, :AppId, :BandwidthLimit, :AutoSnapshotPolicyId, :SnapStatus, :Capacity, :Tags, :TieringState, :TieringDetail, :AutoScaleUpRule, :Version
1974
2008
 
1975
- def initialize(creationtime=nil, creationtoken=nil, filesystemid=nil, lifecyclestate=nil, sizebyte=nil, sizelimit=nil, zoneid=nil, zone=nil, protocol=nil, storagetype=nil, storageresourcepkg=nil, bandwidthresourcepkg=nil, pgroup=nil, fsname=nil, encrypted=nil, kmskeyid=nil, appid=nil, bandwidthlimit=nil, capacity=nil, tags=nil, tieringstate=nil, tieringdetail=nil)
2009
+ def initialize(creationtime=nil, creationtoken=nil, filesystemid=nil, lifecyclestate=nil, sizebyte=nil, sizelimit=nil, zoneid=nil, zone=nil, protocol=nil, storagetype=nil, storageresourcepkg=nil, bandwidthresourcepkg=nil, pgroup=nil, fsname=nil, encrypted=nil, kmskeyid=nil, appid=nil, bandwidthlimit=nil, autosnapshotpolicyid=nil, snapstatus=nil, capacity=nil, tags=nil, tieringstate=nil, tieringdetail=nil, autoscaleuprule=nil, version=nil)
1976
2010
  @CreationTime = creationtime
1977
2011
  @CreationToken = creationtoken
1978
2012
  @FileSystemId = filesystemid
@@ -1991,10 +2025,14 @@ module TencentCloud
1991
2025
  @KmsKeyId = kmskeyid
1992
2026
  @AppId = appid
1993
2027
  @BandwidthLimit = bandwidthlimit
2028
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
2029
+ @SnapStatus = snapstatus
1994
2030
  @Capacity = capacity
1995
2031
  @Tags = tags
1996
2032
  @TieringState = tieringstate
1997
2033
  @TieringDetail = tieringdetail
2034
+ @AutoScaleUpRule = autoscaleuprule
2035
+ @Version = version
1998
2036
  end
1999
2037
 
2000
2038
  def deserialize(params)
@@ -2019,6 +2057,8 @@ module TencentCloud
2019
2057
  @KmsKeyId = params['KmsKeyId']
2020
2058
  @AppId = params['AppId']
2021
2059
  @BandwidthLimit = params['BandwidthLimit']
2060
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
2061
+ @SnapStatus = params['SnapStatus']
2022
2062
  @Capacity = params['Capacity']
2023
2063
  unless params['Tags'].nil?
2024
2064
  @Tags = []
@@ -2033,6 +2073,11 @@ module TencentCloud
2033
2073
  @TieringDetail = TieringDetailInfo.new
2034
2074
  @TieringDetail.deserialize(params['TieringDetail'])
2035
2075
  end
2076
+ unless params['AutoScaleUpRule'].nil?
2077
+ @AutoScaleUpRule = AutoScaleUpRule.new
2078
+ @AutoScaleUpRule.deserialize(params['AutoScaleUpRule'])
2079
+ end
2080
+ @Version = params['Version']
2036
2081
  end
2037
2082
  end
2038
2083
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.936
4
+ version: 3.0.938
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-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common