tencentcloud-sdk-python-cdb 3.1.169__tar.gz → 3.1.171__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_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/cdb/v20170320/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/cdb/v20170320/models.py +34 -0
  6. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_cdb-3.1.171/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_cdb-3.1.169/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/README.rst +0 -0
  10. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/cdb/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/cdb/v20170320/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
  14. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
  15. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cdb-3.1.169 → tencentcloud_sdk_python_cdb-3.1.171}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.169
3
+ Version: 3.1.171
4
4
  Summary: Tencent Cloud Cdb 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.169
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.171
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-cdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.169,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.171,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.169'
17
+ __version__ = '3.1.171'
@@ -23,6 +23,9 @@ AUTHFAILURE_INVALIDAUTHORIZATION = 'AuthFailure.InvalidAuthorization'
23
23
  # 子账号无权限。
24
24
  AUTHFAILURE_SUBACCOUNTDENIED = 'AuthFailure.SubAccountDenied'
25
25
 
26
+ # 鉴权失败,没有权限操作。
27
+ AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
28
+
26
29
  # 后端错误或者流程错误。
27
30
  CDBERROR = 'CdbError'
28
31
 
@@ -8665,6 +8665,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
8665
8665
  :type DestroyProtect: str
8666
8666
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
8667
8667
  :type FourthZone: str
8668
+ :param _AutoStrategy: <p>弹性扩容参数(如果不传,则不开启)</p>
8669
+ :type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
8668
8670
  """
8669
8671
  self._GoodsNum = None
8670
8672
  self._Memory = None
@@ -8711,6 +8713,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
8711
8713
  self._DiskEncryption = None
8712
8714
  self._DestroyProtect = None
8713
8715
  self._FourthZone = None
8716
+ self._AutoStrategy = None
8714
8717
 
8715
8718
  @property
8716
8719
  def GoodsNum(self):
@@ -9207,6 +9210,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
9207
9210
  def FourthZone(self, FourthZone):
9208
9211
  self._FourthZone = FourthZone
9209
9212
 
9213
+ @property
9214
+ def AutoStrategy(self):
9215
+ r"""<p>弹性扩容参数(如果不传,则不开启)</p>
9216
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
9217
+ """
9218
+ return self._AutoStrategy
9219
+
9220
+ @AutoStrategy.setter
9221
+ def AutoStrategy(self, AutoStrategy):
9222
+ self._AutoStrategy = AutoStrategy
9223
+
9210
9224
 
9211
9225
  def _deserialize(self, params):
9212
9226
  self._GoodsNum = params.get("GoodsNum")
@@ -9268,6 +9282,9 @@ class CreateDBInstanceHourRequest(AbstractModel):
9268
9282
  self._DiskEncryption = params.get("DiskEncryption")
9269
9283
  self._DestroyProtect = params.get("DestroyProtect")
9270
9284
  self._FourthZone = params.get("FourthZone")
9285
+ if params.get("AutoStrategy") is not None:
9286
+ self._AutoStrategy = AutoStrategy()
9287
+ self._AutoStrategy._deserialize(params.get("AutoStrategy"))
9271
9288
  memeber_set = set(params.keys())
9272
9289
  for name, value in vars(self).items():
9273
9290
  property_name = name[1:]
@@ -9431,6 +9448,8 @@ class CreateDBInstanceRequest(AbstractModel):
9431
9448
  :type DestroyProtect: str
9432
9449
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
9433
9450
  :type FourthZone: str
9451
+ :param _AutoStrategy: <p>弹性扩容参数(如果不传,则不开启)</p>
9452
+ :type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
9434
9453
  """
9435
9454
  self._Memory = None
9436
9455
  self._Volume = None
@@ -9476,6 +9495,7 @@ class CreateDBInstanceRequest(AbstractModel):
9476
9495
  self._DiskEncryption = None
9477
9496
  self._DestroyProtect = None
9478
9497
  self._FourthZone = None
9498
+ self._AutoStrategy = None
9479
9499
 
9480
9500
  @property
9481
9501
  def Memory(self):
@@ -9961,6 +9981,17 @@ class CreateDBInstanceRequest(AbstractModel):
9961
9981
  def FourthZone(self, FourthZone):
9962
9982
  self._FourthZone = FourthZone
9963
9983
 
9984
+ @property
9985
+ def AutoStrategy(self):
9986
+ r"""<p>弹性扩容参数(如果不传,则不开启)</p>
9987
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
9988
+ """
9989
+ return self._AutoStrategy
9990
+
9991
+ @AutoStrategy.setter
9992
+ def AutoStrategy(self, AutoStrategy):
9993
+ self._AutoStrategy = AutoStrategy
9994
+
9964
9995
 
9965
9996
  def _deserialize(self, params):
9966
9997
  self._Memory = params.get("Memory")
@@ -10021,6 +10052,9 @@ class CreateDBInstanceRequest(AbstractModel):
10021
10052
  self._DiskEncryption = params.get("DiskEncryption")
10022
10053
  self._DestroyProtect = params.get("DestroyProtect")
10023
10054
  self._FourthZone = params.get("FourthZone")
10055
+ if params.get("AutoStrategy") is not None:
10056
+ self._AutoStrategy = AutoStrategy()
10057
+ self._AutoStrategy._deserialize(params.get("AutoStrategy"))
10024
10058
  memeber_set = set(params.keys())
10025
10059
  for name, value in vars(self).items():
10026
10060
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.169
3
+ Version: 3.1.171
4
4
  Summary: Tencent Cloud Cdb 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.169
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.171
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.171
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.169