tencentcloud-sdk-python-cfs 3.1.16__tar.gz → 3.1.35__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 (17) hide show
  1. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/cfs/v20190719/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/cfs/v20190719/models.py +129 -2
  6. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_cfs-3.1.35/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_cfs-3.1.16/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/README.rst +0 -0
  10. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/cfs/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  14. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud/cfs/v20190719/cfs_client_async.py +0 -0
  15. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfs-3.1.16 → tencentcloud_sdk_python_cfs-3.1.35}/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.1.16
3
+ Version: 3.1.35
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.1.16
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
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.1.16,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.35,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cfs SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.16'
17
+ __version__ = '3.1.35'
@@ -119,6 +119,9 @@ INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = 'InvalidParameterValue.Duplic
119
119
  # 标签键重复
120
120
  INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = 'InvalidParameterValue.DuplicatedTagKey'
121
121
 
122
+ # ExternalStorage 生命周期模式只支持数据流动
123
+ INVALIDPARAMETERVALUE_EXTERNALSTORAGESUPPORTDATAFLOWONLY = 'InvalidParameterValue.ExternalStorageSupportDataflowOnly'
124
+
122
125
  # 用户自定义名称过长(超过64字节)。
123
126
  INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = 'InvalidParameterValue.FsNameLimitExceeded'
124
127
 
@@ -317,6 +320,9 @@ INVALIDPARAMETERVALUE_MISSINGZONEID = 'InvalidParameterValue.MissingZoneId'
317
320
  # 用户区域选择错误 (Zone) 或 (Zone_id)二者必选一。
318
321
  INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = 'InvalidParameterValue.MissingZoneOrZoneId'
319
322
 
323
+ # 该文件系统目录已配置数据流动,请配置其他规则
324
+ INVALIDPARAMETERVALUE_PATHUSEDINDATAFLOW = 'InvalidParameterValue.PathUsedInDataflow'
325
+
320
326
  # 权限组描述长度超过限制(不能超过255字节)。
321
327
  INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = 'InvalidParameterValue.PgroupDescinfoLimitExceeded'
322
328
 
@@ -2552,12 +2552,15 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
2552
2552
  :type TaskName: str
2553
2553
  :param _DataFlowId: 数据流动 ID ,该接口可以通过 DescribeDataFlow 查询
2554
2554
  :type DataFlowId: str
2555
+ :param _IsOverwrite: 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。 ture:覆盖 false:不覆盖(同时也不会释放热存数据) 为空时,默认为false
2556
+ :type IsOverwrite: bool
2555
2557
  """
2556
2558
  self._FileSystemId = None
2557
2559
  self._Type = None
2558
2560
  self._TaskPath = None
2559
2561
  self._TaskName = None
2560
2562
  self._DataFlowId = None
2563
+ self._IsOverwrite = None
2561
2564
 
2562
2565
  @property
2563
2566
  def FileSystemId(self):
@@ -2614,6 +2617,17 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
2614
2617
  def DataFlowId(self, DataFlowId):
2615
2618
  self._DataFlowId = DataFlowId
2616
2619
 
2620
+ @property
2621
+ def IsOverwrite(self):
2622
+ r""" 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。 ture:覆盖 false:不覆盖(同时也不会释放热存数据) 为空时,默认为false
2623
+ :rtype: bool
2624
+ """
2625
+ return self._IsOverwrite
2626
+
2627
+ @IsOverwrite.setter
2628
+ def IsOverwrite(self, IsOverwrite):
2629
+ self._IsOverwrite = IsOverwrite
2630
+
2617
2631
 
2618
2632
  def _deserialize(self, params):
2619
2633
  self._FileSystemId = params.get("FileSystemId")
@@ -2621,6 +2635,7 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
2621
2635
  self._TaskPath = params.get("TaskPath")
2622
2636
  self._TaskName = params.get("TaskName")
2623
2637
  self._DataFlowId = params.get("DataFlowId")
2638
+ self._IsOverwrite = params.get("IsOverwrite")
2624
2639
  memeber_set = set(params.keys())
2625
2640
  for name, value in vars(self).items():
2626
2641
  property_name = name[1:]
@@ -7388,6 +7403,13 @@ running:执行中,finished:已完成
7388
7403
  :type Type: str
7389
7404
  :param _DataFlowId: 数据流动Id
7390
7405
  :type DataFlowId: str
7406
+ :param _IsOverwrite: 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。
7407
+
7408
+ ture:覆盖
7409
+
7410
+ false:不覆盖(同时也不会释放热存数据)
7411
+ 为空时,默认为false
7412
+ :type IsOverwrite: bool
7391
7413
  """
