tccli 3.0.1396.1__py2.py3-none-any.whl → 3.0.1398.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/cls/v20201016/api.json +6 -6
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +206 -24
- tccli/services/dlc/v20210125/examples.json +11 -3
- tccli/services/ess/v20201111/api.json +24 -24
- tccli/services/iai/v20180301/api.json +63 -65
- tccli/services/iai/v20200303/api.json +1 -1
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/lcic/v20220817/api.json +2 -2
- tccli/services/lkeap/v20240522/api.json +37 -10
- tccli/services/tcb/v20180608/api.json +1 -1
- tccli/services/tcss/v20201101/api.json +9 -9
- tccli/services/trtc/v20190722/api.json +47 -8
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/waf/v20180125/api.json +8 -8
- {tccli-3.0.1396.1.dist-info → tccli-3.0.1398.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1396.1.dist-info → tccli-3.0.1398.1.dist-info}/RECORD +22 -22
- {tccli-3.0.1396.1.dist-info → tccli-3.0.1398.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1396.1.dist-info → tccli-3.0.1398.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1396.1.dist-info → tccli-3.0.1398.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1398.1'
|
@@ -4463,7 +4463,7 @@
|
|
4463
4463
|
{
|
4464
4464
|
"disabled": false,
|
4465
4465
|
"document": "用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。",
|
4466
|
-
"example": "\"{\\\"processors\\\":[{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"Delimiter\\\":\\\",\\\",\\\"ExtractKeys\\\":[\\\"time\\\",\\\"msg1\\\",\\\"msg2\\\"]}]}\"",
|
4466
|
+
"example": "\"{\\\"processors\\\":[{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"Delimiter\\\":\\\",\\\",\\\"ExtractKeys\\\":[\\\"time\\\",\\\"msg1\\\",\\\"msg2\\\"]}}]}\"",
|
4467
4467
|
"member": "string",
|
4468
4468
|
"name": "UserDefineRule",
|
4469
4469
|
"required": false,
|
@@ -12736,7 +12736,7 @@
|
|
12736
12736
|
{
|
12737
12737
|
"disabled": false,
|
12738
12738
|
"document": "用户自定义解析字符串,Json格式序列化的字符串。",
|
12739
|
-
"example": "\"{\\\"processors\\\":[{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"Delimiter\\\":\\\",\\\",\\\"ExtractKeys\\\":[\\\"time\\\",\\\"msg1\\\",\\\"msg2\\\"]}]}\"",
|
12739
|
+
"example": "\"{\\\"processors\\\":[{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"Delimiter\\\":\\\",\\\",\\\"ExtractKeys\\\":[\\\"time\\\",\\\"msg1\\\",\\\"msg2\\\"]}}]}\"",
|
12740
12740
|
"member": "string",
|
12741
12741
|
"name": "UserDefineRule",
|
12742
12742
|
"required": false,
|
@@ -13554,7 +13554,7 @@
|
|
13554
13554
|
"members": [
|
13555
13555
|
{
|
13556
13556
|
"disabled": false,
|
13557
|
-
"document": "通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)
|
13557
|
+
"document": "通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模板ID",
|
13558
13558
|
"example": "noticetemplate-5b2ea996-4dae-47cc-bbad-5b12888b4c89",
|
13559
13559
|
"member": "string",
|
13560
13560
|
"name": "NoticeContentId",
|
@@ -14084,7 +14084,7 @@
|
|
14084
14084
|
"members": [
|
14085
14085
|
{
|
14086
14086
|
"disabled": false,
|
14087
|
-
"document": "
|
14087
|
+
"document": "腾讯云可观测平台通知模板 ID",
|
14088
14088
|
"example": "notice-erictest",
|
14089
14089
|
"member": "string",
|
14090
14090
|
"name": "NoticeId",
|
@@ -14095,7 +14095,7 @@
|
|
14095
14095
|
},
|
14096
14096
|
{
|
14097
14097
|
"disabled": false,
|
14098
|
-
"document": "
|
14098
|
+
"document": "腾讯云可观测平台内容模板ID,不传默认内容模板\n注意:此字段可能返回 null,表示取不到有效值。",
|
14099
14099
|
"example": "tmpl-erictest",
|
14100
14100
|
"member": "string",
|
14101
14101
|
"name": "ContentTmplId",
|
@@ -15631,7 +15631,7 @@
|
|
15631
15631
|
},
|
15632
15632
|
{
|
15633
15633
|
"disabled": false,
|
15634
|
-
"document": "状态。\n- 0:成功\n- 10000:参数错误,请确认参数\n- 10001:授权失败,请确认授权\n- 10002
|
15634
|
+
"document": "状态。\n- 0:成功\n- 10000:参数错误,请确认参数\n- 10001:授权失败,请确认授权\n- 10002:获取文件列表失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。\n- 10003:桶内无相应前缀文件,请使用正确的桶、文件前缀和压缩方式\n- 10004:文件下载失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。\n- 10005:文件解压缩失败,请选择正确的压缩方式然后再试\n- 10006:读取文件内容失败,请确认文件可读\n- 10007:文件预览失败,请稍后再试。若无法解决,请咨询 [在线支持](https://cloud.tencent.com/online-service) 或 [提交工单](https://console.cloud.tencent.com/workorder/category?level1_id=83&level2_id=469&source=14&data_title=%E6%97%A5%E5%BF%97%E6%9C%8D%E5%8A%A1&step=1) 处理。",
|
15635
15635
|
"example": "0",
|
15636
15636
|
"member": "int64",
|
15637
15637
|
"name": "Status",
|
@@ -905,7 +905,7 @@
|
|
905
905
|
"ModifyWebCallback": [
|
906
906
|
{
|
907
907
|
"document": "修改告警渠道回调配置",
|
908
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebCallback\n<公共请求参数>\n\n{\n \"WebCallbackId\": \"webcallback-d20a21f7-xxxx-xxxx-ba1b-1aa49be5fed1\",\n \"Name\": \"监控告警专用\",\n \"Type\": \"Http\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POST\"
|
908
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebCallback\n<公共请求参数>\n\n{\n \"WebCallbackId\": \"webcallback-d20a21f7-xxxx-xxxx-ba1b-1aa49be5fed1\",\n \"Name\": \"监控告警专用\",\n \"Type\": \"Http\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POST\"\n}",
|
909
909
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-xxxx-xxxx-ba1b-1aa49be5fed1\"\n }\n}",
|
910
910
|
"title": "修改告警渠道回调配置"
|
911
911
|
}
|
tccli/services/dlc/dlc_client.py
CHANGED
@@ -5113,6 +5113,58 @@ def doDeleteSparkApp(args, parsed_globals):
|
|
5113
5113
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5114
5114
|
|
5115
5115
|
|
5116
|
+
def doDescribeTaskResourceUsage(args, parsed_globals):
|
5117
|
+
g_param = parse_global_arg(parsed_globals)
|
5118
|
+
|
5119
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5120
|
+
cred = credential.CVMRoleCredential()
|
5121
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5122
|
+
cred = credential.STSAssumeRoleCredential(
|
5123
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5124
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5125
|
+
)
|
5126
|
+
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):
|
5127
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5128
|
+
else:
|
5129
|
+
cred = credential.Credential(
|
5130
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5131
|
+
)
|
5132
|
+
http_profile = HttpProfile(
|
5133
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5134
|
+
reqMethod="POST",
|
5135
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5136
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5137
|
+
)
|
5138
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5139
|
+
if g_param[OptionsDefine.Language]:
|
5140
|
+
profile.language = g_param[OptionsDefine.Language]
|
5141
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5142
|
+
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
5143
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5144
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5145
|
+
model = models.DescribeTaskResourceUsageRequest()
|
5146
|
+
model.from_json_string(json.dumps(args))
|
5147
|
+
start_time = time.time()
|
5148
|
+
while True:
|
5149
|
+
rsp = client.DescribeTaskResourceUsage(model)
|
5150
|
+
result = rsp.to_json_string()
|
5151
|
+
try:
|
5152
|
+
json_obj = json.loads(result)
|
5153
|
+
except TypeError as e:
|
5154
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5155
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5156
|
+
break
|
5157
|
+
cur_time = time.time()
|
5158
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5159
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5160
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5161
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5162
|
+
else:
|
5163
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5164
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5165
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5166
|
+
|
5167
|
+
|
5116
5168
|
def doDescribeDataEngineSessionParameters(args, parsed_globals):
|
5117
5169
|
g_param = parse_global_arg(parsed_globals)
|
5118
5170
|
|
@@ -9538,6 +9590,7 @@ ACTION_MAP = {
|
|
9538
9590
|
"CancelNotebookSessionStatementBatch": doCancelNotebookSessionStatementBatch,
|
9539
9591
|
"CheckDataEngineImageCanBeUpgrade": doCheckDataEngineImageCanBeUpgrade,
|
9540
9592
|
"DeleteSparkApp": doDeleteSparkApp,
|
9593
|
+
"DescribeTaskResourceUsage": doDescribeTaskResourceUsage,
|
9541
9594
|
"DescribeDataEngineSessionParameters": doDescribeDataEngineSessionParameters,
|
9542
9595
|
"DescribeNotebookSessionLog": doDescribeNotebookSessionLog,
|
9543
9596
|
"DescribeTasksCostInfo": doDescribeTasksCostInfo,
|
@@ -805,6 +805,13 @@
|
|
805
805
|
"output": "DescribeTaskMonitorInfosResponse",
|
806
806
|
"status": "online"
|
807
807
|
},
|
808
|
+
"DescribeTaskResourceUsage": {
|
809
|
+
"document": "返回任务洞察资源用量",
|
810
|
+
"input": "DescribeTaskResourceUsageRequest",
|
811
|
+
"name": "任务资源用量信息",
|
812
|
+
"output": "DescribeTaskResourceUsageResponse",
|
813
|
+
"status": "online"
|
814
|
+
},
|
808
815
|
"DescribeTaskResult": {
|
809
816
|
"document": "查询任务结果,仅支持30天以内的任务查询结果,且返回数据大小超过近50M会进行截断。",
|
810
817
|
"input": "DescribeTaskResultRequest",
|
@@ -3244,6 +3251,34 @@
|
|
3244
3251
|
],
|
3245
3252
|
"usage": "out"
|
3246
3253
|
},
|
3254
|
+
"CoreInfo": {
|
3255
|
+
"document": "任务 core 用量信息",
|
3256
|
+
"members": [
|
3257
|
+
{
|
3258
|
+
"disabled": false,
|
3259
|
+
"document": "时间戳(毫秒)数组",
|
3260
|
+
"example": "[1749193814000]",
|
3261
|
+
"member": "int64",
|
3262
|
+
"name": "Timestamp",
|
3263
|
+
"output_required": false,
|
3264
|
+
"required": false,
|
3265
|
+
"type": "list",
|
3266
|
+
"value_allowed_null": false
|
3267
|
+
},
|
3268
|
+
{
|
3269
|
+
"disabled": false,
|
3270
|
+
"document": "core 用量",
|
3271
|
+
"example": "[1,1]",
|
3272
|
+
"member": "int64",
|
3273
|
+
"name": "CoreUsage",
|
3274
|
+
"output_required": false,
|
3275
|
+
"required": false,
|
3276
|
+
"type": "list",
|
3277
|
+
"value_allowed_null": false
|
3278
|
+
}
|
3279
|
+
],
|
3280
|
+
"usage": "both"
|
3281
|
+
},
|
3247
3282
|
"CosPermission": {
|
3248
3283
|
"document": "cos权限描述",
|
3249
3284
|
"members": [
|
@@ -3922,6 +3957,16 @@
|
|
3922
3957
|
"CreateDataMaskStrategyResponse": {
|
3923
3958
|
"document": "CreateDataMaskStrategy返回参数结构体",
|
3924
3959
|
"members": [
|
3960
|
+
{
|
3961
|
+
"disabled": false,
|
3962
|
+
"document": "策略id",
|
3963
|
+
"example": "71a88499-266f-4b24-9944-2d80078ec0a6",
|
3964
|
+
"member": "string",
|
3965
|
+
"name": "StrategyId",
|
3966
|
+
"output_required": false,
|
3967
|
+
"type": "string",
|
3968
|
+
"value_allowed_null": false
|
3969
|
+
},
|
3925
3970
|
{
|
3926
3971
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3927
3972
|
"member": "string",
|
@@ -5277,7 +5322,7 @@
|
|
5277
5322
|
{
|
5278
5323
|
"disabled": false,
|
5279
5324
|
"document": "标准引擎资源组名称",
|
5280
|
-
"example": "
|
5325
|
+
"example": "rg-demo",
|
5281
5326
|
"member": "string",
|
5282
5327
|
"name": "EngineResourceGroupName",
|
5283
5328
|
"required": true,
|
@@ -5286,7 +5331,7 @@
|
|
5286
5331
|
{
|
5287
5332
|
"disabled": false,
|
5288
5333
|
"document": "标准引擎名称",
|
5289
|
-
"example": "
|
5334
|
+
"example": "house-demo",
|
5290
5335
|
"member": "string",
|
5291
5336
|
"name": "DataEngineName",
|
5292
5337
|
"required": true,
|
@@ -5295,7 +5340,7 @@
|
|
5295
5340
|
{
|
5296
5341
|
"disabled": false,
|
5297
5342
|
"document": "自动启动,(任务提交自动拉起资源组)0-自动启动,1-不自动启动",
|
5298
|
-
"example": "
|
5343
|
+
"example": "0",
|
5299
5344
|
"member": "int64",
|
5300
5345
|
"name": "AutoLaunch",
|
5301
5346
|
"required": false,
|
@@ -5304,7 +5349,7 @@
|
|
5304
5349
|
{
|
5305
5350
|
"disabled": false,
|
5306
5351
|
"document": "自动挂起资源组。0-自动挂起,1-不自动挂起",
|
5307
|
-
"example": "
|
5352
|
+
"example": "0",
|
5308
5353
|
"member": "int64",
|
5309
5354
|
"name": "AutoPause",
|
5310
5355
|
"required": false,
|
@@ -5313,7 +5358,7 @@
|
|
5313
5358
|
{
|
5314
5359
|
"disabled": false,
|
5315
5360
|
"document": "driver的cu规格:\n当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu),内存型cu为cpu:men=1:8,m.small(1cu内存型)、m.medium(2cu内存型)、m.large(4cu内存型)、m.xlarge(8cu内存型)",
|
5316
|
-
"example": "
|
5361
|
+
"example": "2",
|
5317
5362
|
"member": "string",
|
5318
5363
|
"name": "DriverCuSpec",
|
5319
5364
|
"required": false,
|
@@ -5322,7 +5367,7 @@
|
|
5322
5367
|
{
|
5323
5368
|
"disabled": false,
|
5324
5369
|
"document": "executor的cu规格:\n当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu),内存型cu为cpu:men=1:8,m.small(1cu内存型)、m.medium(2cu内存型)、m.large(4cu内存型)、m.xlarge(8cu内存型)",
|
5325
|
-
"example": "
|
5370
|
+
"example": "16",
|
5326
5371
|
"member": "string",
|
5327
5372
|
"name": "ExecutorCuSpec",
|
5328
5373
|
"required": false,
|
@@ -5331,7 +5376,7 @@
|
|
5331
5376
|
{
|
5332
5377
|
"disabled": false,
|
5333
5378
|
"document": "executor最小数量,",
|
5334
|
-
"example": "
|
5379
|
+
"example": "1",
|
5335
5380
|
"member": "int64",
|
5336
5381
|
"name": "MinExecutorNums",
|
5337
5382
|
"required": false,
|
@@ -5340,7 +5385,7 @@
|
|
5340
5385
|
{
|
5341
5386
|
"disabled": false,
|
5342
5387
|
"document": "executor最大数量",
|
5343
|
-
"example": "
|
5388
|
+
"example": "1",
|
5344
5389
|
"member": "int64",
|
5345
5390
|
"name": "MaxExecutorNums",
|
5346
5391
|
"required": false,
|
@@ -5349,7 +5394,7 @@
|
|
5349
5394
|
{
|
5350
5395
|
"disabled": false,
|
5351
5396
|
"document": "创建资源组后是否直接拉起,0-拉起,1-不拉起",
|
5352
|
-
"example": "
|
5397
|
+
"example": "1",
|
5353
5398
|
"member": "int64",
|
5354
5399
|
"name": "IsLaunchNow",
|
5355
5400
|
"required": false,
|
@@ -5358,7 +5403,7 @@
|
|
5358
5403
|
{
|
5359
5404
|
"disabled": false,
|
5360
5405
|
"document": "自动挂起时间,单位分钟,取值范围在1-999(在无任务AutoPauseTime后,资源组自动挂起)",
|
5361
|
-
"example": "
|
5406
|
+
"example": "1",
|
5362
5407
|
"member": "int64",
|
5363
5408
|
"name": "AutoPauseTime",
|
5364
5409
|
"required": false,
|
@@ -5385,7 +5430,7 @@
|
|
5385
5430
|
{
|
5386
5431
|
"disabled": false,
|
5387
5432
|
"document": "任务并发数,默人是5个",
|
5388
|
-
"example": "
|
5433
|
+
"example": "1",
|
5389
5434
|
"member": "int64",
|
5390
5435
|
"name": "MaxConcurrency",
|
5391
5436
|
"required": false,
|
@@ -5394,7 +5439,7 @@
|
|
5394
5439
|
{
|
5395
5440
|
"disabled": false,
|
5396
5441
|
"document": "网络配置名称",
|
5397
|
-
"example": "
|
5442
|
+
"example": "[\"connectionName\"]",
|
5398
5443
|
"member": "string",
|
5399
5444
|
"name": "NetworkConfigNames",
|
5400
5445
|
"required": false,
|
@@ -5439,7 +5484,7 @@
|
|
5439
5484
|
{
|
5440
5485
|
"disabled": false,
|
5441
5486
|
"document": "镜像名称",
|
5442
|
-
"example": "image-xxx",
|
5487
|
+
"example": "image-xxx,若使用内置镜像,即ImageType为bulit-in,则不同框架对应的ImageName为machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0 python: python-v3.10 spark-m: Standard-S 1.1",
|
5443
5488
|
"member": "string",
|
5444
5489
|
"name": "ImageName",
|
5445
5490
|
"required": false,
|
@@ -5507,6 +5552,51 @@
|
|
5507
5552
|
"name": "SparkSize",
|
5508
5553
|
"required": false,
|
5509
5554
|
"type": "int"
|
5555
|
+
},
|
5556
|
+
{
|
5557
|
+
"disabled": false,
|
5558
|
+
"document": "GPUDriver规格",
|
5559
|
+
"example": "1",
|
5560
|
+
"member": "int64",
|
5561
|
+
"name": "DriverGPUSpec",
|
5562
|
+
"required": false,
|
5563
|
+
"type": "int"
|
5564
|
+
},
|
5565
|
+
{
|
5566
|
+
"disabled": false,
|
5567
|
+
"document": "GPUExecutor规格",
|
5568
|
+
"example": "1",
|
5569
|
+
"member": "int64",
|
5570
|
+
"name": "ExecutorGPUSpec",
|
5571
|
+
"required": false,
|
5572
|
+
"type": "int"
|
5573
|
+
},
|
5574
|
+
{
|
5575
|
+
"disabled": false,
|
5576
|
+
"document": "GPU上限",
|
5577
|
+
"example": "1",
|
5578
|
+
"member": "int64",
|
5579
|
+
"name": "GPULimitSize",
|
5580
|
+
"required": false,
|
5581
|
+
"type": "int"
|
5582
|
+
},
|
5583
|
+
{
|
5584
|
+
"disabled": false,
|
5585
|
+
"document": "GPU规格",
|
5586
|
+
"example": "1",
|
5587
|
+
"member": "int64",
|
5588
|
+
"name": "GPUSize",
|
5589
|
+
"required": false,
|
5590
|
+
"type": "int"
|
5591
|
+
},
|
5592
|
+
{
|
5593
|
+
"disabled": false,
|
5594
|
+
"document": "Pod GPU规格上限",
|
5595
|
+
"example": "1",
|
5596
|
+
"member": "int64",
|
5597
|
+
"name": "PythonGPUSpec",
|
5598
|
+
"required": false,
|
5599
|
+
"type": "int"
|
5510
5600
|
}
|
5511
5601
|
],
|
5512
5602
|
"type": "object"
|
@@ -5819,7 +5909,7 @@
|
|
5819
5909
|
{
|
5820
5910
|
"disabled": false,
|
5821
5911
|
"document": "任务Id集合,按照执行顺序排列",
|
5822
|
-
"example": "[
|
5912
|
+
"example": "[\"esjkdss-23sdask-essadaa-dsalooe2\"]",
|
5823
5913
|
"member": "string",
|
5824
5914
|
"name": "TaskIdSet",
|
5825
5915
|
"output_required": true,
|
@@ -6106,7 +6196,7 @@
|
|
6106
6196
|
{
|
6107
6197
|
"disabled": false,
|
6108
6198
|
"document": "需要绑定到工作组的用户Id集合",
|
6109
|
-
"example": "[\"
|
6199
|
+
"example": "[\"213609\",\"214508\"]",
|
6110
6200
|
"member": "string",
|
6111
6201
|
"name": "UserIds",
|
6112
6202
|
"required": false,
|
@@ -13753,6 +13843,43 @@
|
|
13753
13843
|
],
|
13754
13844
|
"type": "object"
|
13755
13845
|
},
|
13846
|
+
"DescribeTaskResourceUsageRequest": {
|
13847
|
+
"document": "DescribeTaskResourceUsage请求参数结构体",
|
13848
|
+
"members": [
|
13849
|
+
{
|
13850
|
+
"disabled": false,
|
13851
|
+
"document": "任务 id",
|
13852
|
+
"example": "87edc6a2-94a2-47fb-8044-3fdda2243c01",
|
13853
|
+
"member": "string",
|
13854
|
+
"name": "TaskInstanceId",
|
13855
|
+
"required": true,
|
13856
|
+
"type": "string"
|
13857
|
+
}
|
13858
|
+
],
|
13859
|
+
"type": "object"
|
13860
|
+
},
|
13861
|
+
"DescribeTaskResourceUsageResponse": {
|
13862
|
+
"document": "DescribeTaskResourceUsage返回参数结构体",
|
13863
|
+
"members": [
|
13864
|
+
{
|
13865
|
+
"disabled": false,
|
13866
|
+
"document": "core 用量信息",
|
13867
|
+
"example": "无",
|
13868
|
+
"member": "CoreInfo",
|
13869
|
+
"name": "CoreInfo",
|
13870
|
+
"output_required": false,
|
13871
|
+
"type": "object",
|
13872
|
+
"value_allowed_null": false
|
13873
|
+
},
|
13874
|
+
{
|
13875
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13876
|
+
"member": "string",
|
13877
|
+
"name": "RequestId",
|
13878
|
+
"type": "string"
|
13879
|
+
}
|
13880
|
+
],
|
13881
|
+
"type": "object"
|
13882
|
+
},
|
13756
13883
|
"DescribeTaskResultRequest": {
|
13757
13884
|
"document": "DescribeTaskResult请求参数结构体",
|
13758
13885
|
"members": [
|
@@ -17743,7 +17870,7 @@
|
|
17743
17870
|
{
|
17744
17871
|
"disabled": false,
|
17745
17872
|
"document": "用户Id,和CAM侧Uin匹配",
|
17746
|
-
"example": "
|
17873
|
+
"example": "1000xxxx8195",
|
17747
17874
|
"member": "string",
|
17748
17875
|
"name": "UserId",
|
17749
17876
|
"required": true,
|
@@ -23471,12 +23598,22 @@
|
|
23471
23598
|
{
|
23472
23599
|
"disabled": false,
|
23473
23600
|
"document": "获取结果消耗的时间",
|
23474
|
-
"example": "150",
|
23601
|
+
"example": "150.1",
|
23475
23602
|
"member": "float",
|
23476
23603
|
"name": "QueryResultTime",
|
23477
23604
|
"output_required": false,
|
23478
23605
|
"type": "float",
|
23479
23606
|
"value_allowed_null": false
|
23607
|
+
},
|
23608
|
+
{
|
23609
|
+
"disabled": false,
|
23610
|
+
"document": "base64 编码结果集",
|
23611
|
+
"example": "fd19j9u1jc1j",
|
23612
|
+
"member": "string",
|
23613
|
+
"name": "ResultSetEncode",
|
23614
|
+
"output_required": false,
|
23615
|
+
"type": "string",
|
23616
|
+
"value_allowed_null": false
|
23480
23617
|
}
|
23481
23618
|
],
|
23482
23619
|
"usage": "out"
|
@@ -23761,7 +23898,7 @@
|
|
23761
23898
|
{
|
23762
23899
|
"disabled": false,
|
23763
23900
|
"document": "网络配置名称",
|
23764
|
-
"example": "
|
23901
|
+
"example": "connection_tmp",
|
23765
23902
|
"member": "string",
|
23766
23903
|
"name": "NetworkConnectionName",
|
23767
23904
|
"required": false,
|
@@ -24316,7 +24453,7 @@
|
|
24316
24453
|
{
|
24317
24454
|
"disabled": false,
|
24318
24455
|
"document": "引擎资源组名称",
|
24319
|
-
"example": "
|
24456
|
+
"example": "rg-1",
|
24320
24457
|
"member": "string",
|
24321
24458
|
"name": "EngineResourceGroupName",
|
24322
24459
|
"required": true,
|
@@ -24325,7 +24462,7 @@
|
|
24325
24462
|
{
|
24326
24463
|
"disabled": false,
|
24327
24464
|
"document": "driver的cu规格:\n当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu),内存型cu为cpu:men=1:8,m.small(1cu内存型)、m.medium(2cu内存型)、m.large(4cu内存型)、m.xlarge(8cu内存型)",
|
24328
|
-
"example": "
|
24465
|
+
"example": "small",
|
24329
24466
|
"member": "string",
|
24330
24467
|
"name": "DriverCuSpec",
|
24331
24468
|
"required": false,
|
@@ -24334,7 +24471,7 @@
|
|
24334
24471
|
{
|
24335
24472
|
"disabled": false,
|
24336
24473
|
"document": "executor的cu规格:\n当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu),内存型cu为cpu:men=1:8,m.small(1cu内存型)、m.medium(2cu内存型)、m.large(4cu内存型)、m.xlarge(8cu内存型)",
|
24337
|
-
"example": "
|
24474
|
+
"example": "small",
|
24338
24475
|
"member": "string",
|
24339
24476
|
"name": "ExecutorCuSpec",
|
24340
24477
|
"required": false,
|
@@ -24343,7 +24480,7 @@
|
|
24343
24480
|
{
|
24344
24481
|
"disabled": false,
|
24345
24482
|
"document": "executor最小数量,",
|
24346
|
-
"example": "
|
24483
|
+
"example": "1",
|
24347
24484
|
"member": "int64",
|
24348
24485
|
"name": "MinExecutorNums",
|
24349
24486
|
"required": false,
|
@@ -24352,7 +24489,7 @@
|
|
24352
24489
|
{
|
24353
24490
|
"disabled": false,
|
24354
24491
|
"document": "executor最大数量",
|
24355
|
-
"example": "
|
24492
|
+
"example": "1",
|
24356
24493
|
"member": "int64",
|
24357
24494
|
"name": "MaxExecutorNums",
|
24358
24495
|
"required": false,
|
@@ -24361,7 +24498,7 @@
|
|
24361
24498
|
{
|
24362
24499
|
"disabled": false,
|
24363
24500
|
"document": "是否立即重启资源组生效,0--立即生效,1--只保持不重启生效",
|
24364
|
-
"example": "
|
24501
|
+
"example": "1",
|
24365
24502
|
"member": "int64",
|
24366
24503
|
"name": "IsEffectiveNow",
|
24367
24504
|
"required": false,
|
@@ -24465,6 +24602,51 @@
|
|
24465
24602
|
"name": "SparkSize",
|
24466
24603
|
"required": false,
|
24467
24604
|
"type": "int"
|
24605
|
+
},
|
24606
|
+
{
|
24607
|
+
"disabled": false,
|
24608
|
+
"document": "gpuDriver规格",
|
24609
|
+
"example": "1",
|
24610
|
+
"member": "int64",
|
24611
|
+
"name": "DriverGPUSpec",
|
24612
|
+
"required": false,
|
24613
|
+
"type": "int"
|
24614
|
+
},
|
24615
|
+
{
|
24616
|
+
"disabled": false,
|
24617
|
+
"document": "gpuExcutor 规格",
|
24618
|
+
"example": "1",
|
24619
|
+
"member": "int64",
|
24620
|
+
"name": "ExecutorGPUSpec",
|
24621
|
+
"required": false,
|
24622
|
+
"type": "int"
|
24623
|
+
},
|
24624
|
+
{
|
24625
|
+
"disabled": false,
|
24626
|
+
"document": "gpu 上限",
|
24627
|
+
"example": "1",
|
24628
|
+
"member": "int64",
|
24629
|
+
"name": "GPULimitSize",
|
24630
|
+
"required": false,
|
24631
|
+
"type": "int"
|
24632
|
+
},
|
24633
|
+
{
|
24634
|
+
"disabled": false,
|
24635
|
+
"document": "gpu 规格",
|
24636
|
+
"example": "1",
|
24637
|
+
"member": "int64",
|
24638
|
+
"name": "GPUSize",
|
24639
|
+
"required": false,
|
24640
|
+
"type": "int"
|
24641
|
+
},
|
24642
|
+
{
|
24643
|
+
"disabled": false,
|
24644
|
+
"document": "gpupod 规格",
|
24645
|
+
"example": "1",
|
24646
|
+
"member": "int64",
|
24647
|
+
"name": "PythonGPUSpec",
|
24648
|
+
"required": false,
|
24649
|
+
"type": "int"
|
24468
24650
|
}
|
24469
24651
|
],
|
24470
24652
|
"type": "object"
|
@@ -204,7 +204,7 @@
|
|
204
204
|
{
|
205
205
|
"document": "",
|
206
206
|
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDataMaskStrategy\n<公共请求参数>\n\n{\n \"Strategy\": {\n \"StrategyName\": \"create_data_mask_tag\",\n \"Groups\": [\n {\n \"WorkGroupId\": 46920,\n \"StrategyType\": \"MASK_HASH\"\n }\n ]\n }\n}",
|
207
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"812228c6-45c7-43a2-af77-c7e67dc0b524\"\n }\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"812228c6-45c7-43a2-af77-c7e67dc0b524\",\n \"StrategyId\": \"71a88499-266f-4b24-9944-2d80078ec0a6\"\n }\n}",
|
208
208
|
"title": "创建数据脱敏策略"
|
209
209
|
}
|
210
210
|
],
|
@@ -938,6 +938,14 @@
|
|
938
938
|
"title": "获取任务监控信息"
|
939
939
|
}
|
940
940
|
],
|
941
|
+
"DescribeTaskResourceUsage": [
|
942
|
+
{
|
943
|
+
"document": "",
|
944
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskResourceUsage\n<公共请求参数>\n\n{\n \"TaskInstanceId\": \"15eb48854c1c11f083e8525400e26adf\"\n}",
|
945
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"请求ID的值\",\n \"CoreInfo\": {\n \"Timestamp\": [\n 1750238853000\n ],\n \"CoreUsage\": [\n 1\n ]\n }\n }\n}",
|
946
|
+
"title": "任务洞察资源用量"
|
947
|
+
}
|
948
|
+
],
|
941
949
|
"DescribeTaskResult": [
|
942
950
|
{
|
943
951
|
"document": "查询任务结果,每次返回1000行数据",
|
@@ -1357,8 +1365,8 @@
|
|
1357
1365
|
"UnboundDatasourceHouse": [
|
1358
1366
|
{
|
1359
1367
|
"document": "",
|
1360
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnboundDatasourceHouse\n<公共请求参数>\n\n{\n \"NetworkConnectionName\": \"
|
1361
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1368
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnboundDatasourceHouse\n<公共请求参数>\n\n{\n \"NetworkConnectionName\": \"connection_tmp\"\n}",
|
1369
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"sjeisds-23dskda-ekdo2-dsaoe1-1erewr\"\n }\n}",
|
1362
1370
|
"title": "test"
|
1363
1371
|
}
|
1364
1372
|
],
|