tencentcloud-sdk-python-intl-en 3.0.1278__py2.py3-none-any.whl → 3.0.1280__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

Files changed (75) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/errorcodes.py +15 -15
  3. tencentcloud/autoscaling/v20180419/errorcodes.py +1 -1
  4. tencentcloud/batch/v20170312/errorcodes.py +1 -1
  5. tencentcloud/cbs/v20170312/errorcodes.py +2 -2
  6. tencentcloud/cdb/v20170320/errorcodes.py +1 -1
  7. tencentcloud/cdn/v20180606/errorcodes.py +2 -2
  8. tencentcloud/cdz/__init__.py +0 -0
  9. tencentcloud/cdz/v20221123/__init__.py +0 -0
  10. tencentcloud/cdz/v20221123/cdz_client.py +49 -0
  11. tencentcloud/cdz/v20221123/errorcodes.py +18 -0
  12. tencentcloud/cdz/v20221123/models.py +412 -0
  13. tencentcloud/cfs/v20190719/errorcodes.py +10 -10
  14. tencentcloud/cloudaudit/v20190319/errorcodes.py +4 -4
  15. tencentcloud/csip/v20221121/errorcodes.py +4 -4
  16. tencentcloud/cvm/v20170312/cvm_client.py +52 -0
  17. tencentcloud/cvm/v20170312/errorcodes.py +41 -32
  18. tencentcloud/cvm/v20170312/models.py +253 -0
  19. tencentcloud/cynosdb/v20190107/errorcodes.py +4 -4
  20. tencentcloud/dbbrain/v20191016/errorcodes.py +1 -1
  21. tencentcloud/dbbrain/v20210527/errorcodes.py +1 -1
  22. tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
  23. tencentcloud/dnspod/v20210323/errorcodes.py +7 -4
  24. tencentcloud/dnspod/v20210323/models.py +287 -0
  25. tencentcloud/dts/v20180330/errorcodes.py +4 -4
  26. tencentcloud/dts/v20211206/errorcodes.py +1 -1
  27. tencentcloud/eb/v20210416/errorcodes.py +1 -1
  28. tencentcloud/ecm/v20190719/errorcodes.py +3 -3
  29. tencentcloud/eiam/v20210420/errorcodes.py +33 -33
  30. tencentcloud/emr/v20190103/errorcodes.py +1 -1
  31. tencentcloud/es/v20180416/errorcodes.py +16 -16
  32. tencentcloud/faceid/v20180301/errorcodes.py +1 -1
  33. tencentcloud/faceid/v20180301/faceid_client.py +2 -2
  34. tencentcloud/faceid/v20180301/models.py +2 -4
  35. tencentcloud/iai/v20200303/errorcodes.py +5 -5
  36. tencentcloud/ims/v20201229/errorcodes.py +3 -3
  37. tencentcloud/intlpartnersmgt/v20220928/errorcodes.py +2 -2
  38. tencentcloud/lcic/v20220817/errorcodes.py +1 -1
  39. tencentcloud/lighthouse/v20200324/errorcodes.py +8 -8
  40. tencentcloud/live/v20180801/errorcodes.py +7 -7
  41. tencentcloud/lke/v20231130/errorcodes.py +1 -1
  42. tencentcloud/mdl/v20200326/errorcodes.py +1 -1
  43. tencentcloud/mdp/v20200527/errorcodes.py +1 -1
  44. tencentcloud/mps/v20190612/errorcodes.py +2 -2
  45. tencentcloud/mps/v20190612/models.py +2176 -371
  46. tencentcloud/mps/v20190612/mps_client.py +30 -23
  47. tencentcloud/ocr/v20181119/errorcodes.py +2 -2
  48. tencentcloud/organization/v20181225/errorcodes.py +1 -1
  49. tencentcloud/privatedns/v20201028/errorcodes.py +3 -3
  50. tencentcloud/scf/v20180416/errorcodes.py +5 -5
  51. tencentcloud/sms/v20190711/errorcodes.py +1 -1
  52. tencentcloud/sms/v20210111/errorcodes.py +2 -2
  53. tencentcloud/tag/v20180813/errorcodes.py +1 -1
  54. tencentcloud/tat/v20201028/errorcodes.py +4 -4
  55. tencentcloud/tcr/v20190924/errorcodes.py +1 -1
  56. tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
  57. tencentcloud/tem/v20210701/errorcodes.py +4 -4
  58. tencentcloud/teo/v20220106/errorcodes.py +2 -2
  59. tencentcloud/teo/v20220901/errorcodes.py +6 -6
  60. tencentcloud/teo/v20220901/models.py +14 -14
  61. tencentcloud/teo/v20220901/teo_client.py +4 -4
  62. tencentcloud/tiw/v20190919/errorcodes.py +2 -2
  63. tencentcloud/tke/v20180525/errorcodes.py +1 -1
  64. tencentcloud/tms/v20201229/errorcodes.py +1 -1
  65. tencentcloud/tmt/v20180321/errorcodes.py +7 -7
  66. tencentcloud/trtc/v20190722/errorcodes.py +2 -2
  67. tencentcloud/tts/v20190823/errorcodes.py +1 -1
  68. tencentcloud/vm/v20201229/errorcodes.py +1 -1
  69. tencentcloud/vm/v20210922/errorcodes.py +1 -1
  70. tencentcloud/vod/v20180717/errorcodes.py +6 -6
  71. tencentcloud/vpc/v20170312/errorcodes.py +39 -38
  72. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/METADATA +1 -1
  73. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/RECORD +75 -70
  74. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/WHEEL +0 -0
  75. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1278'
