tencentcloud-sdk-python-cynosdb 3.1.147__tar.gz → 3.1.148__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_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
  5. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +36 -0
  6. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/cynosdb/v20190107/models.py +68 -0
  7. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_cynosdb-3.1.148/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_cynosdb-3.1.147/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/README.rst +0 -0
  11. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/cynosdb/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cynosdb-3.1.147 → tencentcloud_sdk_python_cynosdb-3.1.148}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.147
3
+ Version: 3.1.148
4
4
  Summary: Tencent Cloud Cynosdb 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.147
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.148
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-cynosdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.147,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.148,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cynosdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.147'
17
+ __version__ = '3.1.148'
@@ -5362,6 +5362,29 @@ class CynosdbClient(AbstractClient):
5362
5362
  raise TencentCloudSDKException(type(e).__name__, str(e))
5363
5363
 
5364
5364
 
5365
+ def TransferClusterPrepayToPostpay(self, request):
5366
+ r"""本接口(TransferClusterPrepayToPostpay)用于将预付费集群转为后付费集群
5367
+
5368
+ :param request: Request instance for TransferClusterPrepayToPostpay.
5369
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.TransferClusterPrepayToPostpayRequest`
5370
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.TransferClusterPrepayToPostpayResponse`
5371
+
5372
+ """
5373
+ try:
5374
+ params = request._serialize()
5375
+ headers = request.headers
5376
+ body = self.call("TransferClusterPrepayToPostpay", params, headers=headers)
5377
+ response = json.loads(body)
5378
+ model = models.TransferClusterPrepayToPostpayResponse()
5379
+ model._deserialize(response["Response"])
5380
+ return model
5381
+ except Exception as e:
5382
+ if isinstance(e, TencentCloudSDKException):
5383
+ raise
5384
+ else:
5385
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5386
+
5387
+
5365
5388
  def TransferClusterZone(self, request):
5366
5389
  r"""本接口(TransferClusterZone)用于发起跨可用区迁移。
5367
5390
 
@@ -5385,6 +5408,29 @@ class CynosdbClient(AbstractClient):
5385
5408
  raise TencentCloudSDKException(type(e).__name__, str(e))
5386
5409
 
5387
5410
 
5411
+ def TransferStoragePrepayToPostpay(self, request):
5412
+ r"""本接口(TransferStoragePrepayToPostpay)用于将预付费存储转为后付费存储
5413
+
5414
+ :param request: Request instance for TransferStoragePrepayToPostpay.
5415
+ :type request: :class:`tencentcloud.cynosdb.v20190107.models.TransferStoragePrepayToPostpayRequest`
5416
+ :rtype: :class:`tencentcloud.cynosdb.v20190107.models.TransferStoragePrepayToPostpayResponse`
5417
+
5418
+ """
5419
+ try:
5420
+ params = request._serialize()
5421
+ headers = request.headers
5422
+ body = self.call("TransferStoragePrepayToPostpay", params, headers=headers)
5423
+ response = json.loads(body)
5424
+ model = models.TransferStoragePrepayToPostpayResponse()
5425
+ model._deserialize(response["Response"])
5426
+ return model
5427
+ except Exception as e:
5428
+ if isinstance(e, TencentCloudSDKException):
5429
+ raise
5430
+ else:
5431
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5432
+
5433
+
5388
5434
  def UnbindClusterResourcePackages(self, request):
5389
5435
  r"""本接口(UnbindClusterResourcePackages)用于解除资源包与集群之间的绑定关系。
5390
5436
 
@@ -4201,6 +4201,24 @@ class CynosdbClient(AbstractClient):
4201
4201
 
4202
4202
  return await self.call_and_deserialize(**kwargs)
4203
4203
 
