tencentcloud-sdk-python-cfs 3.0.1259__tar.gz → 3.0.1261__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.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud/cfs/v20190719/models.py +111 -1
  5. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-cfs-3.0.1261/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-cfs-3.0.1259/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/README.rst +0 -0
  9. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud/cfs/__init__.py +0 -0
  11. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  13. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cfs-3.0.1259 → tencentcloud-sdk-python-cfs-3.0.1261}/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.1259
3
+ Version: 3.0.1261
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.1259"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1261"],
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.1259'
17
+ __version__ = '3.0.1261'
@@ -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
 
@@ -3188,7 +3245,8 @@ class DescribeCfsSnapshotsRequest(AbstractModel):
3188
3245
  <br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。
3189
3246
  <br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
3190
3247
  <br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
3191
- <br>Status - Array of String - 是否必填:否 -(过滤条件)按按照快照状态过滤。(creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中。
3248
+ <br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
3249
+ (creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中)
3192
3250
  <br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
3193
3251
  <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
3194
3252
  :type Filters: list of Filter
@@ -4056,6 +4114,10 @@ class FileSystemInfo(AbstractModel):
4056
4114
  :type AppId: int
4057
4115
  :param _BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
4058
4116
  :type BandwidthLimit: float
4117
+ :param _AutoSnapshotPolicyId: 文件系统关联的快照策略
4118
+ :type AutoSnapshotPolicyId: str
4119
+ :param _SnapStatus: 文件系统处理快照状态
4120
+ :type SnapStatus: str
4059
4121
  :param _Capacity: 文件系统容量规格上限
4060
4122
  单位:GiB
4061
4123
  :type Capacity: int
@@ -4068,6 +4130,12 @@ Available:可用
4068
4130
  :param _TieringDetail: 分层存储详情
4069
4131
  注意:此字段可能返回 null,表示取不到有效值。
4070
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
4071
4139
  """
4072
4140
  self._CreationTime = None
4073
4141
  self._CreationToken = None
@@ -4087,10 +4155,14 @@ Available:可用
4087
4155
  self._KmsKeyId = None
4088
4156
  self._AppId = None
4089
4157
  self._BandwidthLimit = None
4158
+ self._AutoSnapshotPolicyId = None
4159
+ self._SnapStatus = None
4090
4160
  self._Capacity = None
4091
4161
  self._Tags = None
4092
4162
  self._TieringState = None
4093
4163
  self._TieringDetail = None
4164
+ self._AutoScaleUpRule = None
4165
+ self._Version = None
4094
4166
 
4095
4167
  @property
4096
4168
  def CreationTime(self):
@@ -4236,6 +4308,22 @@ Available:可用
4236
4308
  def BandwidthLimit(self, BandwidthLimit):
4237
4309
  self._BandwidthLimit = BandwidthLimit
4238
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
+
4239
4327
  @property
4240
4328
  def Capacity(self):
4241
4329
  return self._Capacity
@@ -4268,6 +4356,22 @@ Available:可用
4268
4356
  def TieringDetail(self, TieringDetail):
4269
4357
  self._TieringDetail = TieringDetail
4270
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
+
4271
4375
 
4272
4376
  def _deserialize(self, params):
4273
4377
  self._CreationTime = params.get("CreationTime")
@@ -4290,6 +4394,8 @@ Available:可用
4290
4394
  self._KmsKeyId = params.get("KmsKeyId")
4291
4395
  self._AppId = params.get("AppId")
4292
4396
  self._BandwidthLimit = params.get("BandwidthLimit")
4397
+ self._AutoSnapshotPolicyId = params.get("AutoSnapshotPolicyId")
4398
+ self._SnapStatus = params.get("SnapStatus")
4293
4399
  self._Capacity = params.get("Capacity")
4294
4400
  if params.get("Tags") is not None:
4295
4401
  self._Tags = []
@@ -4301,6 +4407,10 @@ Available:可用
4301
4407
  if params.get("TieringDetail") is not None:
4302
4408
  self._TieringDetail = TieringDetailInfo()
4303
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")
4304
4414
  memeber_set = set(params.keys())
4305
4415
  for name, value in vars(self).items():
4306
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.1259
3
+ Version: 3.0.1261
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.1261
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1259