tencentcloud-sdk-python-dbdc 3.0.1459__tar.gz → 3.1.35__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.35/PKG-INFO +46 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/setup.py +2 -1
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_dbdc-3.1.35/tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud/dbdc/v20201029/models.py +182 -1
- tencentcloud_sdk_python_dbdc-3.1.35/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud_sdk_python_dbdc.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_dbdc-3.1.35/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dbdc-3.0.1459/PKG-INFO +0 -45
- tencentcloud-sdk-python-dbdc-3.0.1459/tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-dbdc-3.0.1459/tencentcloud_sdk_python_dbdc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/README.rst +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud/dbdc/__init__.py +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud/dbdc/v20201029/__init__.py +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud/dbdc/v20201029/dbdc_client.py +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud/dbdc/v20201029/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud_sdk_python_dbdc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dbdc-3.0.1459 → tencentcloud_sdk_python_dbdc-3.1.35}/tencentcloud_sdk_python_dbdc.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-dbdc
|
|
3
|
+
Version: 3.1.35
|
|
4
|
+
Summary: Tencent Cloud Dbdc SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Dbdc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-dbdc
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common dbdc
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ 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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.35,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Dbdc SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.dbdc.v20201029 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DbdcClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2020-10-29'
|
|
25
|
+
_endpoint = 'dbdc.tencentcloudapi.com'
|
|
26
|
+
_service = 'dbdc'
|
|
27
|
+
|
|
28
|
+
async def DescribeDBInstances(
|
|
29
|
+
self,
|
|
30
|
+
request: models.DescribeDBInstancesRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.DescribeDBInstancesResponse:
|
|
33
|
+
"""
|
|
34
|
+
本接口用于查询独享集群内的DB实例列表
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "DescribeDBInstances"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.DescribeDBInstancesResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def DescribeHostList(
|
|
47
|
+
self,
|
|
48
|
+
request: models.DescribeHostListRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.DescribeHostListResponse:
|
|
51
|
+
"""
|
|
52
|
+
本接口用于查询主机列表
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "DescribeHostList"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.DescribeHostListResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def DescribeInstanceDetail(
|
|
65
|
+
self,
|
|
66
|
+
request: models.DescribeInstanceDetailRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.DescribeInstanceDetailResponse:
|
|
69
|
+
"""
|
|
70
|
+
本接口用于查询独享集群详情
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "DescribeInstanceDetail"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.DescribeInstanceDetailResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def DescribeInstanceList(
|
|
83
|
+
self,
|
|
84
|
+
request: models.DescribeInstanceListRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.DescribeInstanceListResponse:
|
|
87
|
+
"""
|
|
88
|
+
本接口用于查询独享集群实例列表
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "DescribeInstanceList"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.DescribeInstanceListResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DescribeInstances(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeInstancesRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeInstancesResponse:
|
|
105
|
+
"""
|
|
106
|
+
根据不同地域不同用户,获取集群列表信息
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeInstances"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeInstancesResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def ModifyInstanceName(
|
|
119
|
+
self,
|
|
120
|
+
request: models.ModifyInstanceNameRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.ModifyInstanceNameResponse:
|
|
123
|
+
"""
|
|
124
|
+
本接口用于修改集群名称
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "ModifyInstanceName"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.ModifyInstanceNameResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -67,6 +67,8 @@ class DBInstanceDetail(AbstractModel):
|
|
|
67
67
|
:type DbEngine: str
|
|
68
68
|
:param _CreateTime: 创建时间
|
|
69
69
|
:type CreateTime: str
|
|
70
|
+
:param _Zones: 可用区列表
|
|
71
|
+
:type Zones: list of str
|
|
70
72
|
"""
|
|
71
73
|
self._InstanceId = None
|
|
72
74
|
self._InstanceName = None
|
|
@@ -89,6 +91,7 @@ class DBInstanceDetail(AbstractModel):
|
|
|
89
91
|
self._HostRole = None
|
|
90
92
|
self._DbEngine = None
|
|
91
93
|
self._CreateTime = None
|
|
94
|
+
self._Zones = None
|
|
92
95
|
|
|
93
96
|
@property
|
|
94
97
|
def InstanceId(self):
|
|
@@ -321,6 +324,17 @@ class DBInstanceDetail(AbstractModel):
|
|
|
321
324
|
def CreateTime(self, CreateTime):
|
|
322
325
|
self._CreateTime = CreateTime
|
|
323
326
|
|
|
327
|
+
@property
|
|
328
|
+
def Zones(self):
|
|
329
|
+
r"""可用区列表
|
|
330
|
+
:rtype: list of str
|
|
331
|
+
"""
|
|
332
|
+
return self._Zones
|
|
333
|
+
|
|
334
|
+
@Zones.setter
|
|
335
|
+
def Zones(self, Zones):
|
|
336
|
+
self._Zones = Zones
|
|
337
|
+
|
|
324
338
|
|
|
325
339
|
def _deserialize(self, params):
|
|
326
340
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -344,6 +358,7 @@ class DBInstanceDetail(AbstractModel):
|
|
|
344
358
|
self._HostRole = params.get("HostRole")
|
|
345
359
|
self._DbEngine = params.get("DbEngine")
|
|
346
360
|
self._CreateTime = params.get("CreateTime")
|
|
361
|
+
self._Zones = params.get("Zones")
|
|
347
362
|
memeber_set = set(params.keys())
|
|
348
363
|
for name, value in vars(self).items():
|
|
349
364
|
property_name = name[1:]
|
|
@@ -716,6 +731,12 @@ class DescribeInstanceDetail(AbstractModel):
|
|
|
716
731
|
:type FenceId: str
|
|
717
732
|
:param _ClusterId: 所属集群ID(默认集群为空)
|
|
718
733
|
:type ClusterId: str
|
|
734
|
+
:param _ResourceTags: 实例标签
|
|
735
|
+
:type ResourceTags: list of ResourceTag
|
|
736
|
+
:param _CpuType: CPU类型:Intel/AMD,Hygon
|
|
737
|
+
:type CpuType: str
|
|
738
|
+
:param _Zones: 可用区列表
|
|
739
|
+
:type Zones: list of str
|
|
719
740
|
"""
|
|
720
741
|
self._InstanceId = None
|
|
721
742
|
self._InstanceName = None
|
|
@@ -743,6 +764,9 @@ class DescribeInstanceDetail(AbstractModel):
|
|
|
743
764
|
self._Zone = None
|
|
744
765
|
self._FenceId = None
|
|
745
766
|
self._ClusterId = None
|
|
767
|
+
self._ResourceTags = None
|
|
768
|
+
self._CpuType = None
|
|
769
|
+
self._Zones = None
|
|
746
770
|
|
|
747
771
|
@property
|
|
748
772
|
def InstanceId(self):
|
|
@@ -1030,6 +1054,39 @@ class DescribeInstanceDetail(AbstractModel):
|
|
|
1030
1054
|
def ClusterId(self, ClusterId):
|
|
1031
1055
|
self._ClusterId = ClusterId
|
|
1032
1056
|
|
|
1057
|
+
@property
|
|
1058
|
+
def ResourceTags(self):
|
|
1059
|
+
r"""实例标签
|
|
1060
|
+
:rtype: list of ResourceTag
|
|
1061
|
+
"""
|
|
1062
|
+
return self._ResourceTags
|
|
1063
|
+
|
|
1064
|
+
@ResourceTags.setter
|
|
1065
|
+
def ResourceTags(self, ResourceTags):
|
|
1066
|
+
self._ResourceTags = ResourceTags
|
|
1067
|
+
|
|
1068
|
+
@property
|
|
1069
|
+
def CpuType(self):
|
|
1070
|
+
r"""CPU类型:Intel/AMD,Hygon
|
|
1071
|
+
:rtype: str
|
|
1072
|
+
"""
|
|
1073
|
+
return self._CpuType
|
|
1074
|
+
|
|
1075
|
+
@CpuType.setter
|
|
1076
|
+
def CpuType(self, CpuType):
|
|
1077
|
+
self._CpuType = CpuType
|
|
1078
|
+
|
|
1079
|
+
@property
|
|
1080
|
+
def Zones(self):
|
|
1081
|
+
r"""可用区列表
|
|
1082
|
+
:rtype: list of str
|
|
1083
|
+
"""
|
|
1084
|
+
return self._Zones
|
|
1085
|
+
|
|
1086
|
+
@Zones.setter
|
|
1087
|
+
def Zones(self, Zones):
|
|
1088
|
+
self._Zones = Zones
|
|
1089
|
+
|
|
1033
1090
|
|
|
1034
1091
|
def _deserialize(self, params):
|
|
1035
1092
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1058,6 +1115,14 @@ class DescribeInstanceDetail(AbstractModel):
|
|
|
1058
1115
|
self._Zone = params.get("Zone")
|
|
1059
1116
|
self._FenceId = params.get("FenceId")
|
|
1060
1117
|
self._ClusterId = params.get("ClusterId")
|
|
1118
|
+
if params.get("ResourceTags") is not None:
|
|
1119
|
+
self._ResourceTags = []
|
|
1120
|
+
for item in params.get("ResourceTags"):
|
|
1121
|
+
obj = ResourceTag()
|
|
1122
|
+
obj._deserialize(item)
|
|
1123
|
+
self._ResourceTags.append(obj)
|
|
1124
|
+
self._CpuType = params.get("CpuType")
|
|
1125
|
+
self._Zones = params.get("Zones")
|
|
1061
1126
|
memeber_set = set(params.keys())
|
|
1062
1127
|
for name, value in vars(self).items():
|
|
1063
1128
|
property_name = name[1:]
|
|
@@ -1163,6 +1228,12 @@ class DescribeInstanceDetailResponse(AbstractModel):
|
|
|
1163
1228
|
:type FenceId: str
|
|
1164
1229
|
:param _ClusterId: 所属集群ID(默认集群为空)
|
|
1165
1230
|
:type ClusterId: str
|
|
1231
|
+
:param _ResourceTags: 独享集群的标签信息
|
|
1232
|
+
:type ResourceTags: list of ResourceTag
|
|
1233
|
+
:param _CpuType: CPU类型,Intel/AMD,Hygon
|
|
1234
|
+
:type CpuType: str
|
|
1235
|
+
:param _Zones: 可用区列表
|
|
1236
|
+
:type Zones: list of str
|
|
1166
1237
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1167
1238
|
:type RequestId: str
|
|
1168
1239
|
"""
|
|
@@ -1192,6 +1263,9 @@ class DescribeInstanceDetailResponse(AbstractModel):
|
|
|
1192
1263
|
self._Zone = None
|
|
1193
1264
|
self._FenceId = None
|
|
1194
1265
|
self._ClusterId = None
|
|
1266
|
+
self._ResourceTags = None
|
|
1267
|
+
self._CpuType = None
|
|
1268
|
+
self._Zones = None
|
|
1195
1269
|
self._RequestId = None
|
|
1196
1270
|
|
|
1197
1271
|
@property
|
|
@@ -1480,6 +1554,39 @@ class DescribeInstanceDetailResponse(AbstractModel):
|
|
|
1480
1554
|
def ClusterId(self, ClusterId):
|
|
1481
1555
|
self._ClusterId = ClusterId
|
|
1482
1556
|
|
|
1557
|
+
@property
|
|
1558
|
+
def ResourceTags(self):
|
|
1559
|
+
r"""独享集群的标签信息
|
|
1560
|
+
:rtype: list of ResourceTag
|
|
1561
|
+
"""
|
|
1562
|
+
return self._ResourceTags
|
|
1563
|
+
|
|
1564
|
+
@ResourceTags.setter
|
|
1565
|
+
def ResourceTags(self, ResourceTags):
|
|
1566
|
+
self._ResourceTags = ResourceTags
|
|
1567
|
+
|
|
1568
|
+
@property
|
|
1569
|
+
def CpuType(self):
|
|
1570
|
+
r"""CPU类型,Intel/AMD,Hygon
|
|
1571
|
+
:rtype: str
|
|
1572
|
+
"""
|
|
1573
|
+
return self._CpuType
|
|
1574
|
+
|
|
1575
|
+
@CpuType.setter
|
|
1576
|
+
def CpuType(self, CpuType):
|
|
1577
|
+
self._CpuType = CpuType
|
|
1578
|
+
|
|
1579
|
+
@property
|
|
1580
|
+
def Zones(self):
|
|
1581
|
+
r"""可用区列表
|
|
1582
|
+
:rtype: list of str
|
|
1583
|
+
"""
|
|
1584
|
+
return self._Zones
|
|
1585
|
+
|
|
1586
|
+
@Zones.setter
|
|
1587
|
+
def Zones(self, Zones):
|
|
1588
|
+
self._Zones = Zones
|
|
1589
|
+
|
|
1483
1590
|
@property
|
|
1484
1591
|
def RequestId(self):
|
|
1485
1592
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1519,6 +1626,14 @@ class DescribeInstanceDetailResponse(AbstractModel):
|
|
|
1519
1626
|
self._Zone = params.get("Zone")
|
|
1520
1627
|
self._FenceId = params.get("FenceId")
|
|
1521
1628
|
self._ClusterId = params.get("ClusterId")
|
|
1629
|
+
if params.get("ResourceTags") is not None:
|
|
1630
|
+
self._ResourceTags = []
|
|
1631
|
+
for item in params.get("ResourceTags"):
|
|
1632
|
+
obj = ResourceTag()
|
|
1633
|
+
obj._deserialize(item)
|
|
1634
|
+
self._ResourceTags.append(obj)
|
|
1635
|
+
self._CpuType = params.get("CpuType")
|
|
1636
|
+
self._Zones = params.get("Zones")
|
|
1522
1637
|
self._RequestId = params.get("RequestId")
|
|
1523
1638
|
|
|
1524
1639
|
|
|
@@ -2201,6 +2316,8 @@ class HostDetail(AbstractModel):
|
|
|
2201
2316
|
:type Pid: int
|
|
2202
2317
|
:param _InstanceId: 独享集群实例Id
|
|
2203
2318
|
:type InstanceId: str
|
|
2319
|
+
:param _Zones: 可用区列表
|
|
2320
|
+
:type Zones: list of str
|
|
2204
2321
|
"""
|
|
2205
2322
|
self._HostId = None
|
|
2206
2323
|
self._HostName = None
|
|
@@ -2226,6 +2343,7 @@ class HostDetail(AbstractModel):
|
|
|
2226
2343
|
self._PidTag = None
|
|
2227
2344
|
self._Pid = None
|
|
2228
2345
|
self._InstanceId = None
|
|
2346
|
+
self._Zones = None
|
|
2229
2347
|
|
|
2230
2348
|
@property
|
|
2231
2349
|
def HostId(self):
|
|
@@ -2491,6 +2609,17 @@ class HostDetail(AbstractModel):
|
|
|
2491
2609
|
def InstanceId(self, InstanceId):
|
|
2492
2610
|
self._InstanceId = InstanceId
|
|
2493
2611
|
|
|
2612
|
+
@property
|
|
2613
|
+
def Zones(self):
|
|
2614
|
+
r"""可用区列表
|
|
2615
|
+
:rtype: list of str
|
|
2616
|
+
"""
|
|
2617
|
+
return self._Zones
|
|
2618
|
+
|
|
2619
|
+
@Zones.setter
|
|
2620
|
+
def Zones(self, Zones):
|
|
2621
|
+
self._Zones = Zones
|
|
2622
|
+
|
|
2494
2623
|
|
|
2495
2624
|
def _deserialize(self, params):
|
|
2496
2625
|
self._HostId = params.get("HostId")
|
|
@@ -2517,6 +2646,7 @@ class HostDetail(AbstractModel):
|
|
|
2517
2646
|
self._PidTag = params.get("PidTag")
|
|
2518
2647
|
self._Pid = params.get("Pid")
|
|
2519
2648
|
self._InstanceId = params.get("InstanceId")
|
|
2649
|
+
self._Zones = params.get("Zones")
|
|
2520
2650
|
memeber_set = set(params.keys())
|
|
2521
2651
|
for name, value in vars(self).items():
|
|
2522
2652
|
property_name = name[1:]
|
|
@@ -3093,4 +3223,55 @@ class ModifyInstanceNameResponse(AbstractModel):
|
|
|
3093
3223
|
|
|
3094
3224
|
|
|
3095
3225
|
def _deserialize(self, params):
|
|
3096
|
-
self._RequestId = params.get("RequestId")
|
|
3226
|
+
self._RequestId = params.get("RequestId")
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
class ResourceTag(AbstractModel):
|
|
3230
|
+
r"""标签对象,包含tagKey & tagValue
|
|
3231
|
+
|
|
3232
|
+
"""
|
|
3233
|
+
|
|
3234
|
+
def __init__(self):
|
|
3235
|
+
r"""
|
|
3236
|
+
:param _TagKey: 标签键
|
|
3237
|
+
:type TagKey: str
|
|
3238
|
+
:param _TagValue: 标签值
|
|
3239
|
+
:type TagValue: str
|
|
3240
|
+
"""
|
|
3241
|
+
self._TagKey = None
|
|
3242
|
+
self._TagValue = None
|
|
3243
|
+
|
|
3244
|
+
@property
|
|
3245
|
+
def TagKey(self):
|
|
3246
|
+
r"""标签键
|
|
3247
|
+
:rtype: str
|
|
3248
|
+
"""
|
|
3249
|
+
return self._TagKey
|
|
3250
|
+
|
|
3251
|
+
@TagKey.setter
|
|
3252
|
+
def TagKey(self, TagKey):
|
|
3253
|
+
self._TagKey = TagKey
|
|
3254
|
+
|
|
3255
|
+
@property
|
|
3256
|
+
def TagValue(self):
|
|
3257
|
+
r"""标签值
|
|
3258
|
+
:rtype: str
|
|
3259
|
+
"""
|
|
3260
|
+
return self._TagValue
|
|
3261
|
+
|
|
3262
|
+
@TagValue.setter
|
|
3263
|
+
def TagValue(self, TagValue):
|
|
3264
|
+
self._TagValue = TagValue
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
def _deserialize(self, params):
|
|
3268
|
+
self._TagKey = params.get("TagKey")
|
|
3269
|
+
self._TagValue = params.get("TagValue")
|
|
3270
|
+
memeber_set = set(params.keys())
|
|
3271
|
+
for name, value in vars(self).items():
|
|
3272
|
+
property_name = name[1:]
|
|
3273
|
+
if property_name in memeber_set:
|
|
3274
|
+
memeber_set.remove(property_name)
|
|
3275
|
+
if len(memeber_set) > 0:
|
|
3276
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3277
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-dbdc
|
|
3
|
+
Version: 3.1.35
|
|
4
|
+
Summary: Tencent Cloud Dbdc SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Dbdc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-dbdc
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common dbdc
|
|
46
|
+
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/dbdc/__init__.py
|
|
6
6
|
tencentcloud/dbdc/v20201029/__init__.py
|
|
7
7
|
tencentcloud/dbdc/v20201029/dbdc_client.py
|
|
8
|
+
tencentcloud/dbdc/v20201029/dbdc_client_async.py
|
|
8
9
|
tencentcloud/dbdc/v20201029/errorcodes.py
|
|
9
10
|
tencentcloud/dbdc/v20201029/models.py
|
|
10
11
|
tencentcloud_sdk_python_dbdc.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.35
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-dbdc
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Dbdc SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Dbdc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-dbdc
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common dbdc
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-dbdc
|
|
3
|
-
Version: 3.0.1459
|
|
4
|
-
Summary: Tencent Cloud Dbdc SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Dbdc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-dbdc
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common dbdc
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|