tencentcloud-sdk-python-cfs 3.1.107__tar.gz → 3.1.114__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.
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/setup.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/cfs/v20190719/errorcodes.py +12 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/cfs/v20190719/models.py +95 -93
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfs-3.1.114/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfs-3.1.107/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/README.rst +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud/cfs/v20190719/cfs_client_async.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.107 → tencentcloud_sdk_python_cfs-3.1.114}/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.
|
|
3
|
+
Version: 3.1.114
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.114,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfs SDK for Python',
|
|
@@ -92,6 +92,12 @@ INVALIDPARAMETER_INVALIDSNAPSHOTNAME = 'InvalidParameter.InvalidSnapshotName'
|
|
|
92
92
|
# 无效的文件系统快照策略名称。
|
|
93
93
|
INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = 'InvalidParameter.InvalidSnapshotPolicyName'
|
|
94
94
|
|
|
95
|
+
# ListPath 与 TaskPath 同时传入或同时为空
|
|
96
|
+
INVALIDPARAMETER_LISTPATHANDTASKPATHCONFLICT = 'InvalidParameter.ListPathAndTaskPathConflict'
|
|
97
|
+
|
|
98
|
+
# 数据清单路径必须以 /cfs 开头
|
|
99
|
+
INVALIDPARAMETER_LISTPATHINVALIDPREFIX = 'InvalidParameter.ListPathInvalidPrefix'
|
|
100
|
+
|
|
95
101
|
# 缺少策略相关参数。
|
|
96
102
|
INVALIDPARAMETER_MISSINGPOLICYPARAM = 'InvalidParameter.MissingPolicyParam'
|
|
97
103
|
|
|
@@ -290,6 +296,12 @@ INVALIDPARAMETERVALUE_INVALIDZONEID = 'InvalidParameterValue.InvalidZoneId'
|
|
|
290
296
|
# 无效的可用区或可用区ID。
|
|
291
297
|
INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = 'InvalidParameterValue.InvalidZoneOrZoneId'
|
|
292
298
|
|
|
299
|
+
# 清单文件格式不正确,请以 /cfs/ 开头写入完整的文件路径
|
|
300
|
+
INVALIDPARAMETERVALUE_LISTPATHFILEINVALID = 'InvalidParameterValue.ListPathFileInvalid'
|
|
301
|
+
|
|
302
|
+
# ListPath 指向的清单文件在 CFS 内不存在
|
|
303
|
+
INVALIDPARAMETERVALUE_LISTPATHFILENOTFOUND = 'InvalidParameterValue.ListPathFileNotFound'
|
|
304
|
+
|
|
293
305
|
# FileSystemId缺失。
|
|
294
306
|
INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = 'InvalidParameterValue.MissingFileSystemId'
|
|
295
307
|
|
|
@@ -2721,29 +2721,32 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2721
2721
|
|
|
2722
2722
|
def __init__(self):
|
|
2723
2723
|
r"""
|
|
2724
|
-
:param _FileSystemId:
|
|
2724
|
+
:param _FileSystemId: <p>文件系统唯一 ID</p>
|
|
2725
2725
|
:type FileSystemId: str
|
|
2726
|
-
:param _Type:
|
|
2726
|
+
:param _Type: <p>生命周期任务类型;archive:沉降;restore:预热;release:数据释放;metaload:元数据加载</p>
|
|
2727
2727
|
:type Type: str
|
|
2728
|
-
:param
|
|
2729
|
-
:type TaskPath: str
|
|
2730
|
-
:param _TaskName: 任务名称
|
|
2728
|
+
:param _TaskName: <p>任务名称</p>
|
|
2731
2729
|
:type TaskName: str
|
|
2732
|
-
:param
|
|
2730
|
+
:param _TaskPath: <p>需要沉降的路径或文件,仅支持传入1个路径,不允许为空。</p>
|
|
2731
|
+
:type TaskPath: str
|
|
2732
|
+
:param _DataFlowId: <p>数据流动 ID ,该接口可以通过 DescribeDataFlow 查询</p>
|
|
2733
2733
|
:type DataFlowId: str
|
|
2734
|
-
:param _IsOverwrite:
|
|
2734
|
+
:param _IsOverwrite: <p>当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。 ture:覆盖 false:不覆盖(同时也不会释放热存数据) 为空时,默认为false</p>
|
|
2735
2735
|
:type IsOverwrite: bool
|
|
2736
|
+
:param _ListPath: <p>【新增】数据清单文件路径,清单文件内每行一条待处理文件的完整路径。与 TaskPath 二选一。路径必须以 /cfs 开头,且必须为 CFS 文件系统内已存在的文件。示例值:/cfs/lists/archive_list.txt</p>
|
|
2737
|
+
:type ListPath: str
|
|
2736
2738
|
"""
|
|
2737
2739
|
self._FileSystemId = None
|
|
2738
2740
|
self._Type = None
|
|
2739
|
-
self._TaskPath = None
|
|
2740
2741
|
self._TaskName = None
|
|
2742
|
+
self._TaskPath = None
|
|
2741
2743
|
self._DataFlowId = None
|
|
2742
2744
|
self._IsOverwrite = None
|
|
2745
|
+
self._ListPath = None
|
|
2743
2746
|
|
|
2744
2747
|
@property
|
|
2745
2748
|
def FileSystemId(self):
|
|
2746
|
-
r"""
|
|
2749
|
+
r"""<p>文件系统唯一 ID</p>
|
|
2747
2750
|
:rtype: str
|
|
2748
2751
|
"""
|
|
2749
2752
|
return self._FileSystemId
|
|
@@ -2754,7 +2757,7 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2754
2757
|
|
|
2755
2758
|
@property
|
|
2756
2759
|
def Type(self):
|
|
2757
|
-
r"""
|
|
2760
|
+
r"""<p>生命周期任务类型;archive:沉降;restore:预热;release:数据释放;metaload:元数据加载</p>
|
|
2758
2761
|
:rtype: str
|
|
2759
2762
|
"""
|
|
2760
2763
|
return self._Type
|
|
@@ -2763,20 +2766,9 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2763
2766
|
def Type(self, Type):
|
|
2764
2767
|
self._Type = Type
|
|
2765
2768
|
|
|
2766
|
-
@property
|
|
2767
|
-
def TaskPath(self):
|
|
2768
|
-
r"""需要沉降的路径或文件,仅支持传入1个路径,不允许为空。
|
|
2769
|
-
:rtype: str
|
|
2770
|
-
"""
|
|
2771
|
-
return self._TaskPath
|
|
2772
|
-
|
|
2773
|
-
@TaskPath.setter
|
|
2774
|
-
def TaskPath(self, TaskPath):
|
|
2775
|
-
self._TaskPath = TaskPath
|
|
2776
|
-
|
|
2777
2769
|
@property
|
|
2778
2770
|
def TaskName(self):
|
|
2779
|
-
r"""
|
|
2771
|
+
r"""<p>任务名称</p>
|
|
2780
2772
|
:rtype: str
|
|
2781
2773
|
"""
|
|
2782
2774
|
return self._TaskName
|
|
@@ -2785,9 +2777,20 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2785
2777
|
def TaskName(self, TaskName):
|
|
2786
2778
|
self._TaskName = TaskName
|
|
2787
2779
|
|
|
2780
|
+
@property
|
|
2781
|
+
def TaskPath(self):
|
|
2782
|
+
r"""<p>需要沉降的路径或文件,仅支持传入1个路径,不允许为空。</p>
|
|
2783
|
+
:rtype: str
|
|
2784
|
+
"""
|
|
2785
|
+
return self._TaskPath
|
|
2786
|
+
|
|
2787
|
+
@TaskPath.setter
|
|
2788
|
+
def TaskPath(self, TaskPath):
|
|
2789
|
+
self._TaskPath = TaskPath
|
|
2790
|
+
|
|
2788
2791
|
@property
|
|
2789
2792
|
def DataFlowId(self):
|
|
2790
|
-
r"""
|
|
2793
|
+
r"""<p>数据流动 ID ,该接口可以通过 DescribeDataFlow 查询</p>
|
|
2791
2794
|
:rtype: str
|
|
2792
2795
|
"""
|
|
2793
2796
|
return self._DataFlowId
|
|
@@ -2798,7 +2801,7 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2798
2801
|
|
|
2799
2802
|
@property
|
|
2800
2803
|
def IsOverwrite(self):
|
|
2801
|
-
r"""
|
|
2804
|
+
r"""<p>当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。 ture:覆盖 false:不覆盖(同时也不会释放热存数据) 为空时,默认为false</p>
|
|
2802
2805
|
:rtype: bool
|
|
2803
2806
|
"""
|
|
2804
2807
|
return self._IsOverwrite
|
|
@@ -2807,14 +2810,26 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2807
2810
|
def IsOverwrite(self, IsOverwrite):
|
|
2808
2811
|
self._IsOverwrite = IsOverwrite
|
|
2809
2812
|
|
|
2813
|
+
@property
|
|
2814
|
+
def ListPath(self):
|
|
2815
|
+
r"""<p>【新增】数据清单文件路径,清单文件内每行一条待处理文件的完整路径。与 TaskPath 二选一。路径必须以 /cfs 开头,且必须为 CFS 文件系统内已存在的文件。示例值:/cfs/lists/archive_list.txt</p>
|
|
2816
|
+
:rtype: str
|
|
2817
|
+
"""
|
|
2818
|
+
return self._ListPath
|
|
2819
|
+
|
|
2820
|
+
@ListPath.setter
|
|
2821
|
+
def ListPath(self, ListPath):
|
|
2822
|
+
self._ListPath = ListPath
|
|
2823
|
+
|
|
2810
2824
|
|
|
2811
2825
|
def _deserialize(self, params):
|
|
2812
2826
|
self._FileSystemId = params.get("FileSystemId")
|
|
2813
2827
|
self._Type = params.get("Type")
|
|
2814
|
-
self._TaskPath = params.get("TaskPath")
|
|
2815
2828
|
self._TaskName = params.get("TaskName")
|
|
2829
|
+
self._TaskPath = params.get("TaskPath")
|
|
2816
2830
|
self._DataFlowId = params.get("DataFlowId")
|
|
2817
2831
|
self._IsOverwrite = params.get("IsOverwrite")
|
|
2832
|
+
self._ListPath = params.get("ListPath")
|
|
2818
2833
|
memeber_set = set(params.keys())
|
|
2819
2834
|
for name, value in vars(self).items():
|
|
2820
2835
|
property_name = name[1:]
|
|
@@ -2832,7 +2847,7 @@ class CreateLifecycleDataTaskResponse(AbstractModel):
|
|
|
2832
2847
|
|
|
2833
2848
|
def __init__(self):
|
|
2834
2849
|
r"""
|
|
2835
|
-
:param _TaskId:
|
|
2850
|
+
:param _TaskId: <p>任务 ID</p>
|
|
2836
2851
|
:type TaskId: str
|
|
2837
2852
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2838
2853
|
:type RequestId: str
|
|
@@ -2842,7 +2857,7 @@ class CreateLifecycleDataTaskResponse(AbstractModel):
|
|
|
2842
2857
|
|
|
2843
2858
|
@property
|
|
2844
2859
|
def TaskId(self):
|
|
2845
|
-
r"""
|
|
2860
|
+
r"""<p>任务 ID</p>
|
|
2846
2861
|
:rtype: str
|
|
2847
2862
|
"""
|
|
2848
2863
|
return self._TaskId
|
|
@@ -8367,58 +8382,46 @@ class LifecycleDataTaskInfo(AbstractModel):
|
|
|
8367
8382
|
|
|
8368
8383
|
def __init__(self):
|
|
8369
8384
|
r"""
|
|
8370
|
-
:param _TaskId:
|
|
8385
|
+
:param _TaskId: <p>任务id</p>
|
|
8371
8386
|
:type TaskId: str
|
|
8372
|
-
:param _TaskStatus:
|
|
8373
|
-
init:未执行
|
|
8374
|
-
running:执行中,finished:已完成
|
|
8375
|
-
,failed:失败
|
|
8376
|
-
,stopping:停止中,stopped:已停止
|
|
8387
|
+
:param _TaskStatus: <p>任务状态.<br>init:未执行<br>running:执行中,finished:已完成<br>,failed:失败<br>,stopping:停止中,stopped:已停止</p>
|
|
8377
8388
|
:type TaskStatus: str
|
|
8378
|
-
:param _CreationTime:
|
|
8389
|
+
:param _CreationTime: <p>任务创建时间</p>
|
|
8379
8390
|
:type CreationTime: str
|
|
8380
|
-
:param _FinishTime:
|
|
8391
|
+
:param _FinishTime: <p>任务结束时间</p>
|
|
8381
8392
|
:type FinishTime: str
|
|
8382
|
-
:param _FileTotalCount:
|
|
8393
|
+
:param _FileTotalCount: <p>文件总数</p>
|
|
8383
8394
|
:type FileTotalCount: int
|
|
8384
|
-
:param _FileSuccessedCount:
|
|
8395
|
+
:param _FileSuccessedCount: <p>处理成功文件数量</p>
|
|
8385
8396
|
:type FileSuccessedCount: int
|
|
8386
|
-
:param _FileFailedCount:
|
|
8397
|
+
:param _FileFailedCount: <p>当前已经失败的文件数</p>
|
|
8387
8398
|
:type FileFailedCount: int
|
|
8388
|
-
:param _FileTotalSize:
|
|
8389
|
-
|
|
8390
|
-
|
|
8399
|
+
:param _FileTotalSize: <p>文件容量,单位Byte</p>
|
|
8391
8400
|
:type FileTotalSize: int
|
|
8392
|
-
:param _FileSuccessedSize:
|
|
8393
|
-
|
|
8394
|
-
|
|
8401
|
+
:param _FileSuccessedSize: <p>已处理完成的文件容量,单位Byte</p>
|
|
8395
8402
|
:type FileSuccessedSize: int
|
|
8396
|
-
:param _FileFailedSize:
|
|
8397
|
-
|
|
8403
|
+
:param _FileFailedSize: <p>已处理失败文件容量,单位Byte</p>
|
|
8398
8404
|
:type FileFailedSize: int
|
|
8399
|
-
:param _FileTotalList:
|
|
8405
|
+
:param _FileTotalList: <p>总文件列表</p>
|
|
8400
8406
|
:type FileTotalList: str
|
|
8401
|
-
:param _FileSuccessedList:
|
|
8407
|
+
:param _FileSuccessedList: <p>成功的文件列表</p>
|
|
8402
8408
|
:type FileSuccessedList: str
|
|
8403
|
-
:param _FileFailedList:
|
|
8409
|
+
:param _FileFailedList: <p>失败文件的列表</p>
|
|
8404
8410
|
:type FileFailedList: str
|
|
8405
|
-
:param _FileSystemId: FileSystemId
|
|
8411
|
+
:param _FileSystemId: <p>FileSystemId</p>
|
|
8406
8412
|
:type FileSystemId: str
|
|
8407
|
-
:param _TaskName:
|
|
8413
|
+
:param _TaskName: <p>任务名称</p>
|
|
8408
8414
|
:type TaskName: str
|
|
8409
|
-
:param _TaskPath:
|
|
8415
|
+
:param _TaskPath: <p>任务路径</p>
|
|
8410
8416
|
:type TaskPath: str
|
|
8411
|
-
:param _Type:
|
|
8417
|
+
:param _Type: <p>任务类型,archive:表示沉降任务,restore:表示拉取任务</p>
|
|
8412
8418
|
:type Type: str
|
|
8413
|
-
:param _DataFlowId:
|
|
8419
|
+
:param _DataFlowId: <p>数据流动Id</p>
|
|
8414
8420
|
:type DataFlowId: str
|
|
8415
|
-
:param _IsOverwrite:
|
|
8416
|
-
|
|
8417
|
-
ture:覆盖
|
|
8418
|
-
|
|
8419
|
-
false:不覆盖(同时也不会释放热存数据)
|
|
8420
|
-
为空时,默认为false
|
|
8421
|
+
:param _IsOverwrite: <p>当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。</p><p>ture:覆盖</p><p>false:不覆盖(同时也不会释放热存数据)<br>为空时,默认为false</p>
|
|
8421
8422
|
:type IsOverwrite: bool
|
|
8423
|
+
:param _ListPath: <p>【新增】数据清单文件路径,清单文件内每行一条待处理文件的完整路径。与 TaskPath 二选一。路径必须以 /cfs 开头,且必须为 CFS 文件系统内已存在的文件。示例值:/cfs/lists/archive_list.txt</p>
|
|
8424
|
+
:type ListPath: str
|
|
8422
8425
|
"""
|
|
8423
8426
|
self._TaskId = None
|
|
8424
8427
|
self._TaskStatus = None
|
|
@@ -8439,10 +8442,11 @@ false:不覆盖(同时也不会释放热存数据)
|
|
|
8439
8442
|
self._Type = None
|
|
8440
8443
|
self._DataFlowId = None
|
|
8441
8444
|
self._IsOverwrite = None
|
|
8445
|
+
self._ListPath = None
|
|
8442
8446
|
|
|
8443
8447
|
@property
|
|
8444
8448
|
def TaskId(self):
|
|
8445
|
-
r"""
|
|
8449
|
+
r"""<p>任务id</p>
|
|
8446
8450
|
:rtype: str
|
|
8447
8451
|
"""
|
|
8448
8452
|
return self._TaskId
|
|
@@ -8453,11 +8457,7 @@ false:不覆盖(同时也不会释放热存数据)
|
|
|
8453
8457
|
|
|
8454
8458
|
@property
|
|
8455
8459
|
def TaskStatus(self):
|
|
8456
|
-
r"""
|
|
8457
|
-
init:未执行
|
|
8458
|
-
running:执行中,finished:已完成
|
|
8459
|
-
,failed:失败
|
|
8460
|
-
,stopping:停止中,stopped:已停止
|
|
8460
|
+
r"""<p>任务状态.<br>init:未执行<br>running:执行中,finished:已完成<br>,failed:失败<br>,stopping:停止中,stopped:已停止</p>
|
|
8461
8461
|
:rtype: str
|
|
8462
8462
|
"""
|
|
8463
8463
|
return self._TaskStatus
|
|
@@ -8468,7 +8468,7 @@ running:执行中,finished:已完成
|
|
|
8468
8468
|
|
|
8469
8469
|
@property
|
|
8470
8470
|
def CreationTime(self):
|
|
8471
|
-
r"""
|
|
8471
|
+
r"""<p>任务创建时间</p>
|
|
8472
8472
|
:rtype: str
|
|
8473
8473
|
"""
|
|
8474
8474
|
return self._CreationTime
|
|
@@ -8479,7 +8479,7 @@ running:执行中,finished:已完成
|
|
|
8479
8479
|
|
|
8480
8480
|
@property
|
|
8481
8481
|
def FinishTime(self):
|
|
8482
|
-
r"""
|
|
8482
|
+
r"""<p>任务结束时间</p>
|
|
8483
8483
|
:rtype: str
|
|
8484
8484
|
"""
|
|
8485
8485
|
return self._FinishTime
|
|
@@ -8490,7 +8490,7 @@ running:执行中,finished:已完成
|
|
|
8490
8490
|
|
|
8491
8491
|
@property
|
|
8492
8492
|
def FileTotalCount(self):
|
|
8493
|
-
r"""
|
|
8493
|
+
r"""<p>文件总数</p>
|
|
8494
8494
|
:rtype: int
|
|
8495
8495
|
"""
|
|
8496
8496
|
return self._FileTotalCount
|
|
@@ -8501,7 +8501,7 @@ running:执行中,finished:已完成
|
|
|
8501
8501
|
|
|
8502
8502
|
@property
|
|
8503
8503
|
def FileSuccessedCount(self):
|
|
8504
|
-
r"""
|
|
8504
|
+
r"""<p>处理成功文件数量</p>
|
|
8505
8505
|
:rtype: int
|
|
8506
8506
|
"""
|
|
8507
8507
|
return self._FileSuccessedCount
|
|
@@ -8512,7 +8512,7 @@ running:执行中,finished:已完成
|
|
|
8512
8512
|
|
|
8513
8513
|
@property
|
|
8514
8514
|
def FileFailedCount(self):
|
|
8515
|
-
r"""
|
|
8515
|
+
r"""<p>当前已经失败的文件数</p>
|
|
8516
8516
|
:rtype: int
|
|
8517
8517
|
"""
|
|
8518
8518
|
return self._FileFailedCount
|
|
@@ -8523,9 +8523,7 @@ running:执行中,finished:已完成
|
|
|
8523
8523
|
|
|
8524
8524
|
@property
|
|
8525
8525
|
def FileTotalSize(self):
|
|
8526
|
-
r"""
|
|
8527
|
-
|
|
8528
|
-
|
|
8526
|
+
r"""<p>文件容量,单位Byte</p>
|
|
8529
8527
|
:rtype: int
|
|
8530
8528
|
"""
|
|
8531
8529
|
return self._FileTotalSize
|
|
@@ -8536,9 +8534,7 @@ running:执行中,finished:已完成
|
|
|
8536
8534
|
|
|
8537
8535
|
@property
|
|
8538
8536
|
def FileSuccessedSize(self):
|
|
8539
|
-
r"""
|
|
8540
|
-
|
|
8541
|
-
|
|
8537
|
+
r"""<p>已处理完成的文件容量,单位Byte</p>
|
|
8542
8538
|
:rtype: int
|
|
8543
8539
|
"""
|
|
8544
8540
|
return self._FileSuccessedSize
|
|
@@ -8549,8 +8545,7 @@ running:执行中,finished:已完成
|
|
|
8549
8545
|
|
|
8550
8546
|
@property
|
|
8551
8547
|
def FileFailedSize(self):
|
|
8552
|
-
r"""
|
|
8553
|
-
|
|
8548
|
+
r"""<p>已处理失败文件容量,单位Byte</p>
|
|
8554
8549
|
:rtype: int
|
|
8555
8550
|
"""
|
|
8556
8551
|
return self._FileFailedSize
|
|
@@ -8561,7 +8556,7 @@ running:执行中,finished:已完成
|
|
|
8561
8556
|
|
|
8562
8557
|
@property
|
|
8563
8558
|
def FileTotalList(self):
|
|
8564
|
-
r"""
|
|
8559
|
+
r"""<p>总文件列表</p>
|
|
8565
8560
|
:rtype: str
|
|
8566
8561
|
"""
|
|
8567
8562
|
return self._FileTotalList
|
|
@@ -8572,7 +8567,7 @@ running:执行中,finished:已完成
|
|
|
8572
8567
|
|
|
8573
8568
|
@property
|
|
8574
8569
|
def FileSuccessedList(self):
|
|
8575
|
-
r"""
|
|
8570
|
+
r"""<p>成功的文件列表</p>
|
|
8576
8571
|
:rtype: str
|
|
8577
8572
|
"""
|
|
8578
8573
|
return self._FileSuccessedList
|
|
@@ -8583,7 +8578,7 @@ running:执行中,finished:已完成
|
|
|
8583
8578
|
|
|
8584
8579
|
@property
|
|
8585
8580
|
def FileFailedList(self):
|
|
8586
|
-
r"""
|
|
8581
|
+
r"""<p>失败文件的列表</p>
|
|
8587
8582
|
:rtype: str
|
|
8588
8583
|
"""
|
|
8589
8584
|
return self._FileFailedList
|
|
@@ -8594,7 +8589,7 @@ running:执行中,finished:已完成
|
|
|
8594
8589
|
|
|
8595
8590
|
@property
|
|
8596
8591
|
def FileSystemId(self):
|
|
8597
|
-
r"""FileSystemId
|
|
8592
|
+
r"""<p>FileSystemId</p>
|
|
8598
8593
|
:rtype: str
|
|
8599
8594
|
"""
|
|
8600
8595
|
return self._FileSystemId
|
|
@@ -8605,7 +8600,7 @@ running:执行中,finished:已完成
|
|
|
8605
8600
|
|
|
8606
8601
|
@property
|
|
8607
8602
|
def TaskName(self):
|
|
8608
|
-
r"""
|
|
8603
|
+
r"""<p>任务名称</p>
|
|
8609
8604
|
:rtype: str
|
|
8610
8605
|
"""
|
|
8611
8606
|
return self._TaskName
|
|
@@ -8616,7 +8611,7 @@ running:执行中,finished:已完成
|
|
|
8616
8611
|
|
|
8617
8612
|
@property
|
|
8618
8613
|
def TaskPath(self):
|
|
8619
|
-
r"""
|
|
8614
|
+
r"""<p>任务路径</p>
|
|
8620
8615
|
:rtype: str
|
|
8621
8616
|
"""
|
|
8622
8617
|
return self._TaskPath
|
|
@@ -8627,7 +8622,7 @@ running:执行中,finished:已完成
|
|
|
8627
8622
|
|
|
8628
8623
|
@property
|
|
8629
8624
|
def Type(self):
|
|
8630
|
-
r"""
|
|
8625
|
+
r"""<p>任务类型,archive:表示沉降任务,restore:表示拉取任务</p>
|
|
8631
8626
|
:rtype: str
|
|
8632
8627
|
"""
|
|
8633
8628
|
return self._Type
|
|
@@ -8638,7 +8633,7 @@ running:执行中,finished:已完成
|
|
|
8638
8633
|
|
|
8639
8634
|
@property
|
|
8640
8635
|
def DataFlowId(self):
|
|
8641
|
-
r"""
|
|
8636
|
+
r"""<p>数据流动Id</p>
|
|
8642
8637
|
:rtype: str
|
|
8643
8638
|
"""
|
|
8644
8639
|
return self._DataFlowId
|
|
@@ -8649,12 +8644,7 @@ running:执行中,finished:已完成
|
|
|
8649
8644
|
|
|
8650
8645
|
@property
|
|
8651
8646
|
def IsOverwrite(self):
|
|
8652
|
-
r"""
|
|
8653
|
-
|
|
8654
|
-
ture:覆盖
|
|
8655
|
-
|
|
8656
|
-
false:不覆盖(同时也不会释放热存数据)
|
|
8657
|
-
为空时,默认为false
|
|
8647
|
+
r"""<p>当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。</p><p>ture:覆盖</p><p>false:不覆盖(同时也不会释放热存数据)<br>为空时,默认为false</p>
|
|
8658
8648
|
:rtype: bool
|
|
8659
8649
|
"""
|
|
8660
8650
|
return self._IsOverwrite
|
|
@@ -8663,6 +8653,17 @@ false:不覆盖(同时也不会释放热存数据)
|
|
|
8663
8653
|
def IsOverwrite(self, IsOverwrite):
|
|
8664
8654
|
self._IsOverwrite = IsOverwrite
|
|
8665
8655
|
|
|
8656
|
+
@property
|
|
8657
|
+
def ListPath(self):
|
|
8658
|
+
r"""<p>【新增】数据清单文件路径,清单文件内每行一条待处理文件的完整路径。与 TaskPath 二选一。路径必须以 /cfs 开头,且必须为 CFS 文件系统内已存在的文件。示例值:/cfs/lists/archive_list.txt</p>
|
|
8659
|
+
:rtype: str
|
|
8660
|
+
"""
|
|
8661
|
+
return self._ListPath
|
|
8662
|
+
|
|
8663
|
+
@ListPath.setter
|
|
8664
|
+
def ListPath(self, ListPath):
|
|
8665
|
+
self._ListPath = ListPath
|
|
8666
|
+
|
|
8666
8667
|
|
|
8667
8668
|
def _deserialize(self, params):
|
|
8668
8669
|
self._TaskId = params.get("TaskId")
|
|
@@ -8684,6 +8685,7 @@ false:不覆盖(同时也不会释放热存数据)
|
|
|
8684
8685
|
self._Type = params.get("Type")
|
|
8685
8686
|
self._DataFlowId = params.get("DataFlowId")
|
|
8686
8687
|
self._IsOverwrite = params.get("IsOverwrite")
|
|
8688
|
+
self._ListPath = params.get("ListPath")
|
|
8687
8689
|
memeber_set = set(params.keys())
|
|
8688
8690
|
for name, value in vars(self).items():
|
|
8689
8691
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.114
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.107
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|