tencentcloud-sdk-python-cfs 3.0.1483__tar.gz → 3.0.1490__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.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud/cfs/v20190719/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud/cfs/v20190719/models.py +110 -12
  6. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_cfs-3.0.1490/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_cfs-3.0.1483/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/README.rst +0 -0
  10. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud/cfs/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  14. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud_sdk_python_cfs-3.0.1483 → tencentcloud_sdk_python_cfs-3.0.1490}/tencentcloud_sdk_python_cfs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1483
3
+ Version: 3.0.1490
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1483
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1483,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1490,<4.0.0"],
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.1483'
17
+ __version__ = '3.0.1490'
@@ -461,6 +461,9 @@ UNSUPPORTEDOPERATION = 'UnsupportedOperation'
461
461
  # 该可用区不支持基础网络。
462
462
  UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = 'UnsupportedOperation.BasicNetInterfaceNotSupported'
463
463
 
464
+ # 该文件系统版本不支持当前操作
465
+ UNSUPPORTEDOPERATION_INVALIDCFSVERSION = 'UnsupportedOperation.InvalidCfsVersion'
466
+
464
467
  # 该数据流动不支持删除,关联该数据流动的数据管理任务正在执行中,请等待执行完成或终止执行。
465
468
  UNSUPPORTEDOPERATION_INVALIDLIFECYCLEDATATASKSTATUS = 'UnsupportedOperation.InvalidLifecycleDataTaskStatus'
466
469
 
@@ -3159,6 +3159,22 @@ deleting:删除中
3159
3159
  :type CreationTime: str
3160
3160
  :param _FileSystemId: 文件系统 ID
3161
3161
  :type FileSystemId: str
3162
+ :param _AutoRefresh: 0:不开启自动更新
3163
+
3164
+ 1:开启自动更新
3165
+ :type AutoRefresh: int
3166
+ :param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
3167
+ :type UserKafkaTopic: str
3168
+ :param _ServerAddr: 服务地址
3169
+ :type ServerAddr: str
3170
+ :param _UserName: Kafka消费用户名
3171
+ :type UserName: str
3172
+ :param _AutoRefreshStatus: 自动刷新的状态,available:已生效
3173
+ pending:配置中
3174
+ unavailable:失效
3175
+ :type AutoRefreshStatus: str
3176
+ :param _AutoRefreshTime: 自动刷新开启时间
3177
+ :type AutoRefreshTime: str
3162
3178
  """
3163
3179
  self._DataFlowId = None
3164
3180
  self._DataFlowName = None
@@ -3169,6 +3185,12 @@ deleting:删除中
3169
3185
  self._Status = None
3170
3186
  self._CreationTime = None
3171
3187
  self._FileSystemId = None
3188
+ self._AutoRefresh = None
3189
+ self._UserKafkaTopic = None
3190
+ self._ServerAddr = None
3191
+ self._UserName = None
3192
+ self._AutoRefreshStatus = None
3193
+ self._AutoRefreshTime = None
3172
3194
 
3173
3195
  @property
3174
3196
  def DataFlowId(self):
@@ -3272,6 +3294,76 @@ deleting:删除中
3272
3294
  def FileSystemId(self, FileSystemId):
3273
3295
  self._FileSystemId = FileSystemId
3274
3296
 
3297
+ @property
3298
+ def AutoRefresh(self):
3299
+ r"""0:不开启自动更新
3300
+
3301
+ 1:开启自动更新
3302
+ :rtype: int
3303
+ """
3304
+ return self._AutoRefresh
3305
+
3306
+ @AutoRefresh.setter
3307
+ def AutoRefresh(self, AutoRefresh):
3308
+ self._AutoRefresh = AutoRefresh
3309
+
3310
+ @property
3311
+ def UserKafkaTopic(self):
3312
+ r"""KafkaConsumer 消费时使用的Topic参数
3313
+ :rtype: str
3314
+ """
3315
+ return self._UserKafkaTopic
3316
+
3317
+ @UserKafkaTopic.setter
3318
+ def UserKafkaTopic(self, UserKafkaTopic):
3319
+ self._UserKafkaTopic = UserKafkaTopic
3320
+
3321
+ @property
3322
+ def ServerAddr(self):
3323
+ r"""服务地址
3324
+ :rtype: str
3325
+ """
3326
+ return self._ServerAddr
3327
+
3328
+ @ServerAddr.setter
3329
+ def ServerAddr(self, ServerAddr):
3330
+ self._ServerAddr = ServerAddr
3331
+
3332
+ @property
3333
+ def UserName(self):
3334
+ r"""Kafka消费用户名
3335
+ :rtype: str
3336
+ """
3337
+ return self._UserName
3338
+
3339
+ @UserName.setter
3340
+ def UserName(self, UserName):
3341
+ self._UserName = UserName
3342
+
3343
+ @property
3344
+ def AutoRefreshStatus(self):
3345
+ r"""自动刷新的状态,available:已生效
3346
+ pending:配置中
3347
+ unavailable:失效
3348
+ :rtype: str
3349
+ """
3350
+ return self._AutoRefreshStatus
3351
+
3352
+ @AutoRefreshStatus.setter
3353
+ def AutoRefreshStatus(self, AutoRefreshStatus):
3354
+ self._AutoRefreshStatus = AutoRefreshStatus
3355
+
3356
+ @property
3357
+ def AutoRefreshTime(self):
3358
+ r"""自动刷新开启时间
3359
+ :rtype: str
3360
+ """
3361
+ return self._AutoRefreshTime
3362
+
3363
+ @AutoRefreshTime.setter
3364
+ def AutoRefreshTime(self, AutoRefreshTime):
3365
+ self._AutoRefreshTime = AutoRefreshTime
3366
+
3275
3367
 
3276
3368
  def _deserialize(self, params):
3277
3369
  self._DataFlowId = params.get("DataFlowId")
@@ -3283,6 +3375,12 @@ deleting:删除中
3283
3375
  self._Status = params.get("Status")
3284
3376
  self._CreationTime = params.get("CreationTime")
3285
3377
  self._FileSystemId = params.get("FileSystemId")
3378
+ self._AutoRefresh = params.get("AutoRefresh")
3379
+ self._UserKafkaTopic = params.get("UserKafkaTopic")
3380
+ self._ServerAddr = params.get("ServerAddr")
3381
+ self._UserName = params.get("UserName")
3382
+ self._AutoRefreshStatus = params.get("AutoRefreshStatus")
3383
+ self._AutoRefreshTime = params.get("AutoRefreshTime")
3286
3384
  memeber_set = set(params.keys())
3287
3385
  for name, value in vars(self).items():
3288
3386
  property_name = name[1:]
@@ -7626,19 +7724,19 @@ class LifecycleRule(AbstractModel):
7626
7724
 
7627
7725
  def __init__(self):
7628
7726
  r"""
