tencentcloud-sdk-python-cfs 3.1.123__tar.gz → 3.1.142__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.123 → tencentcloud_sdk_python_cfs-3.1.142}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/setup.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/cfs/v20190719/cfs_client.py +2 -2
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/cfs/v20190719/cfs_client_async.py +2 -2
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/cfs/v20190719/models.py +131 -86
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfs-3.1.142/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfs-3.1.123/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/README.rst +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.123 → tencentcloud_sdk_python_cfs-3.1.142}/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.142
|
|
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.142
|
|
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.142,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfs SDK for Python',
|
|
@@ -1159,9 +1159,9 @@ class CfsClient(AbstractClient):
|
|
|
1159
1159
|
|
|
1160
1160
|
|
|
1161
1161
|
def RunDataRetrievalTask(self, request):
|
|
1162
|
-
r"""执行数据检索任务。
|
|
1163
|
-
|
|
1162
|
+
r"""RunDataRetrievalTask 执行数据检索任务。
|
|
1164
1163
|
手动触发指定数据检索的执行,创建一个新的数据检索任务。单个文件系统同时执行的任务数不超过 20 个。
|
|
1164
|
+
仅Turbo系列文件系统支持。
|
|
1165
1165
|
|
|
1166
1166
|
:param request: Request instance for RunDataRetrievalTask.
|
|
1167
1167
|
:type request: :class:`tencentcloud.cfs.v20190719.models.RunDataRetrievalTaskRequest`
|
|
@@ -918,9 +918,9 @@ class CfsClient(AbstractClient):
|
|
|
918
918
|
opts: Dict = None,
|
|
919
919
|
) -> models.RunDataRetrievalTaskResponse:
|
|
920
920
|
"""
|
|
921
|
-
执行数据检索任务。
|
|
922
|
-
|
|
921
|
+
RunDataRetrievalTask 执行数据检索任务。
|
|
923
922
|
手动触发指定数据检索的执行,创建一个新的数据检索任务。单个文件系统同时执行的任务数不超过 20 个。
|
|
923
|
+
仅Turbo系列文件系统支持。
|
|
924
924
|
"""
|
|
925
925
|
|
|
926
926
|
kwargs = {}
|
|
@@ -3083,37 +3083,37 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3083
3083
|
|
|
3084
3084
|
def __init__(self):
|
|
3085
3085
|
r"""
|
|
3086
|
-
:param _TaskName:
|
|
3086
|
+
:param _TaskName: <p>迁移任务名称</p>
|
|
3087
3087
|
:type TaskName: str
|
|
3088
|
-
:param _MigrationType:
|
|
3088
|
+
:param _MigrationType: <p>迁移方式标志位,默认为0。0:桶迁移;1:清单迁移</p>
|
|
3089
3089
|
:type MigrationType: int
|
|
3090
|
-
:param _MigrationMode:
|
|
3090
|
+
:param _MigrationMode: <p>迁移模式,默认为0。0: 全量迁移</p>
|
|
3091
3091
|
:type MigrationMode: int
|
|
3092
|
-
:param _SrcSecretId:
|
|
3092
|
+
:param _SrcSecretId: <p>数据源账号的 SecretId</p>
|
|
3093
3093
|
:type SrcSecretId: str
|
|
3094
|
-
:param _SrcSecretKey:
|
|
3094
|
+
:param _SrcSecretKey: <p>数据源账号的 SecretKey</p>
|
|
3095
3095
|
:type SrcSecretKey: str
|
|
3096
|
-
:param _FileSystemId:
|
|
3096
|
+
:param _FileSystemId: <p>文件系统实例 ID,通过查询文件系统 <a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a> 获取</p>
|
|
3097
3097
|
:type FileSystemId: str
|
|
3098
|
-
:param _FsPath:
|
|
3098
|
+
:param _FsPath: <p>文件系统路径</p>
|
|
3099
3099
|
:type FsPath: str
|
|
3100
|
-
:param _CoverType:
|
|
3100
|
+
:param _CoverType: <p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
3101
3101
|
:type CoverType: int
|
|
3102
|
-
:param _SrcService:
|
|
3102
|
+
:param _SrcService: <p>数据源服务商</p><p>枚举值:</p><ul><li>COS: 腾讯云COS</li><li>OSS: 阿里云OSS</li><li>OBS: 华为云OBS</li><li>BOS: 百度云BOS</li><li>TOS: 火山引擎TOS</li></ul>
|
|
3103
3103
|
:type SrcService: str
|
|
3104
|
-
:param _BucketName:
|
|
3104
|
+
:param _BucketName: <p>数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数</p>
|
|
3105
3105
|
:type BucketName: str
|
|
3106
|
-
:param _BucketRegion:
|
|
3106
|
+
:param _BucketRegion: <p>数据源桶地域</p>
|
|
3107
3107
|
:type BucketRegion: str
|
|
3108
|
-
:param _BucketAddress:
|
|
3108
|
+
:param _BucketAddress: <p>数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数</p>
|
|
3109
3109
|
:type BucketAddress: str
|
|
3110
|
-
:param _ListAddress:
|
|
3110
|
+
:param _ListAddress: <p>清单地址,迁移方式为清单迁移时必填</p>
|
|
3111
3111
|
:type ListAddress: str
|
|
3112
|
-
:param _FsName:
|
|
3112
|
+
:param _FsName: <p>目标文件系统名称</p>
|
|
3113
3113
|
:type FsName: str
|
|
3114
|
-
:param _BucketPath:
|
|
3114
|
+
:param _BucketPath: <p>源桶路径,默认为 /</p>
|
|
3115
3115
|
:type BucketPath: str
|
|
3116
|
-
:param _Direction:
|
|
3116
|
+
:param _Direction: <p>迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0</p>
|
|
3117
3117
|
:type Direction: int
|
|
3118
3118
|
"""
|
|
3119
3119
|
self._TaskName = None
|
|
@@ -3135,7 +3135,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3135
3135
|
|
|
3136
3136
|
@property
|
|
3137
3137
|
def TaskName(self):
|
|
3138
|
-
r"""
|
|
3138
|
+
r"""<p>迁移任务名称</p>
|
|
3139
3139
|
:rtype: str
|
|
3140
3140
|
"""
|
|
3141
3141
|
return self._TaskName
|
|
@@ -3146,7 +3146,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3146
3146
|
|
|
3147
3147
|
@property
|
|
3148
3148
|
def MigrationType(self):
|
|
3149
|
-
r"""
|
|
3149
|
+
r"""<p>迁移方式标志位,默认为0。0:桶迁移;1:清单迁移</p>
|
|
3150
3150
|
:rtype: int
|
|
3151
3151
|
"""
|
|
3152
3152
|
return self._MigrationType
|
|
@@ -3157,7 +3157,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3157
3157
|
|
|
3158
3158
|
@property
|
|
3159
3159
|
def MigrationMode(self):
|
|
3160
|
-
r"""
|
|
3160
|
+
r"""<p>迁移模式,默认为0。0: 全量迁移</p>
|
|
3161
3161
|
:rtype: int
|
|
3162
3162
|
"""
|
|
3163
3163
|
return self._MigrationMode
|
|
@@ -3168,7 +3168,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3168
3168
|
|
|
3169
3169
|
@property
|
|
3170
3170
|
def SrcSecretId(self):
|
|
3171
|
-
r"""
|
|
3171
|
+
r"""<p>数据源账号的 SecretId</p>
|
|
3172
3172
|
:rtype: str
|
|
3173
3173
|
"""
|
|
3174
3174
|
return self._SrcSecretId
|
|
@@ -3179,7 +3179,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3179
3179
|
|
|
3180
3180
|
@property
|
|
3181
3181
|
def SrcSecretKey(self):
|
|
3182
|
-
r"""
|
|
3182
|
+
r"""<p>数据源账号的 SecretKey</p>
|
|
3183
3183
|
:rtype: str
|
|
3184
3184
|
"""
|
|
3185
3185
|
return self._SrcSecretKey
|
|
@@ -3190,7 +3190,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3190
3190
|
|
|
3191
3191
|
@property
|
|
3192
3192
|
def FileSystemId(self):
|
|
3193
|
-
r"""
|
|
3193
|
+
r"""<p>文件系统实例 ID,通过查询文件系统 <a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a> 获取</p>
|
|
3194
3194
|
:rtype: str
|
|
3195
3195
|
"""
|
|
3196
3196
|
return self._FileSystemId
|
|
@@ -3201,7 +3201,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3201
3201
|
|
|
3202
3202
|
@property
|
|
3203
3203
|
def FsPath(self):
|
|
3204
|
-
r"""
|
|
3204
|
+
r"""<p>文件系统路径</p>
|
|
3205
3205
|
:rtype: str
|
|
3206
3206
|
"""
|
|
3207
3207
|
return self._FsPath
|
|
@@ -3212,7 +3212,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3212
3212
|
|
|
3213
3213
|
@property
|
|
3214
3214
|
def CoverType(self):
|
|
3215
|
-
r"""
|
|
3215
|
+
r"""<p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
3216
3216
|
:rtype: int
|
|
3217
3217
|
"""
|
|
3218
3218
|
return self._CoverType
|
|
@@ -3223,7 +3223,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3223
3223
|
|
|
3224
3224
|
@property
|
|
3225
3225
|
def SrcService(self):
|
|
3226
|
-
r"""
|
|
3226
|
+
r"""<p>数据源服务商</p><p>枚举值:</p><ul><li>COS: 腾讯云COS</li><li>OSS: 阿里云OSS</li><li>OBS: 华为云OBS</li><li>BOS: 百度云BOS</li><li>TOS: 火山引擎TOS</li></ul>
|
|
3227
3227
|
:rtype: str
|
|
3228
3228
|
"""
|
|
3229
3229
|
return self._SrcService
|
|
@@ -3234,7 +3234,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3234
3234
|
|
|
3235
3235
|
@property
|
|
3236
3236
|
def BucketName(self):
|
|
3237
|
-
r"""
|
|
3237
|
+
r"""<p>数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数</p>
|
|
3238
3238
|
:rtype: str
|
|
3239
3239
|
"""
|
|
3240
3240
|
return self._BucketName
|
|
@@ -3245,7 +3245,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3245
3245
|
|
|
3246
3246
|
@property
|
|
3247
3247
|
def BucketRegion(self):
|
|
3248
|
-
r"""
|
|
3248
|
+
r"""<p>数据源桶地域</p>
|
|
3249
3249
|
:rtype: str
|
|
3250
3250
|
"""
|
|
3251
3251
|
return self._BucketRegion
|
|
@@ -3256,7 +3256,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3256
3256
|
|
|
3257
3257
|
@property
|
|
3258
3258
|
def BucketAddress(self):
|
|
3259
|
-
r"""
|
|
3259
|
+
r"""<p>数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数</p>
|
|
3260
3260
|
:rtype: str
|
|
3261
3261
|
"""
|
|
3262
3262
|
return self._BucketAddress
|
|
@@ -3267,7 +3267,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3267
3267
|
|
|
3268
3268
|
@property
|
|
3269
3269
|
def ListAddress(self):
|
|
3270
|
-
r"""
|
|
3270
|
+
r"""<p>清单地址,迁移方式为清单迁移时必填</p>
|
|
3271
3271
|
:rtype: str
|
|
3272
3272
|
"""
|
|
3273
3273
|
return self._ListAddress
|
|
@@ -3278,7 +3278,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3278
3278
|
|
|
3279
3279
|
@property
|
|
3280
3280
|
def FsName(self):
|
|
3281
|
-
r"""
|
|
3281
|
+
r"""<p>目标文件系统名称</p>
|
|
3282
3282
|
:rtype: str
|
|
3283
3283
|
"""
|
|
3284
3284
|
return self._FsName
|
|
@@ -3289,7 +3289,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3289
3289
|
|
|
3290
3290
|
@property
|
|
3291
3291
|
def BucketPath(self):
|
|
3292
|
-
r"""
|
|
3292
|
+
r"""<p>源桶路径,默认为 /</p>
|
|
3293
3293
|
:rtype: str
|
|
3294
3294
|
"""
|
|
3295
3295
|
return self._BucketPath
|
|
@@ -3300,7 +3300,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3300
3300
|
|
|
3301
3301
|
@property
|
|
3302
3302
|
def Direction(self):
|
|
3303
|
-
r"""
|
|
3303
|
+
r"""<p>迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0</p>
|
|
3304
3304
|
:rtype: int
|
|
3305
3305
|
"""
|
|
3306
3306
|
return self._Direction
|
|
@@ -3344,7 +3344,7 @@ class CreateMigrationTaskResponse(AbstractModel):
|
|
|
3344
3344
|
|
|
3345
3345
|
def __init__(self):
|
|
3346
3346
|
r"""
|
|
3347
|
-
:param _TaskId:
|
|
3347
|
+
:param _TaskId: <p>迁移任务 ID</p>
|
|
3348
3348
|
:type TaskId: str
|
|
3349
3349
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3350
3350
|
:type RequestId: str
|
|
@@ -3354,7 +3354,7 @@ class CreateMigrationTaskResponse(AbstractModel):
|
|
|
3354
3354
|
|
|
3355
3355
|
@property
|
|
3356
3356
|
def TaskId(self):
|
|
3357
|
-
r"""
|
|
3357
|
+
r"""<p>迁移任务 ID</p>
|
|
3358
3358
|
:rtype: str
|
|
3359
3359
|
"""
|
|
3360
3360
|
return self._TaskId
|
|
@@ -9037,58 +9037,60 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9037
9037
|
|
|
9038
9038
|
def __init__(self):
|
|
9039
9039
|
r"""
|
|
9040
|
-
:param _TaskName:
|
|
9040
|
+
:param _TaskName: <p>迁移任务名称</p>
|
|
9041
9041
|
:type TaskName: str
|
|
9042
|
-
:param _TaskId:
|
|
9042
|
+
:param _TaskId: <p>迁移任务id</p>
|
|
9043
9043
|
:type TaskId: str
|
|
9044
|
-
:param _MigrationType:
|
|
9044
|
+
:param _MigrationType: <p>迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移</p>
|
|
9045
9045
|
:type MigrationType: int
|
|
9046
|
-
:param _MigrationMode:
|
|
9046
|
+
:param _MigrationMode: <p>迁移模式,默认为0。0: 全量迁移</p>
|
|
9047
9047
|
:type MigrationMode: int
|
|
9048
|
-
:param _BucketName:
|
|
9048
|
+
:param _BucketName: <p>数据源桶名称</p>
|
|
9049
9049
|
:type BucketName: str
|
|
9050
|
-
:param _BucketRegion:
|
|
9050
|
+
:param _BucketRegion: <p>数据源桶地域</p>
|
|
9051
9051
|
:type BucketRegion: str
|
|
9052
|
-
:param _BucketAddress:
|
|
9052
|
+
:param _BucketAddress: <p>数据源桶地址</p>
|
|
9053
9053
|
:type BucketAddress: str
|
|
9054
|
-
:param _ListAddress:
|
|
9054
|
+
:param _ListAddress: <p>清单地址</p>
|
|
9055
9055
|
:type ListAddress: str
|
|
9056
|
-
:param _FsName:
|
|
9056
|
+
:param _FsName: <p>文件系统实例名称</p>
|
|
9057
9057
|
:type FsName: str
|
|
9058
|
-
:param _FileSystemId:
|
|
9058
|
+
:param _FileSystemId: <p>文件系统实例Id</p>
|
|
9059
9059
|
:type FileSystemId: str
|
|
9060
|
-
:param _FsPath:
|
|
9060
|
+
:param _FsPath: <p>文件系统路径</p>
|
|
9061
9061
|
:type FsPath: str
|
|
9062
|
-
:param _CoverType:
|
|
9062
|
+
:param _CoverType: <p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
9063
9063
|
:type CoverType: int
|
|
9064
|
-
:param _CreateTime:
|
|
9064
|
+
:param _CreateTime: <p>创建时间</p>
|
|
9065
9065
|
:type CreateTime: int
|
|
9066
|
-
:param _EndTime:
|
|
9066
|
+
:param _EndTime: <p>完成/终止时间</p>
|
|
9067
9067
|
:type EndTime: int
|
|
9068
|
-
:param _Status:
|
|
9068
|
+
:param _Status: <p>迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中</p>
|
|
9069
9069
|
:type Status: int
|
|
9070
|
-
:param _FileTotalCount:
|
|
9070
|
+
:param _FileTotalCount: <p>文件数量</p>
|
|
9071
9071
|
:type FileTotalCount: int
|
|
9072
|
-
:param _FileMigratedCount:
|
|
9072
|
+
:param _FileMigratedCount: <p>已迁移文件数量</p>
|
|
9073
9073
|
:type FileMigratedCount: int
|
|
9074
|
-
:param _FileFailedCount:
|
|
9074
|
+
:param _FileFailedCount: <p>迁移失败文件数量</p>
|
|
9075
9075
|
:type FileFailedCount: int
|
|
9076
|
-
:param _FileTotalSize:
|
|
9076
|
+
:param _FileTotalSize: <p>文件容量,单位Byte</p>
|
|
9077
9077
|
:type FileTotalSize: int
|
|
9078
|
-
:param _FileMigratedSize:
|
|
9078
|
+
:param _FileMigratedSize: <p>已迁移文件容量,单位Byte</p>
|
|
9079
9079
|
:type FileMigratedSize: int
|
|
9080
|
-
:param _FileFailedSize:
|
|
9080
|
+
:param _FileFailedSize: <p>迁移失败文件容量,单位Byte</p>
|
|
9081
9081
|
:type FileFailedSize: int
|
|
9082
|
-
:param _FileTotalList:
|
|
9082
|
+
:param _FileTotalList: <p>全部清单</p>
|
|
9083
9083
|
:type FileTotalList: str
|
|
9084
|
-
:param _FileCompletedList:
|
|
9084
|
+
:param _FileCompletedList: <p>已完成文件清单</p>
|
|
9085
9085
|
:type FileCompletedList: str
|
|
9086
|
-
:param _FileFailedList:
|
|
9086
|
+
:param _FileFailedList: <p>失败文件清单</p>
|
|
9087
9087
|
:type FileFailedList: str
|
|
9088
|
-
:param _BucketPath:
|
|
9088
|
+
:param _BucketPath: <p>源桶路径</p>
|
|
9089
9089
|
:type BucketPath: str
|
|
9090
|
-
:param _Direction:
|
|
9090
|
+
:param _Direction: <p>迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0</p>
|
|
9091
9091
|
:type Direction: int
|
|
9092
|
+
:param _SrcService: <p>数据源服务商</p><p>枚举值:</p><ul><li>COS: 腾讯云COS</li><li>OSS: 阿里云OSS</li><li>OBS: 华为云OBS</li><li>BOS: 百度云BOS</li><li>TOS: 火山引擎TOS</li></ul>
|
|
9093
|
+
:type SrcService: str
|
|
9092
9094
|
"""
|
|
9093
9095
|
self._TaskName = None
|
|
9094
9096
|
self._TaskId = None
|
|
@@ -9116,10 +9118,11 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9116
9118
|
self._FileFailedList = None
|
|
9117
9119
|
self._BucketPath = None
|
|
9118
9120
|
self._Direction = None
|
|
9121
|
+
self._SrcService = None
|
|
9119
9122
|
|
|
9120
9123
|
@property
|
|
9121
9124
|
def TaskName(self):
|
|
9122
|
-
r"""
|
|
9125
|
+
r"""<p>迁移任务名称</p>
|
|
9123
9126
|
:rtype: str
|
|
9124
9127
|
"""
|
|
9125
9128
|
return self._TaskName
|
|
@@ -9130,7 +9133,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9130
9133
|
|
|
9131
9134
|
@property
|
|
9132
9135
|
def TaskId(self):
|
|
9133
|
-
r"""
|
|
9136
|
+
r"""<p>迁移任务id</p>
|
|
9134
9137
|
:rtype: str
|
|
9135
9138
|
"""
|
|
9136
9139
|
return self._TaskId
|
|
@@ -9141,7 +9144,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9141
9144
|
|
|
9142
9145
|
@property
|
|
9143
9146
|
def MigrationType(self):
|
|
9144
|
-
r"""
|
|
9147
|
+
r"""<p>迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移</p>
|
|
9145
9148
|
:rtype: int
|
|
9146
9149
|
"""
|
|
9147
9150
|
return self._MigrationType
|
|
@@ -9152,7 +9155,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9152
9155
|
|
|
9153
9156
|
@property
|
|
9154
9157
|
def MigrationMode(self):
|
|
9155
|
-
r"""
|
|
9158
|
+
r"""<p>迁移模式,默认为0。0: 全量迁移</p>
|
|
9156
9159
|
:rtype: int
|
|
9157
9160
|
"""
|
|
9158
9161
|
return self._MigrationMode
|
|
@@ -9163,7 +9166,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9163
9166
|
|
|
9164
9167
|
@property
|
|
9165
9168
|
def BucketName(self):
|
|
9166
|
-
r"""
|
|
9169
|
+
r"""<p>数据源桶名称</p>
|
|
9167
9170
|
:rtype: str
|
|
9168
9171
|
"""
|
|
9169
9172
|
return self._BucketName
|
|
@@ -9174,7 +9177,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9174
9177
|
|
|
9175
9178
|
@property
|
|
9176
9179
|
def BucketRegion(self):
|
|
9177
|
-
r"""
|
|
9180
|
+
r"""<p>数据源桶地域</p>
|
|
9178
9181
|
:rtype: str
|
|
9179
9182
|
"""
|
|
9180
9183
|
return self._BucketRegion
|
|
@@ -9185,7 +9188,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9185
9188
|
|
|
9186
9189
|
@property
|
|
9187
9190
|
def BucketAddress(self):
|
|
9188
|
-
r"""
|
|
9191
|
+
r"""<p>数据源桶地址</p>
|
|
9189
9192
|
:rtype: str
|
|
9190
9193
|
"""
|
|
9191
9194
|
return self._BucketAddress
|
|
@@ -9196,7 +9199,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9196
9199
|
|
|
9197
9200
|
@property
|
|
9198
9201
|
def ListAddress(self):
|
|
9199
|
-
r"""
|
|
9202
|
+
r"""<p>清单地址</p>
|
|
9200
9203
|
:rtype: str
|
|
9201
9204
|
"""
|
|
9202
9205
|
return self._ListAddress
|
|
@@ -9207,7 +9210,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9207
9210
|
|
|
9208
9211
|
@property
|
|
9209
9212
|
def FsName(self):
|
|
9210
|
-
r"""
|
|
9213
|
+
r"""<p>文件系统实例名称</p>
|
|
9211
9214
|
:rtype: str
|
|
9212
9215
|
"""
|
|
9213
9216
|
return self._FsName
|
|
@@ -9218,7 +9221,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9218
9221
|
|
|
9219
9222
|
@property
|
|
9220
9223
|
def FileSystemId(self):
|
|
9221
|
-
r"""
|
|
9224
|
+
r"""<p>文件系统实例Id</p>
|
|
9222
9225
|
:rtype: str
|
|
9223
9226
|
"""
|
|
9224
9227
|
return self._FileSystemId
|
|
@@ -9229,7 +9232,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9229
9232
|
|
|
9230
9233
|
@property
|
|
9231
9234
|
def FsPath(self):
|
|
9232
|
-
r"""
|
|
9235
|
+
r"""<p>文件系统路径</p>
|
|
9233
9236
|
:rtype: str
|
|
9234
9237
|
"""
|
|
9235
9238
|
return self._FsPath
|
|
@@ -9240,7 +9243,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9240
9243
|
|
|
9241
9244
|
@property
|
|
9242
9245
|
def CoverType(self):
|
|
9243
|
-
r"""
|
|
9246
|
+
r"""<p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
9244
9247
|
:rtype: int
|
|
9245
9248
|
"""
|
|
9246
9249
|
return self._CoverType
|
|
@@ -9251,7 +9254,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9251
9254
|
|
|
9252
9255
|
@property
|
|
9253
9256
|
def CreateTime(self):
|
|
9254
|
-
r"""
|
|
9257
|
+
r"""<p>创建时间</p>
|
|
9255
9258
|
:rtype: int
|
|
9256
9259
|
"""
|
|
9257
9260
|
return self._CreateTime
|
|
@@ -9262,7 +9265,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9262
9265
|
|
|
9263
9266
|
@property
|
|
9264
9267
|
def EndTime(self):
|
|
9265
|
-
r"""
|
|
9268
|
+
r"""<p>完成/终止时间</p>
|
|
9266
9269
|
:rtype: int
|
|
9267
9270
|
"""
|
|
9268
9271
|
return self._EndTime
|
|
@@ -9273,7 +9276,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9273
9276
|
|
|
9274
9277
|
@property
|
|
9275
9278
|
def Status(self):
|
|
9276
|
-
r"""
|
|
9279
|
+
r"""<p>迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中</p>
|
|
9277
9280
|
:rtype: int
|
|
9278
9281
|
"""
|
|
9279
9282
|
return self._Status
|
|
@@ -9284,7 +9287,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9284
9287
|
|
|
9285
9288
|
@property
|
|
9286
9289
|
def FileTotalCount(self):
|
|
9287
|
-
r"""
|
|
9290
|
+
r"""<p>文件数量</p>
|
|
9288
9291
|
:rtype: int
|
|
9289
9292
|
"""
|
|
9290
9293
|
return self._FileTotalCount
|
|
@@ -9295,7 +9298,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9295
9298
|
|
|
9296
9299
|
@property
|
|
9297
9300
|
def FileMigratedCount(self):
|
|
9298
|
-
r"""
|
|
9301
|
+
r"""<p>已迁移文件数量</p>
|
|
9299
9302
|
:rtype: int
|
|
9300
9303
|
"""
|
|
9301
9304
|
return self._FileMigratedCount
|
|
@@ -9306,7 +9309,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9306
9309
|
|
|
9307
9310
|
@property
|
|
9308
9311
|
def FileFailedCount(self):
|
|
9309
|
-
r"""
|
|
9312
|
+
r"""<p>迁移失败文件数量</p>
|
|
9310
9313
|
:rtype: int
|
|
9311
9314
|
"""
|
|
9312
9315
|
return self._FileFailedCount
|
|
@@ -9317,7 +9320,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9317
9320
|
|
|
9318
9321
|
@property
|
|
9319
9322
|
def FileTotalSize(self):
|
|
9320
|
-
r"""
|
|
9323
|
+
r"""<p>文件容量,单位Byte</p>
|
|
9321
9324
|
:rtype: int
|
|
9322
9325
|
"""
|
|
9323
9326
|
return self._FileTotalSize
|
|
@@ -9328,7 +9331,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9328
9331
|
|
|
9329
9332
|
@property
|
|
9330
9333
|
def FileMigratedSize(self):
|
|
9331
|
-
r"""
|
|
9334
|
+
r"""<p>已迁移文件容量,单位Byte</p>
|
|
9332
9335
|
:rtype: int
|
|
9333
9336
|
"""
|
|
9334
9337
|
return self._FileMigratedSize
|
|
@@ -9339,7 +9342,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9339
9342
|
|
|
9340
9343
|
@property
|
|
9341
9344
|
def FileFailedSize(self):
|
|
9342
|
-
r"""
|
|
9345
|
+
r"""<p>迁移失败文件容量,单位Byte</p>
|
|
9343
9346
|
:rtype: int
|
|
9344
9347
|
"""
|
|
9345
9348
|
return self._FileFailedSize
|
|
@@ -9350,7 +9353,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9350
9353
|
|
|
9351
9354
|
@property
|
|
9352
9355
|
def FileTotalList(self):
|
|
9353
|
-
r"""
|
|
9356
|
+
r"""<p>全部清单</p>
|
|
9354
9357
|
:rtype: str
|
|
9355
9358
|
"""
|
|
9356
9359
|
return self._FileTotalList
|
|
@@ -9361,7 +9364,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9361
9364
|
|
|
9362
9365
|
@property
|
|
9363
9366
|
def FileCompletedList(self):
|
|
9364
|
-
r"""
|
|
9367
|
+
r"""<p>已完成文件清单</p>
|
|
9365
9368
|
:rtype: str
|
|
9366
9369
|
"""
|
|
9367
9370
|
return self._FileCompletedList
|
|
@@ -9372,7 +9375,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9372
9375
|
|
|
9373
9376
|
@property
|
|
9374
9377
|
def FileFailedList(self):
|
|
9375
|
-
r"""
|
|
9378
|
+
r"""<p>失败文件清单</p>
|
|
9376
9379
|
:rtype: str
|
|
9377
9380
|
"""
|
|
9378
9381
|
return self._FileFailedList
|
|
@@ -9383,7 +9386,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9383
9386
|
|
|
9384
9387
|
@property
|
|
9385
9388
|
def BucketPath(self):
|
|
9386
|
-
r"""
|
|
9389
|
+
r"""<p>源桶路径</p>
|
|
9387
9390
|
:rtype: str
|
|
9388
9391
|
"""
|
|
9389
9392
|
return self._BucketPath
|
|
@@ -9394,7 +9397,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9394
9397
|
|
|
9395
9398
|
@property
|
|
9396
9399
|
def Direction(self):
|
|
9397
|
-
r"""
|
|
9400
|
+
r"""<p>迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0</p>
|
|
9398
9401
|
:rtype: int
|
|
9399
9402
|
"""
|
|
9400
9403
|
return self._Direction
|
|
@@ -9403,6 +9406,17 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9403
9406
|
def Direction(self, Direction):
|
|
9404
9407
|
self._Direction = Direction
|
|
9405
9408
|
|
|
9409
|
+
@property
|
|
9410
|
+
def SrcService(self):
|
|
9411
|
+
r"""<p>数据源服务商</p><p>枚举值:</p><ul><li>COS: 腾讯云COS</li><li>OSS: 阿里云OSS</li><li>OBS: 华为云OBS</li><li>BOS: 百度云BOS</li><li>TOS: 火山引擎TOS</li></ul>
|
|
9412
|
+
:rtype: str
|
|
9413
|
+
"""
|
|
9414
|
+
return self._SrcService
|
|
9415
|
+
|
|
9416
|
+
@SrcService.setter
|
|
9417
|
+
def SrcService(self, SrcService):
|
|
9418
|
+
self._SrcService = SrcService
|
|
9419
|
+
|
|
9406
9420
|
|
|
9407
9421
|
def _deserialize(self, params):
|
|
9408
9422
|
self._TaskName = params.get("TaskName")
|
|
@@ -9431,6 +9445,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9431
9445
|
self._FileFailedList = params.get("FileFailedList")
|
|
9432
9446
|
self._BucketPath = params.get("BucketPath")
|
|
9433
9447
|
self._Direction = params.get("Direction")
|
|
9448
|
+
self._SrcService = params.get("SrcService")
|
|
9434
9449
|
memeber_set = set(params.keys())
|
|
9435
9450
|
for name, value in vars(self).items():
|
|
9436
9451
|
property_name = name[1:]
|
|
@@ -10723,6 +10738,36 @@ class RunDataRetrievalTaskRequest(AbstractModel):
|
|
|
10723
10738
|
|
|
10724
10739
|
"""
|
|
10725
10740
|
|
|
10741
|
+
def __init__(self):
|
|
10742
|
+
r"""
|
|
10743
|
+
:param _DataRetrievalId: <p>数据检索 ID。可通过 DescribeDataRetrieval 接口获取。</p>
|
|
10744
|
+
:type DataRetrievalId: str
|
|
10745
|
+
"""
|
|
10746
|
+
self._DataRetrievalId = None
|
|
10747
|
+
|
|
10748
|
+
@property
|
|
10749
|
+
def DataRetrievalId(self):
|
|
10750
|
+
r"""<p>数据检索 ID。可通过 DescribeDataRetrieval 接口获取。</p>
|
|
10751
|
+
:rtype: str
|
|
10752
|
+
"""
|
|
10753
|
+
return self._DataRetrievalId
|
|
10754
|
+
|
|
10755
|
+
@DataRetrievalId.setter
|
|
10756
|
+
def DataRetrievalId(self, DataRetrievalId):
|
|
10757
|
+
self._DataRetrievalId = DataRetrievalId
|
|
10758
|
+
|
|
10759
|
+
|
|
10760
|
+
def _deserialize(self, params):
|
|
10761
|
+
self._DataRetrievalId = params.get("DataRetrievalId")
|
|
10762
|
+
memeber_set = set(params.keys())
|
|
10763
|
+
for name, value in vars(self).items():
|
|
10764
|
+
property_name = name[1:]
|
|
10765
|
+
if property_name in memeber_set:
|
|
10766
|
+
memeber_set.remove(property_name)
|
|
10767
|
+
if len(memeber_set) > 0:
|
|
10768
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10769
|
+
|
|
10770
|
+
|
|
10726
10771
|
|
|
10727
10772
|
class RunDataRetrievalTaskResponse(AbstractModel):
|
|
10728
10773
|
r"""RunDataRetrievalTask返回参数结构体
|
|
@@ -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.142
|
|
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.142
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.142
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|