tencentcloud-sdk-python-cdb 3.1.112__tar.gz → 3.1.122__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-cdb might be problematic. Click here for more details.
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/cdb/v20170320/models.py +58 -76
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.122/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.112/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.112 → tencentcloud_sdk_python_cdb-3.1.122}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.122
|
|
4
4
|
Summary: Tencent Cloud Cdb SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.122
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.122,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -25,12 +25,9 @@ class Account(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _User:
|
|
28
|
+
:param _User: <p>账号名,可输入1 - 32个字符。</p>
|
|
29
29
|
:type User: str
|
|
30
|
-
:param _Host:
|
|
31
|
-
说明:
|
|
32
|
-
1. IP 形式,支持填入%。
|
|
33
|
-
2. 多个主机以分隔符分隔,分隔符支持;,|换行符和空格。
|
|
30
|
+
:param _Host: <p>账号的主机。</p><p>IP 形式,支持填入%。</p>
|
|
34
31
|
:type Host: str
|
|
35
32
|
"""
|
|
36
33
|
self._User = None
|
|
@@ -38,7 +35,7 @@ class Account(AbstractModel):
|
|
|
38
35
|
|
|
39
36
|
@property
|
|
40
37
|
def User(self):
|
|
41
|
-
r"""
|
|
38
|
+
r"""<p>账号名,可输入1 - 32个字符。</p>
|
|
42
39
|
:rtype: str
|
|
43
40
|
"""
|
|
44
41
|
return self._User
|
|
@@ -49,10 +46,7 @@ class Account(AbstractModel):
|
|
|
49
46
|
|
|
50
47
|
@property
|
|
51
48
|
def Host(self):
|
|
52
|
-
r"""
|
|
53
|
-
说明:
|
|
54
|
-
1. IP 形式,支持填入%。
|
|
55
|
-
2. 多个主机以分隔符分隔,分隔符支持;,|换行符和空格。
|
|
49
|
+
r"""<p>账号的主机。</p><p>IP 形式,支持填入%。</p>
|
|
56
50
|
:rtype: str
|
|
57
51
|
"""
|
|
58
52
|
return self._Host
|
|
@@ -6455,19 +6449,15 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6455
6449
|
|
|
6456
6450
|
def __init__(self):
|
|
6457
6451
|
r"""
|
|
6458
|
-
:param _InstanceId:
|
|
6452
|
+
:param _InstanceId: <p>实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
|
|
6459
6453
|
:type InstanceId: str
|
|
6460
|
-
:param _Accounts:
|
|
6454
|
+
:param _Accounts: <p>云数据库账号。</p>
|
|
6461
6455
|
:type Accounts: list of Account
|
|
6462
|
-
:param _Password:
|
|
6463
|
-
说明:
|
|
6464
|
-
1. 在8 ~ 64位字符数以内(推荐12位以上)。
|
|
6465
|
-
2. 至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
|
|
6466
|
-
3. 不能包含非法字符。
|
|
6456
|
+
:param _Password: <p>新账户的密码。<br>说明:</p><ol><li>在8 ~ 64位字符数以内(推荐12位以上)。</li><li>至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。</li><li>不能包含非法字符。</li></ol>
|
|
6467
6457
|
:type Password: str
|
|
6468
|
-
:param _Description:
|
|
6458
|
+
:param _Description: <p>备注信息。最多支持输入255个字符。</p>
|
|
6469
6459
|
:type Description: str
|
|
6470
|
-
:param _MaxUserConnections:
|
|
6460
|
+
:param _MaxUserConnections: <p>新账户最大可用连接数,默认值为10240,最大可设置值为10240。</p>
|
|
6471
6461
|
:type MaxUserConnections: int
|
|
6472
6462
|
"""
|
|
6473
6463
|
self._InstanceId = None
|
|
@@ -6478,7 +6468,7 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6478
6468
|
|
|
6479
6469
|
@property
|
|
6480
6470
|
def InstanceId(self):
|
|
6481
|
-
r"""
|
|
6471
|
+
r"""<p>实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
|
|
6482
6472
|
:rtype: str
|
|
6483
6473
|
"""
|
|
6484
6474
|
return self._InstanceId
|
|
@@ -6489,7 +6479,7 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6489
6479
|
|
|
6490
6480
|
@property
|
|
6491
6481
|
def Accounts(self):
|
|
6492
|
-
r"""
|
|
6482
|
+
r"""<p>云数据库账号。</p>
|
|
6493
6483
|
:rtype: list of Account
|
|
6494
6484
|
"""
|
|
6495
6485
|
return self._Accounts
|
|
@@ -6500,11 +6490,7 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6500
6490
|
|
|
6501
6491
|
@property
|
|
6502
6492
|
def Password(self):
|
|
6503
|
-
r"""
|
|
6504
|
-
说明:
|
|
6505
|
-
1. 在8 ~ 64位字符数以内(推荐12位以上)。
|
|
6506
|
-
2. 至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。
|
|
6507
|
-
3. 不能包含非法字符。
|
|
6493
|
+
r"""<p>新账户的密码。<br>说明:</p><ol><li>在8 ~ 64位字符数以内(推荐12位以上)。</li><li>至少包含其中两项:小写字母 a ~ z 或 大写字母 A ~ Z。数字0 ~ 9。_+-,&=!@#$%^*().|。</li><li>不能包含非法字符。</li></ol>
|
|
6508
6494
|
:rtype: str
|
|
6509
6495
|
"""
|
|
6510
6496
|
return self._Password
|
|
@@ -6515,7 +6501,7 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6515
6501
|
|
|
6516
6502
|
@property
|
|
6517
6503
|
def Description(self):
|
|
6518
|
-
r"""
|
|
6504
|
+
r"""<p>备注信息。最多支持输入255个字符。</p>
|
|
6519
6505
|
:rtype: str
|
|
6520
6506
|
"""
|
|
6521
6507
|
return self._Description
|
|
@@ -6526,7 +6512,7 @@ class CreateAccountsRequest(AbstractModel):
|
|
|
6526
6512
|
|
|
6527
6513
|
@property
|
|
6528
6514
|
def MaxUserConnections(self):
|
|
6529
|
-
r"""
|
|
6515
|
+
r"""<p>新账户最大可用连接数,默认值为10240,最大可设置值为10240。</p>
|
|
6530
6516
|
:rtype: int
|
|
6531
6517
|
"""
|
|
6532
6518
|
return self._MaxUserConnections
|
|
@@ -6564,7 +6550,7 @@ class CreateAccountsResponse(AbstractModel):
|
|
|
6564
6550
|
|
|
6565
6551
|
def __init__(self):
|
|
6566
6552
|
r"""
|
|
6567
|
-
:param _AsyncRequestId:
|
|
6553
|
+
:param _AsyncRequestId: <p>异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。</p>
|
|
6568
6554
|
:type AsyncRequestId: str
|
|
6569
6555
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6570
6556
|
:type RequestId: str
|
|
@@ -6574,7 +6560,7 @@ class CreateAccountsResponse(AbstractModel):
|
|
|
6574
6560
|
|
|
6575
6561
|
@property
|
|
6576
6562
|
def AsyncRequestId(self):
|
|
6577
|
-
r"""
|
|
6563
|
+
r"""<p>异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。</p>
|
|
6578
6564
|
:rtype: str
|
|
6579
6565
|
"""
|
|
6580
6566
|
return self._AsyncRequestId
|
|
@@ -7359,47 +7345,45 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7359
7345
|
|
|
7360
7346
|
def __init__(self):
|
|
7361
7347
|
r"""
|
|
7362
|
-
:param _ProxyGroupId:
|
|
7348
|
+
:param _ProxyGroupId: <p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
7363
7349
|
:type ProxyGroupId: str
|
|
7364
|
-
:param _WeightMode:
|
|
7365
|
-
系统自动分配:"system", 自定义:"custom"
|
|
7350
|
+
:param _WeightMode: <p>权重分配模式,<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
7366
7351
|
:type WeightMode: str
|
|
7367
|
-
:param _IsKickOut:
|
|
7352
|
+
:param _IsKickOut: <p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
7368
7353
|
:type IsKickOut: bool
|
|
7369
|
-
:param _MinCount:
|
|
7354
|
+
:param _MinCount: <p>最小保留数量,最小取值:0</p>
|
|
7370
7355
|
:type MinCount: int
|
|
7371
|
-
:param _MaxDelay:
|
|
7356
|
+
:param _MaxDelay: <p>延迟剔除阈值,最小取值:1,范围:1 - 10000,整数。</p>
|
|
7372
7357
|
:type MaxDelay: int
|
|
7373
|
-
:param _FailOver:
|
|
7358
|
+
:param _FailOver: <p>是否开启故障转移,取值:"true" | "false"</p>
|
|
7374
7359
|
:type FailOver: bool
|
|
7375
|
-
:param _AutoAddRo:
|
|
7360
|
+
:param _AutoAddRo: <p>是否自动添加RO,取值:"true" | "false"</p>
|
|
7376
7361
|
:type AutoAddRo: bool
|
|
7377
|
-
:param _ReadOnly:
|
|
7362
|
+
:param _ReadOnly: <p>是否是只读,取值:"true" | "false"</p>
|
|
7378
7363
|
:type ReadOnly: bool
|
|
7379
|
-
:param _TransSplit:
|
|
7364
|
+
:param _TransSplit: <p>是否开启事务分离,取值:"true" | "false"</p>
|
|
7380
7365
|
:type TransSplit: bool
|
|
7381
|
-
:param _ProxyAllocation:
|
|
7366
|
+
:param _ProxyAllocation: <p>读写权重分配</p>
|
|
7382
7367
|
:type ProxyAllocation: list of ProxyAllocation
|
|
7383
|
-
:param _UniqVpcId:
|
|
7368
|
+
:param _UniqVpcId: <p>私有网络 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
7384
7369
|
:type UniqVpcId: str
|
|
7385
|
-
:param _UniqSubnetId:
|
|
7370
|
+
:param _UniqSubnetId: <p>私有子网 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
7386
7371
|
:type UniqSubnetId: str
|
|
7387
|
-
:param _ConnectionPool:
|
|
7388
|
-
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
7372
|
+
:param _ConnectionPool: <p>是否开启连接池。默认关闭。<br>注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。</p>
|
|
7389
7373
|
:type ConnectionPool: bool
|
|
7390
|
-
:param _Desc:
|
|
7374
|
+
:param _Desc: <p>描述</p>
|
|
7391
7375
|
:type Desc: str
|
|
7392
|
-
:param _Vip: IP 地址。不填则默认为所选 VPC 下支持的随机一个 IP
|
|
7376
|
+
:param _Vip: <p>IP 地址。不填则默认为所选 VPC 下支持的随机一个 IP。</p>
|
|
7393
7377
|
:type Vip: str
|
|
7394
|
-
:param _VPort:
|
|
7378
|
+
:param _VPort: <p>端口。默认值3306。</p>
|
|
7395
7379
|
:type VPort: int
|
|
7396
|
-
:param _SecurityGroup:
|
|
7380
|
+
:param _SecurityGroup: <p>安全组</p>
|
|
7397
7381
|
:type SecurityGroup: list of str
|
|
7398
|
-
:param _ConnectionPoolType:
|
|
7382
|
+
:param _ConnectionPoolType: <p>连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool 为 true 时生效。默认值:connection。</p>
|
|
7399
7383
|
:type ConnectionPoolType: str
|
|
7400
|
-
:param _AutoLoadBalance:
|
|
7384
|
+
:param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
|
|
7401
7385
|
:type AutoLoadBalance: bool
|
|
7402
|
-
:param _AccessMode:
|
|
7386
|
+
:param _AccessMode: <p>接入模式。nearBy - 就近访问,balance - 均衡分配,默认值:nearBy。</p>
|
|
7403
7387
|
:type AccessMode: str
|
|
7404
7388
|
"""
|
|
7405
7389
|
self._ProxyGroupId = None
|
|
@@ -7425,7 +7409,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7425
7409
|
|
|
7426
7410
|
@property
|
|
7427
7411
|
def ProxyGroupId(self):
|
|
7428
|
-
r"""
|
|
7412
|
+
r"""<p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
7429
7413
|
:rtype: str
|
|
7430
7414
|
"""
|
|
7431
7415
|
return self._ProxyGroupId
|
|
@@ -7436,8 +7420,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7436
7420
|
|
|
7437
7421
|
@property
|
|
7438
7422
|
def WeightMode(self):
|
|
7439
|
-
r"""
|
|
7440
|
-
系统自动分配:"system", 自定义:"custom"
|
|
7423
|
+
r"""<p>权重分配模式,<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
7441
7424
|
:rtype: str
|
|
7442
7425
|
"""
|
|
7443
7426
|
return self._WeightMode
|
|
@@ -7448,7 +7431,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7448
7431
|
|
|
7449
7432
|
@property
|
|
7450
7433
|
def IsKickOut(self):
|
|
7451
|
-
r"""
|
|
7434
|
+
r"""<p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
7452
7435
|
:rtype: bool
|
|
7453
7436
|
"""
|
|
7454
7437
|
return self._IsKickOut
|
|
@@ -7459,7 +7442,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7459
7442
|
|
|
7460
7443
|
@property
|
|
7461
7444
|
def MinCount(self):
|
|
7462
|
-
r"""
|
|
7445
|
+
r"""<p>最小保留数量,最小取值:0</p>
|
|
7463
7446
|
:rtype: int
|
|
7464
7447
|
"""
|
|
7465
7448
|
return self._MinCount
|
|
@@ -7470,7 +7453,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7470
7453
|
|
|
7471
7454
|
@property
|
|
7472
7455
|
def MaxDelay(self):
|
|
7473
|
-
r"""
|
|
7456
|
+
r"""<p>延迟剔除阈值,最小取值:1,范围:1 - 10000,整数。</p>
|
|
7474
7457
|
:rtype: int
|
|
7475
7458
|
"""
|
|
7476
7459
|
return self._MaxDelay
|
|
@@ -7481,7 +7464,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7481
7464
|
|
|
7482
7465
|
@property
|
|
7483
7466
|
def FailOver(self):
|
|
7484
|
-
r"""
|
|
7467
|
+
r"""<p>是否开启故障转移,取值:"true" | "false"</p>
|
|
7485
7468
|
:rtype: bool
|
|
7486
7469
|
"""
|
|
7487
7470
|
return self._FailOver
|
|
@@ -7492,7 +7475,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7492
7475
|
|
|
7493
7476
|
@property
|
|
7494
7477
|
def AutoAddRo(self):
|
|
7495
|
-
r"""
|
|
7478
|
+
r"""<p>是否自动添加RO,取值:"true" | "false"</p>
|
|
7496
7479
|
:rtype: bool
|
|
7497
7480
|
"""
|
|
7498
7481
|
return self._AutoAddRo
|
|
@@ -7503,7 +7486,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7503
7486
|
|
|
7504
7487
|
@property
|
|
7505
7488
|
def ReadOnly(self):
|
|
7506
|
-
r"""
|
|
7489
|
+
r"""<p>是否是只读,取值:"true" | "false"</p>
|
|
7507
7490
|
:rtype: bool
|
|
7508
7491
|
"""
|
|
7509
7492
|
return self._ReadOnly
|
|
@@ -7514,7 +7497,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7514
7497
|
|
|
7515
7498
|
@property
|
|
7516
7499
|
def TransSplit(self):
|
|
7517
|
-
r"""
|
|
7500
|
+
r"""<p>是否开启事务分离,取值:"true" | "false"</p>
|
|
7518
7501
|
:rtype: bool
|
|
7519
7502
|
"""
|
|
7520
7503
|
return self._TransSplit
|
|
@@ -7525,7 +7508,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7525
7508
|
|
|
7526
7509
|
@property
|
|
7527
7510
|
def ProxyAllocation(self):
|
|
7528
|
-
r"""
|
|
7511
|
+
r"""<p>读写权重分配</p>
|
|
7529
7512
|
:rtype: list of ProxyAllocation
|
|
7530
7513
|
"""
|
|
7531
7514
|
return self._ProxyAllocation
|
|
@@ -7536,7 +7519,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7536
7519
|
|
|
7537
7520
|
@property
|
|
7538
7521
|
def UniqVpcId(self):
|
|
7539
|
-
r"""
|
|
7522
|
+
r"""<p>私有网络 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
7540
7523
|
:rtype: str
|
|
7541
7524
|
"""
|
|
7542
7525
|
return self._UniqVpcId
|
|
@@ -7547,7 +7530,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7547
7530
|
|
|
7548
7531
|
@property
|
|
7549
7532
|
def UniqSubnetId(self):
|
|
7550
|
-
r"""
|
|
7533
|
+
r"""<p>私有子网 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
7551
7534
|
:rtype: str
|
|
7552
7535
|
"""
|
|
7553
7536
|
return self._UniqSubnetId
|
|
@@ -7558,8 +7541,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7558
7541
|
|
|
7559
7542
|
@property
|
|
7560
7543
|
def ConnectionPool(self):
|
|
7561
|
-
r"""
|
|
7562
|
-
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
7544
|
+
r"""<p>是否开启连接池。默认关闭。<br>注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。</p>
|
|
7563
7545
|
:rtype: bool
|
|
7564
7546
|
"""
|
|
7565
7547
|
return self._ConnectionPool
|
|
@@ -7570,7 +7552,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7570
7552
|
|
|
7571
7553
|
@property
|
|
7572
7554
|
def Desc(self):
|
|
7573
|
-
r"""
|
|
7555
|
+
r"""<p>描述</p>
|
|
7574
7556
|
:rtype: str
|
|
7575
7557
|
"""
|
|
7576
7558
|
return self._Desc
|
|
@@ -7581,7 +7563,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7581
7563
|
|
|
7582
7564
|
@property
|
|
7583
7565
|
def Vip(self):
|
|
7584
|
-
r"""IP 地址。不填则默认为所选 VPC 下支持的随机一个 IP
|
|
7566
|
+
r"""<p>IP 地址。不填则默认为所选 VPC 下支持的随机一个 IP。</p>
|
|
7585
7567
|
:rtype: str
|
|
7586
7568
|
"""
|
|
7587
7569
|
return self._Vip
|
|
@@ -7592,7 +7574,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7592
7574
|
|
|
7593
7575
|
@property
|
|
7594
7576
|
def VPort(self):
|
|
7595
|
-
r"""
|
|
7577
|
+
r"""<p>端口。默认值3306。</p>
|
|
7596
7578
|
:rtype: int
|
|
7597
7579
|
"""
|
|
7598
7580
|
return self._VPort
|
|
@@ -7603,7 +7585,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7603
7585
|
|
|
7604
7586
|
@property
|
|
7605
7587
|
def SecurityGroup(self):
|
|
7606
|
-
r"""
|
|
7588
|
+
r"""<p>安全组</p>
|
|
7607
7589
|
:rtype: list of str
|
|
7608
7590
|
"""
|
|
7609
7591
|
return self._SecurityGroup
|
|
@@ -7614,7 +7596,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7614
7596
|
|
|
7615
7597
|
@property
|
|
7616
7598
|
def ConnectionPoolType(self):
|
|
7617
|
-
r"""
|
|
7599
|
+
r"""<p>连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool 为 true 时生效。默认值:connection。</p>
|
|
7618
7600
|
:rtype: str
|
|
7619
7601
|
"""
|
|
7620
7602
|
return self._ConnectionPoolType
|
|
@@ -7625,7 +7607,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7625
7607
|
|
|
7626
7608
|
@property
|
|
7627
7609
|
def AutoLoadBalance(self):
|
|
7628
|
-
r"""
|
|
7610
|
+
r"""<p>是否开启自适应负载均衡。默认关闭。</p>
|
|
7629
7611
|
:rtype: bool
|
|
7630
7612
|
"""
|
|
7631
7613
|
return self._AutoLoadBalance
|
|
@@ -7636,7 +7618,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7636
7618
|
|
|
7637
7619
|
@property
|
|
7638
7620
|
def AccessMode(self):
|
|
7639
|
-
r"""
|
|
7621
|
+
r"""<p>接入模式。nearBy - 就近访问,balance - 均衡分配,默认值:nearBy。</p>
|
|
7640
7622
|
:rtype: str
|
|
7641
7623
|
"""
|
|
7642
7624
|
return self._AccessMode
|
|
@@ -7689,7 +7671,7 @@ class CreateCdbProxyAddressResponse(AbstractModel):
|
|
|
7689
7671
|
|
|
7690
7672
|
def __init__(self):
|
|
7691
7673
|
r"""
|
|
7692
|
-
:param _AsyncRequestId:
|
|
7674
|
+
:param _AsyncRequestId: <p>异步任务ID</p>
|
|
7693
7675
|
:type AsyncRequestId: str
|
|
7694
7676
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7695
7677
|
:type RequestId: str
|
|
@@ -7699,7 +7681,7 @@ class CreateCdbProxyAddressResponse(AbstractModel):
|
|
|
7699
7681
|
|
|
7700
7682
|
@property
|
|
7701
7683
|
def AsyncRequestId(self):
|
|
7702
|
-
r"""
|
|
7684
|
+
r"""<p>异步任务ID</p>
|
|
7703
7685
|
:rtype: str
|
|
7704
7686
|
"""
|
|
7705
7687
|
return self._AsyncRequestId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.122
|
|
4
4
|
Summary: Tencent Cloud Cdb SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.122
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.122
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|