tccli 3.0.1177.1__py2.py3-none-any.whl → 3.0.1179.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/antiddos/v20200309/api.json +10 -1
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/cdwdoris/cdwdoris_client.py +53 -0
- tccli/services/cdwdoris/v20211228/api.json +135 -11
- tccli/services/cdwdoris/v20211228/examples.json +13 -5
- tccli/services/cfg/v20210820/api.json +2 -2
- tccli/services/cloudstudio/v20230508/api.json +1 -0
- tccli/services/cls/v20201016/api.json +12 -1
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cwp/v20180228/api.json +80 -5
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/facefusion/v20220927/api.json +8 -8
- tccli/services/lke/v20231130/api.json +2 -2
- tccli/services/mna/v20210119/api.json +20 -0
- tccli/services/monitor/v20180724/api.json +25 -0
- tccli/services/mrs/v20200910/api.json +1 -0
- tccli/services/mrs/v20200910/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +12 -2
- tccli/services/ocr/v20181119/examples.json +4 -4
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +4 -4
- tccli/services/ssl/v20191205/api.json +4 -4
- tccli/services/tag/v20180813/api.json +103 -83
- tccli/services/tag/v20180813/examples.json +2 -2
- tccli/services/tmt/v20180321/api.json +2 -2
- tccli/services/vod/v20180717/api.json +14 -9
- {tccli-3.0.1177.1.dist-info → tccli-3.0.1179.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1177.1.dist-info → tccli-3.0.1179.1.dist-info}/RECORD +33 -33
- {tccli-3.0.1177.1.dist-info → tccli-3.0.1179.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1177.1.dist-info → tccli-3.0.1179.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1177.1.dist-info → tccli-3.0.1179.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1179.1'
|
@@ -1851,7 +1851,7 @@
|
|
1851
1851
|
},
|
1852
1852
|
{
|
1853
1853
|
"disabled": false,
|
1854
|
-
"document": "
|
1854
|
+
"document": "是否标准版2.0 0: 包含标准版2.0 1: 只查询标准版2.0 2: 不查标准版2.0\n注意:此字段可能返回 null,表示取不到有效值。",
|
1855
1855
|
"example": "1",
|
1856
1856
|
"member": "uint64",
|
1857
1857
|
"name": "PlanCntFlag",
|
@@ -4857,6 +4857,15 @@
|
|
4857
4857
|
"name": "Export",
|
4858
4858
|
"required": false,
|
4859
4859
|
"type": "bool"
|
4860
|
+
},
|
4861
|
+
{
|
4862
|
+
"disabled": false,
|
4863
|
+
"document": "源站,模糊查询",
|
4864
|
+
"example": "1.1.1.1:80",
|
4865
|
+
"member": "string",
|
4866
|
+
"name": "Source",
|
4867
|
+
"required": false,
|
4868
|
+
"type": "string"
|
4860
4869
|
}
|
4861
4870
|
],
|
4862
4871
|
"type": "object"
|
@@ -7273,6 +7273,16 @@
|
|
7273
7273
|
"type": "string",
|
7274
7274
|
"value_allowed_null": true
|
7275
7275
|
},
|
7276
|
+
{
|
7277
|
+
"disabled": false,
|
7278
|
+
"document": "AsrUrl的状态:Complete\n已完成;\nProcessing\n正在生成中;\nNotExists\n无记录(未开启生成离线asr或者无套餐包)\n注意:此字段可能返回 null,表示取不到有效值。",
|
7279
|
+
"example": "Complete",
|
7280
|
+
"member": "string",
|
7281
|
+
"name": "AsrStatus",
|
7282
|
+
"output_required": true,
|
7283
|
+
"type": "string",
|
7284
|
+
"value_allowed_null": true
|
7285
|
+
},
|
7276
7286
|
{
|
7277
7287
|
"disabled": false,
|
7278
7288
|
"document": "录音转存第三方COS地址\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -1473,6 +1473,58 @@ def doDeleteWorkloadGroup(args, parsed_globals):
|
|
1473
1473
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
1474
|
|
1475
1475
|
|
1476
|
+
def doModifyClusterConfigs(args, parsed_globals):
|
1477
|
+
g_param = parse_global_arg(parsed_globals)
|
1478
|
+
|
1479
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1480
|
+
cred = credential.CVMRoleCredential()
|
1481
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1482
|
+
cred = credential.STSAssumeRoleCredential(
|
1483
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1484
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1485
|
+
)
|
1486
|
+
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):
|
1487
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1488
|
+
else:
|
1489
|
+
cred = credential.Credential(
|
1490
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1491
|
+
)
|
1492
|
+
http_profile = HttpProfile(
|
1493
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1494
|
+
reqMethod="POST",
|
1495
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1496
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1497
|
+
)
|
1498
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1499
|
+
if g_param[OptionsDefine.Language]:
|
1500
|
+
profile.language = g_param[OptionsDefine.Language]
|
1501
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1502
|
+
client = mod.CdwdorisClient(cred, g_param[OptionsDefine.Region], profile)
|
1503
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1504
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1505
|
+
model = models.ModifyClusterConfigsRequest()
|
1506
|
+
model.from_json_string(json.dumps(args))
|
1507
|
+
start_time = time.time()
|
1508
|
+
while True:
|
1509
|
+
rsp = client.ModifyClusterConfigs(model)
|
1510
|
+
result = rsp.to_json_string()
|
1511
|
+
try:
|
1512
|
+
json_obj = json.loads(result)
|
1513
|
+
except TypeError as e:
|
1514
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1515
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1516
|
+
break
|
1517
|
+
cur_time = time.time()
|
1518
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1519
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1520
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1521
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1522
|
+
else:
|
1523
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1524
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1525
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
|
+
|
1527
|
+
|
1476
1528
|
def doModifySecurityGroups(args, parsed_globals):
|
1477
1529
|
g_param = parse_global_arg(parsed_globals)
|
1478
1530
|
|
@@ -3124,6 +3176,7 @@ ACTION_MAP = {
|
|
3124
3176
|
"DescribeInstanceState": doDescribeInstanceState,
|
3125
3177
|
"DescribeInstanceUsedSubnets": doDescribeInstanceUsedSubnets,
|
3126
3178
|
"DeleteWorkloadGroup": doDeleteWorkloadGroup,
|
3179
|
+
"ModifyClusterConfigs": doModifyClusterConfigs,
|
3127
3180
|
"ModifySecurityGroups": doModifySecurityGroups,
|
3128
3181
|
"DescribeCoolDownBackends": doDescribeCoolDownBackends,
|
3129
3182
|
"ScaleUpInstance": doScaleUpInstance,
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"DeleteBackUpData": {
|
53
53
|
"document": "删除备份数据",
|
54
54
|
"input": "DeleteBackUpDataRequest",
|
55
|
-
"name": "
|
55
|
+
"name": "删除备份实例",
|
56
56
|
"output": "DeleteBackUpDataResponse",
|
57
57
|
"status": "online"
|
58
58
|
},
|
@@ -108,7 +108,7 @@
|
|
108
108
|
"DescribeClusterConfigs": {
|
109
109
|
"document": "获取集群的最新的几个配置文件(config.xml、metrika.xml、user.xml)的内容,显示给用户",
|
110
110
|
"input": "DescribeClusterConfigsRequest",
|
111
|
-
"name": "
|
111
|
+
"name": "获取集群配置文件",
|
112
112
|
"output": "DescribeClusterConfigsResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"DescribeInstanceOperations": {
|
186
186
|
"document": "在集群详情页面,拉取该集群的操作",
|
187
187
|
"input": "DescribeInstanceOperationsRequest",
|
188
|
-
"name": "
|
188
|
+
"name": "获取集群操作审计记录",
|
189
189
|
"output": "DescribeInstanceOperationsResponse",
|
190
190
|
"status": "online"
|
191
191
|
},
|
@@ -246,7 +246,7 @@
|
|
246
246
|
"status": "online"
|
247
247
|
},
|
248
248
|
"DescribeSqlApis": {
|
249
|
-
"document": "针对驱动sql
|
249
|
+
"document": "针对驱动sql命令查询集群接口",
|
250
250
|
"input": "DescribeSqlApisRequest",
|
251
251
|
"name": "通过sql查询集群信息",
|
252
252
|
"output": "DescribeSqlApisResponse",
|
@@ -280,6 +280,13 @@
|
|
280
280
|
"output": "DestroyInstanceResponse",
|
281
281
|
"status": "online"
|
282
282
|
},
|
283
|
+
"ModifyClusterConfigs": {
|
284
|
+
"document": "在集群配置页面修改集群配置文件接口,xml模式",
|
285
|
+
"input": "ModifyClusterConfigsRequest",
|
286
|
+
"name": "修改集群配置文件",
|
287
|
+
"output": "ModifyClusterConfigsResponse",
|
288
|
+
"status": "online"
|
289
|
+
},
|
283
290
|
"ModifyCoolDownPolicy": {
|
284
291
|
"document": "修改冷热分层策略",
|
285
292
|
"input": "ModifyCoolDownPolicyRequest",
|
@@ -297,7 +304,7 @@
|
|
297
304
|
"ModifyInstanceKeyValConfigs": {
|
298
305
|
"document": "KV模式修改配置接口",
|
299
306
|
"input": "ModifyInstanceKeyValConfigsRequest",
|
300
|
-
"name": "
|
307
|
+
"name": "修改BE或FE配置",
|
301
308
|
"output": "ModifyInstanceKeyValConfigsResponse",
|
302
309
|
"status": "online"
|
303
310
|
},
|
@@ -325,7 +332,7 @@
|
|
325
332
|
"ModifyUserPrivilegesV3": {
|
326
333
|
"document": "修改用户权限,支持catalog,全部db,部分db表三种权限设置类别",
|
327
334
|
"input": "ModifyUserPrivilegesV3Request",
|
328
|
-
"name": "
|
335
|
+
"name": "修改权限接口",
|
329
336
|
"output": "ModifyUserPrivilegesV3Response",
|
330
337
|
"status": "online"
|
331
338
|
},
|
@@ -360,7 +367,7 @@
|
|
360
367
|
"RecoverBackUpJob": {
|
361
368
|
"document": "备份恢复",
|
362
369
|
"input": "RecoverBackUpJobRequest",
|
363
|
-
"name": "
|
370
|
+
"name": "恢复备份的数据",
|
364
371
|
"output": "RecoverBackUpJobResponse",
|
365
372
|
"status": "online"
|
366
373
|
},
|
@@ -1313,6 +1320,52 @@
|
|
1313
1320
|
],
|
1314
1321
|
"usage": "out"
|
1315
1322
|
},
|
1323
|
+
"ConfigSubmitContext": {
|
1324
|
+
"document": "配置文件修改信息",
|
1325
|
+
"members": [
|
1326
|
+
{
|
1327
|
+
"disabled": false,
|
1328
|
+
"document": "配置文件名称",
|
1329
|
+
"example": "config.xml",
|
1330
|
+
"member": "string",
|
1331
|
+
"name": "FileName",
|
1332
|
+
"required": true,
|
1333
|
+
"type": "string",
|
1334
|
+
"value_allowed_null": false
|
1335
|
+
},
|
1336
|
+
{
|
1337
|
+
"disabled": false,
|
1338
|
+
"document": "配置文件新内容,base64编码",
|
1339
|
+
"example": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHlhbmRleD4K",
|
1340
|
+
"member": "string",
|
1341
|
+
"name": "NewConfValue",
|
1342
|
+
"required": true,
|
1343
|
+
"type": "string",
|
1344
|
+
"value_allowed_null": false
|
1345
|
+
},
|
1346
|
+
{
|
1347
|
+
"disabled": false,
|
1348
|
+
"document": "配置文件旧内容,base64编码",
|
1349
|
+
"example": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHlhbmRleD4K",
|
1350
|
+
"member": "string",
|
1351
|
+
"name": "OldConfValue",
|
1352
|
+
"required": false,
|
1353
|
+
"type": "string",
|
1354
|
+
"value_allowed_null": false
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"disabled": false,
|
1358
|
+
"document": "文件路径",
|
1359
|
+
"example": "/use/local/server/",
|
1360
|
+
"member": "string",
|
1361
|
+
"name": "FilePath",
|
1362
|
+
"required": false,
|
1363
|
+
"type": "string",
|
1364
|
+
"value_allowed_null": false
|
1365
|
+
}
|
1366
|
+
],
|
1367
|
+
"usage": "in"
|
1368
|
+
},
|
1316
1369
|
"CoolDownBackend": {
|
1317
1370
|
"document": "冷热分层backend节点信息",
|
1318
1371
|
"members": [
|
@@ -2081,7 +2134,7 @@
|
|
2081
2134
|
},
|
2082
2135
|
{
|
2083
2136
|
"disabled": false,
|
2084
|
-
"document": "
|
2137
|
+
"document": "是否删除所有实例",
|
2085
2138
|
"example": "true",
|
2086
2139
|
"member": "bool",
|
2087
2140
|
"name": "IsDeleteAll",
|
@@ -3400,7 +3453,7 @@
|
|
3400
3453
|
"example": "20",
|
3401
3454
|
"member": "int64",
|
3402
3455
|
"name": "TotalCount",
|
3403
|
-
"
|
3456
|
+
"output_required": true,
|
3404
3457
|
"type": "int",
|
3405
3458
|
"value_allowed_null": false
|
3406
3459
|
},
|
@@ -3410,7 +3463,7 @@
|
|
3410
3463
|
"example": "-",
|
3411
3464
|
"member": "InstanceOperation",
|
3412
3465
|
"name": "Operations",
|
3413
|
-
"
|
3466
|
+
"output_required": true,
|
3414
3467
|
"type": "list",
|
3415
3468
|
"value_allowed_null": true
|
3416
3469
|
},
|
@@ -5391,6 +5444,71 @@
|
|
5391
5444
|
],
|
5392
5445
|
"usage": "out"
|
5393
5446
|
},
|
5447
|
+
"ModifyClusterConfigsRequest": {
|
5448
|
+
"document": "ModifyClusterConfigs请求参数结构体",
|
5449
|
+
"members": [
|
5450
|
+
{
|
5451
|
+
"disabled": false,
|
5452
|
+
"document": "集群ID,例如cdwch-xxxx",
|
5453
|
+
"example": "cdwch-xxxx",
|
5454
|
+
"member": "string",
|
5455
|
+
"name": "InstanceId",
|
5456
|
+
"required": true,
|
5457
|
+
"type": "string"
|
5458
|
+
},
|
5459
|
+
{
|
5460
|
+
"disabled": false,
|
5461
|
+
"document": "配置文件修改信息",
|
5462
|
+
"example": "无",
|
5463
|
+
"member": "ConfigSubmitContext",
|
5464
|
+
"name": "ModifyConfContext",
|
5465
|
+
"required": true,
|
5466
|
+
"type": "list"
|
5467
|
+
},
|
5468
|
+
{
|
5469
|
+
"disabled": false,
|
5470
|
+
"document": "修改原因",
|
5471
|
+
"example": "为了性能提升",
|
5472
|
+
"member": "string",
|
5473
|
+
"name": "Remark",
|
5474
|
+
"required": false,
|
5475
|
+
"type": "string"
|
5476
|
+
}
|
5477
|
+
],
|
5478
|
+
"type": "object"
|
5479
|
+
},
|
5480
|
+
"ModifyClusterConfigsResponse": {
|
5481
|
+
"document": "ModifyClusterConfigs返回参数结构体",
|
5482
|
+
"members": [
|
5483
|
+
{
|
5484
|
+
"disabled": false,
|
5485
|
+
"document": "流程相关信息",
|
5486
|
+
"example": "-",
|
5487
|
+
"member": "int64",
|
5488
|
+
"name": "FlowId",
|
5489
|
+
"output_required": true,
|
5490
|
+
"type": "int",
|
5491
|
+
"value_allowed_null": false
|
5492
|
+
},
|
5493
|
+
{
|
5494
|
+
"disabled": false,
|
5495
|
+
"document": "错误信息",
|
5496
|
+
"example": "-",
|
5497
|
+
"member": "string",
|
5498
|
+
"name": "ErrorMsg",
|
5499
|
+
"output_required": true,
|
5500
|
+
"type": "string",
|
5501
|
+
"value_allowed_null": false
|
5502
|
+
},
|
5503
|
+
{
|
5504
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5505
|
+
"member": "string",
|
5506
|
+
"name": "RequestId",
|
5507
|
+
"type": "string"
|
5508
|
+
}
|
5509
|
+
],
|
5510
|
+
"type": "object"
|
5511
|
+
},
|
5394
5512
|
"ModifyCoolDownPolicyRequest": {
|
5395
5513
|
"document": "ModifyCoolDownPolicy请求参数结构体",
|
5396
5514
|
"members": [
|
@@ -6089,10 +6207,11 @@
|
|
6089
6207
|
"members": [
|
6090
6208
|
{
|
6091
6209
|
"disabled": false,
|
6092
|
-
"document": "
|
6210
|
+
"document": "节点名称",
|
6093
6211
|
"example": "\"BE\"",
|
6094
6212
|
"member": "string",
|
6095
6213
|
"name": "NodeName",
|
6214
|
+
"output_required": true,
|
6096
6215
|
"required": false,
|
6097
6216
|
"type": "string",
|
6098
6217
|
"value_allowed_null": false
|
@@ -6103,6 +6222,7 @@
|
|
6103
6222
|
"example": "1",
|
6104
6223
|
"member": "int64",
|
6105
6224
|
"name": "Status",
|
6225
|
+
"output_required": true,
|
6106
6226
|
"required": false,
|
6107
6227
|
"type": "int",
|
6108
6228
|
"value_allowed_null": false
|
@@ -6113,6 +6233,7 @@
|
|
6113
6233
|
"example": "\"192.168.0.1\"",
|
6114
6234
|
"member": "string",
|
6115
6235
|
"name": "Ip",
|
6236
|
+
"output_required": true,
|
6116
6237
|
"required": false,
|
6117
6238
|
"type": "string",
|
6118
6239
|
"value_allowed_null": false
|
@@ -6123,6 +6244,7 @@
|
|
6123
6244
|
"example": "\"CORE”",
|
6124
6245
|
"member": "string",
|
6125
6246
|
"name": "NodeRole",
|
6247
|
+
"output_required": true,
|
6126
6248
|
"required": false,
|
6127
6249
|
"type": "string",
|
6128
6250
|
"value_allowed_null": false
|
@@ -6133,6 +6255,7 @@
|
|
6133
6255
|
"example": "\"FE\"",
|
6134
6256
|
"member": "string",
|
6135
6257
|
"name": "ComponentName",
|
6258
|
+
"output_required": true,
|
6136
6259
|
"required": false,
|
6137
6260
|
"type": "string",
|
6138
6261
|
"value_allowed_null": false
|
@@ -6143,6 +6266,7 @@
|
|
6143
6266
|
"example": "\"2021-02-12\"",
|
6144
6267
|
"member": "string",
|
6145
6268
|
"name": "LastRestartTime",
|
6269
|
+
"output_required": true,
|
6146
6270
|
"required": false,
|
6147
6271
|
"type": "string",
|
6148
6272
|
"value_allowed_null": false
|
@@ -59,8 +59,8 @@
|
|
59
59
|
"DeleteBackUpData": [
|
60
60
|
{
|
61
61
|
"document": "",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackUpData\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
63
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
62
|
+
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackUpData\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"BackUpJobId\": 0,\n \"IsDeleteAll\": true\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
64
64
|
"title": "示例"
|
65
65
|
}
|
66
66
|
],
|
@@ -218,7 +218,7 @@
|
|
218
218
|
{
|
219
219
|
"document": "获取集群操作列表",
|
220
220
|
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceOperations\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-exs8Mnql\"\n}",
|
221
|
-
"output": "{\n \"Response\": {\n \"
|
221
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Operations\": [\n {\n \"Name\": \"abc\",\n \"Result\": \"abc\",\n \"Desc\": \"abc\",\n \"Level\": \"abc\",\n \"LevelDesc\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ResultDesc\": \"abc\",\n \"OperateUin\": \"abc\",\n \"JobId\": 0,\n \"OperationDetail\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
222
222
|
"title": "获取集群操作列表"
|
223
223
|
}
|
224
224
|
],
|
@@ -288,10 +288,10 @@
|
|
288
288
|
],
|
289
289
|
"DescribeSqlApis": [
|
290
290
|
{
|
291
|
-
"document": "
|
291
|
+
"document": "查询集群信息",
|
292
292
|
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlApis\n<公共请求参数>\n\n{}",
|
293
293
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
294
|
-
"title": "
|
294
|
+
"title": "查询集群信息"
|
295
295
|
}
|
296
296
|
],
|
297
297
|
"DescribeTableList": [
|
@@ -326,6 +326,14 @@
|
|
326
326
|
"title": "集群销毁示例"
|
327
327
|
}
|
328
328
|
],
|
329
|
+
"ModifyClusterConfigs": [
|
330
|
+
{
|
331
|
+
"document": "在集群配置页面修改集群配置文件接口,xml模式",
|
332
|
+
"input": "https://cdwdoris.tencentcloudapi.com/\n?Action=ModifyClusterConfigs\n&InstanceId=cdwch-xxxx\n&ModifyConfContext.0.FileName=xxxx\n&ModifyConfContext.0.OldConfValue=xxxxx\n&ModifyConfContext.0.NewConfValue=xxxx\n&Remark=xxxxx\n&<公共请求参数>",
|
333
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx-xxx\",\n \"FlowId\": 0,\n \"ErrorMsg\": \"\"\n }\n}",
|
334
|
+
"title": "修改集群配置文件接口"
|
335
|
+
}
|
336
|
+
],
|
329
337
|
"ModifyCoolDownPolicy": [
|
330
338
|
{
|
331
339
|
"document": "",
|
@@ -383,7 +383,7 @@
|
|
383
383
|
},
|
384
384
|
{
|
385
385
|
"disabled": false,
|
386
|
-
"document": "
|
386
|
+
"document": "动作类型(0 -- tat 1 -- 云API)",
|
387
387
|
"example": "1",
|
388
388
|
"member": "uint64",
|
389
389
|
"name": "ActionCommandType",
|
@@ -394,7 +394,7 @@
|
|
394
394
|
{
|
395
395
|
"disabled": false,
|
396
396
|
"document": "自定义动作的参数,json string",
|
397
|
-
"example": "{\"Command\": \"ff\", \"CommandParameters\": \"{}\", \"CommandType\": \"
|
397
|
+
"example": "{\"Command\": \"ff\", \"CommandParameters\": \"{}\", \"CommandType\": \"shell\"}",
|
398
398
|
"member": "string",
|
399
399
|
"name": "ActionContent",
|
400
400
|
"output_required": true,
|
@@ -4175,6 +4175,15 @@
|
|
4175
4175
|
"name": "PreviewLogStatistics",
|
4176
4176
|
"required": false,
|
4177
4177
|
"type": "list"
|
4178
|
+
},
|
4179
|
+
{
|
4180
|
+
"disabled": false,
|
4181
|
+
"document": "数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。",
|
4182
|
+
"example": "0",
|
4183
|
+
"member": "uint64",
|
4184
|
+
"name": "DataTransformType",
|
4185
|
+
"required": false,
|
4186
|
+
"type": "int"
|
4178
4187
|
}
|
4179
4188
|
],
|
4180
4189
|
"type": "object"
|
@@ -8085,6 +8094,7 @@
|
|
8085
8094
|
"example": "无",
|
8086
8095
|
"member": "ShipperInfo",
|
8087
8096
|
"name": "Shippers",
|
8097
|
+
"output_required": true,
|
8088
8098
|
"type": "list",
|
8089
8099
|
"value_allowed_null": true
|
8090
8100
|
},
|
@@ -8094,6 +8104,7 @@
|
|
8094
8104
|
"example": "1",
|
8095
8105
|
"member": "uint64",
|
8096
8106
|
"name": "TotalCount",
|
8107
|
+
"output_required": true,
|
8097
8108
|
"type": "int",
|
8098
8109
|
"value_allowed_null": false
|
8099
8110
|
},
|
@@ -12027,7 +12038,7 @@
|
|
12027
12038
|
"members": [
|
12028
12039
|
{
|
12029
12040
|
"disabled": false,
|
12030
|
-
"document": "执行周期, 可选值:`Period`、`Fixed`。\n\n- Period:固定频率\n- Fixed
|
12041
|
+
"document": "执行周期, 可选值:`Period`、`Fixed`、`Cron`。\n\n- Period:固定频率\n- Fixed:固定时间\n- Cron:Cron表达式",
|
12031
12042
|
"example": "无",
|
12032
12043
|
"member": "string",
|
12033
12044
|
"name": "Type",
|
@@ -580,7 +580,7 @@
|
|
580
580
|
{
|
581
581
|
"document": "获取投递到COS的任务配置信息",
|
582
582
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeShippers\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"shipperId\",\n \"Values\": [\n \"xxxx-xxx-xxxx\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
583
|
-
"output": "{\n \"Response\": {\n \"Shippers\": [\n {\n \"ShipperId\": \"c9a96b57-9f35-4800-b5c7-6ce6173b7db5\",\n \"TopicId\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e\",\n \"Bucket\": \"0052d6c8apbeijing100008449822-1254077820\",\n \"Prefix\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e-1601543434\",\n \"ShipperName\": \"ap-beijing-carywu-1601543434\",\n \"Interval\": 300,\n \"MaxSize\": 100,\n \"Status\": true,\n \"FilterRules\": [],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"Content\": {\n \"Format\": \"json\"\n },\n \"CreateTime\": \"2020-10-01 17:10:32\",\n \"FilenameMode\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"99bf3fb9-eb09-41e1-aac7-7e4e7ed08f5d\"\n }\n}",
|
583
|
+
"output": "{\n \"Response\": {\n \"Shippers\": [\n {\n \"ShipperId\": \"c9a96b57-9f35-4800-b5c7-6ce6173b7db5\",\n \"TopicId\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e\",\n \"Bucket\": \"0052d6c8apbeijing100008449822-1254077820\",\n \"Prefix\": \"ab14dfa7-e9eb-4cd4-8300-2f35145f145e-1601543434\",\n \"ShipperName\": \"ap-beijing-carywu-1601543434\",\n \"Interval\": 300,\n \"MaxSize\": 100,\n \"Status\": true,\n \"FilterRules\": [],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"Content\": {\n \"Format\": \"json\"\n },\n \"CreateTime\": \"2020-10-01 17:10:32\",\n \"FilenameMode\": 0,\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Progress\": 0,\n \"RemainTime\": 0,\n \"HistoryStatus\": 0,\n \"StorageType\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"99bf3fb9-eb09-41e1-aac7-7e4e7ed08f5d\"\n }\n}",
|
584
584
|
"title": "获取投递到COS的任务配置信息"
|
585
585
|
}
|
586
586
|
],
|