tencentcloud-sdk-python-cfs 3.1.162__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/models.py +103 -18
  6. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud_sdk_python_cfs.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_cfs-3.1.177/tencentcloud_sdk_python_cfs.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_cfs-3.1.162/tencentcloud_sdk_python_cfs.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/README.rst +0 -0
  10. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/cfs_client.py +0 -0
  14. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud/cfs/v20190719/cfs_client_async.py +0 -0
  15. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud_sdk_python_cfs.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cfs-3.1.162 → tencentcloud_sdk_python_cfs-3.1.177}/tencentcloud_sdk_python_cfs.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cfs-3.1.162 → 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.162
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.162
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.162,<4.0.0"],
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',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.162'
17
+ __version__ = '3.1.177'
@@ -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
 
@@ -5333,18 +5333,22 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5333
5333
 
5334
5334
  def __init__(self):
5335
5335
  r"""
5336
- :param _FileSystemId: 文件系统 ID
5336
+ :param _FileSystemId: <p>文件系统 ID</p>
5337
5337
  :type FileSystemId: str
5338
- :param _VpcId: 私有网络(VPC) ID
5338
+ :param _VpcId: <p>私有网络(VPC) ID</p>
5339
5339
  :type VpcId: str
5340
- :param _SubnetId: 子网 ID
5340
+ :param _SubnetId: <p>子网 ID</p>
5341
5341
  :type SubnetId: str
5342
- :param _Offset: Offset 分页码,默认0
5342
+ :param _Offset: <p>Offset 分页码,默认0</p>
5343
5343
  :type Offset: int
5344
- :param _Limit: Limit 页面大小,默认10
5344
+ :param _Limit: <p>Limit 页面大小,默认10</p>
5345
5345
  :type Limit: int
5346
- :param _CreationToken: 用户自定义名称
5346
+ :param _CreationToken: <p>用户自定义名称</p>
5347
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
5348
5352
  """
5349
5353
  self._FileSystemId = None
5350
5354
  self._VpcId = None
@@ -5352,10 +5356,12 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5352
5356
  self._Offset = None
5353
5357
  self._Limit = None
5354
5358
  self._CreationToken = None
5359
+ self._Filters = None
5360
+ self._Tags = None
5355
5361
 
5356
5362
  @property
5357
5363
  def FileSystemId(self):
5358
- r"""文件系统 ID
5364
+ r"""<p>文件系统 ID</p>
5359
5365
  :rtype: str
5360
5366
  """
5361
5367
  return self._FileSystemId
@@ -5366,7 +5372,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5366
5372
 
5367
5373
  @property
5368
5374
  def VpcId(self):
5369
- r"""私有网络(VPC) ID
5375
+ r"""<p>私有网络(VPC) ID</p>
5370
5376
  :rtype: str
5371
5377
  """
5372
5378
  return self._VpcId
@@ -5377,7 +5383,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5377
5383
 
5378
5384
  @property
5379
5385
  def SubnetId(self):
5380
- r"""子网 ID
5386
+ r"""<p>子网 ID</p>
5381
5387
  :rtype: str
5382
5388
  """
5383
5389
  return self._SubnetId
@@ -5388,7 +5394,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5388
5394
 
5389
5395
  @property
5390
5396
  def Offset(self):
5391
- r"""Offset 分页码,默认0
5397
+ r"""<p>Offset 分页码,默认0</p>
5392
5398
  :rtype: int
5393
5399
  """
5394
5400
  return self._Offset
@@ -5399,7 +5405,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5399
5405
 
5400
5406
  @property
5401
5407
  def Limit(self):
5402
- r"""Limit 页面大小,默认10
5408
+ r"""<p>Limit 页面大小,默认10</p>
5403
5409
  :rtype: int
5404
5410
  """
5405
5411
  return self._Limit
@@ -5410,7 +5416,7 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5410
5416
 
5411
5417
  @property
5412
5418
  def CreationToken(self):
5413
- r"""用户自定义名称
5419
+ r"""<p>用户自定义名称</p>
5414
5420
  :rtype: str
5415
5421
  """
5416
5422
  return self._CreationToken
@@ -5419,6 +5425,28 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5419
5425
  def CreationToken(self, CreationToken):
5420
5426
  self._CreationToken = CreationToken
5421
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
+
5422
5450
 
5423
5451
  def _deserialize(self, params):
5424
5452
  self._FileSystemId = params.get("FileSystemId")
@@ -5427,6 +5455,18 @@ class DescribeCfsFileSystemsRequest(AbstractModel):
5427
5455
  self._Offset = params.get("Offset")
5428
5456
  self._Limit = params.get("Limit")
5429
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)
5430
5470
  memeber_set = set(params.keys())
