tencentcloud-sdk-python-cdz 3.0.1459__tar.gz → 3.1.214__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.214/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/setup.py +2 -1
  3. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud/cdz/v20221123/cdz_client.py +23 -0
  5. tencentcloud_sdk_python_cdz-3.1.214/tencentcloud/cdz/v20221123/cdz_client_async.py +80 -0
  6. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud/cdz/v20221123/errorcodes.py +3 -0
  7. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud/cdz/v20221123/models.py +192 -12
  8. tencentcloud_sdk_python_cdz-3.1.214/tencentcloud_sdk_python_cdz.egg-info/PKG-INFO +46 -0
  9. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud_sdk_python_cdz.egg-info/SOURCES.txt +1 -0
  10. tencentcloud_sdk_python_cdz-3.1.214/tencentcloud_sdk_python_cdz.egg-info/requires.txt +1 -0
  11. tencentcloud-sdk-python-cdz-3.0.1459/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-cdz-3.0.1459/tencentcloud_sdk_python_cdz.egg-info/PKG-INFO +0 -45
  13. tencentcloud-sdk-python-cdz-3.0.1459/tencentcloud_sdk_python_cdz.egg-info/requires.txt +0 -1
  14. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/README.rst +0 -0
  15. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/setup.cfg +0 -0
  16. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud/cdz/__init__.py +0 -0
  17. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/tencentcloud/cdz/v20221123/__init__.py +0 -0
  18. {tencentcloud-sdk-python-cdz-3.0.1459 → tencentcloud_sdk_python_cdz-3.1.214}/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.214}/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.214
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.214
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.214,<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.214'
@@ -65,6 +65,29 @@ class CdzClient(AbstractClient):
65
65
  model = models.DescribeCloudDedicatedZoneResourceSummaryResponse()
66
66
  model._deserialize(response["Response"])
67
67
  return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
75
+ def DescribeUserAvailableCloudDedicatedZones(self, request):
76
+ r"""查询用户可使用的专属可用区列表
77
+
78
+ :param request: Request instance for DescribeUserAvailableCloudDedicatedZones.
79
+ :type request: :class:`tencentcloud.cdz.v20221123.models.DescribeUserAvailableCloudDedicatedZonesRequest`
80
+ :rtype: :class:`tencentcloud.cdz.v20221123.models.DescribeUserAvailableCloudDedicatedZonesResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("DescribeUserAvailableCloudDedicatedZones", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.DescribeUserAvailableCloudDedicatedZonesResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
68
91
  except Exception as e:
69
92
  if isinstance(e, TencentCloudSDKException):
70
93
  raise
@@ -0,0 +1,80 @@
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)
63
+
64
+ async def DescribeUserAvailableCloudDedicatedZones(
65
+ self,
66
+ request: models.DescribeUserAvailableCloudDedicatedZonesRequest,
67
+ opts: Dict = None,
68
+ ) -> models.DescribeUserAvailableCloudDedicatedZonesResponse:
69
+ """
70
+ 查询用户可使用的专属可用区列表
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "DescribeUserAvailableCloudDedicatedZones"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.DescribeUserAvailableCloudDedicatedZonesResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
@@ -17,6 +17,9 @@
17
17
  # 方法不存在
18
18
  FAILEDOPERATION_INVALIDACTION = 'FailedOperation.InvalidAction'
19
19
 
20
+ # 参数错误。
21
+ INVALIDPARAMETER = 'InvalidParameter'
22
+
20
23
  # HostUuids参数和InstancesIds参数不能同时传递。
21
24
  INVALIDPARAMETER_HOSTUUIDSANDINSIDSCANNOTAPPEARSAMETIME = 'InvalidParameter.HostUuidsAndInsIdsCannotAppearSameTime'
22
25
 
