tencentcloud-sdk-python-cfs 3.0.1459__tar.gz → 3.0.1483__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.0.1483/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/setup.py +1 -1
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud/cfs/v20190719/cfs_client.py +1 -25
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud/cfs/v20190719/models.py +171 -85
- tencentcloud_sdk_python_cfs-3.0.1483/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_cfs-3.0.1483/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfs-3.0.1459/PKG-INFO +0 -45
- tencentcloud-sdk-python-cfs-3.0.1459/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cfs-3.0.1459/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/README.rst +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfs-3.0.1459 → tencentcloud_sdk_python_cfs-3.0.1483}/tencentcloud_sdk_python_cfs.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cfs
|
|
3
|
+
Version: 3.0.1483
|
|
4
|
+
Summary: Tencent Cloud Cfs SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1483
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cfs SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cfs
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cfs
|
|
46
|
+
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cfs',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1483,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfs SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -509,30 +509,6 @@ class CfsClient(AbstractClient):
|
|
|
509
509
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
510
510
|
|
|
511
511
|
|
|
512
|
-
def DeleteMountTarget(self, request):
|
|
513
|
-
r"""本接口(DeleteMountTarget)用于删除挂载点
|
|
514
|
-
说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
|
|
515
|
-
|
|
516
|
-
:param request: Request instance for DeleteMountTarget.
|
|
517
|
-
:type request: :class:`tencentcloud.cfs.v20190719.models.DeleteMountTargetRequest`
|
|
518
|
-
:rtype: :class:`tencentcloud.cfs.v20190719.models.DeleteMountTargetResponse`
|
|
519
|
-
|
|
520
|
-
"""
|
|
521
|
-
try:
|
|
522
|
-
params = request._serialize()
|
|
523
|
-
headers = request.headers
|
|
524
|
-
body = self.call("DeleteMountTarget", params, headers=headers)
|
|
525
|
-
response = json.loads(body)
|
|
526
|
-
model = models.DeleteMountTargetResponse()
|
|
527
|
-
model._deserialize(response["Response"])
|
|
528
|
-
return model
|
|
529
|
-
except Exception as e:
|
|
530
|
-
if isinstance(e, TencentCloudSDKException):
|
|
531
|
-
raise
|
|
532
|
-
else:
|
|
533
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
534
|
-
|
|
535
|
-
|
|
536
512
|
def DeleteUserQuota(self, request):
|
|
537
513
|
r"""指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
538
514
|
|
|
@@ -810,7 +786,7 @@ class CfsClient(AbstractClient):
|
|
|
810
786
|
|
|
811
787
|
|
|
812
788
|
def DescribeLifecycleDataTask(self, request):
|
|
813
|
-
r"""
|
|
789
|
+
r"""查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
|
|
814
790
|
|
|
815
791
|
:param request: Request instance for DescribeLifecycleDataTask.
|
|
816
792
|
:type request: :class:`tencentcloud.cfs.v20190719.models.DescribeLifecycleDataTaskRequest`
|
|
@@ -2259,6 +2259,16 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2259
2259
|
:type SecretKey: str
|
|
2260
2260
|
:param _DataFlowName: 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
|
|
2261
2261
|
:type DataFlowName: str
|
|
2262
|
+
:param _AutoRefresh: 0:不开启自动更新 1:开启自动更新
|
|
2263
|
+
:type AutoRefresh: int
|
|
2264
|
+
:param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
|
|
2265
|
+
:type UserKafkaTopic: str
|
|
2266
|
+
:param _ServerAddr: 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
|
|
2267
|
+
:type ServerAddr: str
|
|
2268
|
+
:param _UserName: Kafka消费用户名.示例值:name
|
|
2269
|
+
:type UserName: str
|
|
2270
|
+
:param _Password: Kafka消费用户密码。默认${SecretId}#${SecretKey}。
|
|
2271
|
+
:type Password: str
|
|
2262
2272
|
"""
|
|
2263
2273
|
self._FileSystemId = None
|
|
2264
2274
|
self._SourceStorageType = None
|
|
@@ -2268,6 +2278,11 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2268
2278
|
self._SecretId = None
|
|
2269
2279
|
self._SecretKey = None
|
|
2270
2280
|
self._DataFlowName = None
|
|
2281
|
+
self._AutoRefresh = None
|
|
2282
|
+
self._UserKafkaTopic = None
|
|
2283
|
+
self._ServerAddr = None
|
|
2284
|
+
self._UserName = None
|
|
2285
|
+
self._Password = None
|
|
2271
2286
|
|
|
2272
2287
|
@property
|
|
2273
2288
|
def FileSystemId(self):
|
|
@@ -2357,6 +2372,61 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2357
2372
|
def DataFlowName(self, DataFlowName):
|
|
2358
2373
|
self._DataFlowName = DataFlowName
|
|
2359
2374
|
|
|
2375
|
+
@property
|
|
2376
|
+
def AutoRefresh(self):
|
|
2377
|
+
r""" 0:不开启自动更新 1:开启自动更新
|
|
2378
|
+
:rtype: int
|
|
2379
|
+
"""
|
|
2380
|
+
return self._AutoRefresh
|
|
2381
|
+
|
|
2382
|
+
@AutoRefresh.setter
|
|
2383
|
+
def AutoRefresh(self, AutoRefresh):
|
|
2384
|
+
self._AutoRefresh = AutoRefresh
|
|
2385
|
+
|
|
2386
|
+
@property
|
|
2387
|
+
def UserKafkaTopic(self):
|
|
2388
|
+
r"""KafkaConsumer 消费时使用的Topic参数
|
|
2389
|
+
:rtype: str
|
|
2390
|
+
"""
|
|
2391
|
+
return self._UserKafkaTopic
|
|
2392
|
+
|
|
2393
|
+
@UserKafkaTopic.setter
|
|
2394
|
+
def UserKafkaTopic(self, UserKafkaTopic):
|
|
2395
|
+
self._UserKafkaTopic = UserKafkaTopic
|
|
2396
|
+
|
|
2397
|
+
@property
|
|
2398
|
+
def ServerAddr(self):
|
|
2399
|
+
r""" 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
|
|
2400
|
+
:rtype: str
|
|
2401
|
+
"""
|
|
2402
|
+
return self._ServerAddr
|
|
2403
|
+
|
|
2404
|
+
@ServerAddr.setter
|
|
2405
|
+
def ServerAddr(self, ServerAddr):
|
|
2406
|
+
self._ServerAddr = ServerAddr
|
|
2407
|
+
|
|
2408
|
+
@property
|
|
2409
|
+
def UserName(self):
|
|
2410
|
+
r"""Kafka消费用户名.示例值:name
|
|
2411
|
+
:rtype: str
|
|
2412
|
+
"""
|
|
2413
|
+
return self._UserName
|
|
2414
|
+
|
|
2415
|
+
@UserName.setter
|
|
2416
|
+
def UserName(self, UserName):
|
|
2417
|
+
self._UserName = UserName
|
|
2418
|
+
|
|
2419
|
+
@property
|
|
2420
|
+
def Password(self):
|
|
2421
|
+
r"""Kafka消费用户密码。默认${SecretId}#${SecretKey}。
|
|
2422
|
+
:rtype: str
|
|
2423
|
+
"""
|
|
2424
|
+
return self._Password
|
|
2425
|
+
|
|
2426
|
+
@Password.setter
|
|
2427
|
+
def Password(self, Password):
|
|
2428
|
+
self._Password = Password
|
|
2429
|
+
|
|
2360
2430
|
|
|
2361
2431
|
def _deserialize(self, params):
|
|
2362
2432
|
self._FileSystemId = params.get("FileSystemId")
|
|
@@ -2367,6 +2437,11 @@ class CreateDataFlowRequest(AbstractModel):
|
|
|
2367
2437
|
self._SecretId = params.get("SecretId")
|
|
2368
2438
|
self._SecretKey = params.get("SecretKey")
|
|
2369
2439
|
self._DataFlowName = params.get("DataFlowName")
|
|
2440
|
+
self._AutoRefresh = params.get("AutoRefresh")
|
|
2441
|
+
self._UserKafkaTopic = params.get("UserKafkaTopic")
|
|
2442
|
+
self._ServerAddr = params.get("ServerAddr")
|
|
2443
|
+
self._UserName = params.get("UserName")
|
|
2444
|
+
self._Password = params.get("Password")
|
|
2370
2445
|
memeber_set = set(params.keys())
|
|
2371
2446
|
for name, value in vars(self).items():
|
|
2372
2447
|
property_name = name[1:]
|
|
@@ -3867,85 +3942,6 @@ class DeleteMigrationTaskResponse(AbstractModel):
|
|
|
3867
3942
|
self._RequestId = params.get("RequestId")
|
|
3868
3943
|
|
|
3869
3944
|
|
|
3870
|
-
class DeleteMountTargetRequest(AbstractModel):
|
|
3871
|
-
r"""DeleteMountTarget请求参数结构体
|
|
3872
|
-
|
|
3873
|
-
"""
|
|
3874
|
-
|
|
3875
|
-
def __init__(self):
|
|
3876
|
-
r"""
|
|
3877
|
-
:param _FileSystemId: 文件系统 ID
|
|
3878
|
-
:type FileSystemId: str
|
|
3879
|
-
:param _MountTargetId: 挂载点 ID
|
|
3880
|
-
:type MountTargetId: str
|
|
3881
|
-
"""
|
|
3882
|
-
self._FileSystemId = None
|
|
3883
|
-
self._MountTargetId = None
|
|
3884
|
-
|
|
3885
|
-
@property
|
|
3886
|
-
def FileSystemId(self):
|
|
3887
|
-
r"""文件系统 ID
|
|
3888
|
-
:rtype: str
|
|
3889
|
-
"""
|
|
3890
|
-
return self._FileSystemId
|
|
3891
|
-
|
|
3892
|
-
@FileSystemId.setter
|
|
3893
|
-
def FileSystemId(self, FileSystemId):
|
|
3894
|
-
self._FileSystemId = FileSystemId
|
|
3895
|
-
|
|
3896
|
-
@property
|
|
3897
|
-
def MountTargetId(self):
|
|
3898
|
-
r"""挂载点 ID
|
|
3899
|
-
:rtype: str
|
|
3900
|
-
"""
|
|
3901
|
-
return self._MountTargetId
|
|
3902
|
-
|
|
3903
|
-
@MountTargetId.setter
|
|
3904
|
-
def MountTargetId(self, MountTargetId):
|
|
3905
|
-
self._MountTargetId = MountTargetId
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
def _deserialize(self, params):
|
|
3909
|
-
self._FileSystemId = params.get("FileSystemId")
|
|
3910
|
-
self._MountTargetId = params.get("MountTargetId")
|
|
3911
|
-
memeber_set = set(params.keys())
|
|
3912
|
-
for name, value in vars(self).items():
|
|
3913
|
-
property_name = name[1:]
|
|
3914
|
-
if property_name in memeber_set:
|
|
3915
|
-
memeber_set.remove(property_name)
|
|
3916
|
-
if len(memeber_set) > 0:
|
|
3917
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
class DeleteMountTargetResponse(AbstractModel):
|
|
3922
|
-
r"""DeleteMountTarget返回参数结构体
|
|
3923
|
-
|
|
3924
|
-
"""
|
|
3925
|
-
|
|
3926
|
-
def __init__(self):
|
|
3927
|
-
r"""
|
|
3928
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3929
|
-
:type RequestId: str
|
|
3930
|
-
"""
|
|
3931
|
-
self._RequestId = None
|
|
3932
|
-
|
|
3933
|
-
@property
|
|
3934
|
-
def RequestId(self):
|
|
3935
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3936
|
-
:rtype: str
|
|
3937
|
-
"""
|
|
3938
|
-
return self._RequestId
|
|
3939
|
-
|
|
3940
|
-
@RequestId.setter
|
|
3941
|
-
def RequestId(self, RequestId):
|
|
3942
|
-
self._RequestId = RequestId
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
def _deserialize(self, params):
|
|
3946
|
-
self._RequestId = params.get("RequestId")
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
3945
|
class DeleteUserQuotaRequest(AbstractModel):
|
|
3950
3946
|
r"""DeleteUserQuota请求参数结构体
|
|
3951
3947
|
|
|
@@ -5350,11 +5346,11 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5350
5346
|
|
|
5351
5347
|
def __init__(self):
|
|
5352
5348
|
r"""
|
|
5353
|
-
:param _StartTime:
|
|
5349
|
+
:param _StartTime: 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
|
|
5354
5350
|
:type StartTime: str
|
|
5355
|
-
:param _EndTime:
|
|
5351
|
+
:param _EndTime: 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
|
|
5356
5352
|
:type EndTime: str
|
|
5357
|
-
:param _TaskId:
|
|
5353
|
+
:param _TaskId: 任务ID
|
|
5358
5354
|
:type TaskId: str
|
|
5359
5355
|
:param _Offset: Offset 分页码
|
|
5360
5356
|
:type Offset: int
|
|
@@ -5362,6 +5358,8 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5362
5358
|
:type Limit: int
|
|
5363
5359
|
:param _Filters: 过滤条件,TaskName,FileSystemId,Type
|
|
5364
5360
|
:type Filters: list of Filter
|
|
5361
|
+
:param _CfsVersion: 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
|
|
5362
|
+
:type CfsVersion: str
|
|
5365
5363
|
"""
|
|
5366
5364
|
self._StartTime = None
|
|
5367
5365
|
self._EndTime = None
|
|
@@ -5369,10 +5367,11 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5369
5367
|
self._Offset = None
|
|
5370
5368
|
self._Limit = None
|
|
5371
5369
|
self._Filters = None
|
|
5370
|
+
self._CfsVersion = None
|
|
5372
5371
|
|
|
5373
5372
|
@property
|
|
5374
5373
|
def StartTime(self):
|
|
5375
|
-
r"""
|
|
5374
|
+
r"""开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
|
|
5376
5375
|
:rtype: str
|
|
5377
5376
|
"""
|
|
5378
5377
|
return self._StartTime
|
|
@@ -5383,7 +5382,7 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5383
5382
|
|
|
5384
5383
|
@property
|
|
5385
5384
|
def EndTime(self):
|
|
5386
|
-
r"""
|
|
5385
|
+
r"""结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
|
|
5387
5386
|
:rtype: str
|
|
5388
5387
|
"""
|
|
5389
5388
|
return self._EndTime
|
|
@@ -5394,7 +5393,7 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5394
5393
|
|
|
5395
5394
|
@property
|
|
5396
5395
|
def TaskId(self):
|
|
5397
|
-
r"""
|
|
5396
|
+
r"""任务ID
|
|
5398
5397
|
:rtype: str
|
|
5399
5398
|
"""
|
|
5400
5399
|
return self._TaskId
|
|
@@ -5436,6 +5435,17 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5436
5435
|
def Filters(self, Filters):
|
|
5437
5436
|
self._Filters = Filters
|
|
5438
5437
|
|
|
5438
|
+
@property
|
|
5439
|
+
def CfsVersion(self):
|
|
5440
|
+
r"""文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
|
|
5441
|
+
:rtype: str
|
|
5442
|
+
"""
|
|
5443
|
+
return self._CfsVersion
|
|
5444
|
+
|
|
5445
|
+
@CfsVersion.setter
|
|
5446
|
+
def CfsVersion(self, CfsVersion):
|
|
5447
|
+
self._CfsVersion = CfsVersion
|
|
5448
|
+
|
|
5439
5449
|
|
|
5440
5450
|
def _deserialize(self, params):
|
|
5441
5451
|
self._StartTime = params.get("StartTime")
|
|
@@ -5449,6 +5459,7 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5449
5459
|
obj = Filter()
|
|
5450
5460
|
obj._deserialize(item)
|
|
5451
5461
|
self._Filters.append(obj)
|
|
5462
|
+
self._CfsVersion = params.get("CfsVersion")
|
|
5452
5463
|
memeber_set = set(params.keys())
|
|
5453
5464
|
for name, value in vars(self).items():
|
|
5454
5465
|
property_name = name[1:]
|
|
@@ -8153,12 +8164,27 @@ class ModifyDataFlowRequest(AbstractModel):
|
|
|
8153
8164
|
:type SecretId: str
|
|
8154
8165
|
:param _SecretKey: 密钥 key
|
|
8155
8166
|
:type SecretKey: str
|
|
8167
|
+
:param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
|
|
8168
|
+
:type UserKafkaTopic: str
|
|
8169
|
+
:param _ServerAddr: 服务地址
|
|
8170
|
+
:type ServerAddr: str
|
|
8171
|
+
:param _UserName: name
|
|
8172
|
+
:type UserName: str
|
|
8173
|
+
:param _Password: Kafka消费用户密码
|
|
8174
|
+
:type Password: str
|
|
8175
|
+
:param _AutoRefresh: 元数据增量更新开关;1开启,0关闭
|
|
8176
|
+
:type AutoRefresh: int
|
|
8156
8177
|
"""
|
|
8157
8178
|
self._DataFlowId = None
|
|
8158
8179
|
self._FileSystemId = None
|
|
8159
8180
|
self._DataFlowName = None
|
|
8160
8181
|
self._SecretId = None
|
|
8161
8182
|
self._SecretKey = None
|
|
8183
|
+
self._UserKafkaTopic = None
|
|
8184
|
+
self._ServerAddr = None
|
|
8185
|
+
self._UserName = None
|
|
8186
|
+
self._Password = None
|
|
8187
|
+
self._AutoRefresh = None
|
|
8162
8188
|
|
|
8163
8189
|
@property
|
|
8164
8190
|
def DataFlowId(self):
|
|
@@ -8215,6 +8241,61 @@ class ModifyDataFlowRequest(AbstractModel):
|
|
|
8215
8241
|
def SecretKey(self, SecretKey):
|
|
8216
8242
|
self._SecretKey = SecretKey
|
|
8217
8243
|
|
|
8244
|
+
@property
|
|
8245
|
+
def UserKafkaTopic(self):
|
|
8246
|
+
r"""KafkaConsumer 消费时使用的Topic参数
|
|
8247
|
+
:rtype: str
|
|
8248
|
+
"""
|
|
8249
|
+
return self._UserKafkaTopic
|
|
8250
|
+
|
|
8251
|
+
@UserKafkaTopic.setter
|
|
8252
|
+
def UserKafkaTopic(self, UserKafkaTopic):
|
|
8253
|
+
self._UserKafkaTopic = UserKafkaTopic
|
|
8254
|
+
|
|
8255
|
+
@property
|
|
8256
|
+
def ServerAddr(self):
|
|
8257
|
+
r"""服务地址
|
|
8258
|
+
:rtype: str
|
|
8259
|
+
"""
|
|
8260
|
+
return self._ServerAddr
|
|
8261
|
+
|
|
8262
|
+
@ServerAddr.setter
|
|
8263
|
+
def ServerAddr(self, ServerAddr):
|
|
8264
|
+
self._ServerAddr = ServerAddr
|
|
8265
|
+
|
|
8266
|
+
@property
|
|
8267
|
+
def UserName(self):
|
|
8268
|
+
r"""name
|
|
8269
|
+
:rtype: str
|
|
8270
|
+
"""
|
|
8271
|
+
return self._UserName
|
|
8272
|
+
|
|
8273
|
+
@UserName.setter
|
|
8274
|
+
def UserName(self, UserName):
|
|
8275
|
+
self._UserName = UserName
|
|
8276
|
+
|
|
8277
|
+
@property
|
|
8278
|
+
def Password(self):
|
|
8279
|
+
r"""Kafka消费用户密码
|
|
8280
|
+
:rtype: str
|
|
8281
|
+
"""
|
|
8282
|
+
return self._Password
|
|
8283
|
+
|
|
8284
|
+
@Password.setter
|
|
8285
|
+
def Password(self, Password):
|
|
8286
|
+
self._Password = Password
|
|
8287
|
+
|
|
8288
|
+
@property
|
|
8289
|
+
def AutoRefresh(self):
|
|
8290
|
+
r"""元数据增量更新开关;1开启,0关闭
|
|
8291
|
+
:rtype: int
|
|
8292
|
+
"""
|
|
8293
|
+
return self._AutoRefresh
|
|
8294
|
+
|
|
8295
|
+
@AutoRefresh.setter
|
|
8296
|
+
def AutoRefresh(self, AutoRefresh):
|
|
8297
|
+
self._AutoRefresh = AutoRefresh
|
|
8298
|
+
|
|
8218
8299
|
|
|
8219
8300
|
def _deserialize(self, params):
|
|
8220
8301
|
self._DataFlowId = params.get("DataFlowId")
|
|
@@ -8222,6 +8303,11 @@ class ModifyDataFlowRequest(AbstractModel):
|
|
|
8222
8303
|
self._DataFlowName = params.get("DataFlowName")
|
|
8223
8304
|
self._SecretId = params.get("SecretId")
|
|
8224
8305
|
self._SecretKey = params.get("SecretKey")
|
|
8306
|
+
self._UserKafkaTopic = params.get("UserKafkaTopic")
|
|
8307
|
+
self._ServerAddr = params.get("ServerAddr")
|
|
8308
|
+
self._UserName = params.get("UserName")
|
|
8309
|
+
self._Password = params.get("Password")
|
|
8310
|
+
self._AutoRefresh = params.get("AutoRefresh")
|
|
8225
8311
|
memeber_set = set(params.keys())
|
|
8226
8312
|
for name, value in vars(self).items():
|
|
8227
8313
|
property_name = name[1:]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cfs
|
|
3
|
+
Version: 3.0.1483
|
|
4
|
+
Summary: Tencent Cloud Cfs SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1483
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cfs SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-cfs
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common cfs
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1483
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cfs
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Cfs SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cfs SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cfs
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cfs
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cfs
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Cfs SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Cfs SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-cfs
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common cfs
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|