7629
- :param _StorageType: 数据转储后的存储类型
7727
+ :param _StorageType: 数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
7630
7728
  :type StorageType: str
7631
- :param _FileType: 数据转储文件类型
7729
+ :param _FileType: 数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
7632
7730
  :type FileType: str
7633
- :param _Action: 数据转储行为
7731
+ :param _Action: 数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
7634
7732
  :type Action: str
7635
- :param _Interval: 数据转储触发时间
7733
+ :param _Interval: 数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
7636
7734
  注意:此字段可能返回 null,表示取不到有效值。
7637
7735
  :type Interval: str
7638
- :param _FileMaxSize: 数据转储文件最大规格
7736
+ :param _FileMaxSize: 数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
7639
7737
  注意:此字段可能返回 null,表示取不到有效值。
7640
7738
  :type FileMaxSize: str
7641
- :param _FileMinSize: 数据转储文件最小规格
7739
+ :param _FileMinSize: 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
7642
7740
  注意:此字段可能返回 null,表示取不到有效值。
7643
7741
  :type FileMinSize: str
7644
7742
  """
@@ -7651,7 +7749,7 @@ class LifecycleRule(AbstractModel):
7651
7749
 
7652
7750
  @property
7653
7751
  def StorageType(self):
7654
- r"""数据转储后的存储类型
7752
+ r"""数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
7655
7753
  :rtype: str
7656
7754
  """
7657
7755
  return self._StorageType
@@ -7662,7 +7760,7 @@ class LifecycleRule(AbstractModel):
7662
7760
 
7663
7761
  @property
7664
7762
  def FileType(self):
7665
- r"""数据转储文件类型
7763
+ r"""数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
7666
7764
  :rtype: str
7667
7765
  """
7668
7766
  return self._FileType
@@ -7673,7 +7771,7 @@ class LifecycleRule(AbstractModel):
7673
7771
 
7674
7772
  @property
7675
7773
  def Action(self):
7676
- r"""数据转储行为
7774
+ r"""数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
7677
7775
  :rtype: str
7678
7776
  """
7679
7777
  return self._Action
@@ -7684,7 +7782,7 @@ class LifecycleRule(AbstractModel):
7684
7782
 
7685
7783
  @property
7686
7784
  def Interval(self):
7687
- r"""数据转储触发时间
7785
+ r"""数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
7688
7786
  注意:此字段可能返回 null,表示取不到有效值。
7689
7787
  :rtype: str
7690
7788
  """
@@ -7696,7 +7794,7 @@ class LifecycleRule(AbstractModel):
7696
7794
 
7697
7795
  @property
7698
7796
  def FileMaxSize(self):
7699
- r"""数据转储文件最大规格
7797
+ r"""数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
7700
7798
  注意:此字段可能返回 null,表示取不到有效值。
7701
7799
  :rtype: str
7702
7800
  """
@@ -7708,7 +7806,7 @@ class LifecycleRule(AbstractModel):
7708
7806
 
7709
7807
  @property
7710
7808
  def FileMinSize(self):
7711
- r"""数据转储文件最小规格
7809
+ r"""数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
7712
7810
  注意:此字段可能返回 null,表示取不到有效值。
7713
7811
  :rtype: str
7714
7812
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.0.1483
3
+ Version: 3.0.1490
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1483
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1483