tencentcloud-sdk-python-cfs 3.1.148__tar.gz → 3.1.160__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.148 → tencentcloud_sdk_python_cfs-3.1.160}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/setup.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/cfs/v20190719/cfs_client.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/cfs/v20190719/cfs_client_async.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/cfs/v20190719/models.py +124 -142
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfs-3.1.160/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfs-3.1.148/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/README.rst +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.148 → tencentcloud_sdk_python_cfs-3.1.160}/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.160
|
|
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.160
|
|
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.160,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfs SDK for Python',
|
|
@@ -1207,7 +1207,7 @@ class CfsClient(AbstractClient):
|
|
|
1207
1207
|
|
|
1208
1208
|
|
|
1209
1209
|
def SetUserQuota(self, request):
|
|
1210
|
-
r"""设置文件系统配额,提供UID/GID
|
|
1210
|
+
r"""设置文件系统配额,提供UID/GID的配额设置的接口(仅指定版本的Turbo实例能使用,若调用失败请提交工单与我们联系)
|
|
1211
1211
|
|
|
1212
1212
|
:param request: Request instance for SetUserQuota.
|
|
1213
1213
|
:type request: :class:`tencentcloud.cfs.v20190719.models.SetUserQuotaRequest`
|
|
@@ -956,7 +956,7 @@ class CfsClient(AbstractClient):
|
|
|
956
956
|
opts: Dict = None,
|
|
957
957
|
) -> models.SetUserQuotaResponse:
|
|
958
958
|
"""
|
|
959
|
-
设置文件系统配额,提供UID/GID
|
|
959
|
+
设置文件系统配额,提供UID/GID的配额设置的接口(仅指定版本的Turbo实例能使用,若调用失败请提交工单与我们联系)
|
|
960
960
|
"""
|
|
961
961
|
|
|
962
962
|
kwargs = {}
|
|
@@ -25,9 +25,9 @@ class ApplyPathLifecyclePolicyRequest(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _LifecyclePolicyID:
|
|
28
|
+
:param _LifecyclePolicyID: <p>生命周期管理策略ID</p>
|
|
29
29
|
:type LifecyclePolicyID: str
|
|
30
|
-
:param _Paths:
|
|
30
|
+
:param _Paths: <p>生命周期管理策略所关联的目录路径列表,每个路径必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。</p><p>示例:</p><ul><li>若挂载的是CFS根目录 /,需关联挂载路径下的 test1/test2,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需关联挂载路径下的 test1/test2,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
31
31
|
:type Paths: list of PathInfo
|
|
32
32
|
"""
|
|
33
33
|
self._LifecyclePolicyID = None
|
|
@@ -35,7 +35,7 @@ class ApplyPathLifecyclePolicyRequest(AbstractModel):
|
|
|
35
35
|
|
|
36
36
|
@property
|
|
37
37
|
def LifecyclePolicyID(self):
|
|
38
|
-
r"""
|
|
38
|
+
r"""<p>生命周期管理策略ID</p>
|
|
39
39
|
:rtype: str
|
|
40
40
|
"""
|
|
41
41
|
return self._LifecyclePolicyID
|
|
@@ -46,7 +46,7 @@ class ApplyPathLifecyclePolicyRequest(AbstractModel):
|
|
|
46
46
|
|
|
47
47
|
@property
|
|
48
48
|
def Paths(self):
|
|
49
|
-
r"""
|
|
49
|
+
r"""<p>生命周期管理策略所关联的目录路径列表,每个路径必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。</p><p>示例:</p><ul><li>若挂载的是CFS根目录 /,需关联挂载路径下的 test1/test2,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需关联挂载路径下的 test1/test2,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
50
50
|
:rtype: list of PathInfo
|
|
51
51
|
"""
|
|
52
52
|
return self._Paths
|
|
@@ -81,7 +81,7 @@ class ApplyPathLifecyclePolicyResponse(AbstractModel):
|
|
|
81
81
|
|
|
82
82
|
def __init__(self):
|
|
83
83
|
r"""
|
|
84
|
-
:param _CheckResults:
|
|
84
|
+
:param _CheckResults: <p>有规则冲突时返回的已有冲突规则信息</p>
|
|
85
85
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
86
86
|
:type CheckResults: list of CheckResult
|
|
87
87
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -92,7 +92,7 @@ class ApplyPathLifecyclePolicyResponse(AbstractModel):
|
|
|
92
92
|
|
|
93
93
|
@property
|
|
94
94
|
def CheckResults(self):
|
|
95
|
-
r"""
|
|
95
|
+
r"""<p>有规则冲突时返回的已有冲突规则信息</p>
|
|
96
96
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
97
97
|
:rtype: list of CheckResult
|
|
98
98
|
"""
|
|
@@ -2293,31 +2293,31 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2293
2293
|
|
|
2294
2294
|
def __init__(self):
|
|
2295
2295
|
r"""
|
|
2296
|
-
:param _FileSystemId:
|
|
2296
|
+
:param _FileSystemId: <p>文件系统 ID ,通过查询文件系统 <a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a> 获取</p>
|
|
2297
2297
|
:type FileSystemId: str
|
|
2298
|
-
:param _SourceStorageType:
|
|
2298
|
+
:param _SourceStorageType: <p>源端数据类型;包含S3_COS,S3_L5</p>
|
|
2299
2299
|
:type SourceStorageType: str
|
|
2300
|
-
:param _SourceStorageAddress:
|
|
2300
|
+
:param _SourceStorageAddress: <p>源端存储地址</p>
|
|
2301
2301
|
:type SourceStorageAddress: str
|
|
2302
|
-
:param _SourcePath:
|
|
2302
|
+
:param _SourcePath: <p>源端路径</p>
|
|
2303
2303
|
:type SourcePath: str
|
|
2304
|
-
:param _TargetPath:
|
|
2304
|
+
:param _TargetPath: <p>设置数据流动时指定的文件系统内目标路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
2305
2305
|
:type TargetPath: str
|
|
2306
|
-
:param _SecretId:
|
|
2306
|
+
:param _SecretId: <p>密钥 ID</p>
|
|
2307
2307
|
:type SecretId: str
|
|
2308
|
-
:param _SecretKey:
|
|
2308
|
+
:param _SecretKey: <p>密钥 key</p>
|
|
2309
2309
|
:type SecretKey: str
|
|
2310
|
-
:param _DataFlowName:
|
|
2310
|
+
:param _DataFlowName: <p>数据流动名称;支持不超过64字符长度,支持中文、数字、_、-</p>
|
|
2311
2311
|
:type DataFlowName: str
|
|
2312
|
-
:param _AutoRefresh:
|
|
2312
|
+
:param _AutoRefresh: <p>0:不开启自动更新 1:开启自动更新</p>
|
|
2313
2313
|
:type AutoRefresh: int
|
|
2314
|
-
:param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic
|
|
2314
|
+
:param _UserKafkaTopic: <p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
2315
2315
|
:type UserKafkaTopic: str
|
|
2316
|
-
:param _ServerAddr:
|
|
2316
|
+
:param _ServerAddr: <p>服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095</p>
|
|
2317
2317
|
:type ServerAddr: str
|
|
2318
|
-
:param _UserName: Kafka消费用户名.示例值:name
|
|
2318
|
+
:param _UserName: <p>Kafka消费用户名.示例值:name</p>
|
|
2319
2319
|
:type UserName: str
|
|
2320
|
-
:param _Password: Kafka消费用户密码。默认${SecretId}#${SecretKey}
|
|
2320
|
+
:param _Password: <p>Kafka消费用户密码。默认${SecretId}#${SecretKey}。</p>
|
|
2321
2321
|
:type Password: str
|
|
2322
2322
|
"""
|
|
2323
2323
|
self._FileSystemId = None
|
|
@@ -2336,7 +2336,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2336
2336
|
|
|
2337
2337
|
@property
|
|
2338
2338
|
def FileSystemId(self):
|
|
2339
|
-
r"""
|
|
2339
|
+
r"""<p>文件系统 ID ,通过查询文件系统 <a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a> 获取</p>
|
|
2340
2340
|
:rtype: str
|
|
2341
2341
|
"""
|
|
2342
2342
|
return self._FileSystemId
|
|
@@ -2347,7 +2347,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2347
2347
|
|
|
2348
2348
|
@property
|
|
2349
2349
|
def SourceStorageType(self):
|
|
2350
|
-
r"""
|
|
2350
|
+
r"""<p>源端数据类型;包含S3_COS,S3_L5</p>
|
|
2351
2351
|
:rtype: str
|
|
2352
2352
|
"""
|
|
2353
2353
|
return self._SourceStorageType
|
|
@@ -2358,7 +2358,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2358
2358
|
|
|
2359
2359
|
@property
|
|
2360
2360
|
def SourceStorageAddress(self):
|
|
2361
|
-
r"""
|
|
2361
|
+
r"""<p>源端存储地址</p>
|
|
2362
2362
|
:rtype: str
|
|
2363
2363
|
"""
|
|
2364
2364
|
return self._SourceStorageAddress
|
|
@@ -2369,7 +2369,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2369
2369
|
|
|
2370
2370
|
@property
|
|
2371
2371
|
def SourcePath(self):
|
|
2372
|
-
r"""
|
|
2372
|
+
r"""<p>源端路径</p>
|
|
2373
2373
|
:rtype: str
|
|
2374
2374
|
"""
|
|
2375
2375
|
return self._SourcePath
|
|
@@ -2380,7 +2380,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2380
2380
|
|
|
2381
2381
|
@property
|
|
2382
2382
|
def TargetPath(self):
|
|
2383
|
-
r"""
|
|
2383
|
+
r"""<p>设置数据流动时指定的文件系统内目标路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
2384
2384
|
:rtype: str
|
|
2385
2385
|
"""
|
|
2386
2386
|
return self._TargetPath
|
|
@@ -2391,7 +2391,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2391
2391
|
|
|
2392
2392
|
@property
|
|
2393
2393
|
def SecretId(self):
|
|
2394
|
-
r"""
|
|
2394
|
+
r"""<p>密钥 ID</p>
|
|
2395
2395
|
:rtype: str
|
|
2396
2396
|
"""
|
|
2397
2397
|
return self._SecretId
|
|
@@ -2402,7 +2402,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2402
2402
|
|
|
2403
2403
|
@property
|
|
2404
2404
|
def SecretKey(self):
|
|
2405
|
-
r"""
|
|
2405
|
+
r"""<p>密钥 key</p>
|
|
2406
2406
|
:rtype: str
|
|
2407
2407
|
"""
|
|
2408
2408
|
return self._SecretKey
|
|
@@ -2413,7 +2413,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2413
2413
|
|
|
2414
2414
|
@property
|
|
2415
2415
|
def DataFlowName(self):
|
|
2416
|
-
r"""
|
|
2416
|
+
r"""<p>数据流动名称;支持不超过64字符长度,支持中文、数字、_、-</p>
|
|
2417
2417
|
:rtype: str
|
|
2418
2418
|
"""
|
|
2419
2419
|
return self._DataFlowName
|
|
@@ -2424,7 +2424,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2424
2424
|
|
|
2425
2425
|
@property
|
|
2426
2426
|
def AutoRefresh(self):
|
|
2427
|
-
r"""
|
|
2427
|
+
r"""<p>0:不开启自动更新 1:开启自动更新</p>
|
|
2428
2428
|
:rtype: int
|
|
2429
2429
|
"""
|
|
2430
2430
|
return self._AutoRefresh
|
|
@@ -2435,7 +2435,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2435
2435
|
|
|
2436
2436
|
@property
|
|
2437
2437
|
def UserKafkaTopic(self):
|
|
2438
|
-
r"""KafkaConsumer 消费时使用的Topic
|
|
2438
|
+
r"""<p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
2439
2439
|
:rtype: str
|
|
2440
2440
|
"""
|
|
2441
2441
|
return self._UserKafkaTopic
|
|
@@ -2446,7 +2446,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2446
2446
|
|
|
2447
2447
|
@property
|
|
2448
2448
|
def ServerAddr(self):
|
|
2449
|
-
r"""
|
|
2449
|
+
r"""<p>服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095</p>
|
|
2450
2450
|
:rtype: str
|
|
2451
2451
|
"""
|
|
2452
2452
|
return self._ServerAddr
|
|
@@ -2457,7 +2457,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2457
2457
|
|
|
2458
2458
|
@property
|
|
2459
2459
|
def UserName(self):
|
|
2460
|
-
r"""Kafka消费用户名.示例值:name
|
|
2460
|
+
r"""<p>Kafka消费用户名.示例值:name</p>
|
|
2461
2461
|
:rtype: str
|
|
2462
2462
|
"""
|
|
2463
2463
|
return self._UserName
|
|
@@ -2468,7 +2468,7 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2468
2468
|
|
|
2469
2469
|
@property
|
|
2470
2470
|
def Password(self):
|
|
2471
|
-
r"""Kafka消费用户密码。默认${SecretId}#${SecretKey}
|
|
2471
|
+
r"""<p>Kafka消费用户密码。默认${SecretId}#${SecretKey}。</p>
|
|
2472
2472
|
:rtype: str
|
|
2473
2473
|
"""
|
|
2474
2474
|
return self._Password
|
|
@@ -2509,7 +2509,7 @@ class CreateDataFlowResponse(AbstractModel):
|
|
|
2509
2509
|
|
|
2510
2510
|
def __init__(self):
|
|
2511
2511
|
r"""
|
|
2512
|
-
:param _DataFlowId:
|
|
2512
|
+
:param _DataFlowId: <p>数据流动管理 ID</p>
|
|
2513
2513
|
:type DataFlowId: str
|
|
2514
2514
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2515
2515
|
:type RequestId: str
|
|
@@ -2519,7 +2519,7 @@ class CreateDataFlowResponse(AbstractModel):
|
|
|
2519
2519
|
|
|
2520
2520
|
@property
|
|
2521
2521
|
def DataFlowId(self):
|
|
2522
|
-
r"""
|
|
2522
|
+
r"""<p>数据流动管理 ID</p>
|
|
2523
2523
|
:rtype: str
|
|
2524
2524
|
"""
|
|
2525
2525
|
return self._DataFlowId
|
|
@@ -2733,7 +2733,7 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2733
2733
|
:type DataFlowId: str
|
|
2734
2734
|
:param _IsOverwrite: <p>当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。 ture:覆盖 false:不覆盖(同时也不会释放热存数据) 为空时,默认为false</p>
|
|
2735
2735
|
:type IsOverwrite: bool
|
|
2736
|
-
:param _ListPath: <p
|
|
2736
|
+
:param _ListPath: <p>数据清单文件路径,清单文件内每行为待处理文件的完整路径。所有路径(包括清单文件路径、清单文件内每行表示的待处理文件的路径)必须以 /cfs 开头,指向CFS文件系统内已存在的文件,与 TaskPath 参数二选一填写。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/lists/archive_list.txt</li><li>若挂载的是CFS子目录 /subdir,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/subdir/lists/archive_list.txt</li></ul>
|
|
2737
2737
|
:type ListPath: str
|
|
2738
2738
|
"""
|
|
2739
2739
|
self._FileSystemId = None
|
|
@@ -2812,7 +2812,7 @@ class CreateLifecycleDataTaskRequest(AbstractModel):
|
|
|
2812
2812
|
|
|
2813
2813
|
@property
|
|
2814
2814
|
def ListPath(self):
|
|
2815
|
-
r"""<p
|
|
2815
|
+
r"""<p>数据清单文件路径,清单文件内每行为待处理文件的完整路径。所有路径(包括清单文件路径、清单文件内每行表示的待处理文件的路径)必须以 /cfs 开头,指向CFS文件系统内已存在的文件,与 TaskPath 参数二选一填写。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/lists/archive_list.txt</li><li>若挂载的是CFS子目录 /subdir,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/subdir/lists/archive_list.txt</li></ul>
|
|
2816
2816
|
:rtype: str
|
|
2817
2817
|
"""
|
|
2818
2818
|
return self._ListPath
|
|
@@ -3095,7 +3095,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3095
3095
|
:type SrcSecretKey: str
|
|
3096
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: <p
|
|
3098
|
+
:param _FsPath: <p>文件系统内目录路径,不涉及实际挂载子目录/根目录,无需以/cfs/作为前缀</p>
|
|
3099
3099
|
:type FsPath: str
|
|
3100
3100
|
:param _CoverType: <p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
3101
3101
|
:type CoverType: int
|
|
@@ -3201,7 +3201,7 @@ class CreateMigrationTaskRequest(AbstractModel):
|
|
|
3201
3201
|
|
|
3202
3202
|
@property
|
|
3203
3203
|
def FsPath(self):
|
|
3204
|
-
r"""<p
|
|
3204
|
+
r"""<p>文件系统内目录路径,不涉及实际挂载子目录/根目录,无需以/cfs/作为前缀</p>
|
|
3205
3205
|
:rtype: str
|
|
3206
3206
|
"""
|
|
3207
3207
|
return self._FsPath
|
|
@@ -3387,42 +3387,35 @@ class DataFlowInfo(AbstractModel):
|
|
|
3387
3387
|
|
|
3388
3388
|
def __init__(self):
|
|
3389
3389
|
r"""
|
|
3390
|
-
:param _DataFlowId:
|
|
3390
|
+
:param _DataFlowId: <p>数据流动管理 ID</p>
|
|
3391
3391
|
:type DataFlowId: str
|
|
3392
|
-
:param _DataFlowName:
|
|
3392
|
+
:param _DataFlowName: <p>数据流动名称</p>
|
|
3393
3393
|
:type DataFlowName: str
|
|
3394
|
-
:param _SourceStorageType:
|
|
3394
|
+
:param _SourceStorageType: <p>源端数据类型</p>
|
|
3395
3395
|
:type SourceStorageType: str
|
|
3396
|
-
:param _SourceStorageAddress:
|
|
3396
|
+
:param _SourceStorageAddress: <p>源端存储地址</p>
|
|
3397
3397
|
:type SourceStorageAddress: str
|
|
3398
|
-
:param _SourcePath:
|
|
3398
|
+
:param _SourcePath: <p>源端路径</p>
|
|
3399
3399
|
:type SourcePath: str
|
|
3400
|
-
:param _TargetPath:
|
|
3400
|
+
:param _TargetPath: <p>设置数据流动时指定的文件系统内目标路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
3401
3401
|
:type TargetPath: str
|
|
3402
|
-
:param _Status: available
|
|
3403
|
-
pending:配置中
|
|
3404
|
-
unavailable:失效
|
|
3405
|
-
deleting:删除中
|
|
3402
|
+
:param _Status: <p>available:已生效<br>pending:配置中<br>unavailable:失效<br>deleting:删除中</p>
|
|
3406
3403
|
:type Status: str
|
|
3407
|
-
:param _CreationTime:
|
|
3404
|
+
:param _CreationTime: <p>创建时间</p>
|
|
3408
3405
|
:type CreationTime: str
|
|
3409
|
-
:param _FileSystemId:
|
|
3406
|
+
:param _FileSystemId: <p>文件系统 ID</p>
|
|
3410
3407
|
:type FileSystemId: str
|
|
3411
|
-
:param _AutoRefresh: 0
|
|
3412
|
-
|
|
3413
|
-
1:开启自动更新
|
|
3408
|
+
:param _AutoRefresh: <p>0:不开启自动更新</p><p>1:开启自动更新</p>
|
|
3414
3409
|
:type AutoRefresh: int
|
|
3415
|
-
:param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic
|
|
3410
|
+
:param _UserKafkaTopic: <p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
3416
3411
|
:type UserKafkaTopic: str
|
|
3417
|
-
:param _ServerAddr:
|
|
3412
|
+
:param _ServerAddr: <p>服务地址</p>
|
|
3418
3413
|
:type ServerAddr: str
|
|
3419
|
-
:param _UserName: Kafka
|
|
3414
|
+
:param _UserName: <p>Kafka消费用户名</p>
|
|
3420
3415
|
:type UserName: str
|
|
3421
|
-
:param _AutoRefreshStatus:
|
|
3422
|
-
pending:配置中
|
|
3423
|
-
unavailable:失效
|
|
3416
|
+
:param _AutoRefreshStatus: <p>自动刷新的状态,available:已生效<br>pending:配置中<br>unavailable:失效</p>
|
|
3424
3417
|
:type AutoRefreshStatus: str
|
|
3425
|
-
:param _AutoRefreshTime:
|
|
3418
|
+
:param _AutoRefreshTime: <p>自动刷新开启时间</p>
|
|
3426
3419
|
:type AutoRefreshTime: str
|
|
3427
3420
|
"""
|
|
3428
3421
|
self._DataFlowId = None
|
|
@@ -3443,7 +3436,7 @@ unavailable:失效
|
|
|
3443
3436
|
|
|
3444
3437
|
@property
|
|
3445
3438
|
def DataFlowId(self):
|
|
3446
|
-
r"""
|
|
3439
|
+
r"""<p>数据流动管理 ID</p>
|
|
3447
3440
|
:rtype: str
|
|
3448
3441
|
"""
|
|
3449
3442
|
return self._DataFlowId
|
|
@@ -3454,7 +3447,7 @@ unavailable:失效
|
|
|
3454
3447
|
|
|
3455
3448
|
@property
|
|
3456
3449
|
def DataFlowName(self):
|
|
3457
|
-
r"""
|
|
3450
|
+
r"""<p>数据流动名称</p>
|
|
3458
3451
|
:rtype: str
|
|
3459
3452
|
"""
|
|
3460
3453
|
return self._DataFlowName
|
|
@@ -3465,7 +3458,7 @@ unavailable:失效
|
|
|
3465
3458
|
|
|
3466
3459
|
@property
|
|
3467
3460
|
def SourceStorageType(self):
|
|
3468
|
-
r"""
|
|
3461
|
+
r"""<p>源端数据类型</p>
|
|
3469
3462
|
:rtype: str
|
|
3470
3463
|
"""
|
|
3471
3464
|
return self._SourceStorageType
|
|
@@ -3476,7 +3469,7 @@ unavailable:失效
|
|
|
3476
3469
|
|
|
3477
3470
|
@property
|
|
3478
3471
|
def SourceStorageAddress(self):
|
|
3479
|
-
r"""
|
|
3472
|
+
r"""<p>源端存储地址</p>
|
|
3480
3473
|
:rtype: str
|
|
3481
3474
|
"""
|
|
3482
3475
|
return self._SourceStorageAddress
|
|
@@ -3487,7 +3480,7 @@ unavailable:失效
|
|
|
3487
3480
|
|
|
3488
3481
|
@property
|
|
3489
3482
|
def SourcePath(self):
|
|
3490
|
-
r"""
|
|
3483
|
+
r"""<p>源端路径</p>
|
|
3491
3484
|
:rtype: str
|
|
3492
3485
|
"""
|
|
3493
3486
|
return self._SourcePath
|
|
@@ -3498,7 +3491,7 @@ unavailable:失效
|
|
|
3498
3491
|
|
|
3499
3492
|
@property
|
|
3500
3493
|
def TargetPath(self):
|
|
3501
|
-
r"""
|
|
3494
|
+
r"""<p>设置数据流动时指定的文件系统内目标路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需将对象存储上的源端目录与挂载路径下的 test1/test2 建立映射关系,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
3502
3495
|
:rtype: str
|
|
3503
3496
|
"""
|
|
3504
3497
|
return self._TargetPath
|
|
@@ -3509,10 +3502,7 @@ unavailable:失效
|
|
|
3509
3502
|
|
|
3510
3503
|
@property
|
|
3511
3504
|
def Status(self):
|
|
3512
|
-
r"""available
|
|
3513
|
-
pending:配置中
|
|
3514
|
-
unavailable:失效
|
|
3515
|
-
deleting:删除中
|
|
3505
|
+
r"""<p>available:已生效<br>pending:配置中<br>unavailable:失效<br>deleting:删除中</p>
|
|
3516
3506
|
:rtype: str
|
|
3517
3507
|
"""
|
|
3518
3508
|
return self._Status
|
|
@@ -3523,7 +3513,7 @@ deleting:删除中
|
|
|
3523
3513
|
|
|
3524
3514
|
@property
|
|
3525
3515
|
def CreationTime(self):
|
|
3526
|
-
r"""
|
|
3516
|
+
r"""<p>创建时间</p>
|
|
3527
3517
|
:rtype: str
|
|
3528
3518
|
"""
|
|
3529
3519
|
return self._CreationTime
|
|
@@ -3534,7 +3524,7 @@ deleting:删除中
|
|
|
3534
3524
|
|
|
3535
3525
|
@property
|
|
3536
3526
|
def FileSystemId(self):
|
|
3537
|
-
r"""
|
|
3527
|
+
r"""<p>文件系统 ID</p>
|
|
3538
3528
|
:rtype: str
|
|
3539
3529
|
"""
|
|
3540
3530
|
return self._FileSystemId
|
|
@@ -3545,9 +3535,7 @@ deleting:删除中
|
|
|
3545
3535
|
|
|
3546
3536
|
@property
|
|
3547
3537
|
def AutoRefresh(self):
|
|
3548
|
-
r"""0
|
|
3549
|
-
|
|
3550
|
-
1:开启自动更新
|
|
3538
|
+
r"""<p>0:不开启自动更新</p><p>1:开启自动更新</p>
|
|
3551
3539
|
:rtype: int
|
|
3552
3540
|
"""
|
|
3553
3541
|
return self._AutoRefresh
|
|
@@ -3558,7 +3546,7 @@ deleting:删除中
|
|
|
3558
3546
|
|
|
3559
3547
|
@property
|
|
3560
3548
|
def UserKafkaTopic(self):
|
|
3561
|
-
r"""KafkaConsumer 消费时使用的Topic
|
|
3549
|
+
r"""<p>KafkaConsumer 消费时使用的Topic参数</p>
|
|
3562
3550
|
:rtype: str
|
|
3563
3551
|
"""
|
|
3564
3552
|
return self._UserKafkaTopic
|
|
@@ -3569,7 +3557,7 @@ deleting:删除中
|
|
|
3569
3557
|
|
|
3570
3558
|
@property
|
|
3571
3559
|
def ServerAddr(self):
|
|
3572
|
-
r"""
|
|
3560
|
+
r"""<p>服务地址</p>
|
|
3573
3561
|
:rtype: str
|
|
3574
3562
|
"""
|
|
3575
3563
|
return self._ServerAddr
|
|
@@ -3580,7 +3568,7 @@ deleting:删除中
|
|
|
3580
3568
|
|
|
3581
3569
|
@property
|
|
3582
3570
|
def UserName(self):
|
|
3583
|
-
r"""Kafka
|
|
3571
|
+
r"""<p>Kafka消费用户名</p>
|
|
3584
3572
|
:rtype: str
|
|
3585
3573
|
"""
|
|
3586
3574
|
return self._UserName
|
|
@@ -3591,9 +3579,7 @@ deleting:删除中
|
|
|
3591
3579
|
|
|
3592
3580
|
@property
|
|
3593
3581
|
def AutoRefreshStatus(self):
|
|
3594
|
-
r"""
|
|
3595
|
-
pending:配置中
|
|
3596
|
-
unavailable:失效
|
|
3582
|
+
r"""<p>自动刷新的状态,available:已生效<br>pending:配置中<br>unavailable:失效</p>
|
|
3597
3583
|
:rtype: str
|
|
3598
3584
|
"""
|
|
3599
3585
|
return self._AutoRefreshStatus
|
|
@@ -3604,7 +3590,7 @@ unavailable:失效
|
|
|
3604
3590
|
|
|
3605
3591
|
@property
|
|
3606
3592
|
def AutoRefreshTime(self):
|
|
3607
|
-
r"""
|
|
3593
|
+
r"""<p>自动刷新开启时间</p>
|
|
3608
3594
|
:rtype: str
|
|
3609
3595
|
"""
|
|
3610
3596
|
return self._AutoRefreshTime
|
|
@@ -4732,13 +4718,13 @@ class DeleteUserQuotaRequest(AbstractModel):
|
|
|
4732
4718
|
|
|
4733
4719
|
def __init__(self):
|
|
4734
4720
|
r"""
|
|
4735
|
-
:param _FileSystemId:
|
|
4721
|
+
:param _FileSystemId: <p>文件系统ID,通过查询文件系统列表获取;<a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a></p>
|
|
4736
4722
|
:type FileSystemId: str
|
|
4737
|
-
:param _UserType:
|
|
4723
|
+
:param _UserType: <p>指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)</p>
|
|
4738
4724
|
:type UserType: str
|
|
4739
|
-
:param _UserId: UID/GID信息,和DirectoryPath
|
|
4725
|
+
:param _UserId: <p>UID/GID信息,和DirectoryPath参数,两者必须填写一个</p>
|
|
4740
4726
|
:type UserId: str
|
|
4741
|
-
:param _DirectoryPath:
|
|
4727
|
+
:param _DirectoryPath: <p>需删除配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。该参数与 UserId 参数至少填写一个。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需删除挂载路径下 test1/test2 的配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需删除挂载路径下 test1/test2 的配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
4742
4728
|
:type DirectoryPath: str
|
|
4743
4729
|
"""
|
|
4744
4730
|
self._FileSystemId = None
|
|
@@ -4748,7 +4734,7 @@ class DeleteUserQuotaRequest(AbstractModel):
|
|
|
4748
4734
|
|
|
4749
4735
|
@property
|
|
4750
4736
|
def FileSystemId(self):
|
|
4751
|
-
r"""
|
|
4737
|
+
r"""<p>文件系统ID,通过查询文件系统列表获取;<a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a></p>
|
|
4752
4738
|
:rtype: str
|
|
4753
4739
|
"""
|
|
4754
4740
|
return self._FileSystemId
|
|
@@ -4759,7 +4745,7 @@ class DeleteUserQuotaRequest(AbstractModel):
|
|
|
4759
4745
|
|
|
4760
4746
|
@property
|
|
4761
4747
|
def UserType(self):
|
|
4762
|
-
r"""
|
|
4748
|
+
r"""<p>指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)</p>
|
|
4763
4749
|
:rtype: str
|
|
4764
4750
|
"""
|
|
4765
4751
|
return self._UserType
|
|
@@ -4770,7 +4756,7 @@ class DeleteUserQuotaRequest(AbstractModel):
|
|
|
4770
4756
|
|
|
4771
4757
|
@property
|
|
4772
4758
|
def UserId(self):
|
|
4773
|
-
r"""UID/GID信息,和DirectoryPath
|
|
4759
|
+
r"""<p>UID/GID信息,和DirectoryPath参数,两者必须填写一个</p>
|
|
4774
4760
|
:rtype: str
|
|
4775
4761
|
"""
|
|
4776
4762
|
return self._UserId
|
|
@@ -4781,7 +4767,7 @@ class DeleteUserQuotaRequest(AbstractModel):
|
|
|
4781
4767
|
|
|
4782
4768
|
@property
|
|
4783
4769
|
def DirectoryPath(self):
|
|
4784
|
-
r"""
|
|
4770
|
+
r"""<p>需删除配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。该参数与 UserId 参数至少填写一个。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需删除挂载路径下 test1/test2 的配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需删除挂载路径下 test1/test2 的配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
4785
4771
|
:rtype: str
|
|
4786
4772
|
"""
|
|
4787
4773
|
return self._DirectoryPath
|
|
@@ -7340,17 +7326,15 @@ class DoDirectoryOperationRequest(AbstractModel):
|
|
|
7340
7326
|
|
|
7341
7327
|
def __init__(self):
|
|
7342
7328
|
r"""
|
|
7343
|
-
:param _FileSystemId:
|
|
7329
|
+
:param _FileSystemId: <p>文件系统 ID。当前仅 Turbo 系列文件系统支持调用此接口,通用系列文件系统(含增强型)不支持调用。</p>
|
|
7344
7330
|
:type FileSystemId: str
|
|
7345
|
-
:param _OpetationType: create:创建目录,等同于mkdir
|
|
7346
|
-
check:确认目录是否存在,等同于stat。
|
|
7347
|
-
move:对文件/目录进行重命名,等同于mv。
|
|
7331
|
+
:param _OpetationType: <p>create:创建目录,等同于mkdir。<br>check:确认目录是否存在,等同于stat。<br>move:对文件/目录进行重命名,等同于mv。</p>
|
|
7348
7332
|
:type OpetationType: str
|
|
7349
|
-
:param _DirectoryPath:
|
|
7333
|
+
:param _DirectoryPath: <p>系统会默认递归创建路径中的所有父级目录。路径必须从 /cfs/ 开始,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li><p>若操作为 create/check</p><ul><li>若挂载的是CFS根目录 /,需在挂载路径下创建/检查是否存在 test1/test2,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需在挂载路径下创建/检查是否存在 test1/test2,则入参值为 /cfs/subdir/test1/test2</li></ul></li><li><p>若操作为 move</p><ul><li>若挂载的是CFS根目录 /,需在挂载路径下移动 test1/test2 下的文件到 DestPath,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需在挂载路径下挂载路径下移动 test1/test2 下的文件到 DestPath,则入参值为 /cfs/subdir/test1/test2</li></ul></li></ul>
|
|
7350
7334
|
:type DirectoryPath: str
|
|
7351
|
-
:param _Mode:
|
|
7335
|
+
:param _Mode: <p>创建目录的权限,若不传,默认为0755。若OperationType为 check,此值无实际意义。</p>
|
|
7352
7336
|
:type Mode: str
|
|
7353
|
-
:param _DestPath: mv
|
|
7337
|
+
:param _DestPath: <p>mv 操作的目标目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需将 DirectoryPath 下的文件移动到挂载路径下的 test3/test4,则入参值为 /cfs/test3/test4</li><li>若挂载的是CFS子目录 /subdir,需将 DirectoryPath 下的文件移动到挂载路径下的 test3/test4,则入参值为 /cfs/subdir/ test3/test4</li></ul>
|
|
7354
7338
|
:type DestPath: str
|
|
7355
7339
|
"""
|
|
7356
7340
|
self._FileSystemId = None
|
|
@@ -7361,7 +7345,7 @@ move:对文件/目录进行重命名,等同于mv。
|
|
|
7361
7345
|
|
|
7362
7346
|
@property
|
|
7363
7347
|
def FileSystemId(self):
|
|
7364
|
-
r"""
|
|
7348
|
+
r"""<p>文件系统 ID。当前仅 Turbo 系列文件系统支持调用此接口,通用系列文件系统(含增强型)不支持调用。</p>
|
|
7365
7349
|
:rtype: str
|
|
7366
7350
|
"""
|
|
7367
7351
|
return self._FileSystemId
|
|
@@ -7372,9 +7356,7 @@ move:对文件/目录进行重命名,等同于mv。
|
|
|
7372
7356
|
|
|
7373
7357
|
@property
|
|
7374
7358
|
def OpetationType(self):
|
|
7375
|
-
r"""create:创建目录,等同于mkdir
|
|
7376
|
-
check:确认目录是否存在,等同于stat。
|
|
7377
|
-
move:对文件/目录进行重命名,等同于mv。
|
|
7359
|
+
r"""<p>create:创建目录,等同于mkdir。<br>check:确认目录是否存在,等同于stat。<br>move:对文件/目录进行重命名,等同于mv。</p>
|
|
7378
7360
|
:rtype: str
|
|
7379
7361
|
"""
|
|
7380
7362
|
return self._OpetationType
|
|
@@ -7385,7 +7367,7 @@ move:对文件/目录进行重命名,等同于mv。
|
|
|
7385
7367
|
|
|
7386
7368
|
@property
|
|
7387
7369
|
def DirectoryPath(self):
|
|
7388
|
-
r"""
|
|
7370
|
+
r"""<p>系统会默认递归创建路径中的所有父级目录。路径必须从 /cfs/ 开始,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li><p>若操作为 create/check</p><ul><li>若挂载的是CFS根目录 /,需在挂载路径下创建/检查是否存在 test1/test2,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需在挂载路径下创建/检查是否存在 test1/test2,则入参值为 /cfs/subdir/test1/test2</li></ul></li><li><p>若操作为 move</p><ul><li>若挂载的是CFS根目录 /,需在挂载路径下移动 test1/test2 下的文件到 DestPath,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需在挂载路径下挂载路径下移动 test1/test2 下的文件到 DestPath,则入参值为 /cfs/subdir/test1/test2</li></ul></li></ul>
|
|
7389
7371
|
:rtype: str
|
|
7390
7372
|
"""
|
|
7391
7373
|
return self._DirectoryPath
|
|
@@ -7396,7 +7378,7 @@ move:对文件/目录进行重命名,等同于mv。
|
|
|
7396
7378
|
|
|
7397
7379
|
@property
|
|
7398
7380
|
def Mode(self):
|
|
7399
|
-
r"""
|
|
7381
|
+
r"""<p>创建目录的权限,若不传,默认为0755。若OperationType为 check,此值无实际意义。</p>
|
|
7400
7382
|
:rtype: str
|
|
7401
7383
|
"""
|
|
7402
7384
|
return self._Mode
|
|
@@ -7407,7 +7389,7 @@ move:对文件/目录进行重命名,等同于mv。
|
|
|
7407
7389
|
|
|
7408
7390
|
@property
|
|
7409
7391
|
def DestPath(self):
|
|
7410
|
-
r"""mv
|
|
7392
|
+
r"""<p>mv 操作的目标目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需将 DirectoryPath 下的文件移动到挂载路径下的 test3/test4,则入参值为 /cfs/test3/test4</li><li>若挂载的是CFS子目录 /subdir,需将 DirectoryPath 下的文件移动到挂载路径下的 test3/test4,则入参值为 /cfs/subdir/ test3/test4</li></ul>
|
|
7411
7393
|
:rtype: str
|
|
7412
7394
|
"""
|
|
7413
7395
|
return self._DestPath
|
|
@@ -7440,7 +7422,7 @@ class DoDirectoryOperationResponse(AbstractModel):
|
|
|
7440
7422
|
|
|
7441
7423
|
def __init__(self):
|
|
7442
7424
|
r"""
|
|
7443
|
-
:param _Result: 1:成功 0:失败。创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0
|
|
7425
|
+
:param _Result: <p>1:成功 0:失败。创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。此外,创建目录操作若目录已存在,也会返回创建成功。</p>
|
|
7444
7426
|
:type Result: int
|
|
7445
7427
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7446
7428
|
:type RequestId: str
|
|
@@ -7450,7 +7432,7 @@ class DoDirectoryOperationResponse(AbstractModel):
|
|
|
7450
7432
|
|
|
7451
7433
|
@property
|
|
7452
7434
|
def Result(self):
|
|
7453
|
-
r"""1:成功 0:失败。创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0
|
|
7435
|
+
r"""<p>1:成功 0:失败。创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。此外,创建目录操作若目录已存在,也会返回创建成功。</p>
|
|
7454
7436
|
:rtype: int
|
|
7455
7437
|
"""
|
|
7456
7438
|
return self._Result
|
|
@@ -8420,7 +8402,7 @@ class LifecycleDataTaskInfo(AbstractModel):
|
|
|
8420
8402
|
:type DataFlowId: str
|
|
8421
8403
|
:param _IsOverwrite: <p>当CFSTurbo内的文件和外置存储存在同名情况时,是否覆盖。</p><p>ture:覆盖</p><p>false:不覆盖(同时也不会释放热存数据)<br>为空时,默认为false</p>
|
|
8422
8404
|
:type IsOverwrite: bool
|
|
8423
|
-
:param _ListPath: <p
|
|
8405
|
+
:param _ListPath: <p>数据清单文件路径,清单文件内每行为待处理文件的完整路径。所有路径(包括清单文件路径、清单文件内每行表示的待处理文件的路径)必须以 /cfs 开头,指向CFS文件系统内已存在的文件,与 TaskPath 参数二选一填写。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/lists/archive_list.txt</li><li>若挂载的是CFS子目录 /subdir,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/subdir/lists/archive_list.txt</li></ul>
|
|
8424
8406
|
:type ListPath: str
|
|
8425
8407
|
"""
|
|
8426
8408
|
self._TaskId = None
|
|
@@ -8655,7 +8637,7 @@ class LifecycleDataTaskInfo(AbstractModel):
|
|
|
8655
8637
|
|
|
8656
8638
|
@property
|
|
8657
8639
|
def ListPath(self):
|
|
8658
|
-
r"""<p
|
|
8640
|
+
r"""<p>数据清单文件路径,清单文件内每行为待处理文件的完整路径。所有路径(包括清单文件路径、清单文件内每行表示的待处理文件的路径)必须以 /cfs 开头,指向CFS文件系统内已存在的文件,与 TaskPath 参数二选一填写。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/lists/archive_list.txt</li><li>若挂载的是CFS子目录 /subdir,清单文件位于挂载路径下的 lists/archive_list.txt,则入参值为 /cfs/subdir/lists/archive_list.txt</li></ul>
|
|
8659
8641
|
:rtype: str
|
|
8660
8642
|
"""
|
|
8661
8643
|
return self._ListPath
|
|
@@ -9057,7 +9039,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9057
9039
|
:type FsName: str
|
|
9058
9040
|
:param _FileSystemId: <p>文件系统实例Id</p>
|
|
9059
9041
|
:type FileSystemId: str
|
|
9060
|
-
:param _FsPath: <p
|
|
9042
|
+
:param _FsPath: <p>文件系统内目录路径,不涉及实际挂载子目录/根目录,无需以/cfs/作为前缀</p>
|
|
9061
9043
|
:type FsPath: str
|
|
9062
9044
|
:param _CoverType: <p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
9063
9045
|
:type CoverType: int
|
|
@@ -9232,7 +9214,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
|
9232
9214
|
|
|
9233
9215
|
@property
|
|
9234
9216
|
def FsPath(self):
|
|
9235
|
-
r"""<p
|
|
9217
|
+
r"""<p>文件系统内目录路径,不涉及实际挂载子目录/根目录,无需以/cfs/作为前缀</p>
|
|
9236
9218
|
:rtype: str
|
|
9237
9219
|
"""
|
|
9238
9220
|
return self._FsPath
|
|
@@ -10954,17 +10936,17 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
10954
10936
|
|
|
10955
10937
|
def __init__(self):
|
|
10956
10938
|
r"""
|
|
10957
|
-
:param _FileSystemId:
|
|
10939
|
+
:param _FileSystemId: <p>文件系统 ID,通过<a href="https://cloud.tencent.com/document/api/582/38170">查询文件系统列表</a>获取</p>
|
|
10958
10940
|
:type FileSystemId: str
|
|
10959
|
-
:param _UserType:
|
|
10941
|
+
:param _UserType: <p>指定配额类型,包括Uid、Gid,Dir,分别代表用户配额,用户组配额,目录配额</p>
|
|
10960
10942
|
:type UserType: str
|
|
10961
|
-
:param _UserId: UID/GID
|
|
10943
|
+
:param _UserId: <p>UID/GID信息</p>
|
|
10962
10944
|
:type UserId: str
|
|
10963
|
-
:param _CapacityHardLimit:
|
|
10945
|
+
:param _CapacityHardLimit: <p>容量硬限制,单位GiB。设置范围10-10000000。</p>
|
|
10964
10946
|
:type CapacityHardLimit: int
|
|
10965
|
-
:param _FileHardLimit:
|
|
10947
|
+
:param _FileHardLimit: <p>文件硬限制,单位个。设置范围1000-100000000</p>
|
|
10966
10948
|
:type FileHardLimit: int
|
|
10967
|
-
:param _DirectoryPath:
|
|
10949
|
+
:param _DirectoryPath: <p>需设置配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。不同目录之间不可存在包含关系。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
10968
10950
|
:type DirectoryPath: str
|
|
10969
10951
|
"""
|
|
10970
10952
|
self._FileSystemId = None
|
|
@@ -10976,7 +10958,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
10976
10958
|
|
|
10977
10959
|
@property
|
|
10978
10960
|
def FileSystemId(self):
|
|
10979
|
-
r"""
|
|
10961
|
+
r"""<p>文件系统 ID,通过<a href="https://cloud.tencent.com/document/api/582/38170">查询文件系统列表</a>获取</p>
|
|
10980
10962
|
:rtype: str
|
|
10981
10963
|
"""
|
|
10982
10964
|
return self._FileSystemId
|
|
@@ -10987,7 +10969,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
10987
10969
|
|
|
10988
10970
|
@property
|
|
10989
10971
|
def UserType(self):
|
|
10990
|
-
r"""
|
|
10972
|
+
r"""<p>指定配额类型,包括Uid、Gid,Dir,分别代表用户配额,用户组配额,目录配额</p>
|
|
10991
10973
|
:rtype: str
|
|
10992
10974
|
"""
|
|
10993
10975
|
return self._UserType
|
|
@@ -10998,7 +10980,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
10998
10980
|
|
|
10999
10981
|
@property
|
|
11000
10982
|
def UserId(self):
|
|
11001
|
-
r"""UID/GID
|
|
10983
|
+
r"""<p>UID/GID信息</p>
|
|
11002
10984
|
:rtype: str
|
|
11003
10985
|
"""
|
|
11004
10986
|
return self._UserId
|
|
@@ -11009,7 +10991,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
11009
10991
|
|
|
11010
10992
|
@property
|
|
11011
10993
|
def CapacityHardLimit(self):
|
|
11012
|
-
r"""
|
|
10994
|
+
r"""<p>容量硬限制,单位GiB。设置范围10-10000000。</p>
|
|
11013
10995
|
:rtype: int
|
|
11014
10996
|
"""
|
|
11015
10997
|
return self._CapacityHardLimit
|
|
@@ -11020,7 +11002,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
11020
11002
|
|
|
11021
11003
|
@property
|
|
11022
11004
|
def FileHardLimit(self):
|
|
11023
|
-
r"""
|
|
11005
|
+
r"""<p>文件硬限制,单位个。设置范围1000-100000000</p>
|
|
11024
11006
|
:rtype: int
|
|
11025
11007
|
"""
|
|
11026
11008
|
return self._FileHardLimit
|
|
@@ -11031,7 +11013,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
11031
11013
|
|
|
11032
11014
|
@property
|
|
11033
11015
|
def DirectoryPath(self):
|
|
11034
|
-
r"""
|
|
11016
|
+
r"""<p>需设置配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。不同目录之间不可存在包含关系。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
11035
11017
|
:rtype: str
|
|
11036
11018
|
"""
|
|
11037
11019
|
return self._DirectoryPath
|
|
@@ -11065,7 +11047,7 @@ class SetUserQuotaResponse(AbstractModel):
|
|
|
11065
11047
|
|
|
11066
11048
|
def __init__(self):
|
|
11067
11049
|
r"""
|
|
11068
|
-
:param _UserId: UID/GID
|
|
11050
|
+
:param _UserId: <p>UID/GID信息</p>
|
|
11069
11051
|
:type UserId: str
|
|
11070
11052
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11071
11053
|
:type RequestId: str
|
|
@@ -11075,7 +11057,7 @@ class SetUserQuotaResponse(AbstractModel):
|
|
|
11075
11057
|
|
|
11076
11058
|
@property
|
|
11077
11059
|
def UserId(self):
|
|
11078
|
-
r"""UID/GID
|
|
11060
|
+
r"""<p>UID/GID信息</p>
|
|
11079
11061
|
:rtype: str
|
|
11080
11062
|
"""
|
|
11081
11063
|
return self._UserId
|
|
@@ -13006,24 +12988,24 @@ class UserQuota(AbstractModel):
|
|
|
13006
12988
|
|
|
13007
12989
|
def __init__(self):
|
|
13008
12990
|
r"""
|
|
13009
|
-
:param _UserType:
|
|
12991
|
+
:param _UserType: <p>指定配额类型,包括Uid、Gid、Dir</p>
|
|
13010
12992
|
:type UserType: str
|
|
13011
|
-
:param _UserId: UID/GID
|
|
12993
|
+
:param _UserId: <p>UID/GID信息</p>
|
|
13012
12994
|
:type UserId: str
|
|
13013
|
-
:param _CapacityHardLimit:
|
|
12995
|
+
:param _CapacityHardLimit: <p>容量硬限制,单位GiB</p>
|
|
13014
12996
|
:type CapacityHardLimit: int
|
|
13015
|
-
:param _FileHardLimit:
|
|
12997
|
+
:param _FileHardLimit: <p>文件硬限制,单位个</p>
|
|
13016
12998
|
:type FileHardLimit: int
|
|
13017
|
-
:param _FileSystemId:
|
|
12999
|
+
:param _FileSystemId: <p>文件系统ID</p>
|
|
13018
13000
|
:type FileSystemId: str
|
|
13019
|
-
:param _CapacityUsed:
|
|
13001
|
+
:param _CapacityUsed: <p>容量使用,单位GiB</p>
|
|
13020
13002
|
:type CapacityUsed: int
|
|
13021
|
-
:param _FileUsed:
|
|
13003
|
+
:param _FileUsed: <p>文件使用个数,单位个</p>
|
|
13022
13004
|
:type FileUsed: int
|
|
13023
|
-
:param _DirectoryPath:
|
|
13005
|
+
:param _DirectoryPath: <p>需设置配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。不同目录之间不可存在包含关系。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
13024
13006
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13025
13007
|
:type DirectoryPath: str
|
|
13026
|
-
:param _Status:
|
|
13008
|
+
:param _Status: <p>配置规则状态,inavailable---配置中,available --已生效,deleting--删除中,deleted 已删除,failed--配置失败</p>
|
|
13027
13009
|
:type Status: str
|
|
13028
13010
|
"""
|
|
13029
13011
|
self._UserType = None
|
|
@@ -13038,7 +13020,7 @@ class UserQuota(AbstractModel):
|
|
|
13038
13020
|
|
|
13039
13021
|
@property
|
|
13040
13022
|
def UserType(self):
|
|
13041
|
-
r"""
|
|
13023
|
+
r"""<p>指定配额类型,包括Uid、Gid、Dir</p>
|
|
13042
13024
|
:rtype: str
|
|
13043
13025
|
"""
|
|
13044
13026
|
return self._UserType
|
|
@@ -13049,7 +13031,7 @@ class UserQuota(AbstractModel):
|
|
|
13049
13031
|
|
|
13050
13032
|
@property
|
|
13051
13033
|
def UserId(self):
|
|
13052
|
-
r"""UID/GID
|
|
13034
|
+
r"""<p>UID/GID信息</p>
|
|
13053
13035
|
:rtype: str
|
|
13054
13036
|
"""
|
|
13055
13037
|
return self._UserId
|
|
@@ -13060,7 +13042,7 @@ class UserQuota(AbstractModel):
|
|
|
13060
13042
|
|
|
13061
13043
|
@property
|
|
13062
13044
|
def CapacityHardLimit(self):
|
|
13063
|
-
r"""
|
|
13045
|
+
r"""<p>容量硬限制,单位GiB</p>
|
|
13064
13046
|
:rtype: int
|
|
13065
13047
|
"""
|
|
13066
13048
|
return self._CapacityHardLimit
|
|
@@ -13071,7 +13053,7 @@ class UserQuota(AbstractModel):
|
|
|
13071
13053
|
|
|
13072
13054
|
@property
|
|
13073
13055
|
def FileHardLimit(self):
|
|
13074
|
-
r"""
|
|
13056
|
+
r"""<p>文件硬限制,单位个</p>
|
|
13075
13057
|
:rtype: int
|
|
13076
13058
|
"""
|
|
13077
13059
|
return self._FileHardLimit
|
|
@@ -13082,7 +13064,7 @@ class UserQuota(AbstractModel):
|
|
|
13082
13064
|
|
|
13083
13065
|
@property
|
|
13084
13066
|
def FileSystemId(self):
|
|
13085
|
-
r"""
|
|
13067
|
+
r"""<p>文件系统ID</p>
|
|
13086
13068
|
:rtype: str
|
|
13087
13069
|
"""
|
|
13088
13070
|
return self._FileSystemId
|
|
@@ -13093,7 +13075,7 @@ class UserQuota(AbstractModel):
|
|
|
13093
13075
|
|
|
13094
13076
|
@property
|
|
13095
13077
|
def CapacityUsed(self):
|
|
13096
|
-
r"""
|
|
13078
|
+
r"""<p>容量使用,单位GiB</p>
|
|
13097
13079
|
:rtype: int
|
|
13098
13080
|
"""
|
|
13099
13081
|
return self._CapacityUsed
|
|
@@ -13104,7 +13086,7 @@ class UserQuota(AbstractModel):
|
|
|
13104
13086
|
|
|
13105
13087
|
@property
|
|
13106
13088
|
def FileUsed(self):
|
|
13107
|
-
r"""
|
|
13089
|
+
r"""<p>文件使用个数,单位个</p>
|
|
13108
13090
|
:rtype: int
|
|
13109
13091
|
"""
|
|
13110
13092
|
return self._FileUsed
|
|
@@ -13115,7 +13097,7 @@ class UserQuota(AbstractModel):
|
|
|
13115
13097
|
|
|
13116
13098
|
@property
|
|
13117
13099
|
def DirectoryPath(self):
|
|
13118
|
-
r"""
|
|
13100
|
+
r"""<p>需设置配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。不同目录之间不可存在包含关系。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
13119
13101
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13120
13102
|
:rtype: str
|
|
13121
13103
|
"""
|
|
@@ -13127,7 +13109,7 @@ class UserQuota(AbstractModel):
|
|
|
13127
13109
|
|
|
13128
13110
|
@property
|
|
13129
13111
|
def Status(self):
|
|
13130
|
-
r"""
|
|
13112
|
+
r"""<p>配置规则状态,inavailable---配置中,available --已生效,deleting--删除中,deleted 已删除,failed--配置失败</p>
|
|
13131
13113
|
:rtype: str
|
|
13132
13114
|
"""
|
|
13133
13115
|
return self._Status
|
|
@@ -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.160
|
|
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.160
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.148
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|