tencentcloud-sdk-python-cfs 3.0.1490__tar.gz → 3.1.1__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/setup.py +2 -1
  3. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud/__init__.py +1 -1
  4. tencentcloud_sdk_python_cfs-3.1.1/tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
  5. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud/cfs/v20190719/models.py +40 -0
  6. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
  7. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +1 -0
  8. tencentcloud_sdk_python_cfs-3.1.1/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cfs-3.0.1490/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud/cfs/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  15. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
  16. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfs-3.0.1490 → tencentcloud_sdk_python_cfs-3.1.1}/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.1490
3
+ Version: 3.1.1
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.1490
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.1
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,8 @@ 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.1490,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Cfs SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1490'
17
+ __version__ = '3.1.1'
@@ -0,0 +1,1054 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.cfs.v20190719 import models
20
+ from typing import Dict
21
+
22
+
23
+ class CfsClient(AbstractClient):
24
+ _apiVersion = '2019-07-19'
25
+ _endpoint = 'cfs.tencentcloudapi.com'
26
+ _service = 'cfs'
27
+
28
+ async def ApplyPathLifecyclePolicy(
29
+ self,
30
+ request: models.ApplyPathLifecyclePolicyRequest,
31
+ opts: Dict = None,
32
+ ) -> models.ApplyPathLifecyclePolicyResponse:
33
+ """
34
+ 配置生命周期策略关联到的目录列表
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "ApplyPathLifecyclePolicy"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.ApplyPathLifecyclePolicyResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def BindAutoSnapshotPolicy(
47
+ self,
48
+ request: models.BindAutoSnapshotPolicyRequest,
49
+ opts: Dict = None,
50
+ ) -> models.BindAutoSnapshotPolicyResponse:
51
+ """
52
+ 文件系统绑定快照策略,可以同时绑定多个fs,一个fs 只能跟一个策略绑定
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "BindAutoSnapshotPolicy"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.BindAutoSnapshotPolicyResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def CreateAccessCert(
65
+ self,
66
+ request: models.CreateAccessCertRequest,
67
+ opts: Dict = None,
68
+ ) -> models.CreateAccessCertResponse:
69
+ """
70
+ 创建用于访问文件系统的凭证
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "CreateAccessCert"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.CreateAccessCertResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def CreateAutoSnapshotPolicy(
83
+ self,
84
+ request: models.CreateAutoSnapshotPolicyRequest,
85
+ opts: Dict = None,
86
+ ) -> models.CreateAutoSnapshotPolicyResponse:
87
+ """
88
+ 创建定期快照策略
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "CreateAutoSnapshotPolicy"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.CreateAutoSnapshotPolicyResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def CreateCfsFileSystem(
101
+ self,
102
+ request: models.CreateCfsFileSystemRequest,
103
+ opts: Dict = None,
104
+ ) -> models.CreateCfsFileSystemResponse:
105
+ """
106
+ 用于添加新文件系统
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "CreateCfsFileSystem"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.CreateCfsFileSystemResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def CreateCfsPGroup(
119
+ self,
120
+ request: models.CreateCfsPGroupRequest,
121
+ opts: Dict = None,
122
+ ) -> models.CreateCfsPGroupResponse:
123
+ """
124
+ 本接口(CreateCfsPGroup)用于创建权限组
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "CreateCfsPGroup"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.CreateCfsPGroupResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def CreateCfsRule(
137
+ self,
138
+ request: models.CreateCfsRuleRequest,
139
+ opts: Dict = None,
140
+ ) -> models.CreateCfsRuleResponse:
141
+ """
142
+ 本接口(CreateCfsRule)用于创建权限组规则。
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "CreateCfsRule"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.CreateCfsRuleResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def CreateCfsSnapshot(
155
+ self,
156
+ request: models.CreateCfsSnapshotRequest,
157
+ opts: Dict = None,
158
+ ) -> models.CreateCfsSnapshotResponse:
159
+ """
160
+ 创建文件系统快照
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "CreateCfsSnapshot"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.CreateCfsSnapshotResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def CreateDataFlow(
173
+ self,
174
+ request: models.CreateDataFlowRequest,
175
+ opts: Dict = None,
176
+ ) -> models.CreateDataFlowResponse:
177
+ """
178
+ 创建数据流动接口
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "CreateDataFlow"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.CreateDataFlowResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
190
+ async def CreateLifecycleDataTask(
191
+ self,
192
+ request: models.CreateLifecycleDataTaskRequest,
193
+ opts: Dict = None,
194
+ ) -> models.CreateLifecycleDataTaskResponse:
195
+ """
196
+ 支持主动沉降/预热接口
197
+ """
198
+
199
+ kwargs = {}
200
+ kwargs["action"] = "CreateLifecycleDataTask"
201
+ kwargs["params"] = request._serialize()
202
+ kwargs["resp_cls"] = models.CreateLifecycleDataTaskResponse
203
+ kwargs["headers"] = request.headers
204
+ kwargs["opts"] = opts or {}
205
+
206
+ return await self.call_and_deserialize(**kwargs)
207
+
208
+ async def CreateLifecyclePolicy(
209
+ self,
210
+ request: models.CreateLifecyclePolicyRequest,
211
+ opts: Dict = None,
212
+ ) -> models.CreateLifecyclePolicyResponse:
213
+ """
214
+ 创建文件存储生命周期策略
215
+ """
216
+
217
+ kwargs = {}
218
+ kwargs["action"] = "CreateLifecyclePolicy"
219
+ kwargs["params"] = request._serialize()
220
+ kwargs["resp_cls"] = models.CreateLifecyclePolicyResponse
221
+ kwargs["headers"] = request.headers
222
+ kwargs["opts"] = opts or {}
223
+
224
+ return await self.call_and_deserialize(**kwargs)
225
+
226
+ async def CreateLifecyclePolicyDownloadTask(
227
+ self,
228
+ request: models.CreateLifecyclePolicyDownloadTaskRequest,
229
+ opts: Dict = None,
230
+ ) -> models.CreateLifecyclePolicyDownloadTaskResponse:
231
+ """
232
+ 下载生命周期任务中文件列表
233
+ """
234
+
235
+ kwargs = {}
236
+ kwargs["action"] = "CreateLifecyclePolicyDownloadTask"
237
+ kwargs["params"] = request._serialize()
238
+ kwargs["resp_cls"] = models.CreateLifecyclePolicyDownloadTaskResponse
239
+ kwargs["headers"] = request.headers
240
+ kwargs["opts"] = opts or {}
241
+
242
+ return await self.call_and_deserialize(**kwargs)
243
+
244
+ async def CreateMigrationTask(
245
+ self,
246
+ request: models.CreateMigrationTaskRequest,
247
+ opts: Dict = None,
248
+ ) -> models.CreateMigrationTaskResponse:
249
+ """
250
+ 用于创建迁移任务。
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "CreateMigrationTask"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.CreateMigrationTaskResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
262
+ async def DeleteAutoSnapshotPolicy(
263
+ self,
264
+ request: models.DeleteAutoSnapshotPolicyRequest,
265
+ opts: Dict = None,
266
+ ) -> models.DeleteAutoSnapshotPolicyResponse:
267
+ """
268
+ 删除快照定期策略
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "DeleteAutoSnapshotPolicy"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.DeleteAutoSnapshotPolicyResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
280
+ async def DeleteCfsFileSystem(
281
+ self,
282
+ request: models.DeleteCfsFileSystemRequest,
283
+ opts: Dict = None,
284
+ ) -> models.DeleteCfsFileSystemResponse:
285
+ """
286
+ 用于删除文件系统
287
+ """
288
+
289
+ kwargs = {}
290
+ kwargs["action"] = "DeleteCfsFileSystem"
291
+ kwargs["params"] = request._serialize()
292
+ kwargs["resp_cls"] = models.DeleteCfsFileSystemResponse
293
+ kwargs["headers"] = request.headers
294
+ kwargs["opts"] = opts or {}
295
+
296
+ return await self.call_and_deserialize(**kwargs)
297
+
298
+ async def DeleteCfsPGroup(
299
+ self,
300
+ request: models.DeleteCfsPGroupRequest,
301
+ opts: Dict = None,
302
+ ) -> models.DeleteCfsPGroupResponse:
303
+ """
304
+ 本接口(DeleteCfsPGroup)用于删除权限组,只有未绑定文件系统的权限组才能够被此接口删除。
305
+ """
306
+
307
+ kwargs = {}
308
+ kwargs["action"] = "DeleteCfsPGroup"
309
+ kwargs["params"] = request._serialize()
310
+ kwargs["resp_cls"] = models.DeleteCfsPGroupResponse
311
+ kwargs["headers"] = request.headers
312
+ kwargs["opts"] = opts or {}
313
+
314
+ return await self.call_and_deserialize(**kwargs)
315
+
316
+ async def DeleteCfsRule(
317
+ self,
318
+ request: models.DeleteCfsRuleRequest,
319
+ opts: Dict = None,
320
+ ) -> models.DeleteCfsRuleResponse:
321
+ """
322
+ 本接口(DeleteCfsRule)用于删除权限组规则。
323
+ """
324
+
325
+ kwargs = {}
326
+ kwargs["action"] = "DeleteCfsRule"
327
+ kwargs["params"] = request._serialize()
328
+ kwargs["resp_cls"] = models.DeleteCfsRuleResponse
329
+ kwargs["headers"] = request.headers
330
+ kwargs["opts"] = opts or {}
331
+
332
+ return await self.call_and_deserialize(**kwargs)
333
+
334
+ async def DeleteCfsSnapshot(
335
+ self,
336
+ request: models.DeleteCfsSnapshotRequest,
337
+ opts: Dict = None,
338
+ ) -> models.DeleteCfsSnapshotResponse:
339
+ """
340
+ 删除文件系统快照
341
+ """
342
+
343
+ kwargs = {}
344
+ kwargs["action"] = "DeleteCfsSnapshot"
345
+ kwargs["params"] = request._serialize()
346
+ kwargs["resp_cls"] = models.DeleteCfsSnapshotResponse
347
+ kwargs["headers"] = request.headers
348
+ kwargs["opts"] = opts or {}
349
+
350
+ return await self.call_and_deserialize(**kwargs)
351
+
352
+ async def DeleteDataFlow(
353
+ self,
354
+ request: models.DeleteDataFlowRequest,
355
+ opts: Dict = None,
356
+ ) -> models.DeleteDataFlowResponse:
357
+ """
358
+ 删除数据流动
359
+ """
360
+
361
+ kwargs = {}
362
+ kwargs["action"] = "DeleteDataFlow"
363
+ kwargs["params"] = request._serialize()
364
+ kwargs["resp_cls"] = models.DeleteDataFlowResponse
365
+ kwargs["headers"] = request.headers
366
+ kwargs["opts"] = opts or {}
367
+
368
+ return await self.call_and_deserialize(**kwargs)
369
+
370
+ async def DeleteLifecyclePolicy(
371
+ self,
372
+ request: models.DeleteLifecyclePolicyRequest,
373
+ opts: Dict = None,
374
+ ) -> models.DeleteLifecyclePolicyResponse:
375
+ """
376
+ 删除生命周期管理策略
377
+ """
378
+
379
+ kwargs = {}
380
+ kwargs["action"] = "DeleteLifecyclePolicy"
381
+ kwargs["params"] = request._serialize()
382
+ kwargs["resp_cls"] = models.DeleteLifecyclePolicyResponse
383
+ kwargs["headers"] = request.headers
384
+ kwargs["opts"] = opts or {}
385
+
386
+ return await self.call_and_deserialize(**kwargs)
387
+
388
+ async def DeleteMigrationTask(
389
+ self,
390
+ request: models.DeleteMigrationTaskRequest,
391
+ opts: Dict = None,
392
+ ) -> models.DeleteMigrationTaskResponse:
393
+ """
394
+ 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
395
+ """
396
+
397
+ kwargs = {}
398
+ kwargs["action"] = "DeleteMigrationTask"
399
+ kwargs["params"] = request._serialize()
400
+ kwargs["resp_cls"] = models.DeleteMigrationTaskResponse
401
+ kwargs["headers"] = request.headers
402
+ kwargs["opts"] = opts or {}
403
+
404
+ return await self.call_and_deserialize(**kwargs)
405
+
406
+ async def DeleteUserQuota(
407
+ self,
408
+ request: models.DeleteUserQuotaRequest,
409
+ opts: Dict = None,
410
+ ) -> models.DeleteUserQuotaResponse:
411
+ """
412
+ 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
413
+ """
414
+
415
+ kwargs = {}
416
+ kwargs["action"] = "DeleteUserQuota"
417
+ kwargs["params"] = request._serialize()
418
+ kwargs["resp_cls"] = models.DeleteUserQuotaResponse
419
+ kwargs["headers"] = request.headers
420
+ kwargs["opts"] = opts or {}
421
+
422
+ return await self.call_and_deserialize(**kwargs)
423
+
424
+ async def DescribeAutoSnapshotPolicies(
425
+ self,
426
+ request: models.DescribeAutoSnapshotPoliciesRequest,
427
+ opts: Dict = None,
428
+ ) -> models.DescribeAutoSnapshotPoliciesResponse:
429
+ """
430
+ 查询文件系统快照定期策略列表信息
431
+ """
432
+
433
+ kwargs = {}
434
+ kwargs["action"] = "DescribeAutoSnapshotPolicies"
435
+ kwargs["params"] = request._serialize()
436
+ kwargs["resp_cls"] = models.DescribeAutoSnapshotPoliciesResponse
437
+ kwargs["headers"] = request.headers
438
+ kwargs["opts"] = opts or {}
439
+
440
+ return await self.call_and_deserialize(**kwargs)
441
+
442
+ async def DescribeAvailableZoneInfo(
443
+ self,
444
+ request: models.DescribeAvailableZoneInfoRequest,
445
+ opts: Dict = None,
446
+ ) -> models.DescribeAvailableZoneInfoResponse:
447
+ """
448
+ 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
449
+ """
450
+
451
+ kwargs = {}
452
+ kwargs["action"] = "DescribeAvailableZoneInfo"
453
+ kwargs["params"] = request._serialize()
454
+ kwargs["resp_cls"] = models.DescribeAvailableZoneInfoResponse
455
+ kwargs["headers"] = request.headers
456
+ kwargs["opts"] = opts or {}
457
+
458
+ return await self.call_and_deserialize(**kwargs)
459
+
460
+ async def DescribeBucketList(
461
+ self,
462
+ request: models.DescribeBucketListRequest,
463
+ opts: Dict = None,
464
+ ) -> models.DescribeBucketListResponse:
465
+ """
466
+ 用于获取数据源桶列表。
467
+ """
468
+
469
+ kwargs = {}
470
+ kwargs["action"] = "DescribeBucketList"
471
+ kwargs["params"] = request._serialize()
472
+ kwargs["resp_cls"] = models.DescribeBucketListResponse
473
+ kwargs["headers"] = request.headers
474
+ kwargs["opts"] = opts or {}
475
+
476
+ return await self.call_and_deserialize(**kwargs)
477
+
478
+ async def DescribeCfsFileSystemClients(
479
+ self,
480
+ request: models.DescribeCfsFileSystemClientsRequest,
481
+ opts: Dict = None,
482
+ ) -> models.DescribeCfsFileSystemClientsResponse:
483
+ """
484
+ 查询挂载该文件系统的客户端。此功能需要客户端安装CFS监控插件。
485
+ """
486
+
487
+ kwargs = {}
488
+ kwargs["action"] = "DescribeCfsFileSystemClients"
489
+ kwargs["params"] = request._serialize()
490
+ kwargs["resp_cls"] = models.DescribeCfsFileSystemClientsResponse
491
+ kwargs["headers"] = request.headers
492
+ kwargs["opts"] = opts or {}
493
+
494
+ return await self.call_and_deserialize(**kwargs)
495
+
496
+ async def DescribeCfsFileSystems(
497
+ self,
498
+ request: models.DescribeCfsFileSystemsRequest,
499
+ opts: Dict = None,
500
+ ) -> models.DescribeCfsFileSystemsResponse:
501
+ """
502
+ 本接口(DescribeCfsFileSystems)用于查询文件系统
503
+ """
504
+
505
+ kwargs = {}
506
+ kwargs["action"] = "DescribeCfsFileSystems"
507
+ kwargs["params"] = request._serialize()
508
+ kwargs["resp_cls"] = models.DescribeCfsFileSystemsResponse
509
+ kwargs["headers"] = request.headers
510
+ kwargs["opts"] = opts or {}
511
+
512
+ return await self.call_and_deserialize(**kwargs)
513
+
514
+ async def DescribeCfsPGroups(
515
+ self,
516
+ request: models.DescribeCfsPGroupsRequest,
517
+ opts: Dict = None,
518
+ ) -> models.DescribeCfsPGroupsResponse:
519
+ """
520
+ 本接口(DescribeCfsPGroups)用于查询权限组列表。
521
+ """
522
+
523
+ kwargs = {}
524
+ kwargs["action"] = "DescribeCfsPGroups"
525
+ kwargs["params"] = request._serialize()
526
+ kwargs["resp_cls"] = models.DescribeCfsPGroupsResponse
527
+ kwargs["headers"] = request.headers
528
+ kwargs["opts"] = opts or {}
529
+
530
+ return await self.call_and_deserialize(**kwargs)
531
+
532
+ async def DescribeCfsRules(
533
+ self,
534
+ request: models.DescribeCfsRulesRequest,
535
+ opts: Dict = None,
536
+ ) -> models.DescribeCfsRulesResponse:
537
+ """
538
+ 本接口(DescribeCfsRules)用于查询权限组规则列表。
539
+ """
540
+
541
+ kwargs = {}
542
+ kwargs["action"] = "DescribeCfsRules"
543
+ kwargs["params"] = request._serialize()
544
+ kwargs["resp_cls"] = models.DescribeCfsRulesResponse
545
+ kwargs["headers"] = request.headers
546
+ kwargs["opts"] = opts or {}
547
+
548
+ return await self.call_and_deserialize(**kwargs)
549
+
550
+ async def DescribeCfsServiceStatus(
551
+ self,
552
+ request: models.DescribeCfsServiceStatusRequest,
553
+ opts: Dict = None,
554
+ ) -> models.DescribeCfsServiceStatusResponse:
555
+ """
556
+ 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
557
+ """
558
+
559
+ kwargs = {}
560
+ kwargs["action"] = "DescribeCfsServiceStatus"
561
+ kwargs["params"] = request._serialize()
562
+ kwargs["resp_cls"] = models.DescribeCfsServiceStatusResponse
563
+ kwargs["headers"] = request.headers
564
+ kwargs["opts"] = opts or {}
565
+
566
+ return await self.call_and_deserialize(**kwargs)
567
+
568
+ async def DescribeCfsSnapshotOverview(
569
+ self,
570
+ request: models.DescribeCfsSnapshotOverviewRequest,
571
+ opts: Dict = None,
572
+ ) -> models.DescribeCfsSnapshotOverviewResponse:
573
+ """
574
+ 文件系统快照概览
575
+ """
576
+
577
+ kwargs = {}
578
+ kwargs["action"] = "DescribeCfsSnapshotOverview"
579
+ kwargs["params"] = request._serialize()
580
+ kwargs["resp_cls"] = models.DescribeCfsSnapshotOverviewResponse
581
+ kwargs["headers"] = request.headers
582
+ kwargs["opts"] = opts or {}
583
+
584
+ return await self.call_and_deserialize(**kwargs)
585
+
586
+ async def DescribeCfsSnapshots(
587
+ self,
588
+ request: models.DescribeCfsSnapshotsRequest,
589
+ opts: Dict = None,
590
+ ) -> models.DescribeCfsSnapshotsResponse:
591
+ """
592
+ 查询文件系统快照列表
593
+ """
594
+
595
+ kwargs = {}
596
+ kwargs["action"] = "DescribeCfsSnapshots"
597
+ kwargs["params"] = request._serialize()
598
+ kwargs["resp_cls"] = models.DescribeCfsSnapshotsResponse
599
+ kwargs["headers"] = request.headers
600
+ kwargs["opts"] = opts or {}
601
+
602
+ return await self.call_and_deserialize(**kwargs)
603
+
604
+ async def DescribeDataFlow(
605
+ self,
606
+ request: models.DescribeDataFlowRequest,
607
+ opts: Dict = None,
608
+ ) -> models.DescribeDataFlowResponse:
609
+ """
610
+ 查询数据流动信息接口
611
+ """
612
+
613
+ kwargs = {}
614
+ kwargs["action"] = "DescribeDataFlow"
615
+ kwargs["params"] = request._serialize()
616
+ kwargs["resp_cls"] = models.DescribeDataFlowResponse
617
+ kwargs["headers"] = request.headers
618
+ kwargs["opts"] = opts or {}
619
+
620
+ return await self.call_and_deserialize(**kwargs)
621
+
622
+ async def DescribeLifecycleDataTask(
623
+ self,
624
+ request: models.DescribeLifecycleDataTaskRequest,
625
+ opts: Dict = None,
626
+ ) -> models.DescribeLifecycleDataTaskResponse:
627
+ """
628
+ 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
629
+ """
630
+
631
+ kwargs = {}
632
+ kwargs["action"] = "DescribeLifecycleDataTask"
633
+ kwargs["params"] = request._serialize()
634
+ kwargs["resp_cls"] = models.DescribeLifecycleDataTaskResponse
635
+ kwargs["headers"] = request.headers
636
+ kwargs["opts"] = opts or {}
637
+
638
+ return await self.call_and_deserialize(**kwargs)
639
+
640
+ async def DescribeLifecyclePolicies(
641
+ self,
642
+ request: models.DescribeLifecyclePoliciesRequest,
643
+ opts: Dict = None,
644
+ ) -> models.DescribeLifecyclePoliciesResponse:
645
+ """
646
+ 查询生命周期管理策略
647
+ """
648
+
649
+ kwargs = {}
650
+ kwargs["action"] = "DescribeLifecyclePolicies"
651
+ kwargs["params"] = request._serialize()
652
+ kwargs["resp_cls"] = models.DescribeLifecyclePoliciesResponse
653
+ kwargs["headers"] = request.headers
654
+ kwargs["opts"] = opts or {}
655
+
656
+ return await self.call_and_deserialize(**kwargs)
657
+
658
+ async def DescribeMigrationTasks(
659
+ self,
660
+ request: models.DescribeMigrationTasksRequest,
661
+ opts: Dict = None,
662
+ ) -> models.DescribeMigrationTasksResponse:
663
+ """
664
+ 用于获取迁移任务列表。
665
+ 此接口需提交工单,开启白名单之后才能使用。
666
+ """
667
+
668
+ kwargs = {}
669
+ kwargs["action"] = "DescribeMigrationTasks"
670
+ kwargs["params"] = request._serialize()
671
+ kwargs["resp_cls"] = models.DescribeMigrationTasksResponse
672
+ kwargs["headers"] = request.headers
673
+ kwargs["opts"] = opts or {}
674
+
675
+ return await self.call_and_deserialize(**kwargs)
676
+
677
+ async def DescribeMountTargets(
678
+ self,
679
+ request: models.DescribeMountTargetsRequest,
680
+ opts: Dict = None,
681
+ ) -> models.DescribeMountTargetsResponse:
682
+ """
683
+ 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
684
+ """
685
+
686
+ kwargs = {}
687
+ kwargs["action"] = "DescribeMountTargets"
688
+ kwargs["params"] = request._serialize()
689
+ kwargs["resp_cls"] = models.DescribeMountTargetsResponse
690
+ kwargs["headers"] = request.headers
691
+ kwargs["opts"] = opts or {}
692
+
693
+ return await self.call_and_deserialize(**kwargs)
694
+
695
+ async def DescribeSnapshotOperationLogs(
696
+ self,
697
+ request: models.DescribeSnapshotOperationLogsRequest,
698
+ opts: Dict = None,
699
+ ) -> models.DescribeSnapshotOperationLogsResponse:
700
+ """
701
+ 查询快照操作日志
702
+ """
703
+
704
+ kwargs = {}
705
+ kwargs["action"] = "DescribeSnapshotOperationLogs"
706
+ kwargs["params"] = request._serialize()
707
+ kwargs["resp_cls"] = models.DescribeSnapshotOperationLogsResponse
708
+ kwargs["headers"] = request.headers
709
+ kwargs["opts"] = opts or {}
710
+
711
+ return await self.call_and_deserialize(**kwargs)
712
+
713
+ async def DescribeUserQuota(
714
+ self,
715
+ request: models.DescribeUserQuotaRequest,
716
+ opts: Dict = None,
717
+ ) -> models.DescribeUserQuotaResponse:
718
+ """
719
+ 查询文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
720
+ """
721
+
722
+ kwargs = {}
723
+ kwargs["action"] = "DescribeUserQuota"
724
+ kwargs["params"] = request._serialize()
725
+ kwargs["resp_cls"] = models.DescribeUserQuotaResponse
726
+ kwargs["headers"] = request.headers
727
+ kwargs["opts"] = opts or {}
728
+
729
+ return await self.call_and_deserialize(**kwargs)
730
+
731
+ async def DoDirectoryOperation(
732
+ self,
733
+ request: models.DoDirectoryOperationRequest,
734
+ opts: Dict = None,
735
+ ) -> models.DoDirectoryOperationResponse:
736
+ """
737
+ 文件系统目录操作接口
738
+ """
739
+
740
+ kwargs = {}
741
+ kwargs["action"] = "DoDirectoryOperation"
742
+ kwargs["params"] = request._serialize()
743
+ kwargs["resp_cls"] = models.DoDirectoryOperationResponse
744
+ kwargs["headers"] = request.headers
745
+ kwargs["opts"] = opts or {}
746
+
747
+ return await self.call_and_deserialize(**kwargs)
748
+
749
+ async def ModifyDataFlow(
750
+ self,
751
+ request: models.ModifyDataFlowRequest,
752
+ opts: Dict = None,
753
+ ) -> models.ModifyDataFlowResponse:
754
+ """
755
+ 修改数据流动相关参数
756
+ """
757
+
758
+ kwargs = {}
759
+ kwargs["action"] = "ModifyDataFlow"
760
+ kwargs["params"] = request._serialize()
761
+ kwargs["resp_cls"] = models.ModifyDataFlowResponse
762
+ kwargs["headers"] = request.headers
763
+ kwargs["opts"] = opts or {}
764
+
765
+ return await self.call_and_deserialize(**kwargs)
766
+
767
+ async def ModifyFileSystemAutoScaleUpRule(
768
+ self,
769
+ request: models.ModifyFileSystemAutoScaleUpRuleRequest,
770
+ opts: Dict = None,
771
+ ) -> models.ModifyFileSystemAutoScaleUpRuleResponse:
772
+ """
773
+ 用来设置文件系统扩容策略,该接口只支持turbo文件系统
774
+ """
775
+
776
+ kwargs = {}
777
+ kwargs["action"] = "ModifyFileSystemAutoScaleUpRule"
778
+ kwargs["params"] = request._serialize()
779
+ kwargs["resp_cls"] = models.ModifyFileSystemAutoScaleUpRuleResponse
780
+ kwargs["headers"] = request.headers
781
+ kwargs["opts"] = opts or {}
782
+
783
+ return await self.call_and_deserialize(**kwargs)
784
+
785
+ async def ModifyLifecyclePolicy(
786
+ self,
787
+ request: models.ModifyLifecyclePolicyRequest,
788
+ opts: Dict = None,
789
+ ) -> models.ModifyLifecyclePolicyResponse:
790
+ """
791
+ 更新文件存储生命周期策略
792
+ """
793
+
794
+ kwargs = {}
795
+ kwargs["action"] = "ModifyLifecyclePolicy"
796
+ kwargs["params"] = request._serialize()
797
+ kwargs["resp_cls"] = models.ModifyLifecyclePolicyResponse
798
+ kwargs["headers"] = request.headers
799
+ kwargs["opts"] = opts or {}
800
+
801
+ return await self.call_and_deserialize(**kwargs)
802
+
803
+ async def ScaleUpFileSystem(
804
+ self,
805
+ request: models.ScaleUpFileSystemRequest,
806
+ opts: Dict = None,
807
+ ) -> models.ScaleUpFileSystemResponse:
808
+ """
809
+ 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
810
+ """
811
+
812
+ kwargs = {}
813
+ kwargs["action"] = "ScaleUpFileSystem"
814
+ kwargs["params"] = request._serialize()
815
+ kwargs["resp_cls"] = models.ScaleUpFileSystemResponse
816
+ kwargs["headers"] = request.headers
817
+ kwargs["opts"] = opts or {}
818
+
819
+ return await self.call_and_deserialize(**kwargs)
820
+
821
+ async def SetUserQuota(
822
+ self,
823
+ request: models.SetUserQuotaRequest,
824
+ opts: Dict = None,
825
+ ) -> models.SetUserQuotaResponse:
826
+ """
827
+ 设置文件系统配额,提供UID/GID的配额设置的接口(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
828
+ """
829
+
830
+ kwargs = {}
831
+ kwargs["action"] = "SetUserQuota"
832
+ kwargs["params"] = request._serialize()
833
+ kwargs["resp_cls"] = models.SetUserQuotaResponse
834
+ kwargs["headers"] = request.headers
835
+ kwargs["opts"] = opts or {}
836
+
837
+ return await self.call_and_deserialize(**kwargs)
838
+
839
+ async def SignUpCfsService(
840
+ self,
841
+ request: models.SignUpCfsServiceRequest,
842
+ opts: Dict = None,
843
+ ) -> models.SignUpCfsServiceResponse:
844
+ """
845
+ 本接口(SignUpCfsService)用于开通CFS服务。
846
+ """
847
+
848
+ kwargs = {}
849
+ kwargs["action"] = "SignUpCfsService"
850
+ kwargs["params"] = request._serialize()
851
+ kwargs["resp_cls"] = models.SignUpCfsServiceResponse
852
+ kwargs["headers"] = request.headers
853
+ kwargs["opts"] = opts or {}
854
+
855
+ return await self.call_and_deserialize(**kwargs)
856
+
857
+ async def StopLifecycleDataTask(
858
+ self,
859
+ request: models.StopLifecycleDataTaskRequest,
860
+ opts: Dict = None,
861
+ ) -> models.StopLifecycleDataTaskResponse:
862
+ """
863
+ 终止生命周期任务的接口
864
+ """
865
+
866
+ kwargs = {}
867
+ kwargs["action"] = "StopLifecycleDataTask"
868
+ kwargs["params"] = request._serialize()
869
+ kwargs["resp_cls"] = models.StopLifecycleDataTaskResponse
870
+ kwargs["headers"] = request.headers
871
+ kwargs["opts"] = opts or {}
872
+
873
+ return await self.call_and_deserialize(**kwargs)
874
+
875
+ async def StopMigrationTask(
876
+ self,
877
+ request: models.StopMigrationTaskRequest,
878
+ opts: Dict = None,
879
+ ) -> models.StopMigrationTaskResponse:
880
+ """
881
+ 用于终止迁移任务,可以终止等待中、运行中状态的任务。
882
+ """
883
+
884
+ kwargs = {}
885
+ kwargs["action"] = "StopMigrationTask"
886
+ kwargs["params"] = request._serialize()
887
+ kwargs["resp_cls"] = models.StopMigrationTaskResponse
888
+ kwargs["headers"] = request.headers
889
+ kwargs["opts"] = opts or {}
890
+
891
+ return await self.call_and_deserialize(**kwargs)
892
+
893
+ async def UnbindAutoSnapshotPolicy(
894
+ self,
895
+ request: models.UnbindAutoSnapshotPolicyRequest,
896
+ opts: Dict = None,
897
+ ) -> models.UnbindAutoSnapshotPolicyResponse:
898
+ """
899
+ 解除文件系统绑定的快照策略
900
+ """
901
+
902
+ kwargs = {}
903
+ kwargs["action"] = "UnbindAutoSnapshotPolicy"
904
+ kwargs["params"] = request._serialize()
905
+ kwargs["resp_cls"] = models.UnbindAutoSnapshotPolicyResponse
906
+ kwargs["headers"] = request.headers
907
+ kwargs["opts"] = opts or {}
908
+
909
+ return await self.call_and_deserialize(**kwargs)
910
+
911
+ async def UpdateAutoSnapshotPolicy(
912
+ self,
913
+ request: models.UpdateAutoSnapshotPolicyRequest,
914
+ opts: Dict = None,
915
+ ) -> models.UpdateAutoSnapshotPolicyResponse:
916
+ """
917
+ 更新定期自动快照策略
918
+ """
919
+
920
+ kwargs = {}
921
+ kwargs["action"] = "UpdateAutoSnapshotPolicy"
922
+ kwargs["params"] = request._serialize()
923
+ kwargs["resp_cls"] = models.UpdateAutoSnapshotPolicyResponse
924
+ kwargs["headers"] = request.headers
925
+ kwargs["opts"] = opts or {}
926
+
927
+ return await self.call_and_deserialize(**kwargs)
928
+
929
+ async def UpdateCfsFileSystemName(
930
+ self,
931
+ request: models.UpdateCfsFileSystemNameRequest,
932
+ opts: Dict = None,
933
+ ) -> models.UpdateCfsFileSystemNameResponse:
934
+ """
935
+ 本接口(UpdateCfsFileSystemName)用于更新文件系统名
936
+ """
937
+
938
+ kwargs = {}
939
+ kwargs["action"] = "UpdateCfsFileSystemName"
940
+ kwargs["params"] = request._serialize()
941
+ kwargs["resp_cls"] = models.UpdateCfsFileSystemNameResponse
942
+ kwargs["headers"] = request.headers
943
+ kwargs["opts"] = opts or {}
944
+
945
+ return await self.call_and_deserialize(**kwargs)
946
+
947
+ async def UpdateCfsFileSystemPGroup(
948
+ self,
949
+ request: models.UpdateCfsFileSystemPGroupRequest,
950
+ opts: Dict = None,
951
+ ) -> models.UpdateCfsFileSystemPGroupResponse:
952
+ """
953
+ 本接口(UpdateCfsFileSystemPGroup)用于更新文件系统所使用的权限组
954
+ """
955
+
956
+ kwargs = {}
957
+ kwargs["action"] = "UpdateCfsFileSystemPGroup"
958
+ kwargs["params"] = request._serialize()
959
+ kwargs["resp_cls"] = models.UpdateCfsFileSystemPGroupResponse
960
+ kwargs["headers"] = request.headers
961
+ kwargs["opts"] = opts or {}
962
+
963
+ return await self.call_and_deserialize(**kwargs)
964
+
965
+ async def UpdateCfsFileSystemSizeLimit(
966
+ self,
967
+ request: models.UpdateCfsFileSystemSizeLimitRequest,
968
+ opts: Dict = None,
969
+ ) -> models.UpdateCfsFileSystemSizeLimitResponse:
970
+ """
971
+ 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
972
+ """
973
+
974
+ kwargs = {}
975
+ kwargs["action"] = "UpdateCfsFileSystemSizeLimit"
976
+ kwargs["params"] = request._serialize()
977
+ kwargs["resp_cls"] = models.UpdateCfsFileSystemSizeLimitResponse
978
+ kwargs["headers"] = request.headers
979
+ kwargs["opts"] = opts or {}
980
+
981
+ return await self.call_and_deserialize(**kwargs)
982
+
983
+ async def UpdateCfsPGroup(
984
+ self,
985
+ request: models.UpdateCfsPGroupRequest,
986
+ opts: Dict = None,
987
+ ) -> models.UpdateCfsPGroupResponse:
988
+ """
989
+ 本接口(UpdateCfsPGroup)更新权限组信息。
990
+ """
991
+
992
+ kwargs = {}
993
+ kwargs["action"] = "UpdateCfsPGroup"
994
+ kwargs["params"] = request._serialize()
995
+ kwargs["resp_cls"] = models.UpdateCfsPGroupResponse
996
+ kwargs["headers"] = request.headers
997
+ kwargs["opts"] = opts or {}
998
+
999
+ return await self.call_and_deserialize(**kwargs)
1000
+
1001
+ async def UpdateCfsRule(
1002
+ self,
1003
+ request: models.UpdateCfsRuleRequest,
1004
+ opts: Dict = None,
1005
+ ) -> models.UpdateCfsRuleResponse:
1006
+ """
1007
+ 本接口(UpdateCfsRule)用于更新权限规则。
1008
+ """
1009
+
1010
+ kwargs = {}
1011
+ kwargs["action"] = "UpdateCfsRule"
1012
+ kwargs["params"] = request._serialize()
1013
+ kwargs["resp_cls"] = models.UpdateCfsRuleResponse
1014
+ kwargs["headers"] = request.headers
1015
+ kwargs["opts"] = opts or {}
1016
+
1017
+ return await self.call_and_deserialize(**kwargs)
1018
+
1019
+ async def UpdateCfsSnapshotAttribute(
1020
+ self,
1021
+ request: models.UpdateCfsSnapshotAttributeRequest,
1022
+ opts: Dict = None,
1023
+ ) -> models.UpdateCfsSnapshotAttributeResponse:
1024
+ """
1025
+ 更新文件系统快照名称及保留时长
1026
+ """
1027
+
1028
+ kwargs = {}
1029
+ kwargs["action"] = "UpdateCfsSnapshotAttribute"
1030
+ kwargs["params"] = request._serialize()
1031
+ kwargs["resp_cls"] = models.UpdateCfsSnapshotAttributeResponse
1032
+ kwargs["headers"] = request.headers
1033
+ kwargs["opts"] = opts or {}
1034
+
1035
+ return await self.call_and_deserialize(**kwargs)
1036
+
1037
+ async def UpdateFileSystemBandwidthLimit(
1038
+ self,
1039
+ request: models.UpdateFileSystemBandwidthLimitRequest,
1040
+ opts: Dict = None,
1041
+ ) -> models.UpdateFileSystemBandwidthLimitResponse:
1042
+ """
1043
+ 更新文件系统吞吐
1044
+ 仅吞吐型支持此接口
1045
+ """
1046
+
1047
+ kwargs = {}
1048
+ kwargs["action"] = "UpdateFileSystemBandwidthLimit"
1049
+ kwargs["params"] = request._serialize()
1050
+ kwargs["resp_cls"] = models.UpdateFileSystemBandwidthLimitResponse
1051
+ kwargs["headers"] = request.headers
1052
+ kwargs["opts"] = opts or {}
1053
+
1054
+ return await self.call_and_deserialize(**kwargs)
@@ -231,6 +231,8 @@ class AutoSnapshotPolicyInfo(AbstractModel):
231
231
  :type IntervalDays: int
232
232
  :param _CrossRegionsAliveDays: 跨地域复制的快照保留时间,单位天
233
233
  :type CrossRegionsAliveDays: int
234
+ :param _Tags: 快照策略标签
235
+ :type Tags: list of TagInfo
234
236
  """
235
237
  self._AutoSnapshotPolicyId = None
236
238
  self._PolicyName = None
@@ -248,6 +250,7 @@ class AutoSnapshotPolicyInfo(AbstractModel):
248
250
  self._DayOfMonth = None
249
251
  self._IntervalDays = None
250
252
  self._CrossRegionsAliveDays = None
253
+ self._Tags = None
251
254
 
252
255
  @property
253
256
  def AutoSnapshotPolicyId(self):
@@ -427,6 +430,17 @@ class AutoSnapshotPolicyInfo(AbstractModel):
427
430
  def CrossRegionsAliveDays(self, CrossRegionsAliveDays):
428
431
  self._CrossRegionsAliveDays = CrossRegionsAliveDays
429
432
 
433
+ @property
434
+ def Tags(self):
435
+ r"""快照策略标签
436
+ :rtype: list of TagInfo
437
+ """
438
+ return self._Tags
439
+
440
+ @Tags.setter
441
+ def Tags(self, Tags):
442
+ self._Tags = Tags
443
+
430
444
 
431
445
  def _deserialize(self, params):
432
446
  self._AutoSnapshotPolicyId = params.get("AutoSnapshotPolicyId")
@@ -450,6 +464,12 @@ class AutoSnapshotPolicyInfo(AbstractModel):
450
464
  self._DayOfMonth = params.get("DayOfMonth")
451
465
  self._IntervalDays = params.get("IntervalDays")
452
466
  self._CrossRegionsAliveDays = params.get("CrossRegionsAliveDays")
467
+ if params.get("Tags") is not None:
468
+ self._Tags = []
469
+ for item in params.get("Tags"):
470
+ obj = TagInfo()
471
+ obj._deserialize(item)
472
+ self._Tags.append(obj)
453
473
  memeber_set = set(params.keys())
454
474
  for name, value in vars(self).items():
455
475
  property_name = name[1:]
@@ -1130,6 +1150,8 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
1130
1150
  :type DayOfMonth: str
1131
1151
  :param _IntervalDays: 间隔天数,与DayOfWeek,DayOfMonth 三者选一
1132
1152
  :type IntervalDays: int
1153
+ :param _ResourceTags: 快照策略标签
1154
+ :type ResourceTags: list of TagInfo
1133
1155
  """
1134
1156
  self._Hour = None
1135
1157
  self._PolicyName = None
@@ -1137,6 +1159,7 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
1137
1159
  self._AliveDays = None
1138
1160
  self._DayOfMonth = None
1139
1161
  self._IntervalDays = None
1162
+ self._ResourceTags = None
1140
1163
 
1141
1164
  @property
1142
1165
  def Hour(self):
@@ -1204,6 +1227,17 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
1204
1227
  def IntervalDays(self, IntervalDays):
1205
1228
  self._IntervalDays = IntervalDays
1206
1229
 
1230
+ @property
1231
+ def ResourceTags(self):
1232
+ r"""快照策略标签
1233
+ :rtype: list of TagInfo
1234
+ """
1235
+ return self._ResourceTags
1236
+
1237
+ @ResourceTags.setter
1238
+ def ResourceTags(self, ResourceTags):
1239
+ self._ResourceTags = ResourceTags
1240
+
1207
1241
 
1208
1242
  def _deserialize(self, params):
1209
1243
  self._Hour = params.get("Hour")
@@ -1212,6 +1246,12 @@ class CreateAutoSnapshotPolicyRequest(AbstractModel):
1212
1246
  self._AliveDays = params.get("AliveDays")
1213
1247
  self._DayOfMonth = params.get("DayOfMonth")
1214
1248
  self._IntervalDays = params.get("IntervalDays")
1249
+ if params.get("ResourceTags") is not None:
1250
+ self._ResourceTags = []
1251
+ for item in params.get("ResourceTags"):
1252
+ obj = TagInfo()
1253
+ obj._deserialize(item)
1254
+ self._ResourceTags.append(obj)
1215
1255
  memeber_set = set(params.keys())
1216
1256
  for name, value in vars(self).items():
1217
1257
  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.1490
3
+ Version: 3.1.1
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.1490
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.1
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
5
5
  tencentcloud/cfs/__init__.py
6
6
  tencentcloud/cfs/v20190719/__init__.py
7
7
  tencentcloud/cfs/v20190719/cfs_client.py
8
+ tencentcloud/cfs/v20190719/cfs_client_async.py
8
9
  tencentcloud/cfs/v20190719/errorcodes.py
9
10
  tencentcloud/cfs/v20190719/models.py
10
11
  tencentcloud_sdk_python_cfs.egg-info/PKG-INFO
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.1
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1490