tencentcloud-sdk-python 3.0.1438__py2.py3-none-any.whl → 3.0.1440__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +83 -0
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cdwch/v20200915/models.py +19 -6
- tencentcloud/cfg/v20210820/models.py +20 -0
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +38 -24
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +578 -4
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +225 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mna/v20210119/errorcodes.py +1 -1
- tencentcloud/mps/v20190612/models.py +24 -0
- tencentcloud/omics/v20221128/models.py +175 -0
- tencentcloud/sqlserver/v20180328/models.py +30 -0
- tencentcloud/ssl/v20191205/models.py +60 -0
- tencentcloud/sts/v20180813/sts_client.py +16 -4
- tencentcloud/tdmq/v20200217/models.py +119 -2
- tencentcloud/teo/v20220901/models.py +130 -0
- tencentcloud/thpc/v20230321/errorcodes.py +24 -0
- tencentcloud/thpc/v20230321/models.py +1398 -132
- tencentcloud/thpc/v20230321/thpc_client.py +138 -0
- tencentcloud/trocket/v20230308/models.py +90 -20
- tencentcloud/tsf/v20180326/errorcodes.py +15 -15
- tencentcloud/vdb/v20230616/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +12 -4
- tencentcloud/wedata/v20210820/models.py +15 -15
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/RECORD +35 -35
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.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:]
|
|
@@ -748,12 +780,12 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
748
780
|
:type Name: str
|
|
749
781
|
:param _SkuCode: 商品规格,从 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参获得。
|
|
750
782
|
:type SkuCode: str
|
|
783
|
+
:param _VpcList: 集群绑定的VPC信息
|
|
784
|
+
:type VpcList: list of VpcInfo
|
|
751
785
|
:param _Remark: 备注信息
|
|
752
786
|
:type Remark: str
|
|
753
787
|
:param _TagList: 标签列表
|
|
754
788
|
:type TagList: list of Tag
|
|
755
|
-
:param _VpcList: 集群绑定的VPC信息,必填
|
|
756
|
-
:type VpcList: list of VpcInfo
|
|
757
789
|
:param _EnablePublic: 是否开启公网,默认值为false表示不开启
|
|
758
790
|
:type EnablePublic: bool
|
|
759
791
|
:param _BillingFlow: 公网是否按流量计费,默认值为false表示不按流量计费
|
|
@@ -785,9 +817,9 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
785
817
|
self._InstanceType = None
|
|
786
818
|
self._Name = None
|
|
787
819
|
self._SkuCode = None
|
|
820
|
+
self._VpcList = None
|
|
788
821
|
self._Remark = None
|
|
789
822
|
self._TagList = None
|
|
790
|
-
self._VpcList = None
|
|
791
823
|
self._EnablePublic = None
|
|
792
824
|
self._BillingFlow = None
|
|
793
825
|
self._Bandwidth = None
|
|
@@ -840,6 +872,17 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
840
872
|
def SkuCode(self, SkuCode):
|
|
841
873
|
self._SkuCode = SkuCode
|
|
842
874
|
|
|
875
|
+
@property
|
|
876
|
+
def VpcList(self):
|
|
877
|
+
"""集群绑定的VPC信息
|
|
878
|
+
:rtype: list of VpcInfo
|
|
879
|
+
"""
|
|
880
|
+
return self._VpcList
|
|
881
|
+
|
|
882
|
+
@VpcList.setter
|
|
883
|
+
def VpcList(self, VpcList):
|
|
884
|
+
self._VpcList = VpcList
|
|
885
|
+
|
|
843
886
|
@property
|
|
844
887
|
def Remark(self):
|
|
845
888
|
"""备注信息
|
|
@@ -862,17 +905,6 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
862
905
|
def TagList(self, TagList):
|
|
863
906
|
self._TagList = TagList
|
|
864
907
|
|
|
865
|
-
@property
|
|
866
|
-
def VpcList(self):
|
|
867
|
-
"""集群绑定的VPC信息,必填
|
|
868
|
-
:rtype: list of VpcInfo
|
|
869
|
-
"""
|
|
870
|
-
return self._VpcList
|
|
871
|
-
|
|
872
|
-
@VpcList.setter
|
|
873
|
-
def VpcList(self, VpcList):
|
|
874
|
-
self._VpcList = VpcList
|
|
875
|
-
|
|
876
908
|
@property
|
|
877
909
|
def EnablePublic(self):
|
|
878
910
|
"""是否开启公网,默认值为false表示不开启
|
|
@@ -995,6 +1027,12 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
995
1027
|
self._InstanceType = params.get("InstanceType")
|
|
996
1028
|
self._Name = params.get("Name")
|
|
997
1029
|
self._SkuCode = params.get("SkuCode")
|
|
1030
|
+
if params.get("VpcList") is not None:
|
|
1031
|
+
self._VpcList = []
|
|
1032
|
+
for item in params.get("VpcList"):
|
|
1033
|
+
obj = VpcInfo()
|
|
1034
|
+
obj._deserialize(item)
|
|
1035
|
+
self._VpcList.append(obj)
|
|
998
1036
|
self._Remark = params.get("Remark")
|
|
999
1037
|
if params.get("TagList") is not None:
|
|
1000
1038
|
self._TagList = []
|
|
@@ -1002,12 +1040,6 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1002
1040
|
obj = Tag()
|
|
1003
1041
|
obj._deserialize(item)
|
|
1004
1042
|
self._TagList.append(obj)
|
|
1005
|
-
if params.get("VpcList") is not None:
|
|
1006
|
-
self._VpcList = []
|
|
1007
|
-
for item in params.get("VpcList"):
|
|
1008
|
-
obj = VpcInfo()
|
|
1009
|
-
obj._deserialize(item)
|
|
1010
|
-
self._VpcList.append(obj)
|
|
1011
1043
|
self._EnablePublic = params.get("EnablePublic")
|
|
1012
1044
|
self._BillingFlow = params.get("BillingFlow")
|
|
1013
1045
|
self._Bandwidth = params.get("Bandwidth")
|
|
@@ -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:]
|
|
@@ -317,7 +317,7 @@ FAILEDOPERATION_TSFMSERROR = 'FailedOperation.TsfMsError'
|
|
|
317
317
|
# 调用ms server失败。
|
|
318
318
|
FAILEDOPERATION_TSFMSSERVERERROR = 'FailedOperation.TsfMsServerError'
|
|
319
319
|
|
|
320
|
-
# TSF
|
|
320
|
+
# TSF权限模块异常,请联系系统管理员。
|
|
321
321
|
FAILEDOPERATION_TSFPRIVILEGEERROR = 'FailedOperation.TsfPrivilegeError'
|
|
322
322
|
|
|
323
323
|
# 未授权。
|
|
@@ -464,7 +464,7 @@ INTERNALERROR_TSFMONITORINTERNALERROR = 'InternalError.TsfMonitorInternalError'
|
|
|
464
464
|
# TSF服务管理通用异常。
|
|
465
465
|
INTERNALERROR_TSFMSERROR = 'InternalError.TsfMsError'
|
|
466
466
|
|
|
467
|
-
# [%s]
|
|
467
|
+
# [%s]模块未处理异常。
|
|
468
468
|
INTERNALERROR_UNHANDLEDEXCEPTION = 'InternalError.UnhandledException'
|
|
469
469
|
|
|
470
470
|
# 参数错误。
|
|
@@ -473,7 +473,7 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
473
473
|
# 删除应用失败。
|
|
474
474
|
INVALIDPARAMETER_APPLICATIONDELETEFAILED = 'InvalidParameter.ApplicationDeleteFailed'
|
|
475
475
|
|
|
476
|
-
# [%s]模块接口[%s]请求不正确(400 BAD REQUEST
|
|
476
|
+
# [%s]模块接口[%s]请求不正确(400 BAD REQUEST)。
|
|
477
477
|
INVALIDPARAMETER_BADREQUEST = 'InvalidParameter.BadRequest'
|
|
478
478
|
|
|
479
479
|
# 配置模板名称不符合规范。
|
|
@@ -1016,7 +1016,7 @@ INVALIDPARAMETERVALUE_SERVICEDESCLENGTH = 'InvalidParameterValue.ServiceDescLeng
|
|
|
1016
1016
|
# 服务名称重复。
|
|
1017
1017
|
INVALIDPARAMETERVALUE_SERVICENAMEREPEATED = 'InvalidParameterValue.ServiceNameRepeated'
|
|
1018
1018
|
|
|
1019
|
-
#
|
|
1019
|
+
# 无法获取微服务列表或无访问权限。
|
|
1020
1020
|
INVALIDPARAMETERVALUE_SERVICENOTEXISTSORPERMISSIONDENIED = 'InvalidParameterValue.ServiceNotExistsOrPermissionDenied'
|
|
1021
1021
|
|
|
1022
1022
|
# 无效请求参数。
|
|
@@ -1112,13 +1112,13 @@ MISSINGPARAMETER_NAMESPACEIDREQUIRED = 'MissingParameter.NamespaceIdRequired'
|
|
|
1112
1112
|
# 命名空间名称未填写。
|
|
1113
1113
|
MISSINGPARAMETER_NAMESPACENAMEREQUIRED = 'MissingParameter.NamespaceNameRequired'
|
|
1114
1114
|
|
|
1115
|
-
# %s
|
|
1115
|
+
# [%s]参数缺失。
|
|
1116
1116
|
MISSINGPARAMETER_REQUIREDPARAMETERMISSING = 'MissingParameter.RequiredParameterMissing'
|
|
1117
1117
|
|
|
1118
1118
|
# 未填写服务Id。
|
|
1119
1119
|
MISSINGPARAMETER_SERVICEIDREQUIRED = 'MissingParameter.ServiceIdRequired'
|
|
1120
1120
|
|
|
1121
|
-
# 未指定%s
|
|
1121
|
+
# 未指定%s。
|
|
1122
1122
|
MISSINGPARAMETER_SYSTEMPARAMETERREQUIRED = 'MissingParameter.SystemParameterRequired'
|
|
1123
1123
|
|
|
1124
1124
|
# 缺少必填参数。
|
|
@@ -1205,16 +1205,16 @@ 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
|
+
# 命名空间不存在,或相应权限不足。
|
|
1218
1218
|
RESOURCENOTFOUND_NAMESPACENOTEXIST = 'ResourceNotFound.NamespaceNotExist'
|
|
1219
1219
|
|
|
1220
1220
|
# 资源对象不存在。
|
|
@@ -1223,7 +1223,7 @@ RESOURCENOTFOUND_OBJECTNOEXIST = 'ResourceNotFound.ObjectNoExist'
|
|
|
1223
1223
|
# 无法获取服务,无法执行该操作。
|
|
1224
1224
|
RESOURCENOTFOUND_SERVICENOTEXIST = 'ResourceNotFound.ServiceNotExist'
|
|
1225
1225
|
|
|
1226
|
-
#
|
|
1226
|
+
# 资源不存在。
|
|
1227
1227
|
RESOURCENOTFOUND_TASKNOTFOUND = 'ResourceNotFound.TaskNotFound'
|
|
1228
1228
|
|
|
1229
1229
|
# TKE 中不存在该集群。
|
|
@@ -1232,19 +1232,19 @@ RESOURCENOTFOUND_TKECLUSTERNOTEXISTS = 'ResourceNotFound.TkeClusterNotExists'
|
|
|
1232
1232
|
# 访问 CAM 系统出错,%s。
|
|
1233
1233
|
UNAUTHORIZEDOPERATION_CAMGENERALERROR = 'UnauthorizedOperation.CamGeneralError'
|
|
1234
1234
|
|
|
1235
|
-
# 协作者身份未授权,需要主账号授予协作者权限,参考 TSF
|
|
1235
|
+
# 协作者身份未授权,需要主账号授予协作者权限,参考 TSF 官网文档[子账号获取访问授权](https://cloud.tencent.com/document/product/649/55570)。
|
|
1236
1236
|
UNAUTHORIZEDOPERATION_CAMTSFROLENOPERMISSION = 'UnauthorizedOperation.CamTsfRoleNoPermission'
|
|
1237
1237
|
|
|
1238
|
-
# 当前主账号未创建TSF_QCSRole或未对子账号授予预设策略QcloudCamSubaccountsAuthorizeRoleFullAccess
|
|
1238
|
+
# 当前主账号未创建TSF_QCSRole或未对子账号授予预设策略QcloudCamSubaccountsAuthorizeRoleFullAccess。请参考产品文档[主账号获取访问授权](https://cloud.tencent.com/document/product/649/16869)。
|
|
1239
1239
|
UNAUTHORIZEDOPERATION_CAMTSFROLENOTEXIST = 'UnauthorizedOperation.CamTsfRoleNotExist'
|
|
1240
1240
|
|
|
1241
|
-
# License
|
|
1241
|
+
# License未激活。
|
|
1242
1242
|
UNAUTHORIZEDOPERATION_LICENSEINACTIVE = 'UnauthorizedOperation.LicenseInactive'
|
|
1243
1243
|
|
|
1244
1244
|
# 您所购买的服务不支持该操作。
|
|
1245
1245
|
UNAUTHORIZEDOPERATION_LICENSEUNAUTHORIZED = 'UnauthorizedOperation.LicenseUnauthorized'
|
|
1246
1246
|
|
|
1247
|
-
# 缺少License
|
|
1247
|
+
# 缺少License。
|
|
1248
1248
|
UNAUTHORIZEDOPERATION_NOLICENSE = 'UnauthorizedOperation.NoLicense'
|
|
1249
1249
|
|
|
1250
1250
|
# 用户无权限访问该接口。
|
|
@@ -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'
|
|
@@ -130,6 +130,8 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
130
130
|
:type ResourceTags: list of Tag
|
|
131
131
|
:param _Project: 指定实例所属项目 ID。
|
|
132
132
|
:type Project: str
|
|
133
|
+
:param _ProductType: 产品版本,0-标准版,1-容量增强版
|
|
134
|
+
:type ProductType: int
|
|
133
135
|
:param _InstanceType: 实例类型。
|
|
134
136
|
- base:免费测试版。
|
|
135
137
|
- single:单机版。
|
|
@@ -191,6 +193,7 @@ VPC或TCS
|
|
|
191
193
|
self._Params = None
|
|
192
194
|
self._ResourceTags = None
|
|
193
195
|
self._Project = None
|
|
196
|
+
self._ProductType = None
|
|
194
197
|
self._InstanceType = None
|
|
195
198
|
self._Mode = None
|
|
196
199
|
self._GoodsNum = None
|
|
@@ -331,6 +334,17 @@ VPC或TCS
|
|
|
331
334
|
|
|
332
335
|
self._Project = Project
|
|
333
336
|
|
|
337
|
+
@property
|
|
338
|
+
def ProductType(self):
|
|
339
|
+
"""产品版本,0-标准版,1-容量增强版
|
|
340
|
+
:rtype: int
|
|
341
|
+
"""
|
|
342
|
+
return self._ProductType
|
|
343
|
+
|
|
344
|
+
@ProductType.setter
|
|
345
|
+
def ProductType(self, ProductType):
|
|
346
|
+
self._ProductType = ProductType
|
|
347
|
+
|
|
334
348
|
@property
|
|
335
349
|
def InstanceType(self):
|
|
336
350
|
"""实例类型。
|
|
@@ -617,6 +631,7 @@ VPC或TCS
|
|
|
617
631
|
obj._deserialize(item)
|
|
618
632
|
self._ResourceTags.append(obj)
|
|
619
633
|
self._Project = params.get("Project")
|
|
634
|
+
self._ProductType = params.get("ProductType")
|
|
620
635
|
self._InstanceType = params.get("InstanceType")
|
|
621
636
|
self._Mode = params.get("Mode")
|
|
622
637
|
self._GoodsNum = params.get("GoodsNum")
|
|
@@ -28467,8 +28467,9 @@ class DescribeLicenseUsageDataRequest(AbstractModel):
|
|
|
28467
28467
|
:type StartTime: str
|
|
28468
28468
|
:param _EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
28469
28469
|
:type EndTime: str
|
|
28470
|
-
:param _LicenseType: License 类型,默认为
|
|
28471
|
-
<li>
|
|
28470
|
+
:param _LicenseType: License 类型,默认为 CommercialDRMLicense 。目前支持的 License 类型包括:
|
|
28471
|
+
<li> CommercialDRMLicense: 商业级 DRM License</li>
|
|
28472
|
+
<li> JITEncryptionDRMLicense: 即时加密 DRM License</li>
|
|
28472
28473
|
:type LicenseType: str
|
|
28473
28474
|
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
28474
28475
|
:type SubAppId: int
|
|
@@ -28502,8 +28503,9 @@ class DescribeLicenseUsageDataRequest(AbstractModel):
|
|
|
28502
28503
|
|
|
28503
28504
|
@property
|
|
28504
28505
|
def LicenseType(self):
|
|
28505
|
-
"""License 类型,默认为
|
|
28506
|
-
<li>
|
|
28506
|
+
"""License 类型,默认为 CommercialDRMLicense 。目前支持的 License 类型包括:
|
|
28507
|
+
<li> CommercialDRMLicense: 商业级 DRM License</li>
|
|
28508
|
+
<li> JITEncryptionDRMLicense: 即时加密 DRM License</li>
|
|
28507
28509
|
:rtype: str
|
|
28508
28510
|
"""
|
|
28509
28511
|
return self._LicenseType
|
|
@@ -28927,6 +28929,8 @@ class DescribeMediaProcessUsageDataRequest(AbstractModel):
|
|
|
28927
28929
|
<li>VoiceTranslation: 语音翻译</li>
|
|
28928
28930
|
<li>JITTranscoding: 即时转码</li>
|
|
28929
28931
|
<li>VideoSnapshot: 视频截图</li>
|
|
28932
|
+
<li>JITEncryption: 即时加密</li>
|
|
28933
|
+
|
|
28930
28934
|
:type Type: str
|
|
28931
28935
|
"""
|
|
28932
28936
|
self._StartTime = None
|
|
@@ -28993,6 +28997,8 @@ class DescribeMediaProcessUsageDataRequest(AbstractModel):
|
|
|
28993
28997
|
<li>VoiceTranslation: 语音翻译</li>
|
|
28994
28998
|
<li>JITTranscoding: 即时转码</li>
|
|
28995
28999
|
<li>VideoSnapshot: 视频截图</li>
|
|
29000
|
+
<li>JITEncryption: 即时加密</li>
|
|
29001
|
+
|
|
28996
29002
|
:rtype: str
|
|
28997
29003
|
"""
|
|
28998
29004
|
return self._Type
|
|
@@ -70680,6 +70686,7 @@ class TaskStatData(AbstractModel):
|
|
|
70680
70686
|
<li>VoiceTranslation: 语音翻译</li>
|
|
70681
70687
|
<li>JITTranscoding: 即时转码</li>
|
|
70682
70688
|
<li>VideoSnapshot: 视频截图</li>
|
|
70689
|
+
<li>JITEncryption: 即时加密</li>
|
|
70683
70690
|
:type TaskType: str
|
|
70684
70691
|
:param _Summary: 任务数统计数据概览,用量单位为秒。
|
|
70685
70692
|
:type Summary: list of TaskStatDataItem
|
|
@@ -70772,6 +70779,7 @@ class TaskStatData(AbstractModel):
|
|
|
70772
70779
|
<li>VoiceTranslation: 语音翻译</li>
|
|
70773
70780
|
<li>JITTranscoding: 即时转码</li>
|
|
70774
70781
|
<li>VideoSnapshot: 视频截图</li>
|
|
70782
|
+
<li>JITEncryption: 即时加密</li>
|
|
70775
70783
|
:rtype: str
|
|
70776
70784
|
"""
|
|
70777
70785
|
return self._TaskType
|
|
@@ -15606,6 +15606,8 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15606
15606
|
:type TaskName: str
|
|
15607
15607
|
:param _TaskType: 26离线同步,30Python,31PySpark,32DLC,33Impala,34Hive SQL,35Shell,36Spark SQL,39Spark,40CDW PG,92MapReduce
|
|
15608
15608
|
:type TaskType: int
|
|
15609
|
+
:param _Content: (必填参数)指定脚本内容,base64编码
|
|
15610
|
+
:type Content: str
|
|
15609
15611
|
:param _TaskExt: 扩展属性
|
|
15610
15612
|
:type TaskExt: list of TaskExtInfo
|
|
15611
15613
|
:param _ProductName: 产品名称
|
|
@@ -15618,8 +15620,6 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15618
15620
|
:type TopCoordinate: float
|
|
15619
15621
|
:param _TaskFolderId: 工作流目录ID
|
|
15620
15622
|
:type TaskFolderId: str
|
|
15621
|
-
:param _Content: (必填参数)指定脚本内容,base64编码
|
|
15622
|
-
:type Content: str
|
|
15623
15623
|
:param _CodeTemplateId: 代码模板ID
|
|
15624
15624
|
:type CodeTemplateId: str
|
|
15625
15625
|
"""
|
|
@@ -15627,13 +15627,13 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15627
15627
|
self._WorkflowId = None
|
|
15628
15628
|
self._TaskName = None
|
|
15629
15629
|
self._TaskType = None
|
|
15630
|
+
self._Content = None
|
|
15630
15631
|
self._TaskExt = None
|
|
15631
15632
|
self._ProductName = None
|
|
15632
15633
|
self._InstanceInitStrategy = None
|
|
15633
15634
|
self._LeftCoordinate = None
|
|
15634
15635
|
self._TopCoordinate = None
|
|
15635
15636
|
self._TaskFolderId = None
|
|
15636
|
-
self._Content = None
|
|
15637
15637
|
self._CodeTemplateId = None
|
|
15638
15638
|
|
|
15639
15639
|
@property
|
|
@@ -15680,6 +15680,17 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15680
15680
|
def TaskType(self, TaskType):
|
|
15681
15681
|
self._TaskType = TaskType
|
|
15682
15682
|
|
|
15683
|
+
@property
|
|
15684
|
+
def Content(self):
|
|
15685
|
+
"""(必填参数)指定脚本内容,base64编码
|
|
15686
|
+
:rtype: str
|
|
15687
|
+
"""
|
|
15688
|
+
return self._Content
|
|
15689
|
+
|
|
15690
|
+
@Content.setter
|
|
15691
|
+
def Content(self, Content):
|
|
15692
|
+
self._Content = Content
|
|
15693
|
+
|
|
15683
15694
|
@property
|
|
15684
15695
|
def TaskExt(self):
|
|
15685
15696
|
"""扩展属性
|
|
@@ -15746,17 +15757,6 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15746
15757
|
def TaskFolderId(self, TaskFolderId):
|
|
15747
15758
|
self._TaskFolderId = TaskFolderId
|
|
15748
15759
|
|
|
15749
|
-
@property
|
|
15750
|
-
def Content(self):
|
|
15751
|
-
"""(必填参数)指定脚本内容,base64编码
|
|
15752
|
-
:rtype: str
|
|
15753
|
-
"""
|
|
15754
|
-
return self._Content
|
|
15755
|
-
|
|
15756
|
-
@Content.setter
|
|
15757
|
-
def Content(self, Content):
|
|
15758
|
-
self._Content = Content
|
|
15759
|
-
|
|
15760
15760
|
@property
|
|
15761
15761
|
def CodeTemplateId(self):
|
|
15762
15762
|
"""代码模板ID
|
|
@@ -15774,6 +15774,7 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15774
15774
|
self._WorkflowId = params.get("WorkflowId")
|
|
15775
15775
|
self._TaskName = params.get("TaskName")
|
|
15776
15776
|
self._TaskType = params.get("TaskType")
|
|
15777
|
+
self._Content = params.get("Content")
|
|
15777
15778
|
if params.get("TaskExt") is not None:
|
|
15778
15779
|
self._TaskExt = []
|
|
15779
15780
|
for item in params.get("TaskExt"):
|
|
@@ -15785,7 +15786,6 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15785
15786
|
self._LeftCoordinate = params.get("LeftCoordinate")
|
|
15786
15787
|
self._TopCoordinate = params.get("TopCoordinate")
|
|
15787
15788
|
self._TaskFolderId = params.get("TaskFolderId")
|
|
15788
|
-
self._Content = params.get("Content")
|
|
15789
15789
|
self._CodeTemplateId = params.get("CodeTemplateId")
|
|
15790
15790
|
memeber_set = set(params.keys())
|
|
15791
15791
|
for name, value in vars(self).items():
|