tencentcloud-sdk-python-cbs 3.0.1397__tar.gz → 3.0.1432__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 (16) hide show
  1. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  5. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud/cbs/v20170312/errorcodes.py +4 -1
  6. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud/cbs/v20170312/models.py +16 -1
  7. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud_sdk_python_cbs.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-cbs-3.0.1432/tencentcloud_sdk_python_cbs.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-cbs-3.0.1397/tencentcloud_sdk_python_cbs.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/README.rst +0 -0
  11. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud/cbs/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud/cbs/v20170312/__init__.py +0 -0
  14. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud_sdk_python_cbs.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud_sdk_python_cbs.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cbs-3.0.1397 → tencentcloud-sdk-python-cbs-3.0.1432}/tencentcloud_sdk_python_cbs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cbs
3
- Version: 3.0.1397
3
+ Version: 3.0.1432
4
4
  Summary: Tencent Cloud Cbs SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cbs',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1397"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1432,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cbs SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1397'
17
+ __version__ = '3.0.1432'
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -146,6 +146,9 @@ RESOURCEINSUFFICIENT_OVERQUOTA = 'ResourceInsufficient.OverQuota'
146
146
  # 云盘退还数量已达上限,不能再退还。
147
147
  RESOURCEINSUFFICIENT_OVERREFUNDQUOTA = 'ResourceInsufficient.OverRefundQuota'
148
148
 
149
+ # 云硬盘升级服务繁忙,请稍后重试。
150
+ RESOURCEINSUFFICIENT_UPGRADESERVICEBUSY = 'ResourceInsufficient.UpgradeServiceBusy'
151
+
149
152
  # 资源不存在。
150
153
  RESOURCENOTFOUND = 'ResourceNotFound'
151
154
 
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -2224,12 +2224,15 @@ class CreateSnapshotRequest(AbstractModel):
2224
2224
  :type DiskBackupId: str
2225
2225
  :param _Tags: 快照绑定的标签。
2226
2226
  :type Tags: list of Tag
2227
+ :param _DiskUsage: 快照关联云硬盘类型, SYSTEM_DISK: 系统盘, DATA_DISK: 数据盘,非必填参数,不填时快照类型与云盘类型保持一致, 该参数基于某些场景用户需要将系统盘创建出数据盘快照共享使用。
2228
+ :type DiskUsage: str
2227
2229
  """
2228
2230
  self._DiskId = None
2229
2231
  self._SnapshotName = None
2230
2232
  self._Deadline = None
2231
2233
  self._DiskBackupId = None
2232
2234
  self._Tags = None
2235
+ self._DiskUsage = None
2233
2236
 
2234
2237
  @property
2235
2238
  def DiskId(self):
@@ -2286,6 +2289,17 @@ class CreateSnapshotRequest(AbstractModel):
2286
2289
  def Tags(self, Tags):
2287
2290
  self._Tags = Tags
2288
2291
 
2292
+ @property
2293
+ def DiskUsage(self):
2294
+ """快照关联云硬盘类型, SYSTEM_DISK: 系统盘, DATA_DISK: 数据盘,非必填参数,不填时快照类型与云盘类型保持一致, 该参数基于某些场景用户需要将系统盘创建出数据盘快照共享使用。
2295
+ :rtype: str
2296
+ """
2297
+ return self._DiskUsage
2298
+
2299
+ @DiskUsage.setter
2300
+ def DiskUsage(self, DiskUsage):
2301
+ self._DiskUsage = DiskUsage
2302
+
2289
2303
 
2290
2304
  def _deserialize(self, params):
2291
2305
  self._DiskId = params.get("DiskId")
@@ -2298,6 +2312,7 @@ class CreateSnapshotRequest(AbstractModel):
2298
2312
  obj = Tag()
2299
2313
  obj._deserialize(item)
2300
2314
  self._Tags.append(obj)
2315
+ self._DiskUsage = params.get("DiskUsage")
2301
2316
  memeber_set = set(params.keys())
2302
2317
  for name, value in vars(self).items():
2303
2318
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cbs
3
- Version: 3.0.1397
3
+ Version: 3.0.1432
4
4
  Summary: Tencent Cloud Cbs SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1432
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1397