tencentcloud-sdk-python-dbdc 3.1.151__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.151 → tencentcloud_sdk_python_dbdc-3.1.152}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/setup.py +1 -1
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/dbdc_client.py +23 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/dbdc_client_async.py +18 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/models.py +79 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → 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.151/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/README.rst +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/__init__.py +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/__init__.py +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud/dbdc/v20201029/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud_sdk_python_dbdc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → tencentcloud_sdk_python_dbdc-3.1.152}/tencentcloud_sdk_python_dbdc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dbdc-3.1.151 → 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,
|
|
@@ -7677,6 +7677,85 @@ class MetaResource(AbstractModel):
|
|
|
7677
7677
|
|
|
7678
7678
|
|
|
7679
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
|
+
|
|
7680
7759
|
class ModifyDBCustomClusterNodeConfigRequest(AbstractModel):
|
|
7681
7760
|
r"""ModifyDBCustomClusterNodeConfig请求参数结构体
|
|
7682
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.151
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|