5431
5471
  for name, value in vars(self).items():
5432
5472
  property_name = name[1:]
@@ -5444,9 +5484,9 @@ class DescribeCfsFileSystemsResponse(AbstractModel):
5444
5484
 
5445
5485
  def __init__(self):
5446
5486
  r"""
5447
- :param _FileSystems: 文件系统信息
5487
+ :param _FileSystems: <p>文件系统信息</p>
5448
5488
  :type FileSystems: list of FileSystemInfo
5449
- :param _TotalCount: 文件系统总数
5489
+ :param _TotalCount: <p>文件系统总数</p>
5450
5490
  :type TotalCount: int
5451
5491
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5452
5492
  :type RequestId: str
@@ -5457,7 +5497,7 @@ class DescribeCfsFileSystemsResponse(AbstractModel):
5457
5497
 
5458
5498
  @property
5459
5499
  def FileSystems(self):
5460
- r"""文件系统信息
5500
+ r"""<p>文件系统信息</p>
5461
5501
  :rtype: list of FileSystemInfo
5462
5502
  """
5463
5503
  return self._FileSystems
@@ -5468,7 +5508,7 @@ class DescribeCfsFileSystemsResponse(AbstractModel):
5468
5508
 
5469
5509
  @property
5470
5510
  def TotalCount(self):
5471
- r"""文件系统总数
5511
+ r"""<p>文件系统总数</p>
5472
5512
  :rtype: int
5473
5513
  """
5474
5514
  return self._TotalCount
@@ -7827,6 +7867,12 @@ class FileSystemInfo(AbstractModel):
7827
7867
  :type MetaType: str
7828
7868
  :param _Scenario: <p>业务场景。</p><p>枚举值:</p><ul><li>AgentSandbox: 创建 AgentCFS</li></ul>
7829
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
7830
7876
  """
7831
7877
  self._CreationTime = None
7832
7878
  self._CreationToken = None
@@ -7857,6 +7903,9 @@ class FileSystemInfo(AbstractModel):
7857
7903
  self._ExstraPerformanceInfo = None
7858
7904
  self._MetaType = None
7859
7905
  self._Scenario = None
7906
+ self._FullDeleteCapacityUsage = None
7907
+ self._FullDeleteMinTtl = None
7908
+ self._ExpireDeleteTtl = None
7860
7909
 
7861
7910
  @property
7862
7911
  def CreationTime(self):
@@ -8178,6 +8227,39 @@ class FileSystemInfo(AbstractModel):
8178
8227
  def Scenario(self, Scenario):
8179
8228
  self._Scenario = Scenario
8180
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
+
8181
8263
 
8182
8264
  def _deserialize(self, params):
8183
8265
  self._CreationTime = params.get("CreationTime")
@@ -8225,6 +8307,9 @@ class FileSystemInfo(AbstractModel):
8225
8307
  self._ExstraPerformanceInfo.append(obj)
8226
8308
  self._MetaType = params.get("MetaType")
8227
8309
  self._Scenario = params.get("Scenario")
8310
+ self._FullDeleteCapacityUsage = params.get("FullDeleteCapacityUsage")
8311
+ self._FullDeleteMinTtl = params.get("FullDeleteMinTtl")
8312
+ self._ExpireDeleteTtl = params.get("ExpireDeleteTtl")
8228
8313
  memeber_set = set(params.keys())
8229
8314
  for name, value in vars(self).items():
8230
8315
  property_name = name[1:]
@@ -10954,7 +11039,7 @@ class SetUserQuotaRequest(AbstractModel):
10954
11039
  :type UserId: str
10955
11040
  :param _CapacityHardLimit: <p>容量硬限制,单位GiB。设置范围10-10000000。</p>
10956
11041
  :type CapacityHardLimit: int
10957
- :param _FileHardLimit: <p>文件硬限制,单位个。设置范围1000-100000000</p>
11042
+ :param _FileHardLimit: <p>文件硬限制</p><p>取值范围:[1000, 1000000000]</p><p>单位:个</p><p>默认值:无默认值</p>
10958
11043
  :type FileHardLimit: int
10959
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>
10960
11045
  :type DirectoryPath: str
@@ -11012,7 +11097,7 @@ class SetUserQuotaRequest(AbstractModel):
11012
11097
 
11013
11098
  @property
11014
11099
  def FileHardLimit(self):
11015
- r"""<p>文件硬限制,单位个。设置范围1000-100000000</p>
11100
+ r"""<p>文件硬限制</p><p>取值范围:[1000, 1000000000]</p><p>单位:个</p><p>默认值:无默认值</p>
11016
11101
  :rtype: int
11017
11102
  """
11018
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.162
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.162
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.162