tccli 3.0.1304.1__py2.py3-none-any.whl → 3.0.1307.1__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.
- tccli/__init__.py +1 -1
- tccli/services/aiart/v20221229/api.json +44 -42
- tccli/services/aiart/v20221229/examples.json +11 -11
- tccli/services/ams/v20201229/api.json +28 -34
- tccli/services/ams/v20201229/examples.json +2 -8
- tccli/services/autoscaling/v20180419/api.json +57 -57
- tccli/services/autoscaling/v20180419/examples.json +6 -6
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/cbs/v20170312/api.json +75 -54
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/cdb/v20170320/api.json +9 -9
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +61 -58
- tccli/services/cdn/v20180606/examples.json +8 -8
- tccli/services/cfs/v20190719/api.json +12 -2
- tccli/services/cfs/v20190719/examples.json +2 -2
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +539 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/chc/v20230418/api.json +56 -1
- tccli/services/ckafka/ckafka_client.py +53 -0
- tccli/services/ckafka/v20190819/api.json +242 -8
- tccli/services/ckafka/v20190819/examples.json +8 -0
- tccli/services/clb/v20180317/api.json +120 -111
- tccli/services/clb/v20180317/examples.json +7 -7
- tccli/services/cvm/v20170312/api.json +130 -21
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +18 -18
- tccli/services/dbbrain/v20191016/api.json +11 -10
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +1 -1
- tccli/services/dc/v20180410/api.json +16 -6
- tccli/services/dc/v20180410/examples.json +4 -4
- tccli/services/dlc/v20210125/api.json +19 -0
- tccli/services/domain/v20180808/api.json +213 -213
- tccli/services/domain/v20180808/examples.json +38 -38
- tccli/services/drm/v20181115/api.json +52 -65
- tccli/services/drm/v20181115/examples.json +1 -1
- tccli/services/dsgc/v20190723/api.json +10 -0
- tccli/services/dts/v20211206/api.json +0 -9
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecdn/v20191012/api.json +12 -12
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/es/v20250101/api.json +45 -45
- tccli/services/essbasic/v20210526/examples.json +7 -1
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +75 -3
- tccli/services/gs/v20191118/examples.json +15 -7
- tccli/services/gwlb/v20240906/api.json +28 -28
- tccli/services/hai/hai_client.py +53 -0
- tccli/services/hai/v20230812/api.json +62 -0
- tccli/services/hai/v20230812/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +4 -4
- tccli/services/ims/v20201229/api.json +14 -5
- tccli/services/ims/v20201229/examples.json +2 -2
- tccli/services/ioa/v20220601/api.json +13 -2
- tccli/services/iotexplorer/v20190423/api.json +62 -3
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/iotvideoindustry/v20201201/api.json +29 -19
- tccli/services/iotvideoindustry/v20201201/examples.json +2 -2
- tccli/services/iss/iss_client.py +273 -8
- tccli/services/iss/v20230517/api.json +586 -0
- tccli/services/iss/v20230517/examples.json +46 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/live/v20180801/api.json +18 -18
- tccli/services/lke/v20231130/api.json +50 -6
- tccli/services/lkeap/v20240522/api.json +124 -1
- tccli/services/lowcode/v20210108/api.json +10 -1
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +283 -290
- tccli/services/mps/v20190612/examples.json +9 -9
- tccli/services/ocr/v20181119/api.json +133 -114
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/postgres/v20170312/api.json +140 -121
- tccli/services/postgres/v20170312/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +94 -4
- tccli/services/redis/v20180412/examples.json +3 -3
- tccli/services/ses/v20201002/api.json +9 -0
- tccli/services/soe/v20180724/api.json +13 -13
- tccli/services/soe/v20180724/examples.json +2 -2
- tccli/services/tat/v20201028/api.json +19 -19
- tccli/services/tcss/v20201101/api.json +27 -0
- tccli/services/teo/v20220901/api.json +14 -3
- tccli/services/tione/tione_client.py +53 -0
- tccli/services/tione/v20211111/api.json +49 -1
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +37 -37
- tccli/services/trtc/v20190722/api.json +5 -5
- tccli/services/tse/v20201207/api.json +30 -0
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vm/v20210922/api.json +21 -30
- tccli/services/vm/v20210922/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +15 -6
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +170 -143
- tccli/services/vpc/v20170312/examples.json +5 -5
- tccli/services/vrs/v20200824/api.json +52 -52
- tccli/services/vrs/v20200824/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +218 -19
- tccli/services/wedata/v20210820/examples.json +11 -3
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/RECORD +109 -109
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/license_files/LICENSE +0 -0
@@ -1163,6 +1163,58 @@ def doChatCompletion(args, parsed_globals):
|
|
1163
1163
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1164
1164
|
|
1165
1165
|
|
1166
|
+
def doModifyNotebookTags(args, parsed_globals):
|
1167
|
+
g_param = parse_global_arg(parsed_globals)
|
1168
|
+
|
1169
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1170
|
+
cred = credential.CVMRoleCredential()
|
1171
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1172
|
+
cred = credential.STSAssumeRoleCredential(
|
1173
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1174
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1175
|
+
)
|
1176
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1177
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1178
|
+
else:
|
1179
|
+
cred = credential.Credential(
|
1180
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1181
|
+
)
|
1182
|
+
http_profile = HttpProfile(
|
1183
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1184
|
+
reqMethod="POST",
|
1185
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1186
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1187
|
+
)
|
1188
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1189
|
+
if g_param[OptionsDefine.Language]:
|
1190
|
+
profile.language = g_param[OptionsDefine.Language]
|
1191
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1192
|
+
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
1193
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1194
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1195
|
+
model = models.ModifyNotebookTagsRequest()
|
1196
|
+
model.from_json_string(json.dumps(args))
|
1197
|
+
start_time = time.time()
|
1198
|
+
while True:
|
1199
|
+
rsp = client.ModifyNotebookTags(model)
|
1200
|
+
result = rsp.to_json_string()
|
1201
|
+
try:
|
1202
|
+
json_obj = json.loads(result)
|
1203
|
+
except TypeError as e:
|
1204
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1205
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1206
|
+
break
|
1207
|
+
cur_time = time.time()
|
1208
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1209
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1210
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1211
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1212
|
+
else:
|
1213
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1214
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1215
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1216
|
+
|
1217
|
+
|
1166
1218
|
def doDeleteTrainingModel(args, parsed_globals):
|
1167
1219
|
g_param = parse_global_arg(parsed_globals)
|
1168
1220
|
|
@@ -3486,6 +3538,7 @@ ACTION_MAP = {
|
|
3486
3538
|
"DescribeModelServiceHotUpdated": doDescribeModelServiceHotUpdated,
|
3487
3539
|
"DescribeModelAccelerateTask": doDescribeModelAccelerateTask,
|
3488
3540
|
"ChatCompletion": doChatCompletion,
|
3541
|
+
"ModifyNotebookTags": doModifyNotebookTags,
|
3489
3542
|
"DeleteTrainingModel": doDeleteTrainingModel,
|
3490
3543
|
"CreateDataset": doCreateDataset,
|
3491
3544
|
"CreateNotebook": doCreateNotebook,
|
@@ -266,6 +266,13 @@
|
|
266
266
|
"output": "ModifyModelServiceResponse",
|
267
267
|
"status": "online"
|
268
268
|
},
|
269
|
+
"ModifyNotebookTags": {
|
270
|
+
"document": "修改Notebook标签",
|
271
|
+
"input": "ModifyNotebookTagsRequest",
|
272
|
+
"name": "修改Notebook标签",
|
273
|
+
"output": "ModifyNotebookTagsResponse",
|
274
|
+
"status": "online"
|
275
|
+
},
|
269
276
|
"PushTrainingMetrics": {
|
270
277
|
"document": "上报训练自定义指标",
|
271
278
|
"input": "PushTrainingMetricsRequest",
|
@@ -813,6 +820,7 @@
|
|
813
820
|
"example": "encent-cloud-product-release-66666",
|
814
821
|
"member": "string",
|
815
822
|
"name": "Bucket",
|
823
|
+
"output_required": true,
|
816
824
|
"required": true,
|
817
825
|
"type": "string",
|
818
826
|
"value_allowed_null": true
|
@@ -823,6 +831,7 @@
|
|
823
831
|
"example": "ap-beijing",
|
824
832
|
"member": "string",
|
825
833
|
"name": "Region",
|
834
|
+
"output_required": true,
|
826
835
|
"required": true,
|
827
836
|
"type": "string",
|
828
837
|
"value_allowed_null": true
|
@@ -833,6 +842,7 @@
|
|
833
842
|
"example": "[\"path/\"]",
|
834
843
|
"member": "string",
|
835
844
|
"name": "Paths",
|
845
|
+
"output_required": true,
|
836
846
|
"required": true,
|
837
847
|
"type": "list",
|
838
848
|
"value_allowed_null": true
|
@@ -7281,6 +7291,42 @@
|
|
7281
7291
|
],
|
7282
7292
|
"type": "object"
|
7283
7293
|
},
|
7294
|
+
"ModifyNotebookTagsRequest": {
|
7295
|
+
"document": "ModifyNotebookTags请求参数结构体",
|
7296
|
+
"members": [
|
7297
|
+
{
|
7298
|
+
"disabled": false,
|
7299
|
+
"document": "Notebook Id",
|
7300
|
+
"example": "nb-12345",
|
7301
|
+
"member": "string",
|
7302
|
+
"name": "Id",
|
7303
|
+
"required": true,
|
7304
|
+
"type": "string"
|
7305
|
+
},
|
7306
|
+
{
|
7307
|
+
"disabled": false,
|
7308
|
+
"document": "Notebook修改标签集合",
|
7309
|
+
"example": "[]",
|
7310
|
+
"member": "Tag",
|
7311
|
+
"name": "Tags",
|
7312
|
+
"required": false,
|
7313
|
+
"type": "list"
|
7314
|
+
}
|
7315
|
+
],
|
7316
|
+
"type": "object"
|
7317
|
+
},
|
7318
|
+
"ModifyNotebookTagsResponse": {
|
7319
|
+
"document": "ModifyNotebookTags返回参数结构体",
|
7320
|
+
"members": [
|
7321
|
+
{
|
7322
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7323
|
+
"member": "string",
|
7324
|
+
"name": "RequestId",
|
7325
|
+
"type": "string"
|
7326
|
+
}
|
7327
|
+
],
|
7328
|
+
"type": "object"
|
7329
|
+
},
|
7284
7330
|
"MultiModalContent": {
|
7285
7331
|
"document": "多模态对话内容,支持图片与文字信息",
|
7286
7332
|
"members": [
|
@@ -8940,6 +8986,7 @@
|
|
8940
8986
|
"example": "f_1",
|
8941
8987
|
"member": "string",
|
8942
8988
|
"name": "Name",
|
8989
|
+
"output_required": false,
|
8943
8990
|
"required": true,
|
8944
8991
|
"type": "string",
|
8945
8992
|
"value_allowed_null": false
|
@@ -8950,12 +8997,13 @@
|
|
8950
8997
|
"example": "string",
|
8951
8998
|
"member": "string",
|
8952
8999
|
"name": "Type",
|
9000
|
+
"output_required": false,
|
8953
9001
|
"required": true,
|
8954
9002
|
"type": "string",
|
8955
9003
|
"value_allowed_null": false
|
8956
9004
|
}
|
8957
9005
|
],
|
8958
|
-
"usage": "
|
9006
|
+
"usage": "both"
|
8959
9007
|
},
|
8960
9008
|
"Service": {
|
8961
9009
|
"document": "描述在线服务",
|
@@ -304,6 +304,14 @@
|
|
304
304
|
"title": "更新模型服务"
|
305
305
|
}
|
306
306
|
],
|
307
|
+
"ModifyNotebookTags": [
|
308
|
+
{
|
309
|
+
"document": "修改Notebook标签",
|
310
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNotebookTags\n<公共请求参数>\n\n{\n \"Id\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n}",
|
311
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
312
|
+
"title": "修改Notebook标签"
|
313
|
+
}
|
314
|
+
],
|
307
315
|
"PushTrainingMetrics": [
|
308
316
|
{
|
309
317
|
"document": "",
|
@@ -2247,10 +2247,10 @@
|
|
2247
2247
|
"members": [
|
2248
2248
|
{
|
2249
2249
|
"disabled": false,
|
2250
|
-
"document": "cuDNN
|
2251
|
-
"example": "
|
2250
|
+
"document": "cuDNN的名字",
|
2251
|
+
"example": "libcudnn7_7.5.0.56-1+cuda10.1_amd64.deb",
|
2252
2252
|
"member": "string",
|
2253
|
-
"name": "
|
2253
|
+
"name": "Name",
|
2254
2254
|
"output_required": false,
|
2255
2255
|
"required": true,
|
2256
2256
|
"type": "string",
|
@@ -2258,10 +2258,10 @@
|
|
2258
2258
|
},
|
2259
2259
|
{
|
2260
2260
|
"disabled": false,
|
2261
|
-
"document": "cuDNN
|
2262
|
-
"example": "
|
2261
|
+
"document": "cuDNN的版本",
|
2262
|
+
"example": "7.5.0",
|
2263
2263
|
"member": "string",
|
2264
|
-
"name": "
|
2264
|
+
"name": "Version",
|
2265
2265
|
"output_required": false,
|
2266
2266
|
"required": true,
|
2267
2267
|
"type": "string",
|
@@ -2269,10 +2269,10 @@
|
|
2269
2269
|
},
|
2270
2270
|
{
|
2271
2271
|
"disabled": false,
|
2272
|
-
"document": "cuDNN的
|
2273
|
-
"example": "libcudnn7-
|
2272
|
+
"document": "cuDNN的Dev名字",
|
2273
|
+
"example": "libcudnn7-dev_7.5.0.56-1+cuda10.1_amd64.deb",
|
2274
2274
|
"member": "string",
|
2275
|
-
"name": "
|
2275
|
+
"name": "DevName",
|
2276
2276
|
"output_required": false,
|
2277
2277
|
"required": false,
|
2278
2278
|
"type": "string",
|
@@ -2280,10 +2280,10 @@
|
|
2280
2280
|
},
|
2281
2281
|
{
|
2282
2282
|
"disabled": false,
|
2283
|
-
"document": "cuDNN的
|
2284
|
-
"example": "libcudnn7-
|
2283
|
+
"document": "cuDNN的Doc名字",
|
2284
|
+
"example": "libcudnn7-doc_7.5.0.56-1+cuda10.1_amd64.deb",
|
2285
2285
|
"member": "string",
|
2286
|
-
"name": "
|
2286
|
+
"name": "DocName",
|
2287
2287
|
"output_required": false,
|
2288
2288
|
"required": false,
|
2289
2289
|
"type": "string",
|
@@ -14707,10 +14707,10 @@
|
|
14707
14707
|
"members": [
|
14708
14708
|
{
|
14709
14709
|
"disabled": false,
|
14710
|
-
"document": "GPU驱动或者CUDA
|
14711
|
-
"example": "418.126.02",
|
14710
|
+
"document": "GPU驱动或者CUDA的名字",
|
14711
|
+
"example": "NVIDIA-Linux-x86_64-418.126.02.run",
|
14712
14712
|
"member": "string",
|
14713
|
-
"name": "
|
14713
|
+
"name": "Name",
|
14714
14714
|
"output_required": false,
|
14715
14715
|
"required": true,
|
14716
14716
|
"type": "string",
|
@@ -14718,10 +14718,10 @@
|
|
14718
14718
|
},
|
14719
14719
|
{
|
14720
14720
|
"disabled": false,
|
14721
|
-
"document": "GPU驱动或者CUDA
|
14722
|
-
"example": "
|
14721
|
+
"document": "GPU驱动或者CUDA的版本",
|
14722
|
+
"example": "418.126.02",
|
14723
14723
|
"member": "string",
|
14724
|
-
"name": "
|
14724
|
+
"name": "Version",
|
14725
14725
|
"output_required": false,
|
14726
14726
|
"required": true,
|
14727
14727
|
"type": "string",
|
@@ -16697,21 +16697,21 @@
|
|
16697
16697
|
"members": [
|
16698
16698
|
{
|
16699
16699
|
"disabled": false,
|
16700
|
-
"document": "
|
16701
|
-
"example": "
|
16702
|
-
"member": "
|
16703
|
-
"name": "
|
16700
|
+
"document": "CUDA版本信息",
|
16701
|
+
"example": "无",
|
16702
|
+
"member": "DriverVersion",
|
16703
|
+
"name": "CUDA",
|
16704
16704
|
"output_required": true,
|
16705
16705
|
"required": false,
|
16706
|
-
"type": "
|
16706
|
+
"type": "object",
|
16707
16707
|
"value_allowed_null": false
|
16708
16708
|
},
|
16709
16709
|
{
|
16710
16710
|
"disabled": false,
|
16711
|
-
"document": "
|
16711
|
+
"document": "cuDNN版本信息",
|
16712
16712
|
"example": "无",
|
16713
|
-
"member": "
|
16714
|
-
"name": "
|
16713
|
+
"member": "CUDNN",
|
16714
|
+
"name": "CUDNN",
|
16715
16715
|
"output_required": true,
|
16716
16716
|
"required": false,
|
16717
16717
|
"type": "object",
|
@@ -16719,10 +16719,10 @@
|
|
16719
16719
|
},
|
16720
16720
|
{
|
16721
16721
|
"disabled": false,
|
16722
|
-
"document": "
|
16722
|
+
"document": "自定义GPU驱动信息",
|
16723
16723
|
"example": "无",
|
16724
|
-
"member": "
|
16725
|
-
"name": "
|
16724
|
+
"member": "CustomDriver",
|
16725
|
+
"name": "CustomDriver",
|
16726
16726
|
"output_required": true,
|
16727
16727
|
"required": false,
|
16728
16728
|
"type": "object",
|
@@ -16730,10 +16730,10 @@
|
|
16730
16730
|
},
|
16731
16731
|
{
|
16732
16732
|
"disabled": false,
|
16733
|
-
"document": "
|
16733
|
+
"document": "GPU驱动版本信息",
|
16734
16734
|
"example": "无",
|
16735
|
-
"member": "
|
16736
|
-
"name": "
|
16735
|
+
"member": "DriverVersion",
|
16736
|
+
"name": "Driver",
|
16737
16737
|
"output_required": true,
|
16738
16738
|
"required": false,
|
16739
16739
|
"type": "object",
|
@@ -16741,13 +16741,13 @@
|
|
16741
16741
|
},
|
16742
16742
|
{
|
16743
16743
|
"disabled": false,
|
16744
|
-
"document": "
|
16745
|
-
"example": "
|
16746
|
-
"member": "
|
16747
|
-
"name": "
|
16744
|
+
"document": "是否启用MIG特性",
|
16745
|
+
"example": "false",
|
16746
|
+
"member": "bool",
|
16747
|
+
"name": "MIGEnable",
|
16748
16748
|
"output_required": true,
|
16749
16749
|
"required": false,
|
16750
|
-
"type": "
|
16750
|
+
"type": "bool",
|
16751
16751
|
"value_allowed_null": false
|
16752
16752
|
}
|
16753
16753
|
],
|
@@ -3394,25 +3394,25 @@
|
|
3394
3394
|
"members": [
|
3395
3395
|
{
|
3396
3396
|
"disabled": false,
|
3397
|
-
"document": "移动设备类型,\n0: 手机\n1:
|
3397
|
+
"document": "移动设备类型,\n0: 手机\n1: 平板",
|
3398
3398
|
"example": "0",
|
3399
3399
|
"member": "uint64",
|
3400
3400
|
"name": "MobileDeviceType",
|
3401
3401
|
"output_required": false,
|
3402
3402
|
"required": false,
|
3403
3403
|
"type": "int",
|
3404
|
-
"value_allowed_null":
|
3404
|
+
"value_allowed_null": false
|
3405
3405
|
},
|
3406
3406
|
{
|
3407
3407
|
"disabled": false,
|
3408
|
-
"document": "屏幕方向,\n0: 竖屏,\n1:
|
3408
|
+
"document": "屏幕方向,\n0: 竖屏,\n1: 横屏",
|
3409
3409
|
"example": "0",
|
3410
3410
|
"member": "uint64",
|
3411
3411
|
"name": "ScreenOrientation",
|
3412
3412
|
"output_required": false,
|
3413
3413
|
"required": false,
|
3414
3414
|
"type": "int",
|
3415
|
-
"value_allowed_null":
|
3415
|
+
"value_allowed_null": false
|
3416
3416
|
}
|
3417
3417
|
],
|
3418
3418
|
"usage": "both"
|
@@ -6219,7 +6219,7 @@
|
|
6219
6219
|
},
|
6220
6220
|
{
|
6221
6221
|
"disabled": false,
|
6222
|
-
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\":
|
6222
|
+
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": \"大模型类型\", // String 必填,如:\"openai\" <br>   \"Model\": \"您的模型名称\", // String 必填,指定使用的模型<br> \"APIKey\": \"您的LLM API密钥\", // String 必填 <br>   \"APIUrl\": \"https://api.xxx.com/chat/completions\", // String 必填,LLM API访问的URL<br>   \"Streaming\": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>\n",
|
6223
6223
|
"example": "{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-xxx\", \\\"APIKey\\\": \\\"xxxxxxxx\\\", \\\"APIUrl\\\": \\\"https://api.xxx.com/v1\\\", \\\"Streaming\\\": true}",
|
6224
6224
|
"member": "string",
|
6225
6225
|
"name": "LLMConfig",
|
@@ -1801,6 +1801,16 @@
|
|
1801
1801
|
"output_required": false,
|
1802
1802
|
"type": "string",
|
1803
1803
|
"value_allowed_null": false
|
1804
|
+
},
|
1805
|
+
{
|
1806
|
+
"disabled": false,
|
1807
|
+
"document": "是否为新 ipv6 CLB",
|
1808
|
+
"example": "false",
|
1809
|
+
"member": "bool",
|
1810
|
+
"name": "IPV6FullChain",
|
1811
|
+
"output_required": false,
|
1812
|
+
"type": "bool",
|
1813
|
+
"value_allowed_null": false
|
1804
1814
|
}
|
1805
1815
|
],
|
1806
1816
|
"usage": "out"
|
@@ -15380,6 +15390,26 @@
|
|
15380
15390
|
"output_required": false,
|
15381
15391
|
"type": "int",
|
15382
15392
|
"value_allowed_null": false
|
15393
|
+
},
|
15394
|
+
{
|
15395
|
+
"disabled": false,
|
15396
|
+
"document": "是否支持TOA",
|
15397
|
+
"example": "false",
|
15398
|
+
"member": "bool",
|
15399
|
+
"name": "SupportTOA",
|
15400
|
+
"output_required": false,
|
15401
|
+
"type": "bool",
|
15402
|
+
"value_allowed_null": false
|
15403
|
+
},
|
15404
|
+
{
|
15405
|
+
"disabled": false,
|
15406
|
+
"document": "是否支持IPV6",
|
15407
|
+
"example": "false",
|
15408
|
+
"member": "bool",
|
15409
|
+
"name": "SupportIPV6",
|
15410
|
+
"output_required": false,
|
15411
|
+
"type": "bool",
|
15412
|
+
"value_allowed_null": false
|
15383
15413
|
}
|
15384
15414
|
],
|
15385
15415
|
"usage": "out"
|
@@ -3400,8 +3400,8 @@
|
|
3400
3400
|
"members": [
|
3401
3401
|
{
|
3402
3402
|
"disabled": false,
|
3403
|
-
"document": "
|
3404
|
-
"example": "
|
3403
|
+
"document": "返回结果,成功:true,失败:false。",
|
3404
|
+
"example": "true",
|
3405
3405
|
"member": "bool",
|
3406
3406
|
"name": "Result",
|
3407
3407
|
"output_required": true,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"CreateTtsTask": {
|
4
|
-
"document": "本接口服务对10万字符以内的文本进行语音合成,异步返回音频结果。满足一次性合成较长文本的客户需求,如阅读播报、新闻媒体等场景。\n\n<li>支持音频格式:mp3,wav,pcm</li>\n<li>支持音频采样率:16000 Hz, 8000 Hz</li>\n<li>支持中文普通话、英文、中英文混读、粤语合成</li>\n<li>支持语速、音量设置</li>\n<li>支持回调或轮询的方式获取结果,结果获取请参考 长文本语音合成结果查询。</li>\n<li>提交长文本语音合成请求后,合成结果在3
|
4
|
+
"document": "本接口服务对10万字符以内的文本进行语音合成,异步返回音频结果。满足一次性合成较长文本的客户需求,如阅读播报、新闻媒体等场景。\n\n<li>支持音频格式:mp3,wav,pcm</li>\n<li>支持音频采样率:16000 Hz, 8000 Hz</li>\n<li>支持中文普通话、英文、中英文混读、粤语合成</li>\n<li>支持语速、音量设置</li>\n<li>支持回调或轮询的方式获取结果,结果获取请参考 长文本语音合成结果查询。</li>\n<li>提交长文本语音合成请求后,合成结果在3小时内完成。请注意:30分钟内提交任务超过 100 万字符或 200 条任务除外。</li>\n<li>音频文件在服务端可保存24小时,请及时下载。</li>\n<p></p>\n\n长文本合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575),使用时需满足如下使用规范:\n<li>使用 SSML 标签,需置于 speak 闭合标签内部;</li>\n<li>合成文本可包含多组 speak 闭合标签,且无数量限制;</li>\n<li>每个 speak 闭合标签内部,字符数不超过 150 字(标签字符本身不计算在内);</li>\n<li>每个 speak 闭合标签内部,使用 break 标签数目最大为 10 个。如需要使用更多,可拆解到多个 speak 标签中;</li>\n\n<p></p>",
|
5
5
|
"input": "CreateTtsTaskRequest",
|
6
6
|
"name": "长文本语音合成请求",
|
7
7
|
"output": "CreateTtsTaskResponse",
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
10
|
"CreateVideoModerationTask": {
|
11
|
-
"document": "本接口(Video Moderation System,VM)用于提交视频文件或视频流进行智能审核任务。使用前请您使用腾讯云主账号登录控制台[开通视频内容安全服务](https://console.cloud.tencent.com/cms)并调整好对应的业务配置。<br>\n### 功能使用说明:\n\n- 前往“[内容安全控制台-视频内容安全](https://console.cloud.tencent.com/cms)”开启使用视频内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含200分钟的处理量(换算1s每帧截图,赠送**12000张图**、**200分钟的音频**处理量),有效期为15天。\n
|
11
|
+
"document": "本接口(Video Moderation System,VM)用于提交视频文件或视频流进行智能审核任务。使用前请您使用腾讯云主账号登录控制台[开通视频内容安全服务](https://console.cloud.tencent.com/cms)并调整好对应的业务配置。<br>\n### 功能使用说明:\n\n- 前往“[内容安全控制台-视频内容安全](https://console.cloud.tencent.com/cms)”开启使用视频内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含200分钟的处理量(换算1s每帧截图,赠送**12000张图**、**200分钟的音频**处理量),有效期为15天。\n- 该接口为收费接口,计费方式敬请参见[腾讯云视频内容安全定价](https://cloud.tencent.com/product/vm/pricing)。\n\n### 审核并发限制说明:\n\n- **点播视频(异步审核)**\n - 默认并发路数:10\n - 队列处理机制:\n - 当并发任务达到上限时,新任务进入队列等待处理;\n - 支持通过`Priority`字段配置任务优先级(数值越大优先级越高),默认情况下新送审任务优先处理,旧任务往后排;\n- **直播视频(异步审核)**\n - 默认并发路数:100\n - 队列处理机制:\n - 运行中的审核任务达到上限时,新请求会提示超频错误:`RequestLimitExceeded`,错误详细为:`You have reached the concurrency limit`;\n - 不支持排队;\n\n### 接口功能说明:\n\n- 支持对视频文件或视频流进行自动检测,从 OCR文本识别、物体检测(实体、广告台标、二维码等)、图像识别及音频审核四个维度,通过深度学习技术识别视频中的违规内容;\n- 支持设置回调地址 Callback 获取检测结果,或通过接口(查看任务详情)主动轮询获取检测结果详情;对于正常审核中的视频任务,如含有违规内容,则截帧图片最长会在**3s**内回调,音频片段会在用户配置的**切片时长 + 2s**内回调;对于在队列中的待审核任务,回调时间为正常审核回调时间+等待时间;\n- 支持通过接口(查看审核任务列表)查询任务队列,用户可根据多种业务信息(业务类型、审核结果、任务状态等)筛选审核任务列表;\n- 支持识别多种违规场景,包括:低俗、谩骂、色情、广告等场景;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义配置黑白词库及图片库,打击自定义违规内容(目前仅支持黑名单配置);\n- 支持用户自定义配置审核任务优先级,当有多个任务排队时,可根据用户配置自动调整任务优先级;\n- 支持批量提交检测任务,**最多可同时创建10个任务**;\n\n### 视频文件流调用说明:\n\n- 视频文件大小支持:**4K视频文件 < 10GB**;**低于4K视频文件 < 5GB**\n- 视频文件分辨率支持:**最佳分辨率为1920x1080 (1080p)**,如果视频文件小于300MB,则分辨率可以大于1080p,分辨率最大支持4K,更大视频可以调用[云转码服务](https://cloud.tencent.com/product/mps/details)转码后再送审;\n- 视频文件支持格式:flv、mkv 、mp4 、rmvb 、avi 、wmv、3gp、ts、mov、rm、mpeg、wmf等。\n- 视频文件支持的访问方式:链接地址(支持HTTP/HTTPS)、腾讯云COS存储;\n- 若传入视频文件的访问链接,则需要注意视频**头文件的读取时间限制为3秒**,为保障被检测视频的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;\n- 支持用户配置是否需要开启音频审核,若不开启则将仅对视频文件图像内容进行审核。\n\n### 直播视频流调用说明:\n\n- 视频流时长支持:**24小时以内**,超过需要重新推送审核任务;\n- 视频流分辨率支持:支持**1920x1080 (1080p)**,更高分辨率视频可以调用[直播云转码服务](https://cloud.tencent.com/document/product/267/39889)转码后再送审;\n- 视频流支持格式:rtmp,flv 等主流视频流编码格式。\n- 视频流支持的传输协议:HTTP/HTTPS/RTMP;\n- 支持用户配置是否需要开启音频审核,若不开启则将仅对视频流图像内容进行审核。\n\n### 直播断流处理说明:\n- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1265/80018)。\n- 如果直播任务取消/结束,则终止直播拉流并退出审核。\n- 在直播任务未取消或结束的情况下,若推流中断(例如 `Operation not permitted` 错误),审核服务将在 10分钟内持续尝试重新拉流。检测到有效的图片或音频数据,审核将自动恢复正常;否则,10分钟后终止拉流并退出审核。此时如有需要,请重新提交审核请求。对于因网络问题导致的拉流失败(如 `HTTP 404 Not Found` 错误),系统将进行最多 16次重试。若成功获取有效数据,审核流程即刻恢复;若所有重试均失败,则同样终止拉流并退出审核,需用户重新送审。",
|
12
12
|
"input": "CreateVideoModerationTaskRequest",
|
13
13
|
"name": "创建视频审核任务",
|
14
14
|
"output": "CreateVideoModerationTaskResponse",
|
@@ -492,32 +492,29 @@
|
|
492
492
|
{
|
493
493
|
"disabled": false,
|
494
494
|
"document": "腾讯云对象存储,存储桶名称",
|
495
|
-
"example": "
|
495
|
+
"example": "cmsop-appid",
|
496
496
|
"member": "string",
|
497
497
|
"name": "Bucket",
|
498
498
|
"required": true,
|
499
|
-
"type": "string"
|
500
|
-
"value_allowed_null": false
|
499
|
+
"type": "string"
|
501
500
|
},
|
502
501
|
{
|
503
502
|
"disabled": false,
|
504
503
|
"document": "地域",
|
505
|
-
"example": "
|
504
|
+
"example": "ap-guangzhou",
|
506
505
|
"member": "string",
|
507
506
|
"name": "Region",
|
508
507
|
"required": true,
|
509
|
-
"type": "string"
|
510
|
-
"value_allowed_null": false
|
508
|
+
"type": "string"
|
511
509
|
},
|
512
510
|
{
|
513
511
|
"disabled": false,
|
514
512
|
"document": "对象Key",
|
515
|
-
"example": "
|
513
|
+
"example": "/audioDate/20240101/cmsop-audio.mp4",
|
516
514
|
"member": "string",
|
517
515
|
"name": "Object",
|
518
516
|
"required": true,
|
519
|
-
"type": "string"
|
520
|
-
"value_allowed_null": false
|
517
|
+
"type": "string"
|
521
518
|
}
|
522
519
|
],
|
523
520
|
"usage": "in"
|
@@ -581,7 +578,7 @@
|
|
581
578
|
},
|
582
579
|
{
|
583
580
|
"disabled": false,
|
584
|
-
"document": "
|
581
|
+
"document": "可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1265/104001#42dd87d2-580f-46cf-a953-639a787d1eda)。",
|
585
582
|
"example": "sfsfsderwerwe",
|
586
583
|
"member": "string",
|
587
584
|
"name": "Seed",
|
@@ -591,7 +588,7 @@
|
|
591
588
|
{
|
592
589
|
"disabled": false,
|
593
590
|
"document": "接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段和画面截帧结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1265/104001)。",
|
594
|
-
"example": "
|
591
|
+
"example": "https://example.com/url",
|
595
592
|
"member": "string",
|
596
593
|
"name": "CallbackUrl",
|
597
594
|
"required": false,
|
@@ -1768,37 +1765,34 @@
|
|
1768
1765
|
"usage": "out"
|
1769
1766
|
},
|
1770
1767
|
"StorageInfo": {
|
1771
|
-
"document": "
|
1768
|
+
"document": "数据存储信息",
|
1772
1769
|
"members": [
|
1773
1770
|
{
|
1774
1771
|
"disabled": false,
|
1775
1772
|
"document": "类型 可选:\nURL 资源链接类型\nCOS 腾讯云对象存储类型",
|
1776
|
-
"example": "
|
1773
|
+
"example": "URL",
|
1777
1774
|
"member": "string",
|
1778
1775
|
"name": "Type",
|
1779
1776
|
"required": false,
|
1780
|
-
"type": "string"
|
1781
|
-
"value_allowed_null": false
|
1777
|
+
"type": "string"
|
1782
1778
|
},
|
1783
1779
|
{
|
1784
1780
|
"disabled": false,
|
1785
1781
|
"document": "资源链接",
|
1786
|
-
"example": "
|
1782
|
+
"example": "https://cmstest-123.cos.ap-guangzhou.myqcloud.com/audio.mp4",
|
1787
1783
|
"member": "string",
|
1788
1784
|
"name": "Url",
|
1789
1785
|
"required": false,
|
1790
|
-
"type": "string"
|
1791
|
-
"value_allowed_null": false
|
1786
|
+
"type": "string"
|
1792
1787
|
},
|
1793
1788
|
{
|
1794
1789
|
"disabled": false,
|
1795
1790
|
"document": "腾讯云存储桶信息",
|
1796
|
-
"example": "
|
1791
|
+
"example": "无",
|
1797
1792
|
"member": "BucketInfo",
|
1798
1793
|
"name": "BucketInfo",
|
1799
1794
|
"required": false,
|
1800
|
-
"type": "object"
|
1801
|
-
"value_allowed_null": false
|
1795
|
+
"type": "object"
|
1802
1796
|
}
|
1803
1797
|
],
|
1804
1798
|
"usage": "in"
|
@@ -2031,28 +2025,25 @@
|
|
2031
2025
|
"member": "string",
|
2032
2026
|
"name": "DataId",
|
2033
2027
|
"required": false,
|
2034
|
-
"type": "string"
|
2035
|
-
"value_allowed_null": false
|
2028
|
+
"type": "string"
|
2036
2029
|
},
|
2037
2030
|
{
|
2038
2031
|
"disabled": false,
|
2039
2032
|
"document": "任务名",
|
2040
|
-
"example": "
|
2033
|
+
"example": "cmsop",
|
2041
2034
|
"member": "string",
|
2042
2035
|
"name": "Name",
|
2043
2036
|
"required": false,
|
2044
|
-
"type": "string"
|
2045
|
-
"value_allowed_null": false
|
2037
|
+
"type": "string"
|
2046
2038
|
},
|
2047
2039
|
{
|
2048
2040
|
"disabled": false,
|
2049
2041
|
"document": "任务输入",
|
2050
|
-
"example": "
|
2042
|
+
"example": "无",
|
2051
2043
|
"member": "StorageInfo",
|
2052
2044
|
"name": "Input",
|
2053
2045
|
"required": false,
|
2054
|
-
"type": "object"
|
2055
|
-
"value_allowed_null": false
|
2046
|
+
"type": "object"
|
2056
2047
|
}
|
2057
2048
|
],
|
2058
2049
|
"usage": "in"
|
@@ -11,8 +11,8 @@
|
|
11
11
|
"CreateVideoModerationTask": [
|
12
12
|
{
|
13
13
|
"document": "创建视频审核任务",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: vm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVideoModerationTask\n<公共请求参数>\n\n{\n \"BizType\": \"
|
15
|
-
"output": "{\n \"Response\": {\n \"Results\": [\n {\n \"DataId\": \"0a782332-c9db-4cf5-a66e-20d60b4ea469\",\n \"TaskId\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: vm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVideoModerationTask\n<公共请求参数>\n\n{\n \"BizType\": \"default\",\n \"Type\": \"VIDEO\",\n \"Tasks\": [\n {\n \"DataId\": \"0a782332-c9db-4cf5-a66e-20d60b4ea469\",\n \"Input\": {\n \"Type\": \"URL\",\n \"Url\": \"https://test.myqcloud.com/test.mp4\"\n }\n }\n ]\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"Results\": [\n {\n \"DataId\": \"0a782332-c9db-4cf5-a66e-20d60b4ea469\",\n \"TaskId\": \"w-video-aqwfdNiA4vq3Zysfa1\",\n \"Code\": \"OK\",\n \"Message\": \"Success\"\n }\n ],\n \"RequestId\": \"c933aca1-90d2-4ab8-b045-f1b08069d76f\"\n }\n}",
|
16
16
|
"title": "创建视频审核任务"
|
17
17
|
}
|
18
18
|
],
|