tencentcloud-sdk-python-cdz 3.0.1416__tar.gz → 3.1.196__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_cdz-3.1.196/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/setup.py +2 -1
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/cdz_client.py +2 -2
- tencentcloud_sdk_python_cdz-3.1.196/tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/models.py +57 -42
- tencentcloud_sdk_python_cdz-3.1.196/tencentcloud_sdk_python_cdz.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud_sdk_python_cdz.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cdz-3.1.196/tencentcloud_sdk_python_cdz.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdz-3.0.1416/PKG-INFO +0 -45
- tencentcloud-sdk-python-cdz-3.0.1416/tencentcloud_sdk_python_cdz.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-cdz-3.0.1416/tencentcloud_sdk_python_cdz.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/README.rst +0 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/__init__.py +0 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/__init__.py +0 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud_sdk_python_cdz.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdz-3.0.1416 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud_sdk_python_cdz.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cdz
|
|
3
|
+
Version: 3.1.196
|
|
4
|
+
Summary: Tencent Cloud Cdz 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.196
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cdz 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-cdz
|
|
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 cdz
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdz',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.196,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cdz SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -27,7 +27,7 @@ class CdzClient(AbstractClient):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def DescribeCloudDedicatedZoneHosts(self, request):
|
|
30
|
-
"""查询可用区的Host和Host上部署的实例
|
|
30
|
+
r"""查询可用区的Host和Host上部署的实例
|
|
31
31
|
|
|
32
32
|
:param request: Request instance for DescribeCloudDedicatedZoneHosts.
|
|
33
33
|
:type request: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneHostsRequest`
|
|
@@ -50,7 +50,7 @@ class CdzClient(AbstractClient):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def DescribeCloudDedicatedZoneResourceSummary(self, request):
|
|
53
|
-
"""查询专属可用区各个垂直产品的资源使用情况
|
|
53
|
+
r"""查询专属可用区各个垂直产品的资源使用情况
|
|
54
54
|
|
|
55
55
|
:param request: Request instance for DescribeCloudDedicatedZoneResourceSummary.
|
|
56
56
|
:type request: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneResourceSummaryRequest`
|
|
@@ -0,0 +1,62 @@
|
|
|
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.cdz.v20221123 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CdzClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2022-11-23'
|
|
25
|
+
_endpoint = 'cdz.tencentcloudapi.com'
|
|
26
|
+
_service = 'cdz'
|
|
27
|
+
|
|
28
|
+
async def DescribeCloudDedicatedZoneHosts(
|
|
29
|
+
self,
|
|
30
|
+
request: models.DescribeCloudDedicatedZoneHostsRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.DescribeCloudDedicatedZoneHostsResponse:
|
|
33
|
+
"""
|
|
34
|
+
查询可用区的Host和Host上部署的实例
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "DescribeCloudDedicatedZoneHosts"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.DescribeCloudDedicatedZoneHostsResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def DescribeCloudDedicatedZoneResourceSummary(
|
|
47
|
+
self,
|
|
48
|
+
request: models.DescribeCloudDedicatedZoneResourceSummaryRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.DescribeCloudDedicatedZoneResourceSummaryResponse:
|
|
51
|
+
"""
|
|
52
|
+
查询专属可用区各个垂直产品的资源使用情况
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "DescribeCloudDedicatedZoneResourceSummary"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.DescribeCloudDedicatedZoneResourceSummaryResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -19,7 +19,7 @@ from tencentcloud.common.abstract_model import AbstractModel
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
22
|
-
"""CDZ的母机和子机的对应关系
|
|
22
|
+
r"""CDZ的母机和子机的对应关系
|
|
23
23
|
|
|
24
24
|
"""
|
|
25
25
|
|
|
@@ -35,7 +35,7 @@ class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
|
35
35
|
|
|
36
36
|
@property
|
|
37
37
|
def HostUuid(self):
|
|
38
|
-
"""Host的唯一标识uuid
|
|
38
|
+
r"""Host的唯一标识uuid
|
|
39
39
|
:rtype: str
|
|
40
40
|
"""
|
|
41
41
|
return self._HostUuid
|
|
@@ -46,7 +46,7 @@ class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
|
46
46
|
|
|
47
47
|
@property
|
|
48
48
|
def InstancesInfo(self):
|
|
49
|
-
"""实例名称数组
|
|
49
|
+
r"""实例名称数组
|
|
50
50
|
:rtype: list of str
|
|
51
51
|
"""
|
|
52
52
|
return self._InstancesInfo
|
|
@@ -70,7 +70,7 @@ class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
73
|
-
"""专属可用区资源统计项数据详情,对应一个具体的垂直产品的资源统计项。
|
|
73
|
+
r"""专属可用区资源统计项数据详情,对应一个具体的垂直产品的资源统计项。
|
|
74
74
|
|
|
75
75
|
"""
|
|
76
76
|
|
|
@@ -110,7 +110,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
110
110
|
|
|
111
111
|
@property
|
|
112
112
|
def Item(self):
|
|
113
|
-
"""资源统计项名称
|
|
113
|
+
r"""资源统计项名称
|
|
114
114
|
:rtype: str
|
|
115
115
|
"""
|
|
116
116
|
return self._Item
|
|
@@ -121,7 +121,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
121
121
|
|
|
122
122
|
@property
|
|
123
123
|
def Unit(self):
|
|
124
|
-
"""资源统计项单位
|
|
124
|
+
r"""资源统计项单位
|
|
125
125
|
:rtype: str
|
|
126
126
|
"""
|
|
127
127
|
return self._Unit
|
|
@@ -132,7 +132,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
132
132
|
|
|
133
133
|
@property
|
|
134
134
|
def Total(self):
|
|
135
|
-
"""资源总量
|
|
135
|
+
r"""资源总量
|
|
136
136
|
:rtype: str
|
|
137
137
|
"""
|
|
138
138
|
return self._Total
|
|
@@ -143,7 +143,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
143
143
|
|
|
144
144
|
@property
|
|
145
145
|
def Usage(self):
|
|
146
|
-
"""已用资源
|
|
146
|
+
r"""已用资源
|
|
147
147
|
:rtype: str
|
|
148
148
|
"""
|
|
149
149
|
return self._Usage
|
|
@@ -154,7 +154,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
154
154
|
|
|
155
155
|
@property
|
|
156
156
|
def UsageRate(self):
|
|
157
|
-
"""已用资源占比
|
|
157
|
+
r"""已用资源占比
|
|
158
158
|
:rtype: str
|
|
159
159
|
"""
|
|
160
160
|
return self._UsageRate
|
|
@@ -165,7 +165,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
165
165
|
|
|
166
166
|
@property
|
|
167
167
|
def Remain(self):
|
|
168
|
-
"""剩余资源
|
|
168
|
+
r"""剩余资源
|
|
169
169
|
:rtype: str
|
|
170
170
|
"""
|
|
171
171
|
return self._Remain
|
|
@@ -176,7 +176,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
176
176
|
|
|
177
177
|
@property
|
|
178
178
|
def RemainRate(self):
|
|
179
|
-
"""剩余资源占比
|
|
179
|
+
r"""剩余资源占比
|
|
180
180
|
:rtype: str
|
|
181
181
|
"""
|
|
182
182
|
return self._RemainRate
|
|
@@ -187,7 +187,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
187
187
|
|
|
188
188
|
@property
|
|
189
189
|
def ThisMondayUsageRate(self):
|
|
190
|
-
"""本周一零点资源使用率
|
|
190
|
+
r"""本周一零点资源使用率
|
|
191
191
|
:rtype: str
|
|
192
192
|
"""
|
|
193
193
|
return self._ThisMondayUsageRate
|
|
@@ -198,7 +198,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
198
198
|
|
|
199
199
|
@property
|
|
200
200
|
def ThisMondayUsageGrowthRate(self):
|
|
201
|
-
"""本周资源增长比例
|
|
201
|
+
r"""本周资源增长比例
|
|
202
202
|
:rtype: str
|
|
203
203
|
"""
|
|
204
204
|
return self._ThisMondayUsageGrowthRate
|
|
@@ -209,7 +209,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
209
209
|
|
|
210
210
|
@property
|
|
211
211
|
def LastMondayUsageGrowthRate(self):
|
|
212
|
-
"""上周资源增长比例
|
|
212
|
+
r"""上周资源增长比例
|
|
213
213
|
:rtype: str
|
|
214
214
|
"""
|
|
215
215
|
return self._LastMondayUsageGrowthRate
|
|
@@ -241,7 +241,7 @@ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
|
|
|
241
241
|
|
|
242
242
|
|
|
243
243
|
class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
|
|
244
|
-
"""专属可用区资源水位数据详情,对应一个具体的垂直产品。
|
|
244
|
+
r"""专属可用区资源水位数据详情,对应一个具体的垂直产品。
|
|
245
245
|
|
|
246
246
|
"""
|
|
247
247
|
|
|
@@ -260,7 +260,7 @@ class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
|
|
|
260
260
|
|
|
261
261
|
@property
|
|
262
262
|
def ProductName(self):
|
|
263
|
-
"""产品名称
|
|
263
|
+
r"""产品名称
|
|
264
264
|
:rtype: str
|
|
265
265
|
"""
|
|
266
266
|
return self._ProductName
|
|
@@ -271,7 +271,7 @@ class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
|
|
|
271
271
|
|
|
272
272
|
@property
|
|
273
273
|
def SubProductName(self):
|
|
274
|
-
"""子产品名称
|
|
274
|
+
r"""子产品名称
|
|
275
275
|
:rtype: str
|
|
276
276
|
"""
|
|
277
277
|
return self._SubProductName
|
|
@@ -282,7 +282,7 @@ class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
|
|
|
282
282
|
|
|
283
283
|
@property
|
|
284
284
|
def Statistics(self):
|
|
285
|
-
"""资源统计详情
|
|
285
|
+
r"""资源统计详情
|
|
286
286
|
:rtype: list of CloudDedicatedZoneResourceStatisticsInfo
|
|
287
287
|
"""
|
|
288
288
|
return self._Statistics
|
|
@@ -312,21 +312,21 @@ class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
|
|
|
312
312
|
|
|
313
313
|
|
|
314
314
|
class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
315
|
-
"""DescribeCloudDedicatedZoneHosts请求参数结构体
|
|
315
|
+
r"""DescribeCloudDedicatedZoneHosts请求参数结构体
|
|
316
316
|
|
|
317
317
|
"""
|
|
318
318
|
|
|
319
319
|
def __init__(self):
|
|
320
320
|
r"""
|
|
321
|
-
:param _CloudDedicatedZoneID:
|
|
321
|
+
:param _CloudDedicatedZoneID: <p>专属可用区ID</p>
|
|
322
322
|
:type CloudDedicatedZoneID: str
|
|
323
|
-
:param _HostUuids:
|
|
323
|
+
:param _HostUuids: <p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
|
|
324
324
|
:type HostUuids: list of str
|
|
325
|
-
:param _InstanceIds:
|
|
325
|
+
:param _InstanceIds: <p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
|
|
326
326
|
:type InstanceIds: list of str
|
|
327
|
-
:param _Offset:
|
|
327
|
+
:param _Offset: <p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
328
328
|
:type Offset: int
|
|
329
|
-
:param _Limit:
|
|
329
|
+
:param _Limit: <p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
330
330
|
:type Limit: int
|
|
331
331
|
"""
|
|
332
332
|
self._CloudDedicatedZoneID = None
|
|
@@ -337,7 +337,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
337
337
|
|
|
338
338
|
@property
|
|
339
339
|
def CloudDedicatedZoneID(self):
|
|
340
|
-
"""
|
|
340
|
+
r"""<p>专属可用区ID</p>
|
|
341
341
|
:rtype: str
|
|
342
342
|
"""
|
|
343
343
|
return self._CloudDedicatedZoneID
|
|
@@ -348,7 +348,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
348
348
|
|
|
349
349
|
@property
|
|
350
350
|
def HostUuids(self):
|
|
351
|
-
"""
|
|
351
|
+
r"""<p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
|
|
352
352
|
:rtype: list of str
|
|
353
353
|
"""
|
|
354
354
|
return self._HostUuids
|
|
@@ -359,7 +359,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
359
359
|
|
|
360
360
|
@property
|
|
361
361
|
def InstanceIds(self):
|
|
362
|
-
"""
|
|
362
|
+
r"""<p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
|
|
363
363
|
:rtype: list of str
|
|
364
364
|
"""
|
|
365
365
|
return self._InstanceIds
|
|
@@ -370,7 +370,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
370
370
|
|
|
371
371
|
@property
|
|
372
372
|
def Offset(self):
|
|
373
|
-
"""
|
|
373
|
+
r"""<p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
374
374
|
:rtype: int
|
|
375
375
|
"""
|
|
376
376
|
return self._Offset
|
|
@@ -381,7 +381,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
381
381
|
|
|
382
382
|
@property
|
|
383
383
|
def Limit(self):
|
|
384
|
-
"""
|
|
384
|
+
r"""<p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
385
385
|
:rtype: int
|
|
386
386
|
"""
|
|
387
387
|
return self._Limit
|
|
@@ -408,23 +408,26 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
408
408
|
|
|
409
409
|
|
|
410
410
|
class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
411
|
-
"""DescribeCloudDedicatedZoneHosts返回参数结构体
|
|
411
|
+
r"""DescribeCloudDedicatedZoneHosts返回参数结构体
|
|
412
412
|
|
|
413
413
|
"""
|
|
414
414
|
|
|
415
415
|
def __init__(self):
|
|
416
416
|
r"""
|
|
417
|
-
:param _CloudDedicatedZoneHostsInfoSet:
|
|
417
|
+
:param _CloudDedicatedZoneHostsInfoSet: <p>返回Host和Host上部署的实例信息之间的关系</p>
|
|
418
418
|
:type CloudDedicatedZoneHostsInfoSet: list of CloudDedicatedZoneHostsInfo
|
|
419
|
+
:param _TotalCount: <p>母机总数</p>
|
|
420
|
+
:type TotalCount: int
|
|
419
421
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
420
422
|
:type RequestId: str
|
|
421
423
|
"""
|
|
422
424
|
self._CloudDedicatedZoneHostsInfoSet = None
|
|
425
|
+
self._TotalCount = None
|
|
423
426
|
self._RequestId = None
|
|
424
427
|
|
|
425
428
|
@property
|
|
426
429
|
def CloudDedicatedZoneHostsInfoSet(self):
|
|
427
|
-
"""
|
|
430
|
+
r"""<p>返回Host和Host上部署的实例信息之间的关系</p>
|
|
428
431
|
:rtype: list of CloudDedicatedZoneHostsInfo
|
|
429
432
|
"""
|
|
430
433
|
return self._CloudDedicatedZoneHostsInfoSet
|
|
@@ -433,9 +436,20 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
433
436
|
def CloudDedicatedZoneHostsInfoSet(self, CloudDedicatedZoneHostsInfoSet):
|
|
434
437
|
self._CloudDedicatedZoneHostsInfoSet = CloudDedicatedZoneHostsInfoSet
|
|
435
438
|
|
|
439
|
+
@property
|
|
440
|
+
def TotalCount(self):
|
|
441
|
+
r"""<p>母机总数</p>
|
|
442
|
+
:rtype: int
|
|
443
|
+
"""
|
|
444
|
+
return self._TotalCount
|
|
445
|
+
|
|
446
|
+
@TotalCount.setter
|
|
447
|
+
def TotalCount(self, TotalCount):
|
|
448
|
+
self._TotalCount = TotalCount
|
|
449
|
+
|
|
436
450
|
@property
|
|
437
451
|
def RequestId(self):
|
|
438
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
452
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
439
453
|
:rtype: str
|
|
440
454
|
"""
|
|
441
455
|
return self._RequestId
|
|
@@ -452,11 +466,12 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
452
466
|
obj = CloudDedicatedZoneHostsInfo()
|
|
453
467
|
obj._deserialize(item)
|
|
454
468
|
self._CloudDedicatedZoneHostsInfoSet.append(obj)
|
|
469
|
+
self._TotalCount = params.get("TotalCount")
|
|
455
470
|
self._RequestId = params.get("RequestId")
|
|
456
471
|
|
|
457
472
|
|
|
458
473
|
class DescribeCloudDedicatedZoneResourceSummaryRequest(AbstractModel):
|
|
459
|
-
"""DescribeCloudDedicatedZoneResourceSummary请求参数结构体
|
|
474
|
+
r"""DescribeCloudDedicatedZoneResourceSummary请求参数结构体
|
|
460
475
|
|
|
461
476
|
"""
|
|
462
477
|
|
|
@@ -469,7 +484,7 @@ class DescribeCloudDedicatedZoneResourceSummaryRequest(AbstractModel):
|
|
|
469
484
|
|
|
470
485
|
@property
|
|
471
486
|
def CdzId(self):
|
|
472
|
-
"""专属可用区唯一标识
|
|
487
|
+
r"""专属可用区唯一标识
|
|
473
488
|
:rtype: str
|
|
474
489
|
"""
|
|
475
490
|
return self._CdzId
|
|
@@ -492,7 +507,7 @@ class DescribeCloudDedicatedZoneResourceSummaryRequest(AbstractModel):
|
|
|
492
507
|
|
|
493
508
|
|
|
494
509
|
class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
|
|
495
|
-
"""DescribeCloudDedicatedZoneResourceSummary返回参数结构体
|
|
510
|
+
r"""DescribeCloudDedicatedZoneResourceSummary返回参数结构体
|
|
496
511
|
|
|
497
512
|
"""
|
|
498
513
|
|
|
@@ -511,7 +526,7 @@ class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
|
|
|
511
526
|
|
|
512
527
|
@property
|
|
513
528
|
def ResourceSummarySet(self):
|
|
514
|
-
"""资源水位详情
|
|
529
|
+
r"""资源水位详情
|
|
515
530
|
:rtype: list of CloudDedicatedZoneResourceSummaryInfo
|
|
516
531
|
"""
|
|
517
532
|
return self._ResourceSummarySet
|
|
@@ -522,7 +537,7 @@ class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
|
|
|
522
537
|
|
|
523
538
|
@property
|
|
524
539
|
def ExtraInfo(self):
|
|
525
|
-
"""资源水位扩展信息
|
|
540
|
+
r"""资源水位扩展信息
|
|
526
541
|
:rtype: :class:`tencentcloud.cdz.v20221123.models.ExtraInfo`
|
|
527
542
|
"""
|
|
528
543
|
return self._ExtraInfo
|
|
@@ -533,7 +548,7 @@ class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
|
|
|
533
548
|
|
|
534
549
|
@property
|
|
535
550
|
def RequestId(self):
|
|
536
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
551
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
537
552
|
:rtype: str
|
|
538
553
|
"""
|
|
539
554
|
return self._RequestId
|
|
@@ -557,7 +572,7 @@ class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
|
|
|
557
572
|
|
|
558
573
|
|
|
559
574
|
class ExtraInfo(AbstractModel):
|
|
560
|
-
"""专属可用区资源水位数据扩展信息,包含可用区当地时间等数据。
|
|
575
|
+
r"""专属可用区资源水位数据扩展信息,包含可用区当地时间等数据。
|
|
561
576
|
|
|
562
577
|
"""
|
|
563
578
|
|
|
@@ -573,7 +588,7 @@ class ExtraInfo(AbstractModel):
|
|
|
573
588
|
|
|
574
589
|
@property
|
|
575
590
|
def ThisMondayLocalDate(self):
|
|
576
|
-
"""专属可用区当地时间本周一日期
|
|
591
|
+
r"""专属可用区当地时间本周一日期
|
|
577
592
|
:rtype: str
|
|
578
593
|
"""
|
|
579
594
|
return self._ThisMondayLocalDate
|
|
@@ -584,7 +599,7 @@ class ExtraInfo(AbstractModel):
|
|
|
584
599
|
|
|
585
600
|
@property
|
|
586
601
|
def LastMondayLocalDate(self):
|
|
587
|
-
"""专属可用区当地时间上周一日期
|
|
602
|
+
r"""专属可用区当地时间上周一日期
|
|
588
603
|
:rtype: str
|
|
589
604
|
"""
|
|
590
605
|
return self._LastMondayLocalDate
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-cdz
|
|
3
|
+
Version: 3.1.196
|
|
4
|
+
Summary: Tencent Cloud Cdz 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.196
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Cdz 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-cdz
|
|
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 cdz
|
|
46
|
+
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/cdz/__init__.py
|
|
6
6
|
tencentcloud/cdz/v20221123/__init__.py
|
|
7
7
|
tencentcloud/cdz/v20221123/cdz_client.py
|
|
8
|
+
tencentcloud/cdz/v20221123/cdz_client_async.py
|
|
8
9
|
tencentcloud/cdz/v20221123/errorcodes.py
|
|
9
10
|
tencentcloud/cdz/v20221123/models.py
|
|
10
11
|
tencentcloud_sdk_python_cdz.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.196
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-cdz
|
|
3
|
-
Version: 3.0.1416
|
|
4
|
-
Summary: Tencent Cloud Cdz 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 Cdz 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-cdz
|
|
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 cdz
|
|
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-cdz
|
|
3
|
-
Version: 3.0.1416
|
|
4
|
-
Summary: Tencent Cloud Cdz 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 Cdz 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-cdz
|
|
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 cdz
|
|
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==3.0.1416
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|