tencentcloud-sdk-python 3.0.1363__py2.py3-none-any.whl → 3.0.1372__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/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -1
- tencentcloud/autoscaling/v20180419/models.py +198 -102
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +67 -56
- tencentcloud/ccc/v20200210/models.py +105 -56
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +173 -0
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -4
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +264 -370
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +19 -1
- tencentcloud/cvm/v20170312/models.py +335 -40
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +109 -0
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +124 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +584 -158
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +1 -16
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +16 -12
- tencentcloud/gs/v20191118/errorcodes.py +3 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +295 -6
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -32
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +557 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/iotexplorer/v20190423/models.py +94 -4
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +251 -16
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/lkeap/v20240522/models.py +193 -2
- tencentcloud/monitor/v20180724/models.py +8 -8
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +135 -10
- tencentcloud/ocr/v20181119/models.py +38 -2
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/redis/v20180412/models.py +159 -6
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/tat/v20201028/errorcodes.py +6 -0
- tencentcloud/tat/v20201028/models.py +78 -32
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tdmq/v20200217/models.py +115 -95
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +47 -126
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +744 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/tse/v20201207/models.py +90 -0
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +24 -12
- tencentcloud/vpc/v20170312/models.py +758 -84
- tencentcloud/vpc/v20170312/vpc_client.py +115 -0
- tencentcloud/waf/v20180125/models.py +378 -0
- tencentcloud/wedata/v20210820/models.py +391 -26
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +112 -112
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -180,6 +180,115 @@ class ApplicationInfo(AbstractModel):
|
|
180
180
|
|
181
181
|
|
182
182
|
|
183
|
+
class CreateApplicationRequest(AbstractModel):
|
184
|
+
"""CreateApplication请求参数结构体
|
185
|
+
|
186
|
+
"""
|
187
|
+
|
188
|
+
def __init__(self):
|
189
|
+
r"""
|
190
|
+
:param _InstanceId: 需要制作自定义应用的HAI实例ID
|
191
|
+
:type InstanceId: str
|
192
|
+
:param _ApplicationName: 自定义应用的应用名称
|
193
|
+
:type ApplicationName: str
|
194
|
+
:param _ApplicationDescription: 自定义应用的描述
|
195
|
+
:type ApplicationDescription: str
|
196
|
+
"""
|
197
|
+
self._InstanceId = None
|
198
|
+
self._ApplicationName = None
|
199
|
+
self._ApplicationDescription = None
|
200
|
+
|
201
|
+
@property
|
202
|
+
def InstanceId(self):
|
203
|
+
"""需要制作自定义应用的HAI实例ID
|
204
|
+
:rtype: str
|
205
|
+
"""
|
206
|
+
return self._InstanceId
|
207
|
+
|
208
|
+
@InstanceId.setter
|
209
|
+
def InstanceId(self, InstanceId):
|
210
|
+
self._InstanceId = InstanceId
|
211
|
+
|
212
|
+
@property
|
213
|
+
def ApplicationName(self):
|
214
|
+
"""自定义应用的应用名称
|
215
|
+
:rtype: str
|
216
|
+
"""
|
217
|
+
return self._ApplicationName
|
218
|
+
|
219
|
+
@ApplicationName.setter
|
220
|
+
def ApplicationName(self, ApplicationName):
|
221
|
+
self._ApplicationName = ApplicationName
|
222
|
+
|
223
|
+
@property
|
224
|
+
def ApplicationDescription(self):
|
225
|
+
"""自定义应用的描述
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._ApplicationDescription
|
229
|
+
|
230
|
+
@ApplicationDescription.setter
|
231
|
+
def ApplicationDescription(self, ApplicationDescription):
|
232
|
+
self._ApplicationDescription = ApplicationDescription
|
233
|
+
|
234
|
+
|
235
|
+
def _deserialize(self, params):
|
236
|
+
self._InstanceId = params.get("InstanceId")
|
237
|
+
self._ApplicationName = params.get("ApplicationName")
|
238
|
+
self._ApplicationDescription = params.get("ApplicationDescription")
|
239
|
+
memeber_set = set(params.keys())
|
240
|
+
for name, value in vars(self).items():
|
241
|
+
property_name = name[1:]
|
242
|
+
if property_name in memeber_set:
|
243
|
+
memeber_set.remove(property_name)
|
244
|
+
if len(memeber_set) > 0:
|
245
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
class CreateApplicationResponse(AbstractModel):
|
250
|
+
"""CreateApplication返回参数结构体
|
251
|
+
|
252
|
+
"""
|
253
|
+
|
254
|
+
def __init__(self):
|
255
|
+
r"""
|
256
|
+
:param _ApplicationId: HAI自定义应用ID
|
257
|
+
:type ApplicationId: str
|
258
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
259
|
+
:type RequestId: str
|
260
|
+
"""
|
261
|
+
self._ApplicationId = None
|
262
|
+
self._RequestId = None
|
263
|
+
|
264
|
+
@property
|
265
|
+
def ApplicationId(self):
|
266
|
+
"""HAI自定义应用ID
|
267
|
+
:rtype: str
|
268
|
+
"""
|
269
|
+
return self._ApplicationId
|
270
|
+
|
271
|
+
@ApplicationId.setter
|
272
|
+
def ApplicationId(self, ApplicationId):
|
273
|
+
self._ApplicationId = ApplicationId
|
274
|
+
|
275
|
+
@property
|
276
|
+
def RequestId(self):
|
277
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
278
|
+
:rtype: str
|
279
|
+
"""
|
280
|
+
return self._RequestId
|
281
|
+
|
282
|
+
@RequestId.setter
|
283
|
+
def RequestId(self, RequestId):
|
284
|
+
self._RequestId = RequestId
|
285
|
+
|
286
|
+
|
287
|
+
def _deserialize(self, params):
|
288
|
+
self._ApplicationId = params.get("ApplicationId")
|
289
|
+
self._RequestId = params.get("RequestId")
|
290
|
+
|
291
|
+
|
183
292
|
class CreateMuskPromptRequest(AbstractModel):
|
184
293
|
"""CreateMuskPrompt请求参数结构体
|
185
294
|
|
@@ -182,7 +182,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
182
182
|
:param _EnableEnhancement: 功能增强(如搜索)开关。
|
183
183
|
说明:
|
184
184
|
1. hunyuan-lite 无功能增强(如搜索)能力,该参数对 hunyuan-lite 版本不生效。
|
185
|
-
2.
|
185
|
+
2. 未传值时默认关闭开关。
|
186
186
|
3. 关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
187
187
|
4. 安全审核能力不属于功能增强范围,不受此字段影响。
|
188
188
|
5. 2025-04-20 00:00:00起,由默认开启状态转为默认关闭状态。
|
@@ -357,7 +357,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
357
357
|
"""功能增强(如搜索)开关。
|
358
358
|
说明:
|
359
359
|
1. hunyuan-lite 无功能增强(如搜索)能力,该参数对 hunyuan-lite 版本不生效。
|
360
|
-
2.
|
360
|
+
2. 未传值时默认关闭开关。
|
361
361
|
3. 关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
362
362
|
4. 安全审核能力不属于功能增强范围,不受此字段影响。
|
363
363
|
5. 2025-04-20 00:00:00起,由默认开启状态转为默认关闭状态。
|
@@ -371,7 +371,8 @@ class ImageModerationRequest(AbstractModel):
|
|
371
371
|
|
372
372
|
def __init__(self):
|
373
373
|
r"""
|
374
|
-
:param _BizType:
|
374
|
+
:param _BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
375
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
375
376
|
:type BizType: str
|
376
377
|
:param _DataId: 该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。<br>取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,**长度不超过64个字符**。
|
377
378
|
:type DataId: str
|
@@ -387,6 +388,8 @@ class ImageModerationRequest(AbstractModel):
|
|
387
388
|
:type User: :class:`tencentcloud.ims.v20201229.models.User`
|
388
389
|
:param _Device: 该字段表示待检测对象对应的设备相关信息,若填入则可甄别相应违规风险设备。
|
389
390
|
:type Device: :class:`tencentcloud.ims.v20201229.models.Device`
|
391
|
+
:param _Type: 该字段表示输入的图片审核类型,取值含:IMAGE(内容安全)、IMAGE_AIGC(AI生成识别)两种,默认值为IMAGE。
|
392
|
+
:type Type: str
|
390
393
|
"""
|
391
394
|
self._BizType = None
|
392
395
|
self._DataId = None
|
@@ -396,10 +399,12 @@ class ImageModerationRequest(AbstractModel):
|
|
396
399
|
self._MaxFrames = None
|
397
400
|
self._User = None
|
398
401
|
self._Device = None
|
402
|
+
self._Type = None
|
399
403
|
|
400
404
|
@property
|
401
405
|
def BizType(self):
|
402
|
-
"""
|
406
|
+
"""该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
407
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
403
408
|
:rtype: str
|
404
409
|
"""
|
405
410
|
return self._BizType
|
@@ -485,6 +490,17 @@ class ImageModerationRequest(AbstractModel):
|
|
485
490
|
def Device(self, Device):
|
486
491
|
self._Device = Device
|
487
492
|
|
493
|
+
@property
|
494
|
+
def Type(self):
|
495
|
+
"""该字段表示输入的图片审核类型,取值含:IMAGE(内容安全)、IMAGE_AIGC(AI生成识别)两种,默认值为IMAGE。
|
496
|
+
:rtype: str
|
497
|
+
"""
|
498
|
+
return self._Type
|
499
|
+
|
500
|
+
@Type.setter
|
501
|
+
def Type(self, Type):
|
502
|
+
self._Type = Type
|
503
|
+
|
488
504
|
|
489
505
|
def _deserialize(self, params):
|
490
506
|
self._BizType = params.get("BizType")
|
@@ -499,6 +515,7 @@ class ImageModerationRequest(AbstractModel):
|
|
499
515
|
if params.get("Device") is not None:
|
500
516
|
self._Device = Device()
|
501
517
|
self._Device._deserialize(params.get("Device"))
|
518
|
+
self._Type = params.get("Type")
|
502
519
|
memeber_set = set(params.keys())
|
503
520
|
for name, value in vars(self).items():
|
504
521
|
property_name = name[1:]
|
@@ -524,7 +541,9 @@ class ImageModerationResponse(AbstractModel):
|
|
524
541
|
:type SubLabel: str
|
525
542
|
:param _Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表图片越有可能属于当前返回的标签;如:*色情 99*,则表明该图片非常有可能属于色情内容;*色情 0*,则表明该图片不属于色情内容。
|
526
543
|
:type Score: int
|
527
|
-
:param _LabelResults:
|
544
|
+
:param _LabelResults: 该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
|
545
|
+
|
546
|
+
返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
|
528
547
|
注意:此字段可能返回 null,表示取不到有效值。
|
529
548
|
:type LabelResults: list of LabelResult
|
530
549
|
:param _ObjectResults: 该字段用于返回物体检测模型的详细检测结果;包括:实体、广告台标、二维码等内容命中的标签名称、标签分数、坐标信息、场景识别结果、建议操作等内容审核信息;详细返回值信息可参阅对应的数据结构(ObjectResults)描述。
|
@@ -612,7 +631,9 @@ class ImageModerationResponse(AbstractModel):
|
|
612
631
|
|
613
632
|
@property
|
614
633
|
def LabelResults(self):
|
615
|
-
"""
|
634
|
+
"""该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
|
635
|
+
|
636
|
+
返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
|
616
637
|
注意:此字段可能返回 null,表示取不到有效值。
|
617
638
|
:rtype: list of LabelResult
|
618
639
|
"""
|
@@ -72,6 +72,29 @@ class IoaClient(AbstractClient):
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
73
|
|
74
74
|
|
75
|
+
def CreatePrivilegeCode(self, request):
|
76
|
+
"""生成特权码,私有化调用path为:capi/Assets/Device/CreatePrivilegeCode,生成的特权码、卸载码,仅对该设备当天有效
|
77
|
+
|
78
|
+
:param request: Request instance for CreatePrivilegeCode.
|
79
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.CreatePrivilegeCodeRequest`
|
80
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.CreatePrivilegeCodeResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("CreatePrivilegeCode", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.CreatePrivilegeCodeResponse()
|
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
|
+
|
75
98
|
def DescribeAccountGroups(self, request):
|
76
99
|
"""以分页的方式查询账号分组列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
|
77
100
|
|
@@ -180,6 +203,29 @@ class IoaClient(AbstractClient):
|
|
180
203
|
model = models.DescribeRootAccountGroupResponse()
|
181
204
|
model._deserialize(response["Response"])
|
182
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
|
+
|
213
|
+
def DescribeSoftCensusListByDevice(self, request):
|
214
|
+
"""查看终端树下的软件列表,私有化调用path为:capi/Software/DescribeSoftCensusListByDevice
|
215
|
+
|
216
|
+
:param request: Request instance for DescribeSoftCensusListByDevice.
|
217
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftCensusListByDeviceRequest`
|
218
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftCensusListByDeviceResponse`
|
219
|
+
|
220
|
+
"""
|
221
|
+
try:
|
222
|
+
params = request._serialize()
|
223
|
+
headers = request.headers
|
224
|
+
body = self.call("DescribeSoftCensusListByDevice", params, headers=headers)
|
225
|
+
response = json.loads(body)
|
226
|
+
model = models.DescribeSoftCensusListByDeviceResponse()
|
227
|
+
model._deserialize(response["Response"])
|
228
|
+
return model
|
183
229
|
except Exception as e:
|
184
230
|
if isinstance(e, TencentCloudSDKException):
|
185
231
|
raise
|