tencentcloud-sdk-cfs 3.0.936 → 3.0.937
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190719/models.rb +47 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d16941dfa2c9a8a549bd8a93c0061a58b7157413
|
4
|
+
data.tar.gz: 0d5910b397b6a3f772677b338619bba5da72f8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25c02ef2651afe224d2b695e6c203f8c6d2f95fcf67b2ee373b9796754a5ee7fb4b74bfc66b30cc75a4b063d1b90a90503a438b4a666e928bb4416b9f5859593
|
7
|
+
data.tar.gz: 58e595f29c72f1cb168912bc4cb100fe918a9787972735d096350f2acee283f0a0ed85f4f89bfaf64db241beec00ad8607b55d203850ec59dcdd36445f22a38b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.937
|
data/lib/v20190719/models.rb
CHANGED
@@ -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
|
|