tencentcloud-sdk-python-cfs 3.0.1260__tar.gz → 3.0.1262__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud/cfs/v20190719/models.py +109 -0
  5. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-cfs-3.0.1262/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-cfs-3.0.1260/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/README.rst +0 -0
  9. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud/cfs/__init__.py +0 -0
  11. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  13. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cfs-3.0.1260 → tencentcloud-sdk-python-cfs-3.0.1262}/tencentcloud_sdk_python_cfs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1260
3
+ Version: 3.0.1262
4
4
  Summary: Tencent Cloud Cfs SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cfs',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1260"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1262"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cfs SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1260'
17
+ __version__ = '3.0.1262'
@@ -18,6 +18,63 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class AutoScaleUpRule(AbstractModel):
22
+ """自动扩容规则
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Status: 自动扩容策略开启,关闭
29
+ :type Status: str
30
+ :param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
31
+ :type ScaleThreshold: int
32
+ :param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[1-90]
33
+ :type TargetThreshold: int
34
+ """
35
+ self._Status = None
36
+ self._ScaleThreshold = None
37
+ self._TargetThreshold = None
38
+
39
+ @property
40
+ def Status(self):
41
+ return self._Status
42
+
43
+ @Status.setter
44
+ def Status(self, Status):
45
+ self._Status = Status
46
+
47
+ @property
48
+ def ScaleThreshold(self):
49
+ return self._ScaleThreshold
50
+
51
+ @ScaleThreshold.setter
52
+ def ScaleThreshold(self, ScaleThreshold):
53
+ self._ScaleThreshold = ScaleThreshold
54
+
55
+ @property
56
+ def TargetThreshold(self):
57
+ return self._TargetThreshold
58
+
59
+ @TargetThreshold.setter
60
+ def TargetThreshold(self, TargetThreshold):
61
+ self._TargetThreshold = TargetThreshold
62
+
63
+
64
+ def _deserialize(self, params):
65
+ self._Status = params.get("Status")
66
+ self._ScaleThreshold = params.get("ScaleThreshold")
67
+ self._TargetThreshold = params.get("TargetThreshold")
68
+ memeber_set = set(params.keys())
69
+ for name, value in vars(self).items():
70
+ property_name = name[1:]
71
+ if property_name in memeber_set:
72
+ memeber_set.remove(property_name)
73
+ if len(memeber_set) > 0:
74
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
75
+
76
+
77
+
21
78
  class AutoSnapshotPolicyInfo(AbstractModel):
22
79
  """快照策略信息
23
80
 
@@ -4057,6 +4114,10 @@ class FileSystemInfo(AbstractModel):
4057
4114
  :type AppId: int
4058
4115
  :param _BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
4059
4116
  :type BandwidthLimit: float
4117
+ :param _AutoSnapshotPolicyId: 文件系统关联的快照策略
4118
+ :type AutoSnapshotPolicyId: str
4119
+ :param _SnapStatus: 文件系统处理快照状态
4120
+ :type SnapStatus: str
4060
4121
  :param _Capacity: 文件系统容量规格上限
4061
4122
  单位:GiB
4062
4123
  :type Capacity: int
@@ -4069,6 +4130,12 @@ Available:可用
4069
4130
  :param _TieringDetail: 分层存储详情
4070
4131
  注意:此字段可能返回 null,表示取不到有效值。
4071
4132
  :type TieringDetail: :class:`tencentcloud.cfs.v20190719.models.TieringDetailInfo`
4133
+ :param _AutoScaleUpRule: 文件系统自动扩容策略
4134
+ 注意:此字段可能返回 null,表示取不到有效值。
4135
+ :type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
4136
+ :param _Version: 文件系统版本
4137
+ 注意:此字段可能返回 null,表示取不到有效值。
4138
+ :type Version: str
4072
4139
  """
4073
4140
  self._CreationTime = None
4074
4141
  self._CreationToken = None
@@ -4088,10 +4155,14 @@ Available:可用
4088
4155
  self._KmsKeyId = None
4089
4156
  self._AppId = None
4090
4157
  self._BandwidthLimit = None
4158
+ self._AutoSnapshotPolicyId = None
4159
+ self._SnapStatus = None
4091
4160
  self._Capacity = None
4092
4161
  self._Tags = None
4093
4162
  self._TieringState = None
4094
4163
  self._TieringDetail = None
4164
+ self._AutoScaleUpRule = None
4165
+ self._Version = None
4095
4166
 
4096
4167
  @property
4097
4168
  def CreationTime(self):
@@ -4237,6 +4308,22 @@ Available:可用
4237
4308
  def BandwidthLimit(self, BandwidthLimit):
4238
4309
  self._BandwidthLimit = BandwidthLimit
4239
4310
 
4311
+ @property
4312
+ def AutoSnapshotPolicyId(self):
4313
+ return self._AutoSnapshotPolicyId
4314
+
4315
+ @AutoSnapshotPolicyId.setter
4316
+ def AutoSnapshotPolicyId(self, AutoSnapshotPolicyId):
4317
+ self._AutoSnapshotPolicyId = AutoSnapshotPolicyId
4318
+
4319
+ @property
4320
+ def SnapStatus(self):
4321
+ return self._SnapStatus
4322
+
4323
+ @SnapStatus.setter
4324
+ def SnapStatus(self, SnapStatus):
4325
+ self._SnapStatus = SnapStatus
4326
+
4240
4327
  @property
4241
4328
  def Capacity(self):
4242
4329
  return self._Capacity
@@ -4269,6 +4356,22 @@ Available:可用
4269
4356
  def TieringDetail(self, TieringDetail):
4270
4357
  self._TieringDetail = TieringDetail
4271
4358
 
4359
+ @property
4360
+ def AutoScaleUpRule(self):
4361
+ return self._AutoScaleUpRule
4362
+
4363
+ @AutoScaleUpRule.setter
4364
+ def AutoScaleUpRule(self, AutoScaleUpRule):
4365
+ self._AutoScaleUpRule = AutoScaleUpRule
4366
+
4367
+ @property
4368
+ def Version(self):
4369
+ return self._Version
4370
+
4371
+ @Version.setter
4372
+ def Version(self, Version):
4373
+ self._Version = Version
4374
+
4272
4375
 
4273
4376
  def _deserialize(self, params):
4274
4377
  self._CreationTime = params.get("CreationTime")
@@ -4291,6 +4394,8 @@ Available:可用
4291
4394
  self._KmsKeyId = params.get("KmsKeyId")
4292
4395
  self._AppId = params.get("AppId")
4293
4396
  self._BandwidthLimit = params.get("BandwidthLimit")
4397
+ self._AutoSnapshotPolicyId = params.get("AutoSnapshotPolicyId")
4398
+ self._SnapStatus = params.get("SnapStatus")
4294
4399
  self._Capacity = params.get("Capacity")
4295
4400
  if params.get("Tags") is not None:
4296
4401
  self._Tags = []
@@ -4302,6 +4407,10 @@ Available:可用
4302
4407
  if params.get("TieringDetail") is not None:
4303
4408
  self._TieringDetail = TieringDetailInfo()
4304
4409
  self._TieringDetail._deserialize(params.get("TieringDetail"))
4410
+ if params.get("AutoScaleUpRule") is not None:
4411
+ self._AutoScaleUpRule = AutoScaleUpRule()
4412
+ self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
4413
+ self._Version = params.get("Version")
4305
4414
  memeber_set = set(params.keys())
4306
4415
  for name, value in vars(self).items():
4307
4416
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1260
3
+ Version: 3.0.1262
4
4
  Summary: Tencent Cloud Cfs SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1262
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1260