tencentcloud-sdk-python-cfs 3.1.160__tar.gz → 3.1.177__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.160 → tencentcloud_sdk_python_cfs-3.1.177}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/setup.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/errorcodes.py +6 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/models.py +219 -124
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfs-3.1.177/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfs-3.1.160/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/README.rst +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/__init__.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/cfs_client_async.py +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfs-3.1.160 → tencentcloud_sdk_python_cfs-3.1.177}/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.177
|
|
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.177
|
|
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.177,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfs SDK for Python',
|
|
@@ -20,6 +20,9 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# 获取CFS服务角色错误
|
|
21
21
|
AUTHFAILURE_GETROLEFAILED = 'AuthFailure.GetRoleFailed'
|
|
22
22
|
|
|
23
|
+
# 鉴权token超时
|
|
24
|
+
AUTHFAILURE_TOKENFAILURE = 'AuthFailure.TokenFailure'
|
|
25
|
+
|
|
23
26
|
# 请求未CAM授权。
|
|
24
27
|
AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
|
|
25
28
|
|
|
@@ -38,6 +41,9 @@ FAILEDOPERATION_CLIENTTOKENINUSE = 'FailedOperation.ClientTokenInUse'
|
|
|
38
41
|
# 操作失败:目标 COS Bucket 未开启多版本,`IsSyncDelete` 或 `IsOverwrite` 无法生效,请前往对象存储控制台开启多版本后重试
|
|
39
42
|
FAILEDOPERATION_COSMULTIVERSIONDISABLED = 'FailedOperation.CosMultiVersionDisabled'
|
|
40
43
|
|
|
44
|
+
# 检索任务正在运行中
|
|
45
|
+
FAILEDOPERATION_DATARETRIEVALTASKRUNNING = 'FailedOperation.DataRetrievalTaskRunning'
|
|
46
|
+
|
|
41
47
|
# 文件系统存在挂载点。
|
|
42
48
|
FAILEDOPERATION_MOUNTTARGETEXISTS = 'FailedOperation.MountTargetExists'
|
|
43
49
|
|
|
@@ -1327,19 +1327,19 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1327
1327
|
|
|
1328
1328
|
def __init__(self):
|
|
1329
1329
|
r"""
|
|
1330
|
-
:param _Zone: <p
|
|
1330
|
+
:param _Zone: <p>可用区名称</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/213/15707?">查询可用区列表</a></p>
|
|
1331
1331
|
:type Zone: str
|
|
1332
|
-
:param _NetInterface: <p
|
|
1332
|
+
:param _NetInterface: <p>网络类型</p><p>枚举值:</p><ul><li><p>VPC: 私有网络</p></li><li><p>CCN: 云联网</p></li><li><p>通用标准型/性能型(含增强型)、吞吐型请选择VPC</p></li><li><p>Turbo标准型/性能型可选VPC或CCN</p></li><li><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS时无需传入,传入将被忽略。</p></li></ul>
|
|
1333
1333
|
:type NetInterface: str
|
|
1334
|
-
:param _PGroupId: <p>权限组 ID
|
|
1334
|
+
:param _PGroupId: <p>权限组 ID。权限组规定了一组可来访白名单及操作权限。</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/582/38157">DescribeCfsPGroups</a></p><ul><li>pgroupbasic 为【默认权限组】,【默认权限组】允许所有IP地址访问及读写权限。 </li><li>注意:当 Scenario=AgentSandbox 时,即创建 AgentCFS ,必须传入 pgroupbasic【默认权限组】,传其他值报错。</li></ul>
|
|
1335
1335
|
:type PGroupId: str
|
|
1336
|
-
:param _Protocol: <p
|
|
1336
|
+
:param _Protocol: <p>文件系统协议类型</p><p>枚举值:</p><ul><li>NFS: 通用标准型(含增强型)、通用性能型(含增强型)支持创建此协议的实例</li><li>CIFS: 即SMB协议,仅部分可用区的通用标准型、吞吐型支持此协议。</li><li>TURBO: Turbo标准型/Turbo性能型/AgentCFS是支持创建此协议的实例</li></ul><p>默认值:NFS</p>
|
|
1337
1337
|
:type Protocol: str
|
|
1338
|
-
:param _StorageType: <p
|
|
1338
|
+
:param _StorageType: <p>文件系统存储类型其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。</p><p>枚举值:</p><ul><li>SD: 通用标准型(含增强型)。通用标准型 version = v1.5,通用标准型(增强型) version = v3.1。</li><li>HP: 通用性能型(含增强型)。通用性能型 version = v1.5,通用性能型(增强型) version = v3.1。</li><li>TB: Turbo标准型</li><li>TP: Turbo性能型</li><li>THP: 吞吐型</li></ul><p>默认值:SD</p>
|
|
1339
1339
|
:type StorageType: str
|
|
1340
|
-
:param _VpcId: <p>私有网络(VPC) ID,若网络类型选择的是VPC
|
|
1340
|
+
:param _VpcId: <p>私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/215/15778">查询VPC列表</a></p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略。</p>
|
|
1341
1341
|
:type VpcId: str
|
|
1342
|
-
:param _SubnetId: <p>子网 ID,若网络类型选择的是VPC
|
|
1342
|
+
:param _SubnetId: <p>子网 ID,若网络类型选择的是VPC,该字段为必填。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/215/15784">查询子网列表</a></p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略。</p>
|
|
1343
1343
|
:type SubnetId: str
|
|
1344
1344
|
:param _MountIP: <p>指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP,Turbo系列当前不支持指定</p>
|
|
1345
1345
|
:type MountIP: str
|
|
@@ -1351,22 +1351,24 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1351
1351
|
:type ResourceTags: list of TagInfo
|
|
1352
1352
|
:param _ClientToken: <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。用于保证请求幂等性的字符串失效时间为2小时。</p>
|
|
1353
1353
|
:type ClientToken: str
|
|
1354
|
-
:param _CcnId: <p>云联网ID, 若网络类型选择的是CCN
|
|
1354
|
+
:param _CcnId: <p>云联网ID, 若网络类型选择的是CCN,该字段为必填</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/215/19199">查询CCN列表</a></p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略</p>
|
|
1355
1355
|
:type CcnId: str
|
|
1356
|
-
:param _CidrBlock: <p>云联网中CFS使用的网段, 若网络类型选择的是
|
|
1356
|
+
:param _CidrBlock: <p>云联网中CFS使用的网段, 若网络类型选择的是CCN,该字段为必填,且不能和Ccn中已经绑定的网段冲突</p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略</p>
|
|
1357
1357
|
:type CidrBlock: str
|
|
1358
|
-
:param _Capacity: <p>文件系统容量,turbo
|
|
1358
|
+
:param _Capacity: <p>文件系统容量,turbo系列必填</p><p>单位:GiB</p><p>Turbo标准型起售20TiB,即20480 GiB,扩容步长10TiB,即10240 GiB。Turbo性能型起售10TiB,即10240 GiB,扩容步长10TiB,即10240 GiB。</p>
|
|
1359
1359
|
:type Capacity: int
|
|
1360
|
-
:param _SnapshotId: <p>文件系统快照ID
|
|
1360
|
+
:param _SnapshotId: <p>文件系统快照 ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/582/80206">DescribeCfsSnapshots</a></p>
|
|
1361
1361
|
:type SnapshotId: str
|
|
1362
|
-
:param _AutoSnapshotPolicyId: <p>定期快照策略ID
|
|
1362
|
+
:param _AutoSnapshotPolicyId: <p>定期快照策略 ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/582/80208">DescribeAutoSnapshotPolicies</a></p>
|
|
1363
1363
|
:type AutoSnapshotPolicyId: str
|
|
1364
|
-
:param _EnableAutoScaleUp: <p
|
|
1364
|
+
:param _EnableAutoScaleUp: <p>是否开启自动扩容策略,仅turbo类型文件存储支持</p>
|
|
1365
1365
|
:type EnableAutoScaleUp: bool
|
|
1366
|
-
:param _CfsVersion: <p>v1.5
|
|
1366
|
+
:param _CfsVersion: <p>文件系统版本号。</p><p>枚举值:</p><ul><li>v1.5: 创建通用标准型/通用性能型文件系统</li><li>v3.1: 创建通用标准型(增强型)/通用性能型(增强型)文件系统,如需创建增强型,此为必填项。</li><li>v4.0: 创建Turbo标准型、Turbo性能型、吞吐型文件系统,非必填项</li></ul><p>创建通用标准型(增强型)、通用性能型(增强型)须加白主账号,如需使用请联系我们。</p>
|
|
1367
1367
|
:type CfsVersion: str
|
|
1368
|
-
:param _MetaType: <p>turbo
|
|
1368
|
+
:param _MetaType: <p>turbo文件系统元数据类型</p><p>枚举值:</p><ul><li>basic: 创建标准版元数据。</li><li>enhanced: 创建增强版元数据</li></ul><p>详情参见<a href="https://cloud.tencent.com/document/product/582/116836">Turbo 文件系统元数据类型</a></p>
|
|
1369
1369
|
:type MetaType: str
|
|
1370
|
+
:param _Scenario: <p>业务场景。</p><p>枚举值:</p><ul><li>AgentSandbox: 创建 AgentCFS 时必传</li></ul>
|
|
1371
|
+
:type Scenario: str
|
|
1370
1372
|
"""
|
|
1371
1373
|
self._Zone = None
|
|
1372
1374
|
self._NetInterface = None
|
|
@@ -1388,10 +1390,11 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1388
1390
|
self._EnableAutoScaleUp = None
|
|
1389
1391
|
self._CfsVersion = None
|
|
1390
1392
|
self._MetaType = None
|
|
1393
|
+
self._Scenario = None
|
|
1391
1394
|
|
|
1392
1395
|
@property
|
|
1393
1396
|
def Zone(self):
|
|
1394
|
-
r"""<p
|
|
1397
|
+
r"""<p>可用区名称</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/213/15707?">查询可用区列表</a></p>
|
|
1395
1398
|
:rtype: str
|
|
1396
1399
|
"""
|
|
1397
1400
|
return self._Zone
|
|
@@ -1402,7 +1405,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1402
1405
|
|
|
1403
1406
|
@property
|
|
1404
1407
|
def NetInterface(self):
|
|
1405
|
-
r"""<p
|
|
1408
|
+
r"""<p>网络类型</p><p>枚举值:</p><ul><li><p>VPC: 私有网络</p></li><li><p>CCN: 云联网</p></li><li><p>通用标准型/性能型(含增强型)、吞吐型请选择VPC</p></li><li><p>Turbo标准型/性能型可选VPC或CCN</p></li><li><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS时无需传入,传入将被忽略。</p></li></ul>
|
|
1406
1409
|
:rtype: str
|
|
1407
1410
|
"""
|
|
1408
1411
|
return self._NetInterface
|
|
@@ -1413,7 +1416,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1413
1416
|
|
|
1414
1417
|
@property
|
|
1415
1418
|
def PGroupId(self):
|
|
1416
|
-
r"""<p>权限组 ID
|
|
1419
|
+
r"""<p>权限组 ID。权限组规定了一组可来访白名单及操作权限。</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/582/38157">DescribeCfsPGroups</a></p><ul><li>pgroupbasic 为【默认权限组】,【默认权限组】允许所有IP地址访问及读写权限。 </li><li>注意:当 Scenario=AgentSandbox 时,即创建 AgentCFS ,必须传入 pgroupbasic【默认权限组】,传其他值报错。</li></ul>
|
|
1417
1420
|
:rtype: str
|
|
1418
1421
|
"""
|
|
1419
1422
|
return self._PGroupId
|
|
@@ -1424,7 +1427,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1424
1427
|
|
|
1425
1428
|
@property
|
|
1426
1429
|
def Protocol(self):
|
|
1427
|
-
r"""<p
|
|
1430
|
+
r"""<p>文件系统协议类型</p><p>枚举值:</p><ul><li>NFS: 通用标准型(含增强型)、通用性能型(含增强型)支持创建此协议的实例</li><li>CIFS: 即SMB协议,仅部分可用区的通用标准型、吞吐型支持此协议。</li><li>TURBO: Turbo标准型/Turbo性能型/AgentCFS是支持创建此协议的实例</li></ul><p>默认值:NFS</p>
|
|
1428
1431
|
:rtype: str
|
|
1429
1432
|
"""
|
|
1430
1433
|
return self._Protocol
|
|
@@ -1435,7 +1438,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1435
1438
|
|
|
1436
1439
|
@property
|
|
1437
1440
|
def StorageType(self):
|
|
1438
|
-
r"""<p
|
|
1441
|
+
r"""<p>文件系统存储类型其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。</p><p>枚举值:</p><ul><li>SD: 通用标准型(含增强型)。通用标准型 version = v1.5,通用标准型(增强型) version = v3.1。</li><li>HP: 通用性能型(含增强型)。通用性能型 version = v1.5,通用性能型(增强型) version = v3.1。</li><li>TB: Turbo标准型</li><li>TP: Turbo性能型</li><li>THP: 吞吐型</li></ul><p>默认值:SD</p>
|
|
1439
1442
|
:rtype: str
|
|
1440
1443
|
"""
|
|
1441
1444
|
return self._StorageType
|
|
@@ -1446,7 +1449,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1446
1449
|
|
|
1447
1450
|
@property
|
|
1448
1451
|
def VpcId(self):
|
|
1449
|
-
r"""<p>私有网络(VPC) ID,若网络类型选择的是VPC
|
|
1452
|
+
r"""<p>私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/215/15778">查询VPC列表</a></p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略。</p>
|
|
1450
1453
|
:rtype: str
|
|
1451
1454
|
"""
|
|
1452
1455
|
return self._VpcId
|
|
@@ -1457,7 +1460,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1457
1460
|
|
|
1458
1461
|
@property
|
|
1459
1462
|
def SubnetId(self):
|
|
1460
|
-
r"""<p>子网 ID,若网络类型选择的是VPC
|
|
1463
|
+
r"""<p>子网 ID,若网络类型选择的是VPC,该字段为必填。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/215/15784">查询子网列表</a></p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略。</p>
|
|
1461
1464
|
:rtype: str
|
|
1462
1465
|
"""
|
|
1463
1466
|
return self._SubnetId
|
|
@@ -1523,7 +1526,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1523
1526
|
|
|
1524
1527
|
@property
|
|
1525
1528
|
def CcnId(self):
|
|
1526
|
-
r"""<p>云联网ID, 若网络类型选择的是CCN
|
|
1529
|
+
r"""<p>云联网ID, 若网络类型选择的是CCN,该字段为必填</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/215/19199">查询CCN列表</a></p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略</p>
|
|
1527
1530
|
:rtype: str
|
|
1528
1531
|
"""
|
|
1529
1532
|
return self._CcnId
|
|
@@ -1534,7 +1537,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1534
1537
|
|
|
1535
1538
|
@property
|
|
1536
1539
|
def CidrBlock(self):
|
|
1537
|
-
r"""<p>云联网中CFS使用的网段, 若网络类型选择的是
|
|
1540
|
+
r"""<p>云联网中CFS使用的网段, 若网络类型选择的是CCN,该字段为必填,且不能和Ccn中已经绑定的网段冲突</p><p>当 Scenario=AgentSandbox 时,即创建 AgentCFS 时无需传入,传入将被忽略</p>
|
|
1538
1541
|
:rtype: str
|
|
1539
1542
|
"""
|
|
1540
1543
|
return self._CidrBlock
|
|
@@ -1545,7 +1548,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1545
1548
|
|
|
1546
1549
|
@property
|
|
1547
1550
|
def Capacity(self):
|
|
1548
|
-
r"""<p>文件系统容量,turbo
|
|
1551
|
+
r"""<p>文件系统容量,turbo系列必填</p><p>单位:GiB</p><p>Turbo标准型起售20TiB,即20480 GiB,扩容步长10TiB,即10240 GiB。Turbo性能型起售10TiB,即10240 GiB,扩容步长10TiB,即10240 GiB。</p>
|
|
1549
1552
|
:rtype: int
|
|
1550
1553
|
"""
|
|
1551
1554
|
return self._Capacity
|
|
@@ -1556,7 +1559,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1556
1559
|
|
|
1557
1560
|
@property
|
|
1558
1561
|
def SnapshotId(self):
|
|
1559
|
-
r"""<p>文件系统快照ID
|
|
1562
|
+
r"""<p>文件系统快照 ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/582/80206">DescribeCfsSnapshots</a></p>
|
|
1560
1563
|
:rtype: str
|
|
1561
1564
|
"""
|
|
1562
1565
|
return self._SnapshotId
|
|
@@ -1567,7 +1570,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1567
1570
|
|
|
1568
1571
|
@property
|
|
1569
1572
|
def AutoSnapshotPolicyId(self):
|
|
1570
|
-
r"""<p>定期快照策略ID
|
|
1573
|
+
r"""<p>定期快照策略 ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/582/80208">DescribeAutoSnapshotPolicies</a></p>
|
|
1571
1574
|
:rtype: str
|
|
1572
1575
|
"""
|
|
1573
1576
|
return self._AutoSnapshotPolicyId
|
|
@@ -1578,7 +1581,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1578
1581
|
|
|
1579
1582
|
@property
|
|
1580
1583
|
def EnableAutoScaleUp(self):
|
|
1581
|
-
r"""<p
|
|
1584
|
+
r"""<p>是否开启自动扩容策略,仅turbo类型文件存储支持</p>
|
|
1582
1585
|
:rtype: bool
|
|
1583
1586
|
"""
|
|
1584
1587
|
return self._EnableAutoScaleUp
|
|
@@ -1589,7 +1592,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1589
1592
|
|
|
1590
1593
|
@property
|
|
1591
1594
|
def CfsVersion(self):
|
|
1592
|
-
r"""<p>v1.5
|
|
1595
|
+
r"""<p>文件系统版本号。</p><p>枚举值:</p><ul><li>v1.5: 创建通用标准型/通用性能型文件系统</li><li>v3.1: 创建通用标准型(增强型)/通用性能型(增强型)文件系统,如需创建增强型,此为必填项。</li><li>v4.0: 创建Turbo标准型、Turbo性能型、吞吐型文件系统,非必填项</li></ul><p>创建通用标准型(增强型)、通用性能型(增强型)须加白主账号,如需使用请联系我们。</p>
|
|
1593
1596
|
:rtype: str
|
|
1594
1597
|
"""
|
|
1595
1598
|
return self._CfsVersion
|
|
@@ -1600,7 +1603,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1600
1603
|
|
|
1601
1604
|
@property
|
|
1602
1605
|
def MetaType(self):
|
|
1603
|
-
r"""<p>turbo
|
|
1606
|
+
r"""<p>turbo文件系统元数据类型</p><p>枚举值:</p><ul><li>basic: 创建标准版元数据。</li><li>enhanced: 创建增强版元数据</li></ul><p>详情参见<a href="https://cloud.tencent.com/document/product/582/116836">Turbo 文件系统元数据类型</a></p>
|
|
1604
1607
|
:rtype: str
|
|
1605
1608
|
"""
|
|
1606
1609
|
return self._MetaType
|
|
@@ -1609,6 +1612,17 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1609
1612
|
def MetaType(self, MetaType):
|
|
1610
1613
|
self._MetaType = MetaType
|
|
1611
1614
|
|
|
1615
|
+
@property
|
|
1616
|
+
def Scenario(self):
|
|
1617
|
+
r"""<p>业务场景。</p><p>枚举值:</p><ul><li>AgentSandbox: 创建 AgentCFS 时必传</li></ul>
|
|
1618
|
+
:rtype: str
|
|
1619
|
+
"""
|
|
1620
|
+
return self._Scenario
|
|
1621
|
+
|
|
1622
|
+
@Scenario.setter
|
|
1623
|
+
def Scenario(self, Scenario):
|
|
1624
|
+
self._Scenario = Scenario
|
|
1625
|
+
|
|
1612
1626
|
|
|
1613
1627
|
def _deserialize(self, params):
|
|
1614
1628
|
self._Zone = params.get("Zone")
|
|
@@ -1636,6 +1650,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
|
|
|
1636
1650
|
self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
|
|
1637
1651
|
self._CfsVersion = params.get("CfsVersion")
|
|
1638
1652
|
self._MetaType = params.get("MetaType")
|
|
1653
|
+
self._Scenario = params.get("Scenario")
|
|
1639
1654
|
memeber_set = set(params.keys())
|
|
1640
1655
|
for name, value in vars(self).items():
|
|
1641
1656
|
property_name = name[1:]
|
|
@@ -5318,18 +5333,22 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5318
5333
|
|
|
5319
5334
|
def __init__(self):
|
|
5320
5335
|
r"""
|
|
5321
|
-
:param _FileSystemId:
|
|
5336
|
+
:param _FileSystemId: <p>文件系统 ID</p>
|
|
5322
5337
|
:type FileSystemId: str
|
|
5323
|
-
:param _VpcId:
|
|
5338
|
+
:param _VpcId: <p>私有网络(VPC) ID</p>
|
|
5324
5339
|
:type VpcId: str
|
|
5325
|
-
:param _SubnetId:
|
|
5340
|
+
:param _SubnetId: <p>子网 ID</p>
|
|
5326
5341
|
:type SubnetId: str
|
|
5327
|
-
:param _Offset: Offset 分页码,默认0
|
|
5342
|
+
:param _Offset: <p>Offset 分页码,默认0</p>
|
|
5328
5343
|
:type Offset: int
|
|
5329
|
-
:param _Limit: Limit 页面大小,默认10
|
|
5344
|
+
:param _Limit: <p>Limit 页面大小,默认10</p>
|
|
5330
5345
|
:type Limit: int
|
|
5331
|
-
:param _CreationToken:
|
|
5346
|
+
:param _CreationToken: <p>用户自定义名称</p>
|
|
5332
5347
|
:type CreationToken: str
|
|
5348
|
+
:param _Filters: <p>过滤条件。<br><br><li>Protocol - Array of String - 是否必填:否 -(过滤条件)按协议过滤。(NFS | CIFS | TURBO) </li><br><br><li>StorageType - Array of String - 是否必填:否 -(过滤条件)按存储类型过滤。(SD | HP | TB | TP | THP) </li><br><br><li>LifeCycleState - Array of String - 是否必填:否 -(过滤条件)按生命周期过滤。(creating | create_failed | available | deleting | delete_failed | upgrading | unserviced | expanding) </li><br><br><li>Zone - Array of String - 是否必填:否 -(过滤条件)按可用区过滤。(例如:ap-guangzhou-3) </li><br><br><li>IpAddress - Array of String - 是否必填:否 -(过滤条件)按导出点IP地址过滤。(例如:10.0.0.3) </li><br><br><li>PGroupId - Array of String - 是否必填:否 -(过滤条件)按权限组ID过滤。(例如:pgroup-xxxxxrxt) </li><br><br><li>PGroupName - Array of String - 是否必填:否 -(过滤条件)按权限组名称过滤。(例如:默认权限组) </li><br><br><li>Scenario- Array of String - 是否必填:否 -(过滤条件)按权限组名称过滤。(例如:AgentSandbox) </li></p>
|
|
5349
|
+
:type Filters: list of Filter
|
|
5350
|
+
:param _Tags: <p>标签</p>
|
|
5351
|
+
:type Tags: list of TagInfo
|
|
5333
5352
|
"""
|
|
5334
5353
|
self._FileSystemId = None
|
|
5335
5354
|
self._VpcId = None
|
|
@@ -5337,10 +5356,12 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5337
5356
|
self._Offset = None
|
|
5338
5357
|
self._Limit = None
|
|
5339
5358
|
self._CreationToken = None
|
|
5359
|
+
self._Filters = None
|
|
5360
|
+
self._Tags = None
|
|
5340
5361
|
|
|
5341
5362
|
@property
|
|
5342
5363
|
def FileSystemId(self):
|
|
5343
|
-
r"""
|
|
5364
|
+
r"""<p>文件系统 ID</p>
|
|
5344
5365
|
:rtype: str
|
|
5345
5366
|
"""
|
|
5346
5367
|
return self._FileSystemId
|
|
@@ -5351,7 +5372,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5351
5372
|
|
|
5352
5373
|
@property
|
|
5353
5374
|
def VpcId(self):
|
|
5354
|
-
r"""
|
|
5375
|
+
r"""<p>私有网络(VPC) ID</p>
|
|
5355
5376
|
:rtype: str
|
|
5356
5377
|
"""
|
|
5357
5378
|
return self._VpcId
|
|
@@ -5362,7 +5383,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5362
5383
|
|
|
5363
5384
|
@property
|
|
5364
5385
|
def SubnetId(self):
|
|
5365
|
-
r"""
|
|
5386
|
+
r"""<p>子网 ID</p>
|
|
5366
5387
|
:rtype: str
|
|
5367
5388
|
"""
|
|
5368
5389
|
return self._SubnetId
|
|
@@ -5373,7 +5394,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5373
5394
|
|
|
5374
5395
|
@property
|
|
5375
5396
|
def Offset(self):
|
|
5376
|
-
r"""Offset 分页码,默认0
|
|
5397
|
+
r"""<p>Offset 分页码,默认0</p>
|
|
5377
5398
|
:rtype: int
|
|
5378
5399
|
"""
|
|
5379
5400
|
return self._Offset
|
|
@@ -5384,7 +5405,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5384
5405
|
|
|
5385
5406
|
@property
|
|
5386
5407
|
def Limit(self):
|
|
5387
|
-
r"""Limit 页面大小,默认10
|
|
5408
|
+
r"""<p>Limit 页面大小,默认10</p>
|
|
5388
5409
|
:rtype: int
|
|
5389
5410
|
"""
|
|
5390
5411
|
return self._Limit
|
|
@@ -5395,7 +5416,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5395
5416
|
|
|
5396
5417
|
@property
|
|
5397
5418
|
def CreationToken(self):
|
|
5398
|
-
r"""
|
|
5419
|
+
r"""<p>用户自定义名称</p>
|
|
5399
5420
|
:rtype: str
|
|
5400
5421
|
"""
|
|
5401
5422
|
return self._CreationToken
|
|
@@ -5404,6 +5425,28 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5404
5425
|
def CreationToken(self, CreationToken):
|
|
5405
5426
|
self._CreationToken = CreationToken
|
|
5406
5427
|
|
|
5428
|
+
@property
|
|
5429
|
+
def Filters(self):
|
|
5430
|
+
r"""<p>过滤条件。<br><br><li>Protocol - Array of String - 是否必填:否 -(过滤条件)按协议过滤。(NFS | CIFS | TURBO) </li><br><br><li>StorageType - Array of String - 是否必填:否 -(过滤条件)按存储类型过滤。(SD | HP | TB | TP | THP) </li><br><br><li>LifeCycleState - Array of String - 是否必填:否 -(过滤条件)按生命周期过滤。(creating | create_failed | available | deleting | delete_failed | upgrading | unserviced | expanding) </li><br><br><li>Zone - Array of String - 是否必填:否 -(过滤条件)按可用区过滤。(例如:ap-guangzhou-3) </li><br><br><li>IpAddress - Array of String - 是否必填:否 -(过滤条件)按导出点IP地址过滤。(例如:10.0.0.3) </li><br><br><li>PGroupId - Array of String - 是否必填:否 -(过滤条件)按权限组ID过滤。(例如:pgroup-xxxxxrxt) </li><br><br><li>PGroupName - Array of String - 是否必填:否 -(过滤条件)按权限组名称过滤。(例如:默认权限组) </li><br><br><li>Scenario- Array of String - 是否必填:否 -(过滤条件)按权限组名称过滤。(例如:AgentSandbox) </li></p>
|
|
5431
|
+
:rtype: list of Filter
|
|
5432
|
+
"""
|
|
5433
|
+
return self._Filters
|
|
5434
|
+
|
|
5435
|
+
@Filters.setter
|
|
5436
|
+
def Filters(self, Filters):
|
|
5437
|
+
self._Filters = Filters
|
|
5438
|
+
|
|
5439
|
+
@property
|
|
5440
|
+
def Tags(self):
|
|
5441
|
+
r"""<p>标签</p>
|
|
5442
|
+
:rtype: list of TagInfo
|
|
5443
|
+
"""
|
|
5444
|
+
return self._Tags
|
|
5445
|
+
|
|
5446
|
+
@Tags.setter
|
|
5447
|
+
def Tags(self, Tags):
|
|
5448
|
+
self._Tags = Tags
|
|
5449
|
+
|
|
5407
5450
|
|
|
5408
5451
|
def _deserialize(self, params):
|
|
5409
5452
|
self._FileSystemId = params.get("FileSystemId")
|
|
@@ -5412,6 +5455,18 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
|
|
|
5412
5455
|
self._Offset = params.get("Offset")
|
|
5413
5456
|
self._Limit = params.get("Limit")
|
|
5414
5457
|
self._CreationToken = params.get("CreationToken")
|
|
5458
|
+
if params.get("Filters") is not None:
|
|
5459
|
+
self._Filters = []
|
|
5460
|
+
for item in params.get("Filters"):
|
|
5461
|
+
obj = Filter()
|
|
5462
|
+
obj._deserialize(item)
|
|
5463
|
+
self._Filters.append(obj)
|
|
5464
|
+
if params.get("Tags") is not None:
|
|
5465
|
+
self._Tags = []
|
|
5466
|
+
for item in params.get("Tags"):
|
|
5467
|
+
obj = TagInfo()
|
|
5468
|
+
obj._deserialize(item)
|
|
5469
|
+
self._Tags.append(obj)
|
|
5415
5470
|
memeber_set = set(params.keys())
|
|
5416
5471
|
for name, value in vars(self).items():
|
|
5417
5472
|
property_name = name[1:]
|
|
@@ -5429,9 +5484,9 @@ class DescribeCfsFileSystemsResponse(AbstractModel):
|
|
|
5429
5484
|
|
|
5430
5485
|
def __init__(self):
|
|
5431
5486
|
r"""
|
|
5432
|
-
:param _FileSystems:
|
|
5487
|
+
:param _FileSystems: <p>文件系统信息</p>
|
|
5433
5488
|
:type FileSystems: list of FileSystemInfo
|
|
5434
|
-
:param _TotalCount:
|
|
5489
|
+
:param _TotalCount: <p>文件系统总数</p>
|
|
5435
5490
|
:type TotalCount: int
|
|
5436
5491
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5437
5492
|
:type RequestId: str
|
|
@@ -5442,7 +5497,7 @@ class DescribeCfsFileSystemsResponse(AbstractModel):
|
|
|
5442
5497
|
|
|
5443
5498
|
@property
|
|
5444
5499
|
def FileSystems(self):
|
|
5445
|
-
r"""
|
|
5500
|
+
r"""<p>文件系统信息</p>
|
|
5446
5501
|
:rtype: list of FileSystemInfo
|
|
5447
5502
|
"""
|
|
5448
5503
|
return self._FileSystems
|
|
@@ -5453,7 +5508,7 @@ class DescribeCfsFileSystemsResponse(AbstractModel):
|
|
|
5453
5508
|
|
|
5454
5509
|
@property
|
|
5455
5510
|
def TotalCount(self):
|
|
5456
|
-
r"""
|
|
5511
|
+
r"""<p>文件系统总数</p>
|
|
5457
5512
|
:rtype: int
|
|
5458
5513
|
"""
|
|
5459
5514
|
return self._TotalCount
|
|
@@ -7753,73 +7808,71 @@ class FileSystemInfo(AbstractModel):
|
|
|
7753
7808
|
|
|
7754
7809
|
def __init__(self):
|
|
7755
7810
|
r"""
|
|
7756
|
-
:param _CreationTime:
|
|
7811
|
+
:param _CreationTime: <p>创建时间</p>
|
|
7757
7812
|
:type CreationTime: str
|
|
7758
|
-
:param _CreationToken:
|
|
7813
|
+
:param _CreationToken: <p>用户自定义名称</p>
|
|
7759
7814
|
:type CreationToken: str
|
|
7760
|
-
:param _FileSystemId:
|
|
7815
|
+
:param _FileSystemId: <p>文件系统 ID</p>
|
|
7761
7816
|
:type FileSystemId: str
|
|
7762
|
-
:param _LifeCycleState:
|
|
7763
|
-
- creating:创建中
|
|
7764
|
-
- mounting:挂载中
|
|
7765
|
-
- create_failed:创建失败
|
|
7766
|
-
- available:可使用
|
|
7767
|
-
- unserviced:停服中
|
|
7768
|
-
- upgrading:升级中
|
|
7817
|
+
:param _LifeCycleState: <p>文件系统状态。取值范围:</p><ul><li>creating:创建中</li><li>mounting:挂载中</li><li>create_failed:创建失败</li><li>available:可使用</li><li>unserviced:停服中</li><li>upgrading:升级中</li></ul>
|
|
7769
7818
|
:type LifeCycleState: str
|
|
7770
|
-
:param _SizeByte:
|
|
7819
|
+
:param _SizeByte: <p>文件系统已使用容量。单位:Byte</p>
|
|
7771
7820
|
:type SizeByte: int
|
|
7772
|
-
:param _SizeLimit:
|
|
7821
|
+
:param _SizeLimit: <p>文件系统空间限制。单位:GiB</p>
|
|
7773
7822
|
:type SizeLimit: int
|
|
7774
|
-
:param _ZoneId:
|
|
7823
|
+
:param _ZoneId: <p>区域 ID</p>
|
|
7775
7824
|
:type ZoneId: int
|
|
7776
|
-
:param _Zone:
|
|
7825
|
+
:param _Zone: <p>区域名称</p>
|
|
7777
7826
|
:type Zone: str
|
|
7778
|
-
:param _Protocol:
|
|
7827
|
+
:param _Protocol: <p>文件系统协议类型, 支持 NFS,CIFS,TURBO</p>
|
|
7779
7828
|
:type Protocol: str
|
|
7780
|
-
:param _StorageType:
|
|
7829
|
+
:param _StorageType: <p>存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型</p>
|
|
7781
7830
|
:type StorageType: str
|
|
7782
|
-
:param _StorageResourcePkg:
|
|
7831
|
+
:param _StorageResourcePkg: <p>文件系统绑定的预付费存储包</p>
|
|
7783
7832
|
:type StorageResourcePkg: str
|
|
7784
|
-
:param _BandwidthResourcePkg:
|
|
7833
|
+
:param _BandwidthResourcePkg: <p>文件系统绑定的预付费带宽包(暂未支持)</p>
|
|
7785
7834
|
:type BandwidthResourcePkg: str
|
|
7786
|
-
:param _PGroup:
|
|
7835
|
+
:param _PGroup: <p>文件系统绑定权限组信息</p>
|
|
7787
7836
|
:type PGroup: :class:`tencentcloud.cfs.v20190719.models.PGroup`
|
|
7788
|
-
:param _FsName:
|
|
7837
|
+
:param _FsName: <p>用户自定义名称</p>
|
|
7789
7838
|
:type FsName: str
|
|
7790
|
-
:param _Encrypted:
|
|
7839
|
+
:param _Encrypted: <p>文件系统是否加密,true:代表加密,false:非加密</p>
|
|
7791
7840
|
:type Encrypted: bool
|
|
7792
|
-
:param _KmsKeyId:
|
|
7841
|
+
:param _KmsKeyId: <p>加密所使用的密钥,可以为密钥的 ID 或者 ARN</p>
|
|
7793
7842
|
:type KmsKeyId: str
|
|
7794
|
-
:param _AppId:
|
|
7843
|
+
:param _AppId: <p>应用ID</p>
|
|
7795
7844
|
:type AppId: int
|
|
7796
|
-
:param _BandwidthLimit:
|
|
7845
|
+
:param _BandwidthLimit: <p>文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s</p>
|
|
7797
7846
|
:type BandwidthLimit: float
|
|
7798
|
-
:param _AutoSnapshotPolicyId:
|
|
7847
|
+
:param _AutoSnapshotPolicyId: <p>文件系统关联的快照策略</p>
|
|
7799
7848
|
:type AutoSnapshotPolicyId: str
|
|
7800
|
-
:param _SnapStatus:
|
|
7849
|
+
:param _SnapStatus: <p>文件系统处理快照状态,snapping:快照中,normal:正常状态</p>
|
|
7801
7850
|
:type SnapStatus: str
|
|
7802
|
-
:param _Capacity:
|
|
7803
|
-
单位:GiB
|
|
7851
|
+
:param _Capacity: <p>文件系统容量规格上限<br>单位:GiB</p>
|
|
7804
7852
|
:type Capacity: int
|
|
7805
|
-
:param _Tags:
|
|
7853
|
+
:param _Tags: <p>文件系统标签列表</p>
|
|
7806
7854
|
:type Tags: list of TagInfo
|
|
7807
|
-
:param _TieringState:
|
|
7808
|
-
NotAvailable:不可用
|
|
7809
|
-
Available:可用
|
|
7855
|
+
:param _TieringState: <p>文件系统生命周期管理状态<br>NotAvailable:不可用<br>Available:可用</p>
|
|
7810
7856
|
:type TieringState: str
|
|
7811
|
-
:param _TieringDetail:
|
|
7857
|
+
:param _TieringDetail: <p>分层存储详情</p>
|
|
7812
7858
|
:type TieringDetail: :class:`tencentcloud.cfs.v20190719.models.TieringDetailInfo`
|
|
7813
|
-
:param _AutoScaleUpRule:
|
|
7859
|
+
:param _AutoScaleUpRule: <p>文件系统自动扩容策略</p>
|
|
7814
7860
|
:type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
|
|
7815
|
-
:param _Version:
|
|
7861
|
+
:param _Version: <p>文件系统版本</p>
|
|
7816
7862
|
:type Version: str
|
|
7817
|
-
:param _ExstraPerformanceInfo:
|
|
7863
|
+
:param _ExstraPerformanceInfo: <p>额外性能信息</p>
|
|
7818
7864
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7819
7865
|
:type ExstraPerformanceInfo: list of ExstraPerformanceInfo
|
|
7820
|
-
:param _MetaType: basic
|
|
7821
|
-
enhanced:增项版元数据类型
|
|
7866
|
+
:param _MetaType: <p>basic:标准版元数据类型<br>enhanced:增项版元数据类型</p>
|
|
7822
7867
|
:type MetaType: str
|
|
7868
|
+
:param _Scenario: <p>业务场景。</p><p>枚举值:</p><ul><li>AgentSandbox: 创建 AgentCFS</li></ul>
|
|
7869
|
+
:type Scenario: str
|
|
7870
|
+
:param _FullDeleteCapacityUsage: <p>过满删除容量占比,0.0 表示关闭</p><p>取值范围:[0.0, 1.0]</p>
|
|
7871
|
+
:type FullDeleteCapacityUsage: float
|
|
7872
|
+
:param _FullDeleteMinTtl: <p>过满删除最小存活时间,单位秒</p><p>单位:秒</p>
|
|
7873
|
+
:type FullDeleteMinTtl: int
|
|
7874
|
+
:param _ExpireDeleteTtl: <p>过期删除 TTL,单位秒,0 表示关闭</p><p>单位:秒</p>
|
|
7875
|
+
:type ExpireDeleteTtl: int
|
|
7823
7876
|
"""
|
|
7824
7877
|
self._CreationTime = None
|
|
7825
7878
|
self._CreationToken = None
|
|
@@ -7849,10 +7902,14 @@ enhanced:增项版元数据类型
|
|
|
7849
7902
|
self._Version = None
|
|
7850
7903
|
self._ExstraPerformanceInfo = None
|
|
7851
7904
|
self._MetaType = None
|
|
7905
|
+
self._Scenario = None
|
|
7906
|
+
self._FullDeleteCapacityUsage = None
|
|
7907
|
+
self._FullDeleteMinTtl = None
|
|
7908
|
+
self._ExpireDeleteTtl = None
|
|
7852
7909
|
|
|
7853
7910
|
@property
|
|
7854
7911
|
def CreationTime(self):
|
|
7855
|
-
r"""
|
|
7912
|
+
r"""<p>创建时间</p>
|
|
7856
7913
|
:rtype: str
|
|
7857
7914
|
"""
|
|
7858
7915
|
return self._CreationTime
|
|
@@ -7863,7 +7920,7 @@ enhanced:增项版元数据类型
|
|
|
7863
7920
|
|
|
7864
7921
|
@property
|
|
7865
7922
|
def CreationToken(self):
|
|
7866
|
-
r"""
|
|
7923
|
+
r"""<p>用户自定义名称</p>
|
|
7867
7924
|
:rtype: str
|
|
7868
7925
|
"""
|
|
7869
7926
|
return self._CreationToken
|
|
@@ -7874,7 +7931,7 @@ enhanced:增项版元数据类型
|
|
|
7874
7931
|
|
|
7875
7932
|
@property
|
|
7876
7933
|
def FileSystemId(self):
|
|
7877
|
-
r"""
|
|
7934
|
+
r"""<p>文件系统 ID</p>
|
|
7878
7935
|
:rtype: str
|
|
7879
7936
|
"""
|
|
7880
7937
|
return self._FileSystemId
|
|
@@ -7885,13 +7942,7 @@ enhanced:增项版元数据类型
|
|
|
7885
7942
|
|
|
7886
7943
|
@property
|
|
7887
7944
|
def LifeCycleState(self):
|
|
7888
|
-
r"""
|
|
7889
|
-
- creating:创建中
|
|
7890
|
-
- mounting:挂载中
|
|
7891
|
-
- create_failed:创建失败
|
|
7892
|
-
- available:可使用
|
|
7893
|
-
- unserviced:停服中
|
|
7894
|
-
- upgrading:升级中
|
|
7945
|
+
r"""<p>文件系统状态。取值范围:</p><ul><li>creating:创建中</li><li>mounting:挂载中</li><li>create_failed:创建失败</li><li>available:可使用</li><li>unserviced:停服中</li><li>upgrading:升级中</li></ul>
|
|
7895
7946
|
:rtype: str
|
|
7896
7947
|
"""
|
|
7897
7948
|
return self._LifeCycleState
|
|
@@ -7902,7 +7953,7 @@ enhanced:增项版元数据类型
|
|
|
7902
7953
|
|
|
7903
7954
|
@property
|
|
7904
7955
|
def SizeByte(self):
|
|
7905
|
-
r"""
|
|
7956
|
+
r"""<p>文件系统已使用容量。单位:Byte</p>
|
|
7906
7957
|
:rtype: int
|
|
7907
7958
|
"""
|
|
7908
7959
|
return self._SizeByte
|
|
@@ -7913,7 +7964,7 @@ enhanced:增项版元数据类型
|
|
|
7913
7964
|
|
|
7914
7965
|
@property
|
|
7915
7966
|
def SizeLimit(self):
|
|
7916
|
-
r"""
|
|
7967
|
+
r"""<p>文件系统空间限制。单位:GiB</p>
|
|
7917
7968
|
:rtype: int
|
|
7918
7969
|
"""
|
|
7919
7970
|
return self._SizeLimit
|
|
@@ -7924,7 +7975,7 @@ enhanced:增项版元数据类型
|
|
|
7924
7975
|
|
|
7925
7976
|
@property
|
|
7926
7977
|
def ZoneId(self):
|
|
7927
|
-
r"""
|
|
7978
|
+
r"""<p>区域 ID</p>
|
|
7928
7979
|
:rtype: int
|
|
7929
7980
|
"""
|
|
7930
7981
|
return self._ZoneId
|
|
@@ -7935,7 +7986,7 @@ enhanced:增项版元数据类型
|
|
|
7935
7986
|
|
|
7936
7987
|
@property
|
|
7937
7988
|
def Zone(self):
|
|
7938
|
-
r"""
|
|
7989
|
+
r"""<p>区域名称</p>
|
|
7939
7990
|
:rtype: str
|
|
7940
7991
|
"""
|
|
7941
7992
|
return self._Zone
|
|
@@ -7946,7 +7997,7 @@ enhanced:增项版元数据类型
|
|
|
7946
7997
|
|
|
7947
7998
|
@property
|
|
7948
7999
|
def Protocol(self):
|
|
7949
|
-
r"""
|
|
8000
|
+
r"""<p>文件系统协议类型, 支持 NFS,CIFS,TURBO</p>
|
|
7950
8001
|
:rtype: str
|
|
7951
8002
|
"""
|
|
7952
8003
|
return self._Protocol
|
|
@@ -7957,7 +8008,7 @@ enhanced:增项版元数据类型
|
|
|
7957
8008
|
|
|
7958
8009
|
@property
|
|
7959
8010
|
def StorageType(self):
|
|
7960
|
-
r"""
|
|
8011
|
+
r"""<p>存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型</p>
|
|
7961
8012
|
:rtype: str
|
|
7962
8013
|
"""
|
|
7963
8014
|
return self._StorageType
|
|
@@ -7968,7 +8019,7 @@ enhanced:增项版元数据类型
|
|
|
7968
8019
|
|
|
7969
8020
|
@property
|
|
7970
8021
|
def StorageResourcePkg(self):
|
|
7971
|
-
r"""
|
|
8022
|
+
r"""<p>文件系统绑定的预付费存储包</p>
|
|
7972
8023
|
:rtype: str
|
|
7973
8024
|
"""
|
|
7974
8025
|
return self._StorageResourcePkg
|
|
@@ -7979,7 +8030,7 @@ enhanced:增项版元数据类型
|
|
|
7979
8030
|
|
|
7980
8031
|
@property
|
|
7981
8032
|
def BandwidthResourcePkg(self):
|
|
7982
|
-
r"""
|
|
8033
|
+
r"""<p>文件系统绑定的预付费带宽包(暂未支持)</p>
|
|
7983
8034
|
:rtype: str
|
|
7984
8035
|
"""
|
|
7985
8036
|
return self._BandwidthResourcePkg
|
|
@@ -7990,7 +8041,7 @@ enhanced:增项版元数据类型
|
|
|
7990
8041
|
|
|
7991
8042
|
@property
|
|
7992
8043
|
def PGroup(self):
|
|
7993
|
-
r"""
|
|
8044
|
+
r"""<p>文件系统绑定权限组信息</p>
|
|
7994
8045
|
:rtype: :class:`tencentcloud.cfs.v20190719.models.PGroup`
|
|
7995
8046
|
"""
|
|
7996
8047
|
return self._PGroup
|
|
@@ -8001,7 +8052,7 @@ enhanced:增项版元数据类型
|
|
|
8001
8052
|
|
|
8002
8053
|
@property
|
|
8003
8054
|
def FsName(self):
|
|
8004
|
-
r"""
|
|
8055
|
+
r"""<p>用户自定义名称</p>
|
|
8005
8056
|
:rtype: str
|
|
8006
8057
|
"""
|
|
8007
8058
|
return self._FsName
|
|
@@ -8012,7 +8063,7 @@ enhanced:增项版元数据类型
|
|
|
8012
8063
|
|
|
8013
8064
|
@property
|
|
8014
8065
|
def Encrypted(self):
|
|
8015
|
-
r"""
|
|
8066
|
+
r"""<p>文件系统是否加密,true:代表加密,false:非加密</p>
|
|
8016
8067
|
:rtype: bool
|
|
8017
8068
|
"""
|
|
8018
8069
|
return self._Encrypted
|
|
@@ -8023,7 +8074,7 @@ enhanced:增项版元数据类型
|
|
|
8023
8074
|
|
|
8024
8075
|
@property
|
|
8025
8076
|
def KmsKeyId(self):
|
|
8026
|
-
r"""
|
|
8077
|
+
r"""<p>加密所使用的密钥,可以为密钥的 ID 或者 ARN</p>
|
|
8027
8078
|
:rtype: str
|
|
8028
8079
|
"""
|
|
8029
8080
|
return self._KmsKeyId
|
|
@@ -8034,7 +8085,7 @@ enhanced:增项版元数据类型
|
|
|
8034
8085
|
|
|
8035
8086
|
@property
|
|
8036
8087
|
def AppId(self):
|
|
8037
|
-
r"""
|
|
8088
|
+
r"""<p>应用ID</p>
|
|
8038
8089
|
:rtype: int
|
|
8039
8090
|
"""
|
|
8040
8091
|
return self._AppId
|
|
@@ -8045,7 +8096,7 @@ enhanced:增项版元数据类型
|
|
|
8045
8096
|
|
|
8046
8097
|
@property
|
|
8047
8098
|
def BandwidthLimit(self):
|
|
8048
|
-
r"""
|
|
8099
|
+
r"""<p>文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s</p>
|
|
8049
8100
|
:rtype: float
|
|
8050
8101
|
"""
|
|
8051
8102
|
return self._BandwidthLimit
|
|
@@ -8056,7 +8107,7 @@ enhanced:增项版元数据类型
|
|
|
8056
8107
|
|
|
8057
8108
|
@property
|
|
8058
8109
|
def AutoSnapshotPolicyId(self):
|
|
8059
|
-
r"""
|
|
8110
|
+
r"""<p>文件系统关联的快照策略</p>
|
|
8060
8111
|
:rtype: str
|
|
8061
8112
|
"""
|
|
8062
8113
|
return self._AutoSnapshotPolicyId
|
|
@@ -8067,7 +8118,7 @@ enhanced:增项版元数据类型
|
|
|
8067
8118
|
|
|
8068
8119
|
@property
|
|
8069
8120
|
def SnapStatus(self):
|
|
8070
|
-
r"""
|
|
8121
|
+
r"""<p>文件系统处理快照状态,snapping:快照中,normal:正常状态</p>
|
|
8071
8122
|
:rtype: str
|
|
8072
8123
|
"""
|
|
8073
8124
|
return self._SnapStatus
|
|
@@ -8078,8 +8129,7 @@ enhanced:增项版元数据类型
|
|
|
8078
8129
|
|
|
8079
8130
|
@property
|
|
8080
8131
|
def Capacity(self):
|
|
8081
|
-
r"""
|
|
8082
|
-
单位:GiB
|
|
8132
|
+
r"""<p>文件系统容量规格上限<br>单位:GiB</p>
|
|
8083
8133
|
:rtype: int
|
|
8084
8134
|
"""
|
|
8085
8135
|
return self._Capacity
|
|
@@ -8090,7 +8140,7 @@ enhanced:增项版元数据类型
|
|
|
8090
8140
|
|
|
8091
8141
|
@property
|
|
8092
8142
|
def Tags(self):
|
|
8093
|
-
r"""
|
|
8143
|
+
r"""<p>文件系统标签列表</p>
|
|
8094
8144
|
:rtype: list of TagInfo
|
|
8095
8145
|
"""
|
|
8096
8146
|
return self._Tags
|
|
@@ -8101,9 +8151,7 @@ enhanced:增项版元数据类型
|
|
|
8101
8151
|
|
|
8102
8152
|
@property
|
|
8103
8153
|
def TieringState(self):
|
|
8104
|
-
r"""
|
|
8105
|
-
NotAvailable:不可用
|
|
8106
|
-
Available:可用
|
|
8154
|
+
r"""<p>文件系统生命周期管理状态<br>NotAvailable:不可用<br>Available:可用</p>
|
|
8107
8155
|
:rtype: str
|
|
8108
8156
|
"""
|
|
8109
8157
|
return self._TieringState
|
|
@@ -8114,7 +8162,7 @@ Available:可用
|
|
|
8114
8162
|
|
|
8115
8163
|
@property
|
|
8116
8164
|
def TieringDetail(self):
|
|
8117
|
-
r"""
|
|
8165
|
+
r"""<p>分层存储详情</p>
|
|
8118
8166
|
:rtype: :class:`tencentcloud.cfs.v20190719.models.TieringDetailInfo`
|
|
8119
8167
|
"""
|
|
8120
8168
|
return self._TieringDetail
|
|
@@ -8125,7 +8173,7 @@ Available:可用
|
|
|
8125
8173
|
|
|
8126
8174
|
@property
|
|
8127
8175
|
def AutoScaleUpRule(self):
|
|
8128
|
-
r"""
|
|
8176
|
+
r"""<p>文件系统自动扩容策略</p>
|
|
8129
8177
|
:rtype: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
|
|
8130
8178
|
"""
|
|
8131
8179
|
return self._AutoScaleUpRule
|
|
@@ -8136,7 +8184,7 @@ Available:可用
|
|
|
8136
8184
|
|
|
8137
8185
|
@property
|
|
8138
8186
|
def Version(self):
|
|
8139
|
-
r"""
|
|
8187
|
+
r"""<p>文件系统版本</p>
|
|
8140
8188
|
:rtype: str
|
|
8141
8189
|
"""
|
|
8142
8190
|
return self._Version
|
|
@@ -8147,7 +8195,7 @@ Available:可用
|
|
|
8147
8195
|
|
|
8148
8196
|
@property
|
|
8149
8197
|
def ExstraPerformanceInfo(self):
|
|
8150
|
-
r"""
|
|
8198
|
+
r"""<p>额外性能信息</p>
|
|
8151
8199
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8152
8200
|
:rtype: list of ExstraPerformanceInfo
|
|
8153
8201
|
"""
|
|
@@ -8159,8 +8207,7 @@ Available:可用
|
|
|
8159
8207
|
|
|
8160
8208
|
@property
|
|
8161
8209
|
def MetaType(self):
|
|
8162
|
-
r"""basic
|
|
8163
|
-
enhanced:增项版元数据类型
|
|
8210
|
+
r"""<p>basic:标准版元数据类型<br>enhanced:增项版元数据类型</p>
|
|
8164
8211
|
:rtype: str
|
|
8165
8212
|
"""
|
|
8166
8213
|
return self._MetaType
|
|
@@ -8169,6 +8216,50 @@ enhanced:增项版元数据类型
|
|
|
8169
8216
|
def MetaType(self, MetaType):
|
|
8170
8217
|
self._MetaType = MetaType
|
|
8171
8218
|
|
|
8219
|
+
@property
|
|
8220
|
+
def Scenario(self):
|
|
8221
|
+
r"""<p>业务场景。</p><p>枚举值:</p><ul><li>AgentSandbox: 创建 AgentCFS</li></ul>
|
|
8222
|
+
:rtype: str
|
|
8223
|
+
"""
|
|
8224
|
+
return self._Scenario
|
|
8225
|
+
|
|
8226
|
+
@Scenario.setter
|
|
8227
|
+
def Scenario(self, Scenario):
|
|
8228
|
+
self._Scenario = Scenario
|
|
8229
|
+
|
|
8230
|
+
@property
|
|
8231
|
+
def FullDeleteCapacityUsage(self):
|
|
8232
|
+
r"""<p>过满删除容量占比,0.0 表示关闭</p><p>取值范围:[0.0, 1.0]</p>
|
|
8233
|
+
:rtype: float
|
|
8234
|
+
"""
|
|
8235
|
+
return self._FullDeleteCapacityUsage
|
|
8236
|
+
|
|
8237
|
+
@FullDeleteCapacityUsage.setter
|
|
8238
|
+
def FullDeleteCapacityUsage(self, FullDeleteCapacityUsage):
|
|
8239
|
+
self._FullDeleteCapacityUsage = FullDeleteCapacityUsage
|
|
8240
|
+
|
|
8241
|
+
@property
|
|
8242
|
+
def FullDeleteMinTtl(self):
|
|
8243
|
+
r"""<p>过满删除最小存活时间,单位秒</p><p>单位:秒</p>
|
|
8244
|
+
:rtype: int
|
|
8245
|
+
"""
|
|
8246
|
+
return self._FullDeleteMinTtl
|
|
8247
|
+
|
|
8248
|
+
@FullDeleteMinTtl.setter
|
|
8249
|
+
def FullDeleteMinTtl(self, FullDeleteMinTtl):
|
|
8250
|
+
self._FullDeleteMinTtl = FullDeleteMinTtl
|
|
8251
|
+
|
|
8252
|
+
@property
|
|
8253
|
+
def ExpireDeleteTtl(self):
|
|
8254
|
+
r"""<p>过期删除 TTL,单位秒,0 表示关闭</p><p>单位:秒</p>
|
|
8255
|
+
:rtype: int
|
|
8256
|
+
"""
|
|
8257
|
+
return self._ExpireDeleteTtl
|
|
8258
|
+
|
|
8259
|
+
@ExpireDeleteTtl.setter
|
|
8260
|
+
def ExpireDeleteTtl(self, ExpireDeleteTtl):
|
|
8261
|
+
self._ExpireDeleteTtl = ExpireDeleteTtl
|
|
8262
|
+
|
|
8172
8263
|
|
|
8173
8264
|
def _deserialize(self, params):
|
|
8174
8265
|
self._CreationTime = params.get("CreationTime")
|
|
@@ -8215,6 +8306,10 @@ enhanced:增项版元数据类型
|
|
|
8215
8306
|
obj._deserialize(item)
|
|
8216
8307
|
self._ExstraPerformanceInfo.append(obj)
|
|
8217
8308
|
self._MetaType = params.get("MetaType")
|
|
8309
|
+
self._Scenario = params.get("Scenario")
|
|
8310
|
+
self._FullDeleteCapacityUsage = params.get("FullDeleteCapacityUsage")
|
|
8311
|
+
self._FullDeleteMinTtl = params.get("FullDeleteMinTtl")
|
|
8312
|
+
self._ExpireDeleteTtl = params.get("ExpireDeleteTtl")
|
|
8218
8313
|
memeber_set = set(params.keys())
|
|
8219
8314
|
for name, value in vars(self).items():
|
|
8220
8315
|
property_name = name[1:]
|
|
@@ -10944,7 +11039,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
10944
11039
|
:type UserId: str
|
|
10945
11040
|
:param _CapacityHardLimit: <p>容量硬限制,单位GiB。设置范围10-10000000。</p>
|
|
10946
11041
|
:type CapacityHardLimit: int
|
|
10947
|
-
:param _FileHardLimit: <p
|
|
11042
|
+
:param _FileHardLimit: <p>文件硬限制</p><p>取值范围:[1000, 1000000000]</p><p>单位:个</p><p>默认值:无默认值</p>
|
|
10948
11043
|
:type FileHardLimit: int
|
|
10949
11044
|
:param _DirectoryPath: <p>需设置配额的目录路径,必须以 /cfs/ 开头,代表文件存储实例内部的逻辑路径,而非本地挂载点路径。不同目录之间不可存在包含关系。<br>示例:</p><ul><li>若挂载的是CFS根目录 /,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/test1/test2</li><li>若挂载的是CFS子目录 /subdir,需对挂载路径下的 test1/test2 设置配额,则入参值为 /cfs/subdir/test1/test2</li></ul>
|
|
10950
11045
|
:type DirectoryPath: str
|
|
@@ -11002,7 +11097,7 @@ class SetUserQuotaRequest(AbstractModel):
|
|
|
11002
11097
|
|
|
11003
11098
|
@property
|
|
11004
11099
|
def FileHardLimit(self):
|
|
11005
|
-
r"""<p
|
|
11100
|
+
r"""<p>文件硬限制</p><p>取值范围:[1000, 1000000000]</p><p>单位:个</p><p>默认值:无默认值</p>
|
|
11006
11101
|
:rtype: int
|
|
11007
11102
|
"""
|
|
11008
11103
|
return self._FileHardLimit
|
|
@@ -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.177
|
|
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.177
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|