tccli 3.0.1397.1__py2.py3-none-any.whl → 3.0.1399.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/ccc/v20200210/api.json +33 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +76 -14
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdwpg/v20201230/api.json +11 -1
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/dbbrain/dbbrain_client.py +114 -61
- tccli/services/dbbrain/v20191016/api.json +63 -61
- tccli/services/dbbrain/v20210527/api.json +324 -163
- tccli/services/dbbrain/v20210527/examples.json +11 -3
- 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/dts/v20180330/api.json +4 -4
- tccli/services/dts/v20211206/api.json +54 -54
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +118 -3
- tccli/services/essbasic/v20210526/api.json +117 -2
- tccli/services/ioa/v20220601/api.json +11 -0
- tccli/services/lke/v20231130/api.json +162 -36
- tccli/services/lke/v20231130/examples.json +20 -20
- tccli/services/mongodb/v20190725/api.json +322 -313
- tccli/services/mongodb/v20190725/examples.json +17 -17
- tccli/services/monitor/v20180724/api.json +5 -4
- tccli/services/monitor/v20180724/examples.json +8 -2
- tccli/services/redis/v20180412/api.json +13 -13
- tccli/services/rum/v20210622/api.json +4 -4
- tccli/services/rum/v20210622/examples.json +2 -2
- tccli/services/teo/teo_client.py +166 -7
- tccli/services/teo/v20220901/api.json +341 -0
- tccli/services/teo/v20220901/examples.json +27 -3
- tccli/services/tke/v20180525/api.json +6 -6
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +19 -0
- {tccli-3.0.1397.1.dist-info → tccli-3.0.1399.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1397.1.dist-info → tccli-3.0.1399.1.dist-info}/RECORD +41 -41
- {tccli-3.0.1397.1.dist-info → tccli-3.0.1399.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1397.1.dist-info → tccli-3.0.1399.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1397.1.dist-info → tccli-3.0.1399.1.dist-info}/license_files/LICENSE +0 -0
@@ -43,7 +43,7 @@
|
|
43
43
|
"CloseAuditService": [
|
44
44
|
{
|
45
45
|
"document": "不使用审计日志时,关闭数据库审计",
|
46
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action= DescribeAuditInstanceList\n&Product=dcdb\n&NodeRequestType=dcdb\n&InstanceId=
|
46
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action= DescribeAuditInstanceList\n&Product=dcdb\n&NodeRequestType=dcdb\n&InstanceId=tdsqlshard-1i9nzc30\n&<公共请求参数>",
|
47
47
|
"output": "{\n \"Response\": {\n \"TaskId\": 0,\n \"RequestId\": \"b39db780-0b49-11ee-8525-17d65d16bdaf\"\n }\n}",
|
48
48
|
"title": "关闭数据库审计"
|
49
49
|
}
|
@@ -344,6 +344,14 @@
|
|
344
344
|
"title": "获取邮件配置"
|
345
345
|
}
|
346
346
|
],
|
347
|
+
"DescribeMetricTopProxies": [
|
348
|
+
{
|
349
|
+
"document": "获取redis proxy 指标",
|
350
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMetricTopProxies\n<公共请求参数>\n\n{\n \"StartTime\": \"2025-09-03T10:41:59+08:00\",\n \"EndTime\": \"2025-09-03T10:41:59+08:00\",\n \"InstanceId\": \"crs-qjdkzsat\",\n \"Product\": \"redis\",\n \"Metric\": \"connections\",\n \"Limit\": 10\n}",
|
351
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Host\": \"30.86.245.14\",\n \"InstanceProxyId\": \"149c8a81e5321ebab810a5da07c298c764311c43\",\n \"Port\": 8461,\n \"Series\": [\n {\n \"Metric\": \"cpu_util\",\n \"Unit\": \"%\",\n \"Values\": [\n 0.4\n ]\n }\n ],\n \"Timestamp\": [\n 1758183175\n ],\n \"Value\": 1.33\n }\n ],\n \"RequestId\": \"afc81d5e-499a-4800-b032-442fc0c4b7eb\"\n }\n}",
|
352
|
+
"title": "DescribeMetricTopProxies test case"
|
353
|
+
}
|
354
|
+
],
|
347
355
|
"DescribeMySqlProcessList": [
|
348
356
|
{
|
349
357
|
"document": "",
|
@@ -427,7 +435,7 @@
|
|
427
435
|
"DescribeRedisTopBigKeys": [
|
428
436
|
{
|
429
437
|
"document": "",
|
430
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeRedisTopBigKeys\n&InstanceId=
|
438
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeRedisTopBigKeys\n&InstanceId=crs-occia4d6\n&Date=2022-04-12\n&Product=redis\n&<公共请求参数>",
|
431
439
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8108c1c0-bbcc-11ec-adb9-eb9c1358e03a\",\n \"TopKeys\": [\n {\n \"ShardId\": \"1\",\n \"Type\": \"set\",\n \"AveElementSize\": 15894,\n \"Length\": 93542932,\n \"ItemCount\": 4999,\n \"Encoding\": \"skiplist\",\n \"ExpireTime\": 0,\n \"MaxElementSize\": 34431,\n \"Key\": \"test-key\"\n }\n ],\n \"Timestamp\": 162072183\n }\n}",
|
432
440
|
"title": "查询redis实例大key列表"
|
433
441
|
}
|
@@ -655,7 +663,7 @@
|
|
655
663
|
"UpdateMonitorSwitch": [
|
656
664
|
{
|
657
665
|
"document": "更新Agent实例状态(停止或者重连实例)",
|
658
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=UpdateMonitorSwitch\n&Switch=on\n&InstanceId=mysql-069yc1dda\n&Product=
|
666
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=UpdateMonitorSwitch\n&Switch=on\n&InstanceId=mysql-069yc1dda\n&Product=dbbrain-mysql\n&<公共请求参数>",
|
659
667
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b49053b9-f21c-40ec-a1ce-d1a5fae5193f\"\n }\n}",
|
660
668
|
"title": "更新Agent实例状态"
|
661
669
|
}
|
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
|
],
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
10
|
"CompleteMigrateJob": {
|
11
|
-
"document": "本接口(CompleteMigrateJob)用于完成数据迁移任务。\n选择采用增量迁移方式的任务, 需要在迁移进度进入准备完成阶段后, 调用本接口, 停止迁移增量数据。\n通过DescribeMigrateJobs接口查询到任务的状态为准备完成(status=8
|
11
|
+
"document": "本接口(CompleteMigrateJob)用于完成数据迁移任务。\n选择采用增量迁移方式的任务, 需要在迁移进度进入准备完成阶段后, 调用本接口, 停止迁移增量数据。\n通过DescribeMigrateJobs接口查询到任务的状态为准备完成(status=8)时,此时可以调用本接口完成迁移任务。",
|
12
12
|
"input": "CompleteMigrateJobRequest",
|
13
13
|
"name": "完成数据迁移任务",
|
14
14
|
"output": "CompleteMigrateJobResponse",
|
@@ -141,7 +141,7 @@
|
|
141
141
|
"status": "online"
|
142
142
|
},
|
143
143
|
"StartMigrateJob": {
|
144
|
-
"document": "本接口(
|
144
|
+
"document": "本接口(StartMigrateJob)用于启动迁移任务。非定时迁移任务会在调用后立即开始迁移,定时任务则会开始倒计时。\n调用此接口前,请务必先使用CreateMigrateCheckJob校验数据迁移任务,并通过DescribeMigrateJobs接口查询到任务状态为校验通过(status=4)时,才能启动数据迁移任务。",
|
145
145
|
"input": "StartMigrateJobRequest",
|
146
146
|
"name": "启动数据迁移任务",
|
147
147
|
"output": "StartMigrateJobResponse",
|
@@ -249,7 +249,7 @@
|
|
249
249
|
"members": [
|
250
250
|
{
|
251
251
|
"disabled": false,
|
252
|
-
"document": "数据迁移任务ID",
|
252
|
+
"document": "数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。\n",
|
253
253
|
"example": "dts-1kl0iy0v",
|
254
254
|
"member": "string",
|
255
255
|
"name": "JobId",
|
@@ -2399,7 +2399,7 @@
|
|
2399
2399
|
"members": [
|
2400
2400
|
{
|
2401
2401
|
"disabled": false,
|
2402
|
-
"document": "数据迁移任务ID",
|
2402
|
+
"document": "数据迁移任务ID,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。\n",
|
2403
2403
|
"example": "dts-1kl0iy0v",
|
2404
2404
|
"member": "string",
|
2405
2405
|
"name": "JobId",
|