tencentcloud-sdk-python 3.0.1437__py2.py3-none-any.whl → 3.0.1439__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 might be problematic. Click here for more details.

Files changed (42) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +15 -0
  3. tencentcloud/cdn/v20180606/models.py +8 -0
  4. tencentcloud/cfw/v20190904/cfw_client.py +0 -75
  5. tencentcloud/cfw/v20190904/models.py +107 -702
  6. tencentcloud/ciam/v20220331/errorcodes.py +1 -1
  7. tencentcloud/cls/v20201016/models.py +38 -24
  8. tencentcloud/cwp/v20180228/cwp_client.py +2 -2
  9. tencentcloud/cwp/v20180228/models.py +8 -8
  10. tencentcloud/dlc/v20210125/models.py +120 -15
  11. tencentcloud/es/v20180416/errorcodes.py +3 -0
  12. tencentcloud/es/v20180416/models.py +225 -0
  13. tencentcloud/ess/v20201111/ess_client.py +0 -3
  14. tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
  15. tencentcloud/essbasic/v20210526/models.py +4 -0
  16. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  17. tencentcloud/iotexplorer/v20190423/models.py +204 -4
  18. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  19. tencentcloud/mna/v20210119/errorcodes.py +1 -1
  20. tencentcloud/ocr/v20181119/models.py +2 -2
  21. tencentcloud/sqlserver/v20180328/models.py +6 -6
  22. tencentcloud/sqlserver/v20180328/sqlserver_client.py +2 -2
  23. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  24. tencentcloud/ssl/v20191205/models.py +60 -0
  25. tencentcloud/sts/v20180813/sts_client.py +16 -4
  26. tencentcloud/tdmq/v20200217/models.py +102 -0
  27. tencentcloud/teo/v20220901/models.py +14 -94
  28. tencentcloud/teo/v20220901/teo_client.py +8 -2
  29. tencentcloud/thpc/v20230321/errorcodes.py +24 -0
  30. tencentcloud/thpc/v20230321/models.py +1398 -132
  31. tencentcloud/thpc/v20230321/thpc_client.py +138 -0
  32. tencentcloud/trocket/v20230308/models.py +70 -0
  33. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  34. tencentcloud/tsf/v20180326/models.py +1211 -0
  35. tencentcloud/tsf/v20180326/tsf_client.py +69 -0
  36. tencentcloud/vod/v20180717/models.py +12 -4
  37. tencentcloud/wedata/v20210820/models.py +285 -19
  38. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/METADATA +1 -1
  39. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/RECORD +42 -42
  40. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/LICENSE +0 -0
  41. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/WHEEL +0 -0
  42. {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/top_level.txt +0 -0
@@ -214,6 +214,29 @@ class ThpcClient(AbstractClient):
214
214
  raise TencentCloudSDKException(type(e).__name__, str(e))
215
215
 
216
216
 
217
+ def DeleteJob(self, request):
218
+ """本接口 (DeleteJob) 用于删除一个作业任务。
219
+
220
+ :param request: Request instance for DeleteJob.
221
+ :type request: :class:`tencentcloud.thpc.v20230321.models.DeleteJobRequest`
222
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.DeleteJobResponse`
223
+
224
+ """
225
+ try:
226
+ params = request._serialize()
227
+ headers = request.headers
228
+ body = self.call("DeleteJob", params, headers=headers)
229
+ response = json.loads(body)
230
+ model = models.DeleteJobResponse()
231
+ model._deserialize(response["Response"])
232
+ return model
233
+ except Exception as e:
234
+ if isinstance(e, TencentCloudSDKException):
235
+ raise
236
+ else:
237
+ raise TencentCloudSDKException(type(e).__name__, str(e))
238
+
239
+
217
240
  def DeleteNodes(self, request):
218
241
  """本接口(DeleteNodes)用于删除指定集群中一个或者多个计算节点或者登录节点。
219
242
 
@@ -378,6 +401,75 @@ class ThpcClient(AbstractClient):
378
401
  raise TencentCloudSDKException(type(e).__name__, str(e))
379
402
 
380
403
 
404
+ def DescribeJobSubmitInfo(self, request):
405
+ """本接口用于查询作业的提交信息。
406
+
407
+ :param request: Request instance for DescribeJobSubmitInfo.
408
+ :type request: :class:`tencentcloud.thpc.v20230321.models.DescribeJobSubmitInfoRequest`
409
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.DescribeJobSubmitInfoResponse`
410
+
411
+ """
412
+ try:
413
+ params = request._serialize()
414
+ headers = request.headers
415
+ body = self.call("DescribeJobSubmitInfo", params, headers=headers)
416
+ response = json.loads(body)
417
+ model = models.DescribeJobSubmitInfoResponse()
418
+ model._deserialize(response["Response"])
419
+ return model
420
+ except Exception as e:
421
+ if isinstance(e, TencentCloudSDKException):
422
+ raise
423
+ else:
424
+ raise TencentCloudSDKException(type(e).__name__, str(e))
425
+
426
+
427
+ def DescribeJobs(self, request):
428
+ """本接口 (DescribeJobs) 用于查询作业任务列表信息。
429
+
430
+ :param request: Request instance for DescribeJobs.
431
+ :type request: :class:`tencentcloud.thpc.v20230321.models.DescribeJobsRequest`
432
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.DescribeJobsResponse`
433
+
434
+ """
435
+ try:
436
+ params = request._serialize()
437
+ headers = request.headers
438
+ body = self.call("DescribeJobs", params, headers=headers)
439
+ response = json.loads(body)
440
+ model = models.DescribeJobsResponse()
441
+ model._deserialize(response["Response"])
442
+ return model
443
+ except Exception as e:
444
+ if isinstance(e, TencentCloudSDKException):
445
+ raise
446
+ else:
447
+ raise TencentCloudSDKException(type(e).__name__, str(e))
448
+
449
+
450
+ def DescribeJobsOverview(self, request):
451
+ """本接口 (DescribeJobs) 用于查询作业任务列表信息。
452
+
453
+ :param request: Request instance for DescribeJobsOverview.
454
+ :type request: :class:`tencentcloud.thpc.v20230321.models.DescribeJobsOverviewRequest`
455
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.DescribeJobsOverviewResponse`
456
+
457
+ """
458
+ try:
459
+ params = request._serialize()
460
+ headers = request.headers
461
+ body = self.call("DescribeJobsOverview", params, headers=headers)
462
+ response = json.loads(body)
463
+ model = models.DescribeJobsOverviewResponse()
464
+ model._deserialize(response["Response"])
465
+ return model
466
+ except Exception as e:
467
+ if isinstance(e, TencentCloudSDKException):
468
+ raise
469
+ else:
470
+ raise TencentCloudSDKException(type(e).__name__, str(e))
471
+
472
+
381
473
  def DescribeNodes(self, request):
382
474
  """本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
383
475
 
@@ -562,6 +654,52 @@ class ThpcClient(AbstractClient):
562
654
  raise TencentCloudSDKException(type(e).__name__, str(e))
563
655
 
564
656
 
657
+ def SubmitJob(self, request):
658
+ """本接口 (SubmitJob) 用于提交一个作业任务。
659
+
660
+ :param request: Request instance for SubmitJob.
661
+ :type request: :class:`tencentcloud.thpc.v20230321.models.SubmitJobRequest`
662
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.SubmitJobResponse`
663
+
664
+ """
665
+ try:
666
+ params = request._serialize()
667
+ headers = request.headers
668
+ body = self.call("SubmitJob", params, headers=headers)
669
+ response = json.loads(body)
670
+ model = models.SubmitJobResponse()
671
+ model._deserialize(response["Response"])
672
+ return model
673
+ except Exception as e:
674
+ if isinstance(e, TencentCloudSDKException):
675
+ raise
676
+ else:
677
+ raise TencentCloudSDKException(type(e).__name__, str(e))
678
+
679
+
680
+ def TerminateJob(self, request):
681
+ """本接口 (TerminateJob) 用于终止一个作业任务。
682
+
683
+ :param request: Request instance for TerminateJob.
684
+ :type request: :class:`tencentcloud.thpc.v20230321.models.TerminateJobRequest`
685
+ :rtype: :class:`tencentcloud.thpc.v20230321.models.TerminateJobResponse`
686
+
687
+ """
688
+ try:
689
+ params = request._serialize()
690
+ headers = request.headers
691
+ body = self.call("TerminateJob", params, headers=headers)
692
+ response = json.loads(body)
693
+ model = models.TerminateJobResponse()
694
+ model._deserialize(response["Response"])
695
+ return model
696
+ except Exception as e:
697
+ if isinstance(e, TencentCloudSDKException):
698
+ raise
699
+ else:
700
+ raise TencentCloudSDKException(type(e).__name__, str(e))
701
+
702
+
565
703
  def TerminateWorkspaces(self, request):
566
704
  """本接口 (TerminateWorkspaces) 用于主动退还工作空间。
567
705
 
@@ -264,6 +264,11 @@ class ConsumeGroupItem(AbstractModel):
264
264
  :param _FullNamespaceV4: 4.x的完整命名空间
265
265
  注意:此字段可能返回 null,表示取不到有效值。
266
266
  :type FullNamespaceV4: str
267
+ :param _SubscribeTopicNum: 订阅的主题个数
268
+ :type SubscribeTopicNum: int
269
+ :param _CreateTime: 1753153590
270
+ 注意:此字段可能返回 null,表示取不到有效值。
271
+ :type CreateTime: int
267
272
  """
268
273
  self._InstanceId = None
269
274
  self._ConsumerGroup = None
@@ -275,6 +280,8 @@ class ConsumeGroupItem(AbstractModel):
275
280
  self._NamespaceV4 = None
276
281
  self._ConsumerGroupV4 = None
277
282
  self._FullNamespaceV4 = None
283
+ self._SubscribeTopicNum = None
284
+ self._CreateTime = None
278
285
 
279
286
  @property
280
287
  def InstanceId(self):
@@ -391,6 +398,29 @@ class ConsumeGroupItem(AbstractModel):
391
398
  def FullNamespaceV4(self, FullNamespaceV4):
392
399
  self._FullNamespaceV4 = FullNamespaceV4
393
400
 
401
+ @property
402
+ def SubscribeTopicNum(self):
403
+ """订阅的主题个数
404
+ :rtype: int
405
+ """
406
+ return self._SubscribeTopicNum
407
+
408
+ @SubscribeTopicNum.setter
409
+ def SubscribeTopicNum(self, SubscribeTopicNum):
410
+ self._SubscribeTopicNum = SubscribeTopicNum
411
+
412
+ @property
413
+ def CreateTime(self):
414
+ """1753153590
415
+ 注意:此字段可能返回 null,表示取不到有效值。
416
+ :rtype: int
417
+ """
418
+ return self._CreateTime
419
+
420
+ @CreateTime.setter
421
+ def CreateTime(self, CreateTime):
422
+ self._CreateTime = CreateTime
423
+
394
424
 
395
425
  def _deserialize(self, params):
396
426
  self._InstanceId = params.get("InstanceId")
@@ -403,6 +433,8 @@ class ConsumeGroupItem(AbstractModel):
403
433
  self._NamespaceV4 = params.get("NamespaceV4")
404
434
  self._ConsumerGroupV4 = params.get("ConsumerGroupV4")
405
435
  self._FullNamespaceV4 = params.get("FullNamespaceV4")
436
+ self._SubscribeTopicNum = params.get("SubscribeTopicNum")
437
+ self._CreateTime = params.get("CreateTime")
406
438
  memeber_set = set(params.keys())
407
439
  for name, value in vars(self).items():
408
440
  property_name = name[1:]
@@ -3139,12 +3171,22 @@ class DescribeConsumerGroupListRequest(AbstractModel):
3139
3171
  :type Limit: int
3140
3172
  :param _FromTopic: 查询指定主题下的消费组
3141
3173
  :type FromTopic: str
3174
+ :param _SortedBy: 按照指定字段排序,枚举值如下:
3175
+ - subscribeNum:订阅 Topic 个数
3176
+ :type SortedBy: str
3177
+ :param _SortOrder: 按升序或降序排列,枚举值如下:
3178
+
3179
+ - asc:升序
3180
+ - desc:降序
3181
+ :type SortOrder: str
3142
3182
  """
3143
3183
  self._InstanceId = None
3144
3184
  self._Filters = None
3145
3185
  self._Offset = None
3146
3186
  self._Limit = None
3147
3187
  self._FromTopic = None
3188
+ self._SortedBy = None
3189
+ self._SortOrder = None
3148
3190
 
3149
3191
  @property
3150
3192
  def InstanceId(self):
@@ -3201,6 +3243,32 @@ class DescribeConsumerGroupListRequest(AbstractModel):
3201
3243
  def FromTopic(self, FromTopic):
3202
3244
  self._FromTopic = FromTopic
3203
3245
 
3246
+ @property
3247
+ def SortedBy(self):
3248
+ """按照指定字段排序,枚举值如下:
3249
+ - subscribeNum:订阅 Topic 个数
3250
+ :rtype: str
3251
+ """
3252
+ return self._SortedBy
3253
+
3254
+ @SortedBy.setter
3255
+ def SortedBy(self, SortedBy):
3256
+ self._SortedBy = SortedBy
3257
+
3258
+ @property
3259
+ def SortOrder(self):
3260
+ """按升序或降序排列,枚举值如下:
3261
+
3262
+ - asc:升序
3263
+ - desc:降序
3264
+ :rtype: str
3265
+ """
3266
+ return self._SortOrder
3267
+
3268
+ @SortOrder.setter
3269
+ def SortOrder(self, SortOrder):
3270
+ self._SortOrder = SortOrder
3271
+
3204
3272
 
3205
3273
  def _deserialize(self, params):
3206
3274
  self._InstanceId = params.get("InstanceId")
@@ -3213,6 +3281,8 @@ class DescribeConsumerGroupListRequest(AbstractModel):
3213
3281
  self._Offset = params.get("Offset")
3214
3282
  self._Limit = params.get("Limit")
3215
3283
  self._FromTopic = params.get("FromTopic")
3284
+ self._SortedBy = params.get("SortedBy")
3285
+ self._SortOrder = params.get("SortOrder")
3216
3286
  memeber_set = set(params.keys())
3217
3287
  for name, value in vars(self).items():
3218
3288
  property_name = name[1:]
@@ -1205,13 +1205,13 @@ RESOURCENOTFOUND_GROUPNOTEXIST = 'ResourceNotFound.GroupNotExist'
1205
1205
  # 无法获取机器信息。
1206
1206
  RESOURCENOTFOUND_INSTANCENOTEXIST = 'ResourceNotFound.InstanceNotExist'
1207
1207
 
1208
- # [%s]模块未提供该接口[%s]。。
1208
+ # [%s]模块未提供该接口[%s]
1209
1209
  RESOURCENOTFOUND_INTERFACENOTFOUND = 'ResourceNotFound.InterfaceNotFound'
1210
1210
 
1211
1211
  # 无法找到License服务器。
1212
1212
  RESOURCENOTFOUND_LICENSESERVERNOTFOUND = 'ResourceNotFound.LicenseServerNotFound'
1213
1213
 
1214
- # 目标微服务已离线[%s]。。
1214
+ # 目标微服务已离线[%s]
1215
1215
  RESOURCENOTFOUND_MICROSERVICEOFFLINE = 'ResourceNotFound.MicroserviceOffline'
1216
1216
 
1217
1217
  # 无法获取命名空间。
@@ -1238,7 +1238,7 @@ UNAUTHORIZEDOPERATION_CAMTSFROLENOPERMISSION = 'UnauthorizedOperation.CamTsfRole
1238
1238
  # 当前主账号未创建TSF_QCSRole或未对子账号授予预设策略QcloudCamSubaccountsAuthorizeRoleFullAccess。请参考产品文档主账号协作者使用说明。。
1239
1239
  UNAUTHORIZEDOPERATION_CAMTSFROLENOTEXIST = 'UnauthorizedOperation.CamTsfRoleNotExist'
1240
1240
 
1241
- # License未激活。。
1241
+ # License未激活。
1242
1242
  UNAUTHORIZEDOPERATION_LICENSEINACTIVE = 'UnauthorizedOperation.LicenseInactive'
1243
1243
 
1244
1244
  # 您所购买的服务不支持该操作。
@@ -1256,5 +1256,5 @@ UNSUPPORTEDOPERATION_GATEWAYTOOMANYREQUESTPARAMETER = 'UnsupportedOperation.Gate
1256
1256
  # 操作不支持。
1257
1257
  UNSUPPORTEDOPERATION_TASKNOTSUPPORTED = 'UnsupportedOperation.TaskNotSupported'
1258
1258
 
1259
- # 不支持的ACTION。。
1259
+ # 不支持的ACTION
1260
1260
  UNSUPPORTEDOPERATION_UNSUPPORTACTION = 'UnsupportedOperation.UnsupportAction'