tencentcloud-sdk-python-cdb 3.1.104__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.104 → tencentcloud_sdk_python_cdb-3.1.108}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/models.py +40 -24
- {tencentcloud_sdk_python_cdb-3.1.104 → 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.104/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → tencentcloud_sdk_python_cdb-3.1.108}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.104 → 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',
|
|
@@ -29443,28 +29443,28 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29443
29443
|
|
|
29444
29444
|
def __init__(self):
|
|
29445
29445
|
r"""
|
|
29446
|
-
:param _InstanceId:
|
|
29446
|
+
:param _InstanceId: <p>实例 ID,可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
29447
29447
|
:type InstanceId: str
|
|
29448
|
-
:param _LogType:
|
|
29448
|
+
:param _LogType: <p>日志类型。error:错误日志,slowlog:慢日志。</p>
|
|
29449
29449
|
:type LogType: str
|
|
29450
|
-
:param _Status:
|
|
29450
|
+
:param _Status: <p>投递状态。ON:开启,OFF:关闭。</p>
|
|
29451
29451
|
:type Status: str
|
|
29452
|
-
:param _CreateLogset:
|
|
29452
|
+
:param _CreateLogset: <p>是否需要创建日志集。默认为 false。</p>
|
|
29453
29453
|
:type CreateLogset: bool
|
|
29454
|
-
:param _Logset:
|
|
29455
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29454
|
+
:param _Logset: <p>需要创建日志集时为日志集名称;选择已有日志集时,为日志集 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29456
29455
|
:type Logset: str
|
|
29457
|
-
:param _CreateLogTopic:
|
|
29456
|
+
:param _CreateLogTopic: <p>是否需要创建日志主题。默认为 false。</p>
|
|
29458
29457
|
:type CreateLogTopic: bool
|
|
29459
|
-
:param _LogTopic:
|
|
29460
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29458
|
+
:param _LogTopic: <p>需要创建日志主题时为日志主题名称;选择已有日志主题时,为日志主题 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29461
29459
|
:type LogTopic: str
|
|
29462
|
-
:param _Period:
|
|
29460
|
+
:param _Period: <p>日志主题有效期,不填写时,默认30天,最大值3600。</p>
|
|
29463
29461
|
:type Period: int
|
|
29464
|
-
:param _CreateIndex:
|
|
29462
|
+
:param _CreateIndex: <p>创建日志主题时,是否创建索引,默认为 false。</p>
|
|
29465
29463
|
:type CreateIndex: bool
|
|
29466
|
-
:param _ClsRegion: CLS 所在地域,不填择默认为 Region
|
|
29464
|
+
:param _ClsRegion: <p>CLS 所在地域,不填择默认为 Region 的参数值。</p>
|
|
29467
29465
|
:type ClsRegion: str
|
|
29466
|
+
:param _ResourceTags: <p>创建日志集和日志主题的时候可选,最多不能超过10个标签</p>
|
|
29467
|
+
:type ResourceTags: list of TagInfoItem
|
|
29468
29468
|
"""
|
|
29469
29469
|
self._InstanceId = None
|
|
29470
29470
|
self._LogType = None
|
|
@@ -29476,10 +29476,11 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29476
29476
|
self._Period = None
|
|
29477
29477
|
self._CreateIndex = None
|
|
29478
29478
|
self._ClsRegion = None
|
|
29479
|
+
self._ResourceTags = None
|
|
29479
29480
|
|
|
29480
29481
|
@property
|
|
29481
29482
|
def InstanceId(self):
|
|
29482
|
-
r"""
|
|
29483
|
+
r"""<p>实例 ID,可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
|
|
29483
29484
|
:rtype: str
|
|
29484
29485
|
"""
|
|
29485
29486
|
return self._InstanceId
|
|
@@ -29490,7 +29491,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29490
29491
|
|
|
29491
29492
|
@property
|
|
29492
29493
|
def LogType(self):
|
|
29493
|
-
r"""
|
|
29494
|
+
r"""<p>日志类型。error:错误日志,slowlog:慢日志。</p>
|
|
29494
29495
|
:rtype: str
|
|
29495
29496
|
"""
|
|
29496
29497
|
return self._LogType
|
|
@@ -29501,7 +29502,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29501
29502
|
|
|
29502
29503
|
@property
|
|
29503
29504
|
def Status(self):
|
|
29504
|
-
r"""
|
|
29505
|
+
r"""<p>投递状态。ON:开启,OFF:关闭。</p>
|
|
29505
29506
|
:rtype: str
|
|
29506
29507
|
"""
|
|
29507
29508
|
return self._Status
|
|
@@ -29512,7 +29513,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29512
29513
|
|
|
29513
29514
|
@property
|
|
29514
29515
|
def CreateLogset(self):
|
|
29515
|
-
r"""
|
|
29516
|
+
r"""<p>是否需要创建日志集。默认为 false。</p>
|
|
29516
29517
|
:rtype: bool
|
|
29517
29518
|
"""
|
|
29518
29519
|
return self._CreateLogset
|
|
@@ -29523,8 +29524,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29523
29524
|
|
|
29524
29525
|
@property
|
|
29525
29526
|
def Logset(self):
|
|
29526
|
-
r"""
|
|
29527
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29527
|
+
r"""<p>需要创建日志集时为日志集名称;选择已有日志集时,为日志集 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29528
29528
|
:rtype: str
|
|
29529
29529
|
"""
|
|
29530
29530
|
return self._Logset
|
|
@@ -29535,7 +29535,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29535
29535
|
|
|
29536
29536
|
@property
|
|
29537
29537
|
def CreateLogTopic(self):
|
|
29538
|
-
r"""
|
|
29538
|
+
r"""<p>是否需要创建日志主题。默认为 false。</p>
|
|
29539
29539
|
:rtype: bool
|
|
29540
29540
|
"""
|
|
29541
29541
|
return self._CreateLogTopic
|
|
@@ -29546,8 +29546,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29546
29546
|
|
|
29547
29547
|
@property
|
|
29548
29548
|
def LogTopic(self):
|
|
29549
|
-
r"""
|
|
29550
|
-
说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。
|
|
29549
|
+
r"""<p>需要创建日志主题时为日志主题名称;选择已有日志主题时,为日志主题 ID。默认为空。<br>说明:当参数 Status 的值为 ON 时,Logset 和 LogTopic 参数必须填一个。</p>
|
|
29551
29550
|
:rtype: str
|
|
29552
29551
|
"""
|
|
29553
29552
|
return self._LogTopic
|
|
@@ -29558,7 +29557,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29558
29557
|
|
|
29559
29558
|
@property
|
|
29560
29559
|
def Period(self):
|
|
29561
|
-
r"""
|
|
29560
|
+
r"""<p>日志主题有效期,不填写时,默认30天,最大值3600。</p>
|
|
29562
29561
|
:rtype: int
|
|
29563
29562
|
"""
|
|
29564
29563
|
return self._Period
|
|
@@ -29569,7 +29568,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29569
29568
|
|
|
29570
29569
|
@property
|
|
29571
29570
|
def CreateIndex(self):
|
|
29572
|
-
r"""
|
|
29571
|
+
r"""<p>创建日志主题时,是否创建索引,默认为 false。</p>
|
|
29573
29572
|
:rtype: bool
|
|
29574
29573
|
"""
|
|
29575
29574
|
return self._CreateIndex
|
|
@@ -29580,7 +29579,7 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29580
29579
|
|
|
29581
29580
|
@property
|
|
29582
29581
|
def ClsRegion(self):
|
|
29583
|
-
r"""CLS 所在地域,不填择默认为 Region
|
|
29582
|
+
r"""<p>CLS 所在地域,不填择默认为 Region 的参数值。</p>
|
|
29584
29583
|
:rtype: str
|
|
29585
29584
|
"""
|
|
29586
29585
|
return self._ClsRegion
|
|
@@ -29589,6 +29588,17 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29589
29588
|
def ClsRegion(self, ClsRegion):
|
|
29590
29589
|
self._ClsRegion = ClsRegion
|
|
29591
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
|
+
|
|
29592
29602
|
|
|
29593
29603
|
def _deserialize(self, params):
|
|
29594
29604
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -29601,6 +29611,12 @@ class ModifyDBInstanceLogToCLSRequest(AbstractModel):
|
|
|
29601
29611
|
self._Period = params.get("Period")
|
|
29602
29612
|
self._CreateIndex = params.get("CreateIndex")
|
|
29603
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)
|
|
29604
29620
|
memeber_set = set(params.keys())
|
|
29605
29621
|
for name, value in vars(self).items():
|
|
29606
29622
|
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.104
|
|
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
|