tencentcloud-sdk-python-cynosdb 3.1.208__tar.gz → 3.1.215__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.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/setup.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/cynosdb/v20190107/models.py +608 -78
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cynosdb-3.1.215/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cynosdb-3.1.208/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/README.rst +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/cynosdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/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.215
|
|
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.215
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/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.215,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cynosdb SDK for Python',
|
|
@@ -854,6 +854,29 @@ class CynosdbClient(AbstractClient):
|
|
|
854
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
855
|
|
|
856
856
|
|
|
857
|
+
def CreateProxyEndPoints(self, request):
|
|
858
|
+
r"""本接口(CreateProxyEndPoints)用于批量创建数据库代理连接点。
|
|
859
|
+
|
|
860
|
+
:param request: Request instance for CreateProxyEndPoints.
|
|
861
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.CreateProxyEndPointsRequest`
|
|
862
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.CreateProxyEndPointsResponse`
|
|
863
|
+
|
|
864
|
+
"""
|
|
865
|
+
try:
|
|
866
|
+
params = request._serialize()
|
|
867
|
+
headers = request.headers
|
|
868
|
+
body = self.call("CreateProxyEndPoints", params, headers=headers)
|
|
869
|
+
response = json.loads(body)
|
|
870
|
+
model = models.CreateProxyEndPointsResponse()
|
|
871
|
+
model._deserialize(response["Response"])
|
|
872
|
+
return model
|
|
873
|
+
except Exception as e:
|
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
|
875
|
+
raise
|
|
876
|
+
else:
|
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
|
+
|
|
879
|
+
|
|
857
880
|
def CreateResourcePackage(self, request):
|
|
858
881
|
r"""本接口(CreateResourcePackage)用于新购资源包。
|
|
859
882
|
|
|
@@ -673,6 +673,24 @@ class CynosdbClient(AbstractClient):
|
|
|
673
673
|
|
|
674
674
|
return await self.call_and_deserialize(**kwargs)
|
|
675
675
|
|
|
676
|
+
async def CreateProxyEndPoints(
|
|
677
|
+
self,
|
|
678
|
+
request: models.CreateProxyEndPointsRequest,
|
|
679
|
+
opts: Dict = None,
|
|
680
|
+
) -> models.CreateProxyEndPointsResponse:
|
|
681
|
+
"""
|
|
682
|
+
本接口(CreateProxyEndPoints)用于批量创建数据库代理连接点。
|
|
683
|
+
"""
|
|
684
|
+
|
|
685
|
+
kwargs = {}
|
|
686
|
+
kwargs["action"] = "CreateProxyEndPoints"
|
|
687
|
+
kwargs["params"] = request._serialize()
|
|
688
|
+
kwargs["resp_cls"] = models.CreateProxyEndPointsResponse
|
|
689
|
+
kwargs["headers"] = request.headers
|
|
690
|
+
kwargs["opts"] = opts or {}
|
|
691
|
+
|
|
692
|
+
return await self.call_and_deserialize(**kwargs)
|
|
693
|
+
|
|
676
694
|
async def CreateResourcePackage(
|
|
677
695
|
self,
|
|
678
696
|
request: models.CreateResourcePackageRequest,
|
|
@@ -4934,7 +4934,7 @@ class BizTaskInfo(AbstractModel):
|
|
|
4934
4934
|
:type Operator: str
|
|
4935
4935
|
:param _Output: <p>任务输出信息</p>
|
|
4936
4936
|
:type Output: str
|
|
4937
|
-
:param _Status: <p>任务状态</p>
|
|
4937
|
+
:param _Status: <p>任务状态</p><p>枚举值:</p><ul><li>waiting: 等待执行</li><li>processing: 执行中</li><li>success: 执行成功</li><li>fail: 任务失败</li><li>paused: 任务暂停(存量任务状态)</li><li>undoing: 回滚中</li><li>undoed: 任务已回滚</li></ul>
|
|
4938
4938
|
:type Status: str
|
|
4939
4939
|
:param _TaskType: <p>任务类型</p>
|
|
4940
4940
|
:type TaskType: str
|
|
@@ -5213,7 +5213,7 @@ class BizTaskInfo(AbstractModel):
|
|
|
5213
5213
|
|
|
5214
5214
|
@property
|
|
5215
5215
|
def Status(self):
|
|
5216
|
-
r"""<p>任务状态</p>
|
|
5216
|
+
r"""<p>任务状态</p><p>枚举值:</p><ul><li>waiting: 等待执行</li><li>processing: 执行中</li><li>success: 执行成功</li><li>fail: 任务失败</li><li>paused: 任务暂停(存量任务状态)</li><li>undoing: 回滚中</li><li>undoed: 任务已回滚</li></ul>
|
|
5217
5217
|
:rtype: str
|
|
5218
5218
|
"""
|
|
5219
5219
|
return self._Status
|
|
@@ -13285,6 +13285,120 @@ class CreateProxyEndPointResponse(AbstractModel):
|
|
|
13285
13285
|
self._RequestId = params.get("RequestId")
|
|
13286
13286
|
|
|
13287
13287
|
|
|
13288
|
+
class CreateProxyEndPointsRequest(AbstractModel):
|
|
13289
|
+
r"""CreateProxyEndPoints请求参数结构体
|
|
13290
|
+
|
|
13291
|
+
"""
|
|
13292
|
+
|
|
13293
|
+
def __init__(self):
|
|
13294
|
+
r"""
|
|
13295
|
+
:param _ClusterId: <p>集群 ID。</p>
|
|
13296
|
+
:type ClusterId: str
|
|
13297
|
+
:param _ProxyEndPointItems: <p>proxyEndPoint的参数配置</p>
|
|
13298
|
+
:type ProxyEndPointItems: list of ProxyEndPointItem
|
|
13299
|
+
"""
|
|
13300
|
+
self._ClusterId = None
|
|
13301
|
+
self._ProxyEndPointItems = None
|
|
13302
|
+
|
|
13303
|
+
@property
|
|
13304
|
+
def ClusterId(self):
|
|
13305
|
+
r"""<p>集群 ID。</p>
|
|
13306
|
+
:rtype: str
|
|
13307
|
+
"""
|
|
13308
|
+
return self._ClusterId
|
|
13309
|
+
|
|
13310
|
+
@ClusterId.setter
|
|
13311
|
+
def ClusterId(self, ClusterId):
|
|
13312
|
+
self._ClusterId = ClusterId
|
|
13313
|
+
|
|
13314
|
+
@property
|
|
13315
|
+
def ProxyEndPointItems(self):
|
|
13316
|
+
r"""<p>proxyEndPoint的参数配置</p>
|
|
13317
|
+
:rtype: list of ProxyEndPointItem
|
|
13318
|
+
"""
|
|
13319
|
+
return self._ProxyEndPointItems
|
|
13320
|
+
|
|
13321
|
+
@ProxyEndPointItems.setter
|
|
13322
|
+
def ProxyEndPointItems(self, ProxyEndPointItems):
|
|
13323
|
+
self._ProxyEndPointItems = ProxyEndPointItems
|
|
13324
|
+
|
|
13325
|
+
|
|
13326
|
+
def _deserialize(self, params):
|
|
13327
|
+
self._ClusterId = params.get("ClusterId")
|
|
13328
|
+
if params.get("ProxyEndPointItems") is not None:
|
|
13329
|
+
self._ProxyEndPointItems = []
|
|
13330
|
+
for item in params.get("ProxyEndPointItems"):
|
|
13331
|
+
obj = ProxyEndPointItem()
|
|
13332
|
+
obj._deserialize(item)
|
|
13333
|
+
self._ProxyEndPointItems.append(obj)
|
|
13334
|
+
memeber_set = set(params.keys())
|
|
13335
|
+
for name, value in vars(self).items():
|
|
13336
|
+
property_name = name[1:]
|
|
13337
|
+
if property_name in memeber_set:
|
|
13338
|
+
memeber_set.remove(property_name)
|
|
13339
|
+
if len(memeber_set) > 0:
|
|
13340
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13341
|
+
|
|
13342
|
+
|
|
13343
|
+
|
|
13344
|
+
class CreateProxyEndPointsResponse(AbstractModel):
|
|
13345
|
+
r"""CreateProxyEndPoints返回参数结构体
|
|
13346
|
+
|
|
13347
|
+
"""
|
|
13348
|
+
|
|
13349
|
+
def __init__(self):
|
|
13350
|
+
r"""
|
|
13351
|
+
:param _FlowId: <p>异步流程 ID。</p>
|
|
13352
|
+
:type FlowId: int
|
|
13353
|
+
:param _TaskId: <p>异步任务 ID。</p>
|
|
13354
|
+
:type TaskId: int
|
|
13355
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13356
|
+
:type RequestId: str
|
|
13357
|
+
"""
|
|
13358
|
+
self._FlowId = None
|
|
13359
|
+
self._TaskId = None
|
|
13360
|
+
self._RequestId = None
|
|
13361
|
+
|
|
13362
|
+
@property
|
|
13363
|
+
def FlowId(self):
|
|
13364
|
+
r"""<p>异步流程 ID。</p>
|
|
13365
|
+
:rtype: int
|
|
13366
|
+
"""
|
|
13367
|
+
return self._FlowId
|
|
13368
|
+
|
|
13369
|
+
@FlowId.setter
|
|
13370
|
+
def FlowId(self, FlowId):
|
|
13371
|
+
self._FlowId = FlowId
|
|
13372
|
+
|
|
13373
|
+
@property
|
|
13374
|
+
def TaskId(self):
|
|
13375
|
+
r"""<p>异步任务 ID。</p>
|
|
13376
|
+
:rtype: int
|
|
13377
|
+
"""
|
|
13378
|
+
return self._TaskId
|
|
13379
|
+
|
|
13380
|
+
@TaskId.setter
|
|
13381
|
+
def TaskId(self, TaskId):
|
|
13382
|
+
self._TaskId = TaskId
|
|
13383
|
+
|
|
13384
|
+
@property
|
|
13385
|
+
def RequestId(self):
|
|
13386
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13387
|
+
:rtype: str
|
|
13388
|
+
"""
|
|
13389
|
+
return self._RequestId
|
|
13390
|
+
|
|
13391
|
+
@RequestId.setter
|
|
13392
|
+
def RequestId(self, RequestId):
|
|
13393
|
+
self._RequestId = RequestId
|
|
13394
|
+
|
|
13395
|
+
|
|
13396
|
+
def _deserialize(self, params):
|
|
13397
|
+
self._FlowId = params.get("FlowId")
|
|
13398
|
+
self._TaskId = params.get("TaskId")
|
|
13399
|
+
self._RequestId = params.get("RequestId")
|
|
13400
|
+
|
|
13401
|
+
|
|
13288
13402
|
class CreateProxyRequest(AbstractModel):
|
|
13289
13403
|
r"""CreateProxy请求参数结构体
|
|
13290
13404
|
|
|
@@ -13292,34 +13406,37 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13292
13406
|
|
|
13293
13407
|
def __init__(self):
|
|
13294
13408
|
r"""
|
|
13295
|
-
:param _ClusterId:
|
|
13409
|
+
:param _ClusterId: <p>集群ID</p>
|
|
13296
13410
|
:type ClusterId: str
|
|
13297
|
-
:param _Cpu: cpu
|
|
13411
|
+
:param _Cpu: <p>cpu核数</p>
|
|
13298
13412
|
:type Cpu: int
|
|
13299
|
-
:param _Mem:
|
|
13413
|
+
:param _Mem: <p>内存</p>
|
|
13300
13414
|
:type Mem: int
|
|
13301
|
-
:param
|
|
13415
|
+
:param _ProxyVersion: <p>代理内核版本。不传时默认使用最新稳定版本(白名单用户以appoint策略为准);显式指定时将实时校验该版本是否在当前集群支持的代理版本集合内,不在则返回错误。集群存在已开启列存索引的只读实例时,所选版本需不低于列存转发要求的最低版本(如1.4.7)</p>
|
|
13416
|
+
:type ProxyVersion: str
|
|
13417
|
+
:param _UniqueVpcId: <p>私有网络ID,默认与集群私有网络ID保持一致</p>
|
|
13302
13418
|
:type UniqueVpcId: str
|
|
13303
|
-
:param _UniqueSubnetId:
|
|
13419
|
+
:param _UniqueSubnetId: <p>私有网络子网ID,默认与集群子网ID保持一致</p>
|
|
13304
13420
|
:type UniqueSubnetId: str
|
|
13305
|
-
:param _ProxyCount:
|
|
13421
|
+
:param _ProxyCount: <p>数据库代理组节点个数(该参数不再建议使用,建议使用ProxyZones)</p>
|
|
13306
13422
|
:type ProxyCount: int
|
|
13307
|
-
:param _ConnectionPoolType:
|
|
13423
|
+
:param _ConnectionPoolType: <p>连接池类型:SessionConnectionPool(会话级别连接池 )</p>
|
|
13308
13424
|
:type ConnectionPoolType: str
|
|
13309
|
-
:param _OpenConnectionPool:
|
|
13425
|
+
:param _OpenConnectionPool: <p>是否开启连接池,yes-开启,no-不开启</p>
|
|
13310
13426
|
:type OpenConnectionPool: str
|
|
13311
|
-
:param _ConnectionPoolTimeOut:
|
|
13427
|
+
:param _ConnectionPoolTimeOut: <p>连接池阈值:单位(秒)</p>
|
|
13312
13428
|
:type ConnectionPoolTimeOut: int
|
|
13313
|
-
:param _SecurityGroupIds:
|
|
13429
|
+
:param _SecurityGroupIds: <p>安全组ID数组</p>
|
|
13314
13430
|
:type SecurityGroupIds: list of str
|
|
13315
|
-
:param _Description:
|
|
13431
|
+
:param _Description: <p>描述说明</p>
|
|
13316
13432
|
:type Description: str
|
|
13317
|
-
:param _ProxyZones:
|
|
13433
|
+
:param _ProxyZones: <p>数据库节点信息(该参数与ProxyCount需要任选一个输入)</p>
|
|
13318
13434
|
:type ProxyZones: list of ProxyZone
|
|
13319
13435
|
"""
|
|
13320
13436
|
self._ClusterId = None
|
|
13321
13437
|
self._Cpu = None
|
|
13322
13438
|
self._Mem = None
|
|
13439
|
+
self._ProxyVersion = None
|
|
13323
13440
|
self._UniqueVpcId = None
|
|
13324
13441
|
self._UniqueSubnetId = None
|
|
13325
13442
|
self._ProxyCount = None
|
|
@@ -13332,7 +13449,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13332
13449
|
|
|
13333
13450
|
@property
|
|
13334
13451
|
def ClusterId(self):
|
|
13335
|
-
r"""
|
|
13452
|
+
r"""<p>集群ID</p>
|
|
13336
13453
|
:rtype: str
|
|
13337
13454
|
"""
|
|
13338
13455
|
return self._ClusterId
|
|
@@ -13343,7 +13460,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13343
13460
|
|
|
13344
13461
|
@property
|
|
13345
13462
|
def Cpu(self):
|
|
13346
|
-
r"""cpu
|
|
13463
|
+
r"""<p>cpu核数</p>
|
|
13347
13464
|
:rtype: int
|
|
13348
13465
|
"""
|
|
13349
13466
|
return self._Cpu
|
|
@@ -13354,7 +13471,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13354
13471
|
|
|
13355
13472
|
@property
|
|
13356
13473
|
def Mem(self):
|
|
13357
|
-
r"""
|
|
13474
|
+
r"""<p>内存</p>
|
|
13358
13475
|
:rtype: int
|
|
13359
13476
|
"""
|
|
13360
13477
|
return self._Mem
|
|
@@ -13363,9 +13480,20 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13363
13480
|
def Mem(self, Mem):
|
|
13364
13481
|
self._Mem = Mem
|
|
13365
13482
|
|
|
13483
|
+
@property
|
|
13484
|
+
def ProxyVersion(self):
|
|
13485
|
+
r"""<p>代理内核版本。不传时默认使用最新稳定版本(白名单用户以appoint策略为准);显式指定时将实时校验该版本是否在当前集群支持的代理版本集合内,不在则返回错误。集群存在已开启列存索引的只读实例时,所选版本需不低于列存转发要求的最低版本(如1.4.7)</p>
|
|
13486
|
+
:rtype: str
|
|
13487
|
+
"""
|
|
13488
|
+
return self._ProxyVersion
|
|
13489
|
+
|
|
13490
|
+
@ProxyVersion.setter
|
|
13491
|
+
def ProxyVersion(self, ProxyVersion):
|
|
13492
|
+
self._ProxyVersion = ProxyVersion
|
|
13493
|
+
|
|
13366
13494
|
@property
|
|
13367
13495
|
def UniqueVpcId(self):
|
|
13368
|
-
r"""
|
|
13496
|
+
r"""<p>私有网络ID,默认与集群私有网络ID保持一致</p>
|
|
13369
13497
|
:rtype: str
|
|
13370
13498
|
"""
|
|
13371
13499
|
return self._UniqueVpcId
|
|
@@ -13376,7 +13504,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13376
13504
|
|
|
13377
13505
|
@property
|
|
13378
13506
|
def UniqueSubnetId(self):
|
|
13379
|
-
r"""
|
|
13507
|
+
r"""<p>私有网络子网ID,默认与集群子网ID保持一致</p>
|
|
13380
13508
|
:rtype: str
|
|
13381
13509
|
"""
|
|
13382
13510
|
return self._UniqueSubnetId
|
|
@@ -13387,7 +13515,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13387
13515
|
|
|
13388
13516
|
@property
|
|
13389
13517
|
def ProxyCount(self):
|
|
13390
|
-
r"""
|
|
13518
|
+
r"""<p>数据库代理组节点个数(该参数不再建议使用,建议使用ProxyZones)</p>
|
|
13391
13519
|
:rtype: int
|
|
13392
13520
|
"""
|
|
13393
13521
|
return self._ProxyCount
|
|
@@ -13398,7 +13526,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13398
13526
|
|
|
13399
13527
|
@property
|
|
13400
13528
|
def ConnectionPoolType(self):
|
|
13401
|
-
r"""
|
|
13529
|
+
r"""<p>连接池类型:SessionConnectionPool(会话级别连接池 )</p>
|
|
13402
13530
|
:rtype: str
|
|
13403
13531
|
"""
|
|
13404
13532
|
return self._ConnectionPoolType
|
|
@@ -13409,7 +13537,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13409
13537
|
|
|
13410
13538
|
@property
|
|
13411
13539
|
def OpenConnectionPool(self):
|
|
13412
|
-
r"""
|
|
13540
|
+
r"""<p>是否开启连接池,yes-开启,no-不开启</p>
|
|
13413
13541
|
:rtype: str
|
|
13414
13542
|
"""
|
|
13415
13543
|
return self._OpenConnectionPool
|
|
@@ -13420,7 +13548,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13420
13548
|
|
|
13421
13549
|
@property
|
|
13422
13550
|
def ConnectionPoolTimeOut(self):
|
|
13423
|
-
r"""
|
|
13551
|
+
r"""<p>连接池阈值:单位(秒)</p>
|
|
13424
13552
|
:rtype: int
|
|
13425
13553
|
"""
|
|
13426
13554
|
return self._ConnectionPoolTimeOut
|
|
@@ -13431,7 +13559,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13431
13559
|
|
|
13432
13560
|
@property
|
|
13433
13561
|
def SecurityGroupIds(self):
|
|
13434
|
-
r"""
|
|
13562
|
+
r"""<p>安全组ID数组</p>
|
|
13435
13563
|
:rtype: list of str
|
|
13436
13564
|
"""
|
|
13437
13565
|
return self._SecurityGroupIds
|
|
@@ -13442,7 +13570,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13442
13570
|
|
|
13443
13571
|
@property
|
|
13444
13572
|
def Description(self):
|
|
13445
|
-
r"""
|
|
13573
|
+
r"""<p>描述说明</p>
|
|
13446
13574
|
:rtype: str
|
|
13447
13575
|
"""
|
|
13448
13576
|
return self._Description
|
|
@@ -13453,7 +13581,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13453
13581
|
|
|
13454
13582
|
@property
|
|
13455
13583
|
def ProxyZones(self):
|
|
13456
|
-
r"""
|
|
13584
|
+
r"""<p>数据库节点信息(该参数与ProxyCount需要任选一个输入)</p>
|
|
13457
13585
|
:rtype: list of ProxyZone
|
|
13458
13586
|
"""
|
|
13459
13587
|
return self._ProxyZones
|
|
@@ -13467,6 +13595,7 @@ class CreateProxyRequest(AbstractModel):
|
|
|
13467
13595
|
self._ClusterId = params.get("ClusterId")
|
|
13468
13596
|
self._Cpu = params.get("Cpu")
|
|
13469
13597
|
self._Mem = params.get("Mem")
|
|
13598
|
+
self._ProxyVersion = params.get("ProxyVersion")
|
|
13470
13599
|
self._UniqueVpcId = params.get("UniqueVpcId")
|
|
13471
13600
|
self._UniqueSubnetId = params.get("UniqueSubnetId")
|
|
13472
13601
|
self._ProxyCount = params.get("ProxyCount")
|
|
@@ -13498,11 +13627,11 @@ class CreateProxyResponse(AbstractModel):
|
|
|
13498
13627
|
|
|
13499
13628
|
def __init__(self):
|
|
13500
13629
|
r"""
|
|
13501
|
-
:param _FlowId:
|
|
13630
|
+
:param _FlowId: <p>异步流程ID</p>
|
|
13502
13631
|
:type FlowId: int
|
|
13503
|
-
:param _TaskId:
|
|
13632
|
+
:param _TaskId: <p>异步任务ID</p>
|
|
13504
13633
|
:type TaskId: int
|
|
13505
|
-
:param _ProxyGroupId:
|
|
13634
|
+
:param _ProxyGroupId: <p>数据库代理组ID</p>
|
|
13506
13635
|
:type ProxyGroupId: str
|
|
13507
13636
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13508
13637
|
:type RequestId: str
|
|
@@ -13514,7 +13643,7 @@ class CreateProxyResponse(AbstractModel):
|
|
|
13514
13643
|
|
|
13515
13644
|
@property
|
|
13516
13645
|
def FlowId(self):
|
|
13517
|
-
r"""
|
|
13646
|
+
r"""<p>异步流程ID</p>
|
|
13518
13647
|
:rtype: int
|
|
13519
13648
|
"""
|
|
13520
13649
|
return self._FlowId
|
|
@@ -13525,7 +13654,7 @@ class CreateProxyResponse(AbstractModel):
|
|
|
13525
13654
|
|
|
13526
13655
|
@property
|
|
13527
13656
|
def TaskId(self):
|
|
13528
|
-
r"""
|
|
13657
|
+
r"""<p>异步任务ID</p>
|
|
13529
13658
|
:rtype: int
|
|
13530
13659
|
"""
|
|
13531
13660
|
return self._TaskId
|
|
@@ -13536,7 +13665,7 @@ class CreateProxyResponse(AbstractModel):
|
|
|
13536
13665
|
|
|
13537
13666
|
@property
|
|
13538
13667
|
def ProxyGroupId(self):
|
|
13539
|
-
r"""
|
|
13668
|
+
r"""<p>数据库代理组ID</p>
|
|
13540
13669
|
:rtype: str
|
|
13541
13670
|
"""
|
|
13542
13671
|
return self._ProxyGroupId
|
|
@@ -33303,17 +33432,29 @@ class DescribeSupportProxyVersionRequest(AbstractModel):
|
|
|
33303
33432
|
|
|
33304
33433
|
def __init__(self):
|
|
33305
33434
|
r"""
|
|
33306
|
-
:param _ClusterId:
|
|
33435
|
+
:param _ClusterId: <p>集群ID。与Zone/DbVersion/CynosVersion二选一:查询存量集群支持的代理版本时必填;不传时表示创建集群前查询场景,需同时传入Zone、DbVersion、CynosVersion</p>
|
|
33307
33436
|
:type ClusterId: str
|
|
33308
|
-
:param _ProxyGroupId:
|
|
33437
|
+
:param _ProxyGroupId: <p>数据库代理组ID。仅在传入ClusterId时有效,传入时返回当前代理版本号</p>
|
|
33309
33438
|
:type ProxyGroupId: str
|
|
33439
|
+
:param _Zone: <p>可用区,如ap-guangzhou-3。创建集群前查询场景(不传ClusterId时)必填</p>
|
|
33440
|
+
:type Zone: str
|
|
33441
|
+
:param _DbVersion: <p>数据库引擎版本,如5.7、8.0。创建集群前查询场景(不传ClusterId时)必填</p>
|
|
33442
|
+
:type DbVersion: str
|
|
33443
|
+
:param _CynosVersion: <p>目标内核版本,如3.1.20.001。创建集群前查询场景(不传ClusterId时)必填</p>
|
|
33444
|
+
:type CynosVersion: str
|
|
33445
|
+
:param _StorageVersion: <p>存储版本,枚举值:1.0、2.0。可选,仅创建集群前查询场景有效</p>
|
|
33446
|
+
:type StorageVersion: str
|
|
33310
33447
|
"""
|
|
33311
33448
|
self._ClusterId = None
|
|
33312
33449
|
self._ProxyGroupId = None
|
|
33450
|
+
self._Zone = None
|
|
33451
|
+
self._DbVersion = None
|
|
33452
|
+
self._CynosVersion = None
|
|
33453
|
+
self._StorageVersion = None
|
|
33313
33454
|
|
|
33314
33455
|
@property
|
|
33315
33456
|
def ClusterId(self):
|
|
33316
|
-
r"""
|
|
33457
|
+
r"""<p>集群ID。与Zone/DbVersion/CynosVersion二选一:查询存量集群支持的代理版本时必填;不传时表示创建集群前查询场景,需同时传入Zone、DbVersion、CynosVersion</p>
|
|
33317
33458
|
:rtype: str
|
|
33318
33459
|
"""
|
|
33319
33460
|
return self._ClusterId
|
|
@@ -33324,7 +33465,7 @@ class DescribeSupportProxyVersionRequest(AbstractModel):
|
|
|
33324
33465
|
|
|
33325
33466
|
@property
|
|
33326
33467
|
def ProxyGroupId(self):
|
|
33327
|
-
r"""
|
|
33468
|
+
r"""<p>数据库代理组ID。仅在传入ClusterId时有效,传入时返回当前代理版本号</p>
|
|
33328
33469
|
:rtype: str
|
|
33329
33470
|
"""
|
|
33330
33471
|
return self._ProxyGroupId
|
|
@@ -33333,10 +33474,58 @@ class DescribeSupportProxyVersionRequest(AbstractModel):
|
|
|
33333
33474
|
def ProxyGroupId(self, ProxyGroupId):
|
|
33334
33475
|
self._ProxyGroupId = ProxyGroupId
|
|
33335
33476
|
|
|
33477
|
+
@property
|
|
33478
|
+
def Zone(self):
|
|
33479
|
+
r"""<p>可用区,如ap-guangzhou-3。创建集群前查询场景(不传ClusterId时)必填</p>
|
|
33480
|
+
:rtype: str
|
|
33481
|
+
"""
|
|
33482
|
+
return self._Zone
|
|
33483
|
+
|
|
33484
|
+
@Zone.setter
|
|
33485
|
+
def Zone(self, Zone):
|
|
33486
|
+
self._Zone = Zone
|
|
33487
|
+
|
|
33488
|
+
@property
|
|
33489
|
+
def DbVersion(self):
|
|
33490
|
+
r"""<p>数据库引擎版本,如5.7、8.0。创建集群前查询场景(不传ClusterId时)必填</p>
|
|
33491
|
+
:rtype: str
|
|
33492
|
+
"""
|
|
33493
|
+
return self._DbVersion
|
|
33494
|
+
|
|
33495
|
+
@DbVersion.setter
|
|
33496
|
+
def DbVersion(self, DbVersion):
|
|
33497
|
+
self._DbVersion = DbVersion
|
|
33498
|
+
|
|
33499
|
+
@property
|
|
33500
|
+
def CynosVersion(self):
|
|
33501
|
+
r"""<p>目标内核版本,如3.1.20.001。创建集群前查询场景(不传ClusterId时)必填</p>
|
|
33502
|
+
:rtype: str
|
|
33503
|
+
"""
|
|
33504
|
+
return self._CynosVersion
|
|
33505
|
+
|
|
33506
|
+
@CynosVersion.setter
|
|
33507
|
+
def CynosVersion(self, CynosVersion):
|
|
33508
|
+
self._CynosVersion = CynosVersion
|
|
33509
|
+
|
|
33510
|
+
@property
|
|
33511
|
+
def StorageVersion(self):
|
|
33512
|
+
r"""<p>存储版本,枚举值:1.0、2.0。可选,仅创建集群前查询场景有效</p>
|
|
33513
|
+
:rtype: str
|
|
33514
|
+
"""
|
|
33515
|
+
return self._StorageVersion
|
|
33516
|
+
|
|
33517
|
+
@StorageVersion.setter
|
|
33518
|
+
def StorageVersion(self, StorageVersion):
|
|
33519
|
+
self._StorageVersion = StorageVersion
|
|
33520
|
+
|
|
33336
33521
|
|
|
33337
33522
|
def _deserialize(self, params):
|
|
33338
33523
|
self._ClusterId = params.get("ClusterId")
|
|
33339
33524
|
self._ProxyGroupId = params.get("ProxyGroupId")
|
|
33525
|
+
self._Zone = params.get("Zone")
|
|
33526
|
+
self._DbVersion = params.get("DbVersion")
|
|
33527
|
+
self._CynosVersion = params.get("CynosVersion")
|
|
33528
|
+
self._StorageVersion = params.get("StorageVersion")
|
|
33340
33529
|
memeber_set = set(params.keys())
|
|
33341
33530
|
for name, value in vars(self).items():
|
|
33342
33531
|
property_name = name[1:]
|
|
@@ -33354,11 +33543,11 @@ class DescribeSupportProxyVersionResponse(AbstractModel):
|
|
|
33354
33543
|
|
|
33355
33544
|
def __init__(self):
|
|
33356
33545
|
r"""
|
|
33357
|
-
:param _SupportProxyVersions:
|
|
33546
|
+
:param _SupportProxyVersions: <p>支持的数据库代理版本集合</p>
|
|
33358
33547
|
:type SupportProxyVersions: list of str
|
|
33359
|
-
:param _CurrentProxyVersion:
|
|
33548
|
+
:param _CurrentProxyVersion: <p>当前proxy版本号</p>
|
|
33360
33549
|
:type CurrentProxyVersion: str
|
|
33361
|
-
:param _SupportProxyVersionDetail:
|
|
33550
|
+
:param _SupportProxyVersionDetail: <p>代理版本详情</p>
|
|
33362
33551
|
:type SupportProxyVersionDetail: list of ProxyVersionInfo
|
|
33363
33552
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33364
33553
|
:type RequestId: str
|
|
@@ -33370,7 +33559,7 @@ class DescribeSupportProxyVersionResponse(AbstractModel):
|
|
|
33370
33559
|
|
|
33371
33560
|
@property
|
|
33372
33561
|
def SupportProxyVersions(self):
|
|
33373
|
-
r"""
|
|
33562
|
+
r"""<p>支持的数据库代理版本集合</p>
|
|
33374
33563
|
:rtype: list of str
|
|
33375
33564
|
"""
|
|
33376
33565
|
return self._SupportProxyVersions
|
|
@@ -33381,7 +33570,7 @@ class DescribeSupportProxyVersionResponse(AbstractModel):
|
|
|
33381
33570
|
|
|
33382
33571
|
@property
|
|
33383
33572
|
def CurrentProxyVersion(self):
|
|
33384
|
-
r"""
|
|
33573
|
+
r"""<p>当前proxy版本号</p>
|
|
33385
33574
|
:rtype: str
|
|
33386
33575
|
"""
|
|
33387
33576
|
return self._CurrentProxyVersion
|
|
@@ -33392,7 +33581,7 @@ class DescribeSupportProxyVersionResponse(AbstractModel):
|
|
|
33392
33581
|
|
|
33393
33582
|
@property
|
|
33394
33583
|
def SupportProxyVersionDetail(self):
|
|
33395
|
-
r"""
|
|
33584
|
+
r"""<p>代理版本详情</p>
|
|
33396
33585
|
:rtype: list of ProxyVersionInfo
|
|
33397
33586
|
"""
|
|
33398
33587
|
return self._SupportProxyVersionDetail
|
|
@@ -39188,26 +39377,29 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39188
39377
|
|
|
39189
39378
|
def __init__(self):
|
|
39190
39379
|
r"""
|
|
39191
|
-
:param _ClusterId:
|
|
39380
|
+
:param _ClusterId: <p>集群ID</p>
|
|
39192
39381
|
:type ClusterId: str
|
|
39193
|
-
:param _DbType:
|
|
39382
|
+
:param _DbType: <p>该参数已废用</p>
|
|
39194
39383
|
:type DbType: str
|
|
39195
|
-
:param _IsolateReasonTypes:
|
|
39384
|
+
:param _IsolateReasonTypes: <p>实例退还原因类型</p>
|
|
39196
39385
|
:type IsolateReasonTypes: list of int
|
|
39197
|
-
:param _IsolateReason:
|
|
39386
|
+
:param _IsolateReason: <p>实例退还原因补充</p>
|
|
39198
39387
|
:type IsolateReason: str
|
|
39199
|
-
:param _SaveBackup:
|
|
39388
|
+
:param _SaveBackup: <p>保留备份,true-保留(会产生费用)</p>
|
|
39200
39389
|
:type SaveBackup: bool
|
|
39390
|
+
:param _ImmediateRecycleRo: <p>立即彻底删除RO实例</p>
|
|
39391
|
+
:type ImmediateRecycleRo: bool
|
|
39201
39392
|
"""
|
|
39202
39393
|
self._ClusterId = None
|
|
39203
39394
|
self._DbType = None
|
|
39204
39395
|
self._IsolateReasonTypes = None
|
|
39205
39396
|
self._IsolateReason = None
|
|
39206
39397
|
self._SaveBackup = None
|
|
39398
|
+
self._ImmediateRecycleRo = None
|
|
39207
39399
|
|
|
39208
39400
|
@property
|
|
39209
39401
|
def ClusterId(self):
|
|
39210
|
-
r"""
|
|
39402
|
+
r"""<p>集群ID</p>
|
|
39211
39403
|
:rtype: str
|
|
39212
39404
|
"""
|
|
39213
39405
|
return self._ClusterId
|
|
@@ -39218,7 +39410,7 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39218
39410
|
|
|
39219
39411
|
@property
|
|
39220
39412
|
def DbType(self):
|
|
39221
|
-
r"""
|
|
39413
|
+
r"""<p>该参数已废用</p>
|
|
39222
39414
|
:rtype: str
|
|
39223
39415
|
"""
|
|
39224
39416
|
return self._DbType
|
|
@@ -39229,7 +39421,7 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39229
39421
|
|
|
39230
39422
|
@property
|
|
39231
39423
|
def IsolateReasonTypes(self):
|
|
39232
|
-
r"""
|
|
39424
|
+
r"""<p>实例退还原因类型</p>
|
|
39233
39425
|
:rtype: list of int
|
|
39234
39426
|
"""
|
|
39235
39427
|
return self._IsolateReasonTypes
|
|
@@ -39240,7 +39432,7 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39240
39432
|
|
|
39241
39433
|
@property
|
|
39242
39434
|
def IsolateReason(self):
|
|
39243
|
-
r"""
|
|
39435
|
+
r"""<p>实例退还原因补充</p>
|
|
39244
39436
|
:rtype: str
|
|
39245
39437
|
"""
|
|
39246
39438
|
return self._IsolateReason
|
|
@@ -39251,7 +39443,7 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39251
39443
|
|
|
39252
39444
|
@property
|
|
39253
39445
|
def SaveBackup(self):
|
|
39254
|
-
r"""
|
|
39446
|
+
r"""<p>保留备份,true-保留(会产生费用)</p>
|
|
39255
39447
|
:rtype: bool
|
|
39256
39448
|
"""
|
|
39257
39449
|
return self._SaveBackup
|
|
@@ -39260,6 +39452,17 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39260
39452
|
def SaveBackup(self, SaveBackup):
|
|
39261
39453
|
self._SaveBackup = SaveBackup
|
|
39262
39454
|
|
|
39455
|
+
@property
|
|
39456
|
+
def ImmediateRecycleRo(self):
|
|
39457
|
+
r"""<p>立即彻底删除RO实例</p>
|
|
39458
|
+
:rtype: bool
|
|
39459
|
+
"""
|
|
39460
|
+
return self._ImmediateRecycleRo
|
|
39461
|
+
|
|
39462
|
+
@ImmediateRecycleRo.setter
|
|
39463
|
+
def ImmediateRecycleRo(self, ImmediateRecycleRo):
|
|
39464
|
+
self._ImmediateRecycleRo = ImmediateRecycleRo
|
|
39465
|
+
|
|
39263
39466
|
|
|
39264
39467
|
def _deserialize(self, params):
|
|
39265
39468
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -39267,6 +39470,7 @@ class IsolateClusterRequest(AbstractModel):
|
|
|
39267
39470
|
self._IsolateReasonTypes = params.get("IsolateReasonTypes")
|
|
39268
39471
|
self._IsolateReason = params.get("IsolateReason")
|
|
39269
39472
|
self._SaveBackup = params.get("SaveBackup")
|
|
39473
|
+
self._ImmediateRecycleRo = params.get("ImmediateRecycleRo")
|
|
39270
39474
|
memeber_set = set(params.keys())
|
|
39271
39475
|
for name, value in vars(self).items():
|
|
39272
39476
|
property_name = name[1:]
|
|
@@ -39284,9 +39488,9 @@ class IsolateClusterResponse(AbstractModel):
|
|
|
39284
39488
|
|
|
39285
39489
|
def __init__(self):
|
|
39286
39490
|
r"""
|
|
39287
|
-
:param _FlowId:
|
|
39491
|
+
:param _FlowId: <p>任务流ID(后付费或者serverless资源返回,如果需要同步任务状态,请使用DescribeFlow接口)</p>
|
|
39288
39492
|
:type FlowId: int
|
|
39289
|
-
:param _DealNames:
|
|
39493
|
+
:param _DealNames: <p>退款订单号(预付费资源返回,如果需要同步订单状态,请使用计费产品的DescribeDealsByCond同步订单状态)</p>
|
|
39290
39494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39291
39495
|
:type DealNames: list of str
|
|
39292
39496
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -39298,7 +39502,7 @@ class IsolateClusterResponse(AbstractModel):
|
|
|
39298
39502
|
|
|
39299
39503
|
@property
|
|
39300
39504
|
def FlowId(self):
|
|
39301
|
-
r"""
|
|
39505
|
+
r"""<p>任务流ID(后付费或者serverless资源返回,如果需要同步任务状态,请使用DescribeFlow接口)</p>
|
|
39302
39506
|
:rtype: int
|
|
39303
39507
|
"""
|
|
39304
39508
|
return self._FlowId
|
|
@@ -39309,7 +39513,7 @@ class IsolateClusterResponse(AbstractModel):
|
|
|
39309
39513
|
|
|
39310
39514
|
@property
|
|
39311
39515
|
def DealNames(self):
|
|
39312
|
-
r"""
|
|
39516
|
+
r"""<p>退款订单号(预付费资源返回,如果需要同步订单状态,请使用计费产品的DescribeDealsByCond同步订单状态)</p>
|
|
39313
39517
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39314
39518
|
:rtype: list of str
|
|
39315
39519
|
"""
|
|
@@ -39344,18 +39548,20 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39344
39548
|
|
|
39345
39549
|
def __init__(self):
|
|
39346
39550
|
r"""
|
|
39347
|
-
:param _ClusterId:
|
|
39551
|
+
:param _ClusterId: <p>集群ID</p>
|
|
39348
39552
|
:type ClusterId: str
|
|
39349
|
-
:param _InstanceIdList:
|
|
39553
|
+
:param _InstanceIdList: <p>实例ID数组,例如["cynosdbbmysql-ins-asd","cynosdbmysql-ins-zxc"]</p>
|
|
39350
39554
|
:type InstanceIdList: list of str
|
|
39351
|
-
:param _DbType:
|
|
39555
|
+
:param _DbType: <p>该参数已废弃</p>
|
|
39352
39556
|
:type DbType: str
|
|
39353
|
-
:param _IsolateReasonTypes:
|
|
39557
|
+
:param _IsolateReasonTypes: <p>实例退还原因类型</p>
|
|
39354
39558
|
:type IsolateReasonTypes: list of int
|
|
39355
|
-
:param _IsolateReason:
|
|
39559
|
+
:param _IsolateReason: <p>实例退还原因补充</p>
|
|
39356
39560
|
:type IsolateReason: str
|
|
39357
|
-
:param _SaveBackup:
|
|
39561
|
+
:param _SaveBackup: <p>保留备份</p>
|
|
39358
39562
|
:type SaveBackup: bool
|
|
39563
|
+
:param _ImmediateRecycleRo: <p>立即彻底删除RO实例</p>
|
|
39564
|
+
:type ImmediateRecycleRo: bool
|
|
39359
39565
|
"""
|
|
39360
39566
|
self._ClusterId = None
|
|
39361
39567
|
self._InstanceIdList = None
|
|
@@ -39363,10 +39569,11 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39363
39569
|
self._IsolateReasonTypes = None
|
|
39364
39570
|
self._IsolateReason = None
|
|
39365
39571
|
self._SaveBackup = None
|
|
39572
|
+
self._ImmediateRecycleRo = None
|
|
39366
39573
|
|
|
39367
39574
|
@property
|
|
39368
39575
|
def ClusterId(self):
|
|
39369
|
-
r"""
|
|
39576
|
+
r"""<p>集群ID</p>
|
|
39370
39577
|
:rtype: str
|
|
39371
39578
|
"""
|
|
39372
39579
|
return self._ClusterId
|
|
@@ -39377,7 +39584,7 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39377
39584
|
|
|
39378
39585
|
@property
|
|
39379
39586
|
def InstanceIdList(self):
|
|
39380
|
-
r"""
|
|
39587
|
+
r"""<p>实例ID数组,例如["cynosdbbmysql-ins-asd","cynosdbmysql-ins-zxc"]</p>
|
|
39381
39588
|
:rtype: list of str
|
|
39382
39589
|
"""
|
|
39383
39590
|
return self._InstanceIdList
|
|
@@ -39388,7 +39595,7 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39388
39595
|
|
|
39389
39596
|
@property
|
|
39390
39597
|
def DbType(self):
|
|
39391
|
-
r"""
|
|
39598
|
+
r"""<p>该参数已废弃</p>
|
|
39392
39599
|
:rtype: str
|
|
39393
39600
|
"""
|
|
39394
39601
|
return self._DbType
|
|
@@ -39399,7 +39606,7 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39399
39606
|
|
|
39400
39607
|
@property
|
|
39401
39608
|
def IsolateReasonTypes(self):
|
|
39402
|
-
r"""
|
|
39609
|
+
r"""<p>实例退还原因类型</p>
|
|
39403
39610
|
:rtype: list of int
|
|
39404
39611
|
"""
|
|
39405
39612
|
return self._IsolateReasonTypes
|
|
@@ -39410,7 +39617,7 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39410
39617
|
|
|
39411
39618
|
@property
|
|
39412
39619
|
def IsolateReason(self):
|
|
39413
|
-
r"""
|
|
39620
|
+
r"""<p>实例退还原因补充</p>
|
|
39414
39621
|
:rtype: str
|
|
39415
39622
|
"""
|
|
39416
39623
|
return self._IsolateReason
|
|
@@ -39421,7 +39628,7 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39421
39628
|
|
|
39422
39629
|
@property
|
|
39423
39630
|
def SaveBackup(self):
|
|
39424
|
-
r"""
|
|
39631
|
+
r"""<p>保留备份</p>
|
|
39425
39632
|
:rtype: bool
|
|
39426
39633
|
"""
|
|
39427
39634
|
return self._SaveBackup
|
|
@@ -39430,6 +39637,17 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39430
39637
|
def SaveBackup(self, SaveBackup):
|
|
39431
39638
|
self._SaveBackup = SaveBackup
|
|
39432
39639
|
|
|
39640
|
+
@property
|
|
39641
|
+
def ImmediateRecycleRo(self):
|
|
39642
|
+
r"""<p>立即彻底删除RO实例</p>
|
|
39643
|
+
:rtype: bool
|
|
39644
|
+
"""
|
|
39645
|
+
return self._ImmediateRecycleRo
|
|
39646
|
+
|
|
39647
|
+
@ImmediateRecycleRo.setter
|
|
39648
|
+
def ImmediateRecycleRo(self, ImmediateRecycleRo):
|
|
39649
|
+
self._ImmediateRecycleRo = ImmediateRecycleRo
|
|
39650
|
+
|
|
39433
39651
|
|
|
39434
39652
|
def _deserialize(self, params):
|
|
39435
39653
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -39438,6 +39656,7 @@ class IsolateInstanceRequest(AbstractModel):
|
|
|
39438
39656
|
self._IsolateReasonTypes = params.get("IsolateReasonTypes")
|
|
39439
39657
|
self._IsolateReason = params.get("IsolateReason")
|
|
39440
39658
|
self._SaveBackup = params.get("SaveBackup")
|
|
39659
|
+
self._ImmediateRecycleRo = params.get("ImmediateRecycleRo")
|
|
39441
39660
|
memeber_set = set(params.keys())
|
|
39442
39661
|
for name, value in vars(self).items():
|
|
39443
39662
|
property_name = name[1:]
|
|
@@ -39455,9 +39674,9 @@ class IsolateInstanceResponse(AbstractModel):
|
|
|
39455
39674
|
|
|
39456
39675
|
def __init__(self):
|
|
39457
39676
|
r"""
|
|
39458
|
-
:param _FlowId:
|
|
39677
|
+
:param _FlowId: <p>任务流id</p>
|
|
39459
39678
|
:type FlowId: int
|
|
39460
|
-
:param _DealNames:
|
|
39679
|
+
:param _DealNames: <p>隔离实例的订单id(预付费实例)</p>
|
|
39461
39680
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39462
39681
|
:type DealNames: list of str
|
|
39463
39682
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -39469,7 +39688,7 @@ class IsolateInstanceResponse(AbstractModel):
|
|
|
39469
39688
|
|
|
39470
39689
|
@property
|
|
39471
39690
|
def FlowId(self):
|
|
39472
|
-
r"""
|
|
39691
|
+
r"""<p>任务流id</p>
|
|
39473
39692
|
:rtype: int
|
|
39474
39693
|
"""
|
|
39475
39694
|
return self._FlowId
|
|
@@ -39480,7 +39699,7 @@ class IsolateInstanceResponse(AbstractModel):
|
|
|
39480
39699
|
|
|
39481
39700
|
@property
|
|
39482
39701
|
def DealNames(self):
|
|
39483
|
-
r"""
|
|
39702
|
+
r"""<p>隔离实例的订单id(预付费实例)</p>
|
|
39484
39703
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
39485
39704
|
:rtype: list of str
|
|
39486
39705
|
"""
|
|
@@ -52795,6 +53014,8 @@ class ProxyConfig(AbstractModel):
|
|
|
52795
53014
|
:type Description: str
|
|
52796
53015
|
:param _ProxyZones: <p>数据库节点信息(该参数与ProxyCount需要任选一个输入)</p>
|
|
52797
53016
|
:type ProxyZones: list of ProxyZone
|
|
53017
|
+
:param _ProxyVersion: <p>proxy版本号</p>
|
|
53018
|
+
:type ProxyVersion: str
|
|
52798
53019
|
"""
|
|
52799
53020
|
self._ProxyCount = None
|
|
52800
53021
|
self._Cpu = None
|
|
@@ -52804,6 +53025,7 @@ class ProxyConfig(AbstractModel):
|
|
|
52804
53025
|
self._ConnectionPoolTimeOut = None
|
|
52805
53026
|
self._Description = None
|
|
52806
53027
|
self._ProxyZones = None
|
|
53028
|
+
self._ProxyVersion = None
|
|
52807
53029
|
|
|
52808
53030
|
@property
|
|
52809
53031
|
def ProxyCount(self):
|
|
@@ -52897,6 +53119,17 @@ class ProxyConfig(AbstractModel):
|
|
|
52897
53119
|
def ProxyZones(self, ProxyZones):
|
|
52898
53120
|
self._ProxyZones = ProxyZones
|
|
52899
53121
|
|
|
53122
|
+
@property
|
|
53123
|
+
def ProxyVersion(self):
|
|
53124
|
+
r"""<p>proxy版本号</p>
|
|
53125
|
+
:rtype: str
|
|
53126
|
+
"""
|
|
53127
|
+
return self._ProxyVersion
|
|
53128
|
+
|
|
53129
|
+
@ProxyVersion.setter
|
|
53130
|
+
def ProxyVersion(self, ProxyVersion):
|
|
53131
|
+
self._ProxyVersion = ProxyVersion
|
|
53132
|
+
|
|
52900
53133
|
|
|
52901
53134
|
def _deserialize(self, params):
|
|
52902
53135
|
self._ProxyCount = params.get("ProxyCount")
|
|
@@ -52912,6 +53145,7 @@ class ProxyConfig(AbstractModel):
|
|
|
52912
53145
|
obj = ProxyZone()
|
|
52913
53146
|
obj._deserialize(item)
|
|
52914
53147
|
self._ProxyZones.append(obj)
|
|
53148
|
+
self._ProxyVersion = params.get("ProxyVersion")
|
|
52915
53149
|
memeber_set = set(params.keys())
|
|
52916
53150
|
for name, value in vars(self).items():
|
|
52917
53151
|
property_name = name[1:]
|
|
@@ -53220,6 +53454,287 @@ class ProxyEndPointConfigInfo(AbstractModel):
|
|
|
53220
53454
|
|
|
53221
53455
|
|
|
53222
53456
|
|
|
53457
|
+
class ProxyEndPointItem(AbstractModel):
|
|
53458
|
+
r"""批量proxy接入点配置
|
|
53459
|
+
|
|
53460
|
+
"""
|
|
53461
|
+
|
|
53462
|
+
def __init__(self):
|
|
53463
|
+
r"""
|
|
53464
|
+
:param _UniqueVpcId: <p>vpc id</p>
|
|
53465
|
+
:type UniqueVpcId: str
|
|
53466
|
+
:param _UniqueSubnetId: <p>子网ID</p>
|
|
53467
|
+
:type UniqueSubnetId: str
|
|
53468
|
+
:param _SecurityGroupIds: <p>安全组列表</p>
|
|
53469
|
+
:type SecurityGroupIds: list of str
|
|
53470
|
+
:param _WeightMode: <p>权重模式</p><p>枚举值:</p><ul><li>system: 系统分配</li><li>custom: 自定义</li></ul>
|
|
53471
|
+
:type WeightMode: str
|
|
53472
|
+
:param _AutoAddRo: <p>是否自动添加只读实例</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53473
|
+
:type AutoAddRo: str
|
|
53474
|
+
:param _RwType: <p>读写类型</p><p>枚举值:</p><ul><li>READWRITE: 读写</li><li>READONLY: 只读</li></ul>
|
|
53475
|
+
:type RwType: str
|
|
53476
|
+
:param _FailOver: <p>是否开启故障转移</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53477
|
+
:type FailOver: str
|
|
53478
|
+
:param _ConsistencyTimeOut: <p>一致性超时时间</p>
|
|
53479
|
+
:type ConsistencyTimeOut: int
|
|
53480
|
+
:param _ConsistencyType: <p>一致性类型。</p><p>枚举值:</p><ul><li>eventual: 最终一致性</li><li>global: 全局一致性</li><li>session: 会话一致性</li></ul><p>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
|
|
53481
|
+
:type ConsistencyType: str
|
|
53482
|
+
:param _TransSplit: <p>是否开启事务拆分。</p><p>开启后,在一个事务中拆分读和写到不同的实例上去执行。</p>
|
|
53483
|
+
:type TransSplit: bool
|
|
53484
|
+
:param _AccessMode: <p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li></ul>
|
|
53485
|
+
:type AccessMode: str
|
|
53486
|
+
:param _InstanceWeights: <p>实例及权重</p>
|
|
53487
|
+
:type InstanceWeights: list of ProxyInstanceWeight
|
|
53488
|
+
:param _Description: <p>描述信息</p>
|
|
53489
|
+
:type Description: str
|
|
53490
|
+
:param _LoadBalanceMode: <p>自动负载模式</p><p>枚举值:</p><ul><li>static: 静态</li><li>dynamic: 自适应</li></ul>
|
|
53491
|
+
:type LoadBalanceMode: str
|
|
53492
|
+
:param _OpenConnectionPool: <p>是否开启连接池</p><p>枚举值:</p><ul><li>yes: 打开</li><li>no: 不打开</li></ul>
|
|
53493
|
+
:type OpenConnectionPool: str
|
|
53494
|
+
:param _ConnectionPoolType: <p>连接池类型</p><p>枚举值:</p><ul><li>SessionConnectionPool: 会话级连接池</li><li>TransactionConnectionPool: 事物级连接池</li></ul>
|
|
53495
|
+
:type ConnectionPoolType: str
|
|
53496
|
+
:param _ConnectionPoolTimeOut: <p>连接池阀值</p>
|
|
53497
|
+
:type ConnectionPoolTimeOut: int
|
|
53498
|
+
"""
|
|
53499
|
+
self._UniqueVpcId = None
|
|
53500
|
+
self._UniqueSubnetId = None
|
|
53501
|
+
self._SecurityGroupIds = None
|
|
53502
|
+
self._WeightMode = None
|
|
53503
|
+
self._AutoAddRo = None
|
|
53504
|
+
self._RwType = None
|
|
53505
|
+
self._FailOver = None
|
|
53506
|
+
self._ConsistencyTimeOut = None
|
|
53507
|
+
self._ConsistencyType = None
|
|
53508
|
+
self._TransSplit = None
|
|
53509
|
+
self._AccessMode = None
|
|
53510
|
+
self._InstanceWeights = None
|
|
53511
|
+
self._Description = None
|
|
53512
|
+
self._LoadBalanceMode = None
|
|
53513
|
+
self._OpenConnectionPool = None
|
|
53514
|
+
self._ConnectionPoolType = None
|
|
53515
|
+
self._ConnectionPoolTimeOut = None
|
|
53516
|
+
|
|
53517
|
+
@property
|
|
53518
|
+
def UniqueVpcId(self):
|
|
53519
|
+
r"""<p>vpc id</p>
|
|
53520
|
+
:rtype: str
|
|
53521
|
+
"""
|
|
53522
|
+
return self._UniqueVpcId
|
|
53523
|
+
|
|
53524
|
+
@UniqueVpcId.setter
|
|
53525
|
+
def UniqueVpcId(self, UniqueVpcId):
|
|
53526
|
+
self._UniqueVpcId = UniqueVpcId
|
|
53527
|
+
|
|
53528
|
+
@property
|
|
53529
|
+
def UniqueSubnetId(self):
|
|
53530
|
+
r"""<p>子网ID</p>
|
|
53531
|
+
:rtype: str
|
|
53532
|
+
"""
|
|
53533
|
+
return self._UniqueSubnetId
|
|
53534
|
+
|
|
53535
|
+
@UniqueSubnetId.setter
|
|
53536
|
+
def UniqueSubnetId(self, UniqueSubnetId):
|
|
53537
|
+
self._UniqueSubnetId = UniqueSubnetId
|
|
53538
|
+
|
|
53539
|
+
@property
|
|
53540
|
+
def SecurityGroupIds(self):
|
|
53541
|
+
r"""<p>安全组列表</p>
|
|
53542
|
+
:rtype: list of str
|
|
53543
|
+
"""
|
|
53544
|
+
return self._SecurityGroupIds
|
|
53545
|
+
|
|
53546
|
+
@SecurityGroupIds.setter
|
|
53547
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
53548
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
53549
|
+
|
|
53550
|
+
@property
|
|
53551
|
+
def WeightMode(self):
|
|
53552
|
+
r"""<p>权重模式</p><p>枚举值:</p><ul><li>system: 系统分配</li><li>custom: 自定义</li></ul>
|
|
53553
|
+
:rtype: str
|
|
53554
|
+
"""
|
|
53555
|
+
return self._WeightMode
|
|
53556
|
+
|
|
53557
|
+
@WeightMode.setter
|
|
53558
|
+
def WeightMode(self, WeightMode):
|
|
53559
|
+
self._WeightMode = WeightMode
|
|
53560
|
+
|
|
53561
|
+
@property
|
|
53562
|
+
def AutoAddRo(self):
|
|
53563
|
+
r"""<p>是否自动添加只读实例</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53564
|
+
:rtype: str
|
|
53565
|
+
"""
|
|
53566
|
+
return self._AutoAddRo
|
|
53567
|
+
|
|
53568
|
+
@AutoAddRo.setter
|
|
53569
|
+
def AutoAddRo(self, AutoAddRo):
|
|
53570
|
+
self._AutoAddRo = AutoAddRo
|
|
53571
|
+
|
|
53572
|
+
@property
|
|
53573
|
+
def RwType(self):
|
|
53574
|
+
r"""<p>读写类型</p><p>枚举值:</p><ul><li>READWRITE: 读写</li><li>READONLY: 只读</li></ul>
|
|
53575
|
+
:rtype: str
|
|
53576
|
+
"""
|
|
53577
|
+
return self._RwType
|
|
53578
|
+
|
|
53579
|
+
@RwType.setter
|
|
53580
|
+
def RwType(self, RwType):
|
|
53581
|
+
self._RwType = RwType
|
|
53582
|
+
|
|
53583
|
+
@property
|
|
53584
|
+
def FailOver(self):
|
|
53585
|
+
r"""<p>是否开启故障转移</p><p>枚举值:</p><ul><li>yes: 是</li><li>no: 否</li></ul>
|
|
53586
|
+
:rtype: str
|
|
53587
|
+
"""
|
|
53588
|
+
return self._FailOver
|
|
53589
|
+
|
|
53590
|
+
@FailOver.setter
|
|
53591
|
+
def FailOver(self, FailOver):
|
|
53592
|
+
self._FailOver = FailOver
|
|
53593
|
+
|
|
53594
|
+
@property
|
|
53595
|
+
def ConsistencyTimeOut(self):
|
|
53596
|
+
r"""<p>一致性超时时间</p>
|
|
53597
|
+
:rtype: int
|
|
53598
|
+
"""
|
|
53599
|
+
return self._ConsistencyTimeOut
|
|
53600
|
+
|
|
53601
|
+
@ConsistencyTimeOut.setter
|
|
53602
|
+
def ConsistencyTimeOut(self, ConsistencyTimeOut):
|
|
53603
|
+
self._ConsistencyTimeOut = ConsistencyTimeOut
|
|
53604
|
+
|
|
53605
|
+
@property
|
|
53606
|
+
def ConsistencyType(self):
|
|
53607
|
+
r"""<p>一致性类型。</p><p>枚举值:</p><ul><li>eventual: 最终一致性</li><li>global: 全局一致性</li><li>session: 会话一致性</li></ul><p>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
|
|
53608
|
+
:rtype: str
|
|
53609
|
+
"""
|
|
53610
|
+
return self._ConsistencyType
|
|
53611
|
+
|
|
53612
|
+
@ConsistencyType.setter
|
|
53613
|
+
def ConsistencyType(self, ConsistencyType):
|
|
53614
|
+
self._ConsistencyType = ConsistencyType
|
|
53615
|
+
|
|
53616
|
+
@property
|
|
53617
|
+
def TransSplit(self):
|
|
53618
|
+
r"""<p>是否开启事务拆分。</p><p>开启后,在一个事务中拆分读和写到不同的实例上去执行。</p>
|
|
53619
|
+
:rtype: bool
|
|
53620
|
+
"""
|
|
53621
|
+
return self._TransSplit
|
|
53622
|
+
|
|
53623
|
+
@TransSplit.setter
|
|
53624
|
+
def TransSplit(self, TransSplit):
|
|
53625
|
+
self._TransSplit = TransSplit
|
|
53626
|
+
|
|
53627
|
+
@property
|
|
53628
|
+
def AccessMode(self):
|
|
53629
|
+
r"""<p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li></ul>
|
|
53630
|
+
:rtype: str
|
|
53631
|
+
"""
|
|
53632
|
+
return self._AccessMode
|
|
53633
|
+
|
|
53634
|
+
@AccessMode.setter
|
|
53635
|
+
def AccessMode(self, AccessMode):
|
|
53636
|
+
self._AccessMode = AccessMode
|
|
53637
|
+
|
|
53638
|
+
@property
|
|
53639
|
+
def InstanceWeights(self):
|
|
53640
|
+
r"""<p>实例及权重</p>
|
|
53641
|
+
:rtype: list of ProxyInstanceWeight
|
|
53642
|
+
"""
|
|
53643
|
+
return self._InstanceWeights
|
|
53644
|
+
|
|
53645
|
+
@InstanceWeights.setter
|
|
53646
|
+
def InstanceWeights(self, InstanceWeights):
|
|
53647
|
+
self._InstanceWeights = InstanceWeights
|
|
53648
|
+
|
|
53649
|
+
@property
|
|
53650
|
+
def Description(self):
|
|
53651
|
+
r"""<p>描述信息</p>
|
|
53652
|
+
:rtype: str
|
|
53653
|
+
"""
|
|
53654
|
+
return self._Description
|
|
53655
|
+
|
|
53656
|
+
@Description.setter
|
|
53657
|
+
def Description(self, Description):
|
|
53658
|
+
self._Description = Description
|
|
53659
|
+
|
|
53660
|
+
@property
|
|
53661
|
+
def LoadBalanceMode(self):
|
|
53662
|
+
r"""<p>自动负载模式</p><p>枚举值:</p><ul><li>static: 静态</li><li>dynamic: 自适应</li></ul>
|
|
53663
|
+
:rtype: str
|
|
53664
|
+
"""
|
|
53665
|
+
return self._LoadBalanceMode
|
|
53666
|
+
|
|
53667
|
+
@LoadBalanceMode.setter
|
|
53668
|
+
def LoadBalanceMode(self, LoadBalanceMode):
|
|
53669
|
+
self._LoadBalanceMode = LoadBalanceMode
|
|
53670
|
+
|
|
53671
|
+
@property
|
|
53672
|
+
def OpenConnectionPool(self):
|
|
53673
|
+
r"""<p>是否开启连接池</p><p>枚举值:</p><ul><li>yes: 打开</li><li>no: 不打开</li></ul>
|
|
53674
|
+
:rtype: str
|
|
53675
|
+
"""
|
|
53676
|
+
return self._OpenConnectionPool
|
|
53677
|
+
|
|
53678
|
+
@OpenConnectionPool.setter
|
|
53679
|
+
def OpenConnectionPool(self, OpenConnectionPool):
|
|
53680
|
+
self._OpenConnectionPool = OpenConnectionPool
|
|
53681
|
+
|
|
53682
|
+
@property
|
|
53683
|
+
def ConnectionPoolType(self):
|
|
53684
|
+
r"""<p>连接池类型</p><p>枚举值:</p><ul><li>SessionConnectionPool: 会话级连接池</li><li>TransactionConnectionPool: 事物级连接池</li></ul>
|
|
53685
|
+
:rtype: str
|
|
53686
|
+
"""
|
|
53687
|
+
return self._ConnectionPoolType
|
|
53688
|
+
|
|
53689
|
+
@ConnectionPoolType.setter
|
|
53690
|
+
def ConnectionPoolType(self, ConnectionPoolType):
|
|
53691
|
+
self._ConnectionPoolType = ConnectionPoolType
|
|
53692
|
+
|
|
53693
|
+
@property
|
|
53694
|
+
def ConnectionPoolTimeOut(self):
|
|
53695
|
+
r"""<p>连接池阀值</p>
|
|
53696
|
+
:rtype: int
|
|
53697
|
+
"""
|
|
53698
|
+
return self._ConnectionPoolTimeOut
|
|
53699
|
+
|
|
53700
|
+
@ConnectionPoolTimeOut.setter
|
|
53701
|
+
def ConnectionPoolTimeOut(self, ConnectionPoolTimeOut):
|
|
53702
|
+
self._ConnectionPoolTimeOut = ConnectionPoolTimeOut
|
|
53703
|
+
|
|
53704
|
+
|
|
53705
|
+
def _deserialize(self, params):
|
|
53706
|
+
self._UniqueVpcId = params.get("UniqueVpcId")
|
|
53707
|
+
self._UniqueSubnetId = params.get("UniqueSubnetId")
|
|
53708
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
53709
|
+
self._WeightMode = params.get("WeightMode")
|
|
53710
|
+
self._AutoAddRo = params.get("AutoAddRo")
|
|
53711
|
+
self._RwType = params.get("RwType")
|
|
53712
|
+
self._FailOver = params.get("FailOver")
|
|
53713
|
+
self._ConsistencyTimeOut = params.get("ConsistencyTimeOut")
|
|
53714
|
+
self._ConsistencyType = params.get("ConsistencyType")
|
|
53715
|
+
self._TransSplit = params.get("TransSplit")
|
|
53716
|
+
self._AccessMode = params.get("AccessMode")
|
|
53717
|
+
if params.get("InstanceWeights") is not None:
|
|
53718
|
+
self._InstanceWeights = []
|
|
53719
|
+
for item in params.get("InstanceWeights"):
|
|
53720
|
+
obj = ProxyInstanceWeight()
|
|
53721
|
+
obj._deserialize(item)
|
|
53722
|
+
self._InstanceWeights.append(obj)
|
|
53723
|
+
self._Description = params.get("Description")
|
|
53724
|
+
self._LoadBalanceMode = params.get("LoadBalanceMode")
|
|
53725
|
+
self._OpenConnectionPool = params.get("OpenConnectionPool")
|
|
53726
|
+
self._ConnectionPoolType = params.get("ConnectionPoolType")
|
|
53727
|
+
self._ConnectionPoolTimeOut = params.get("ConnectionPoolTimeOut")
|
|
53728
|
+
memeber_set = set(params.keys())
|
|
53729
|
+
for name, value in vars(self).items():
|
|
53730
|
+
property_name = name[1:]
|
|
53731
|
+
if property_name in memeber_set:
|
|
53732
|
+
memeber_set.remove(property_name)
|
|
53733
|
+
if len(memeber_set) > 0:
|
|
53734
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
53735
|
+
|
|
53736
|
+
|
|
53737
|
+
|
|
53223
53738
|
class ProxyGroup(AbstractModel):
|
|
53224
53739
|
r"""proxy组
|
|
53225
53740
|
|
|
@@ -63797,20 +64312,23 @@ class UserHostPrivilege(AbstractModel):
|
|
|
63797
64312
|
|
|
63798
64313
|
def __init__(self):
|
|
63799
64314
|
r"""
|
|
63800
|
-
:param _DbUserName:
|
|
64315
|
+
:param _DbUserName: <p>授权用户</p>
|
|
63801
64316
|
:type DbUserName: str
|
|
63802
|
-
:param _DbHost:
|
|
64317
|
+
:param _DbHost: <p>客户端ip</p>
|
|
63803
64318
|
:type DbHost: str
|
|
63804
|
-
:param _DbPrivilege:
|
|
64319
|
+
:param _DbPrivilege: <p>用户权限</p>
|
|
63805
64320
|
:type DbPrivilege: str
|
|
64321
|
+
:param _PrivilegeList: <p>权限明细列表</p>
|
|
64322
|
+
:type PrivilegeList: list of str
|
|
63806
64323
|
"""
|
|
63807
64324
|
self._DbUserName = None
|
|
63808
64325
|
self._DbHost = None
|
|
63809
64326
|
self._DbPrivilege = None
|
|
64327
|
+
self._PrivilegeList = None
|
|
63810
64328
|
|
|
63811
64329
|
@property
|
|
63812
64330
|
def DbUserName(self):
|
|
63813
|
-
r"""
|
|
64331
|
+
r"""<p>授权用户</p>
|
|
63814
64332
|
:rtype: str
|
|
63815
64333
|
"""
|
|
63816
64334
|
return self._DbUserName
|
|
@@ -63821,7 +64339,7 @@ class UserHostPrivilege(AbstractModel):
|
|
|
63821
64339
|
|
|
63822
64340
|
@property
|
|
63823
64341
|
def DbHost(self):
|
|
63824
|
-
r"""
|
|
64342
|
+
r"""<p>客户端ip</p>
|
|
63825
64343
|
:rtype: str
|
|
63826
64344
|
"""
|
|
63827
64345
|
return self._DbHost
|
|
@@ -63832,7 +64350,7 @@ class UserHostPrivilege(AbstractModel):
|
|
|
63832
64350
|
|
|
63833
64351
|
@property
|
|
63834
64352
|
def DbPrivilege(self):
|
|
63835
|
-
r"""
|
|
64353
|
+
r"""<p>用户权限</p>
|
|
63836
64354
|
:rtype: str
|
|
63837
64355
|
"""
|
|
63838
64356
|
return self._DbPrivilege
|
|
@@ -63841,11 +64359,23 @@ class UserHostPrivilege(AbstractModel):
|
|
|
63841
64359
|
def DbPrivilege(self, DbPrivilege):
|
|
63842
64360
|
self._DbPrivilege = DbPrivilege
|
|
63843
64361
|
|
|
64362
|
+
@property
|
|
64363
|
+
def PrivilegeList(self):
|
|
64364
|
+
r"""<p>权限明细列表</p>
|
|
64365
|
+
:rtype: list of str
|
|
64366
|
+
"""
|
|
64367
|
+
return self._PrivilegeList
|
|
64368
|
+
|
|
64369
|
+
@PrivilegeList.setter
|
|
64370
|
+
def PrivilegeList(self, PrivilegeList):
|
|
64371
|
+
self._PrivilegeList = PrivilegeList
|
|
64372
|
+
|
|
63844
64373
|
|
|
63845
64374
|
def _deserialize(self, params):
|
|
63846
64375
|
self._DbUserName = params.get("DbUserName")
|
|
63847
64376
|
self._DbHost = params.get("DbHost")
|
|
63848
64377
|
self._DbPrivilege = params.get("DbPrivilege")
|
|
64378
|
+
self._PrivilegeList = params.get("PrivilegeList")
|
|
63849
64379
|
memeber_set = set(params.keys())
|
|
63850
64380
|
for name, value in vars(self).items():
|
|
63851
64381
|
property_name = name[1:]
|
|
@@ -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.215
|
|
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.215
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.215
|
tencentcloud_sdk_python_cynosdb-3.1.208/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.208
|
{tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_cynosdb-3.1.208 → tencentcloud_sdk_python_cynosdb-3.1.215}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|