tencentcloud-sdk-python-cdz 3.0.1459__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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_cdz-3.1.196/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/setup.py +2 -1
  3. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/__init__.py +1 -1
  4. tencentcloud_sdk_python_cdz-3.1.196/tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
  5. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/models.py +27 -12
  6. tencentcloud_sdk_python_cdz-3.1.196/tencentcloud_sdk_python_cdz.egg-info/PKG-INFO +46 -0
  7. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud_sdk_python_cdz.egg-info/SOURCES.txt +1 -0
  8. tencentcloud_sdk_python_cdz-3.1.196/tencentcloud_sdk_python_cdz.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-cdz-3.0.1459/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-cdz-3.0.1459/tencentcloud_sdk_python_cdz.egg-info/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-cdz-3.0.1459/tencentcloud_sdk_python_cdz.egg-info/requires.txt +0 -1
  12. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/README.rst +0 -0
  13. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/setup.cfg +0 -0
  14. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/__init__.py +0 -0
  15. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/__init__.py +0 -0
  16. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/cdz_client.py +0 -0
  17. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud/cdz/v20221123/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.196}/tencentcloud_sdk_python_cdz.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-cdz-3.0.1459 → 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>=3.0.1459,<4.0.0"],
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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.1.196'
@@ -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)
@@ -318,15 +318,15 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
318
318
 
319
319
  def __init__(self):
320
320
  r"""
321
- :param _CloudDedicatedZoneID: 专属可用区ID
321
+ :param _CloudDedicatedZoneID: <p>专属可用区ID</p>
322
322
  :type CloudDedicatedZoneID: str
323
- :param _HostUuids: 一个或多个Host面的CVM实例信息。最大支持查询100台Host。
323
+ :param _HostUuids: <p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
324
324
  :type HostUuids: list of str
325
- :param _InstanceIds: 查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。
325
+ :param _InstanceIds: <p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
326
326
  :type InstanceIds: list of str
327
- :param _Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
327
+ :param _Offset: <p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
328
328
  :type Offset: int
329
- :param _Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
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
- r"""专属可用区ID
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
- r"""一个或多个Host面的CVM实例信息。最大支持查询100台Host。
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
- r"""查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。
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
- r"""偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
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
- r"""返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
384
+ r"""<p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
385
385
  :rtype: int
386
386
  """
387
387
  return self._Limit
@@ -414,17 +414,20 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
414
414
 
415
415
  def __init__(self):
416
416
  r"""
417
- :param _CloudDedicatedZoneHostsInfoSet: 返回Host和Host上部署的实例信息之间的关系
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
- r"""返回Host和Host上部署的实例信息之间的关系
430
+ r"""<p>返回Host和Host上部署的实例信息之间的关系</p>
428
431
  :rtype: list of CloudDedicatedZoneHostsInfo
429
432
  """
430
433
  return self._CloudDedicatedZoneHostsInfoSet
@@ -433,6 +436,17 @@ 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
452
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -452,6 +466,7 @@ 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
 
@@ -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.1459
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.1459
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<4.0.0,>=3.0.1459