7392
7414
  self._TaskId = None
7393
7415
  self._TaskStatus = None
@@ -7407,6 +7429,7 @@ running:执行中,finished:已完成
7407
7429
  self._TaskPath = None
7408
7430
  self._Type = None
7409
7431
  self._DataFlowId = None
7432
+ self._IsOverwrite = None
7410
7433
 
7411
7434
  @property
7412
7435
  def TaskId(self):
@@ -7615,6 +7638,22 @@ running:执行中,finished:已完成
7615
7638
  def DataFlowId(self, DataFlowId):
7616
7639
  self._DataFlowId = DataFlowId
7617
7640
 
7641
+ @property
7642
+ def IsOverwrite(self):
7643
+ r"""当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。
7644
+
7645
+ ture:覆盖
7646
+
7647
+ false:不覆盖(同时也不会释放热存数据)
7648
+ 为空时,默认为false
7649
+ :rtype: bool
7650
+ """
7651
+ return self._IsOverwrite
7652
+
7653
+ @IsOverwrite.setter
7654
+ def IsOverwrite(self, IsOverwrite):
7655
+ self._IsOverwrite = IsOverwrite
7656
+
7618
7657
 
7619
7658
  def _deserialize(self, params):
7620
7659
  self._TaskId = params.get("TaskId")
@@ -7635,6 +7674,7 @@ running:执行中,finished:已完成
7635
7674
  self._TaskPath = params.get("TaskPath")
7636
7675
  self._Type = params.get("Type")
7637
7676
  self._DataFlowId = params.get("DataFlowId")
7677
+ self._IsOverwrite = params.get("IsOverwrite")
7638
7678
  memeber_set = set(params.keys())
7639
7679
  for name, value in vars(self).items():
7640
7680
  property_name = name[1:]
@@ -7779,6 +7819,20 @@ class LifecycleRule(AbstractModel):
7779
7819
  :param _FileMinSize: 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
7780
7820
  注意:此字段可能返回 null,表示取不到有效值。
7781
7821
  :type FileMinSize: str
7822
+ :param _PolicyType: 策略类型
7823
+ :type PolicyType: str
7824
+ :param _ExpireThreshold: 阈值范围[10-90]
7825
+ :type ExpireThreshold: int
7826
+ :param _TargetThreshold: 阈值范围[10-90]
7827
+ :type TargetThreshold: int
7828
+ :param _IsOverwrite: 当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。
7829
+
7830
+ ture:覆盖
7831
+
7832
+ false:不覆盖(同时也不会释放热存数据)
7833
+
7834
+ 为空时,默认为false
7835
+ :type IsOverwrite: bool
7782
7836
  """
7783
7837
  self._StorageType = None
7784
7838
  self._FileType = None
@@ -7786,6 +7840,10 @@ class LifecycleRule(AbstractModel):
7786
7840
  self._Interval = None
7787
7841
  self._FileMaxSize = None
7788
7842
  self._FileMinSize = None
7843
+ self._PolicyType = None
7844
+ self._ExpireThreshold = None
7845
+ self._TargetThreshold = None
7846
+ self._IsOverwrite = None
7789
7847
 
7790
7848
  @property
7791
7849
  def StorageType(self):
@@ -7856,6 +7914,56 @@ class LifecycleRule(AbstractModel):
7856
7914
  def FileMinSize(self, FileMinSize):
7857
7915
  self._FileMinSize = FileMinSize
7858
7916
 
7917
+ @property
7918
+ def PolicyType(self):
7919
+ r"""策略类型
7920
+ :rtype: str
7921
+ """
7922
+ return self._PolicyType
7923
+
7924
+ @PolicyType.setter
7925
+ def PolicyType(self, PolicyType):
7926
+ self._PolicyType = PolicyType
7927
+
7928
+ @property
7929
+ def ExpireThreshold(self):
7930
+ r"""阈值范围[10-90]
7931
+ :rtype: int
7932
+ """
7933
+ return self._ExpireThreshold
7934
+
7935
+ @ExpireThreshold.setter
7936
+ def ExpireThreshold(self, ExpireThreshold):
7937
+ self._ExpireThreshold = ExpireThreshold
7938
+
7939
+ @property
7940
+ def TargetThreshold(self):
7941
+ r"""阈值范围[10-90]
7942
+ :rtype: int
7943
+ """
7944
+ return self._TargetThreshold
7945
+
7946
+ @TargetThreshold.setter
7947
+ def TargetThreshold(self, TargetThreshold):
7948
+ self._TargetThreshold = TargetThreshold
7949
+
7950
+ @property
7951
+ def IsOverwrite(self):
7952
+ r"""当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。
7953
+
7954
+ ture:覆盖
7955
+
7956
+ false:不覆盖(同时也不会释放热存数据)
7957
+
7958
+ 为空时,默认为false
7959
+ :rtype: bool
7960
+ """
7961
+ return self._IsOverwrite
7962
+
7963
+ @IsOverwrite.setter
7964
+ def IsOverwrite(self, IsOverwrite):
7965
+ self._IsOverwrite = IsOverwrite
7966
+
7859
7967
 
7860
7968
  def _deserialize(self, params):
7861
7969
  self._StorageType = params.get("StorageType")
@@ -7864,6 +7972,10 @@ class LifecycleRule(AbstractModel):
7864
7972
  self._Interval = params.get("Interval")
7865
7973
  self._FileMaxSize = params.get("FileMaxSize")
7866
7974
  self._FileMinSize = params.get("FileMinSize")
7975
+ self._PolicyType = params.get("PolicyType")
7976
+ self._ExpireThreshold = params.get("ExpireThreshold")
7977
+ self._TargetThreshold = params.get("TargetThreshold")
7978
+ self._IsOverwrite = params.get("IsOverwrite")
7867
7979
  memeber_set = set(params.keys())
7868
7980
  for name, value in vars(self).items():
7869
7981
  property_name = name[1:]
@@ -9249,9 +9361,12 @@ class PathInfo(AbstractModel):
9249
9361
  :type FileSystemId: str
9250
9362
  :param _Path: 目录绝对路径
9251
9363
  :type Path: str
9364
+ :param _DataFlowId: 数据流动Id
9365
+ :type DataFlowId: str
9252
9366
  """
