tencentcloud-sdk-python 3.0.1359__py2.py3-none-any.whl → 3.0.1361__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +14 -44
- tencentcloud/bh/v20230418/bh_client.py +115 -0
- tencentcloud/bh/v20230418/models.py +1064 -131
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +6 -6
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cdwpg/v20201230/models.py +22 -206
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +367 -0
- tencentcloud/cvm/v20170312/cvm_client.py +10 -7
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +186 -174
- tencentcloud/cynosdb/v20190107/models.py +105 -0
- tencentcloud/dlc/v20210125/models.py +107 -564
- tencentcloud/dsgc/v20190723/models.py +30 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +214 -0
- tencentcloud/ess/v20201111/models.py +256 -0
- tencentcloud/essbasic/v20210526/models.py +281 -13
- tencentcloud/gaap/v20180529/models.py +0 -166
- tencentcloud/gs/v20191118/errorcodes.py +24 -0
- tencentcloud/gs/v20191118/gs_client.py +138 -0
- tencentcloud/gs/v20191118/models.py +683 -21
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -7
- tencentcloud/gwlb/v20240906/models.py +72 -54
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +358 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +600 -0
- tencentcloud/kms/v20190118/models.py +71 -0
- tencentcloud/lcic/v20220817/models.py +34 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +4 -1
- tencentcloud/lighthouse/v20200324/models.py +14 -10
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +12 -10
- tencentcloud/privatedns/v20201028/models.py +36 -6
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tcb/v20180608/models.py +60 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +53 -0
- tencentcloud/trocket/v20230308/models.py +1398 -66
- tencentcloud/trocket/v20230308/trocket_client.py +214 -0
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +263 -81
- tencentcloud/vpc/v20170312/vpc_client.py +25 -2
- tencentcloud/wedata/v20210820/models.py +2691 -4
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/RECORD +55 -55
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1359.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,29 @@ class TrocketClient(AbstractClient):
|
|
26
26
|
_service = 'trocket'
|
27
27
|
|
28
28
|
|
29
|
+
def ChangeMigratingTopicToNextStage(self, request):
|
30
|
+
"""修改迁移中的Topic状态进入下一步
|
31
|
+
|
32
|
+
:param request: Request instance for ChangeMigratingTopicToNextStage.
|
33
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.ChangeMigratingTopicToNextStageRequest`
|
34
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.ChangeMigratingTopicToNextStageResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("ChangeMigratingTopicToNextStage", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.ChangeMigratingTopicToNextStageResponse()
|
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 CreateConsumerGroup(self, request):
|
30
53
|
"""创建消费组
|
31
54
|
|
@@ -371,6 +394,29 @@ class TrocketClient(AbstractClient):
|
|
371
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
372
395
|
|
373
396
|
|
397
|
+
def DeleteSmoothMigrationTask(self, request):
|
398
|
+
"""删除平滑迁移任务,只有被取消的任务才可删除
|
399
|
+
|
400
|
+
:param request: Request instance for DeleteSmoothMigrationTask.
|
401
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DeleteSmoothMigrationTaskRequest`
|
402
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DeleteSmoothMigrationTaskResponse`
|
403
|
+
|
404
|
+
"""
|
405
|
+
try:
|
406
|
+
params = request._serialize()
|
407
|
+
headers = request.headers
|
408
|
+
body = self.call("DeleteSmoothMigrationTask", params, headers=headers)
|
409
|
+
response = json.loads(body)
|
410
|
+
model = models.DeleteSmoothMigrationTaskResponse()
|
411
|
+
model._deserialize(response["Response"])
|
412
|
+
return model
|
413
|
+
except Exception as e:
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
415
|
+
raise
|
416
|
+
else:
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
418
|
+
|
419
|
+
|
374
420
|
def DeleteTopic(self, request):
|
375
421
|
"""删除主题
|
376
422
|
|
@@ -925,6 +971,77 @@ class TrocketClient(AbstractClient):
|
|
925
971
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
926
972
|
|
927
973
|
|
974
|
+
def DescribeMigratingGroupStats(self, request):
|
975
|
+
"""查看迁移消费组的实时信息
|
976
|
+
|
977
|
+
:param request: Request instance for DescribeMigratingGroupStats.
|
978
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingGroupStatsRequest`
|
979
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingGroupStatsResponse`
|
980
|
+
|
981
|
+
"""
|
982
|
+
try:
|
983
|
+
params = request._serialize()
|
984
|
+
headers = request.headers
|
985
|
+
body = self.call("DescribeMigratingGroupStats", params, headers=headers)
|
986
|
+
response = json.loads(body)
|
987
|
+
model = models.DescribeMigratingGroupStatsResponse()
|
988
|
+
model._deserialize(response["Response"])
|
989
|
+
return model
|
990
|
+
except Exception as e:
|
991
|
+
if isinstance(e, TencentCloudSDKException):
|
992
|
+
raise
|
993
|
+
else:
|
994
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
995
|
+
|
996
|
+
|
997
|
+
def DescribeMigratingTopicList(self, request):
|
998
|
+
"""查询Topic迁移状态列表
|
999
|
+
|
1000
|
+
查询过滤器,支持TopicName、MigrationStatus查询
|
1001
|
+
|
1002
|
+
:param request: Request instance for DescribeMigratingTopicList.
|
1003
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingTopicListRequest`
|
1004
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingTopicListResponse`
|
1005
|
+
|
1006
|
+
"""
|
1007
|
+
try:
|
1008
|
+
params = request._serialize()
|
1009
|
+
headers = request.headers
|
1010
|
+
body = self.call("DescribeMigratingTopicList", params, headers=headers)
|
1011
|
+
response = json.loads(body)
|
1012
|
+
model = models.DescribeMigratingTopicListResponse()
|
1013
|
+
model._deserialize(response["Response"])
|
1014
|
+
return model
|
1015
|
+
except Exception as e:
|
1016
|
+
if isinstance(e, TencentCloudSDKException):
|
1017
|
+
raise
|
1018
|
+
else:
|
1019
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1020
|
+
|
1021
|
+
|
1022
|
+
def DescribeMigratingTopicStats(self, request):
|
1023
|
+
"""用于查询迁移主题的实时数据
|
1024
|
+
|
1025
|
+
:param request: Request instance for DescribeMigratingTopicStats.
|
1026
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingTopicStatsRequest`
|
1027
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeMigratingTopicStatsResponse`
|
1028
|
+
|
1029
|
+
"""
|
1030
|
+
try:
|
1031
|
+
params = request._serialize()
|
1032
|
+
headers = request.headers
|
1033
|
+
body = self.call("DescribeMigratingTopicStats", params, headers=headers)
|
1034
|
+
response = json.loads(body)
|
1035
|
+
model = models.DescribeMigratingTopicStatsResponse()
|
1036
|
+
model._deserialize(response["Response"])
|
1037
|
+
return model
|
1038
|
+
except Exception as e:
|
1039
|
+
if isinstance(e, TencentCloudSDKException):
|
1040
|
+
raise
|
1041
|
+
else:
|
1042
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1043
|
+
|
1044
|
+
|
928
1045
|
def DescribeProductSKUs(self, request):
|
929
1046
|
"""查询产品售卖规格,针对 RocketMQ 5.x 集群。
|
930
1047
|
|
@@ -974,6 +1091,34 @@ class TrocketClient(AbstractClient):
|
|
974
1091
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
975
1092
|
|
976
1093
|
|
1094
|
+
def DescribeSourceClusterGroupList(self, request):
|
1095
|
+
"""平滑迁移过程获取源集群group列表接口
|
1096
|
+
|
1097
|
+
查询过滤器,支持字段
|
1098
|
+
GroupName,消费组名称模糊搜索
|
1099
|
+
Imported,是否已导入
|
1100
|
+
ImportStatus,导入状态
|
1101
|
+
|
1102
|
+
:param request: Request instance for DescribeSourceClusterGroupList.
|
1103
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeSourceClusterGroupListRequest`
|
1104
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeSourceClusterGroupListResponse`
|
1105
|
+
|
1106
|
+
"""
|
1107
|
+
try:
|
1108
|
+
params = request._serialize()
|
1109
|
+
headers = request.headers
|
1110
|
+
body = self.call("DescribeSourceClusterGroupList", params, headers=headers)
|
1111
|
+
response = json.loads(body)
|
1112
|
+
model = models.DescribeSourceClusterGroupListResponse()
|
1113
|
+
model._deserialize(response["Response"])
|
1114
|
+
return model
|
1115
|
+
except Exception as e:
|
1116
|
+
if isinstance(e, TencentCloudSDKException):
|
1117
|
+
raise
|
1118
|
+
else:
|
1119
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1120
|
+
|
1121
|
+
|
977
1122
|
def DescribeTopic(self, request):
|
978
1123
|
"""查询主题详情,Offset和Limit参数是指订阅该主题的消费组查询分页参数,Filter参数使用说明如下:
|
979
1124
|
|
@@ -1050,6 +1195,29 @@ class TrocketClient(AbstractClient):
|
|
1050
1195
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1051
1196
|
|
1052
1197
|
|
1198
|
+
def DoHealthCheckOnMigratingTopic(self, request):
|
1199
|
+
"""检查迁移中的主题是否处于正常状态,只有处于正常状态的主题,才可以进入下一个迁移阶段
|
1200
|
+
|
1201
|
+
:param request: Request instance for DoHealthCheckOnMigratingTopic.
|
1202
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DoHealthCheckOnMigratingTopicRequest`
|
1203
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DoHealthCheckOnMigratingTopicResponse`
|
1204
|
+
|
1205
|
+
"""
|
1206
|
+
try:
|
1207
|
+
params = request._serialize()
|
1208
|
+
headers = request.headers
|
1209
|
+
body = self.call("DoHealthCheckOnMigratingTopic", params, headers=headers)
|
1210
|
+
response = json.loads(body)
|
1211
|
+
model = models.DoHealthCheckOnMigratingTopicResponse()
|
1212
|
+
model._deserialize(response["Response"])
|
1213
|
+
return model
|
1214
|
+
except Exception as e:
|
1215
|
+
if isinstance(e, TencentCloudSDKException):
|
1216
|
+
raise
|
1217
|
+
else:
|
1218
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1219
|
+
|
1220
|
+
|
1053
1221
|
def ImportSourceClusterConsumerGroups(self, request):
|
1054
1222
|
"""导入消费者组列表
|
1055
1223
|
|
@@ -1327,6 +1495,29 @@ class TrocketClient(AbstractClient):
|
|
1327
1495
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1328
1496
|
|
1329
1497
|
|
1498
|
+
def RemoveMigratingTopic(self, request):
|
1499
|
+
"""从迁移列表中移除主题,仅当主题处于初始状态时有效
|
1500
|
+
|
1501
|
+
:param request: Request instance for RemoveMigratingTopic.
|
1502
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.RemoveMigratingTopicRequest`
|
1503
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.RemoveMigratingTopicResponse`
|
1504
|
+
|
1505
|
+
"""
|
1506
|
+
try:
|
1507
|
+
params = request._serialize()
|
1508
|
+
headers = request.headers
|
1509
|
+
body = self.call("RemoveMigratingTopic", params, headers=headers)
|
1510
|
+
response = json.loads(body)
|
1511
|
+
model = models.RemoveMigratingTopicResponse()
|
1512
|
+
model._deserialize(response["Response"])
|
1513
|
+
return model
|
1514
|
+
except Exception as e:
|
1515
|
+
if isinstance(e, TencentCloudSDKException):
|
1516
|
+
raise
|
1517
|
+
else:
|
1518
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1519
|
+
|
1520
|
+
|
1330
1521
|
def ResendDeadLetterMessage(self, request):
|
1331
1522
|
"""重新发送死信消息
|
1332
1523
|
|
@@ -1366,6 +1557,29 @@ class TrocketClient(AbstractClient):
|
|
1366
1557
|
model = models.ResetConsumerGroupOffsetResponse()
|
1367
1558
|
model._deserialize(response["Response"])
|
1368
1559
|
return model
|
1560
|
+
except Exception as e:
|
1561
|
+
if isinstance(e, TencentCloudSDKException):
|
1562
|
+
raise
|
1563
|
+
else:
|
1564
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1565
|
+
|
1566
|
+
|
1567
|
+
def RollbackMigratingTopicStage(self, request):
|
1568
|
+
"""回滚正在迁移的主题至前一个阶段
|
1569
|
+
|
1570
|
+
:param request: Request instance for RollbackMigratingTopicStage.
|
1571
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.RollbackMigratingTopicStageRequest`
|
1572
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.RollbackMigratingTopicStageResponse`
|
1573
|
+
|
1574
|
+
"""
|
1575
|
+
try:
|
1576
|
+
params = request._serialize()
|
1577
|
+
headers = request.headers
|
1578
|
+
body = self.call("RollbackMigratingTopicStage", params, headers=headers)
|
1579
|
+
response = json.loads(body)
|
1580
|
+
model = models.RollbackMigratingTopicStageResponse()
|
1581
|
+
model._deserialize(response["Response"])
|
1582
|
+
return model
|
1369
1583
|
except Exception as e:
|
1370
1584
|
if isinstance(e, TencentCloudSDKException):
|
1371
1585
|
raise
|
@@ -1051,7 +1051,7 @@ Pet:宠物模式,支持宠物等非人像图片,固定生成512:512分辨
|
|
1051
1051
|
|
1052
1052
|
宠物模式下,如果不传该参数,默认将脸部唱演视频回贴原图,生成视频分辨率与原图一致。如不需要脸部回贴,仅保留脸部唱演视频,可传入512:512。
|
1053
1053
|
:type Resolution: str
|
1054
|
-
:param _LogoAdd: 为生成视频添加标识的开关,默认为
|
1054
|
+
:param _LogoAdd: 为生成视频添加标识的开关,默认为1。
|
1055
1055
|
1:添加标识;
|
1056
1056
|
0:不添加标识;
|
1057
1057
|
其他数值:默认按1处理。
|
@@ -1139,7 +1139,7 @@ Pet:宠物模式,支持宠物等非人像图片,固定生成512:512分辨
|
|
1139
1139
|
|
1140
1140
|
@property
|
1141
1141
|
def LogoAdd(self):
|
1142
|
-
"""为生成视频添加标识的开关,默认为
|
1142
|
+
"""为生成视频添加标识的开关,默认为1。
|
1143
1143
|
1:添加标识;
|
1144
1144
|
0:不添加标识;
|
1145
1145
|
其他数值:默认按1处理。
|