tencentcloud-sdk-python-cynosdb 3.1.94__tar.gz → 3.1.98__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.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/setup.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/cynosdb/v20190107/models.py +96 -114
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cynosdb-3.1.98/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cynosdb-3.1.94/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/README.rst +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/cynosdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.98
|
|
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.98
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cynosdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.98,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cynosdb SDK for Python',
|
|
@@ -1936,7 +1936,7 @@ class CynosdbClient(AbstractClient):
|
|
|
1936
1936
|
|
|
1937
1937
|
|
|
1938
1938
|
def DescribeInstanceSlowQueries(self, request):
|
|
1939
|
-
r"""此接口(DescribeInstanceSlowQueries
|
|
1939
|
+
r"""此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。受到平台返回大小限制,当返回结果过大时,可能会对超过限制的内容进行截断。
|
|
1940
1940
|
|
|
1941
1941
|
:param request: Request instance for DescribeInstanceSlowQueries.
|
|
1942
1942
|
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceSlowQueriesRequest`
|
|
@@ -1525,7 +1525,7 @@ class CynosdbClient(AbstractClient):
|
|
|
1525
1525
|
opts: Dict = None,
|
|
1526
1526
|
) -> models.DescribeInstanceSlowQueriesResponse:
|
|
1527
1527
|
"""
|
|
1528
|
-
此接口(DescribeInstanceSlowQueries
|
|
1528
|
+
此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。受到平台返回大小限制,当返回结果过大时,可能会对超过限制的内容进行截断。
|
|
1529
1529
|
"""
|
|
1530
1530
|
|
|
1531
1531
|
kwargs = {}
|
|
@@ -12815,7 +12815,7 @@ class CynosdbInstance(AbstractModel):
|
|
|
12815
12815
|
:type Memory: int
|
|
12816
12816
|
:param _Storage: <p>存储量,单位:GB</p>
|
|
12817
12817
|
:type Storage: int
|
|
12818
|
-
:param _InstanceType: <p>实例类型</p>
|
|
12818
|
+
:param _InstanceType: <p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写实例</li><li>ro: 只读实例</li></ul>
|
|
12819
12819
|
:type InstanceType: str
|
|
12820
12820
|
:param _InstanceRole: <p>实例当前角色</p>
|
|
12821
12821
|
:type InstanceRole: str
|
|
@@ -13152,7 +13152,7 @@ class CynosdbInstance(AbstractModel):
|
|
|
13152
13152
|
|
|
13153
13153
|
@property
|
|
13154
13154
|
def InstanceType(self):
|
|
13155
|
-
r"""<p>实例类型</p>
|
|
13155
|
+
r"""<p>实例类型</p><p>枚举值:</p><ul><li>rw: 读写实例</li><li>ro: 只读实例</li></ul>
|
|
13156
13156
|
:rtype: str
|
|
13157
13157
|
"""
|
|
13158
13158
|
return self._InstanceType
|
|
@@ -22424,27 +22424,27 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22424
22424
|
|
|
22425
22425
|
def __init__(self):
|
|
22426
22426
|
r"""
|
|
22427
|
-
:param _InstanceId:
|
|
22427
|
+
:param _InstanceId: <p>实例ID</p>
|
|
22428
22428
|
:type InstanceId: str
|
|
22429
|
-
:param _StartTime:
|
|
22429
|
+
:param _StartTime: <p>事务开始最早时间</p>
|
|
22430
22430
|
:type StartTime: str
|
|
22431
|
-
:param _EndTime:
|
|
22431
|
+
:param _EndTime: <p>事务开始最晚时间</p>
|
|
22432
22432
|
:type EndTime: str
|
|
22433
|
-
:param _Limit:
|
|
22433
|
+
:param _Limit: <p>限制条数</p><p>建议控制 limit 大小,当 limit 过大时,由于平台返回结果大小限制,可能会造成截断</p>
|
|
22434
22434
|
:type Limit: int
|
|
22435
|
-
:param _Offset:
|
|
22435
|
+
:param _Offset: <p>偏移量</p>
|
|
22436
22436
|
:type Offset: int
|
|
22437
|
-
:param _Username:
|
|
22437
|
+
:param _Username: <p>用户名</p>
|
|
22438
22438
|
:type Username: str
|
|
22439
|
-
:param _Host:
|
|
22439
|
+
:param _Host: <p>客户端host</p>
|
|
22440
22440
|
:type Host: str
|
|
22441
|
-
:param _Database:
|
|
22441
|
+
:param _Database: <p>数据库名</p>
|
|
22442
22442
|
:type Database: str
|
|
22443
|
-
:param _OrderBy:
|
|
22443
|
+
:param _OrderBy: <p>排序字段</p><p>枚举值:</p><ul><li>QueryTime: 按照 SQL 语句的总执行时长排序</li><li>LockTime: 按照 SQL 语句在等待锁(如表锁、行锁)上消耗的时间排序</li><li>RowsExamined: 按照 SQL 语句在执行过程中扫描的行数排序</li><li>RowsSent: 按照 SQL 语句最终返回给客户端的结果行数排序</li><li>Timestamp: 按照慢查询语句发生的时间戳排序</li></ul>
|
|
22444
22444
|
:type OrderBy: str
|
|
22445
|
-
:param _OrderByType:
|
|
22445
|
+
:param _OrderByType: <p>排序类型,可选值:asc,desc</p>
|
|
22446
22446
|
:type OrderByType: str
|
|
22447
|
-
:param _SqlText: sql
|
|
22447
|
+
:param _SqlText: <p>sql语句</p>
|
|
22448
22448
|
:type SqlText: str
|
|
22449
22449
|
"""
|
|
22450
22450
|
self._InstanceId = None
|
|
@@ -22461,7 +22461,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22461
22461
|
|
|
22462
22462
|
@property
|
|
22463
22463
|
def InstanceId(self):
|
|
22464
|
-
r"""
|
|
22464
|
+
r"""<p>实例ID</p>
|
|
22465
22465
|
:rtype: str
|
|
22466
22466
|
"""
|
|
22467
22467
|
return self._InstanceId
|
|
@@ -22472,7 +22472,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22472
22472
|
|
|
22473
22473
|
@property
|
|
22474
22474
|
def StartTime(self):
|
|
22475
|
-
r"""
|
|
22475
|
+
r"""<p>事务开始最早时间</p>
|
|
22476
22476
|
:rtype: str
|
|
22477
22477
|
"""
|
|
22478
22478
|
return self._StartTime
|
|
@@ -22483,7 +22483,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22483
22483
|
|
|
22484
22484
|
@property
|
|
22485
22485
|
def EndTime(self):
|
|
22486
|
-
r"""
|
|
22486
|
+
r"""<p>事务开始最晚时间</p>
|
|
22487
22487
|
:rtype: str
|
|
22488
22488
|
"""
|
|
22489
22489
|
return self._EndTime
|
|
@@ -22494,7 +22494,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22494
22494
|
|
|
22495
22495
|
@property
|
|
22496
22496
|
def Limit(self):
|
|
22497
|
-
r"""
|
|
22497
|
+
r"""<p>限制条数</p><p>建议控制 limit 大小,当 limit 过大时,由于平台返回结果大小限制,可能会造成截断</p>
|
|
22498
22498
|
:rtype: int
|
|
22499
22499
|
"""
|
|
22500
22500
|
return self._Limit
|
|
@@ -22505,7 +22505,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22505
22505
|
|
|
22506
22506
|
@property
|
|
22507
22507
|
def Offset(self):
|
|
22508
|
-
r"""
|
|
22508
|
+
r"""<p>偏移量</p>
|
|
22509
22509
|
:rtype: int
|
|
22510
22510
|
"""
|
|
22511
22511
|
return self._Offset
|
|
@@ -22516,7 +22516,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22516
22516
|
|
|
22517
22517
|
@property
|
|
22518
22518
|
def Username(self):
|
|
22519
|
-
r"""
|
|
22519
|
+
r"""<p>用户名</p>
|
|
22520
22520
|
:rtype: str
|
|
22521
22521
|
"""
|
|
22522
22522
|
return self._Username
|
|
@@ -22527,7 +22527,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22527
22527
|
|
|
22528
22528
|
@property
|
|
22529
22529
|
def Host(self):
|
|
22530
|
-
r"""
|
|
22530
|
+
r"""<p>客户端host</p>
|
|
22531
22531
|
:rtype: str
|
|
22532
22532
|
"""
|
|
22533
22533
|
return self._Host
|
|
@@ -22538,7 +22538,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22538
22538
|
|
|
22539
22539
|
@property
|
|
22540
22540
|
def Database(self):
|
|
22541
|
-
r"""
|
|
22541
|
+
r"""<p>数据库名</p>
|
|
22542
22542
|
:rtype: str
|
|
22543
22543
|
"""
|
|
22544
22544
|
return self._Database
|
|
@@ -22549,7 +22549,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22549
22549
|
|
|
22550
22550
|
@property
|
|
22551
22551
|
def OrderBy(self):
|
|
22552
|
-
r"""
|
|
22552
|
+
r"""<p>排序字段</p><p>枚举值:</p><ul><li>QueryTime: 按照 SQL 语句的总执行时长排序</li><li>LockTime: 按照 SQL 语句在等待锁(如表锁、行锁)上消耗的时间排序</li><li>RowsExamined: 按照 SQL 语句在执行过程中扫描的行数排序</li><li>RowsSent: 按照 SQL 语句最终返回给客户端的结果行数排序</li><li>Timestamp: 按照慢查询语句发生的时间戳排序</li></ul>
|
|
22553
22553
|
:rtype: str
|
|
22554
22554
|
"""
|
|
22555
22555
|
return self._OrderBy
|
|
@@ -22560,7 +22560,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22560
22560
|
|
|
22561
22561
|
@property
|
|
22562
22562
|
def OrderByType(self):
|
|
22563
|
-
r"""
|
|
22563
|
+
r"""<p>排序类型,可选值:asc,desc</p>
|
|
22564
22564
|
:rtype: str
|
|
22565
22565
|
"""
|
|
22566
22566
|
return self._OrderByType
|
|
@@ -22571,7 +22571,7 @@ class DescribeInstanceSlowQueriesRequest(AbstractModel):
|
|
|
22571
22571
|
|
|
22572
22572
|
@property
|
|
22573
22573
|
def SqlText(self):
|
|
22574
|
-
r"""sql
|
|
22574
|
+
r"""<p>sql语句</p>
|
|
22575
22575
|
:rtype: str
|
|
22576
22576
|
"""
|
|
22577
22577
|
return self._SqlText
|
|
@@ -22610,9 +22610,9 @@ class DescribeInstanceSlowQueriesResponse(AbstractModel):
|
|
|
22610
22610
|
|
|
22611
22611
|
def __init__(self):
|
|
22612
22612
|
r"""
|
|
22613
|
-
:param _TotalCount:
|
|
22613
|
+
:param _TotalCount: <p>总条数</p>
|
|
22614
22614
|
:type TotalCount: int
|
|
22615
|
-
:param _SlowQueries:
|
|
22615
|
+
:param _SlowQueries: <p>慢查询记录</p>
|
|
22616
22616
|
:type SlowQueries: list of SlowQueriesItem
|
|
22617
22617
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22618
22618
|
:type RequestId: str
|
|
@@ -22623,7 +22623,7 @@ class DescribeInstanceSlowQueriesResponse(AbstractModel):
|
|
|
22623
22623
|
|
|
22624
22624
|
@property
|
|
22625
22625
|
def TotalCount(self):
|
|
22626
|
-
r"""
|
|
22626
|
+
r"""<p>总条数</p>
|
|
22627
22627
|
:rtype: int
|
|
22628
22628
|
"""
|
|
22629
22629
|
return self._TotalCount
|
|
@@ -22634,7 +22634,7 @@ class DescribeInstanceSlowQueriesResponse(AbstractModel):
|
|
|
22634
22634
|
|
|
22635
22635
|
@property
|
|
22636
22636
|
def SlowQueries(self):
|
|
22637
|
-
r"""
|
|
22637
|
+
r"""<p>慢查询记录</p>
|
|
22638
22638
|
:rtype: list of SlowQueriesItem
|
|
22639
22639
|
"""
|
|
22640
22640
|
return self._SlowQueries
|
|
@@ -52047,72 +52047,63 @@ class RollbackToNewClusterRequest(AbstractModel):
|
|
|
52047
52047
|
|
|
52048
52048
|
def __init__(self):
|
|
52049
52049
|
r"""
|
|
52050
|
-
:param _Zone:
|
|
52050
|
+
:param _Zone: <p>可用区</p>
|
|
52051
52051
|
:type Zone: str
|
|
52052
|
-
:param _OriginalClusterId:
|
|
52052
|
+
:param _OriginalClusterId: <p>回档时,传入源集群ID,用于查找源poolId</p>
|
|
52053
52053
|
:type OriginalClusterId: str
|
|
52054
|
-
:param _UniqVpcId:
|
|
52054
|
+
:param _UniqVpcId: <p>所属VPC网络ID</p>
|
|
52055
52055
|
:type UniqVpcId: str
|
|
52056
|
-
:param _UniqSubnetId:
|
|
52056
|
+
:param _UniqSubnetId: <p>所属子网ID</p>
|
|
52057
52057
|
:type UniqSubnetId: str
|
|
52058
|
-
:param _ClusterName:
|
|
52058
|
+
:param _ClusterName: <p>集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')</p>
|
|
52059
52059
|
:type ClusterName: str
|
|
52060
|
-
:param _RollbackId:
|
|
52060
|
+
:param _RollbackId: <p>快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效</p>
|
|
52061
52061
|
:type RollbackId: int
|
|
52062
|
-
:param _ExpectTime:
|
|
52062
|
+
:param _ExpectTime: <p>时间点回档,指定时间;快照回档,快照时间</p>
|
|
52063
52063
|
:type ExpectTime: str
|
|
52064
|
-
:param _AutoVoucher:
|
|
52064
|
+
:param _AutoVoucher: <p>是否自动选择代金券 1是 0否 默认为0</p>
|
|
52065
52065
|
:type AutoVoucher: int
|
|
52066
|
-
:param _ResourceTags:
|
|
52066
|
+
:param _ResourceTags: <p>集群创建需要绑定的tag数组信息</p>
|
|
52067
52067
|
:type ResourceTags: list of Tag
|
|
52068
|
-
:param _DbMode: Db
|
|
52069
|
-
当DbType为MYSQL时可选(默认NORMAL):
|
|
52070
|
-
<li>NORMAL</li>
|
|
52071
|
-
<li>SERVERLESS</li>
|
|
52068
|
+
:param _DbMode: <p>Db类型<br>当DbType为MYSQL时可选(默认NORMAL):</p><li>NORMAL</li><li>SERVERLESS</li>
|
|
52072
52069
|
:type DbMode: str
|
|
52073
|
-
:param _MinCpu:
|
|
52074
|
-
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
52070
|
+
:param _MinCpu: <p>当DbMode为SEVERLESS时必填<br>cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回</p>
|
|
52075
52071
|
:type MinCpu: float
|
|
52076
|
-
:param _MaxCpu:
|
|
52077
|
-
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
52072
|
+
:param _MaxCpu: <p>当DbMode为SEVERLESS时必填:<br>cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回</p>
|
|
52078
52073
|
:type MaxCpu: float
|
|
52079
|
-
:param _AutoPause:
|
|
52080
|
-
<li>yes</li>
|
|
52081
|
-
<li>no</li>
|
|
52082
|
-
默认值:yes
|
|
52074
|
+
:param _AutoPause: <p>当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围</p><li>yes</li><li>no</li>默认值:yes
|
|
52083
52075
|
:type AutoPause: str
|
|
52084
|
-
:param _AutoPauseDelay:
|
|
52085
|
-
默认值:600
|
|
52076
|
+
:param _AutoPauseDelay: <p>当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]<br>默认值:600</p>
|
|
52086
52077
|
:type AutoPauseDelay: int
|
|
52087
|
-
:param _SecurityGroupIds:
|
|
52078
|
+
:param _SecurityGroupIds: <p>安全组id数组</p>
|
|
52088
52079
|
:type SecurityGroupIds: list of str
|
|
52089
|
-
:param _AlarmPolicyIds:
|
|
52080
|
+
:param _AlarmPolicyIds: <p>告警策略Id数组</p>
|
|
52090
52081
|
:type AlarmPolicyIds: list of str
|
|
52091
|
-
:param _ClusterParams:
|
|
52082
|
+
:param _ClusterParams: <p>参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感</p>
|
|
52092
52083
|
:type ClusterParams: list of ParamItem
|
|
52093
|
-
:param _ParamTemplateId:
|
|
52084
|
+
:param _ParamTemplateId: <p>参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID</p>
|
|
52094
52085
|
:type ParamTemplateId: int
|
|
52095
|
-
:param _InstanceInitInfos:
|
|
52086
|
+
:param _InstanceInitInfos: <p>实例初始化配置信息,主要用于购买集群时选不同规格实例</p>
|
|
52096
52087
|
:type InstanceInitInfos: list of InstanceInitInfo
|
|
52097
|
-
:param _DealMode: 0-下单并支付 1
|
|
52088
|
+
:param _DealMode: <p>0-下单并支付 1-下单</p>
|
|
52098
52089
|
:type DealMode: int
|
|
52099
|
-
:param _PayMode:
|
|
52090
|
+
:param _PayMode: <p>计算节点付费模式:0-按量计费,1-预付费</p>
|
|
52100
52091
|
:type PayMode: int
|
|
52101
|
-
:param _TimeSpan:
|
|
52092
|
+
:param _TimeSpan: <p>时间</p>
|
|
52102
52093
|
:type TimeSpan: int
|
|
52103
|
-
:param _TimeUnit:
|
|
52094
|
+
:param _TimeUnit: <p>单位</p>
|
|
52104
52095
|
:type TimeUnit: str
|
|
52105
|
-
:param _RollbackDatabases:
|
|
52096
|
+
:param _RollbackDatabases: <p>回档库信息</p>
|
|
52106
52097
|
:type RollbackDatabases: list of RollbackDatabase
|
|
52107
|
-
:param _RollbackTables:
|
|
52098
|
+
:param _RollbackTables: <p>回档表信息</p>
|
|
52108
52099
|
:type RollbackTables: list of RollbackTable
|
|
52109
|
-
:param _OriginalROInstanceList:
|
|
52100
|
+
:param _OriginalROInstanceList: <p>原ro实例信息</p>
|
|
52110
52101
|
:type OriginalROInstanceList: list of str
|
|
52111
|
-
:param _ProjectId:
|
|
52102
|
+
:param _ProjectId: <p>项目id</p>
|
|
52112
52103
|
:type ProjectId: int
|
|
52113
|
-
:param _AutoArchive:
|
|
52104
|
+
:param _AutoArchive: <p>是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes</p>
|
|
52114
52105
|
:type AutoArchive: str
|
|
52115
|
-
:param _FromSaveBackup:
|
|
52106
|
+
:param _FromSaveBackup: <p>是否从保存备份中恢复</p>
|
|
52116
52107
|
:type FromSaveBackup: bool
|
|
52117
52108
|
"""
|
|
52118
52109
|
self._Zone = None
|
|
@@ -52147,7 +52138,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52147
52138
|
|
|
52148
52139
|
@property
|
|
52149
52140
|
def Zone(self):
|
|
52150
|
-
r"""
|
|
52141
|
+
r"""<p>可用区</p>
|
|
52151
52142
|
:rtype: str
|
|
52152
52143
|
"""
|
|
52153
52144
|
return self._Zone
|
|
@@ -52158,7 +52149,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52158
52149
|
|
|
52159
52150
|
@property
|
|
52160
52151
|
def OriginalClusterId(self):
|
|
52161
|
-
r"""
|
|
52152
|
+
r"""<p>回档时,传入源集群ID,用于查找源poolId</p>
|
|
52162
52153
|
:rtype: str
|
|
52163
52154
|
"""
|
|
52164
52155
|
return self._OriginalClusterId
|
|
@@ -52169,7 +52160,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52169
52160
|
|
|
52170
52161
|
@property
|
|
52171
52162
|
def UniqVpcId(self):
|
|
52172
|
-
r"""
|
|
52163
|
+
r"""<p>所属VPC网络ID</p>
|
|
52173
52164
|
:rtype: str
|
|
52174
52165
|
"""
|
|
52175
52166
|
return self._UniqVpcId
|
|
@@ -52180,7 +52171,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52180
52171
|
|
|
52181
52172
|
@property
|
|
52182
52173
|
def UniqSubnetId(self):
|
|
52183
|
-
r"""
|
|
52174
|
+
r"""<p>所属子网ID</p>
|
|
52184
52175
|
:rtype: str
|
|
52185
52176
|
"""
|
|
52186
52177
|
return self._UniqSubnetId
|
|
@@ -52191,7 +52182,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52191
52182
|
|
|
52192
52183
|
@property
|
|
52193
52184
|
def ClusterName(self):
|
|
52194
|
-
r"""
|
|
52185
|
+
r"""<p>集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')</p>
|
|
52195
52186
|
:rtype: str
|
|
52196
52187
|
"""
|
|
52197
52188
|
return self._ClusterName
|
|
@@ -52202,7 +52193,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52202
52193
|
|
|
52203
52194
|
@property
|
|
52204
52195
|
def RollbackId(self):
|
|
52205
|
-
r"""
|
|
52196
|
+
r"""<p>快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效</p>
|
|
52206
52197
|
:rtype: int
|
|
52207
52198
|
"""
|
|
52208
52199
|
return self._RollbackId
|
|
@@ -52213,7 +52204,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52213
52204
|
|
|
52214
52205
|
@property
|
|
52215
52206
|
def ExpectTime(self):
|
|
52216
|
-
r"""
|
|
52207
|
+
r"""<p>时间点回档,指定时间;快照回档,快照时间</p>
|
|
52217
52208
|
:rtype: str
|
|
52218
52209
|
"""
|
|
52219
52210
|
return self._ExpectTime
|
|
@@ -52224,7 +52215,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52224
52215
|
|
|
52225
52216
|
@property
|
|
52226
52217
|
def AutoVoucher(self):
|
|
52227
|
-
r"""
|
|
52218
|
+
r"""<p>是否自动选择代金券 1是 0否 默认为0</p>
|
|
52228
52219
|
:rtype: int
|
|
52229
52220
|
"""
|
|
52230
52221
|
return self._AutoVoucher
|
|
@@ -52235,7 +52226,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52235
52226
|
|
|
52236
52227
|
@property
|
|
52237
52228
|
def ResourceTags(self):
|
|
52238
|
-
r"""
|
|
52229
|
+
r"""<p>集群创建需要绑定的tag数组信息</p>
|
|
52239
52230
|
:rtype: list of Tag
|
|
52240
52231
|
"""
|
|
52241
52232
|
return self._ResourceTags
|
|
@@ -52246,10 +52237,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52246
52237
|
|
|
52247
52238
|
@property
|
|
52248
52239
|
def DbMode(self):
|
|
52249
|
-
r"""Db
|
|
52250
|
-
当DbType为MYSQL时可选(默认NORMAL):
|
|
52251
|
-
<li>NORMAL</li>
|
|
52252
|
-
<li>SERVERLESS</li>
|
|
52240
|
+
r"""<p>Db类型<br>当DbType为MYSQL时可选(默认NORMAL):</p><li>NORMAL</li><li>SERVERLESS</li>
|
|
52253
52241
|
:rtype: str
|
|
52254
52242
|
"""
|
|
52255
52243
|
return self._DbMode
|
|
@@ -52260,8 +52248,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52260
52248
|
|
|
52261
52249
|
@property
|
|
52262
52250
|
def MinCpu(self):
|
|
52263
|
-
r"""
|
|
52264
|
-
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
52251
|
+
r"""<p>当DbMode为SEVERLESS时必填<br>cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回</p>
|
|
52265
52252
|
:rtype: float
|
|
52266
52253
|
"""
|
|
52267
52254
|
return self._MinCpu
|
|
@@ -52272,8 +52259,7 @@ cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52272
52259
|
|
|
52273
52260
|
@property
|
|
52274
52261
|
def MaxCpu(self):
|
|
52275
|
-
r"""
|
|
52276
|
-
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
52262
|
+
r"""<p>当DbMode为SEVERLESS时必填:<br>cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回</p>
|
|
52277
52263
|
:rtype: float
|
|
52278
52264
|
"""
|
|
52279
52265
|
return self._MaxCpu
|
|
@@ -52284,10 +52270,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52284
52270
|
|
|
52285
52271
|
@property
|
|
52286
52272
|
def AutoPause(self):
|
|
52287
|
-
r"""
|
|
52288
|
-
<li>yes</li>
|
|
52289
|
-
<li>no</li>
|
|
52290
|
-
默认值:yes
|
|
52273
|
+
r"""<p>当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围</p><li>yes</li><li>no</li>默认值:yes
|
|
52291
52274
|
:rtype: str
|
|
52292
52275
|
"""
|
|
52293
52276
|
return self._AutoPause
|
|
@@ -52298,8 +52281,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52298
52281
|
|
|
52299
52282
|
@property
|
|
52300
52283
|
def AutoPauseDelay(self):
|
|
52301
|
-
r"""
|
|
52302
|
-
默认值:600
|
|
52284
|
+
r"""<p>当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]<br>默认值:600</p>
|
|
52303
52285
|
:rtype: int
|
|
52304
52286
|
"""
|
|
52305
52287
|
return self._AutoPauseDelay
|
|
@@ -52310,7 +52292,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52310
52292
|
|
|
52311
52293
|
@property
|
|
52312
52294
|
def SecurityGroupIds(self):
|
|
52313
|
-
r"""
|
|
52295
|
+
r"""<p>安全组id数组</p>
|
|
52314
52296
|
:rtype: list of str
|
|
52315
52297
|
"""
|
|
52316
52298
|
return self._SecurityGroupIds
|
|
@@ -52321,7 +52303,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52321
52303
|
|
|
52322
52304
|
@property
|
|
52323
52305
|
def AlarmPolicyIds(self):
|
|
52324
|
-
r"""
|
|
52306
|
+
r"""<p>告警策略Id数组</p>
|
|
52325
52307
|
:rtype: list of str
|
|
52326
52308
|
"""
|
|
52327
52309
|
return self._AlarmPolicyIds
|
|
@@ -52332,7 +52314,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52332
52314
|
|
|
52333
52315
|
@property
|
|
52334
52316
|
def ClusterParams(self):
|
|
52335
|
-
r"""
|
|
52317
|
+
r"""<p>参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感</p>
|
|
52336
52318
|
:rtype: list of ParamItem
|
|
52337
52319
|
"""
|
|
52338
52320
|
return self._ClusterParams
|
|
@@ -52343,7 +52325,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52343
52325
|
|
|
52344
52326
|
@property
|
|
52345
52327
|
def ParamTemplateId(self):
|
|
52346
|
-
r"""
|
|
52328
|
+
r"""<p>参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID</p>
|
|
52347
52329
|
:rtype: int
|
|
52348
52330
|
"""
|
|
52349
52331
|
return self._ParamTemplateId
|
|
@@ -52354,7 +52336,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52354
52336
|
|
|
52355
52337
|
@property
|
|
52356
52338
|
def InstanceInitInfos(self):
|
|
52357
|
-
r"""
|
|
52339
|
+
r"""<p>实例初始化配置信息,主要用于购买集群时选不同规格实例</p>
|
|
52358
52340
|
:rtype: list of InstanceInitInfo
|
|
52359
52341
|
"""
|
|
52360
52342
|
return self._InstanceInitInfos
|
|
@@ -52365,7 +52347,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52365
52347
|
|
|
52366
52348
|
@property
|
|
52367
52349
|
def DealMode(self):
|
|
52368
|
-
r"""0-下单并支付 1
|
|
52350
|
+
r"""<p>0-下单并支付 1-下单</p>
|
|
52369
52351
|
:rtype: int
|
|
52370
52352
|
"""
|
|
52371
52353
|
return self._DealMode
|
|
@@ -52376,7 +52358,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52376
52358
|
|
|
52377
52359
|
@property
|
|
52378
52360
|
def PayMode(self):
|
|
52379
|
-
r"""
|
|
52361
|
+
r"""<p>计算节点付费模式:0-按量计费,1-预付费</p>
|
|
52380
52362
|
:rtype: int
|
|
52381
52363
|
"""
|
|
52382
52364
|
return self._PayMode
|
|
@@ -52387,7 +52369,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52387
52369
|
|
|
52388
52370
|
@property
|
|
52389
52371
|
def TimeSpan(self):
|
|
52390
|
-
r"""
|
|
52372
|
+
r"""<p>时间</p>
|
|
52391
52373
|
:rtype: int
|
|
52392
52374
|
"""
|
|
52393
52375
|
return self._TimeSpan
|
|
@@ -52398,7 +52380,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52398
52380
|
|
|
52399
52381
|
@property
|
|
52400
52382
|
def TimeUnit(self):
|
|
52401
|
-
r"""
|
|
52383
|
+
r"""<p>单位</p>
|
|
52402
52384
|
:rtype: str
|
|
52403
52385
|
"""
|
|
52404
52386
|
return self._TimeUnit
|
|
@@ -52409,7 +52391,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52409
52391
|
|
|
52410
52392
|
@property
|
|
52411
52393
|
def RollbackDatabases(self):
|
|
52412
|
-
r"""
|
|
52394
|
+
r"""<p>回档库信息</p>
|
|
52413
52395
|
:rtype: list of RollbackDatabase
|
|
52414
52396
|
"""
|
|
52415
52397
|
return self._RollbackDatabases
|
|
@@ -52420,7 +52402,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52420
52402
|
|
|
52421
52403
|
@property
|
|
52422
52404
|
def RollbackTables(self):
|
|
52423
|
-
r"""
|
|
52405
|
+
r"""<p>回档表信息</p>
|
|
52424
52406
|
:rtype: list of RollbackTable
|
|
52425
52407
|
"""
|
|
52426
52408
|
return self._RollbackTables
|
|
@@ -52431,7 +52413,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52431
52413
|
|
|
52432
52414
|
@property
|
|
52433
52415
|
def OriginalROInstanceList(self):
|
|
52434
|
-
r"""
|
|
52416
|
+
r"""<p>原ro实例信息</p>
|
|
52435
52417
|
:rtype: list of str
|
|
52436
52418
|
"""
|
|
52437
52419
|
return self._OriginalROInstanceList
|
|
@@ -52442,7 +52424,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52442
52424
|
|
|
52443
52425
|
@property
|
|
52444
52426
|
def ProjectId(self):
|
|
52445
|
-
r"""
|
|
52427
|
+
r"""<p>项目id</p>
|
|
52446
52428
|
:rtype: int
|
|
52447
52429
|
"""
|
|
52448
52430
|
return self._ProjectId
|
|
@@ -52453,7 +52435,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52453
52435
|
|
|
52454
52436
|
@property
|
|
52455
52437
|
def AutoArchive(self):
|
|
52456
|
-
r"""
|
|
52438
|
+
r"""<p>是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes</p>
|
|
52457
52439
|
:rtype: str
|
|
52458
52440
|
"""
|
|
52459
52441
|
return self._AutoArchive
|
|
@@ -52464,7 +52446,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
52464
52446
|
|
|
52465
52447
|
@property
|
|
52466
52448
|
def FromSaveBackup(self):
|
|
52467
|
-
r"""
|
|
52449
|
+
r"""<p>是否从保存备份中恢复</p>
|
|
52468
52450
|
:rtype: bool
|
|
52469
52451
|
"""
|
|
52470
52452
|
return self._FromSaveBackup
|
|
@@ -52546,15 +52528,15 @@ class RollbackToNewClusterResponse(AbstractModel):
|
|
|
52546
52528
|
|
|
52547
52529
|
def __init__(self):
|
|
52548
52530
|
r"""
|
|
52549
|
-
:param _TranId:
|
|
52531
|
+
:param _TranId: <p>冻结流水ID</p>
|
|
52550
52532
|
:type TranId: str
|
|
52551
|
-
:param _DealNames:
|
|
52533
|
+
:param _DealNames: <p>订单号</p>
|
|
52552
52534
|
:type DealNames: list of str
|
|
52553
|
-
:param _ResourceIds:
|
|
52535
|
+
:param _ResourceIds: <p>资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)</p>
|
|
52554
52536
|
:type ResourceIds: list of str
|
|
52555
|
-
:param _ClusterIds:
|
|
52537
|
+
:param _ClusterIds: <p>集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)</p>
|
|
52556
52538
|
:type ClusterIds: list of str
|
|
52557
|
-
:param _BigDealIds:
|
|
52539
|
+
:param _BigDealIds: <p>大订单号</p>
|
|
52558
52540
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52559
52541
|
:type BigDealIds: list of str
|
|
52560
52542
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -52569,7 +52551,7 @@ class RollbackToNewClusterResponse(AbstractModel):
|
|
|
52569
52551
|
|
|
52570
52552
|
@property
|
|
52571
52553
|
def TranId(self):
|
|
52572
|
-
r"""
|
|
52554
|
+
r"""<p>冻结流水ID</p>
|
|
52573
52555
|
:rtype: str
|
|
52574
52556
|
"""
|
|
52575
52557
|
return self._TranId
|
|
@@ -52580,7 +52562,7 @@ class RollbackToNewClusterResponse(AbstractModel):
|
|
|
52580
52562
|
|
|
52581
52563
|
@property
|
|
52582
52564
|
def DealNames(self):
|
|
52583
|
-
r"""
|
|
52565
|
+
r"""<p>订单号</p>
|
|
52584
52566
|
:rtype: list of str
|
|
52585
52567
|
"""
|
|
52586
52568
|
return self._DealNames
|
|
@@ -52591,7 +52573,7 @@ class RollbackToNewClusterResponse(AbstractModel):
|
|
|
52591
52573
|
|
|
52592
52574
|
@property
|
|
52593
52575
|
def ResourceIds(self):
|
|
52594
|
-
r"""
|
|
52576
|
+
r"""<p>资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)</p>
|
|
52595
52577
|
:rtype: list of str
|
|
52596
52578
|
"""
|
|
52597
52579
|
return self._ResourceIds
|
|
@@ -52602,7 +52584,7 @@ class RollbackToNewClusterResponse(AbstractModel):
|
|
|
52602
52584
|
|
|
52603
52585
|
@property
|
|
52604
52586
|
def ClusterIds(self):
|
|
52605
|
-
r"""
|
|
52587
|
+
r"""<p>集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)</p>
|
|
52606
52588
|
:rtype: list of str
|
|
52607
52589
|
"""
|
|
52608
52590
|
return self._ClusterIds
|
|
@@ -52613,7 +52595,7 @@ class RollbackToNewClusterResponse(AbstractModel):
|
|
|
52613
52595
|
|
|
52614
52596
|
@property
|
|
52615
52597
|
def BigDealIds(self):
|
|
52616
|
-
r"""
|
|
52598
|
+
r"""<p>大订单号</p>
|
|
52617
52599
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52618
52600
|
:rtype: list of str
|
|
52619
52601
|
"""
|
|
@@ -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.98
|
|
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.98
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.98
|
tencentcloud_sdk_python_cynosdb-3.1.94/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.94
|
{tencentcloud_sdk_python_cynosdb-3.1.94 → tencentcloud_sdk_python_cynosdb-3.1.98}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|