16
+ __version__ = '3.0.1280'
@@ -38,10 +38,10 @@ FAILEDOPERATION_APIERROR = 'FailedOperation.ApiError'
38
38
  # The API is being manipulated. Please try again later.
39
39
  FAILEDOPERATION_APIINOPERATION = 'FailedOperation.ApiInOperation'
40
40
 
41
- #
41
+ # Domain name error returned
42
42
  FAILEDOPERATION_BACKENDDOMAINERROR = 'FailedOperation.BackendDomainError'
43
43
 
44
- #
44
+ # CAM error
45
45
  FAILEDOPERATION_CAMEXCEPTION = 'FailedOperation.CamException'
46
46
 
47
47
  # An error occurred while binding a certificate.
@@ -125,7 +125,7 @@ FAILEDOPERATION_GETROLEERROR = 'FailedOperation.GetRoleError'
125
125
  # The instance does not exist or is invalid.
126
126
  FAILEDOPERATION_INSTANCENOTEXIST = 'FailedOperation.InstanceNotExist'
127
127
 
128
- #
128
+ # Invalid input json
129
129
  FAILEDOPERATION_INVALIDINPUTJSON = 'FailedOperation.InvalidInputJSON'
130
130
 
131
131
  # The Apis custom path conflicts with the default path.
@@ -161,7 +161,7 @@ FAILEDOPERATION_SUBDOMAINFORMATERROR = 'FailedOperation.SubDomainFormatError'
161
161
  # The tag was not bound to the specified service.
162
162
  FAILEDOPERATION_TAGBINDSERVICEERROR = 'FailedOperation.TagBindServiceError'
163
163
 
164
- #
164
+ # Migration task duplicated
165
165
  FAILEDOPERATION_TASKALREADYEXIST = 'FailedOperation.TaskAlreadyExist'
166
166
 
167
167
  # The protocol type is incorrect.
@@ -173,7 +173,7 @@ INTERNALERROR = 'InternalError'
173
173
  # API Gateway internal request error. Please try again later. If the problem persists, please contact the smart customer service or submit a ticket.
174
174
  INTERNALERROR_APIGWEXCEPTION = 'InternalError.ApigwException'
175
175
 
176
- #
176
+ # CAM internal request error. Please try again later. If the issue persists, contact customer service or submit a ticket.
177
177
  INTERNALERROR_CAMEXCEPTION = 'InternalError.CamException'
178
178
 
179
179
  # CAuth internal request error. Please try again later. If the problem persists, please submit a ticket.
