tencentcloud-sdk-python 3.0.1377__py2.py3-none-any.whl → 3.0.1379__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.
Files changed (51) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +34 -4
  3. tencentcloud/autoscaling/v20180419/models.py +45 -16
  4. tencentcloud/batch/v20170312/batch_client.py +3 -3
  5. tencentcloud/batch/v20170312/models.py +230 -168
  6. tencentcloud/billing/v20180709/billing_client.py +322 -0
  7. tencentcloud/billing/v20180709/errorcodes.py +9 -0
  8. tencentcloud/billing/v20180709/models.py +4894 -2542
  9. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  10. tencentcloud/cbs/v20170312/models.py +18 -18
  11. tencentcloud/clb/v20180317/clb_client.py +7 -7
  12. tencentcloud/clb/v20180317/models.py +51 -41
  13. tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
  14. tencentcloud/dbbrain/v20210527/models.py +368 -0
  15. tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  16. tencentcloud/dnspod/v20210323/models.py +503 -0
  17. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  18. tencentcloud/domain/v20180808/models.py +68 -44
  19. tencentcloud/hunyuan/v20230901/models.py +260 -0
  20. tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
  21. tencentcloud/lighthouse/v20200324/models.py +2 -2
  22. tencentcloud/lke/v20231130/models.py +192 -2
  23. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  24. tencentcloud/mps/v20190612/models.py +211 -2
  25. tencentcloud/postgres/v20170312/models.py +12 -4
  26. tencentcloud/tag/v20180813/models.py +8 -8
  27. tencentcloud/tcb/v20180608/models.py +34 -4
  28. tencentcloud/tdmq/v20200217/errorcodes.py +27 -0
  29. tencentcloud/teo/v20220901/models.py +0 -20
  30. tencentcloud/thpc/v20211109/models.py +2 -2
  31. tencentcloud/thpc/v20220401/models.py +4 -4
  32. tencentcloud/thpc/v20230321/errorcodes.py +9 -0
  33. tencentcloud/thpc/v20230321/models.py +85 -8
  34. tencentcloud/thpc/v20230321/thpc_client.py +23 -0
  35. tencentcloud/tione/v20211111/models.py +274 -0
  36. tencentcloud/tke/v20180525/models.py +10 -0
  37. tencentcloud/tmt/v20180321/errorcodes.py +3 -0
  38. tencentcloud/tmt/v20180321/models.py +296 -1
  39. tencentcloud/tmt/v20180321/tmt_client.py +28 -0
  40. tencentcloud/trtc/v20190722/models.py +15 -0
  41. tencentcloud/vod/v20180717/models.py +2 -2
  42. tencentcloud/vpc/v20170312/models.py +24 -18
  43. tencentcloud/waf/v20180125/models.py +15 -0
  44. tencentcloud/wedata/v20210820/errorcodes.py +9 -0
  45. tencentcloud/wedata/v20210820/models.py +1078 -0
  46. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  47. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/METADATA +1 -1
  48. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/RECORD +51 -51
  49. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/LICENSE +0 -0
  50. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/WHEEL +0 -0
  51. {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,29 @@ class BillingClient(AbstractClient):
26
26
  _service = 'billing'
27
27
 
28
28
 
29
+ def CreateAllocationRule(self, request):
30
+ """创建公摊规则
31
+
32
+ :param request: Request instance for CreateAllocationRule.
33
+ :type request: :class:`tencentcloud.billing.v20180709.models.CreateAllocationRuleRequest`
34
+ :rtype: :class:`tencentcloud.billing.v20180709.models.CreateAllocationRuleResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("CreateAllocationRule", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.CreateAllocationRuleResponse()
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))
50
+
51
+
29
52
  def CreateAllocationTag(self, request):
30
53
  """批量设置分账标签
31
54
 
@@ -49,6 +72,75 @@ class BillingClient(AbstractClient):
49
72
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
73
 
51
74
 
75
+ def CreateAllocationUnit(self, request):
76
+ """创建分账单元
77
+
78
+ :param request: Request instance for CreateAllocationUnit.
79
+ :type request: :class:`tencentcloud.billing.v20180709.models.CreateAllocationUnitRequest`
80
+ :rtype: :class:`tencentcloud.billing.v20180709.models.CreateAllocationUnitResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("CreateAllocationUnit", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.CreateAllocationUnitResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
98
+ def CreateGatherRule(self, request):
99
+ """创建归集规则
100
+
101
+ :param request: Request instance for CreateGatherRule.
102
+ :type request: :class:`tencentcloud.billing.v20180709.models.CreateGatherRuleRequest`
103
+ :rtype: :class:`tencentcloud.billing.v20180709.models.CreateGatherRuleResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("CreateGatherRule", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.CreateGatherRuleResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
121
+ def DeleteAllocationRule(self, request):
122
+ """公摊规则删除接口
123
+
124
+ :param request: Request instance for DeleteAllocationRule.
125
+ :type request: :class:`tencentcloud.billing.v20180709.models.DeleteAllocationRuleRequest`
126
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DeleteAllocationRuleResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("DeleteAllocationRule", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.DeleteAllocationRuleResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
52
144
  def DeleteAllocationTag(self, request):
53
145
  """批量取消设置分账标签
54
146
 
@@ -72,6 +164,52 @@ class BillingClient(AbstractClient):
72
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
165
 
74
166
 
167
+ def DeleteAllocationUnit(self, request):
168
+ """删除分账单元
169
+
170
+ :param request: Request instance for DeleteAllocationUnit.
171
+ :type request: :class:`tencentcloud.billing.v20180709.models.DeleteAllocationUnitRequest`
172
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DeleteAllocationUnitResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("DeleteAllocationUnit", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.DeleteAllocationUnitResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
190
+ def DeleteGatherRule(self, request):
191
+ """删除归集规则
192
+
193
+ :param request: Request instance for DeleteGatherRule.
194
+ :type request: :class:`tencentcloud.billing.v20180709.models.DeleteGatherRuleRequest`
195
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DeleteGatherRuleResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("DeleteGatherRule", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.DeleteGatherRuleResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
75
213
  def DescribeAccountBalance(self, request):
76
214
  """获取云账户余额信息。
77
215
 
@@ -210,6 +348,52 @@ class BillingClient(AbstractClient):
210
348
  raise TencentCloudSDKException(type(e).__name__, str(e))
211
349
 
212
350
 
351
+ def DescribeAllocationRuleDetail(self, request):
352
+ """查询公摊规则详情
353
+
354
+ :param request: Request instance for DescribeAllocationRuleDetail.
355
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationRuleDetailRequest`
356
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationRuleDetailResponse`
357
+
358
+ """
359
+ try:
360
+ params = request._serialize()
361
+ headers = request.headers
362
+ body = self.call("DescribeAllocationRuleDetail", params, headers=headers)
363
+ response = json.loads(body)
364
+ model = models.DescribeAllocationRuleDetailResponse()
365
+ model._deserialize(response["Response"])
366
+ return model
367
+ except Exception as e:
368
+ if isinstance(e, TencentCloudSDKException):
369
+ raise
370
+ else:
371
+ raise TencentCloudSDKException(type(e).__name__, str(e))
372
+
373
+
374
+ def DescribeAllocationRuleSummary(self, request):
375
+ """查询所有公摊规则概览
376
+
377
+ :param request: Request instance for DescribeAllocationRuleSummary.
378
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationRuleSummaryRequest`
379
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationRuleSummaryResponse`
380
+
381
+ """
382
+ try:
383
+ params = request._serialize()
384
+ headers = request.headers
385
+ body = self.call("DescribeAllocationRuleSummary", params, headers=headers)
386
+ response = json.loads(body)
387
+ model = models.DescribeAllocationRuleSummaryResponse()
388
+ model._deserialize(response["Response"])
389
+ return model
390
+ except Exception as e:
391
+ if isinstance(e, TencentCloudSDKException):
392
+ raise
393
+ else:
394
+ raise TencentCloudSDKException(type(e).__name__, str(e))
395
+
396
+
213
397
  def DescribeAllocationSummaryByBusiness(self, request):
214
398
  """查询分账账单按产品汇总
215
399
 
@@ -279,6 +463,29 @@ class BillingClient(AbstractClient):
279
463
  raise TencentCloudSDKException(type(e).__name__, str(e))
280
464
 
281
465
 
466
+ def DescribeAllocationTree(self, request):
467
+ """查询分账目录树
468
+
469
+ :param request: Request instance for DescribeAllocationTree.
470
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationTreeRequest`
471
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationTreeResponse`
472
+
473
+ """
474
+ try:
475
+ params = request._serialize()
476
+ headers = request.headers
477
+ body = self.call("DescribeAllocationTree", params, headers=headers)
478
+ response = json.loads(body)
479
+ model = models.DescribeAllocationTreeResponse()
480
+ model._deserialize(response["Response"])
481
+ return model
482
+ except Exception as e:
483
+ if isinstance(e, TencentCloudSDKException):
484
+ raise
485
+ else:
486
+ raise TencentCloudSDKException(type(e).__name__, str(e))
487
+
488
+
282
489
  def DescribeAllocationTrendByMonth(self, request):
283
490
  """查询分账账单费用趋势
284
491
 
@@ -302,6 +509,29 @@ class BillingClient(AbstractClient):
302
509
  raise TencentCloudSDKException(type(e).__name__, str(e))
303
510
 
304
511
 
512
+ def DescribeAllocationUnitDetail(self, request):
513
+ """查询分账单元详情
514
+
515
+ :param request: Request instance for DescribeAllocationUnitDetail.
516
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationUnitDetailRequest`
517
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationUnitDetailResponse`
518
+
519
+ """
520
+ try:
521
+ params = request._serialize()
522
+ headers = request.headers
523
+ body = self.call("DescribeAllocationUnitDetail", params, headers=headers)
524
+ response = json.loads(body)
525
+ model = models.DescribeAllocationUnitDetailResponse()
526
+ model._deserialize(response["Response"])
527
+ return model
528
+ except Exception as e:
529
+ if isinstance(e, TencentCloudSDKException):
530
+ raise
531
+ else:
532
+ raise TencentCloudSDKException(type(e).__name__, str(e))
533
+
534
+
305
535
  def DescribeBillAdjustInfo(self, request):
306
536
  """可以通过API获取当前UIN是否有调账,客户可以更快地主动地获取调账情况。
307
537
 
@@ -884,6 +1114,29 @@ class BillingClient(AbstractClient):
884
1114
  raise TencentCloudSDKException(type(e).__name__, str(e))
885
1115
 
886
1116
 
1117
+ def DescribeGatherRuleDetail(self, request):
1118
+ """查询归集规则详情
1119
+
1120
+ :param request: Request instance for DescribeGatherRuleDetail.
1121
+ :type request: :class:`tencentcloud.billing.v20180709.models.DescribeGatherRuleDetailRequest`
1122
+ :rtype: :class:`tencentcloud.billing.v20180709.models.DescribeGatherRuleDetailResponse`
1123
+
1124
+ """
1125
+ try:
1126
+ params = request._serialize()
1127
+ headers = request.headers
1128
+ body = self.call("DescribeGatherRuleDetail", params, headers=headers)
1129
+ response = json.loads(body)
1130
+ model = models.DescribeGatherRuleDetailResponse()
1131
+ model._deserialize(response["Response"])
1132
+ return model
1133
+ except Exception as e:
1134
+ if isinstance(e, TencentCloudSDKException):
1135
+ raise
1136
+ else:
1137
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1138
+
1139
+
887
1140
  def DescribeSavingPlanResourceInfo(self, request):
888
1141
  """查询节省计划详情
889
1142
 
@@ -976,6 +1229,75 @@ class BillingClient(AbstractClient):
976
1229
  raise TencentCloudSDKException(type(e).__name__, str(e))
977
1230
 
978
1231
 
1232
+ def ModifyAllocationRule(self, request):
1233
+ """编辑公摊规则
1234
+
1235
+ :param request: Request instance for ModifyAllocationRule.
1236
+ :type request: :class:`tencentcloud.billing.v20180709.models.ModifyAllocationRuleRequest`
1237
+ :rtype: :class:`tencentcloud.billing.v20180709.models.ModifyAllocationRuleResponse`
1238
+
1239
+ """
1240
+ try:
1241
+ params = request._serialize()
1242
+ headers = request.headers
1243
+ body = self.call("ModifyAllocationRule", params, headers=headers)
1244
+ response = json.loads(body)
1245
+ model = models.ModifyAllocationRuleResponse()
1246
+ model._deserialize(response["Response"])
1247
+ return model
1248
+ except Exception as e:
1249
+ if isinstance(e, TencentCloudSDKException):
1250
+ raise
1251
+ else:
1252
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1253
+
1254
+
1255
+ def ModifyAllocationUnit(self, request):
1256
+ """修改分账单元信息
1257
+
1258
+ :param request: Request instance for ModifyAllocationUnit.
1259
+ :type request: :class:`tencentcloud.billing.v20180709.models.ModifyAllocationUnitRequest`
1260
+ :rtype: :class:`tencentcloud.billing.v20180709.models.ModifyAllocationUnitResponse`
1261
+
1262
+ """
1263
+ try:
1264
+ params = request._serialize()
1265
+ headers = request.headers
1266
+ body = self.call("ModifyAllocationUnit", params, headers=headers)
1267
+ response = json.loads(body)
1268
+ model = models.ModifyAllocationUnitResponse()
1269
+ model._deserialize(response["Response"])
1270
+ return model
1271
+ except Exception as e:
1272
+ if isinstance(e, TencentCloudSDKException):
1273
+ raise
1274
+ else:
1275
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1276
+
1277
+
1278
+ def ModifyGatherRule(self, request):
1279
+ """编辑归集规则
1280
+
1281
+ :param request: Request instance for ModifyGatherRule.
1282
+ :type request: :class:`tencentcloud.billing.v20180709.models.ModifyGatherRuleRequest`
1283
+ :rtype: :class:`tencentcloud.billing.v20180709.models.ModifyGatherRuleResponse`
1284
+
1285
+ """
1286
+ try:
1287
+ params = request._serialize()
1288
+ headers = request.headers
1289
+ body = self.call("ModifyGatherRule", params, headers=headers)
1290
+ response = json.loads(body)
1291
+ model = models.ModifyGatherRuleResponse()
1292
+ model._deserialize(response["Response"])
1293
+ return model
1294
+ except Exception as e:
1295
+ if isinstance(e, TencentCloudSDKException):
1296
+ raise
1297
+ else:
1298
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1299
+
1300
+
979
1301
  def PayDeals(self, request):
980
1302
  """支付订单
981
1303
 
@@ -44,6 +44,9 @@ FAILEDOPERATION_NEEDPAYTOGETER = 'FailedOperation.NeedPayTogeter'
44
44
  # 套餐订单需一起购买。
45
45
  FAILEDOPERATION_NEEDPAYTOGETHER = 'FailedOperation.NeedPayTogether'
46
46
 
47
+ # 数量超过最大限制。
48
+ FAILEDOPERATION_NUMLIMITERROR = 'FailedOperation.NumLimitError'
49
+
47
50
  # 支付失败,请联系腾讯云工作人员处理。
48
51
  FAILEDOPERATION_PAYPRICEERROR = 'FailedOperation.PayPriceError'
49
52
 
@@ -65,6 +68,9 @@ FAILEDOPERATION_TAGKEYNOTEXIST = 'FailedOperation.TagKeyNotExist'
65
68
  # 内部错误。
66
69
  INTERNALERROR = 'InternalError'
67
70
 
71
+ # 数据库操作失败。
72
+ INTERNALERROR_DBOPERATERROR = 'InternalError.DbOperatError'
73
+
68
74
  # 网关错误。
69
75
  INTERNALERROR_GATEWAYERROR = 'InternalError.GatewayError'
70
76
 
@@ -89,6 +95,9 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
89
95
  # 缺少参数错误。
90
96
  MISSINGPARAMETER = 'MissingParameter'
91
97
 
98
+ # 操作被拒绝。
99
+ OPERATIONDENIED = 'OperationDenied'
100
+
92
101
  # 账号没有cam授权。
93
102
  UNAUTHORIZEDOPERATION_CAMNOAUTH = 'UnauthorizedOperation.CamNoAuth'
94
103