tencentcloud-sdk-python-cfs 3.1.51__tar.gz → 3.1.68__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.51 → tencentcloud_sdk_python_cfs-3.1.68}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/setup.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/cfs/v20190719/models.py +92 -82
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfs-3.1.68/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfs-3.1.51/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/README.rst +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/cfs/v20190719/cfs_client_async.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud/cfs/v20190719/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.51 → tencentcloud_sdk_python_cfs-3.1.68}/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.68
|
|
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.68
|
|
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.68,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfs SDK for Python',
|
|
@@ -639,20 +639,23 @@ class AvailableType(AbstractModel):
|
|
|
639
639
|
|
|
640
640
|
def __init__(self):
|
|
641
641
|
r"""
|
|
642
|
-
:param _Protocols:
|
|
642
|
+
:param _Protocols: <p>协议与售卖详情</p>
|
|
643
643
|
:type Protocols: list of AvailableProtoStatus
|
|
644
|
-
:param _Type:
|
|
644
|
+
:param _Type: <p>存储类型。返回值中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。</p>
|
|
645
645
|
:type Type: str
|
|
646
|
-
:param _Prepayment:
|
|
646
|
+
:param _Prepayment: <p>是否支持预付费。返回值中 true 为支持、false 为不支持</p>
|
|
647
647
|
:type Prepayment: bool
|
|
648
|
+
:param _Version: <p>文件系统版本</p><p>枚举值:</p><ul><li>v1.5: 通用系列</li><li>v3.1: 通用系列(增强型)</li><li>v4.0: Turbo系列</li></ul>
|
|
649
|
+
:type Version: str
|
|
648
650
|
"""
|
|
649
651
|
self._Protocols = None
|
|
650
652
|
self._Type = None
|
|
651
653
|
self._Prepayment = None
|
|
654
|
+
self._Version = None
|
|
652
655
|
|
|
653
656
|
@property
|
|
654
657
|
def Protocols(self):
|
|
655
|
-
r"""
|
|
658
|
+
r"""<p>协议与售卖详情</p>
|
|
656
659
|
:rtype: list of AvailableProtoStatus
|
|
657
660
|
"""
|
|
658
661
|
return self._Protocols
|
|
@@ -663,7 +666,7 @@ class AvailableType(AbstractModel):
|
|
|
663
666
|
|
|
664
667
|
@property
|
|
665
668
|
def Type(self):
|
|
666
|
-
r"""
|
|
669
|
+
r"""<p>存储类型。返回值中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。</p>
|
|
667
670
|
:rtype: str
|
|
668
671
|
"""
|
|
669
672
|
return self._Type
|
|
@@ -674,7 +677,7 @@ class AvailableType(AbstractModel):
|
|
|
674
677
|
|
|
675
678
|
@property
|
|
676
679
|
def Prepayment(self):
|
|
677
|
-
r"""
|
|
680
|
+
r"""<p>是否支持预付费。返回值中 true 为支持、false 为不支持</p>
|
|
678
681
|
:rtype: bool
|
|
679
682
|
"""
|
|
680
683
|
return self._Prepayment
|
|
@@ -683,6 +686,17 @@ class AvailableType(AbstractModel):
|
|
|
683
686
|
def Prepayment(self, Prepayment):
|
|
684
687
|
self._Prepayment = Prepayment
|
|
685
688
|
|
|
689
|
+
@property
|
|
690
|
+
def Version(self):
|
|
691
|
+
r"""<p>文件系统版本</p><p>枚举值:</p><ul><li>v1.5: 通用系列</li><li>v3.1: 通用系列(增强型)</li><li>v4.0: Turbo系列</li></ul>
|
|
692
|
+
:rtype: str
|
|
693
|
+
"""
|
|
694
|
+
return self._Version
|
|
695
|
+
|
|
696
|
+
@Version.setter
|
|
697
|
+
def Version(self, Version):
|
|
698
|
+
self._Version = Version
|
|
699
|
+
|
|
686
700
|
|
|
687
701
|
def _deserialize(self, params):
|
|
688
702
|
if params.get("Protocols") is not None:
|
|
@@ -693,6 +707,7 @@ class AvailableType(AbstractModel):
|
|
|
693
707
|
self._Protocols.append(obj)
|
|
694
708
|
self._Type = params.get("Type")
|
|
695
709
|
self._Prepayment = params.get("Prepayment")
|
|
710
|
+
self._Version = params.get("Version")
|
|
696
711
|
memeber_set = set(params.keys())
|
|
697
712
|
for name, value in vars(self).items():
|
|
698
713
|
property_name = name[1:]
|
|
@@ -1312,53 +1327,45 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1312
1327
|
|
|
1313
1328
|
def __init__(self):
|
|
1314
1329
|
r"""
|
|
1315
|
-
:param _Zone:
|
|
1330
|
+
:param _Zone: <p>可用区名称,例如ap-beijing-1,请参考 <a href="https://cloud.tencent.com/document/product/582/13225">概览</a> 文档中的地域与可用区列表</p>
|
|
1316
1331
|
:type Zone: str
|
|
1317
|
-
:param _NetInterface:
|
|
1332
|
+
:param _NetInterface: <p>网络类型,可选值为 VPC,CCN;其中 VPC 为私有网络, CCN 为云联网。通用标准型/性能型请选择VPC,Turbo标准型/性能型请选择CCN。</p>
|
|
1318
1333
|
:type NetInterface: str
|
|
1319
|
-
:param _PGroupId:
|
|
1334
|
+
:param _PGroupId: <p>权限组 ID,pgroupbasic 是默认权限组,通过控制查询权限组列表接口获取<a href="https://cloud.tencent.com/document/product/582/38157">DescribeCfsPGroups</a></p>
|
|
1320
1335
|
:type PGroupId: str
|
|
1321
|
-
:param _Protocol:
|
|
1336
|
+
:param _Protocol: <p>文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择TURBO,不支持NFS、CIFS</p>
|
|
1322
1337
|
:type Protocol: str
|
|
1323
|
-
:param _StorageType:
|
|
1338
|
+
:param _StorageType: <p>文件系统存储类型,默认值为 SD ;其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。</p>
|
|
1324
1339
|
:type StorageType: str
|
|
1325
|
-
:param _VpcId:
|
|
1326
|
-
[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)
|
|
1340
|
+
:param _VpcId: <p>私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填.通过查询私有网络接口获取,<br><a href="https://cloud.tencent.com/document/product/215/15778">DescribeVpcs</a></p>
|
|
1327
1341
|
:type VpcId: str
|
|
1328
|
-
:param _SubnetId:
|
|
1329
|
-
[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)
|
|
1342
|
+
:param _SubnetId: <p>子网 ID,若网络类型选择的是VPC,该字段为必填。通过查询子网接口获取,<br><a href="https://cloud.tencent.com/document/product/215/15784">DescribeSubnets</a></p>
|
|
1330
1343
|
:type SubnetId: str
|
|
1331
|
-
:param _MountIP:
|
|
1344
|
+
:param _MountIP: <p>指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP,Turbo系列当前不支持指定</p>
|
|
1332
1345
|
:type MountIP: str
|
|
1333
|
-
:param _FsName:
|
|
1346
|
+
:param _FsName: <p>用户自定义文件系统名称</p>
|
|
1334
1347
|
:type FsName: str
|
|
1335
|
-
:param
|
|
1348
|
+
:param _Encrypted: <p>文件系统是否加密,若留空则默认为不加密</p>
|
|
1349
|
+
:type Encrypted: bool
|
|
1350
|
+
:param _ResourceTags: <p>文件系统标签</p>
|
|
1336
1351
|
:type ResourceTags: list of TagInfo
|
|
1337
|
-
:param _ClientToken:
|
|
1352
|
+
:param _ClientToken: <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。用于保证请求幂等性的字符串失效时间为2小时。</p>
|
|
1338
1353
|
:type ClientToken: str
|
|
1339
|
-
:param _CcnId:
|
|
1340
|
-
[DescribeCcns](https://cloud.tencent.com/document/product/215/19199)
|
|
1341
|
-
|
|
1354
|
+
:param _CcnId: <p>云联网ID, 若网络类型选择的是CCN,该字段为必填;通过查询云联网列表接口获取,通过接口<br><a href="https://cloud.tencent.com/document/product/215/19199">DescribeCcns</a></p>
|
|
1342
1355
|
:type CcnId: str
|
|
1343
|
-
:param _CidrBlock:
|
|
1356
|
+
:param _CidrBlock: <p>云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突</p>
|
|
1344
1357
|
:type CidrBlock: str
|
|
1345
|
-
:param _Capacity:
|
|
1358
|
+
:param _Capacity: <p>文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。</p>
|
|
1346
1359
|
:type Capacity: int
|
|
1347
|
-
:param _SnapshotId:
|
|
1348
|
-
[DescribeCfsSnapshots](https://cloud.tencent.com/document/product/582/80206)
|
|
1360
|
+
:param _SnapshotId: <p>文件系统快照ID,通过查询快照列表获取该参数,<br><a href="https://cloud.tencent.com/document/product/582/80206">DescribeCfsSnapshots</a></p>
|
|
1349
1361
|
:type SnapshotId: str
|
|
1350
|
-
:param _AutoSnapshotPolicyId:
|
|
1351
|
-
[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/product/582/38157)
|
|
1362
|
+
:param _AutoSnapshotPolicyId: <p>定期快照策略ID,通过查询快照策略信息获取,<br><a href="https://cloud.tencent.com/document/product/582/38157">DescribeAutoSnapshotPolicies</a></p>
|
|
1352
1363
|
:type AutoSnapshotPolicyId: str
|
|
1353
|
-
:param _EnableAutoScaleUp:
|
|
1364
|
+
:param _EnableAutoScaleUp: <p>是否开启默认扩容,仅turbo类型文件存储支持</p>
|
|
1354
1365
|
:type EnableAutoScaleUp: bool
|
|
1355
|
-
:param _CfsVersion: v1.5
|
|
1356
|
-
v3.1:创建增强版的通用文件系统
|
|
1357
|
-
说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。
|
|
1366
|
+
:param _CfsVersion: <p>v1.5:创建普通版的通用文件系统;<br>v3.1:创建增强版的通用文件系统<br>说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。</p>
|
|
1358
1367
|
:type CfsVersion: str
|
|
1359
|
-
:param _MetaType: turbo
|
|
1360
|
-
basic:创建标准型的元数据
|
|
1361
|
-
enhanced:创建增强型的元数据
|
|
1368
|
+
:param _MetaType: <p>turbo文件系统元数据属性<br>basic:创建标准型的元数据<br>enhanced:创建增强型的元数据</p>
|
|
1362
1369
|
:type MetaType: str
|
|
1363
1370
|
"""
|
|
1364
1371
|
self._Zone = None
|
|
@@ -1370,6 +1377,7 @@ enhanced:创建增强型的元数据
|
|
|
1370
1377
|
self._SubnetId = None
|
|
1371
1378
|
self._MountIP = None
|
|
1372
1379
|
self._FsName = None
|
|
1380
|
+
self._Encrypted = None
|
|
1373
1381
|
self._ResourceTags = None
|
|
1374
1382
|
self._ClientToken = None
|
|
1375
1383
|
self._CcnId = None
|
|
@@ -1383,7 +1391,7 @@ enhanced:创建增强型的元数据
|
|
|
1383
1391
|
|
|
1384
1392
|
@property
|
|
1385
1393
|
def Zone(self):
|
|
1386
|
-
r"""
|
|
1394
|
+
r"""<p>可用区名称,例如ap-beijing-1,请参考 <a href="https://cloud.tencent.com/document/product/582/13225">概览</a> 文档中的地域与可用区列表</p>
|
|
1387
1395
|
:rtype: str
|
|
1388
1396
|
"""
|
|
1389
1397
|
return self._Zone
|
|
@@ -1394,7 +1402,7 @@ enhanced:创建增强型的元数据
|
|
|
1394
1402
|
|
|
1395
1403
|
@property
|
|
1396
1404
|
def NetInterface(self):
|
|
1397
|
-
r"""
|
|
1405
|
+
r"""<p>网络类型,可选值为 VPC,CCN;其中 VPC 为私有网络, CCN 为云联网。通用标准型/性能型请选择VPC,Turbo标准型/性能型请选择CCN。</p>
|
|
1398
1406
|
:rtype: str
|
|
1399
1407
|
"""
|
|
1400
1408
|
return self._NetInterface
|
|
@@ -1405,7 +1413,7 @@ enhanced:创建增强型的元数据
|
|
|
1405
1413
|
|
|
1406
1414
|
@property
|
|
1407
1415
|
def PGroupId(self):
|
|
1408
|
-
r"""
|
|
1416
|
+
r"""<p>权限组 ID,pgroupbasic 是默认权限组,通过控制查询权限组列表接口获取<a href="https://cloud.tencent.com/document/product/582/38157">DescribeCfsPGroups</a></p>
|
|
1409
1417
|
:rtype: str
|
|
1410
1418
|
"""
|
|
1411
1419
|
return self._PGroupId
|
|
@@ -1416,7 +1424,7 @@ enhanced:创建增强型的元数据
|
|
|
1416
1424
|
|
|
1417
1425
|
@property
|
|
1418
1426
|
def Protocol(self):
|
|
1419
|
-
r"""
|
|
1427
|
+
r"""<p>文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择TURBO,不支持NFS、CIFS</p>
|
|
1420
1428
|
:rtype: str
|
|
1421
1429
|
"""
|
|
1422
1430
|
return self._Protocol
|
|
@@ -1427,7 +1435,7 @@ enhanced:创建增强型的元数据
|
|
|
1427
1435
|
|
|
1428
1436
|
@property
|
|
1429
1437
|
def StorageType(self):
|
|
1430
|
-
r"""
|
|
1438
|
+
r"""<p>文件系统存储类型,默认值为 SD ;其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。</p>
|
|
1431
1439
|
:rtype: str
|
|
1432
1440
|
"""
|
|
1433
1441
|
return self._StorageType
|
|
@@ -1438,8 +1446,7 @@ enhanced:创建增强型的元数据
|
|
|
1438
1446
|
|
|
1439
1447
|
@property
|
|
1440
1448
|
def VpcId(self):
|
|
1441
|
-
r"""
|
|
1442
|
-
[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)
|
|
1449
|
+
r"""<p>私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填.通过查询私有网络接口获取,<br><a href="https://cloud.tencent.com/document/product/215/15778">DescribeVpcs</a></p>
|
|
1443
1450
|
:rtype: str
|
|
1444
1451
|
"""
|
|
1445
1452
|
return self._VpcId
|
|
@@ -1450,8 +1457,7 @@ enhanced:创建增强型的元数据
|
|
|
1450
1457
|
|
|
1451
1458
|
@property
|
|
1452
1459
|
def SubnetId(self):
|
|
1453
|
-
r"""
|
|
1454
|
-
[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)
|
|
1460
|
+
r"""<p>子网 ID,若网络类型选择的是VPC,该字段为必填。通过查询子网接口获取,<br><a href="https://cloud.tencent.com/document/product/215/15784">DescribeSubnets</a></p>
|
|
1455
1461
|
:rtype: str
|
|
1456
1462
|
"""
|
|
1457
1463
|
return self._SubnetId
|
|
@@ -1462,7 +1468,7 @@ enhanced:创建增强型的元数据
|
|
|
1462
1468
|
|
|
1463
1469
|
@property
|
|
1464
1470
|
def MountIP(self):
|
|
1465
|
-
r"""
|
|
1471
|
+
r"""<p>指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP,Turbo系列当前不支持指定</p>
|
|
1466
1472
|
:rtype: str
|
|
1467
1473
|
"""
|
|
1468
1474
|
return self._MountIP
|
|
@@ -1473,7 +1479,7 @@ enhanced:创建增强型的元数据
|
|
|
1473
1479
|
|
|
1474
1480
|
@property
|
|
1475
1481
|
def FsName(self):
|
|
1476
|
-
r"""
|
|
1482
|
+
r"""<p>用户自定义文件系统名称</p>
|
|
1477
1483
|
:rtype: str
|
|
1478
1484
|
"""
|
|
1479
1485
|
return self._FsName
|
|
@@ -1482,9 +1488,20 @@ enhanced:创建增强型的元数据
|
|
|
1482
1488
|
def FsName(self, FsName):
|
|
1483
1489
|
self._FsName = FsName
|
|
1484
1490
|
|
|
1491
|
+
@property
|
|
1492
|
+
def Encrypted(self):
|
|
1493
|
+
r"""<p>文件系统是否加密,若留空则默认为不加密</p>
|
|
1494
|
+
:rtype: bool
|
|
1495
|
+
"""
|
|
1496
|
+
return self._Encrypted
|
|
1497
|
+
|
|
1498
|
+
@Encrypted.setter
|
|
1499
|
+
def Encrypted(self, Encrypted):
|
|
1500
|
+
self._Encrypted = Encrypted
|
|
1501
|
+
|
|
1485
1502
|
@property
|
|
1486
1503
|
def ResourceTags(self):
|
|
1487
|
-
r"""
|
|
1504
|
+
r"""<p>文件系统标签</p>
|
|
1488
1505
|
:rtype: list of TagInfo
|
|
1489
1506
|
"""
|
|
1490
1507
|
return self._ResourceTags
|
|
@@ -1495,7 +1512,7 @@ enhanced:创建增强型的元数据
|
|
|
1495
1512
|
|
|
1496
1513
|
@property
|
|
1497
1514
|
def ClientToken(self):
|
|
1498
|
-
r"""
|
|
1515
|
+
r"""<p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。用于保证请求幂等性的字符串失效时间为2小时。</p>
|
|
1499
1516
|
:rtype: str
|
|
1500
1517
|
"""
|
|
1501
1518
|
return self._ClientToken
|
|
@@ -1506,9 +1523,7 @@ enhanced:创建增强型的元数据
|
|
|
1506
1523
|
|
|
1507
1524
|
@property
|
|
1508
1525
|
def CcnId(self):
|
|
1509
|
-
r"""
|
|
1510
|
-
[DescribeCcns](https://cloud.tencent.com/document/product/215/19199)
|
|
1511
|
-
|
|
1526
|
+
r"""<p>云联网ID, 若网络类型选择的是CCN,该字段为必填;通过查询云联网列表接口获取,通过接口<br><a href="https://cloud.tencent.com/document/product/215/19199">DescribeCcns</a></p>
|
|
1512
1527
|
:rtype: str
|
|
1513
1528
|
"""
|
|
1514
1529
|
return self._CcnId
|
|
@@ -1519,7 +1534,7 @@ enhanced:创建增强型的元数据
|
|
|
1519
1534
|
|
|
1520
1535
|
@property
|
|
1521
1536
|
def CidrBlock(self):
|
|
1522
|
-
r"""
|
|
1537
|
+
r"""<p>云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突</p>
|
|
1523
1538
|
:rtype: str
|
|
1524
1539
|
"""
|
|
1525
1540
|
return self._CidrBlock
|
|
@@ -1530,7 +1545,7 @@ enhanced:创建增强型的元数据
|
|
|
1530
1545
|
|
|
1531
1546
|
@property
|
|
1532
1547
|
def Capacity(self):
|
|
1533
|
-
r"""
|
|
1548
|
+
r"""<p>文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。</p>
|
|
1534
1549
|
:rtype: int
|
|
1535
1550
|
"""
|
|
1536
1551
|
return self._Capacity
|
|
@@ -1541,8 +1556,7 @@ enhanced:创建增强型的元数据
|
|
|
1541
1556
|
|
|
1542
1557
|
@property
|
|
1543
1558
|
def SnapshotId(self):
|
|
1544
|
-
r"""
|
|
1545
|
-
[DescribeCfsSnapshots](https://cloud.tencent.com/document/product/582/80206)
|
|
1559
|
+
r"""<p>文件系统快照ID,通过查询快照列表获取该参数,<br><a href="https://cloud.tencent.com/document/product/582/80206">DescribeCfsSnapshots</a></p>
|
|
1546
1560
|
:rtype: str
|
|
1547
1561
|
"""
|
|
1548
1562
|
return self._SnapshotId
|
|
@@ -1553,8 +1567,7 @@ enhanced:创建增强型的元数据
|
|
|
1553
1567
|
|
|
1554
1568
|
@property
|
|
1555
1569
|
def AutoSnapshotPolicyId(self):
|
|
1556
|
-
r"""
|
|
1557
|
-
[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/product/582/38157)
|
|
1570
|
+
r"""<p>定期快照策略ID,通过查询快照策略信息获取,<br><a href="https://cloud.tencent.com/document/product/582/38157">DescribeAutoSnapshotPolicies</a></p>
|
|
1558
1571
|
:rtype: str
|
|
1559
1572
|
"""
|
|
1560
1573
|
return self._AutoSnapshotPolicyId
|
|
@@ -1565,7 +1578,7 @@ enhanced:创建增强型的元数据
|
|
|
1565
1578
|
|
|
1566
1579
|
@property
|
|
1567
1580
|
def EnableAutoScaleUp(self):
|
|
1568
|
-
r"""
|
|
1581
|
+
r"""<p>是否开启默认扩容,仅turbo类型文件存储支持</p>
|
|
1569
1582
|
:rtype: bool
|
|
1570
1583
|
"""
|
|
1571
1584
|
return self._EnableAutoScaleUp
|
|
@@ -1576,9 +1589,7 @@ enhanced:创建增强型的元数据
|
|
|
1576
1589
|
|
|
1577
1590
|
@property
|
|
1578
1591
|
def CfsVersion(self):
|
|
1579
|
-
r"""v1.5
|
|
1580
|
-
v3.1:创建增强版的通用文件系统
|
|
1581
|
-
说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。
|
|
1592
|
+
r"""<p>v1.5:创建普通版的通用文件系统;<br>v3.1:创建增强版的通用文件系统<br>说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。</p>
|
|
1582
1593
|
:rtype: str
|
|
1583
1594
|
"""
|
|
1584
1595
|
return self._CfsVersion
|
|
@@ -1589,9 +1600,7 @@ v3.1:创建增强版的通用文件系统
|
|
|
1589
1600
|
|
|
1590
1601
|
@property
|
|
1591
1602
|
def MetaType(self):
|
|
1592
|
-
r"""turbo
|
|
1593
|
-
basic:创建标准型的元数据
|
|
1594
|
-
enhanced:创建增强型的元数据
|
|
1603
|
+
r"""<p>turbo文件系统元数据属性<br>basic:创建标准型的元数据<br>enhanced:创建增强型的元数据</p>
|
|
1595
1604
|
:rtype: str
|
|
1596
1605
|
"""
|
|
1597
1606
|
return self._MetaType
|
|
@@ -1611,6 +1620,7 @@ enhanced:创建增强型的元数据
|
|
|
1611
1620
|
self._SubnetId = params.get("SubnetId")
|
|
1612
1621
|
self._MountIP = params.get("MountIP")
|
|
1613
1622
|
self._FsName = params.get("FsName")
|
|
1623
|
+
self._Encrypted = params.get("Encrypted")
|
|
1614
1624
|
if params.get("ResourceTags") is not None:
|
|
1615
1625
|
self._ResourceTags = []
|
|
1616
1626
|
for item in params.get("ResourceTags"):
|
|
@@ -1643,21 +1653,21 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1643
1653
|
|
|
1644
1654
|
def __init__(self):
|
|
1645
1655
|
r"""
|
|
1646
|
-
:param _CreationTime:
|
|
1656
|
+
:param _CreationTime: <p>文件系统创建时间</p>
|
|
1647
1657
|
:type CreationTime: str
|
|
1648
|
-
:param _CreationToken:
|
|
1658
|
+
:param _CreationToken: <p>用户自定义文件系统名称</p>
|
|
1649
1659
|
:type CreationToken: str
|
|
1650
|
-
:param _FileSystemId:
|
|
1660
|
+
:param _FileSystemId: <p>文件系统 ID</p>
|
|
1651
1661
|
:type FileSystemId: str
|
|
1652
|
-
:param _LifeCycleState:
|
|
1662
|
+
:param _LifeCycleState: <p>文件系统状态,可能出现状态包括:“creating” 创建中, “create_failed” 创建失败, “available” 可用, “unserviced” 不可用, “upgrading” 升级中, “deleting” 删除中。</p>
|
|
1653
1663
|
:type LifeCycleState: str
|
|
1654
|
-
:param _SizeByte:
|
|
1664
|
+
:param _SizeByte: <p>文件系统已使用容量大小,单位为 Byte</p>
|
|
1655
1665
|
:type SizeByte: int
|
|
1656
|
-
:param _ZoneId:
|
|
1666
|
+
:param _ZoneId: <p>可用区 ID</p>
|
|
1657
1667
|
:type ZoneId: int
|
|
1658
|
-
:param _FsName:
|
|
1668
|
+
:param _FsName: <p>用户自定义文件系统名称</p>
|
|
1659
1669
|
:type FsName: str
|
|
1660
|
-
:param _Encrypted:
|
|
1670
|
+
:param _Encrypted: <p>文件系统是否加密</p>
|
|
1661
1671
|
:type Encrypted: bool
|
|
1662
1672
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1663
1673
|
:type RequestId: str
|
|
@@ -1674,7 +1684,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1674
1684
|
|
|
1675
1685
|
@property
|
|
1676
1686
|
def CreationTime(self):
|
|
1677
|
-
r"""
|
|
1687
|
+
r"""<p>文件系统创建时间</p>
|
|
1678
1688
|
:rtype: str
|
|
1679
1689
|
"""
|
|
1680
1690
|
return self._CreationTime
|
|
@@ -1685,7 +1695,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1685
1695
|
|
|
1686
1696
|
@property
|
|
1687
1697
|
def CreationToken(self):
|
|
1688
|
-
r"""
|
|
1698
|
+
r"""<p>用户自定义文件系统名称</p>
|
|
1689
1699
|
:rtype: str
|
|
1690
1700
|
"""
|
|
1691
1701
|
return self._CreationToken
|
|
@@ -1696,7 +1706,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1696
1706
|
|
|
1697
1707
|
@property
|
|
1698
1708
|
def FileSystemId(self):
|
|
1699
|
-
r"""
|
|
1709
|
+
r"""<p>文件系统 ID</p>
|
|
1700
1710
|
:rtype: str
|
|
1701
1711
|
"""
|
|
1702
1712
|
return self._FileSystemId
|
|
@@ -1707,7 +1717,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1707
1717
|
|
|
1708
1718
|
@property
|
|
1709
1719
|
def LifeCycleState(self):
|
|
1710
|
-
r"""
|
|
1720
|
+
r"""<p>文件系统状态,可能出现状态包括:“creating” 创建中, “create_failed” 创建失败, “available” 可用, “unserviced” 不可用, “upgrading” 升级中, “deleting” 删除中。</p>
|
|
1711
1721
|
:rtype: str
|
|
1712
1722
|
"""
|
|
1713
1723
|
return self._LifeCycleState
|
|
@@ -1718,7 +1728,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1718
1728
|
|
|
1719
1729
|
@property
|
|
1720
1730
|
def SizeByte(self):
|
|
1721
|
-
r"""
|
|
1731
|
+
r"""<p>文件系统已使用容量大小,单位为 Byte</p>
|
|
1722
1732
|
:rtype: int
|
|
1723
1733
|
"""
|
|
1724
1734
|
return self._SizeByte
|
|
@@ -1729,7 +1739,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1729
1739
|
|
|
1730
1740
|
@property
|
|
1731
1741
|
def ZoneId(self):
|
|
1732
|
-
r"""
|
|
1742
|
+
r"""<p>可用区 ID</p>
|
|
1733
1743
|
:rtype: int
|
|
1734
1744
|
"""
|
|
1735
1745
|
return self._ZoneId
|
|
@@ -1740,7 +1750,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1740
1750
|
|
|
1741
1751
|
@property
|
|
1742
1752
|
def FsName(self):
|
|
1743
|
-
r"""
|
|
1753
|
+
r"""<p>用户自定义文件系统名称</p>
|
|
1744
1754
|
:rtype: str
|
|
1745
1755
|
"""
|
|
1746
1756
|
return self._FsName
|
|
@@ -1751,7 +1761,7 @@ class CreateCfsFileSystemResponse(AbstractModel):
|
|
|
1751
1761
|
|
|
1752
1762
|
@property
|
|
1753
1763
|
def Encrypted(self):
|
|
1754
|
-
r"""
|
|
1764
|
+
r"""<p>文件系统是否加密</p>
|
|
1755
1765
|
:rtype: bool
|
|
1756
1766
|
"""
|
|
1757
1767
|
return self._Encrypted
|
|
@@ -4396,7 +4406,7 @@ class DescribeAvailableZoneInfoResponse(AbstractModel):
|
|
|
4396
4406
|
|
|
4397
4407
|
def __init__(self):
|
|
4398
4408
|
r"""
|
|
4399
|
-
:param _RegionZones:
|
|
4409
|
+
:param _RegionZones: <p>各可用区的资源售卖情况以及支持的存储类型、存储协议等信息</p>
|
|
4400
4410
|
:type RegionZones: list of AvailableRegion
|
|
4401
4411
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4402
4412
|
:type RequestId: str
|
|
@@ -4406,7 +4416,7 @@ class DescribeAvailableZoneInfoResponse(AbstractModel):
|
|
|
4406
4416
|
|
|
4407
4417
|
@property
|
|
4408
4418
|
def RegionZones(self):
|
|
4409
|
-
r"""
|
|
4419
|
+
r"""<p>各可用区的资源售卖情况以及支持的存储类型、存储协议等信息</p>
|
|
4410
4420
|
:rtype: list of AvailableRegion
|
|
4411
4421
|
"""
|
|
4412
4422
|
return self._RegionZones
|
|
@@ -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.68
|
|
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.68
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.68
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.51
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|