@@ -182,13 +182,13 @@ INTERNALERROR_CAUTHEXCEPTION = 'InternalError.CauthException'
182
182
  # CLB internal request error. Please try again. If the problem persists, please submit a ticket.
183
183
  INTERNALERROR_CLBEXCEPTION = 'InternalError.ClbException'
184
184
 
185
- #
185
+ # Database operation failed. Please try again later. If the issue persists, contact our smart customer service or submit a ticket.
186
186
  INTERNALERROR_DBEXCEPTION = 'InternalError.DbException'
187
187
 
188
188
  # OSS internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
189
189
  INTERNALERROR_OSSEXCEPTION = 'InternalError.OssException'
190
190
 
191
- #
191
+ # Tag callback failed.
192
192
  INTERNALERROR_RETURNABLEEXCEPTION = 'InternalError.ReturnableException'
193
193
 
194
194
  # SCF internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
@@ -341,7 +341,7 @@ INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = 'InvalidParameterValue.Param
341
341
  # The parameter value is incorrect, as it is not within the valid value range.
342
342
  INVALIDPARAMETERVALUE_RANGEEXCEEDED = 'InvalidParameterValue.RangeExceeded'
343
343
 
344
- #
344
+ # Invalid parameter value
345
345
  INVALIDPARAMETERVALUE_TRAFFICCONTROL = 'InvalidParameterValue.TrafficControl'
346
346
 
347
347
  # Invalid parameter value.
@@ -464,7 +464,7 @@ UNSUPPORTEDOPERATION_ACCOUNTARREARS = 'UnsupportedOperation.AccountArrears'
464
464
  # The key has already been bound to a usage plan.
465
465
  UNSUPPORTEDOPERATION_ALREADYBINDUSAGEPLAN = 'UnsupportedOperation.AlreadyBindUsagePlan'
466
466
 
467
- #
467
+ # API list is not empty.
468
468
  UNSUPPORTEDOPERATION_APILISTNOTEMPTY = 'UnsupportedOperation.ApiListNotEmpty'
469
469
 
470
470
  # The current plugin cannot be bound.
@@ -473,13 +473,13 @@ UNSUPPORTEDOPERATION_ATTACHPLUGIN = 'UnsupportedOperation.AttachPlugin'
473
473
  # You are using the basic edition and only one API can be created.
474
474
  UNSUPPORTEDOPERATION_BASICSERVICENOMOREAPI = 'UnsupportedOperation.BasicServiceNoMoreApi'
475
475
 
476
- #
476
+ # The basic service does not allow plugin connections.
477
477
  UNSUPPORTEDOPERATION_BASICSERVICENOTALLOWATTACHPLUGIN = 'UnsupportedOperation.BasicServiceNotAllowAttachPlugin'
478
478
 
479
479
  # Invalid log query period
480
480
  UNSUPPORTEDOPERATION_CLSSEARCHTIME = 'UnsupportedOperation.ClsSearchTime'
481
481
 
482
- #
482
+ # A production environment exists.
483
483
  UNSUPPORTEDOPERATION_EXISTINGONLINEENVIRONMENT = 'UnsupportedOperation.ExistingOnlineEnvironment'
484
484
 
485
485
  # Cannot force HTTPS when the protocol is HTTP.
@@ -512,7 +512,7 @@ UNSUPPORTEDOPERATION_NOUSAGEPLANENV = 'UnsupportedOperation.NoUsagePlanEnv'
512
512
  # Network types cannot be reduced.
513
513
  UNSUPPORTEDOPERATION_REDUCENETTYPES = 'UnsupportedOperation.ReduceNetTypes'
514
514
 
515
- #
515
+ # Post request failed.
516
516
  UNSUPPORTEDOPERATION_REQUESTPOSTERROR = 'UnsupportedOperation.RequestPostError'
517
517
 
518
518
  # The resource has been associated. Please disassociate it first.
@@ -524,16 +524,16 @@ UNSUPPORTEDOPERATION_RESOURCEISINUSE = 'UnsupportedOperation.ResourceIsInUse'
524
524
  # The resource is not associated.