9253
9367
  self._FileSystemId = None
9254
9368
  self._Path = None
9369
+ self._DataFlowId = None
9255
9370
 
9256
9371
  @property
9257
9372
  def FileSystemId(self):
@@ -9275,10 +9390,22 @@ class PathInfo(AbstractModel):
9275
9390
  def Path(self, Path):
9276
9391
  self._Path = Path
9277
9392
 
9393
+ @property
9394
+ def DataFlowId(self):
9395
+ r"""数据流动Id
9396
+ :rtype: str
9397
+ """
9398
+ return self._DataFlowId
9399
+
9400
+ @DataFlowId.setter
9401
+ def DataFlowId(self, DataFlowId):
9402
+ self._DataFlowId = DataFlowId
9403
+
9278
9404
 
9279
9405
  def _deserialize(self, params):
9280
9406
  self._FileSystemId = params.get("FileSystemId")
9281
9407
  self._Path = params.get("Path")
9408
+ self._DataFlowId = params.get("DataFlowId")
9282
9409
  memeber_set = set(params.keys())
9283
9410
  for name, value in vars(self).items():
9284
9411
  property_name = name[1:]
@@ -10814,7 +10941,7 @@ class UpdateCfsFileSystemSizeLimitRequest(AbstractModel):
10814
10941
  r"""
10815
10942
  :param _FsLimit: 文件系统容量限制大小,输入范围0-1073741824, 单位为GB;其中输入值为0时,表示不限制文件系统容量。
10816
10943
  :type FsLimit: int
10817
- :param _FileSystemId: 文件系统ID,目前仅支持标准型文件系统。该参数通过查询文件系统列表获取
10944
+ :param _FileSystemId: 文件系统 ID,此功能需要开白使用,请[提交工单](https://console.cloud.tencent.com/workorder/category?from=ticket-tab)进行申请。当前仅支持通用标准型文件系统设置存储容量上限。该参数通过[查询文件系统](https://cloud.tencent.com/document/product/582/38170)获取。
10818
10945
  :type FileSystemId: str
10819
10946
  """
10820
10947
  self._FsLimit = None
@@ -10833,7 +10960,7 @@ class UpdateCfsFileSystemSizeLimitRequest(AbstractModel):
10833
10960
 
10834
10961
  @property
10835
10962
  def FileSystemId(self):
10836
- r"""文件系统ID,目前仅支持标准型文件系统。该参数通过查询文件系统列表获取
10963
+ r"""文件系统 ID,此功能需要开白使用,请[提交工单](https://console.cloud.tencent.com/workorder/category?from=ticket-tab)进行申请。当前仅支持通用标准型文件系统设置存储容量上限。该参数通过[查询文件系统](https://cloud.tencent.com/document/product/582/38170)获取。
10837
10964
  :rtype: str
10838
10965
  """
10839
10966
  return self._FileSystemId
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cfs
3
- Version: 3.1.16
3
+ Version: 3.1.35
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.1.16
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.35
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.16