tencentcloud-sdk-python-intl-en 3.0.1278__py2.py3-none-any.whl → 3.0.1279__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 (67) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/errorcodes.py +30 -15
  3. tencentcloud/autoscaling/v20180419/errorcodes.py +2 -1
  4. tencentcloud/batch/v20170312/errorcodes.py +2 -1
  5. tencentcloud/cbs/v20170312/errorcodes.py +4 -2
  6. tencentcloud/cdb/v20170320/errorcodes.py +2 -1
  7. tencentcloud/cdn/v20180606/errorcodes.py +4 -2
  8. tencentcloud/cfs/v20190719/errorcodes.py +20 -10
  9. tencentcloud/cloudaudit/v20190319/errorcodes.py +8 -4
  10. tencentcloud/csip/v20221121/errorcodes.py +8 -4
  11. tencentcloud/cvm/v20170312/cvm_client.py +52 -0
  12. tencentcloud/cvm/v20170312/errorcodes.py +73 -32
  13. tencentcloud/cvm/v20170312/models.py +253 -0
  14. tencentcloud/cynosdb/v20190107/errorcodes.py +8 -4
  15. tencentcloud/dbbrain/v20191016/errorcodes.py +2 -1
  16. tencentcloud/dbbrain/v20210527/errorcodes.py +2 -1
  17. tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
  18. tencentcloud/dnspod/v20210323/errorcodes.py +11 -4
  19. tencentcloud/dnspod/v20210323/models.py +287 -0
  20. tencentcloud/dts/v20180330/errorcodes.py +8 -4
  21. tencentcloud/dts/v20211206/errorcodes.py +2 -1
  22. tencentcloud/eb/v20210416/errorcodes.py +2 -1
  23. tencentcloud/ecm/v20190719/errorcodes.py +6 -3
  24. tencentcloud/eiam/v20210420/errorcodes.py +66 -33
  25. tencentcloud/emr/v20190103/errorcodes.py +2 -1
  26. tencentcloud/es/v20180416/errorcodes.py +32 -16
  27. tencentcloud/faceid/v20180301/errorcodes.py +2 -1
  28. tencentcloud/iai/v20200303/errorcodes.py +10 -5
  29. tencentcloud/ims/v20201229/errorcodes.py +6 -3
  30. tencentcloud/intlpartnersmgt/v20220928/errorcodes.py +4 -2
  31. tencentcloud/lcic/v20220817/errorcodes.py +2 -1
  32. tencentcloud/lighthouse/v20200324/errorcodes.py +16 -8
  33. tencentcloud/live/v20180801/errorcodes.py +14 -7
  34. tencentcloud/lke/v20231130/errorcodes.py +2 -1
  35. tencentcloud/mdl/v20200326/errorcodes.py +2 -1
  36. tencentcloud/mdp/v20200527/errorcodes.py +2 -1
  37. tencentcloud/mps/v20190612/errorcodes.py +4 -2
  38. tencentcloud/ocr/v20181119/errorcodes.py +4 -2
  39. tencentcloud/organization/v20181225/errorcodes.py +2 -1
  40. tencentcloud/organization/v20210331/errorcodes.py +1 -0
  41. tencentcloud/privatedns/v20201028/errorcodes.py +6 -3
  42. tencentcloud/scf/v20180416/errorcodes.py +10 -5
  43. tencentcloud/sms/v20190711/errorcodes.py +2 -1
  44. tencentcloud/sms/v20210111/errorcodes.py +4 -2
  45. tencentcloud/tag/v20180813/errorcodes.py +2 -1
  46. tencentcloud/tat/v20201028/errorcodes.py +8 -4
  47. tencentcloud/tcr/v20190924/errorcodes.py +2 -1
  48. tencentcloud/tdmq/v20200217/errorcodes.py +2 -1
  49. tencentcloud/tem/v20210701/errorcodes.py +8 -4
  50. tencentcloud/teo/v20220106/errorcodes.py +4 -2
  51. tencentcloud/teo/v20220901/errorcodes.py +12 -6
  52. tencentcloud/teo/v20220901/models.py +14 -14
  53. tencentcloud/teo/v20220901/teo_client.py +1 -1
  54. tencentcloud/tiw/v20190919/errorcodes.py +4 -2
  55. tencentcloud/tke/v20180525/errorcodes.py +2 -1
  56. tencentcloud/tms/v20201229/errorcodes.py +2 -1
  57. tencentcloud/tmt/v20180321/errorcodes.py +14 -7
  58. tencentcloud/trtc/v20190722/errorcodes.py +4 -2
  59. tencentcloud/tts/v20190823/errorcodes.py +2 -1
  60. tencentcloud/vm/v20201229/errorcodes.py +2 -1
  61. tencentcloud/vm/v20210922/errorcodes.py +2 -1
  62. tencentcloud/vod/v20180717/errorcodes.py +12 -6
  63. tencentcloud/vpc/v20170312/errorcodes.py +76 -38
  64. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1279.dist-info}/METADATA +1 -1
  65. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1279.dist-info}/RECORD +67 -67
  66. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1279.dist-info}/WHEEL +0 -0
  67. {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1279.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.1279'
@@ -38,10 +38,12 @@ 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
43
  FAILEDOPERATION_BACKENDDOMAINERROR = 'FailedOperation.BackendDomainError'
43
44
 
44
- #
45
+ # CAM error
46
+
45
47
  FAILEDOPERATION_CAMEXCEPTION = 'FailedOperation.CamException'
46
48
 
47
49
  # An error occurred while binding a certificate.
@@ -125,7 +127,8 @@ FAILEDOPERATION_GETROLEERROR = 'FailedOperation.GetRoleError'
125
127
  # The instance does not exist or is invalid.
126
128
  FAILEDOPERATION_INSTANCENOTEXIST = 'FailedOperation.InstanceNotExist'
127
129
 
128
- #
130
+ # Invalid input json
131
+
129
132
  FAILEDOPERATION_INVALIDINPUTJSON = 'FailedOperation.InvalidInputJSON'
130
133
 
131
134
  # The Apis custom path conflicts with the default path.
@@ -161,7 +164,8 @@ FAILEDOPERATION_SUBDOMAINFORMATERROR = 'FailedOperation.SubDomainFormatError'
161
164
  # The tag was not bound to the specified service.
162
165
  FAILEDOPERATION_TAGBINDSERVICEERROR = 'FailedOperation.TagBindServiceError'
163
166
 
164
- #
167
+ # Migration task duplicated
168
+
165
169
  FAILEDOPERATION_TASKALREADYEXIST = 'FailedOperation.TaskAlreadyExist'
166
170
 
167
171
  # The protocol type is incorrect.
@@ -173,7 +177,8 @@ INTERNALERROR = 'InternalError'
173
177
  # API Gateway internal request error. Please try again later. If the problem persists, please contact the smart customer service or submit a ticket.
174
178
  INTERNALERROR_APIGWEXCEPTION = 'InternalError.ApigwException'
175
179
 
176
- #
180
+ # CAM internal request error. Please try again later. If the issue persists, contact customer service or submit a ticket.
181
+
177
182
  INTERNALERROR_CAMEXCEPTION = 'InternalError.CamException'
178
183
 
179
184
  # CAuth internal request error. Please try again later. If the problem persists, please submit a ticket.
@@ -182,13 +187,15 @@ INTERNALERROR_CAUTHEXCEPTION = 'InternalError.CauthException'
182
187
  # CLB internal request error. Please try again. If the problem persists, please submit a ticket.
183
188
  INTERNALERROR_CLBEXCEPTION = 'InternalError.ClbException'
184
189
 
185
- #
190
+ # Database operation failed. Please try again later. If the issue persists, contact our smart customer service or submit a ticket.
191
+
186
192
  INTERNALERROR_DBEXCEPTION = 'InternalError.DbException'
187
193
 
188
194
  # OSS internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
189
195
  INTERNALERROR_OSSEXCEPTION = 'InternalError.OssException'
190
196
 
191
- #
197
+ # Tag callback failed.
198
+
192
199
  INTERNALERROR_RETURNABLEEXCEPTION = 'InternalError.ReturnableException'
193
200
 
194
201
  # SCF internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
@@ -341,7 +348,8 @@ INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = 'InvalidParameterValue.Param
341
348
  # The parameter value is incorrect, as it is not within the valid value range.
342
349
  INVALIDPARAMETERVALUE_RANGEEXCEEDED = 'InvalidParameterValue.RangeExceeded'
343
350
 
344
- #
351
+ # Invalid parameter value
352
+
345
353
  INVALIDPARAMETERVALUE_TRAFFICCONTROL = 'InvalidParameterValue.TrafficControl'
346
354
 
347
355
  # Invalid parameter value.
@@ -464,7 +472,8 @@ UNSUPPORTEDOPERATION_ACCOUNTARREARS = 'UnsupportedOperation.AccountArrears'
464
472
  # The key has already been bound to a usage plan.
465
473
  UNSUPPORTEDOPERATION_ALREADYBINDUSAGEPLAN = 'UnsupportedOperation.AlreadyBindUsagePlan'
466
474
 
467
- #
475
+ # API list is not empty.
476
+
468
477
  UNSUPPORTEDOPERATION_APILISTNOTEMPTY = 'UnsupportedOperation.ApiListNotEmpty'
469
478
 
470
479
  # The current plugin cannot be bound.
@@ -473,13 +482,15 @@ UNSUPPORTEDOPERATION_ATTACHPLUGIN = 'UnsupportedOperation.AttachPlugin'
473
482
  # You are using the basic edition and only one API can be created.
474
483
  UNSUPPORTEDOPERATION_BASICSERVICENOMOREAPI = 'UnsupportedOperation.BasicServiceNoMoreApi'
475
484
 
476
- #
485
+ # The basic service does not allow plugin connections.
486
+
477
487
  UNSUPPORTEDOPERATION_BASICSERVICENOTALLOWATTACHPLUGIN = 'UnsupportedOperation.BasicServiceNotAllowAttachPlugin'
478
488
 
479
489
  # Invalid log query period
480
490
  UNSUPPORTEDOPERATION_CLSSEARCHTIME = 'UnsupportedOperation.ClsSearchTime'
481
491
 
482
- #
492
+ # A production environment exists.
493
+
483
494
  UNSUPPORTEDOPERATION_EXISTINGONLINEENVIRONMENT = 'UnsupportedOperation.ExistingOnlineEnvironment'
484
495
 
485
496
  # Cannot force HTTPS when the protocol is HTTP.
@@ -512,7 +523,8 @@ UNSUPPORTEDOPERATION_NOUSAGEPLANENV = 'UnsupportedOperation.NoUsagePlanEnv'
512
523
  # Network types cannot be reduced.
513
524
  UNSUPPORTEDOPERATION_REDUCENETTYPES = 'UnsupportedOperation.ReduceNetTypes'
514
525
 
515
- #
526
+ # Post request failed.
527
+
516
528
  UNSUPPORTEDOPERATION_REQUESTPOSTERROR = 'UnsupportedOperation.RequestPostError'
517
529
 
518
530
  # The resource has been associated. Please disassociate it first.
@@ -524,16 +536,19 @@ UNSUPPORTEDOPERATION_RESOURCEISINUSE = 'UnsupportedOperation.ResourceIsInUse'
524
536
  # The resource is not associated.
525
537
  UNSUPPORTEDOPERATION_RESOURCEUNASSOCIATED = 'UnsupportedOperation.ResourceUnassociated'
526
538
 
527
- #
539
+ # Service does not exist.
540
+
528
541
  UNSUPPORTEDOPERATION_SERVICEEXIST = 'UnsupportedOperation.ServiceExist'
529
542
 
530
- #
543
+ # Tag is not empty.
544
+
531
545
  UNSUPPORTEDOPERATION_TAGSNOTEMPTY = 'UnsupportedOperation.TagsNotEmpty'
532
546
 
533
547
  # The current `Uin` is not in the manual key allowlist.
534
548
  UNSUPPORTEDOPERATION_UINNOTINWHITELIST = 'UnsupportedOperation.UinNotInWhiteList'
535
549
 
536
- #
550
+ # Unpack function error
551
+
537
552
  UNSUPPORTEDOPERATION_UNPACKERROR = 'UnsupportedOperation.UnpackError'
538
553
 
539
554
  # The key has already been bound to a usage plan.
@@ -401,7 +401,8 @@ 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
406
  RESOURCENOTFOUND_CLASSICLOADBALANCERNOTFOUND = 'ResourceNotFound.ClassicLoadBalancerNotFound'
406
407
 
407
408
  # The specified CMQ queue does not exist.
@@ -20,7 +20,8 @@ ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = 'AllowedOneAttributeInEnvIdAndComputeE
20
20
  # Internal error.
21
21
  INTERNALERROR = 'InternalError'
22
22
 
23
- #
23
+ # The CAM API call returned an error.
24
+
24
25
  INTERNALERROR_CALLCAM = 'InternalError.CallCam'
25
26
 
26
27
  # The CPM API call returns an error.
@@ -179,7 +179,8 @@ 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
184
  RESOURCEUNAVAILABLE_ZONENOTMATCH = 'ResourceUnavailable.ZoneNotMatch'
184
185
 
185
186
  # Order conflict.
@@ -203,7 +204,8 @@ UNAUTHORIZEDOPERATION_ROLENOTEXISTS = 'UnauthorizedOperation.RoleNotExists'
203
204
  # Unsupported operation
204
205
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
205
206
 
206
- #
207
+ # Detaching cloud disks from EKS is not currently supported.
208
+
207
209
  UNSUPPORTEDOPERATION_DETACHPOD = 'UnsupportedOperation.DetachPod'
208
210
 
209
211
  # The disk is encrypted.
@@ -77,7 +77,8 @@ 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
82
  FAILEDOPERATION_LOGCONTENTOVERLIMIT = 'FailedOperation.LogContentOverLimit'
82
83
 
83
84
  # No policy modification detected
@@ -287,10 +287,12 @@ 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
292
  LIMITEXCEEDED_CDNPURGEEXCEEDBATCHLIMIT = 'LimitExceeded.CdnPurgeExceedBatchLimit'
292
293
 
293
- #
294
+ # The number of refreshed URLs exceeds the daily quota.
295
+
294
296
  LIMITEXCEEDED_CDNPURGEEXCEEDDAYLIMIT = 'LimitExceeded.CdnPurgeExceedDayLimit'
295
297
 
296
298
  # The number of directories to be purged exceeds the limit.
@@ -92,7 +92,8 @@ INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = 'InvalidParameter.SnapshotPol
92
92
  # The parameter value is incorrect.
93
93
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
94
94
 
95
- #
95
+ # Auto-scaling policy does not exist.
96
+
96
97
  INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = 'InvalidParameterValue.AutoPolicyNotFound'
97
98
 
98
99
  # The length of the string used to ensure the idempotency of the request exceeds the upper limit of 64 bytes.
@@ -113,7 +114,8 @@ INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = 'InvalidParameterValue.FsNameLimitEx
113
114
  # The file system quota exceeds the upper limit.
114
115
  INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = 'InvalidParameterValue.FsSizeLimitExceeded'
115
116
 
116
- #
117
+ # Invalid AliveDays value error
118
+
117
119
  INVALIDPARAMETERVALUE_INVALIDALIVEDAYS = 'InvalidParameterValue.InvalidAliveDays'
118
120
 
119
121
  # Incorrect rule IP.
@@ -125,7 +127,8 @@ INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = 'InvalidParameterValue.InvalidA
125
127
  # The string used to ensure the idempotency of the request is incorrect.
126
128
  INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = 'InvalidParameterValue.InvalidClientToken'
127
129
 
128
- #
130
+ # The cross-region replication parameter for snapshots is not supported in this region.
131
+
129
132
  INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = 'InvalidParameterValue.InvalidDestinationRegions'
130
133
 
131
134
  # Invalid encryption parameter.
@@ -152,7 +155,8 @@ INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = 'InvalidParameterValue.InvalidNetInt
152
155
  # Invalid value of `DayOfMonth`.
153
156
  INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFMONTH = 'InvalidParameterValue.InvalidParamDayOfMonth'
154
157
 
155
- #
158
+ # Invalid parameter: DayOfWeek
159
+
156
160
  INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFWEEK = 'InvalidParameterValue.InvalidParamDayOfWeek'
157
161
 
158
162
  # Invalid value of `IntervalDays`.
@@ -185,13 +189,16 @@ INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = 'InvalidParameterValue.InvalidRwPerm
185
189
  # Invalid target capacity.
186
190
  INVALIDPARAMETERVALUE_INVALIDSCALEUPTARGETCAPACITY = 'InvalidParameterValue.InvalidScaleupTargetCapacity'
187
191
 
188
- #
192
+ # Invalid snapshot policy status
193
+
189
194
  INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = 'InvalidParameterValue.InvalidSnapPolicyStatus'
190
195
 
191
- #
196
+ # Invalid snapshot name
197
+
192
198
  INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = 'InvalidParameterValue.InvalidSnapshotName'
193
199
 
194
- #
200
+ # Invalid snapshot policy name
201
+
195
202
  INVALIDPARAMETERVALUE_INVALIDSNAPSHOTPOLICYNAME = 'InvalidParameterValue.InvalidSnapshotPolicyName'
196
203
 
197
204
  # The snapshot is invalid.
@@ -254,7 +261,8 @@ INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = 'InvalidParameterValue.MissingPgroupNa
254
261
  # Snapshot policy parameters missing.
255
262
  INVALIDPARAMETERVALUE_MISSINGPOLICYPARAM = 'InvalidParameterValue.MissingPolicyParam'
256
263
 
257
- #
264
+ # Missing parameter(s): Snapshot Name or aliveDays
265
+
258
266
  INVALIDPARAMETERVALUE_MISSINGSNAPNAMEORALIVEDAY = 'InvalidParameterValue.MissingSnapNameOrAliveDay'
259
267
 
260
268
  # No storage pack is bound to.
@@ -284,10 +292,12 @@ INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = 'InvalidParameterValue.PgroupNam
284
292
  # The permission group rule and permission group do not match.
285
293
  INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = 'InvalidParameterValue.RuleNotMatchPgroup'
286
294
 
287
- #
295
+ # Snapshot name exceeds the limit. The name length must not exceed 64 characters.
296
+
288
297
  INVALIDPARAMETERVALUE_SNAPSHOTNAMELIMITEXCEEDED = 'InvalidParameterValue.SnapshotNameLimitExceeded'
289
298
 
290
- #
299
+ # Snapshot policy name exceeds the 64-character limit.
300
+
291
301
  INVALIDPARAMETERVALUE_SNAPSHOTPOLICYNAMELIMITEXCEEDED = 'InvalidParameterValue.SnapshotPolicyNameLimitExceeded'
292
302
 
293
303
  # Invalid parameter value: the number of tag keys exceeds the upper limit (6).
@@ -32,10 +32,12 @@ FAILEDOPERATION_GETCLSTOPICFAILED = 'FailedOperation.GetClsTopicFailed'
32
32
  # Failed to pull the COS bucket list
33
33
  FAILEDOPERATION_GETCOSBUCKETLISTFAILED = 'FailedOperation.GetCosBucketListFailed'
34
34
 
35
- #
35
+ # The user currently being queried has not enabled operation audit permissions. If you need to query this user's audit records, please contact them to enable it.
36
+
36
37
  FAILEDOPERATION_MEMBERNOTAUDITROLE = 'FailedOperation.MemberNotAuditRole'
37
38
 
38
- #
39
+ # The member is not in the group organization.
40
+
39
41
  FAILEDOPERATION_MEMBERNOTINORGANIZATION = 'FailedOperation.MemberNotInOrganization'
40
42
 
41
43
  # Internal error.
@@ -164,11 +166,13 @@ RESOURCENOTFOUND = 'ResourceNotFound'
164
166
  # The tracking set does not exist.
165
167
  RESOURCENOTFOUND_AUDITNOTEXIST = 'ResourceNotFound.AuditNotExist'
166
168
 
167
- #
169
+ # The cos bucket does not exist.
170
+
168
171
  RESOURCENOTFOUND_COSNOTEXIST = 'ResourceNotFound.CosNotExist'
169
172
 
170
173
  # The role doesn’t exist.
171
174
  RESOURCENOTFOUND_ROLENOTEXIST = 'ResourceNotFound.RoleNotExist'
172
175
 
173
- #
176
+ # Unauthorized operation.
177
+
174
178
  UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
@@ -26,7 +26,8 @@ FAILEDOPERATION = 'FailedOperation'
26
26
  # An internal error occurs.
27
27
  INTERNALERROR = 'InternalError'
28
28
 
29
- #
29
+ # Invalid filter
30
+
30
31
  INVALIDFILTER = 'InvalidFilter'
31
32
 
32
33
  # The parameter is incorrect.
@@ -47,7 +48,8 @@ MISSINGPARAMETER = 'MissingParameter'
47
48
  # Operation denied.
48
49
  OPERATIONDENIED = 'OperationDenied'
49
50
 
50
- #
51
+ # Region error
52
+
51
53
  REGIONERROR = 'RegionError'
52
54
 
53
55
  # Too many requests.
@@ -71,10 +73,12 @@ RESOURCESSOLDOUT = 'ResourcesSoldOut'
71
73
  # The operation is unauthorized.
72
74
  UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
73
75
 
74
- #
76
+ # Unauthorized operation for "Operation Audit" product.
77
+
75
78
  UNAUTHORIZEDOPERATION_CLOUDAUDIT = 'UnauthorizedOperation.CloudAudit'
76
79
 
77
- #
80
+ # Unauthorized operation for the "Object Storage" product.
81
+
78
82
  UNAUTHORIZEDOPERATION_COS = 'UnauthorizedOperation.Cos'
79
83
 
80
84
  # The parameter is unknown.
@@ -1200,6 +1200,32 @@ class CvmClient(AbstractClient):
1200
1200
  raise TencentCloudSDKException(type(e).__name__, str(e))
1201
1201
 
1202
1202
 
1203
+ def InquiryPriceModifyInstancesChargeType(self, request):
1204
+ r"""This API is used to inquire about the price for switching billing modes of instance.
1205
+
1206
+
1207
+ This API is used to indicate that instances with no charge when shut down, instances of the model families Batch Computing BC1 and Batch Computing BS1, instances of scheduled termination, and spot instances do not support this operation.
1208
+
1209
+ :param request: Request instance for InquiryPriceModifyInstancesChargeType.
1210
+ :type request: :class:`tencentcloud.cvm.v20170312.models.InquiryPriceModifyInstancesChargeTypeRequest`
1211
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.InquiryPriceModifyInstancesChargeTypeResponse`
1212
+
1213
+ """
1214
+ try:
1215
+ params = request._serialize()
1216
+ headers = request.headers
1217
+ body = self.call("InquiryPriceModifyInstancesChargeType", params, headers=headers)
1218
+ response = json.loads(body)
1219
+ model = models.InquiryPriceModifyInstancesChargeTypeResponse()
1220
+ model._deserialize(response["Response"])
1221
+ return model
1222
+ except Exception as e:
1223
+ if isinstance(e, TencentCloudSDKException):
1224
+ raise
1225
+ else:
1226
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1227
+
1228
+
1203
1229
  def InquiryPriceRenewInstances(self, request):
1204
1230
  r"""This API is used to inquire about the price for renewing a monthly subscription instance.
1205
1231
 
@@ -1504,6 +1530,32 @@ class CvmClient(AbstractClient):
1504
1530
  raise TencentCloudSDKException(type(e).__name__, str(e))
1505
1531
 
1506
1532
 
1533
+ def ModifyInstancesChargeType(self, request):
1534
+ r"""This API is used to switch the billing mode of an instance.
1535
+
1536
+ This API is used to perform operations that do not support instances with no charge when shut down, instances of the model families Batch Compute BC1 and Batch Compute BS1, or instances of scheduled termination.
1537
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
1538
+
1539
+ :param request: Request instance for ModifyInstancesChargeType.
1540
+ :type request: :class:`tencentcloud.cvm.v20170312.models.ModifyInstancesChargeTypeRequest`
1541
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.ModifyInstancesChargeTypeResponse`
1542
+
1543
+ """
1544
+ try:
1545
+ params = request._serialize()
1546
+ headers = request.headers
1547
+ body = self.call("ModifyInstancesChargeType", params, headers=headers)
1548
+ response = json.loads(body)
1549
+ model = models.ModifyInstancesChargeTypeResponse()
1550
+ model._deserialize(response["Response"])
1551
+ return model
1552
+ except Exception as e:
1553
+ if isinstance(e, TencentCloudSDKException):
1554
+ raise
1555
+ else:
1556
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1557
+
1558
+
1507
1559
  def ModifyInstancesDisasterRecoverGroup(self, request):
1508
1560
  r"""This API is used to adjust the placement group of an instance.
1509
1561
  * Currently only basic networks or Virtual Private Cloud (VPC) instances are supported.