@@ -18,6 +18,102 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class CloudDedicatedZone(AbstractModel):
22
+ r"""专属可用区信息
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Zone: 专属可用区所属的可用区
29
+ :type Zone: str
30
+ :param _ZoneId: 地域系统中的可用区ID
31
+ :type ZoneId: str
32
+ :param _ZoneName: 专属可用区名称
33
+ :type ZoneName: str
34
+ :param _IsLiteMode: 是否为轻量专属可用区
35
+ :type IsLiteMode: bool
36
+ :param _Region: 可用区所在地域
37
+ :type Region: str
38
+ """
39
+ self._Zone = None
40
+ self._ZoneId = None
41
+ self._ZoneName = None
42
+ self._IsLiteMode = None
43
+ self._Region = None
44
+
45
+ @property
46
+ def Zone(self):
47
+ r"""专属可用区所属的可用区
48
+ :rtype: str
49
+ """
50
+ return self._Zone
51
+
52
+ @Zone.setter
53
+ def Zone(self, Zone):
54
+ self._Zone = Zone
55
+
56
+ @property
57
+ def ZoneId(self):
58
+ r"""地域系统中的可用区ID
59
+ :rtype: str
60
+ """
61
+ return self._ZoneId
62
+
63
+ @ZoneId.setter
64
+ def ZoneId(self, ZoneId):
65
+ self._ZoneId = ZoneId
66
+
67
+ @property
68
+ def ZoneName(self):
69
+ r"""专属可用区名称
70
+ :rtype: str
71
+ """
72
+ return self._ZoneName
73
+
74
+ @ZoneName.setter
75
+ def ZoneName(self, ZoneName):
76
+ self._ZoneName = ZoneName
77
+
78
+ @property
79
+ def IsLiteMode(self):
80
+ r"""是否为轻量专属可用区
81
+ :rtype: bool
82
+ """
83
+ return self._IsLiteMode
84
+
85
+ @IsLiteMode.setter
86
+ def IsLiteMode(self, IsLiteMode):
87
+ self._IsLiteMode = IsLiteMode
88
+
89
+ @property
90
+ def Region(self):
91
+ r"""可用区所在地域
92
+ :rtype: str
93
+ """
94
+ return self._Region
95
+
96
+ @Region.setter
97
+ def Region(self, Region):
98
+ self._Region = Region
99
+
100
+
101
+ def _deserialize(self, params):
102
+ self._Zone = params.get("Zone")
103
+ self._ZoneId = params.get("ZoneId")
104
+ self._ZoneName = params.get("ZoneName")
105
+ self._IsLiteMode = params.get("IsLiteMode")
106
+ self._Region = params.get("Region")
107
+ memeber_set = set(params.keys())
108
+ for name, value in vars(self).items():
109
+ property_name = name[1:]
110
+ if property_name in memeber_set:
111
+ memeber_set.remove(property_name)
112
+ if len(memeber_set) > 0:
113
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
114
+
115
+
116
+
21
117
  class CloudDedicatedZoneHostsInfo(AbstractModel):
22
118
  r"""CDZ的母机和子机的对应关系
23
119
 
@@ -318,15 +414,15 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
318
414
 
319
415
  def __init__(self):
320
416
  r"""
321
- :param _CloudDedicatedZoneID: 专属可用区ID
417
+ :param _CloudDedicatedZoneID: <p>专属可用区ID</p>
322
418
  :type CloudDedicatedZoneID: str
323
- :param _HostUuids: 一个或多个Host面的CVM实例信息。最大支持查询100台Host。
419
+ :param _HostUuids: <p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
324
420
  :type HostUuids: list of str
325
- :param _InstanceIds: 查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。
421
+ :param _InstanceIds: <p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
326
422
  :type InstanceIds: list of str
327
- :param _Offset: 偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
423
+ :param _Offset: <p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
328
424
  :type Offset: int
329
- :param _Limit: 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
425
+ :param _Limit: <p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
330
426
  :type Limit: int
331
427
  """
332
428
  self._CloudDedicatedZoneID = None
@@ -337,7 +433,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
337
433
 
338
434
  @property
339
435
  def CloudDedicatedZoneID(self):
340
- r"""专属可用区ID
436
+ r"""<p>专属可用区ID</p>
341
437
  :rtype: str
342
438
  """
343
439
  return self._CloudDedicatedZoneID
@@ -348,7 +444,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
348
444
 
349
445
  @property
350
446
  def HostUuids(self):
351
- r"""一个或多个Host面的CVM实例信息。最大支持查询100台Host。
447
+ r"""<p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
352
448
  :rtype: list of str
353
449
  """
354
450
  return self._HostUuids
@@ -359,7 +455,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
359
455
 
360
456
  @property
361
457
  def InstanceIds(self):
362
- r"""查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。
458
+ r"""<p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
363
459
  :rtype: list of str
364
460
  """
365
461
  return self._InstanceIds
@@ -370,7 +466,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
370
466
 
371
467
  @property
372
468
  def Offset(self):
373
- r"""偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
469
+ r"""<p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
374
470
  :rtype: int
375
471
  """
376
472
  return self._Offset
@@ -381,7 +477,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
381
477
 
382
478
  @property
383
479
  def Limit(self):
384
- r"""返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。
480
+ r"""<p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
385
481
  :rtype: int
386
482
  """
387
483
  return self._Limit
@@ -414,17 +510,20 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
414
510
 
415
511
  def __init__(self):