525
525
  UNSUPPORTEDOPERATION_RESOURCEUNASSOCIATED = 'UnsupportedOperation.ResourceUnassociated'
526
526
 
527
- #
527
+ # Service does not exist.
528
528
  UNSUPPORTEDOPERATION_SERVICEEXIST = 'UnsupportedOperation.ServiceExist'
529
529
 
530
- #
530
+ # Tag is not empty.
531
531
  UNSUPPORTEDOPERATION_TAGSNOTEMPTY = 'UnsupportedOperation.TagsNotEmpty'
532
532
 
533
533
  # The current `Uin` is not in the manual key allowlist.
534
534
  UNSUPPORTEDOPERATION_UINNOTINWHITELIST = 'UnsupportedOperation.UinNotInWhiteList'
535
535
 
536
- #
536
+ # Unpack function error
537
537
  UNSUPPORTEDOPERATION_UNPACKERROR = 'UnsupportedOperation.UnpackError'
538
538
 
539
539
  # The key has already been bound to a usage plan.
@@ -401,7 +401,7 @@ RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = 'ResourceNotFound.AutoScaling
401
401
  # The specified bandwidth package ID is not found.
402
402
  RESOURCENOTFOUND_BANDWIDTHPACKAGEIDNOTFOUND = 'ResourceNotFound.BandwidthPackageIdNotFound'
403
403
 
404
- #
404
+ # The specified classic load balancer ID does not exist.
405
405
  RESOURCENOTFOUND_CLASSICLOADBALANCERNOTFOUND = 'ResourceNotFound.ClassicLoadBalancerNotFound'
406
406
 
407
407
  # The specified CMQ queue does not exist.
@@ -20,7 +20,7 @@ ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = 'AllowedOneAttributeInEnvIdAndComputeE
20
20
  # Internal error.
21
21
  INTERNALERROR = 'InternalError'
22
22
 
23
- #
23
+ # The CAM API call returned an error.
24
24
  INTERNALERROR_CALLCAM = 'InternalError.CallCam'
25
25
 
26
26
  # The CPM API call returns an error.
@@ -179,7 +179,7 @@ RESOURCEUNAVAILABLE_TOOMANYCREATINGSNAPSHOT = 'ResourceUnavailable.TooManyCreati
179
179
  # Incorrect cloud disk type. For example, a system disk cannot be mounted to CVM.
180
180
  RESOURCEUNAVAILABLE_TYPEERROR = 'ResourceUnavailable.TypeError'
181
181
 
182
- #
182
+ # The cloud disk and the instance are not in the same availability zone.
183
183
  RESOURCEUNAVAILABLE_ZONENOTMATCH = 'ResourceUnavailable.ZoneNotMatch'
184
184
 
185
185
  # Order conflict.
@@ -203,7 +203,7 @@ UNAUTHORIZEDOPERATION_ROLENOTEXISTS = 'UnauthorizedOperation.RoleNotExists'
203
203
  # Unsupported operation
204
204
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
205
205
 
206
- #
206
+ # Detaching cloud disks from EKS is not currently supported.
207
207
  UNSUPPORTEDOPERATION_DETACHPOD = 'UnsupportedOperation.DetachPod'
208
208
 
209
209
  # The disk is encrypted.
@@ -77,7 +77,7 @@ FAILEDOPERATION_INSTANCETASKCONFLICTERROR = 'FailedOperation.InstanceTaskConflic
77
77
  # Failed to deserialize JSON.
78
78
  FAILEDOPERATION_JSONUNMARSHALERROR = 'FailedOperation.JsonUnmarshalError'
79
79
 
80
- #
80
+ # The volume of the returned data is too large. Please narrow down the data query scope.
81
81
  FAILEDOPERATION_LOGCONTENTOVERLIMIT = 'FailedOperation.LogContentOverLimit'
82
82
 
83
83
  # No policy modification detected
@@ -287,10 +287,10 @@ LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = 'LimitExceeded.CdnConfigTooManyCacheR
287
287
  # Domain name operations are too frequent.
