tencentcloud-sdk-python-cfs 3.0.1482__tar.gz → 3.0.1484__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.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/setup.py +1 -1
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud/cfs/v20190719/cfs_client.py +1 -1
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud/cfs/v20190719/models.py +281 -18
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfs-3.0.1484/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfs-3.0.1482/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/README.rst +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.0.1482 → tencentcloud_sdk_python_cfs-3.0.1484}/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.0.
|
|
3
|
+
Version: 3.0.1484
|
|
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.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
|
|
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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1484,<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(),
|
|
@@ -786,7 +786,7 @@ class CfsClient(AbstractClient):
|
|
|
786
786
|
|
|
787
787
|
|
|
788
788
|
def DescribeLifecycleDataTask(self, request):
|
|
789
|
-
r"""
|
|
789
|
+
r"""查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
|
|
790
790
|
|
|
791
791
|
:param request: Request instance for DescribeLifecycleDataTask.
|
|
792
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:]
|
|
@@ -3084,6 +3159,22 @@ deleting:删除中
|
|
|
3084
3159
|
:type CreationTime: str
|
|
3085
3160
|
:param _FileSystemId: 文件系统 ID
|
|
3086
3161
|
:type FileSystemId: str
|
|
3162
|
+
:param _AutoRefresh: 0:不开启自动更新
|
|
3163
|
+
|
|
3164
|
+
1:开启自动更新
|
|
3165
|
+
:type AutoRefresh: int
|
|
3166
|
+
:param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
|
|
3167
|
+
:type UserKafkaTopic: str
|
|
3168
|
+
:param _ServerAddr: 服务地址
|
|
3169
|
+
:type ServerAddr: str
|
|
3170
|
+
:param _UserName: Kafka消费用户名
|
|
3171
|
+
:type UserName: str
|
|
3172
|
+
:param _AutoRefreshStatus: 自动刷新的状态,available:已生效
|
|
3173
|
+
pending:配置中
|
|
3174
|
+
unavailable:失效
|
|
3175
|
+
:type AutoRefreshStatus: str
|
|
3176
|
+
:param _AutoRefreshTime: 自动刷新开启时间
|
|
3177
|
+
:type AutoRefreshTime: str
|
|
3087
3178
|
"""
|
|
3088
3179
|
self._DataFlowId = None
|
|
3089
3180
|
self._DataFlowName = None
|
|
@@ -3094,6 +3185,12 @@ deleting:删除中
|
|
|
3094
3185
|
self._Status = None
|
|
3095
3186
|
self._CreationTime = None
|
|
3096
3187
|
self._FileSystemId = None
|
|
3188
|
+
self._AutoRefresh = None
|
|
3189
|
+
self._UserKafkaTopic = None
|
|
3190
|
+
self._ServerAddr = None
|
|
3191
|
+
self._UserName = None
|
|
3192
|
+
self._AutoRefreshStatus = None
|
|
3193
|
+
self._AutoRefreshTime = None
|
|
3097
3194
|
|
|
3098
3195
|
@property
|
|
3099
3196
|
def DataFlowId(self):
|
|
@@ -3197,6 +3294,76 @@ deleting:删除中
|
|
|
3197
3294
|
def FileSystemId(self, FileSystemId):
|
|
3198
3295
|
self._FileSystemId = FileSystemId
|
|
3199
3296
|
|
|
3297
|
+
@property
|
|
3298
|
+
def AutoRefresh(self):
|
|
3299
|
+
r"""0:不开启自动更新
|
|
3300
|
+
|
|
3301
|
+
1:开启自动更新
|
|
3302
|
+
:rtype: int
|
|
3303
|
+
"""
|
|
3304
|
+
return self._AutoRefresh
|
|
3305
|
+
|
|
3306
|
+
@AutoRefresh.setter
|
|
3307
|
+
def AutoRefresh(self, AutoRefresh):
|
|
3308
|
+
self._AutoRefresh = AutoRefresh
|
|
3309
|
+
|
|
3310
|
+
@property
|
|
3311
|
+
def UserKafkaTopic(self):
|
|
3312
|
+
r"""KafkaConsumer 消费时使用的Topic参数
|
|
3313
|
+
:rtype: str
|
|
3314
|
+
"""
|
|
3315
|
+
return self._UserKafkaTopic
|
|
3316
|
+
|
|
3317
|
+
@UserKafkaTopic.setter
|
|
3318
|
+
def UserKafkaTopic(self, UserKafkaTopic):
|
|
3319
|
+
self._UserKafkaTopic = UserKafkaTopic
|
|
3320
|
+
|
|
3321
|
+
@property
|
|
3322
|
+
def ServerAddr(self):
|
|
3323
|
+
r"""服务地址
|
|
3324
|
+
:rtype: str
|
|
3325
|
+
"""
|
|
3326
|
+
return self._ServerAddr
|
|
3327
|
+
|
|
3328
|
+
@ServerAddr.setter
|
|
3329
|
+
def ServerAddr(self, ServerAddr):
|
|
3330
|
+
self._ServerAddr = ServerAddr
|
|
3331
|
+
|
|
3332
|
+
@property
|
|
3333
|
+
def UserName(self):
|
|
3334
|
+
r"""Kafka消费用户名
|
|
3335
|
+
:rtype: str
|
|
3336
|
+
"""
|
|
3337
|
+
return self._UserName
|
|
3338
|
+
|
|
3339
|
+
@UserName.setter
|
|
3340
|
+
def UserName(self, UserName):
|
|
3341
|
+
self._UserName = UserName
|
|
3342
|
+
|
|
3343
|
+
@property
|
|
3344
|
+
def AutoRefreshStatus(self):
|
|
3345
|
+
r"""自动刷新的状态,available:已生效
|
|
3346
|
+
pending:配置中
|
|
3347
|
+
unavailable:失效
|
|
3348
|
+
:rtype: str
|
|
3349
|
+
"""
|
|
3350
|
+
return self._AutoRefreshStatus
|
|
3351
|
+
|
|
3352
|
+
@AutoRefreshStatus.setter
|
|
3353
|
+
def AutoRefreshStatus(self, AutoRefreshStatus):
|
|
3354
|
+
self._AutoRefreshStatus = AutoRefreshStatus
|
|
3355
|
+
|
|
3356
|
+
@property
|
|
3357
|
+
def AutoRefreshTime(self):
|
|
3358
|
+
r"""自动刷新开启时间
|
|
3359
|
+
:rtype: str
|
|
3360
|
+
"""
|
|
3361
|
+
return self._AutoRefreshTime
|
|
3362
|
+
|
|
3363
|
+
@AutoRefreshTime.setter
|
|
3364
|
+
def AutoRefreshTime(self, AutoRefreshTime):
|
|
3365
|
+
self._AutoRefreshTime = AutoRefreshTime
|
|
3366
|
+
|
|
3200
3367
|
|
|
3201
3368
|
def _deserialize(self, params):
|
|
3202
3369
|
self._DataFlowId = params.get("DataFlowId")
|
|
@@ -3208,6 +3375,12 @@ deleting:删除中
|
|
|
3208
3375
|
self._Status = params.get("Status")
|
|
3209
3376
|
self._CreationTime = params.get("CreationTime")
|
|
3210
3377
|
self._FileSystemId = params.get("FileSystemId")
|
|
3378
|
+
self._AutoRefresh = params.get("AutoRefresh")
|
|
3379
|
+
self._UserKafkaTopic = params.get("UserKafkaTopic")
|
|
3380
|
+
self._ServerAddr = params.get("ServerAddr")
|
|
3381
|
+
self._UserName = params.get("UserName")
|
|
3382
|
+
self._AutoRefreshStatus = params.get("AutoRefreshStatus")
|
|
3383
|
+
self._AutoRefreshTime = params.get("AutoRefreshTime")
|
|
3211
3384
|
memeber_set = set(params.keys())
|
|
3212
3385
|
for name, value in vars(self).items():
|
|
3213
3386
|
property_name = name[1:]
|
|
@@ -5271,11 +5444,11 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5271
5444
|
|
|
5272
5445
|
def __init__(self):
|
|
5273
5446
|
r"""
|
|
5274
|
-
:param _StartTime:
|
|
5447
|
+
:param _StartTime: 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
|
|
5275
5448
|
:type StartTime: str
|
|
5276
|
-
:param _EndTime:
|
|
5449
|
+
:param _EndTime: 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
|
|
5277
5450
|
:type EndTime: str
|
|
5278
|
-
:param _TaskId:
|
|
5451
|
+
:param _TaskId: 任务ID
|
|
5279
5452
|
:type TaskId: str
|
|
5280
5453
|
:param _Offset: Offset 分页码
|
|
5281
5454
|
:type Offset: int
|
|
@@ -5283,6 +5456,8 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5283
5456
|
:type Limit: int
|
|
5284
5457
|
:param _Filters: 过滤条件,TaskName,FileSystemId,Type
|
|
5285
5458
|
:type Filters: list of Filter
|
|
5459
|
+
:param _CfsVersion: 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
|
|
5460
|
+
:type CfsVersion: str
|
|
5286
5461
|
"""
|
|
5287
5462
|
self._StartTime = None
|
|
5288
5463
|
self._EndTime = None
|
|
@@ -5290,10 +5465,11 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5290
5465
|
self._Offset = None
|
|
5291
5466
|
self._Limit = None
|
|
5292
5467
|
self._Filters = None
|
|
5468
|
+
self._CfsVersion = None
|
|
5293
5469
|
|
|
5294
5470
|
@property
|
|
5295
5471
|
def StartTime(self):
|
|
5296
|
-
r"""
|
|
5472
|
+
r"""开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
|
|
5297
5473
|
:rtype: str
|
|
5298
5474
|
"""
|
|
5299
5475
|
return self._StartTime
|
|
@@ -5304,7 +5480,7 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5304
5480
|
|
|
5305
5481
|
@property
|
|
5306
5482
|
def EndTime(self):
|
|
5307
|
-
r"""
|
|
5483
|
+
r"""结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
|
|
5308
5484
|
:rtype: str
|
|
5309
5485
|
"""
|
|
5310
5486
|
return self._EndTime
|
|
@@ -5315,7 +5491,7 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5315
5491
|
|
|
5316
5492
|
@property
|
|
5317
5493
|
def TaskId(self):
|
|
5318
|
-
r"""
|
|
5494
|
+
r"""任务ID
|
|
5319
5495
|
:rtype: str
|
|
5320
5496
|
"""
|
|
5321
5497
|
return self._TaskId
|
|
@@ -5357,6 +5533,17 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5357
5533
|
def Filters(self, Filters):
|
|
5358
5534
|
self._Filters = Filters
|
|
5359
5535
|
|
|
5536
|
+
@property
|
|
5537
|
+
def CfsVersion(self):
|
|
5538
|
+
r"""文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
|
|
5539
|
+
:rtype: str
|
|
5540
|
+
"""
|
|
5541
|
+
return self._CfsVersion
|
|
5542
|
+
|
|
5543
|
+
@CfsVersion.setter
|
|
5544
|
+
def CfsVersion(self, CfsVersion):
|
|
5545
|
+
self._CfsVersion = CfsVersion
|
|
5546
|
+
|
|
5360
5547
|
|
|
5361
5548
|
def _deserialize(self, params):
|
|
5362
5549
|
self._StartTime = params.get("StartTime")
|
|
@@ -5370,6 +5557,7 @@ class DescribeLifecycleDataTaskRequest(AbstractModel):
|
|
|
5370
5557
|
obj = Filter()
|
|
5371
5558
|
obj._deserialize(item)
|
|
5372
5559
|
self._Filters.append(obj)
|
|
5560
|
+
self._CfsVersion = params.get("CfsVersion")
|
|
5373
5561
|
memeber_set = set(params.keys())
|
|
5374
5562
|
for name, value in vars(self).items():
|
|
5375
5563
|
property_name = name[1:]
|
|
@@ -7536,19 +7724,19 @@ class LifecycleRule(AbstractModel):
|
|
|
7536
7724
|
|
|
7537
7725
|
def __init__(self):
|
|
7538
7726
|
r"""
|
|
7539
|
-
:param _StorageType:
|
|
7727
|
+
:param _StorageType: 数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
|
|
7540
7728
|
:type StorageType: str
|
|
7541
|
-
:param _FileType:
|
|
7729
|
+
:param _FileType: 数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
|
|
7542
7730
|
:type FileType: str
|
|
7543
|
-
:param _Action:
|
|
7731
|
+
:param _Action: 数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
|
|
7544
7732
|
:type Action: str
|
|
7545
|
-
:param _Interval:
|
|
7733
|
+
:param _Interval: 数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
|
|
7546
7734
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7547
7735
|
:type Interval: str
|
|
7548
|
-
:param _FileMaxSize:
|
|
7736
|
+
:param _FileMaxSize: 数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
|
|
7549
7737
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7550
7738
|
:type FileMaxSize: str
|
|
7551
|
-
:param _FileMinSize:
|
|
7739
|
+
:param _FileMinSize: 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
|
|
7552
7740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7553
7741
|
:type FileMinSize: str
|
|
7554
7742
|
"""
|
|
@@ -7561,7 +7749,7 @@ class LifecycleRule(AbstractModel):
|
|
|
7561
7749
|
|
|
7562
7750
|
@property
|
|
7563
7751
|
def StorageType(self):
|
|
7564
|
-
r"""
|
|
7752
|
+
r"""数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
|
|
7565
7753
|
:rtype: str
|
|
7566
7754
|
"""
|
|
7567
7755
|
return self._StorageType
|
|
@@ -7572,7 +7760,7 @@ class LifecycleRule(AbstractModel):
|
|
|
7572
7760
|
|
|
7573
7761
|
@property
|
|
7574
7762
|
def FileType(self):
|
|
7575
|
-
r"""
|
|
7763
|
+
r"""数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
|
|
7576
7764
|
:rtype: str
|
|
7577
7765
|
"""
|
|
7578
7766
|
return self._FileType
|
|
@@ -7583,7 +7771,7 @@ class LifecycleRule(AbstractModel):
|
|
|
7583
7771
|
|
|
7584
7772
|
@property
|
|
7585
7773
|
def Action(self):
|
|
7586
|
-
r"""
|
|
7774
|
+
r"""数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
|
|
7587
7775
|
:rtype: str
|
|
7588
7776
|
"""
|
|
7589
7777
|
return self._Action
|
|
@@ -7594,7 +7782,7 @@ class LifecycleRule(AbstractModel):
|
|
|
7594
7782
|
|
|
7595
7783
|
@property
|
|
7596
7784
|
def Interval(self):
|
|
7597
|
-
r"""
|
|
7785
|
+
r"""数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
|
|
7598
7786
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7599
7787
|
:rtype: str
|
|
7600
7788
|
"""
|
|
@@ -7606,7 +7794,7 @@ class LifecycleRule(AbstractModel):
|
|
|
7606
7794
|
|
|
7607
7795
|
@property
|
|
7608
7796
|
def FileMaxSize(self):
|
|
7609
|
-
r"""
|
|
7797
|
+
r"""数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
|
|
7610
7798
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7611
7799
|
:rtype: str
|
|
7612
7800
|
"""
|
|
@@ -7618,7 +7806,7 @@ class LifecycleRule(AbstractModel):
|
|
|
7618
7806
|
|
|
7619
7807
|
@property
|
|
7620
7808
|
def FileMinSize(self):
|
|
7621
|
-
r"""
|
|
7809
|
+
r"""数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
|
|
7622
7810
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7623
7811
|
:rtype: str
|
|
7624
7812
|
"""
|
|
@@ -8074,12 +8262,27 @@ class ModifyDataFlowRequest(AbstractModel):
|
|
|
8074
8262
|
:type SecretId: str
|
|
8075
8263
|
:param _SecretKey: 密钥 key
|
|
8076
8264
|
:type SecretKey: str
|
|
8265
|
+
:param _UserKafkaTopic: KafkaConsumer 消费时使用的Topic参数
|
|
8266
|
+
:type UserKafkaTopic: str
|
|
8267
|
+
:param _ServerAddr: 服务地址
|
|
8268
|
+
:type ServerAddr: str
|
|
8269
|
+
:param _UserName: name
|
|
8270
|
+
:type UserName: str
|
|
8271
|
+
:param _Password: Kafka消费用户密码
|
|
8272
|
+
:type Password: str
|
|
8273
|
+
:param _AutoRefresh: 元数据增量更新开关;1开启,0关闭
|
|
8274
|
+
:type AutoRefresh: int
|
|
8077
8275
|
"""
|
|
8078
8276
|
self._DataFlowId = None
|
|
8079
8277
|
self._FileSystemId = None
|
|
8080
8278
|
self._DataFlowName = None
|
|
8081
8279
|
self._SecretId = None
|
|
8082
8280
|
self._SecretKey = None
|
|
8281
|
+
self._UserKafkaTopic = None
|
|
8282
|
+
self._ServerAddr = None
|
|
8283
|
+
self._UserName = None
|
|
8284
|
+
self._Password = None
|
|
8285
|
+
self._AutoRefresh = None
|
|
8083
8286
|
|
|
8084
8287
|
@property
|
|
8085
8288
|
def DataFlowId(self):
|
|
@@ -8136,6 +8339,61 @@ class ModifyDataFlowRequest(AbstractModel):
|
|
|
8136
8339
|
def SecretKey(self, SecretKey):
|
|
8137
8340
|
self._SecretKey = SecretKey
|
|
8138
8341
|
|
|
8342
|
+
@property
|
|
8343
|
+
def UserKafkaTopic(self):
|
|
8344
|
+
r"""KafkaConsumer 消费时使用的Topic参数
|
|
8345
|
+
:rtype: str
|
|
8346
|
+
"""
|
|
8347
|
+
return self._UserKafkaTopic
|
|
8348
|
+
|
|
8349
|
+
@UserKafkaTopic.setter
|
|
8350
|
+
def UserKafkaTopic(self, UserKafkaTopic):
|
|
8351
|
+
self._UserKafkaTopic = UserKafkaTopic
|
|
8352
|
+
|
|
8353
|
+
@property
|
|
8354
|
+
def ServerAddr(self):
|
|
8355
|
+
r"""服务地址
|
|
8356
|
+
:rtype: str
|
|
8357
|
+
"""
|
|
8358
|
+
return self._ServerAddr
|
|
8359
|
+
|
|
8360
|
+
@ServerAddr.setter
|
|
8361
|
+
def ServerAddr(self, ServerAddr):
|
|
8362
|
+
self._ServerAddr = ServerAddr
|
|
8363
|
+
|
|
8364
|
+
@property
|
|
8365
|
+
def UserName(self):
|
|
8366
|
+
r"""name
|
|
8367
|
+
:rtype: str
|
|
8368
|
+
"""
|
|
8369
|
+
return self._UserName
|
|
8370
|
+
|
|
8371
|
+
@UserName.setter
|
|
8372
|
+
def UserName(self, UserName):
|
|
8373
|
+
self._UserName = UserName
|
|
8374
|
+
|
|
8375
|
+
@property
|
|
8376
|
+
def Password(self):
|
|
8377
|
+
r"""Kafka消费用户密码
|
|
8378
|
+
:rtype: str
|
|
8379
|
+
"""
|
|
8380
|
+
return self._Password
|
|
8381
|
+
|
|
8382
|
+
@Password.setter
|
|
8383
|
+
def Password(self, Password):
|
|
8384
|
+
self._Password = Password
|
|
8385
|
+
|
|
8386
|
+
@property
|
|
8387
|
+
def AutoRefresh(self):
|
|
8388
|
+
r"""元数据增量更新开关;1开启,0关闭
|
|
8389
|
+
:rtype: int
|
|
8390
|
+
"""
|
|
8391
|
+
return self._AutoRefresh
|
|
8392
|
+
|
|
8393
|
+
@AutoRefresh.setter
|
|
8394
|
+
def AutoRefresh(self, AutoRefresh):
|
|
8395
|
+
self._AutoRefresh = AutoRefresh
|
|
8396
|
+
|
|
8139
8397
|
|
|
8140
8398
|
def _deserialize(self, params):
|
|
8141
8399
|
self._DataFlowId = params.get("DataFlowId")
|
|
@@ -8143,6 +8401,11 @@ class ModifyDataFlowRequest(AbstractModel):
|
|
|
8143
8401
|
self._DataFlowName = params.get("DataFlowName")
|
|
8144
8402
|
self._SecretId = params.get("SecretId")
|
|
8145
8403
|
self._SecretKey = params.get("SecretKey")
|
|
8404
|
+
self._UserKafkaTopic = params.get("UserKafkaTopic")
|
|
8405
|
+
self._ServerAddr = params.get("ServerAddr")
|
|
8406
|
+
self._UserName = params.get("UserName")
|
|
8407
|
+
self._Password = params.get("Password")
|
|
8408
|
+
self._AutoRefresh = params.get("AutoRefresh")
|
|
8146
8409
|
memeber_set = set(params.keys())
|
|
8147
8410
|
for name, value in vars(self).items():
|
|
8148
8411
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfs
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1484
|
|
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.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|