4204
+ async def TransferClusterPrepayToPostpay(
4205
+ self,
4206
+ request: models.TransferClusterPrepayToPostpayRequest,
4207
+ opts: Dict = None,
4208
+ ) -> models.TransferClusterPrepayToPostpayResponse:
4209
+ """
4210
+ 本接口(TransferClusterPrepayToPostpay)用于将预付费集群转为后付费集群
4211
+ """
4212
+
4213
+ kwargs = {}
4214
+ kwargs["action"] = "TransferClusterPrepayToPostpay"
4215
+ kwargs["params"] = request._serialize()
4216
+ kwargs["resp_cls"] = models.TransferClusterPrepayToPostpayResponse
4217
+ kwargs["headers"] = request.headers
4218
+ kwargs["opts"] = opts or {}
4219
+
4220
+ return await self.call_and_deserialize(**kwargs)
4221
+
4204
4222
  async def TransferClusterZone(
4205
4223
  self,
4206
4224
  request: models.TransferClusterZoneRequest,
@@ -4219,6 +4237,24 @@ class CynosdbClient(AbstractClient):
4219
4237
 
4220
4238
  return await self.call_and_deserialize(**kwargs)
4221
4239
 
4240
+ async def TransferStoragePrepayToPostpay(
4241
+ self,
4242
+ request: models.TransferStoragePrepayToPostpayRequest,
4243
+ opts: Dict = None,
4244
+ ) -> models.TransferStoragePrepayToPostpayResponse:
4245
+ """
4246
+ 本接口(TransferStoragePrepayToPostpay)用于将预付费存储转为后付费存储
4247
+ """
4248
+
4249
+ kwargs = {}
4250
+ kwargs["action"] = "TransferStoragePrepayToPostpay"
4251
+ kwargs["params"] = request._serialize()
4252
+ kwargs["resp_cls"] = models.TransferStoragePrepayToPostpayResponse
4253
+ kwargs["headers"] = request.headers
4254
+ kwargs["opts"] = opts or {}
4255
+
4256
+ return await self.call_and_deserialize(**kwargs)
4257
+
4222
4258
  async def UnbindClusterResourcePackages(
4223
4259
  self,
4224
4260
  request: models.UnbindClusterResourcePackagesRequest,
@@ -60169,6 +60169,40 @@ class TradePrice(AbstractModel):
60169
60169
 
60170
60170
 
60171
60171
 
60172
+ class TransferClusterPrepayToPostpayRequest(AbstractModel):
60173
+ r"""TransferClusterPrepayToPostpay请求参数结构体
60174
+
60175
+ """
60176
+
60177
+
60178
+ class TransferClusterPrepayToPostpayResponse(AbstractModel):
60179
+ r"""TransferClusterPrepayToPostpay返回参数结构体
60180
+
60181
+ """
60182
+
60183
+ def __init__(self):
60184
+ r"""
60185
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
60186
+ :type RequestId: str
60187
+ """
60188
+ self._RequestId = None
60189
+
60190
+ @property
60191
+ def RequestId(self):
60192
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
60193
+ :rtype: str
60194
+ """
60195
+ return self._RequestId
60196
+
60197
+ @RequestId.setter
60198
+ def RequestId(self, RequestId):
60199
+ self._RequestId = RequestId
60200
+
60201
+
60202
+ def _deserialize(self, params):
60203
+ self._RequestId = params.get("RequestId")
60204
+
60205
+
60172
60206
  class TransferClusterZoneRequest(AbstractModel):
60173
60207
  r"""TransferClusterZone请求参数结构体
60174
60208
 
@@ -60328,6 +60362,40 @@ class TransferClusterZoneResponse(AbstractModel):
60328
60362
  self._RequestId = params.get("RequestId")
60329
60363
 
60330
60364
 
60365
+ class TransferStoragePrepayToPostpayRequest(AbstractModel):
60366
+ r"""TransferStoragePrepayToPostpay请求参数结构体
60367
+
60368
+ """
60369
+
60370
+
60371
+ class TransferStoragePrepayToPostpayResponse(AbstractModel):
60372
+ r"""TransferStoragePrepayToPostpay返回参数结构体
60373
+
60374
+ """
60375
+
60376
+ def __init__(self):
60377
+ r"""
60378
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
60379
+ :type RequestId: str
60380
+ """
60381
+ self._RequestId = None
60382
+
60383
+ @property
60384
+ def RequestId(self):
60385
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
60386
+ :rtype: str
60387
+ """
60388
+ return self._RequestId
60389
+
60390
+ @RequestId.setter
60391
+ def RequestId(self, RequestId):
60392
+ self._RequestId = RequestId
60393
+
60394
+
60395
+ def _deserialize(self, params):
60396
+ self._RequestId = params.get("RequestId")
60397
+
60398
+
60331
60399
  class UnbindClusterResourcePackagesRequest(AbstractModel):
60332
60400
  r"""UnbindClusterResourcePackages请求参数结构体
60333
60401
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.147
3
+ Version: 3.1.148
4
4
  Summary: Tencent Cloud Cynosdb 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.147
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.148
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.148
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.147