tencentcloud-sdk-python 3.0.1143__py2.py3-none-any.whl → 3.0.1144__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/aiart/v20221229/aiart_client.py +2 -2
- tencentcloud/aiart/v20221229/models.py +1 -1
- tencentcloud/apm/v20210622/models.py +1 -1
- tencentcloud/batch/v20170312/models.py +5 -1
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cls/v20201016/models.py +1 -1
- tencentcloud/csip/v20221121/models.py +124 -2
- tencentcloud/cvm/v20170312/models.py +5 -1
- tencentcloud/cwp/v20180228/models.py +16 -3
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +168 -0
- tencentcloud/ess/v20201111/ess_client.py +53 -2
- tencentcloud/ess/v20201111/models.py +303 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +6 -3
- tencentcloud/faceid/v20180301/models.py +5 -11
- tencentcloud/hai/v20230812/models.py +1 -1
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +52 -0
- tencentcloud/hunyuan/v20230901/models.py +277 -1
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +14 -1
- tencentcloud/live/v20180801/live_client.py +46 -0
- tencentcloud/live/v20180801/models.py +190 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -4
- tencentcloud/lke/v20231130/models.py +157 -0
- tencentcloud/mrs/v20200910/models.py +1 -1
- tencentcloud/ssl/v20191205/errorcodes.py +9 -0
- tencentcloud/ssl/v20191205/models.py +94 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +62 -0
- tencentcloud/tke/v20220501/errorcodes.py +10 -1
- tencentcloud/tke/v20220501/models.py +2666 -635
- tencentcloud/tke/v20220501/tke_client.py +69 -0
- tencentcloud/trtc/v20190722/models.py +2 -2
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/RECORD +43 -43
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/top_level.txt +0 -0
@@ -7727,18 +7727,12 @@ class PhoneVerificationResponse(AbstractModel):
|
|
7727
7727
|
取值范围为["","移动","电信","联通"]
|
7728
7728
|
:type Isp: str
|
7729
7729
|
:param _ResultDetail: 业务结果详细信息。(当VerifyMode配置"详版",且Result为"-4: 三要素信息不一致"时返回)
|
7730
|
-
|
7731
7730
|
枚举值:
|
7732
|
-
|
7733
|
-
|
7734
|
-
|
7735
|
-
|
7736
|
-
|
7737
|
-
手机号码与姓名和身份证号均不一致;
|
7738
|
-
|
7739
|
-
姓名和身份证号不一致;
|
7740
|
-
|
7741
|
-
其他不一致。
|
7731
|
+
PhoneIdCardMismatch:手机号码与姓名一致,与身份证号不一致;
|
7732
|
+
PhoneNameMismatch:手机号码身份证号一致,与姓名不一致;
|
7733
|
+
PhoneNameIdCardMismatch:手机号码与姓名和身份证号均不一致;
|
7734
|
+
NameIdCardMismatch:姓名和身份证号不一致;
|
7735
|
+
OtherMismatch:其他不一致;
|
7742
7736
|
:type ResultDetail: str
|
7743
7737
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7744
7738
|
:type RequestId: str
|
@@ -1022,7 +1022,7 @@ FAILED:表示操作失败
|
|
1022
1022
|
:param _CreateTime: 实例创建时间
|
1023
1023
|
注意:此字段可能返回 null,表示取不到有效值。
|
1024
1024
|
:type CreateTime: str
|
1025
|
-
:param _MaxOutBandwidth: 公网出带宽上限,默认
|
1025
|
+
:param _MaxOutBandwidth: 公网出带宽上限,默认10Mbps
|
1026
1026
|
注意:此字段可能返回 null,表示取不到有效值。
|
1027
1027
|
:type MaxOutBandwidth: str
|
1028
1028
|
:param _MaxFreeTraffic: 每月免费流量,默认500G
|
@@ -135,6 +135,58 @@ class HunyuanClient(AbstractClient):
|
|
135
135
|
model = models.GetTokenCountResponse()
|
136
136
|
model._deserialize(response["Response"])
|
137
137
|
return model
|
138
|
+
except Exception as e:
|
139
|
+
if isinstance(e, TencentCloudSDKException):
|
140
|
+
raise
|
141
|
+
else:
|
142
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
143
|
+
|
144
|
+
|
145
|
+
def QueryHunyuanImageJob(self, request):
|
146
|
+
"""混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
147
|
+
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
148
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
149
|
+
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
150
|
+
|
151
|
+
:param request: Request instance for QueryHunyuanImageJob.
|
152
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanImageJobRequest`
|
153
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanImageJobResponse`
|
154
|
+
|
155
|
+
"""
|
156
|
+
try:
|
157
|
+
params = request._serialize()
|
158
|
+
headers = request.headers
|
159
|
+
body = self.call("QueryHunyuanImageJob", params, headers=headers)
|
160
|
+
response = json.loads(body)
|
161
|
+
model = models.QueryHunyuanImageJobResponse()
|
162
|
+
model._deserialize(response["Response"])
|
163
|
+
return model
|
164
|
+
except Exception as e:
|
165
|
+
if isinstance(e, TencentCloudSDKException):
|
166
|
+
raise
|
167
|
+
else:
|
168
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
169
|
+
|
170
|
+
|
171
|
+
def SubmitHunyuanImageJob(self, request):
|
172
|
+
"""混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
173
|
+
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
174
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
175
|
+
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
176
|
+
|
177
|
+
:param request: Request instance for SubmitHunyuanImageJob.
|
178
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanImageJobRequest`
|
179
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanImageJobResponse`
|
180
|
+
|
181
|
+
"""
|
182
|
+
try:
|
183
|
+
params = request._serialize()
|
184
|
+
headers = request.headers
|
185
|
+
body = self.call("SubmitHunyuanImageJob", params, headers=headers)
|
186
|
+
response = json.loads(body)
|
187
|
+
model = models.SubmitHunyuanImageJobResponse()
|
188
|
+
model._deserialize(response["Response"])
|
189
|
+
return model
|
138
190
|
except Exception as e:
|
139
191
|
if isinstance(e, TencentCloudSDKException):
|
140
192
|
raise
|
@@ -25,7 +25,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-pro。
|
28
|
+
:param _Model: 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro。
|
29
29
|
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
|
30
30
|
|
31
31
|
注意:
|
@@ -1192,6 +1192,282 @@ class Message(AbstractModel):
|
|
1192
1192
|
|
1193
1193
|
|
1194
1194
|
|
1195
|
+
class QueryHunyuanImageJobRequest(AbstractModel):
|
1196
|
+
"""QueryHunyuanImageJob请求参数结构体
|
1197
|
+
|
1198
|
+
"""
|
1199
|
+
|
1200
|
+
def __init__(self):
|
1201
|
+
r"""
|
1202
|
+
:param _JobId: 任务 ID。
|
1203
|
+
:type JobId: str
|
1204
|
+
"""
|
1205
|
+
self._JobId = None
|
1206
|
+
|
1207
|
+
@property
|
1208
|
+
def JobId(self):
|
1209
|
+
return self._JobId
|
1210
|
+
|
1211
|
+
@JobId.setter
|
1212
|
+
def JobId(self, JobId):
|
1213
|
+
self._JobId = JobId
|
1214
|
+
|
1215
|
+
|
1216
|
+
def _deserialize(self, params):
|
1217
|
+
self._JobId = params.get("JobId")
|
1218
|
+
memeber_set = set(params.keys())
|
1219
|
+
for name, value in vars(self).items():
|
1220
|
+
property_name = name[1:]
|
1221
|
+
if property_name in memeber_set:
|
1222
|
+
memeber_set.remove(property_name)
|
1223
|
+
if len(memeber_set) > 0:
|
1224
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1225
|
+
|
1226
|
+
|
1227
|
+
|
1228
|
+
class QueryHunyuanImageJobResponse(AbstractModel):
|
1229
|
+
"""QueryHunyuanImageJob返回参数结构体
|
1230
|
+
|
1231
|
+
"""
|
1232
|
+
|
1233
|
+
def __init__(self):
|
1234
|
+
r"""
|
1235
|
+
:param _JobStatusCode: 当前任务状态码:
|
1236
|
+
1:等待中、2:运行中、4:处理失败、5:处理完成。
|
1237
|
+
:type JobStatusCode: str
|
1238
|
+
:param _JobStatusMsg: 当前任务状态:排队中、处理中、处理失败或者处理完成。
|
1239
|
+
|
1240
|
+
:type JobStatusMsg: str
|
1241
|
+
:param _JobErrorCode: 任务处理失败错误码。
|
1242
|
+
|
1243
|
+
:type JobErrorCode: str
|
1244
|
+
:param _JobErrorMsg: 任务处理失败错误信息。
|
1245
|
+
|
1246
|
+
:type JobErrorMsg: str
|
1247
|
+
:param _ResultImage: 生成图 URL 列表,有效期1小时,请及时保存。
|
1248
|
+
|
1249
|
+
:type ResultImage: list of str
|
1250
|
+
:param _ResultDetails: 结果 detail 数组,Success 代表成功。
|
1251
|
+
|
1252
|
+
:type ResultDetails: list of str
|
1253
|
+
:param _RevisedPrompt: 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。
|
1254
|
+
:type RevisedPrompt: list of str
|
1255
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1256
|
+
:type RequestId: str
|
1257
|
+
"""
|
1258
|
+
self._JobStatusCode = None
|
1259
|
+
self._JobStatusMsg = None
|
1260
|
+
self._JobErrorCode = None
|
1261
|
+
self._JobErrorMsg = None
|
1262
|
+
self._ResultImage = None
|
1263
|
+
self._ResultDetails = None
|
1264
|
+
self._RevisedPrompt = None
|
1265
|
+
self._RequestId = None
|
1266
|
+
|
1267
|
+
@property
|
1268
|
+
def JobStatusCode(self):
|
1269
|
+
return self._JobStatusCode
|
1270
|
+
|
1271
|
+
@JobStatusCode.setter
|
1272
|
+
def JobStatusCode(self, JobStatusCode):
|
1273
|
+
self._JobStatusCode = JobStatusCode
|
1274
|
+
|
1275
|
+
@property
|
1276
|
+
def JobStatusMsg(self):
|
1277
|
+
return self._JobStatusMsg
|
1278
|
+
|
1279
|
+
@JobStatusMsg.setter
|
1280
|
+
def JobStatusMsg(self, JobStatusMsg):
|
1281
|
+
self._JobStatusMsg = JobStatusMsg
|
1282
|
+
|
1283
|
+
@property
|
1284
|
+
def JobErrorCode(self):
|
1285
|
+
return self._JobErrorCode
|
1286
|
+
|
1287
|
+
@JobErrorCode.setter
|
1288
|
+
def JobErrorCode(self, JobErrorCode):
|
1289
|
+
self._JobErrorCode = JobErrorCode
|
1290
|
+
|
1291
|
+
@property
|
1292
|
+
def JobErrorMsg(self):
|
1293
|
+
return self._JobErrorMsg
|
1294
|
+
|
1295
|
+
@JobErrorMsg.setter
|
1296
|
+
def JobErrorMsg(self, JobErrorMsg):
|
1297
|
+
self._JobErrorMsg = JobErrorMsg
|
1298
|
+
|
1299
|
+
@property
|
1300
|
+
def ResultImage(self):
|
1301
|
+
return self._ResultImage
|
1302
|
+
|
1303
|
+
@ResultImage.setter
|
1304
|
+
def ResultImage(self, ResultImage):
|
1305
|
+
self._ResultImage = ResultImage
|
1306
|
+
|
1307
|
+
@property
|
1308
|
+
def ResultDetails(self):
|
1309
|
+
return self._ResultDetails
|
1310
|
+
|
1311
|
+
@ResultDetails.setter
|
1312
|
+
def ResultDetails(self, ResultDetails):
|
1313
|
+
self._ResultDetails = ResultDetails
|
1314
|
+
|
1315
|
+
@property
|
1316
|
+
def RevisedPrompt(self):
|
1317
|
+
return self._RevisedPrompt
|
1318
|
+
|
1319
|
+
@RevisedPrompt.setter
|
1320
|
+
def RevisedPrompt(self, RevisedPrompt):
|
1321
|
+
self._RevisedPrompt = RevisedPrompt
|
1322
|
+
|
1323
|
+
@property
|
1324
|
+
def RequestId(self):
|
1325
|
+
return self._RequestId
|
1326
|
+
|
1327
|
+
@RequestId.setter
|
1328
|
+
def RequestId(self, RequestId):
|
1329
|
+
self._RequestId = RequestId
|
1330
|
+
|
1331
|
+
|
1332
|
+
def _deserialize(self, params):
|
1333
|
+
self._JobStatusCode = params.get("JobStatusCode")
|
1334
|
+
self._JobStatusMsg = params.get("JobStatusMsg")
|
1335
|
+
self._JobErrorCode = params.get("JobErrorCode")
|
1336
|
+
self._JobErrorMsg = params.get("JobErrorMsg")
|
1337
|
+
self._ResultImage = params.get("ResultImage")
|
1338
|
+
self._ResultDetails = params.get("ResultDetails")
|
1339
|
+
self._RevisedPrompt = params.get("RevisedPrompt")
|
1340
|
+
self._RequestId = params.get("RequestId")
|
1341
|
+
|
1342
|
+
|
1343
|
+
class SubmitHunyuanImageJobRequest(AbstractModel):
|
1344
|
+
"""SubmitHunyuanImageJob请求参数结构体
|
1345
|
+
|
1346
|
+
"""
|
1347
|
+
|
1348
|
+
def __init__(self):
|
1349
|
+
r"""
|
1350
|
+
:param _Prompt: 文本描述。 算法将根据输入的文本智能生成与之相关的图像。 不能为空,推荐使用中文。最多可传100个 utf-8 字符。
|
1351
|
+
:type Prompt: str
|
1352
|
+
:param _Style: 绘画风格。
|
1353
|
+
请在 [混元生图风格列表](https://cloud.tencent.com/document/product/1729/105846) 中选择期望的风格,传入风格编号。
|
1354
|
+
不传默认不指定风格。
|
1355
|
+
:type Style: str
|
1356
|
+
:param _Resolution: 生成图分辨率。
|
1357
|
+
支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3),不传默认使用1024:1024。
|
1358
|
+
:type Resolution: str
|
1359
|
+
:param _LogoAdd: 为生成结果图添加显式水印标识的开关,默认为1。
|
1360
|
+
1:添加。
|
1361
|
+
0:不添加。
|
1362
|
+
其他数值:默认按1处理。
|
1363
|
+
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
1364
|
+
:type LogoAdd: int
|
1365
|
+
:param _Revise: prompt 扩写开关。1为开启,0为关闭,不传默认开启。
|
1366
|
+
开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
|
1367
|
+
如果关闭扩写,将直接使用原始输入的 prompt 生成图片。
|
1368
|
+
建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。
|
1369
|
+
:type Revise: int
|
1370
|
+
"""
|
1371
|
+
self._Prompt = None
|
1372
|
+
self._Style = None
|
1373
|
+
self._Resolution = None
|
1374
|
+
self._LogoAdd = None
|
1375
|
+
self._Revise = None
|
1376
|
+
|
1377
|
+
@property
|
1378
|
+
def Prompt(self):
|
1379
|
+
return self._Prompt
|
1380
|
+
|
1381
|
+
@Prompt.setter
|
1382
|
+
def Prompt(self, Prompt):
|
1383
|
+
self._Prompt = Prompt
|
1384
|
+
|
1385
|
+
@property
|
1386
|
+
def Style(self):
|
1387
|
+
return self._Style
|
1388
|
+
|
1389
|
+
@Style.setter
|
1390
|
+
def Style(self, Style):
|
1391
|
+
self._Style = Style
|
1392
|
+
|
1393
|
+
@property
|
1394
|
+
def Resolution(self):
|
1395
|
+
return self._Resolution
|
1396
|
+
|
1397
|
+
@Resolution.setter
|
1398
|
+
def Resolution(self, Resolution):
|
1399
|
+
self._Resolution = Resolution
|
1400
|
+
|
1401
|
+
@property
|
1402
|
+
def LogoAdd(self):
|
1403
|
+
return self._LogoAdd
|
1404
|
+
|
1405
|
+
@LogoAdd.setter
|
1406
|
+
def LogoAdd(self, LogoAdd):
|
1407
|
+
self._LogoAdd = LogoAdd
|
1408
|
+
|
1409
|
+
@property
|
1410
|
+
def Revise(self):
|
1411
|
+
return self._Revise
|
1412
|
+
|
1413
|
+
@Revise.setter
|
1414
|
+
def Revise(self, Revise):
|
1415
|
+
self._Revise = Revise
|
1416
|
+
|
1417
|
+
|
1418
|
+
def _deserialize(self, params):
|
1419
|
+
self._Prompt = params.get("Prompt")
|
1420
|
+
self._Style = params.get("Style")
|
1421
|
+
self._Resolution = params.get("Resolution")
|
1422
|
+
self._LogoAdd = params.get("LogoAdd")
|
1423
|
+
self._Revise = params.get("Revise")
|
1424
|
+
memeber_set = set(params.keys())
|
1425
|
+
for name, value in vars(self).items():
|
1426
|
+
property_name = name[1:]
|
1427
|
+
if property_name in memeber_set:
|
1428
|
+
memeber_set.remove(property_name)
|
1429
|
+
if len(memeber_set) > 0:
|
1430
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1431
|
+
|
1432
|
+
|
1433
|
+
|
1434
|
+
class SubmitHunyuanImageJobResponse(AbstractModel):
|
1435
|
+
"""SubmitHunyuanImageJob返回参数结构体
|
1436
|
+
|
1437
|
+
"""
|
1438
|
+
|
1439
|
+
def __init__(self):
|
1440
|
+
r"""
|
1441
|
+
:param _JobId: 任务 ID。
|
1442
|
+
:type JobId: str
|
1443
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1444
|
+
:type RequestId: str
|
1445
|
+
"""
|
1446
|
+
self._JobId = None
|
1447
|
+
self._RequestId = None
|
1448
|
+
|
1449
|
+
@property
|
1450
|
+
def JobId(self):
|
1451
|
+
return self._JobId
|
1452
|
+
|
1453
|
+
@JobId.setter
|
1454
|
+
def JobId(self, JobId):
|
1455
|
+
self._JobId = JobId
|
1456
|
+
|
1457
|
+
@property
|
1458
|
+
def RequestId(self):
|
1459
|
+
return self._RequestId
|
1460
|
+
|
1461
|
+
@RequestId.setter
|
1462
|
+
def RequestId(self, RequestId):
|
1463
|
+
self._RequestId = RequestId
|
1464
|
+
|
1465
|
+
|
1466
|
+
def _deserialize(self, params):
|
1467
|
+
self._JobId = params.get("JobId")
|
1468
|
+
self._RequestId = params.get("RequestId")
|
1469
|
+
|
1470
|
+
|
1195
1471
|
class Usage(AbstractModel):
|
1196
1472
|
"""Token 数量
|
1197
1473
|
|
@@ -570,7 +570,7 @@ class LighthouseClient(AbstractClient):
|
|
570
570
|
|
571
571
|
def DeleteSnapshots(self, request):
|
572
572
|
"""本接口(DeleteSnapshots)用于删除快照。
|
573
|
-
快照必须处于 NORMAL 状态,快照状态可以通过 DescribeSnapshots 接口查询,见输出参数中 SnapshotState 字段解释。
|
573
|
+
快照必须处于 NORMAL 状态,快照状态可以通过 <a href="https://cloud.tencent.com/document/product/1207/54388" target="_blank">DescribeSnapshots</a> 接口查询,见输出参数中 SnapshotState 字段解释。
|
574
574
|
|
575
575
|
:param request: Request instance for DeleteSnapshots.
|
576
576
|
:type request: :class:`tencentcloud.lighthouse.v20200324.models.DeleteSnapshotsRequest`
|
@@ -4062,7 +4062,7 @@ class DescribeDiskDiscountRequest(AbstractModel):
|
|
4062
4062
|
r"""
|
4063
4063
|
:param _DiskType: 云硬盘类型, 取值范围: CLOUD_PREMIUM: 高性能云硬盘,CLOUD_SSD: SSD云硬盘
|
4064
4064
|
:type DiskType: str
|
4065
|
-
:param _DiskSize:
|
4065
|
+
:param _DiskSize: 云硬盘大小, 单位: GB。
|
4066
4066
|
:type DiskSize: int
|
4067
4067
|
:param _DiskBackupQuota: 指定云硬盘备份点配额,不传时默认为不带备份点配额。目前只支持不带或设置1个云硬盘备份点配额。
|
4068
4068
|
:type DiskBackupQuota: int
|
@@ -10374,6 +10374,9 @@ FAILED:表示操作失败
|
|
10374
10374
|
:param _LatestOperationRequestId: 实例最新操作的唯一请求 ID。
|
10375
10375
|
注意:此字段可能返回 空值,表示取不到有效值。
|
10376
10376
|
:type LatestOperationRequestId: str
|
10377
|
+
:param _LatestOperationStartedTime: 实例最新操作的开始时间。
|
10378
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10379
|
+
:type LatestOperationStartedTime: str
|
10377
10380
|
:param _IsolatedTime: 隔离时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
|
10378
10381
|
格式为: YYYY-MM-DDThh:mm:ssZ。
|
10379
10382
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -10420,6 +10423,7 @@ FAILED:表示操作失败
|
|
10420
10423
|
self._LatestOperation = None
|
10421
10424
|
self._LatestOperationState = None
|
10422
10425
|
self._LatestOperationRequestId = None
|
10426
|
+
self._LatestOperationStartedTime = None
|
10423
10427
|
self._IsolatedTime = None
|
10424
10428
|
self._CreatedTime = None
|
10425
10429
|
self._ExpiredTime = None
|
@@ -10575,6 +10579,14 @@ FAILED:表示操作失败
|
|
10575
10579
|
def LatestOperationRequestId(self, LatestOperationRequestId):
|
10576
10580
|
self._LatestOperationRequestId = LatestOperationRequestId
|
10577
10581
|
|
10582
|
+
@property
|
10583
|
+
def LatestOperationStartedTime(self):
|
10584
|
+
return self._LatestOperationStartedTime
|
10585
|
+
|
10586
|
+
@LatestOperationStartedTime.setter
|
10587
|
+
def LatestOperationStartedTime(self, LatestOperationStartedTime):
|
10588
|
+
self._LatestOperationStartedTime = LatestOperationStartedTime
|
10589
|
+
|
10578
10590
|
@property
|
10579
10591
|
def IsolatedTime(self):
|
10580
10592
|
return self._IsolatedTime
|
@@ -10681,6 +10693,7 @@ FAILED:表示操作失败
|
|
10681
10693
|
self._LatestOperation = params.get("LatestOperation")
|
10682
10694
|
self._LatestOperationState = params.get("LatestOperationState")
|
10683
10695
|
self._LatestOperationRequestId = params.get("LatestOperationRequestId")
|
10696
|
+
self._LatestOperationStartedTime = params.get("LatestOperationStartedTime")
|
10684
10697
|
self._IsolatedTime = params.get("IsolatedTime")
|
10685
10698
|
self._CreatedTime = params.get("CreatedTime")
|
10686
10699
|
self._ExpiredTime = params.get("ExpiredTime")
|
@@ -1710,6 +1710,29 @@ class LiveClient(AbstractClient):
|
|
1710
1710
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1711
1711
|
|
1712
1712
|
|
1713
|
+
def DescribeLivePadProcessorList(self, request):
|
1714
|
+
"""使用该接口查询垫片流。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。
|
1715
|
+
|
1716
|
+
:param request: Request instance for DescribeLivePadProcessorList.
|
1717
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeLivePadProcessorListRequest`
|
1718
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeLivePadProcessorListResponse`
|
1719
|
+
|
1720
|
+
"""
|
1721
|
+
try:
|
1722
|
+
params = request._serialize()
|
1723
|
+
headers = request.headers
|
1724
|
+
body = self.call("DescribeLivePadProcessorList", params, headers=headers)
|
1725
|
+
response = json.loads(body)
|
1726
|
+
model = models.DescribeLivePadProcessorListResponse()
|
1727
|
+
model._deserialize(response["Response"])
|
1728
|
+
return model
|
1729
|
+
except Exception as e:
|
1730
|
+
if isinstance(e, TencentCloudSDKException):
|
1731
|
+
raise
|
1732
|
+
else:
|
1733
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1734
|
+
|
1735
|
+
|
1713
1736
|
def DescribeLivePadRules(self, request):
|
1714
1737
|
"""获取直播垫片规则列表。
|
1715
1738
|
|
@@ -3532,6 +3555,29 @@ class LiveClient(AbstractClient):
|
|
3532
3555
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3533
3556
|
|
3534
3557
|
|
3558
|
+
def StopLivePadProcessor(self, request):
|
3559
|
+
"""使用该接口停止垫片流。
|
3560
|
+
|
3561
|
+
:param request: Request instance for StopLivePadProcessor.
|
3562
|
+
:type request: :class:`tencentcloud.live.v20180801.models.StopLivePadProcessorRequest`
|
3563
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.StopLivePadProcessorResponse`
|
3564
|
+
|
3565
|
+
"""
|
3566
|
+
try:
|
3567
|
+
params = request._serialize()
|
3568
|
+
headers = request.headers
|
3569
|
+
body = self.call("StopLivePadProcessor", params, headers=headers)
|
3570
|
+
response = json.loads(body)
|
3571
|
+
model = models.StopLivePadProcessorResponse()
|
3572
|
+
model._deserialize(response["Response"])
|
3573
|
+
return model
|
3574
|
+
except Exception as e:
|
3575
|
+
if isinstance(e, TencentCloudSDKException):
|
3576
|
+
raise
|
3577
|
+
else:
|
3578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3579
|
+
|
3580
|
+
|
3535
3581
|
def StopLiveRecord(self, request):
|
3536
3582
|
"""说明:录制后的文件存放于点播平台。用户如需使用录制功能,需首先自行开通点播账号并确保账号可用。录制文件存放后,相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,请参考对应文档。
|
3537
3583
|
|