tencentcloud-sdk-python-dbdc 3.1.150__tar.gz → 3.1.152__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_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/setup.py +1 -1
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/dbdc_client.py +23 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/dbdc_client_async.py +18 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/models.py +113 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dbdc-3.1.152/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dbdc-3.1.150/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/README.rst +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/__init__.py +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/__init__.py +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud_sdk_python_dbdc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud_sdk_python_dbdc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.150 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud_sdk_python_dbdc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dbdc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.152
|
|
4
4
|
Summary: Tencent Cloud Dbdc 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.152
|
|
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-dbdc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.152,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dbdc SDK for Python',
|
|
@@ -624,6 +624,29 @@ class DbdcClient(AbstractClient):
|
|
|
624
624
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
625
625
|
|
|
626
626
|
|
|
627
|
+
def ModifyDBCustomClusterAttributes(self, request):
|
|
628
|
+
r"""该接口(ModifyDBCustomClusterAttributes)用于修改 DB Custom 集群的属性。
|
|
629
|
+
|
|
630
|
+
:param request: Request instance for ModifyDBCustomClusterAttributes.
|
|
631
|
+
:type request: :class:`tencentcloud.dbdc.v20201029.models.ModifyDBCustomClusterAttributesRequest`
|
|
632
|
+
:rtype: :class:`tencentcloud.dbdc.v20201029.models.ModifyDBCustomClusterAttributesResponse`
|
|
633
|
+
|
|
634
|
+
"""
|
|
635
|
+
try:
|
|
636
|
+
params = request._serialize()
|
|
637
|
+
headers = request.headers
|
|
638
|
+
body = self.call("ModifyDBCustomClusterAttributes", params, headers=headers)
|
|
639
|
+
response = json.loads(body)
|
|
640
|
+
model = models.ModifyDBCustomClusterAttributesResponse()
|
|
641
|
+
model._deserialize(response["Response"])
|
|
642
|
+
return model
|
|
643
|
+
except Exception as e:
|
|
644
|
+
if isinstance(e, TencentCloudSDKException):
|
|
645
|
+
raise
|
|
646
|
+
else:
|
|
647
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
648
|
+
|
|
649
|
+
|
|
627
650
|
def ModifyDBCustomClusterNodeConfig(self, request):
|
|
628
651
|
r"""该接口(ModifyDBCustomClusterNodeConfig)用于修改 DB Custom 集群中节点的配置。
|
|
629
652
|
|
|
@@ -493,6 +493,24 @@ class DbdcClient(AbstractClient):
|
|
|
493
493
|
|
|
494
494
|
return await self.call_and_deserialize(**kwargs)
|
|
495
495
|
|
|
496
|
+
async def ModifyDBCustomClusterAttributes(
|
|
497
|
+
self,
|
|
498
|
+
request: models.ModifyDBCustomClusterAttributesRequest,
|
|
499
|
+
opts: Dict = None,
|
|
500
|
+
) -> models.ModifyDBCustomClusterAttributesResponse:
|
|
501
|
+
"""
|
|
502
|
+
该接口(ModifyDBCustomClusterAttributes)用于修改 DB Custom 集群的属性。
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
kwargs = {}
|
|
506
|
+
kwargs["action"] = "ModifyDBCustomClusterAttributes"
|
|
507
|
+
kwargs["params"] = request._serialize()
|
|
508
|
+
kwargs["resp_cls"] = models.ModifyDBCustomClusterAttributesResponse
|
|
509
|
+
kwargs["headers"] = request.headers
|
|
510
|
+
kwargs["opts"] = opts or {}
|
|
511
|
+
|
|
512
|
+
return await self.call_and_deserialize(**kwargs)
|
|
513
|
+
|
|
496
514
|
async def ModifyDBCustomClusterNodeConfig(
|
|
497
515
|
self,
|
|
498
516
|
request: models.ModifyDBCustomClusterNodeConfigRequest,
|
|
@@ -1261,6 +1261,9 @@ class DBCustomClusterNode(AbstractModel):
|
|
|
1261
1261
|
:param _EniIP: <p>当选择网络模式为三层网络联通模式时,此处的IP地址则为用户可访问的地址。</p>
|
|
1262
1262
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1263
1263
|
:type EniIP: str
|
|
1264
|
+
:param _SecurityGroupIds: <p>节点绑定的安全组</p>
|
|
1265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1266
|
+
:type SecurityGroupIds: list of str
|
|
1264
1267
|
"""
|
|
1265
1268
|
self._NodeId = None
|
|
1266
1269
|
self._NodeName = None
|
|
@@ -1271,6 +1274,7 @@ class DBCustomClusterNode(AbstractModel):
|
|
|
1271
1274
|
self._NodeType = None
|
|
1272
1275
|
self._NetworkMode = None
|
|
1273
1276
|
self._EniIP = None
|
|
1277
|
+
self._SecurityGroupIds = None
|
|
1274
1278
|
|
|
1275
1279
|
@property
|
|
1276
1280
|
def NodeId(self):
|
|
@@ -1373,6 +1377,18 @@ class DBCustomClusterNode(AbstractModel):
|
|
|
1373
1377
|
def EniIP(self, EniIP):
|
|
1374
1378
|
self._EniIP = EniIP
|
|
1375
1379
|
|
|
1380
|
+
@property
|
|
1381
|
+
def SecurityGroupIds(self):
|
|
1382
|
+
r"""<p>节点绑定的安全组</p>
|
|
1383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1384
|
+
:rtype: list of str
|
|
1385
|
+
"""
|
|
1386
|
+
return self._SecurityGroupIds
|
|
1387
|
+
|
|
1388
|
+
@SecurityGroupIds.setter
|
|
1389
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
1390
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
1391
|
+
|
|
1376
1392
|
|
|
1377
1393
|
def _deserialize(self, params):
|
|
1378
1394
|
self._NodeId = params.get("NodeId")
|
|
@@ -1384,6 +1400,7 @@ class DBCustomClusterNode(AbstractModel):
|
|
|
1384
1400
|
self._NodeType = params.get("NodeType")
|
|
1385
1401
|
self._NetworkMode = params.get("NetworkMode")
|
|
1386
1402
|
self._EniIP = params.get("EniIP")
|
|
1403
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
1387
1404
|
memeber_set = set(params.keys())
|
|
1388
1405
|
for name, value in vars(self).items():
|
|
1389
1406
|
property_name = name[1:]
|
|
@@ -1765,6 +1782,9 @@ class DBCustomNode(AbstractModel):
|
|
|
1765
1782
|
:type NetworkMode: str
|
|
1766
1783
|
:param _EniIP: <p>当选择NetworkModeCrossTenantENI模式时,节点的访问IP地址</p>
|
|
1767
1784
|
:type EniIP: str
|
|
1785
|
+
:param _SecurityGroupIds: <p>节点绑定的安全组</p>
|
|
1786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1787
|
+
:type SecurityGroupIds: list of str
|
|
1768
1788
|
"""
|
|
1769
1789
|
self._NodeId = None
|
|
1770
1790
|
self._NodeName = None
|
|
@@ -1793,6 +1813,7 @@ class DBCustomNode(AbstractModel):
|
|
|
1793
1813
|
self._HostIp = None
|
|
1794
1814
|
self._NetworkMode = None
|
|
1795
1815
|
self._EniIP = None
|
|
1816
|
+
self._SecurityGroupIds = None
|
|
1796
1817
|
|
|
1797
1818
|
@property
|
|
1798
1819
|
def NodeId(self):
|
|
@@ -2094,6 +2115,18 @@ class DBCustomNode(AbstractModel):
|
|
|
2094
2115
|
def EniIP(self, EniIP):
|
|
2095
2116
|
self._EniIP = EniIP
|
|
2096
2117
|
|
|
2118
|
+
@property
|
|
2119
|
+
def SecurityGroupIds(self):
|
|
2120
|
+
r"""<p>节点绑定的安全组</p>
|
|
2121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2122
|
+
:rtype: list of str
|
|
2123
|
+
"""
|
|
2124
|
+
return self._SecurityGroupIds
|
|
2125
|
+
|
|
2126
|
+
@SecurityGroupIds.setter
|
|
2127
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
2128
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
2129
|
+
|
|
2097
2130
|
|
|
2098
2131
|
def _deserialize(self, params):
|
|
2099
2132
|
self._NodeId = params.get("NodeId")
|
|
@@ -2135,6 +2168,7 @@ class DBCustomNode(AbstractModel):
|
|
|
2135
2168
|
self._HostIp = params.get("HostIp")
|
|
2136
2169
|
self._NetworkMode = params.get("NetworkMode")
|
|
2137
2170
|
self._EniIP = params.get("EniIP")
|
|
2171
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
2138
2172
|
memeber_set = set(params.keys())
|
|
2139
2173
|
for name, value in vars(self).items():
|
|
2140
2174
|
property_name = name[1:]
|
|
@@ -7643,6 +7677,85 @@ class MetaResource(AbstractModel):
|
|
|
7643
7677
|
|
|
7644
7678
|
|
|
7645
7679
|
|
|
7680
|
+
class ModifyDBCustomClusterAttributesRequest(AbstractModel):
|
|
7681
|
+
r"""ModifyDBCustomClusterAttributes请求参数结构体
|
|
7682
|
+
|
|
7683
|
+
"""
|
|
7684
|
+
|
|
7685
|
+
def __init__(self):
|
|
7686
|
+
r"""
|
|
7687
|
+
:param _ClusterId: <p>集群ID</p><p>参数格式:dbcc-hj7gab15</p>
|
|
7688
|
+
:type ClusterId: str
|
|
7689
|
+
:param _DeletionProtection: <p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
|
|
7690
|
+
:type DeletionProtection: bool
|
|
7691
|
+
"""
|
|
7692
|
+
self._ClusterId = None
|
|
7693
|
+
self._DeletionProtection = None
|
|
7694
|
+
|
|
7695
|
+
@property
|
|
7696
|
+
def ClusterId(self):
|
|
7697
|
+
r"""<p>集群ID</p><p>参数格式:dbcc-hj7gab15</p>
|
|
7698
|
+
:rtype: str
|
|
7699
|
+
"""
|
|
7700
|
+
return self._ClusterId
|
|
7701
|
+
|
|
7702
|
+
@ClusterId.setter
|
|
7703
|
+
def ClusterId(self, ClusterId):
|
|
7704
|
+
self._ClusterId = ClusterId
|
|
7705
|
+
|
|
7706
|
+
@property
|
|
7707
|
+
def DeletionProtection(self):
|
|
7708
|
+
r"""<p>是否启用集群删除保护</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 不启用</li></ul>
|
|
7709
|
+
:rtype: bool
|
|
7710
|
+
"""
|
|
7711
|
+
return self._DeletionProtection
|
|
7712
|
+
|
|
7713
|
+
@DeletionProtection.setter
|
|
7714
|
+
def DeletionProtection(self, DeletionProtection):
|
|
7715
|
+
self._DeletionProtection = DeletionProtection
|
|
7716
|
+
|
|
7717
|
+
|
|
7718
|
+
def _deserialize(self, params):
|
|
7719
|
+
self._ClusterId = params.get("ClusterId")
|
|
7720
|
+
self._DeletionProtection = params.get("DeletionProtection")
|
|
7721
|
+
memeber_set = set(params.keys())
|
|
7722
|
+
for name, value in vars(self).items():
|
|
7723
|
+
property_name = name[1:]
|
|
7724
|
+
if property_name in memeber_set:
|
|
7725
|
+
memeber_set.remove(property_name)
|
|
7726
|
+
if len(memeber_set) > 0:
|
|
7727
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7728
|
+
|
|
7729
|
+
|
|
7730
|
+
|
|
7731
|
+
class ModifyDBCustomClusterAttributesResponse(AbstractModel):
|
|
7732
|
+
r"""ModifyDBCustomClusterAttributes返回参数结构体
|
|
7733
|
+
|
|
7734
|
+
"""
|
|
7735
|
+
|
|
7736
|
+
def __init__(self):
|
|
7737
|
+
r"""
|
|
7738
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7739
|
+
:type RequestId: str
|
|
7740
|
+
"""
|
|
7741
|
+
self._RequestId = None
|
|
7742
|
+
|
|
7743
|
+
@property
|
|
7744
|
+
def RequestId(self):
|
|
7745
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7746
|
+
:rtype: str
|
|
7747
|
+
"""
|
|
7748
|
+
return self._RequestId
|
|
7749
|
+
|
|
7750
|
+
@RequestId.setter
|
|
7751
|
+
def RequestId(self, RequestId):
|
|
7752
|
+
self._RequestId = RequestId
|
|
7753
|
+
|
|
7754
|
+
|
|
7755
|
+
def _deserialize(self, params):
|
|
7756
|
+
self._RequestId = params.get("RequestId")
|
|
7757
|
+
|
|
7758
|
+
|
|
7646
7759
|
class ModifyDBCustomClusterNodeConfigRequest(AbstractModel):
|
|
7647
7760
|
r"""ModifyDBCustomClusterNodeConfig请求参数结构体
|
|
7648
7761
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dbdc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.152
|
|
4
4
|
Summary: Tencent Cloud Dbdc 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.152
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.152
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.150
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|