tencentcloud-sdk-python-intl-en 3.0.1279__py2.py3-none-any.whl → 3.0.1281__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apigateway/v20180808/errorcodes.py +0 -15
- tencentcloud/autoscaling/v20180419/errorcodes.py +0 -1
- tencentcloud/batch/v20170312/errorcodes.py +0 -1
- tencentcloud/cbs/v20170312/errorcodes.py +0 -2
- tencentcloud/cdb/v20170320/errorcodes.py +0 -1
- tencentcloud/cdn/v20180606/errorcodes.py +0 -2
- tencentcloud/cdz/__init__.py +0 -0
- tencentcloud/cdz/v20221123/__init__.py +0 -0
- tencentcloud/cdz/v20221123/cdz_client.py +49 -0
- tencentcloud/cdz/v20221123/errorcodes.py +18 -0
- tencentcloud/cdz/v20221123/models.py +412 -0
- tencentcloud/cfs/v20190719/errorcodes.py +0 -10
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -4
- tencentcloud/csip/v20221121/errorcodes.py +0 -4
- tencentcloud/cvm/v20170312/errorcodes.py +0 -32
- tencentcloud/cynosdb/v20190107/errorcodes.py +0 -4
- tencentcloud/dbbrain/v20191016/errorcodes.py +0 -1
- tencentcloud/dbbrain/v20210527/errorcodes.py +0 -1
- tencentcloud/dnspod/v20210323/errorcodes.py +0 -4
- tencentcloud/dts/v20180330/errorcodes.py +0 -4
- tencentcloud/dts/v20211206/errorcodes.py +0 -1
- tencentcloud/eb/v20210416/errorcodes.py +0 -1
- tencentcloud/ecm/v20190719/errorcodes.py +0 -3
- tencentcloud/eiam/v20210420/errorcodes.py +0 -33
- tencentcloud/emr/v20190103/errorcodes.py +0 -1
- tencentcloud/es/v20180416/errorcodes.py +0 -16
- tencentcloud/faceid/v20180301/errorcodes.py +0 -1
- tencentcloud/faceid/v20180301/faceid_client.py +2 -2
- tencentcloud/faceid/v20180301/models.py +2 -4
- tencentcloud/iai/v20200303/errorcodes.py +0 -5
- tencentcloud/ims/v20201229/errorcodes.py +0 -3
- tencentcloud/intlpartnersmgt/v20220928/errorcodes.py +0 -2
- tencentcloud/lcic/v20220817/errorcodes.py +0 -1
- tencentcloud/lighthouse/v20200324/errorcodes.py +0 -8
- tencentcloud/live/v20180801/errorcodes.py +0 -7
- tencentcloud/lke/v20231130/errorcodes.py +0 -1
- tencentcloud/mdl/v20200326/errorcodes.py +0 -1
- tencentcloud/mdp/v20200527/errorcodes.py +0 -1
- tencentcloud/mps/v20190612/errorcodes.py +0 -2
- tencentcloud/mps/v20190612/models.py +2176 -371
- tencentcloud/mps/v20190612/mps_client.py +30 -23
- tencentcloud/ocr/v20181119/errorcodes.py +0 -2
- tencentcloud/organization/v20181225/errorcodes.py +0 -1
- tencentcloud/organization/v20210331/errorcodes.py +0 -1
- tencentcloud/privatedns/v20201028/errorcodes.py +0 -3
- tencentcloud/quota/__init__.py +0 -0
- tencentcloud/quota/v20241204/__init__.py +0 -0
- tencentcloud/quota/v20241204/errorcodes.py +33 -0
- tencentcloud/quota/v20241204/models.py +172 -0
- tencentcloud/quota/v20241204/quota_client.py +49 -0
- tencentcloud/scf/v20180416/errorcodes.py +0 -5
- tencentcloud/sms/v20190711/errorcodes.py +0 -1
- tencentcloud/sms/v20210111/errorcodes.py +0 -2
- tencentcloud/tag/v20180813/errorcodes.py +0 -1
- tencentcloud/tat/v20201028/errorcodes.py +0 -4
- tencentcloud/tcr/v20190924/errorcodes.py +0 -1
- tencentcloud/tdmq/v20200217/errorcodes.py +0 -1
- tencentcloud/tem/v20210701/errorcodes.py +0 -4
- tencentcloud/teo/v20220106/errorcodes.py +0 -2
- tencentcloud/teo/v20220901/errorcodes.py +0 -6
- tencentcloud/teo/v20220901/teo_client.py +3 -3
- tencentcloud/tiw/v20190919/errorcodes.py +0 -2
- tencentcloud/tke/v20180525/errorcodes.py +0 -1
- tencentcloud/tms/v20201229/errorcodes.py +0 -1
- tencentcloud/tmt/v20180321/errorcodes.py +0 -7
- tencentcloud/trtc/v20190722/errorcodes.py +0 -2
- tencentcloud/tts/v20190823/errorcodes.py +0 -1
- tencentcloud/vm/v20201229/errorcodes.py +0 -1
- tencentcloud/vm/v20210922/errorcodes.py +0 -1
- tencentcloud/vod/v20180717/errorcodes.py +0 -6
- tencentcloud/vpc/v20170312/errorcodes.py +0 -37
- {tencentcloud_sdk_python_intl_en-3.0.1279.dist-info → tencentcloud_sdk_python_intl_en-3.0.1281.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1279.dist-info → tencentcloud_sdk_python_intl_en-3.0.1281.dist-info}/RECORD +76 -66
- {tencentcloud_sdk_python_intl_en-3.0.1279.dist-info → tencentcloud_sdk_python_intl_en-3.0.1281.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1279.dist-info → tencentcloud_sdk_python_intl_en-3.0.1281.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -39,11 +39,9 @@ FAILEDOPERATION_APIERROR = 'FailedOperation.ApiError'
|
|
|
39
39
|
FAILEDOPERATION_APIINOPERATION = 'FailedOperation.ApiInOperation'
|
|
40
40
|
|
|
41
41
|
# Domain name error returned
|
|
42
|
-
|
|
43
42
|
FAILEDOPERATION_BACKENDDOMAINERROR = 'FailedOperation.BackendDomainError'
|
|
44
43
|
|
|
45
44
|
# CAM error
|
|
46
|
-
|
|
47
45
|
FAILEDOPERATION_CAMEXCEPTION = 'FailedOperation.CamException'
|
|
48
46
|
|
|
49
47
|
# An error occurred while binding a certificate.
|
|
@@ -128,7 +126,6 @@ FAILEDOPERATION_GETROLEERROR = 'FailedOperation.GetRoleError'
|
|
|
128
126
|
FAILEDOPERATION_INSTANCENOTEXIST = 'FailedOperation.InstanceNotExist'
|
|
129
127
|
|
|
130
128
|
# Invalid input json
|
|
131
|
-
|
|
132
129
|
FAILEDOPERATION_INVALIDINPUTJSON = 'FailedOperation.InvalidInputJSON'
|
|
133
130
|
|
|
134
131
|
# The Apis custom path conflicts with the default path.
|
|
@@ -165,7 +162,6 @@ FAILEDOPERATION_SUBDOMAINFORMATERROR = 'FailedOperation.SubDomainFormatError'
|
|
|
165
162
|
FAILEDOPERATION_TAGBINDSERVICEERROR = 'FailedOperation.TagBindServiceError'
|
|
166
163
|
|
|
167
164
|
# Migration task duplicated
|
|
168
|
-
|
|
169
165
|
FAILEDOPERATION_TASKALREADYEXIST = 'FailedOperation.TaskAlreadyExist'
|
|
170
166
|
|
|
171
167
|
# The protocol type is incorrect.
|
|
@@ -178,7 +174,6 @@ INTERNALERROR = 'InternalError'
|
|
|
178
174
|
INTERNALERROR_APIGWEXCEPTION = 'InternalError.ApigwException'
|
|
179
175
|
|
|
180
176
|
# CAM internal request error. Please try again later. If the issue persists, contact customer service or submit a ticket.
|
|
181
|
-
|
|
182
177
|
INTERNALERROR_CAMEXCEPTION = 'InternalError.CamException'
|
|
183
178
|
|
|
184
179
|
# CAuth internal request error. Please try again later. If the problem persists, please submit a ticket.
|
|
@@ -188,14 +183,12 @@ INTERNALERROR_CAUTHEXCEPTION = 'InternalError.CauthException'
|
|
|
188
183
|
INTERNALERROR_CLBEXCEPTION = 'InternalError.ClbException'
|
|
189
184
|
|
|
190
185
|
# Database operation failed. Please try again later. If the issue persists, contact our smart customer service or submit a ticket.
|
|
191
|
-
|
|
192
186
|
INTERNALERROR_DBEXCEPTION = 'InternalError.DbException'
|
|
193
187
|
|
|
194
188
|
# OSS internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
|
|
195
189
|
INTERNALERROR_OSSEXCEPTION = 'InternalError.OssException'
|
|
196
190
|
|
|
197
191
|
# Tag callback failed.
|
|
198
|
-
|
|
199
192
|
INTERNALERROR_RETURNABLEEXCEPTION = 'InternalError.ReturnableException'
|
|
200
193
|
|
|
201
194
|
# SCF internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
|
|
@@ -349,7 +342,6 @@ INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = 'InvalidParameterValue.Param
|
|
|
349
342
|
INVALIDPARAMETERVALUE_RANGEEXCEEDED = 'InvalidParameterValue.RangeExceeded'
|
|
350
343
|
|
|
351
344
|
# Invalid parameter value
|
|
352
|
-
|
|
353
345
|
INVALIDPARAMETERVALUE_TRAFFICCONTROL = 'InvalidParameterValue.TrafficControl'
|
|
354
346
|
|
|
355
347
|
# Invalid parameter value.
|
|
@@ -473,7 +465,6 @@ UNSUPPORTEDOPERATION_ACCOUNTARREARS = 'UnsupportedOperation.AccountArrears'
|
|
|
473
465
|
UNSUPPORTEDOPERATION_ALREADYBINDUSAGEPLAN = 'UnsupportedOperation.AlreadyBindUsagePlan'
|
|
474
466
|
|
|
475
467
|
# API list is not empty.
|
|
476
|
-
|
|
477
468
|
UNSUPPORTEDOPERATION_APILISTNOTEMPTY = 'UnsupportedOperation.ApiListNotEmpty'
|
|
478
469
|
|
|
479
470
|
# The current plugin cannot be bound.
|
|
@@ -483,14 +474,12 @@ UNSUPPORTEDOPERATION_ATTACHPLUGIN = 'UnsupportedOperation.AttachPlugin'
|
|
|
483
474
|
UNSUPPORTEDOPERATION_BASICSERVICENOMOREAPI = 'UnsupportedOperation.BasicServiceNoMoreApi'
|
|
484
475
|
|
|
485
476
|
# The basic service does not allow plugin connections.
|
|
486
|
-
|
|
487
477
|
UNSUPPORTEDOPERATION_BASICSERVICENOTALLOWATTACHPLUGIN = 'UnsupportedOperation.BasicServiceNotAllowAttachPlugin'
|
|
488
478
|
|
|
489
479
|
# Invalid log query period
|
|
490
480
|
UNSUPPORTEDOPERATION_CLSSEARCHTIME = 'UnsupportedOperation.ClsSearchTime'
|
|
491
481
|
|
|
492
482
|
# A production environment exists.
|
|
493
|
-
|
|
494
483
|
UNSUPPORTEDOPERATION_EXISTINGONLINEENVIRONMENT = 'UnsupportedOperation.ExistingOnlineEnvironment'
|
|
495
484
|
|
|
496
485
|
# Cannot force HTTPS when the protocol is HTTP.
|
|
@@ -524,7 +513,6 @@ UNSUPPORTEDOPERATION_NOUSAGEPLANENV = 'UnsupportedOperation.NoUsagePlanEnv'
|
|
|
524
513
|
UNSUPPORTEDOPERATION_REDUCENETTYPES = 'UnsupportedOperation.ReduceNetTypes'
|
|
525
514
|
|
|
526
515
|
# Post request failed.
|
|
527
|
-
|
|
528
516
|
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = 'UnsupportedOperation.RequestPostError'
|
|
529
517
|
|
|
530
518
|
# The resource has been associated. Please disassociate it first.
|
|
@@ -537,18 +525,15 @@ UNSUPPORTEDOPERATION_RESOURCEISINUSE = 'UnsupportedOperation.ResourceIsInUse'
|
|
|
537
525
|
UNSUPPORTEDOPERATION_RESOURCEUNASSOCIATED = 'UnsupportedOperation.ResourceUnassociated'
|
|
538
526
|
|
|
539
527
|
# Service does not exist.
|
|
540
|
-
|
|
541
528
|
UNSUPPORTEDOPERATION_SERVICEEXIST = 'UnsupportedOperation.ServiceExist'
|
|
542
529
|
|
|
543
530
|
# Tag is not empty.
|
|
544
|
-
|
|
545
531
|
UNSUPPORTEDOPERATION_TAGSNOTEMPTY = 'UnsupportedOperation.TagsNotEmpty'
|
|
546
532
|
|
|
547
533
|
# The current `Uin` is not in the manual key allowlist.
|
|
548
534
|
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = 'UnsupportedOperation.UinNotInWhiteList'
|
|
549
535
|
|
|
550
536
|
# Unpack function error
|
|
551
|
-
|
|
552
537
|
UNSUPPORTEDOPERATION_UNPACKERROR = 'UnsupportedOperation.UnpackError'
|
|
553
538
|
|
|
554
539
|
# The key has already been bound to a usage plan.
|
|
@@ -402,7 +402,6 @@ RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = 'ResourceNotFound.AutoScaling
|
|
|
402
402
|
RESOURCENOTFOUND_BANDWIDTHPACKAGEIDNOTFOUND = 'ResourceNotFound.BandwidthPackageIdNotFound'
|
|
403
403
|
|
|
404
404
|
# The specified classic load balancer ID does not exist.
|
|
405
|
-
|
|
406
405
|
RESOURCENOTFOUND_CLASSICLOADBALANCERNOTFOUND = 'ResourceNotFound.ClassicLoadBalancerNotFound'
|
|
407
406
|
|
|
408
407
|
# The specified CMQ queue does not exist.
|
|
@@ -180,7 +180,6 @@ RESOURCEUNAVAILABLE_TOOMANYCREATINGSNAPSHOT = 'ResourceUnavailable.TooManyCreati
|
|
|
180
180
|
RESOURCEUNAVAILABLE_TYPEERROR = 'ResourceUnavailable.TypeError'
|
|
181
181
|
|
|
182
182
|
# The cloud disk and the instance are not in the same availability zone.
|
|
183
|
-
|
|
184
183
|
RESOURCEUNAVAILABLE_ZONENOTMATCH = 'ResourceUnavailable.ZoneNotMatch'
|
|
185
184
|
|
|
186
185
|
# Order conflict.
|
|
@@ -205,7 +204,6 @@ UNAUTHORIZEDOPERATION_ROLENOTEXISTS = 'UnauthorizedOperation.RoleNotExists'
|
|
|
205
204
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
206
205
|
|
|
207
206
|
# Detaching cloud disks from EKS is not currently supported.
|
|
208
|
-
|
|
209
207
|
UNSUPPORTEDOPERATION_DETACHPOD = 'UnsupportedOperation.DetachPod'
|
|
210
208
|
|
|
211
209
|
# The disk is encrypted.
|
|
@@ -78,7 +78,6 @@ FAILEDOPERATION_INSTANCETASKCONFLICTERROR = 'FailedOperation.InstanceTaskConflic
|
|
|
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
|
-
|
|
82
81
|
FAILEDOPERATION_LOGCONTENTOVERLIMIT = 'FailedOperation.LogContentOverLimit'
|
|
83
82
|
|
|
84
83
|
# No policy modification detected
|
|
@@ -288,11 +288,9 @@ LIMITEXCEEDED_CDNCONFIGTOOMANYCACHERULES = 'LimitExceeded.CdnConfigTooManyCacheR
|
|
|
288
288
|
LIMITEXCEEDED_CDNHOSTOPTOOOFTEN = 'LimitExceeded.CdnHostOpTooOften'
|
|
289
289
|
|
|
290
290
|
# The number of refreshed URLs exceeds the per-batch submission limit.
|
|
291
|
-
|
|
292
291
|
LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = 'LimitExceeded.CdnPurgeExceedBatchLimit'
|
|
293
292
|
|
|
294
293
|
# The number of refreshed URLs exceeds the daily quota.
|
|
295
|
-
|
|
296
294
|
LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = 'LimitExceeded.CdnPurgeExceedDayLimit'
|
|
297
295
|
|
|
298
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
|
+
|