tencentcloud-sdk-python-cynosdb 3.1.196__tar.gz → 3.1.203__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_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/setup.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +36 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/cynosdb/v20190107/errorcodes.py +21 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/cynosdb/v20190107/models.py +554 -22
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cynosdb-3.1.203/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cynosdb-3.1.196/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/README.rst +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/cynosdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.203
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/setup.py
RENAMED
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.203,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cynosdb SDK for Python',
|
|
@@ -2188,6 +2188,29 @@ class CynosdbClient(AbstractClient):
|
|
|
2188
2188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2189
2189
|
|
|
2190
2190
|
|
|
2191
|
+
def DescribeInstanceServerlessQuota(self, request):
|
|
2192
|
+
r"""查询集群设置的serverless弹性配置
|
|
2193
|
+
|
|
2194
|
+
:param request: Request instance for DescribeInstanceServerlessQuota.
|
|
2195
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceServerlessQuotaRequest`
|
|
2196
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceServerlessQuotaResponse`
|
|
2197
|
+
|
|
2198
|
+
"""
|
|
2199
|
+
try:
|
|
2200
|
+
params = request._serialize()
|
|
2201
|
+
headers = request.headers
|
|
2202
|
+
body = self.call("DescribeInstanceServerlessQuota", params, headers=headers)
|
|
2203
|
+
response = json.loads(body)
|
|
2204
|
+
model = models.DescribeInstanceServerlessQuotaResponse()
|
|
2205
|
+
model._deserialize(response["Response"])
|
|
2206
|
+
return model
|
|
2207
|
+
except Exception as e:
|
|
2208
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2209
|
+
raise
|
|
2210
|
+
else:
|
|
2211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2212
|
+
|
|
2213
|
+
|
|
2191
2214
|
def DescribeInstanceSlowQueries(self, request):
|
|
2192
2215
|
r"""此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。受到平台返回大小限制,当返回结果过大时,可能会对超过限制的内容进行截断。
|
|
2193
2216
|
|
|
@@ -5293,6 +5316,29 @@ class CynosdbClient(AbstractClient):
|
|
|
5293
5316
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5294
5317
|
|
|
5295
5318
|
|
|
5319
|
+
def SetInstanceServerlessQuota(self, request):
|
|
5320
|
+
r"""将普通集群转换为Serverless集群
|
|
5321
|
+
|
|
5322
|
+
:param request: Request instance for SetInstanceServerlessQuota.
|
|
5323
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.SetInstanceServerlessQuotaRequest`
|
|
5324
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.SetInstanceServerlessQuotaResponse`
|
|
5325
|
+
|
|
5326
|
+
"""
|
|
5327
|
+
try:
|
|
5328
|
+
params = request._serialize()
|
|
5329
|
+
headers = request.headers
|
|
5330
|
+
body = self.call("SetInstanceServerlessQuota", params, headers=headers)
|
|
5331
|
+
response = json.loads(body)
|
|
5332
|
+
model = models.SetInstanceServerlessQuotaResponse()
|
|
5333
|
+
model._deserialize(response["Response"])
|
|
5334
|
+
return model
|
|
5335
|
+
except Exception as e:
|
|
5336
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5337
|
+
raise
|
|
5338
|
+
else:
|
|
5339
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5340
|
+
|
|
5341
|
+
|
|
5296
5342
|
def SetLibraDBClusterRenewFlag(self, request):
|
|
5297
5343
|
r"""设置 TDSQL-C 分析集群是否续费
|
|
5298
5344
|
|
|
@@ -1717,6 +1717,24 @@ class CynosdbClient(AbstractClient):
|
|
|
1717
1717
|
|
|
1718
1718
|
return await self.call_and_deserialize(**kwargs)
|
|
1719
1719
|
|
|
1720
|
+
async def DescribeInstanceServerlessQuota(
|
|
1721
|
+
self,
|
|
1722
|
+
request: models.DescribeInstanceServerlessQuotaRequest,
|
|
1723
|
+
opts: Dict = None,
|
|
1724
|
+
) -> models.DescribeInstanceServerlessQuotaResponse:
|
|
1725
|
+
"""
|
|
1726
|
+
查询集群设置的serverless弹性配置
|
|
1727
|
+
"""
|
|
1728
|
+
|
|
1729
|
+
kwargs = {}
|
|
1730
|
+
kwargs["action"] = "DescribeInstanceServerlessQuota"
|
|
1731
|
+
kwargs["params"] = request._serialize()
|
|
1732
|
+
kwargs["resp_cls"] = models.DescribeInstanceServerlessQuotaResponse
|
|
1733
|
+
kwargs["headers"] = request.headers
|
|
1734
|
+
kwargs["opts"] = opts or {}
|
|
1735
|
+
|
|
1736
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1737
|
+
|
|
1720
1738
|
async def DescribeInstanceSlowQueries(
|
|
1721
1739
|
self,
|
|
1722
1740
|
request: models.DescribeInstanceSlowQueriesRequest,
|
|
@@ -4147,6 +4165,24 @@ class CynosdbClient(AbstractClient):
|
|
|
4147
4165
|
|
|
4148
4166
|
return await self.call_and_deserialize(**kwargs)
|
|
4149
4167
|
|
|
4168
|
+
async def SetInstanceServerlessQuota(
|
|
4169
|
+
self,
|
|
4170
|
+
request: models.SetInstanceServerlessQuotaRequest,
|
|
4171
|
+
opts: Dict = None,
|
|
4172
|
+
) -> models.SetInstanceServerlessQuotaResponse:
|
|
4173
|
+
"""
|
|
4174
|
+
将普通集群转换为Serverless集群
|
|
4175
|
+
"""
|
|
4176
|
+
|
|
4177
|
+
kwargs = {}
|
|
4178
|
+
kwargs["action"] = "SetInstanceServerlessQuota"
|
|
4179
|
+
kwargs["params"] = request._serialize()
|
|
4180
|
+
kwargs["resp_cls"] = models.SetInstanceServerlessQuotaResponse
|
|
4181
|
+
kwargs["headers"] = request.headers
|
|
4182
|
+
kwargs["opts"] = opts or {}
|
|
4183
|
+
|
|
4184
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4185
|
+
|
|
4150
4186
|
async def SetLibraDBClusterRenewFlag(
|
|
4151
4187
|
self,
|
|
4152
4188
|
request: models.SetLibraDBClusterRenewFlagRequest,
|
|
@@ -362,9 +362,15 @@ OPERATIONDENIED_INSUFFICIENTBALANCEERROR = 'OperationDenied.InsufficientBalanceE
|
|
|
362
362
|
# 传入了无效的地域
|
|
363
363
|
OPERATIONDENIED_INVALIDREGIONFORROLLBACKNEWCLUSTER = 'OperationDenied.InvalidRegionForRollbackNewCluster'
|
|
364
364
|
|
|
365
|
+
# 该集群有创建中或恢复中的实例,暂不支持转为serverless
|
|
366
|
+
OPERATIONDENIED_INVALIDSTATUSINSTANCENOTSWITCHSLSERROR = 'OperationDenied.InvalidStatusInstanceNotSwitchSlsError'
|
|
367
|
+
|
|
365
368
|
# 不是{{1}}的回档集群
|
|
366
369
|
OPERATIONDENIED_ISNOTROLLBACKCLUSTERERROR = 'OperationDenied.IsNotRollbackClusterError'
|
|
367
370
|
|
|
371
|
+
# 集群有隔离中或已隔离的实例,暂不支持转为serverless。请先下线隔离中或已隔离的实例
|
|
372
|
+
OPERATIONDENIED_ISOLATEDINSTANCENOTSWITCHSLSERROR = 'OperationDenied.IsolatedInstanceNotSwitchSlsError'
|
|
373
|
+
|
|
368
374
|
# 响应大小超限制:{{1}}, 请减少查询数量。
|
|
369
375
|
OPERATIONDENIED_LENGTHOVERLIMIT = 'OperationDenied.LengthOverLimit'
|
|
370
376
|
|
|
@@ -380,12 +386,18 @@ OPERATIONDENIED_NEWSTORAGEONLYSUPPORT80ERROR = 'OperationDenied.NewStorageOnlySu
|
|
|
380
386
|
# 没有可用资源。
|
|
381
387
|
OPERATIONDENIED_NOAVALIABLERESOUCEERROR = 'OperationDenied.NoAvaliableResouceError'
|
|
382
388
|
|
|
389
|
+
# 该集群因开启了{{1}}功能,暂不支持转为serverless。如需转serverless请先关闭相关服务特性。
|
|
390
|
+
OPERATIONDENIED_NOTSWITCHSLSERROR = 'OperationDenied.NotSwitchSlsError'
|
|
391
|
+
|
|
383
392
|
# 仅新存储架构2.0支持存储压缩功能
|
|
384
393
|
OPERATIONDENIED_ONLYNEWSTORAGESUPPORTSTORAGECOMPRESSIONERROR = 'OperationDenied.OnlyNewStorageSupportStorageCompressionError'
|
|
385
394
|
|
|
386
395
|
# 您没有权限操作该资源(进行该操作)。
|
|
387
396
|
OPERATIONDENIED_OPERATIONDENIEDERROR = 'OperationDenied.OperationDeniedError'
|
|
388
397
|
|
|
398
|
+
# 规格{{1}}库存售罄
|
|
399
|
+
OPERATIONDENIED_OUTOFSTOCKERROR = 'OperationDenied.OutOfStockError'
|
|
400
|
+
|
|
389
401
|
# 暂停状态的serverless不允许修改多可用区。
|
|
390
402
|
OPERATIONDENIED_PAUSEDSLSNOTALLOWMODIFYSLAVE = 'OperationDenied.PausedSlsNotAllowModifySlave'
|
|
391
403
|
|
|
@@ -422,6 +434,15 @@ OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = 'OperationDenied.ServerlessClust
|
|
|
422
434
|
# serverless实例当前状态不允许该操作。
|
|
423
435
|
OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = 'OperationDenied.ServerlessInstanceStatusDenied'
|
|
424
436
|
|
|
437
|
+
# 备可用区不支持sls
|
|
438
|
+
OPERATIONDENIED_SLAVENOTSUPPORTSERVERLESSERROR = 'OperationDenied.SlaveNotSupportServerlessError'
|
|
439
|
+
|
|
440
|
+
# 获取库存失败。
|
|
441
|
+
OPERATIONDENIED_SPECSTOCKCHECKERROR = 'OperationDenied.SpecStockCheckError'
|
|
442
|
+
|
|
443
|
+
# 规格{{1}}库存不足。实际库存:{{2}},期望库存:{{3}}。
|
|
444
|
+
OPERATIONDENIED_STOCKOUTSERROR = 'OperationDenied.StockoutsError'
|
|
445
|
+
|
|
425
446
|
# 任务冲突检查不通过。
|
|
426
447
|
OPERATIONDENIED_TASKCONFLICTERROR = 'OperationDenied.TaskConflictError'
|
|
427
448
|
|
|
@@ -7378,6 +7378,8 @@ class ClusterInstanceDetail(AbstractModel):
|
|
|
7378
7378
|
:type NodeList: list of str
|
|
7379
7379
|
:param _ServerlessStatus: <p>serverless实例子状态</p>
|
|
7380
7380
|
:type ServerlessStatus: str
|
|
7381
|
+
:param _ServerlessQuotaInfo: <p>实例Serverless弹性配置信息</p>
|
|
7382
|
+
:type ServerlessQuotaInfo: :class:`tencentcloud.cynosdb.v20190107.models.InstanceServerlessQuotaInfo`
|
|
7381
7383
|
:param _AIOptimizerStatus: <p>AI优化器状态</p>
|
|
7382
7384
|
:type AIOptimizerStatus: :class:`tencentcloud.cynosdb.v20190107.models.AIOptimizerStatus`
|
|
7383
7385
|
:param _ProjectId: <p>项目ID</p>
|
|
@@ -7477,6 +7479,7 @@ class ClusterInstanceDetail(AbstractModel):
|
|
|
7477
7479
|
self._DbMode = None
|
|
7478
7480
|
self._NodeList = None
|
|
7479
7481
|
self._ServerlessStatus = None
|
|
7482
|
+
self._ServerlessQuotaInfo = None
|
|
7480
7483
|
self._AIOptimizerStatus = None
|
|
7481
7484
|
self._ProjectId = None
|
|
7482
7485
|
self._Region = None
|
|
@@ -7851,6 +7854,17 @@ class ClusterInstanceDetail(AbstractModel):
|
|
|
7851
7854
|
def ServerlessStatus(self, ServerlessStatus):
|
|
7852
7855
|
self._ServerlessStatus = ServerlessStatus
|
|
7853
7856
|
|
|
7857
|
+
@property
|
|
7858
|
+
def ServerlessQuotaInfo(self):
|
|
7859
|
+
r"""<p>实例Serverless弹性配置信息</p>
|
|
7860
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.InstanceServerlessQuotaInfo`
|
|
7861
|
+
"""
|
|
7862
|
+
return self._ServerlessQuotaInfo
|
|
7863
|
+
|
|
7864
|
+
@ServerlessQuotaInfo.setter
|
|
7865
|
+
def ServerlessQuotaInfo(self, ServerlessQuotaInfo):
|
|
7866
|
+
self._ServerlessQuotaInfo = ServerlessQuotaInfo
|
|
7867
|
+
|
|
7854
7868
|
@property
|
|
7855
7869
|
def AIOptimizerStatus(self):
|
|
7856
7870
|
r"""<p>AI优化器状态</p>
|
|
@@ -8262,6 +8276,9 @@ class ClusterInstanceDetail(AbstractModel):
|
|
|
8262
8276
|
self._DbMode = params.get("DbMode")
|
|
8263
8277
|
self._NodeList = params.get("NodeList")
|
|
8264
8278
|
self._ServerlessStatus = params.get("ServerlessStatus")
|
|
8279
|
+
if params.get("ServerlessQuotaInfo") is not None:
|
|
8280
|
+
self._ServerlessQuotaInfo = InstanceServerlessQuotaInfo()
|
|
8281
|
+
self._ServerlessQuotaInfo._deserialize(params.get("ServerlessQuotaInfo"))
|
|
8265
8282
|
if params.get("AIOptimizerStatus") is not None:
|
|
8266
8283
|
self._AIOptimizerStatus = AIOptimizerStatus()
|
|
8267
8284
|
self._AIOptimizerStatus._deserialize(params.get("AIOptimizerStatus"))
|
|
@@ -8733,6 +8750,72 @@ class ClusterReadOnlyValue(AbstractModel):
|
|
|
8733
8750
|
|
|
8734
8751
|
|
|
8735
8752
|
|
|
8753
|
+
class ClusterServerlessQuotaConfig(AbstractModel):
|
|
8754
|
+
r"""集群serverless弹性配置
|
|
8755
|
+
|
|
8756
|
+
"""
|
|
8757
|
+
|
|
8758
|
+
def __init__(self):
|
|
8759
|
+
r"""
|
|
8760
|
+
:param _InstanceType: <p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
8761
|
+
:type InstanceType: str
|
|
8762
|
+
:param _MaxCcu: <p>实例Serverless弹性CCU上限</p>
|
|
8763
|
+
:type MaxCcu: float
|
|
8764
|
+
:param _Status: <p>实例Serverless弹性状态</p><p>枚举值:</p><ul><li>opening: 开启中</li><li>opened: 已开启</li><li>closing: 关闭中</li><li>closed: 已关闭</li></ul>
|
|
8765
|
+
:type Status: str
|
|
8766
|
+
"""
|
|
8767
|
+
self._InstanceType = None
|
|
8768
|
+
self._MaxCcu = None
|
|
8769
|
+
self._Status = None
|
|
8770
|
+
|
|
8771
|
+
@property
|
|
8772
|
+
def InstanceType(self):
|
|
8773
|
+
r"""<p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
8774
|
+
:rtype: str
|
|
8775
|
+
"""
|
|
8776
|
+
return self._InstanceType
|
|
8777
|
+
|
|
8778
|
+
@InstanceType.setter
|
|
8779
|
+
def InstanceType(self, InstanceType):
|
|
8780
|
+
self._InstanceType = InstanceType
|
|
8781
|
+
|
|
8782
|
+
@property
|
|
8783
|
+
def MaxCcu(self):
|
|
8784
|
+
r"""<p>实例Serverless弹性CCU上限</p>
|
|
8785
|
+
:rtype: float
|
|
8786
|
+
"""
|
|
8787
|
+
return self._MaxCcu
|
|
8788
|
+
|
|
8789
|
+
@MaxCcu.setter
|
|
8790
|
+
def MaxCcu(self, MaxCcu):
|
|
8791
|
+
self._MaxCcu = MaxCcu
|
|
8792
|
+
|
|
8793
|
+
@property
|
|
8794
|
+
def Status(self):
|
|
8795
|
+
r"""<p>实例Serverless弹性状态</p><p>枚举值:</p><ul><li>opening: 开启中</li><li>opened: 已开启</li><li>closing: 关闭中</li><li>closed: 已关闭</li></ul>
|
|
8796
|
+
:rtype: str
|
|
8797
|
+
"""
|
|
8798
|
+
return self._Status
|
|
8799
|
+
|
|
8800
|
+
@Status.setter
|
|
8801
|
+
def Status(self, Status):
|
|
8802
|
+
self._Status = Status
|
|
8803
|
+
|
|
8804
|
+
|
|
8805
|
+
def _deserialize(self, params):
|
|
8806
|
+
self._InstanceType = params.get("InstanceType")
|
|
8807
|
+
self._MaxCcu = params.get("MaxCcu")
|
|
8808
|
+
self._Status = params.get("Status")
|
|
8809
|
+
memeber_set = set(params.keys())
|
|
8810
|
+
for name, value in vars(self).items():
|
|
8811
|
+
property_name = name[1:]
|
|
8812
|
+
if property_name in memeber_set:
|
|
8813
|
+
memeber_set.remove(property_name)
|
|
8814
|
+
if len(memeber_set) > 0:
|
|
8815
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8816
|
+
|
|
8817
|
+
|
|
8818
|
+
|
|
8736
8819
|
class ClusterServerlessScalePlan(AbstractModel):
|
|
8737
8820
|
r"""集群Serveless弹性计划
|
|
8738
8821
|
|
|
@@ -10698,6 +10781,8 @@ class CreateClustersRequest(AbstractModel):
|
|
|
10698
10781
|
:type SyncWay: str
|
|
10699
10782
|
:param _SemiSyncTimeout: <p>半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。</p><p>取值范围:[1000, 4294967295]</p><p>单位:毫秒</p><p>默认值:10000</p>
|
|
10700
10783
|
:type SemiSyncTimeout: int
|
|
10784
|
+
:param _ServerlessQuotaConfigs: <p>集群实例Serverless弹性配置</p>
|
|
10785
|
+
:type ServerlessQuotaConfigs: list of ServerlessQuotaConfig
|
|
10701
10786
|
"""
|
|
10702
10787
|
self._Zone = None
|
|
10703
10788
|
self._VpcId = None
|
|
@@ -10748,6 +10833,7 @@ class CreateClustersRequest(AbstractModel):
|
|
|
10748
10833
|
self._CynosVersion = None
|
|
10749
10834
|
self._SyncWay = None
|
|
10750
10835
|
self._SemiSyncTimeout = None
|
|
10836
|
+
self._ServerlessQuotaConfigs = None
|
|
10751
10837
|
|
|
10752
10838
|
@property
|
|
10753
10839
|
def Zone(self):
|
|
@@ -11288,6 +11374,17 @@ class CreateClustersRequest(AbstractModel):
|
|
|
11288
11374
|
def SemiSyncTimeout(self, SemiSyncTimeout):
|
|
11289
11375
|
self._SemiSyncTimeout = SemiSyncTimeout
|
|
11290
11376
|
|
|
11377
|
+
@property
|
|
11378
|
+
def ServerlessQuotaConfigs(self):
|
|
11379
|
+
r"""<p>集群实例Serverless弹性配置</p>
|
|
11380
|
+
:rtype: list of ServerlessQuotaConfig
|
|
11381
|
+
"""
|
|
11382
|
+
return self._ServerlessQuotaConfigs
|
|
11383
|
+
|
|
11384
|
+
@ServerlessQuotaConfigs.setter
|
|
11385
|
+
def ServerlessQuotaConfigs(self, ServerlessQuotaConfigs):
|
|
11386
|
+
self._ServerlessQuotaConfigs = ServerlessQuotaConfigs
|
|
11387
|
+
|
|
11291
11388
|
|
|
11292
11389
|
def _deserialize(self, params):
|
|
11293
11390
|
self._Zone = params.get("Zone")
|
|
@@ -11356,6 +11453,12 @@ class CreateClustersRequest(AbstractModel):
|
|
|
11356
11453
|
self._CynosVersion = params.get("CynosVersion")
|
|
11357
11454
|
self._SyncWay = params.get("SyncWay")
|
|
11358
11455
|
self._SemiSyncTimeout = params.get("SemiSyncTimeout")
|
|
11456
|
+
if params.get("ServerlessQuotaConfigs") is not None:
|
|
11457
|
+
self._ServerlessQuotaConfigs = []
|
|
11458
|
+
for item in params.get("ServerlessQuotaConfigs"):
|
|
11459
|
+
obj = ServerlessQuotaConfig()
|
|
11460
|
+
obj._deserialize(item)
|
|
11461
|
+
self._ServerlessQuotaConfigs.append(obj)
|
|
11359
11462
|
memeber_set = set(params.keys())
|
|
11360
11463
|
for name, value in vars(self).items():
|
|
11361
11464
|
property_name = name[1:]
|
|
@@ -15794,6 +15897,8 @@ class CynosdbInstance(AbstractModel):
|
|
|
15794
15897
|
:type GdnId: str
|
|
15795
15898
|
:param _RealZone: <p>实例当前所在可用区</p>
|
|
15796
15899
|
:type RealZone: str
|
|
15900
|
+
:param _ServerlessQuotaInfo: <p>实例Serverless弹性信息</p>
|
|
15901
|
+
:type ServerlessQuotaInfo: :class:`tencentcloud.cynosdb.v20190107.models.InstanceServerlessQuotaInfo`
|
|
15797
15902
|
"""
|
|
15798
15903
|
self._Uin = None
|
|
15799
15904
|
self._AppId = None
|
|
@@ -15855,6 +15960,7 @@ class CynosdbInstance(AbstractModel):
|
|
|
15855
15960
|
self._NodeList = None
|
|
15856
15961
|
self._GdnId = None
|
|
15857
15962
|
self._RealZone = None
|
|
15963
|
+
self._ServerlessQuotaInfo = None
|
|
15858
15964
|
|
|
15859
15965
|
@property
|
|
15860
15966
|
def Uin(self):
|
|
@@ -16519,6 +16625,17 @@ class CynosdbInstance(AbstractModel):
|
|
|
16519
16625
|
def RealZone(self, RealZone):
|
|
16520
16626
|
self._RealZone = RealZone
|
|
16521
16627
|
|
|
16628
|
+
@property
|
|
16629
|
+
def ServerlessQuotaInfo(self):
|
|
16630
|
+
r"""<p>实例Serverless弹性信息</p>
|
|
16631
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.InstanceServerlessQuotaInfo`
|
|
16632
|
+
"""
|
|
16633
|
+
return self._ServerlessQuotaInfo
|
|
16634
|
+
|
|
16635
|
+
@ServerlessQuotaInfo.setter
|
|
16636
|
+
def ServerlessQuotaInfo(self, ServerlessQuotaInfo):
|
|
16637
|
+
self._ServerlessQuotaInfo = ServerlessQuotaInfo
|
|
16638
|
+
|
|
16522
16639
|
|
|
16523
16640
|
def _deserialize(self, params):
|
|
16524
16641
|
self._Uin = params.get("Uin")
|
|
@@ -16603,6 +16720,9 @@ class CynosdbInstance(AbstractModel):
|
|
|
16603
16720
|
self._NodeList = params.get("NodeList")
|
|
16604
16721
|
self._GdnId = params.get("GdnId")
|
|
16605
16722
|
self._RealZone = params.get("RealZone")
|
|
16723
|
+
if params.get("ServerlessQuotaInfo") is not None:
|
|
16724
|
+
self._ServerlessQuotaInfo = InstanceServerlessQuotaInfo()
|
|
16725
|
+
self._ServerlessQuotaInfo._deserialize(params.get("ServerlessQuotaInfo"))
|
|
16606
16726
|
memeber_set = set(params.keys())
|
|
16607
16727
|
for name, value in vars(self).items():
|
|
16608
16728
|
property_name = name[1:]
|
|
@@ -16698,6 +16818,8 @@ class CynosdbInstanceDetail(AbstractModel):
|
|
|
16698
16818
|
:type SlaveZones: list of str
|
|
16699
16819
|
:param _StorageVersion: <p>存储版本</p><p>枚举值:</p><ul><li>1.0: 1.0版本存储</li><li>2.0: 2.0版本存储</li></ul>
|
|
16700
16820
|
:type StorageVersion: str
|
|
16821
|
+
:param _ServerlessQuotaInfo: <p>实例Serverless弹性信息</p>
|
|
16822
|
+
:type ServerlessQuotaInfo: :class:`tencentcloud.cynosdb.v20190107.models.InstanceServerlessQuotaInfo`
|
|
16701
16823
|
"""
|
|
16702
16824
|
self._Uin = None
|
|
16703
16825
|
self._AppId = None
|
|
@@ -16738,6 +16860,7 @@ class CynosdbInstanceDetail(AbstractModel):
|
|
|
16738
16860
|
self._RealZone = None
|
|
16739
16861
|
self._SlaveZones = None
|
|
16740
16862
|
self._StorageVersion = None
|
|
16863
|
+
self._ServerlessQuotaInfo = None
|
|
16741
16864
|
|
|
16742
16865
|
@property
|
|
16743
16866
|
def Uin(self):
|
|
@@ -17168,6 +17291,17 @@ class CynosdbInstanceDetail(AbstractModel):
|
|
|
17168
17291
|
def StorageVersion(self, StorageVersion):
|
|
17169
17292
|
self._StorageVersion = StorageVersion
|
|
17170
17293
|
|
|
17294
|
+
@property
|
|
17295
|
+
def ServerlessQuotaInfo(self):
|
|
17296
|
+
r"""<p>实例Serverless弹性信息</p>
|
|
17297
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.InstanceServerlessQuotaInfo`
|
|
17298
|
+
"""
|
|
17299
|
+
return self._ServerlessQuotaInfo
|
|
17300
|
+
|
|
17301
|
+
@ServerlessQuotaInfo.setter
|
|
17302
|
+
def ServerlessQuotaInfo(self, ServerlessQuotaInfo):
|
|
17303
|
+
self._ServerlessQuotaInfo = ServerlessQuotaInfo
|
|
17304
|
+
|
|
17171
17305
|
|
|
17172
17306
|
def _deserialize(self, params):
|
|
17173
17307
|
self._Uin = params.get("Uin")
|
|
@@ -17209,6 +17343,9 @@ class CynosdbInstanceDetail(AbstractModel):
|
|
|
17209
17343
|
self._RealZone = params.get("RealZone")
|
|
17210
17344
|
self._SlaveZones = params.get("SlaveZones")
|
|
17211
17345
|
self._StorageVersion = params.get("StorageVersion")
|
|
17346
|
+
if params.get("ServerlessQuotaInfo") is not None:
|
|
17347
|
+
self._ServerlessQuotaInfo = InstanceServerlessQuotaInfo()
|
|
17348
|
+
self._ServerlessQuotaInfo._deserialize(params.get("ServerlessQuotaInfo"))
|
|
17212
17349
|
memeber_set = set(params.keys())
|
|
17213
17350
|
for name, value in vars(self).items():
|
|
17214
17351
|
property_name = name[1:]
|
|
@@ -23526,20 +23663,23 @@ class DescribeClusterDatabasesRequest(AbstractModel):
|
|
|
23526
23663
|
|
|
23527
23664
|
def __init__(self):
|
|
23528
23665
|
r"""
|
|
23529
|
-
:param _ClusterId:
|
|
23666
|
+
:param _ClusterId: <p>集群id</p>
|
|
23530
23667
|
:type ClusterId: str
|
|
23531
|
-
:param
|
|
23668
|
+
:param _FuzzyDBNames: <p>DB库名(支持模糊匹配)</p>
|
|
23669
|
+
:type FuzzyDBNames: list of str
|
|
23670
|
+
:param _Offset: <p>分页偏移</p>
|
|
23532
23671
|
:type Offset: int
|
|
23533
|
-
:param _Limit:
|
|
23672
|
+
:param _Limit: <p>分页限制数量</p>
|
|
23534
23673
|
:type Limit: int
|
|
23535
23674
|
"""
|
|
23536
23675
|
self._ClusterId = None
|
|
23676
|
+
self._FuzzyDBNames = None
|
|
23537
23677
|
self._Offset = None
|
|
23538
23678
|
self._Limit = None
|
|
23539
23679
|
|
|
23540
23680
|
@property
|
|
23541
23681
|
def ClusterId(self):
|
|
23542
|
-
r"""
|
|
23682
|
+
r"""<p>集群id</p>
|
|
23543
23683
|
:rtype: str
|
|
23544
23684
|
"""
|
|
23545
23685
|
return self._ClusterId
|
|
@@ -23548,9 +23688,20 @@ class DescribeClusterDatabasesRequest(AbstractModel):
|
|
|
23548
23688
|
def ClusterId(self, ClusterId):
|
|
23549
23689
|
self._ClusterId = ClusterId
|
|
23550
23690
|
|
|
23691
|
+
@property
|
|
23692
|
+
def FuzzyDBNames(self):
|
|
23693
|
+
r"""<p>DB库名(支持模糊匹配)</p>
|
|
23694
|
+
:rtype: list of str
|
|
23695
|
+
"""
|
|
23696
|
+
return self._FuzzyDBNames
|
|
23697
|
+
|
|
23698
|
+
@FuzzyDBNames.setter
|
|
23699
|
+
def FuzzyDBNames(self, FuzzyDBNames):
|
|
23700
|
+
self._FuzzyDBNames = FuzzyDBNames
|
|
23701
|
+
|
|
23551
23702
|
@property
|
|
23552
23703
|
def Offset(self):
|
|
23553
|
-
r"""
|
|
23704
|
+
r"""<p>分页偏移</p>
|
|
23554
23705
|
:rtype: int
|
|
23555
23706
|
"""
|
|
23556
23707
|
return self._Offset
|
|
@@ -23561,7 +23712,7 @@ class DescribeClusterDatabasesRequest(AbstractModel):
|
|
|
23561
23712
|
|
|
23562
23713
|
@property
|
|
23563
23714
|
def Limit(self):
|
|
23564
|
-
r"""
|
|
23715
|
+
r"""<p>分页限制数量</p>
|
|
23565
23716
|
:rtype: int
|
|
23566
23717
|
"""
|
|
23567
23718
|
return self._Limit
|
|
@@ -23573,6 +23724,7 @@ class DescribeClusterDatabasesRequest(AbstractModel):
|
|
|
23573
23724
|
|
|
23574
23725
|
def _deserialize(self, params):
|
|
23575
23726
|
self._ClusterId = params.get("ClusterId")
|
|
23727
|
+
self._FuzzyDBNames = params.get("FuzzyDBNames")
|
|
23576
23728
|
self._Offset = params.get("Offset")
|
|
23577
23729
|
self._Limit = params.get("Limit")
|
|
23578
23730
|
memeber_set = set(params.keys())
|
|
@@ -23592,13 +23744,13 @@ class DescribeClusterDatabasesResponse(AbstractModel):
|
|
|
23592
23744
|
|
|
23593
23745
|
def __init__(self):
|
|
23594
23746
|
r"""
|
|
23595
|
-
:param _TotalCount:
|
|
23747
|
+
:param _TotalCount: <p>总条数</p>
|
|
23596
23748
|
:type TotalCount: int
|
|
23597
|
-
:param _Offset:
|
|
23749
|
+
:param _Offset: <p>分页偏移</p>
|
|
23598
23750
|
:type Offset: int
|
|
23599
|
-
:param _Databases:
|
|
23751
|
+
:param _Databases: <p>数据库列表</p>
|
|
23600
23752
|
:type Databases: list of str
|
|
23601
|
-
:param _Limit:
|
|
23753
|
+
:param _Limit: <p>分页限制数</p>
|
|
23602
23754
|
:type Limit: int
|
|
23603
23755
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23604
23756
|
:type RequestId: str
|
|
@@ -23611,7 +23763,7 @@ class DescribeClusterDatabasesResponse(AbstractModel):
|
|
|
23611
23763
|
|
|
23612
23764
|
@property
|
|
23613
23765
|
def TotalCount(self):
|
|
23614
|
-
r"""
|
|
23766
|
+
r"""<p>总条数</p>
|
|
23615
23767
|
:rtype: int
|
|
23616
23768
|
"""
|
|
23617
23769
|
return self._TotalCount
|
|
@@ -23622,7 +23774,7 @@ class DescribeClusterDatabasesResponse(AbstractModel):
|
|
|
23622
23774
|
|
|
23623
23775
|
@property
|
|
23624
23776
|
def Offset(self):
|
|
23625
|
-
r"""
|
|
23777
|
+
r"""<p>分页偏移</p>
|
|
23626
23778
|
:rtype: int
|
|
23627
23779
|
"""
|
|
23628
23780
|
return self._Offset
|
|
@@ -23633,7 +23785,7 @@ class DescribeClusterDatabasesResponse(AbstractModel):
|
|
|
23633
23785
|
|
|
23634
23786
|
@property
|
|
23635
23787
|
def Databases(self):
|
|
23636
|
-
r"""
|
|
23788
|
+
r"""<p>数据库列表</p>
|
|
23637
23789
|
:rtype: list of str
|
|
23638
23790
|
"""
|
|
23639
23791
|
return self._Databases
|
|
@@ -23644,7 +23796,7 @@ class DescribeClusterDatabasesResponse(AbstractModel):
|
|
|
23644
23796
|
|
|
23645
23797
|
@property
|
|
23646
23798
|
def Limit(self):
|
|
23647
|
-
r"""
|
|
23799
|
+
r"""<p>分页限制数</p>
|
|
23648
23800
|
:rtype: int
|
|
23649
23801
|
"""
|
|
23650
23802
|
return self._Limit
|
|
@@ -26221,6 +26373,125 @@ class DescribeInstanceParamsResponse(AbstractModel):
|
|
|
26221
26373
|
self._RequestId = params.get("RequestId")
|
|
26222
26374
|
|
|
26223
26375
|
|
|
26376
|
+
class DescribeInstanceServerlessQuotaRequest(AbstractModel):
|
|
26377
|
+
r"""DescribeInstanceServerlessQuota请求参数结构体
|
|
26378
|
+
|
|
26379
|
+
"""
|
|
26380
|
+
|
|
26381
|
+
def __init__(self):
|
|
26382
|
+
r"""
|
|
26383
|
+
:param _ClusterId: <p>集群ID</p>
|
|
26384
|
+
:type ClusterId: str
|
|
26385
|
+
:param _InstanceType: <p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
26386
|
+
:type InstanceType: str
|
|
26387
|
+
"""
|
|
26388
|
+
self._ClusterId = None
|
|
26389
|
+
self._InstanceType = None
|
|
26390
|
+
|
|
26391
|
+
@property
|
|
26392
|
+
def ClusterId(self):
|
|
26393
|
+
r"""<p>集群ID</p>
|
|
26394
|
+
:rtype: str
|
|
26395
|
+
"""
|
|
26396
|
+
return self._ClusterId
|
|
26397
|
+
|
|
26398
|
+
@ClusterId.setter
|
|
26399
|
+
def ClusterId(self, ClusterId):
|
|
26400
|
+
self._ClusterId = ClusterId
|
|
26401
|
+
|
|
26402
|
+
@property
|
|
26403
|
+
def InstanceType(self):
|
|
26404
|
+
r"""<p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
26405
|
+
:rtype: str
|
|
26406
|
+
"""
|
|
26407
|
+
return self._InstanceType
|
|
26408
|
+
|
|
26409
|
+
@InstanceType.setter
|
|
26410
|
+
def InstanceType(self, InstanceType):
|
|
26411
|
+
self._InstanceType = InstanceType
|
|
26412
|
+
|
|
26413
|
+
|
|
26414
|
+
def _deserialize(self, params):
|
|
26415
|
+
self._ClusterId = params.get("ClusterId")
|
|
26416
|
+
self._InstanceType = params.get("InstanceType")
|
|
26417
|
+
memeber_set = set(params.keys())
|
|
26418
|
+
for name, value in vars(self).items():
|
|
26419
|
+
property_name = name[1:]
|
|
26420
|
+
if property_name in memeber_set:
|
|
26421
|
+
memeber_set.remove(property_name)
|
|
26422
|
+
if len(memeber_set) > 0:
|
|
26423
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26424
|
+
|
|
26425
|
+
|
|
26426
|
+
|
|
26427
|
+
class DescribeInstanceServerlessQuotaResponse(AbstractModel):
|
|
26428
|
+
r"""DescribeInstanceServerlessQuota返回参数结构体
|
|
26429
|
+
|
|
26430
|
+
"""
|
|
26431
|
+
|
|
26432
|
+
def __init__(self):
|
|
26433
|
+
r"""
|
|
26434
|
+
:param _QuotaConfigs: <p>集群实例Serveless弹性配置</p>
|
|
26435
|
+
:type QuotaConfigs: list of ClusterServerlessQuotaConfig
|
|
26436
|
+
:param _InstanceQuotas: <p>集群实例Serverless弹性状态</p>
|
|
26437
|
+
:type InstanceQuotas: list of InstanceServerlessQuotaInfo
|
|
26438
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26439
|
+
:type RequestId: str
|
|
26440
|
+
"""
|
|
26441
|
+
self._QuotaConfigs = None
|
|
26442
|
+
self._InstanceQuotas = None
|
|
26443
|
+
self._RequestId = None
|
|
26444
|
+
|
|
26445
|
+
@property
|
|
26446
|
+
def QuotaConfigs(self):
|
|
26447
|
+
r"""<p>集群实例Serveless弹性配置</p>
|
|
26448
|
+
:rtype: list of ClusterServerlessQuotaConfig
|
|
26449
|
+
"""
|
|
26450
|
+
return self._QuotaConfigs
|
|
26451
|
+
|
|
26452
|
+
@QuotaConfigs.setter
|
|
26453
|
+
def QuotaConfigs(self, QuotaConfigs):
|
|
26454
|
+
self._QuotaConfigs = QuotaConfigs
|
|
26455
|
+
|
|
26456
|
+
@property
|
|
26457
|
+
def InstanceQuotas(self):
|
|
26458
|
+
r"""<p>集群实例Serverless弹性状态</p>
|
|
26459
|
+
:rtype: list of InstanceServerlessQuotaInfo
|
|
26460
|
+
"""
|
|
26461
|
+
return self._InstanceQuotas
|
|
26462
|
+
|
|
26463
|
+
@InstanceQuotas.setter
|
|
26464
|
+
def InstanceQuotas(self, InstanceQuotas):
|
|
26465
|
+
self._InstanceQuotas = InstanceQuotas
|
|
26466
|
+
|
|
26467
|
+
@property
|
|
26468
|
+
def RequestId(self):
|
|
26469
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26470
|
+
:rtype: str
|
|
26471
|
+
"""
|
|
26472
|
+
return self._RequestId
|
|
26473
|
+
|
|
26474
|
+
@RequestId.setter
|
|
26475
|
+
def RequestId(self, RequestId):
|
|
26476
|
+
self._RequestId = RequestId
|
|
26477
|
+
|
|
26478
|
+
|
|
26479
|
+
def _deserialize(self, params):
|
|
26480
|
+
if params.get("QuotaConfigs") is not None:
|
|
26481
|
+
self._QuotaConfigs = []
|
|
26482
|
+
for item in params.get("QuotaConfigs"):
|
|
26483
|
+
obj = ClusterServerlessQuotaConfig()
|
|
26484
|
+
obj._deserialize(item)
|
|
26485
|
+
self._QuotaConfigs.append(obj)
|
|
26486
|
+
if params.get("InstanceQuotas") is not None:
|
|
26487
|
+
self._InstanceQuotas = []
|
|
26488
|
+
for item in params.get("InstanceQuotas"):
|
|
26489
|
+
obj = InstanceServerlessQuotaInfo()
|
|
26490
|
+
obj._deserialize(item)
|
|
26491
|
+
self._InstanceQuotas.append(obj)
|
|
26492
|
+
self._RequestId = params.get("RequestId")
|
|
26493
|
+
|
|
26494
|
+
|
|
26224
26495
|
class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
26225
26496
|
r"""DescribeInstanceSlowQueries请求参数结构体
|
|
26226
26497
|
|
|
@@ -38130,6 +38401,102 @@ class InstanceParamItem(AbstractModel):
|
|
|
38130
38401
|
|
|
38131
38402
|
|
|
38132
38403
|
|
|
38404
|
+
class InstanceServerlessQuotaInfo(AbstractModel):
|
|
38405
|
+
r"""实例serverless弹性配置详情
|
|
38406
|
+
|
|
38407
|
+
"""
|
|
38408
|
+
|
|
38409
|
+
def __init__(self):
|
|
38410
|
+
r"""
|
|
38411
|
+
:param _InstanceId: <p>实例ID</p>
|
|
38412
|
+
:type InstanceId: str
|
|
38413
|
+
:param _InstanceType: <p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
38414
|
+
:type InstanceType: str
|
|
38415
|
+
:param _MaxCcu: <p>最大CCU规格</p>
|
|
38416
|
+
:type MaxCcu: float
|
|
38417
|
+
:param _Status: <p>实例Serverless弹性开启状态</p><p>枚举值:</p><ul><li>opening: 开启中</li><li>opened: 已开启</li><li>closing: 关闭中</li><li>closed: 已关闭</li></ul>
|
|
38418
|
+
:type Status: str
|
|
38419
|
+
:param _EnableTime: <p>开启Serverless弹性的时间</p>
|
|
38420
|
+
:type EnableTime: str
|
|
38421
|
+
"""
|
|
38422
|
+
self._InstanceId = None
|
|
38423
|
+
self._InstanceType = None
|
|
38424
|
+
self._MaxCcu = None
|
|
38425
|
+
self._Status = None
|
|
38426
|
+
self._EnableTime = None
|
|
38427
|
+
|
|
38428
|
+
@property
|
|
38429
|
+
def InstanceId(self):
|
|
38430
|
+
r"""<p>实例ID</p>
|
|
38431
|
+
:rtype: str
|
|
38432
|
+
"""
|
|
38433
|
+
return self._InstanceId
|
|
38434
|
+
|
|
38435
|
+
@InstanceId.setter
|
|
38436
|
+
def InstanceId(self, InstanceId):
|
|
38437
|
+
self._InstanceId = InstanceId
|
|
38438
|
+
|
|
38439
|
+
@property
|
|
38440
|
+
def InstanceType(self):
|
|
38441
|
+
r"""<p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
38442
|
+
:rtype: str
|
|
38443
|
+
"""
|
|
38444
|
+
return self._InstanceType
|
|
38445
|
+
|
|
38446
|
+
@InstanceType.setter
|
|
38447
|
+
def InstanceType(self, InstanceType):
|
|
38448
|
+
self._InstanceType = InstanceType
|
|
38449
|
+
|
|
38450
|
+
@property
|
|
38451
|
+
def MaxCcu(self):
|
|
38452
|
+
r"""<p>最大CCU规格</p>
|
|
38453
|
+
:rtype: float
|
|
38454
|
+
"""
|
|
38455
|
+
return self._MaxCcu
|
|
38456
|
+
|
|
38457
|
+
@MaxCcu.setter
|
|
38458
|
+
def MaxCcu(self, MaxCcu):
|
|
38459
|
+
self._MaxCcu = MaxCcu
|
|
38460
|
+
|
|
38461
|
+
@property
|
|
38462
|
+
def Status(self):
|
|
38463
|
+
r"""<p>实例Serverless弹性开启状态</p><p>枚举值:</p><ul><li>opening: 开启中</li><li>opened: 已开启</li><li>closing: 关闭中</li><li>closed: 已关闭</li></ul>
|
|
38464
|
+
:rtype: str
|
|
38465
|
+
"""
|
|
38466
|
+
return self._Status
|
|
38467
|
+
|
|
38468
|
+
@Status.setter
|
|
38469
|
+
def Status(self, Status):
|
|
38470
|
+
self._Status = Status
|
|
38471
|
+
|
|
38472
|
+
@property
|
|
38473
|
+
def EnableTime(self):
|
|
38474
|
+
r"""<p>开启Serverless弹性的时间</p>
|
|
38475
|
+
:rtype: str
|
|
38476
|
+
"""
|
|
38477
|
+
return self._EnableTime
|
|
38478
|
+
|
|
38479
|
+
@EnableTime.setter
|
|
38480
|
+
def EnableTime(self, EnableTime):
|
|
38481
|
+
self._EnableTime = EnableTime
|
|
38482
|
+
|
|
38483
|
+
|
|
38484
|
+
def _deserialize(self, params):
|
|
38485
|
+
self._InstanceId = params.get("InstanceId")
|
|
38486
|
+
self._InstanceType = params.get("InstanceType")
|
|
38487
|
+
self._MaxCcu = params.get("MaxCcu")
|
|
38488
|
+
self._Status = params.get("Status")
|
|
38489
|
+
self._EnableTime = params.get("EnableTime")
|
|
38490
|
+
memeber_set = set(params.keys())
|
|
38491
|
+
for name, value in vars(self).items():
|
|
38492
|
+
property_name = name[1:]
|
|
38493
|
+
if property_name in memeber_set:
|
|
38494
|
+
memeber_set.remove(property_name)
|
|
38495
|
+
if len(memeber_set) > 0:
|
|
38496
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
38497
|
+
|
|
38498
|
+
|
|
38499
|
+
|
|
38133
38500
|
class InstanceSet(AbstractModel):
|
|
38134
38501
|
r"""实例信息
|
|
38135
38502
|
|
|
@@ -50010,11 +50377,11 @@ class OpenClusterReadOnlyInstanceGroupAccessRequest(AbstractModel):
|
|
|
50010
50377
|
|
|
50011
50378
|
def __init__(self):
|
|
50012
50379
|
r"""
|
|
50013
|
-
:param _ClusterId:
|
|
50380
|
+
:param _ClusterId: <p>集群ID</p>
|
|
50014
50381
|
:type ClusterId: str
|
|
50015
|
-
:param _Port:
|
|
50382
|
+
:param _Port: <p>端口</p>
|
|
50016
50383
|
:type Port: str
|
|
50017
|
-
:param _SecurityGroupIds:
|
|
50384
|
+
:param _SecurityGroupIds: <p>安全组ID</p>
|
|
50018
50385
|
:type SecurityGroupIds: list of str
|
|
50019
50386
|
"""
|
|
50020
50387
|
self._ClusterId = None
|
|
@@ -50023,7 +50390,7 @@ class OpenClusterReadOnlyInstanceGroupAccessRequest(AbstractModel):
|
|
|
50023
50390
|
|
|
50024
50391
|
@property
|
|
50025
50392
|
def ClusterId(self):
|
|
50026
|
-
r"""
|
|
50393
|
+
r"""<p>集群ID</p>
|
|
50027
50394
|
:rtype: str
|
|
50028
50395
|
"""
|
|
50029
50396
|
return self._ClusterId
|
|
@@ -50034,7 +50401,7 @@ class OpenClusterReadOnlyInstanceGroupAccessRequest(AbstractModel):
|
|
|
50034
50401
|
|
|
50035
50402
|
@property
|
|
50036
50403
|
def Port(self):
|
|
50037
|
-
r"""
|
|
50404
|
+
r"""<p>端口</p>
|
|
50038
50405
|
:rtype: str
|
|
50039
50406
|
"""
|
|
50040
50407
|
return self._Port
|
|
@@ -50045,7 +50412,7 @@ class OpenClusterReadOnlyInstanceGroupAccessRequest(AbstractModel):
|
|
|
50045
50412
|
|
|
50046
50413
|
@property
|
|
50047
50414
|
def SecurityGroupIds(self):
|
|
50048
|
-
r"""
|
|
50415
|
+
r"""<p>安全组ID</p>
|
|
50049
50416
|
:rtype: list of str
|
|
50050
50417
|
"""
|
|
50051
50418
|
return self._SecurityGroupIds
|
|
@@ -50076,7 +50443,7 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
|
|
50076
50443
|
|
|
50077
50444
|
def __init__(self):
|
|
50078
50445
|
r"""
|
|
50079
|
-
:param _FlowId:
|
|
50446
|
+
:param _FlowId: <p>开启流程ID</p>
|
|
50080
50447
|
:type FlowId: int
|
|
50081
50448
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
50082
50449
|
:type RequestId: str
|
|
@@ -50086,7 +50453,7 @@ class OpenClusterReadOnlyInstanceGroupAccessResponse(AbstractModel):
|
|
|
50086
50453
|
|
|
50087
50454
|
@property
|
|
50088
50455
|
def FlowId(self):
|
|
50089
|
-
r"""
|
|
50456
|
+
r"""<p>开启流程ID</p>
|
|
50090
50457
|
:rtype: int
|
|
50091
50458
|
"""
|
|
50092
50459
|
return self._FlowId
|
|
@@ -59070,6 +59437,72 @@ class SecurityGroup(AbstractModel):
|
|
|
59070
59437
|
|
|
59071
59438
|
|
|
59072
59439
|
|
|
59440
|
+
class ServerlessQuotaConfig(AbstractModel):
|
|
59441
|
+
r"""serverless弹性配额
|
|
59442
|
+
|
|
59443
|
+
"""
|
|
59444
|
+
|
|
59445
|
+
def __init__(self):
|
|
59446
|
+
r"""
|
|
59447
|
+
:param _InstanceType: <p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
59448
|
+
:type InstanceType: str
|
|
59449
|
+
:param _MaxCcu: <p>最大CCU</p>
|
|
59450
|
+
:type MaxCcu: float
|
|
59451
|
+
:param _Enabled: <p>开关</p>
|
|
59452
|
+
:type Enabled: bool
|
|
59453
|
+
"""
|
|
59454
|
+
self._InstanceType = None
|
|
59455
|
+
self._MaxCcu = None
|
|
59456
|
+
self._Enabled = None
|
|
59457
|
+
|
|
59458
|
+
@property
|
|
59459
|
+
def InstanceType(self):
|
|
59460
|
+
r"""<p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写</li><li>ro: 只读</li></ul>
|
|
59461
|
+
:rtype: str
|
|
59462
|
+
"""
|
|
59463
|
+
return self._InstanceType
|
|
59464
|
+
|
|
59465
|
+
@InstanceType.setter
|
|
59466
|
+
def InstanceType(self, InstanceType):
|
|
59467
|
+
self._InstanceType = InstanceType
|
|
59468
|
+
|
|
59469
|
+
@property
|
|
59470
|
+
def MaxCcu(self):
|
|
59471
|
+
r"""<p>最大CCU</p>
|
|
59472
|
+
:rtype: float
|
|
59473
|
+
"""
|
|
59474
|
+
return self._MaxCcu
|
|
59475
|
+
|
|
59476
|
+
@MaxCcu.setter
|
|
59477
|
+
def MaxCcu(self, MaxCcu):
|
|
59478
|
+
self._MaxCcu = MaxCcu
|
|
59479
|
+
|
|
59480
|
+
@property
|
|
59481
|
+
def Enabled(self):
|
|
59482
|
+
r"""<p>开关</p>
|
|
59483
|
+
:rtype: bool
|
|
59484
|
+
"""
|
|
59485
|
+
return self._Enabled
|
|
59486
|
+
|
|
59487
|
+
@Enabled.setter
|
|
59488
|
+
def Enabled(self, Enabled):
|
|
59489
|
+
self._Enabled = Enabled
|
|
59490
|
+
|
|
59491
|
+
|
|
59492
|
+
def _deserialize(self, params):
|
|
59493
|
+
self._InstanceType = params.get("InstanceType")
|
|
59494
|
+
self._MaxCcu = params.get("MaxCcu")
|
|
59495
|
+
self._Enabled = params.get("Enabled")
|
|
59496
|
+
memeber_set = set(params.keys())
|
|
59497
|
+
for name, value in vars(self).items():
|
|
59498
|
+
property_name = name[1:]
|
|
59499
|
+
if property_name in memeber_set:
|
|
59500
|
+
memeber_set.remove(property_name)
|
|
59501
|
+
if len(memeber_set) > 0:
|
|
59502
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
59503
|
+
|
|
59504
|
+
|
|
59505
|
+
|
|
59073
59506
|
class ServerlessSpec(AbstractModel):
|
|
59074
59507
|
r"""serverless规格
|
|
59075
59508
|
|
|
@@ -59289,6 +59722,105 @@ class ServerlessZoneStockInfo(AbstractModel):
|
|
|
59289
59722
|
|
|
59290
59723
|
|
|
59291
59724
|
|
|
59725
|
+
class SetInstanceServerlessQuotaRequest(AbstractModel):
|
|
59726
|
+
r"""SetInstanceServerlessQuota请求参数结构体
|
|
59727
|
+
|
|
59728
|
+
"""
|
|
59729
|
+
|
|
59730
|
+
def __init__(self):
|
|
59731
|
+
r"""
|
|
59732
|
+
:param _ClusterId: <p>集群ID</p>
|
|
59733
|
+
:type ClusterId: str
|
|
59734
|
+
:param _ServerlessQuotaConfigs: <p>实例SLS规格配置</p>
|
|
59735
|
+
:type ServerlessQuotaConfigs: list of ServerlessQuotaConfig
|
|
59736
|
+
"""
|
|
59737
|
+
self._ClusterId = None
|
|
59738
|
+
self._ServerlessQuotaConfigs = None
|
|
59739
|
+
|
|
59740
|
+
@property
|
|
59741
|
+
def ClusterId(self):
|
|
59742
|
+
r"""<p>集群ID</p>
|
|
59743
|
+
:rtype: str
|
|
59744
|
+
"""
|
|
59745
|
+
return self._ClusterId
|
|
59746
|
+
|
|
59747
|
+
@ClusterId.setter
|
|
59748
|
+
def ClusterId(self, ClusterId):
|
|
59749
|
+
self._ClusterId = ClusterId
|
|
59750
|
+
|
|
59751
|
+
@property
|
|
59752
|
+
def ServerlessQuotaConfigs(self):
|
|
59753
|
+
r"""<p>实例SLS规格配置</p>
|
|
59754
|
+
:rtype: list of ServerlessQuotaConfig
|
|
59755
|
+
"""
|
|
59756
|
+
return self._ServerlessQuotaConfigs
|
|
59757
|
+
|
|
59758
|
+
@ServerlessQuotaConfigs.setter
|
|
59759
|
+
def ServerlessQuotaConfigs(self, ServerlessQuotaConfigs):
|
|
59760
|
+
self._ServerlessQuotaConfigs = ServerlessQuotaConfigs
|
|
59761
|
+
|
|
59762
|
+
|
|
59763
|
+
def _deserialize(self, params):
|
|
59764
|
+
self._ClusterId = params.get("ClusterId")
|
|
59765
|
+
if params.get("ServerlessQuotaConfigs") is not None:
|
|
59766
|
+
self._ServerlessQuotaConfigs = []
|
|
59767
|
+
for item in params.get("ServerlessQuotaConfigs"):
|
|
59768
|
+
obj = ServerlessQuotaConfig()
|
|
59769
|
+
obj._deserialize(item)
|
|
59770
|
+
self._ServerlessQuotaConfigs.append(obj)
|
|
59771
|
+
memeber_set = set(params.keys())
|
|
59772
|
+
for name, value in vars(self).items():
|
|
59773
|
+
property_name = name[1:]
|
|
59774
|
+
if property_name in memeber_set:
|
|
59775
|
+
memeber_set.remove(property_name)
|
|
59776
|
+
if len(memeber_set) > 0:
|
|
59777
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
59778
|
+
|
|
59779
|
+
|
|
59780
|
+
|
|
59781
|
+
class SetInstanceServerlessQuotaResponse(AbstractModel):
|
|
59782
|
+
r"""SetInstanceServerlessQuota返回参数结构体
|
|
59783
|
+
|
|
59784
|
+
"""
|
|
59785
|
+
|
|
59786
|
+
def __init__(self):
|
|
59787
|
+
r"""
|
|
59788
|
+
:param _TaskId: <p>任务id</p>
|
|
59789
|
+
:type TaskId: int
|
|
59790
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
59791
|
+
:type RequestId: str
|
|
59792
|
+
"""
|
|
59793
|
+
self._TaskId = None
|
|
59794
|
+
self._RequestId = None
|
|
59795
|
+
|
|
59796
|
+
@property
|
|
59797
|
+
def TaskId(self):
|
|
59798
|
+
r"""<p>任务id</p>
|
|
59799
|
+
:rtype: int
|
|
59800
|
+
"""
|
|
59801
|
+
return self._TaskId
|
|
59802
|
+
|
|
59803
|
+
@TaskId.setter
|
|
59804
|
+
def TaskId(self, TaskId):
|
|
59805
|
+
self._TaskId = TaskId
|
|
59806
|
+
|
|
59807
|
+
@property
|
|
59808
|
+
def RequestId(self):
|
|
59809
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
59810
|
+
:rtype: str
|
|
59811
|
+
"""
|
|
59812
|
+
return self._RequestId
|
|
59813
|
+
|
|
59814
|
+
@RequestId.setter
|
|
59815
|
+
def RequestId(self, RequestId):
|
|
59816
|
+
self._RequestId = RequestId
|
|
59817
|
+
|
|
59818
|
+
|
|
59819
|
+
def _deserialize(self, params):
|
|
59820
|
+
self._TaskId = params.get("TaskId")
|
|
59821
|
+
self._RequestId = params.get("RequestId")
|
|
59822
|
+
|
|
59823
|
+
|
|
59292
59824
|
class SetLibraDBClusterRenewFlagRequest(AbstractModel):
|
|
59293
59825
|
r"""SetLibraDBClusterRenewFlag请求参数结构体
|
|
59294
59826
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.203
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
tencentcloud_sdk_python_cynosdb-3.1.196/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.196
|
{tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_cynosdb-3.1.196 → tencentcloud_sdk_python_cynosdb-3.1.203}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|