288
288
  LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = 'LimitExceeded.CdnHostOpTooOften'
289
289
 
290
- #
290
+ # The number of refreshed URLs exceeds the per-batch submission limit.
291
291
  LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = 'LimitExceeded.CdnPurgeExceedBatchLimit'
292
292
 
293
- #
293
+ # The number of refreshed URLs exceeds the daily quota.
294
294
  LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = 'LimitExceeded.CdnPurgeExceedDayLimit'
295
295
 
296
296
  # The number of directories to be purged exceeds the limit.
File without changes
File without changes
@@ -0,0 +1,49 @@
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
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.cdz.v20221123 import models
21
+
22
+
23
+ class CdzClient(AbstractClient):
24
+ _apiVersion = '2022-11-23'
25
+ _endpoint = 'cdz.intl.tencentcloudapi.com'
26
+ _service = 'cdz'
27
+
28
+
29
+ def DescribeCloudDedicatedZoneResourceSummary(self, request):
30
+ r"""This API is used to query resource usage of each vertical product in Cloud Dedicated Zone.
31
+
32
+ :param request: Request instance for DescribeCloudDedicatedZoneResourceSummary.
33
+ :type request: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneResourceSummaryRequest`
34
+ :rtype: :class:`tencentcloud.cdz.v20221123.models.DescribeCloudDedicatedZoneResourceSummaryResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("DescribeCloudDedicatedZoneResourceSummary", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.DescribeCloudDedicatedZoneResourceSummaryResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,18 @@
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
+ # The cloud dedicated zone does not exist.
18
+ RESOURCENOTFOUND_CDZIDNOTFOUND = 'ResourceNotFound.CdzIdNotFound'
@@ -0,0 +1,412 @@
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
+ import warnings
17
+
18
+ from tencentcloud.common.abstract_model import AbstractModel
19
+
20
+
21
+ class CloudDedicatedZoneResourceStatisticsInfo(AbstractModel):
22
+ r"""Details of the queried data for the statistical item of the CDZ resource, corresponding to a specific vertical product resource statistics.
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _Item: Specifies the item name of resource statistics.
29
+ :type Item: str
30
+ :param _Unit: Resource statistics item measurement unit.
31
+ :type Unit: str
32
+ :param _Total: Total resource amount.
33
+ :type Total: str
34
+ :param _Usage: Used resources.
35
+ :type Usage: str
36
+ :param _UsageRate: Specifies the percentage of used resources.
37
+ :type UsageRate: str
38
+ :param _Remain: Remaining resource.
39
+ :type Remain: str
40
+ :param _RemainRate: Remaining resource percentage.
41
+ :type RemainRate: str
42
+ :param _ThisMondayUsageRate: Resource utilization rate at midnight this monday.
43
+ :type ThisMondayUsageRate: str
44
+ :param _ThisMondayUsageGrowthRate: Resource growth rate this week.
45
+ :type ThisMondayUsageGrowthRate: str
46
+ :param _LastMondayUsageGrowthRate: Resource growth rate last week.
47
+ :type LastMondayUsageGrowthRate: str
48
+ """
49
+ self._Item = None
50
+ self._Unit = None
51
+ self._Total = None
52
+ self._Usage = None
53
+ self._UsageRate = None
54
+ self._Remain = None
55
+ self._RemainRate = None
56
+ self._ThisMondayUsageRate = None
57
+ self._ThisMondayUsageGrowthRate = None
58
+ self._LastMondayUsageGrowthRate = None
59
+
60
+ @property
61
+ def Item(self):
62
+ r"""Specifies the item name of resource statistics.
63
+ :rtype: str
64
+ """
65
+ return self._Item
66
+
67
+ @Item.setter
68
+ def Item(self, Item):
69
+ self._Item = Item
70
+
71
+ @property
72
+ def Unit(self):
73
+ r"""Resource statistics item measurement unit.
74
+ :rtype: str
75
+ """
76
+ return self._Unit
77
+
78
+ @Unit.setter
79
+ def Unit(self, Unit):
80
+ self._Unit = Unit
81
+
82
+ @property
83
+ def Total(self):
84
+ r"""Total resource amount.
85
+ :rtype: str
86
+ """
87
+ return self._Total
88
+
89
+ @Total.setter
90
+ def Total(self, Total):
91
+ self._Total = Total
92
+
93
+ @property
94
+ def Usage(self):
95
+ r"""Used resources.
96
+ :rtype: str
97
+ """
98
+ return self._Usage
99
+
100
+ @Usage.setter
101
+ def Usage(self, Usage):
102
+ self._Usage = Usage
103
+
104
+ @property
105
+ def UsageRate(self):
106
+ r"""Specifies the percentage of used resources.
107
+ :rtype: str
108
+ """
109
+ return self._UsageRate
110
+
111
+ @UsageRate.setter
112
+ def UsageRate(self, UsageRate):
113
+ self._UsageRate = UsageRate
114
+
115
+ @property
116
+ def Remain(self):
117
+ r"""Remaining resource.
118
+ :rtype: str
119
+ """
120
+ return self._Remain
121
+
122
+ @Remain.setter
123
+ def Remain(self, Remain):
124
+ self._Remain = Remain
125
+
126
+ @property
127
+ def RemainRate(self):
128
+ r"""Remaining resource percentage.
129
+ :rtype: str
130
+ """
131
+ return self._RemainRate
132
+
133
+ @RemainRate.setter
134
+ def RemainRate(self, RemainRate):
135
+ self._RemainRate = RemainRate
136
+
137
+ @property
138
+ def ThisMondayUsageRate(self):
139
+ r"""Resource utilization rate at midnight this monday.
140
+ :rtype: str
141
+ """
142
+ return self._ThisMondayUsageRate
143
+
144
+ @ThisMondayUsageRate.setter
145
+ def ThisMondayUsageRate(self, ThisMondayUsageRate):
146
+ self._ThisMondayUsageRate = ThisMondayUsageRate
147
+
148
+ @property
149
+ def ThisMondayUsageGrowthRate(self):
150
+ r"""Resource growth rate this week.
151
+ :rtype: str
152
+ """
153
+ return self._ThisMondayUsageGrowthRate
154
+
155
+ @ThisMondayUsageGrowthRate.setter
156
+ def ThisMondayUsageGrowthRate(self, ThisMondayUsageGrowthRate):
157
+ self._ThisMondayUsageGrowthRate = ThisMondayUsageGrowthRate
158
+
159
+ @property
160
+ def LastMondayUsageGrowthRate(self):
161
+ r"""Resource growth rate last week.
162
+ :rtype: str
163
+ """
164
+ return self._LastMondayUsageGrowthRate
165
+
166
+ @LastMondayUsageGrowthRate.setter
167
+ def LastMondayUsageGrowthRate(self, LastMondayUsageGrowthRate):
168
+ self._LastMondayUsageGrowthRate = LastMondayUsageGrowthRate
169
+
170
+
171
+ def _deserialize(self, params):
172
+ self._Item = params.get("Item")
173
+ self._Unit = params.get("Unit")
174
+ self._Total = params.get("Total")
175
+ self._Usage = params.get("Usage")
176
+ self._UsageRate = params.get("UsageRate")
177
+ self._Remain = params.get("Remain")
178
+ self._RemainRate = params.get("RemainRate")
179
+ self._ThisMondayUsageRate = params.get("ThisMondayUsageRate")
180
+ self._ThisMondayUsageGrowthRate = params.get("ThisMondayUsageGrowthRate")
181
+ self._LastMondayUsageGrowthRate = params.get("LastMondayUsageGrowthRate")
182
+ memeber_set = set(params.keys())
183
+ for name, value in vars(self).items():
184
+ property_name = name[1:]
185
+ if property_name in memeber_set:
186
+ memeber_set.remove(property_name)
187
+ if len(memeber_set) > 0:
188
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
189
+
190
+
191
+
192
+ class CloudDedicatedZoneResourceSummaryInfo(AbstractModel):
193
+ r"""Details of the CDZ resource water level, corresponding to a specific vertical product.
194
+
195
+ """
196
+
197
+ def __init__(self):
198
+ r"""
199
+ :param _ProductName: Product name
200
+ :type ProductName: str
201
+ :param _SubProductName: Subproduct name
202
+ :type SubProductName: str
203
+ :param _Statistics: Statistical detail of the resource.
204
+ :type Statistics: list of CloudDedicatedZoneResourceStatisticsInfo
205
+ """
206
+ self._ProductName = None
207
+ self._SubProductName = None
208
+ self._Statistics = None
209
+
210
+ @property
211
+ def ProductName(self):
212
+ r"""Product name
213
+ :rtype: str
214
+ """
215
+ return self._ProductName
216
+
217
+ @ProductName.setter
218
+ def ProductName(self, ProductName):
219
+ self._ProductName = ProductName
220
+
221
+ @property
222
+ def SubProductName(self):
223
+ r"""Subproduct name
224
+ :rtype: str
225
+ """
226
+ return self._SubProductName
227
+
228
+ @SubProductName.setter
229
+ def SubProductName(self, SubProductName):
230
+ self._SubProductName = SubProductName
231
+
232
+ @property
233
+ def Statistics(self):
234
+ r"""Statistical detail of the resource.
235
+ :rtype: list of CloudDedicatedZoneResourceStatisticsInfo
236
+ """
237
+ return self._Statistics
238
+
239
+ @Statistics.setter
240
+ def Statistics(self, Statistics):
241
+ self._Statistics = Statistics
242
+
243
+
244
+ def _deserialize(self, params):
245
+ self._ProductName = params.get("ProductName")
246
+ self._SubProductName = params.get("SubProductName")
247
+ if params.get("Statistics") is not None:
248
+ self._Statistics = []
249
+ for item in params.get("Statistics"):
250
+ obj = CloudDedicatedZoneResourceStatisticsInfo()
251
+ obj._deserialize(item)
252
+ self._Statistics.append(obj)
253
+ memeber_set = set(params.keys())
254
+ for name, value in vars(self).items():
255
+ property_name = name[1:]
256
+ if property_name in memeber_set:
257
+ memeber_set.remove(property_name)
258
+ if len(memeber_set) > 0:
259
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
260
+
261
+
262
+
263
+ class DescribeCloudDedicatedZoneResourceSummaryRequest(AbstractModel):
264
+ r"""DescribeCloudDedicatedZoneResourceSummary request structure.
265
+
266
+ """
267
+
268
+ def __init__(self):
269
+ r"""
270
+ :param _CdzId: Unique id of the cloud dedicated zone.
271
+ :type CdzId: str
272
+ """
273
+ self._CdzId = None
274
+
275
+ @property
276
+ def CdzId(self):
277
+ r"""Unique id of the cloud dedicated zone.
278
+ :rtype: str
279
+ """
280
+ return self._CdzId
281
+
282
+ @CdzId.setter
283
+ def CdzId(self, CdzId):
284
+ self._CdzId = CdzId
285
+
286
+
287
+ def _deserialize(self, params):
288
+ self._CdzId = params.get("CdzId")
289
+ memeber_set = set(params.keys())
290
+ for name, value in vars(self).items():
291
+ property_name = name[1:]
292
+ if property_name in memeber_set:
293
+ memeber_set.remove(property_name)
294
+ if len(memeber_set) > 0:
295
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
296
+
297
+
298
+
299
+ class DescribeCloudDedicatedZoneResourceSummaryResponse(AbstractModel):
300
+ r"""DescribeCloudDedicatedZoneResourceSummary response structure.
301
+
302
+ """
303
+
304
+ def __init__(self):
305
+ r"""
306
+ :param _ResourceSummarySet: Resource utilization.
307
+ :type ResourceSummarySet: list of CloudDedicatedZoneResourceSummaryInfo
308
+ :param _ExtraInfo: Extended information of resource utilization.
309
+ :type ExtraInfo: :class:`tencentcloud.cdz.v20221123.models.ExtraInfo`
310
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
311
+ :type RequestId: str
312
+ """
313
+ self._ResourceSummarySet = None
314
+ self._ExtraInfo = None
315
+ self._RequestId = None
316
+
317
+ @property
318
+ def ResourceSummarySet(self):
319
+ r"""Resource utilization.
320
+ :rtype: list of CloudDedicatedZoneResourceSummaryInfo
321
+ """
322
+ return self._ResourceSummarySet
323
+
324
+ @ResourceSummarySet.setter
325
+ def ResourceSummarySet(self, ResourceSummarySet):
326
+ self._ResourceSummarySet = ResourceSummarySet
327
+
328
+ @property
329
+ def ExtraInfo(self):
330
+ r"""Extended information of resource utilization.
331
+ :rtype: :class:`tencentcloud.cdz.v20221123.models.ExtraInfo`
332
+ """
333
+ return self._ExtraInfo
334
+
335
+ @ExtraInfo.setter
336
+ def ExtraInfo(self, ExtraInfo):
337
+ self._ExtraInfo = ExtraInfo
338
+
339
+ @property
340
+ def RequestId(self):
341
+ r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
342
+ :rtype: str
343
+ """
344
+ return self._RequestId
345
+
346
+ @RequestId.setter
347
+ def RequestId(self, RequestId):
348
+ self._RequestId = RequestId
349
+
350
+
351
+ def _deserialize(self, params):
352
+ if params.get("ResourceSummarySet") is not None:
353
+ self._ResourceSummarySet = []
354
+ for item in params.get("ResourceSummarySet"):
355
+ obj = CloudDedicatedZoneResourceSummaryInfo()
356
+ obj._deserialize(item)
357
+ self._ResourceSummarySet.append(obj)
358
+ if params.get("ExtraInfo") is not None:
359
+ self._ExtraInfo = ExtraInfo()
360
+ self._ExtraInfo._deserialize(params.get("ExtraInfo"))
361
+ self._RequestId = params.get("RequestId")
362
+
363
+
364
+ class ExtraInfo(AbstractModel):
365
+ r"""Extended information of CDZ resource water level data, including availability zone local time and wait for data.
366
+
367
+ """
368
+
369
+ def __init__(self):
370
+ r"""
371
+ :param _ThisMondayLocalDate: Cloud dedicated zone local time this monday date.
372
+ :type ThisMondayLocalDate: str
373
+ :param _LastMondayLocalDate: Cloud dedicated zone local time last monday date.
374
+ :type LastMondayLocalDate: str
375
+ """
376
+ self._ThisMondayLocalDate = None
377
+ self._LastMondayLocalDate = None
378
+
379
+ @property
380
+ def ThisMondayLocalDate(self):
381
+ r"""Cloud dedicated zone local time this monday date.
382
+ :rtype: str
383
+ """
384
+ return self._ThisMondayLocalDate
385
+
386
+ @ThisMondayLocalDate.setter
387
+ def ThisMondayLocalDate(self, ThisMondayLocalDate):
388
+ self._ThisMondayLocalDate = ThisMondayLocalDate
389
+
390
+ @property
391
+ def LastMondayLocalDate(self):
392
+ r"""Cloud dedicated zone local time last monday date.
393
+ :rtype: str
394
+ """
395
+ return self._LastMondayLocalDate
396
+
397
+ @LastMondayLocalDate.setter
398
+ def LastMondayLocalDate(self, LastMondayLocalDate):
399
+ self._LastMondayLocalDate = LastMondayLocalDate
400
+
401
+
402
+ def _deserialize(self, params):
403
+ self._ThisMondayLocalDate = params.get("ThisMondayLocalDate")
404
+ self._LastMondayLocalDate = params.get("LastMondayLocalDate")
405
+ memeber_set = set(params.keys())
406
+ for name, value in vars(self).items():
407
+ property_name = name[1:]
408
+ if property_name in memeber_set:
409
+ memeber_set.remove(property_name)
410
+ if len(memeber_set) > 0:
411
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
412
+