416
512
  r"""
417
- :param _CloudDedicatedZoneHostsInfoSet: 返回Host和Host上部署的实例信息之间的关系
513
+ :param _CloudDedicatedZoneHostsInfoSet: <p>返回Host和Host上部署的实例信息之间的关系</p>
418
514
  :type CloudDedicatedZoneHostsInfoSet: list of CloudDedicatedZoneHostsInfo
515
+ :param _TotalCount: <p>母机总数</p>
516
+ :type TotalCount: int
419
517
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
420
518
  :type RequestId: str
421
519
  """
422
520
  self._CloudDedicatedZoneHostsInfoSet = None
521
+ self._TotalCount = None
423
522
  self._RequestId = None
424
523
 
425
524
  @property
426
525
  def CloudDedicatedZoneHostsInfoSet(self):
427
- r"""返回Host和Host上部署的实例信息之间的关系
526
+ r"""<p>返回Host和Host上部署的实例信息之间的关系</p>
428
527
  :rtype: list of CloudDedicatedZoneHostsInfo
429
528
  """
430
529
  return self._CloudDedicatedZoneHostsInfoSet
@@ -433,6 +532,17 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
433
532
  def CloudDedicatedZoneHostsInfoSet(self, CloudDedicatedZoneHostsInfoSet):
434
533
  self._CloudDedicatedZoneHostsInfoSet = CloudDedicatedZoneHostsInfoSet
435
534
 
535
+ @property
536
+ def TotalCount(self):
537
+ r"""<p>母机总数</p>
538
+ :rtype: int
539
+ """
540
+ return self._TotalCount
541
+
542
+ @TotalCount.setter
543
+ def TotalCount(self, TotalCount):
544
+ self._TotalCount = TotalCount
545
+
436
546
  @property
437
547
  def RequestId(self):
438
548
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -452,6 +562,7 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
452
562
  obj = CloudDedicatedZoneHostsInfo()
453
563
  obj._deserialize(item)
454
564
  self._CloudDedicatedZoneHostsInfoSet.append(obj)
565
+ self._TotalCount = params.get("TotalCount")
455
566
  self._RequestId = params.get("RequestId")
456
567
 
457
568
 
@@ -556,6 +667,75 @@ class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
556
667
  self._RequestId = params.get("RequestId")
557
668
 
558
669
 
670
+ class DescribeUserAvailableCloudDedicatedZonesRequest(AbstractModel):
671
+ r"""DescribeUserAvailableCloudDedicatedZones请求参数结构体
672
+
673
+ """
674
+
675
+
676
+ class DescribeUserAvailableCloudDedicatedZonesResponse(AbstractModel):
677
+ r"""DescribeUserAvailableCloudDedicatedZones返回参数结构体
678
+
679
+ """
680
+
681
+ def __init__(self):
682
+ r"""
683
+ :param _ZoneIdSet: 返回当前用户可使用的专属可用区 ID
684
+ :type ZoneIdSet: list of str
685
+ :param _ZoneSet: 专属可用区列表信息。
686
+ :type ZoneSet: list of CloudDedicatedZone
687
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
688
+ :type RequestId: str
689
+ """
690
+ self._ZoneIdSet = None
691
+ self._ZoneSet = None
692
+ self._RequestId = None
693
+
694
+ @property
695
+ def ZoneIdSet(self):
696
+ r"""返回当前用户可使用的专属可用区 ID
697
+ :rtype: list of str
698
+ """
699
+ return self._ZoneIdSet
700
+
701
+ @ZoneIdSet.setter
702
+ def ZoneIdSet(self, ZoneIdSet):
703
+ self._ZoneIdSet = ZoneIdSet
704
+
705
+ @property
706
+ def ZoneSet(self):
707
+ r"""专属可用区列表信息。
708
+ :rtype: list of CloudDedicatedZone
709
+ """
710
+ return self._ZoneSet
711
+
712
+ @ZoneSet.setter
713
+ def ZoneSet(self, ZoneSet):
714
+ self._ZoneSet = ZoneSet
715
+
716
+ @property
717
+ def RequestId(self):
718
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
719
+ :rtype: str
720
+ """
721
+ return self._RequestId
722
+
723
+ @RequestId.setter
724
+ def RequestId(self, RequestId):
725
+ self._RequestId = RequestId
726
+
727
+
728
+ def _deserialize(self, params):
729
+ self._ZoneIdSet = params.get("ZoneIdSet")
730
+ if params.get("ZoneSet") is not None:
731
+ self._ZoneSet = []
732
+ for item in params.get("ZoneSet"):
733
+ obj = CloudDedicatedZone()
734
+ obj._deserialize(item)
735
+ self._ZoneSet.append(obj)
736
+ self._RequestId = params.get("RequestId")
737
+
738
+
559
739
  class ExtraInfo(AbstractModel):
560
740
  r"""专属可用区资源水位数据扩展信息,包含可用区当地时间等数据。
561
741
 
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-cdz
3
+ Version: 3.1.214
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.214
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.214
@@ -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