tencentcloud-sdk-python-cdb 3.1.102__tar.gz → 3.1.108__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_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/models.py +70 -24
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.108/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.102/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.102 → tencentcloud_sdk_python_cdb-3.1.108}/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.108
|
|
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.108
|
|
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.108,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -20023,6 +20023,8 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
|
20023
20023
|
:type NodeDistribution: :class:`tencentcloud.cdb.v20170320.models.NodeDistribution`
|
|
20024
20024
|
:param _ClusterTopology: <p>云盘版的节点拓扑配置。Nodeld 信息可通过 <a href="https://cloud.tencent.com/document/api/236/105116">DescribeClusterInfo</a> 接口获取。</p>
|
|
20025
20025
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
|
20026
|
+
:param _DstFourthZone: <p>目标实例备机3可用区 ID。可使用 <a href="https://cloud.tencent.com/document/product/236/80281">DescribeCdbZoneConfig</a> 获取可用区 ID。</p>
|
|
20027
|
+
:type DstFourthZone: int
|
|
20026
20028
|
"""
|
|
20027
20029
|
self._InstanceId = None
|
|
20028
20030
|
self._DstCpu = None
|
|
@@ -20037,6 +20039,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
|
20037
20039
|
self._DstZoneId = None
|
|
20038
20040
|
self._NodeDistribution = None
|
|
20039
20041
|
self._ClusterTopology = None
|
|
20042
|
+
self._DstFourthZone = None
|
|
20040
20043
|
|
|
20041
20044
|
@property
|
|
20042
20045
|
def InstanceId(self):
|
|
@@ -20181,6 +20184,17 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
|
20181
20184
|
def ClusterTopology(self, ClusterTopology):
|
|
20182
20185
|
self._ClusterTopology = ClusterTopology
|
|
20183
20186
|
|
|
20187
|
+
@property
|
|
20188
|
+
def DstFourthZone(self):
|
|
20189
|
+
r"""<p>目标实例备机3可用区 ID。可使用 <a href="https://cloud.tencent.com/document/product/236/80281">DescribeCdbZoneConfig</a> 获取可用区 ID。</p>
|
|
20190
|
+
:rtype: int
|
|
20191
|
+
"""
|
|
20192
|
+
return self._DstFourthZone
|
|
20193
|
+
|
|
20194
|
+
@DstFourthZone.setter
|
|
20195
|
+
def DstFourthZone(self, DstFourthZone):
|
|
20196
|
+
self._DstFourthZone = DstFourthZone
|
|
20197
|
+
|
|
20184
20198
|
|
|
20185
20199
|
def _deserialize(self, params):
|
|
20186
20200
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -20200,6 +20214,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
|
20200
20214
|
if params.get("ClusterTopology") is not None:
|
|
20201
20215
|
self._ClusterTopology = ClusterTopology()
|
|
20202
20216
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
|
20217
|
+
self._DstFourthZone = params.get("DstFourthZone")
|
|
20203
20218
|
memeber_set = set(params.keys())
|
|
20204
20219
|
for name, value in vars(self).items():
|
|
20205
20220
|
property_name = name[1:]
|
|
@@ -29428,28 +29443,28 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29428
29443
|
|
|
29429
29444
|
def __init__(self):
|
|
29430
29445
|
r"""
|
|
29431
|
-
:param _InstanceId:
|
|
29446
|
+
:param _InstanceId: <p>实例 ID,可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
29432
29447
|
:type InstanceId: str
|
|
29433
|
-
:param _LogType:
|
|
29448
|
+
:param _LogType: <p>日志类型。error:错误日志,slowlog:慢日志。</p>
|
|
29434
29449
|
:type LogType: str
|
|
29435
|
-
:param _Status:
|
|
29450
|
+
:param _Status: <p>投递状态。ON:开启,OFF:关闭。</p>
|
|
29436
29451
|
:type Status: str
|
|
29437
|
-
:param _CreateLogset:
|
|
29452
|
+
:param _CreateLogset: <p>是否需要创建日志集。默认为 false。</p>
|
|
29438
29453
|
:type CreateLogset: bool
|
|
29439
|
-
:param _Logset:
|
|
29440
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29454
|
+
:param _Logset: <p>需要创建日志集时为日志集名称;选择已有日志集时,为日志集 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29441
29455
|
:type Logset: str
|
|
29442
|
-
:param _CreateLogTopic:
|
|
29456
|
+
:param _CreateLogTopic: <p>是否需要创建日志主题。默认为 false。</p>
|
|
29443
29457
|
:type CreateLogTopic: bool
|
|
29444
|
-
:param _LogTopic:
|
|
29445
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29458
|
+
:param _LogTopic: <p>需要创建日志主题时为日志主题名称;选择已有日志主题时,为日志主题 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29446
29459
|
:type LogTopic: str
|
|
29447
|
-
:param _Period:
|
|
29460
|
+
:param _Period: <p>日志主题有效期,不填写时,默认30天,最大值3600。</p>
|
|
29448
29461
|
:type Period: int
|
|
29449
|
-
:param _CreateIndex:
|
|
29462
|
+
:param _CreateIndex: <p>创建日志主题时,是否创建索引,默认为 false。</p>
|
|
29450
29463
|
:type CreateIndex: bool
|
|
29451
|
-
:param _ClsRegion: CLS 所在地域,不填择默认为 Region
|
|
29464
|
+
:param _ClsRegion: <p>CLS 所在地域,不填择默认为 Region 的参数值。</p>
|
|
29452
29465
|
:type ClsRegion: str
|
|
29466
|
+
:param _ResourceTags: <p>创建日志集和日志主题的时候可选,最多不能超过10个标签</p>
|
|
29467
|
+
:type ResourceTags: list of TagInfoItem
|
|
29453
29468
|
"""
|
|
29454
29469
|
self._InstanceId = None
|
|
29455
29470
|
self._LogType = None
|
|
@@ -29461,10 +29476,11 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29461
29476
|
self._Period = None
|
|
29462
29477
|
self._CreateIndex = None
|
|
29463
29478
|
self._ClsRegion = None
|
|
29479
|
+
self._ResourceTags = None
|
|
29464
29480
|
|
|
29465
29481
|
@property
|
|
29466
29482
|
def InstanceId(self):
|
|
29467
|
-
r"""
|
|
29483
|
+
r"""<p>实例 ID,可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
29468
29484
|
:rtype: str
|
|
29469
29485
|
"""
|
|
29470
29486
|
return self._InstanceId
|
|
@@ -29475,7 +29491,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29475
29491
|
|
|
29476
29492
|
@property
|
|
29477
29493
|
def LogType(self):
|
|
29478
|
-
r"""
|
|
29494
|
+
r"""<p>日志类型。error:错误日志,slowlog:慢日志。</p>
|
|
29479
29495
|
:rtype: str
|
|
29480
29496
|
"""
|
|
29481
29497
|
return self._LogType
|
|
@@ -29486,7 +29502,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29486
29502
|
|
|
29487
29503
|
@property
|
|
29488
29504
|
def Status(self):
|
|
29489
|
-
r"""
|
|
29505
|
+
r"""<p>投递状态。ON:开启,OFF:关闭。</p>
|
|
29490
29506
|
:rtype: str
|
|
29491
29507
|
"""
|
|
29492
29508
|
return self._Status
|
|
@@ -29497,7 +29513,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29497
29513
|
|
|
29498
29514
|
@property
|
|
29499
29515
|
def CreateLogset(self):
|
|
29500
|
-
r"""
|
|
29516
|
+
r"""<p>是否需要创建日志集。默认为 false。</p>
|
|
29501
29517
|
:rtype: bool
|
|
29502
29518
|
"""
|
|
29503
29519
|
return self._CreateLogset
|
|
@@ -29508,8 +29524,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29508
29524
|
|
|
29509
29525
|
@property
|
|
29510
29526
|
def Logset(self):
|
|
29511
|
-
r"""
|
|
29512
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29527
|
+
r"""<p>需要创建日志集时为日志集名称;选择已有日志集时,为日志集 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29513
29528
|
:rtype: str
|
|
29514
29529
|
"""
|
|
29515
29530
|
return self._Logset
|
|
@@ -29520,7 +29535,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29520
29535
|
|
|
29521
29536
|
@property
|
|
29522
29537
|
def CreateLogTopic(self):
|
|
29523
|
-
r"""
|
|
29538
|
+
r"""<p>是否需要创建日志主题。默认为 false。</p>
|
|
29524
29539
|
:rtype: bool
|
|
29525
29540
|
"""
|
|
29526
29541
|
return self._CreateLogTopic
|
|
@@ -29531,8 +29546,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29531
29546
|
|
|
29532
29547
|
@property
|
|
29533
29548
|
def LogTopic(self):
|
|
29534
|
-
r"""
|
|
29535
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29549
|
+
r"""<p>需要创建日志主题时为日志主题名称;选择已有日志主题时,为日志主题 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29536
29550
|
:rtype: str
|
|
29537
29551
|
"""
|
|
29538
29552
|
return self._LogTopic
|
|
@@ -29543,7 +29557,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29543
29557
|
|
|
29544
29558
|
@property
|
|
29545
29559
|
def Period(self):
|
|
29546
|
-
r"""
|
|
29560
|
+
r"""<p>日志主题有效期,不填写时,默认30天,最大值3600。</p>
|
|
29547
29561
|
:rtype: int
|
|
29548
29562
|
"""
|
|
29549
29563
|
return self._Period
|
|
@@ -29554,7 +29568,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29554
29568
|
|
|
29555
29569
|
@property
|
|
29556
29570
|
def CreateIndex(self):
|
|
29557
|
-
r"""
|
|
29571
|
+
r"""<p>创建日志主题时,是否创建索引,默认为 false。</p>
|
|
29558
29572
|
:rtype: bool
|
|
29559
29573
|
"""
|
|
29560
29574
|
return self._CreateIndex
|
|
@@ -29565,7 +29579,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29565
29579
|
|
|
29566
29580
|
@property
|
|
29567
29581
|
def ClsRegion(self):
|
|
29568
|
-
r"""CLS 所在地域,不填择默认为 Region
|
|
29582
|
+
r"""<p>CLS 所在地域,不填择默认为 Region 的参数值。</p>
|
|
29569
29583
|
:rtype: str
|
|
29570
29584
|
"""
|
|
29571
29585
|
return self._ClsRegion
|
|
@@ -29574,6 +29588,17 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29574
29588
|
def ClsRegion(self, ClsRegion):
|
|
29575
29589
|
self._ClsRegion = ClsRegion
|
|
29576
29590
|
|
|
29591
|
+
@property
|
|
29592
|
+
def ResourceTags(self):
|
|
29593
|
+
r"""<p>创建日志集和日志主题的时候可选,最多不能超过10个标签</p>
|
|
29594
|
+
:rtype: list of TagInfoItem
|
|
29595
|
+
"""
|
|
29596
|
+
return self._ResourceTags
|
|
29597
|
+
|
|
29598
|
+
@ResourceTags.setter
|
|
29599
|
+
def ResourceTags(self, ResourceTags):
|
|
29600
|
+
self._ResourceTags = ResourceTags
|
|
29601
|
+
|
|
29577
29602
|
|
|
29578
29603
|
def _deserialize(self, params):
|
|
29579
29604
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -29586,6 +29611,12 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29586
29611
|
self._Period = params.get("Period")
|
|
29587
29612
|
self._CreateIndex = params.get("CreateIndex")
|
|
29588
29613
|
self._ClsRegion = params.get("ClsRegion")
|
|
29614
|
+
if params.get("ResourceTags") is not None:
|
|
29615
|
+
self._ResourceTags = []
|
|
29616
|
+
for item in params.get("ResourceTags"):
|
|
29617
|
+
obj = TagInfoItem()
|
|
29618
|
+
obj._deserialize(item)
|
|
29619
|
+
self._ResourceTags.append(obj)
|
|
29589
29620
|
memeber_set = set(params.keys())
|
|
29590
29621
|
for name, value in vars(self).items():
|
|
29591
29622
|
property_name = name[1:]
|
|
@@ -39554,6 +39585,8 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
|
39554
39585
|
:type CheckFastUpgradeReboot: int
|
|
39555
39586
|
:param _DataCheckSensitive: <p>数据校验敏感度,非极速变配时使用此参数,敏感度根据当前实例规格计算迁移过程中的数据对比使用的cpu资源<br>对应的选项为: "high"、"normal"、"low",默认为空<br>参数详解,:<br>"high": 对应控制台中的高,数据库负载过高不建议使用<br>"normal":对应控制台中的标准<br>"low":对应控制台中的低</p>
|
|
39556
39587
|
:type DataCheckSensitive: str
|
|
39588
|
+
:param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
39589
|
+
:type FourthZone: str
|
|
39557
39590
|
"""
|
|
39558
39591
|
self._InstanceId = None
|
|
39559
39592
|
self._Memory = None
|
|
@@ -39575,6 +39608,7 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
|
39575
39608
|
self._ClusterTopology = None
|
|
39576
39609
|
self._CheckFastUpgradeReboot = None
|
|
39577
39610
|
self._DataCheckSensitive = None
|
|
39611
|
+
self._FourthZone = None
|
|
39578
39612
|
|
|
39579
39613
|
@property
|
|
39580
39614
|
def InstanceId(self):
|
|
@@ -39796,6 +39830,17 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
|
39796
39830
|
def DataCheckSensitive(self, DataCheckSensitive):
|
|
39797
39831
|
self._DataCheckSensitive = DataCheckSensitive
|
|
39798
39832
|
|
|
39833
|
+
@property
|
|
39834
|
+
def FourthZone(self):
|
|
39835
|
+
r"""<p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
|
|
39836
|
+
:rtype: str
|
|
39837
|
+
"""
|
|
39838
|
+
return self._FourthZone
|
|
39839
|
+
|
|
39840
|
+
@FourthZone.setter
|
|
39841
|
+
def FourthZone(self, FourthZone):
|
|
39842
|
+
self._FourthZone = FourthZone
|
|
39843
|
+
|
|
39799
39844
|
|
|
39800
39845
|
def _deserialize(self, params):
|
|
39801
39846
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -39820,6 +39865,7 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
|
39820
39865
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
|
39821
39866
|
self._CheckFastUpgradeReboot = params.get("CheckFastUpgradeReboot")
|
|
39822
39867
|
self._DataCheckSensitive = params.get("DataCheckSensitive")
|
|
39868
|
+
self._FourthZone = params.get("FourthZone")
|
|
39823
39869
|
memeber_set = set(params.keys())
|
|
39824
39870
|
for name, value in vars(self).items():
|
|
39825
39871
|
property_name = name[1:]
|
|
@@ -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.108
|
|
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.108
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.102
|
|
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
|