tccli 3.0.1343.1__py2.py3-none-any.whl → 3.0.1345.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/__init__.py +6 -0
- tccli/services/aiart/aiart_client.py +167 -61
- tccli/services/aiart/v20221229/api.json +253 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/ams/v20201229/api.json +46 -46
- tccli/services/ams/v20201229/examples.json +1 -1
- tccli/services/apm/v20210622/api.json +228 -0
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/batch/batch_client.py +53 -0
- tccli/services/batch/v20170312/api.json +127 -2
- tccli/services/batch/v20170312/examples.json +8 -0
- tccli/services/bh/v20230418/api.json +282 -1
- tccli/services/bh/v20230418/examples.json +3 -3
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/ccc/ccc_client.py +61 -8
- tccli/services/ccc/v20200210/api.json +130 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +103 -103
- tccli/services/cdb/v20170320/examples.json +5 -5
- tccli/services/cdwch/cdwch_client.py +53 -0
- tccli/services/cdwch/v20200915/api.json +410 -0
- tccli/services/cdwch/v20200915/examples.json +8 -0
- tccli/services/cdwdoris/v20211228/api.json +22 -2
- tccli/services/cfg/v20210820/api.json +72 -0
- tccli/services/ckafka/v20190819/api.json +21 -1
- tccli/services/csip/csip_client.py +326 -8
- tccli/services/csip/v20221121/api.json +2015 -335
- tccli/services/csip/v20221121/examples.json +65 -5
- tccli/services/cvm/v20170312/api.json +16 -5
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +61 -0
- tccli/services/emr/emr_client.py +167 -8
- tccli/services/emr/v20190103/api.json +831 -15
- tccli/services/emr/v20190103/examples.json +24 -0
- tccli/services/es/v20250101/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +57 -8
- tccli/services/essbasic/v20210526/api.json +23 -3
- tccli/services/gs/v20191118/api.json +41 -2
- tccli/services/gs/v20191118/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/igtm/__init__.py +4 -0
- tccli/services/igtm/igtm_client.py +1373 -0
- tccli/services/igtm/v20231024/api.json +3569 -0
- tccli/services/igtm/v20231024/examples.json +207 -0
- tccli/services/ims/v20201229/api.json +20 -28
- tccli/services/ioa/ioa_client.py +114 -8
- tccli/services/ioa/v20220601/api.json +218 -3
- tccli/services/ioa/v20220601/examples.json +16 -0
- tccli/services/iss/v20230517/api.json +11 -2
- tccli/services/kms/v20190118/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/mps/v20190612/api.json +45 -7
- tccli/services/oceanus/v20190422/api.json +168 -8
- tccli/services/ocr/v20181119/api.json +127 -118
- tccli/services/partners/v20180321/api.json +1 -1
- tccli/services/redis/v20180412/api.json +9 -0
- tccli/services/securitylake/__init__.py +4 -0
- tccli/services/securitylake/securitylake_client.py +207 -0
- tccli/services/securitylake/v20240117/api.json +723 -0
- tccli/services/securitylake/v20240117/examples.json +13 -0
- tccli/services/tcbr/v20220217/api.json +70 -0
- tccli/services/tdmq/v20200217/api.json +263 -5
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +40 -30
- tccli/services/teo/v20220901/examples.json +19 -19
- tccli/services/tione/tione_client.py +57 -4
- tccli/services/tione/v20211111/api.json +283 -1
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +37 -28
- tccli/services/tms/v20201229/api.json +14 -21
- tccli/services/trocket/v20230308/api.json +81 -81
- tccli/services/trocket/v20230308/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +29 -0
- tccli/services/tsf/tsf_client.py +61 -8
- tccli/services/tsf/v20180326/api.json +3161 -2106
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vdb/v20230616/api.json +49 -0
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vm/v20210922/api.json +8 -8
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/waf/v20180125/api.json +52 -2
- tccli/services/wav/v20210129/api.json +10 -10
- tccli/services/wav/v20210129/examples.json +3 -3
- tccli/services/wedata/v20210820/api.json +11 -0
- {tccli-3.0.1343.1.dist-info → tccli-3.0.1345.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1343.1.dist-info → tccli-3.0.1345.1.dist-info}/RECORD +90 -82
- {tccli-3.0.1343.1.dist-info → tccli-3.0.1345.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1343.1.dist-info → tccli-3.0.1345.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1343.1.dist-info → tccli-3.0.1345.1.dist-info}/license_files/LICENSE +0 -0
@@ -390,9 +390,9 @@
|
|
390
390
|
],
|
391
391
|
"DescribeAuditInstanceList": [
|
392
392
|
{
|
393
|
-
"document": "
|
393
|
+
"document": "获取审计实例列表",
|
394
394
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditInstanceList\n<公共请求参数>\n\n{\n \"AuditMode\": 0,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"cdb-euu5fkcj\"\n ],\n \"Name\": \"InstanceId\",\n \"ExactMatch\": true\n }\n ],\n \"AuditSwitch\": 0,\n \"Offset\": 1\n}",
|
395
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"InstanceId\": \"cdb-euu5fkcj\",\n \"AuditStatus\": \"
|
395
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"InstanceId\": \"cdb-euu5fkcj\",\n \"AuditStatus\": \"OFF\",\n \"AuditTask\": 1,\n \"LogExpireDay\": 1,\n \"HighLogExpireDay\": 1,\n \"LowLogExpireDay\": 1,\n \"BillingAmount\": 0,\n \"HighRealStorage\": 0,\n \"LowRealStorage\": 0,\n \"AuditAll\": true,\n \"CreateAt\": \"2022-03-02 10:09:08\",\n \"InstanceInfo\": {\n \"ProjectId\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"andy\",\n \"TagValue\": \"1\"\n }\n ],\n \"DbType\": \"MYSQL\",\n \"DbVersion\": \"5.7\"\n },\n \"RealStorage\": 0,\n \"OldRule\": true,\n \"RuleTemplateIds\": [\n \"cdb-art-nuf7ej8d\"\n ]\n }\n ],\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
396
396
|
"title": "获取审计实例列表"
|
397
397
|
}
|
398
398
|
],
|
@@ -905,7 +905,7 @@
|
|
905
905
|
"DescribeTagsOfInstanceIds": [
|
906
906
|
{
|
907
907
|
"document": "获取实例标签信息",
|
908
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTagsOfInstanceIds\n<公共请求参数>\n\n{\n \"Limit\":
|
908
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTagsOfInstanceIds\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"InstanceIds\": [\n \"cdb-uns231ns\"\n ],\n \"Offset\": 0\n}",
|
909
909
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"Rows\": [\n {\n \"InstanceId\": \"cdb-uns231ns\",\n \"Tags\": [\n {\n \"TagKey\": \"name\",\n \"TagValue\": \"zhang\"\n }\n ]\n }\n ]\n }\n}",
|
910
910
|
"title": "获取实例标签信息"
|
911
911
|
}
|
@@ -945,7 +945,7 @@
|
|
945
945
|
"InquiryPriceUpgradeInstances": [
|
946
946
|
{
|
947
947
|
"document": "",
|
948
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceUpgradeInstances\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-6si6qy6p\",\n \"Volume\":
|
948
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceUpgradeInstances\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-6si6qy6p\",\n \"Volume\": 50,\n \"Memory\": 1000\n}",
|
949
949
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\",\n \"Price\": 48000,\n \"OriginalPrice\": 460800\n }\n}",
|
950
950
|
"title": "查询数据库升级价格"
|
951
951
|
}
|
@@ -1207,7 +1207,7 @@
|
|
1207
1207
|
},
|
1208
1208
|
{
|
1209
1209
|
"document": "",
|
1210
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRoGroupInfo\n<公共请求参数>\n\n{\n \"RoWeightValues\": [\n {\n \"InstanceId\": \"cdbr0-test1234\",\n \"Weight\":
|
1210
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRoGroupInfo\n<公共请求参数>\n\n{\n \"RoWeightValues\": [\n {\n \"InstanceId\": \"cdbr0-test1234\",\n \"Weight\": 70\n },\n {\n \"InstanceId\": \"cdbr0-iup41a4t\",\n \"Weight\": 30\n }\n ],\n \"IsBalanceRoLoad\": 1,\n \"RoGroupId\": \"cdbrg-iup41a4t\",\n \"RoGroupInfo\": {\n \"WeightMode\": \"custom\"\n }\n}",
|
1211
1211
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54Ad\",\n \"AsyncRequestId\": \"a6040589-3b098df5-b551d9e5-81c6bfd1\"\n }\n}",
|
1212
1212
|
"title": "重新均衡RO组内实例的权重"
|
1213
1213
|
}
|
@@ -1421,6 +1421,58 @@ def doModifyUserNewPrivilege(args, parsed_globals):
|
|
1421
1421
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
1422
|
|
1423
1423
|
|
1424
|
+
def doDescribeCNInstances(args, parsed_globals):
|
1425
|
+
g_param = parse_global_arg(parsed_globals)
|
1426
|
+
|
1427
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1428
|
+
cred = credential.CVMRoleCredential()
|
1429
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1430
|
+
cred = credential.STSAssumeRoleCredential(
|
1431
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1432
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1433
|
+
)
|
1434
|
+
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):
|
1435
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1436
|
+
else:
|
1437
|
+
cred = credential.Credential(
|
1438
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1439
|
+
)
|
1440
|
+
http_profile = HttpProfile(
|
1441
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1442
|
+
reqMethod="POST",
|
1443
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1444
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1445
|
+
)
|
1446
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1447
|
+
if g_param[OptionsDefine.Language]:
|
1448
|
+
profile.language = g_param[OptionsDefine.Language]
|
1449
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1450
|
+
client = mod.CdwchClient(cred, g_param[OptionsDefine.Region], profile)
|
1451
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1452
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1453
|
+
model = models.DescribeCNInstancesRequest()
|
1454
|
+
model.from_json_string(json.dumps(args))
|
1455
|
+
start_time = time.time()
|
1456
|
+
while True:
|
1457
|
+
rsp = client.DescribeCNInstances(model)
|
1458
|
+
result = rsp.to_json_string()
|
1459
|
+
try:
|
1460
|
+
json_obj = json.loads(result)
|
1461
|
+
except TypeError as e:
|
1462
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1463
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1464
|
+
break
|
1465
|
+
cur_time = time.time()
|
1466
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1467
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1468
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1469
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1470
|
+
else:
|
1471
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1472
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1473
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
|
+
|
1475
|
+
|
1424
1476
|
def doResizeDisk(args, parsed_globals):
|
1425
1477
|
g_param = parse_global_arg(parsed_globals)
|
1426
1478
|
|
@@ -1511,6 +1563,7 @@ ACTION_MAP = {
|
|
1511
1563
|
"DescribeInstance": doDescribeInstance,
|
1512
1564
|
"DescribeInstanceNodes": doDescribeInstanceNodes,
|
1513
1565
|
"ModifyUserNewPrivilege": doModifyUserNewPrivilege,
|
1566
|
+
"DescribeCNInstances": doDescribeCNInstances,
|
1514
1567
|
"ResizeDisk": doResizeDisk,
|
1515
1568
|
|
1516
1569
|
}
|
@@ -56,6 +56,13 @@
|
|
56
56
|
"output": "DescribeBackUpTablesResponse",
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
|
+
"DescribeCNInstances": {
|
60
|
+
"document": "获取云原生实例列表",
|
61
|
+
"input": "DescribeCNInstancesRequest",
|
62
|
+
"name": "获取云原生实例列表",
|
63
|
+
"output": "DescribeCNInstancesResponse",
|
64
|
+
"status": "online"
|
65
|
+
},
|
59
66
|
"DescribeCkSqlApis": {
|
60
67
|
"document": "查询集群用户、集群表,数据库等相关信息",
|
61
68
|
"input": "DescribeCkSqlApisRequest",
|
@@ -479,6 +486,212 @@
|
|
479
486
|
],
|
480
487
|
"usage": "both"
|
481
488
|
},
|
489
|
+
"CNResource": {
|
490
|
+
"document": "资源信息",
|
491
|
+
"members": [
|
492
|
+
{
|
493
|
+
"disabled": false,
|
494
|
+
"document": "无",
|
495
|
+
"example": "无",
|
496
|
+
"member": "int64",
|
497
|
+
"name": "ID",
|
498
|
+
"required": true,
|
499
|
+
"type": "int",
|
500
|
+
"value_allowed_null": false
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"disabled": false,
|
504
|
+
"document": "无",
|
505
|
+
"example": "无",
|
506
|
+
"member": "string",
|
507
|
+
"name": "InstanceID",
|
508
|
+
"required": true,
|
509
|
+
"type": "string",
|
510
|
+
"value_allowed_null": false
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"disabled": false,
|
514
|
+
"document": "无",
|
515
|
+
"example": "无",
|
516
|
+
"member": "int64",
|
517
|
+
"name": "AppID",
|
518
|
+
"required": true,
|
519
|
+
"type": "int",
|
520
|
+
"value_allowed_null": false
|
521
|
+
},
|
522
|
+
{
|
523
|
+
"disabled": false,
|
524
|
+
"document": "无",
|
525
|
+
"example": "无",
|
526
|
+
"member": "string",
|
527
|
+
"name": "Uin",
|
528
|
+
"required": true,
|
529
|
+
"type": "string",
|
530
|
+
"value_allowed_null": false
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"disabled": false,
|
534
|
+
"document": "无",
|
535
|
+
"example": "无",
|
536
|
+
"member": "string",
|
537
|
+
"name": "Component",
|
538
|
+
"required": true,
|
539
|
+
"type": "string",
|
540
|
+
"value_allowed_null": false
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"disabled": false,
|
544
|
+
"document": "无",
|
545
|
+
"example": "无",
|
546
|
+
"member": "int64",
|
547
|
+
"name": "DeployMode",
|
548
|
+
"required": true,
|
549
|
+
"type": "int",
|
550
|
+
"value_allowed_null": false
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"disabled": false,
|
554
|
+
"document": "无",
|
555
|
+
"example": "无",
|
556
|
+
"member": "string",
|
557
|
+
"name": "SpecName",
|
558
|
+
"required": true,
|
559
|
+
"type": "string",
|
560
|
+
"value_allowed_null": false
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"disabled": false,
|
564
|
+
"document": "无",
|
565
|
+
"example": "无",
|
566
|
+
"member": "string",
|
567
|
+
"name": "ResourceID",
|
568
|
+
"required": true,
|
569
|
+
"type": "string",
|
570
|
+
"value_allowed_null": false
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"disabled": false,
|
574
|
+
"document": "无",
|
575
|
+
"example": "无",
|
576
|
+
"member": "int64",
|
577
|
+
"name": "Status",
|
578
|
+
"required": true,
|
579
|
+
"type": "int",
|
580
|
+
"value_allowed_null": false
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"disabled": false,
|
584
|
+
"document": "无",
|
585
|
+
"example": "无",
|
586
|
+
"member": "string",
|
587
|
+
"name": "IP",
|
588
|
+
"required": true,
|
589
|
+
"type": "string",
|
590
|
+
"value_allowed_null": false
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"disabled": false,
|
594
|
+
"document": "无",
|
595
|
+
"example": "无",
|
596
|
+
"member": "uint64",
|
597
|
+
"name": "CPU",
|
598
|
+
"required": true,
|
599
|
+
"type": "int",
|
600
|
+
"value_allowed_null": false
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"disabled": false,
|
604
|
+
"document": "无",
|
605
|
+
"example": "无",
|
606
|
+
"member": "uint64",
|
607
|
+
"name": "Memory",
|
608
|
+
"required": true,
|
609
|
+
"type": "int",
|
610
|
+
"value_allowed_null": false
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"disabled": false,
|
614
|
+
"document": "无",
|
615
|
+
"example": "无",
|
616
|
+
"member": "uint64",
|
617
|
+
"name": "Storage",
|
618
|
+
"required": true,
|
619
|
+
"type": "int",
|
620
|
+
"value_allowed_null": false
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"disabled": false,
|
624
|
+
"document": "无",
|
625
|
+
"example": "无",
|
626
|
+
"member": "string",
|
627
|
+
"name": "UUID",
|
628
|
+
"required": true,
|
629
|
+
"type": "string",
|
630
|
+
"value_allowed_null": false
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"disabled": false,
|
634
|
+
"document": "无",
|
635
|
+
"example": "无",
|
636
|
+
"member": "string",
|
637
|
+
"name": "Region",
|
638
|
+
"required": true,
|
639
|
+
"type": "string",
|
640
|
+
"value_allowed_null": false
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"disabled": false,
|
644
|
+
"document": "无",
|
645
|
+
"example": "无",
|
646
|
+
"member": "string",
|
647
|
+
"name": "Zone",
|
648
|
+
"required": true,
|
649
|
+
"type": "string",
|
650
|
+
"value_allowed_null": false
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"disabled": false,
|
654
|
+
"document": "无",
|
655
|
+
"example": "无",
|
656
|
+
"member": "string",
|
657
|
+
"name": "Details",
|
658
|
+
"required": true,
|
659
|
+
"type": "string",
|
660
|
+
"value_allowed_null": false
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"disabled": false,
|
664
|
+
"document": "无",
|
665
|
+
"example": "无",
|
666
|
+
"member": "string",
|
667
|
+
"name": "CreateTime",
|
668
|
+
"required": true,
|
669
|
+
"type": "string",
|
670
|
+
"value_allowed_null": false
|
671
|
+
},
|
672
|
+
{
|
673
|
+
"disabled": false,
|
674
|
+
"document": "无",
|
675
|
+
"example": "无",
|
676
|
+
"member": "string",
|
677
|
+
"name": "ModifyTime",
|
678
|
+
"required": true,
|
679
|
+
"type": "string",
|
680
|
+
"value_allowed_null": false
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"disabled": false,
|
684
|
+
"document": "无",
|
685
|
+
"example": "无",
|
686
|
+
"member": "string",
|
687
|
+
"name": "ExpireTime",
|
688
|
+
"required": true,
|
689
|
+
"type": "string",
|
690
|
+
"value_allowed_null": false
|
691
|
+
}
|
692
|
+
],
|
693
|
+
"usage": "out"
|
694
|
+
},
|
482
695
|
"Charge": {
|
483
696
|
"document": "集群计费相关信息\n",
|
484
697
|
"members": [
|
@@ -649,6 +862,92 @@
|
|
649
862
|
],
|
650
863
|
"usage": "out"
|
651
864
|
},
|
865
|
+
"CnInstanceInfo": {
|
866
|
+
"document": "云原生实例详情",
|
867
|
+
"members": [
|
868
|
+
{
|
869
|
+
"disabled": false,
|
870
|
+
"document": "ID值\n注意:此字段可能返回 null,表示取不到有效值。",
|
871
|
+
"example": "1",
|
872
|
+
"member": "int64",
|
873
|
+
"name": "ID",
|
874
|
+
"output_required": false,
|
875
|
+
"type": "int",
|
876
|
+
"value_allowed_null": true
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"disabled": false,
|
880
|
+
"document": "cdwch-cn或者其他\n注意:此字段可能返回 null,表示取不到有效值。",
|
881
|
+
"example": "cdwch-cn",
|
882
|
+
"member": "string",
|
883
|
+
"name": "InstanceType",
|
884
|
+
"output_required": false,
|
885
|
+
"type": "string",
|
886
|
+
"value_allowed_null": true
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"disabled": false,
|
890
|
+
"document": "cdwch-cn或者其他\n注意:此字段可能返回 null,表示取不到有效值。",
|
891
|
+
"example": "cdwch-xxxx",
|
892
|
+
"member": "string",
|
893
|
+
"name": "InstanceName",
|
894
|
+
"output_required": false,
|
895
|
+
"type": "string",
|
896
|
+
"value_allowed_null": true
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"disabled": false,
|
900
|
+
"document": "Running\n注意:此字段可能返回 null,表示取不到有效值。",
|
901
|
+
"example": "Running",
|
902
|
+
"member": "string",
|
903
|
+
"name": "Status",
|
904
|
+
"output_required": false,
|
905
|
+
"type": "string",
|
906
|
+
"value_allowed_null": true
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"disabled": false,
|
910
|
+
"document": "运行中\n注意:此字段可能返回 null,表示取不到有效值。",
|
911
|
+
"example": "运行中",
|
912
|
+
"member": "string",
|
913
|
+
"name": "StatusDesc",
|
914
|
+
"output_required": false,
|
915
|
+
"type": "string",
|
916
|
+
"value_allowed_null": true
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"disabled": false,
|
920
|
+
"document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
|
921
|
+
"example": "无",
|
922
|
+
"member": "InstanceStateInfo",
|
923
|
+
"name": "InstanceStateInfo",
|
924
|
+
"output_required": false,
|
925
|
+
"type": "object",
|
926
|
+
"value_allowed_null": true
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"disabled": false,
|
930
|
+
"document": "-\n注意:此字段可能返回 null,表示取不到有效值。",
|
931
|
+
"example": "-",
|
932
|
+
"member": "string",
|
933
|
+
"name": "InstanceID",
|
934
|
+
"output_required": false,
|
935
|
+
"type": "string",
|
936
|
+
"value_allowed_null": true
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"disabled": false,
|
940
|
+
"document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
|
941
|
+
"example": "无",
|
942
|
+
"member": "CNResource",
|
943
|
+
"name": "Resources",
|
944
|
+
"output_required": false,
|
945
|
+
"type": "list",
|
946
|
+
"value_allowed_null": true
|
947
|
+
}
|
948
|
+
],
|
949
|
+
"usage": "out"
|
950
|
+
},
|
652
951
|
"ConfigSubmitContext": {
|
653
952
|
"document": "配置文件修改信息",
|
654
953
|
"members": [
|
@@ -1344,6 +1643,117 @@
|
|
1344
1643
|
],
|
1345
1644
|
"type": "object"
|
1346
1645
|
},
|
1646
|
+
"DescribeCNInstancesRequest": {
|
1647
|
+
"document": "DescribeCNInstances请求参数结构体",
|
1648
|
+
"members": [
|
1649
|
+
{
|
1650
|
+
"disabled": false,
|
1651
|
+
"document": "搜索的集群id名称",
|
1652
|
+
"example": "cdwch-xxxx",
|
1653
|
+
"member": "string",
|
1654
|
+
"name": "SearchInstanceID",
|
1655
|
+
"required": false,
|
1656
|
+
"type": "string"
|
1657
|
+
},
|
1658
|
+
{
|
1659
|
+
"disabled": false,
|
1660
|
+
"document": "搜索的集群name",
|
1661
|
+
"example": "-",
|
1662
|
+
"member": "string",
|
1663
|
+
"name": "SearchInstanceName",
|
1664
|
+
"required": false,
|
1665
|
+
"type": "string"
|
1666
|
+
},
|
1667
|
+
{
|
1668
|
+
"disabled": false,
|
1669
|
+
"document": "分页参数,第一页为0,第二页为10",
|
1670
|
+
"example": "0",
|
1671
|
+
"member": "int64",
|
1672
|
+
"name": "Offset",
|
1673
|
+
"required": false,
|
1674
|
+
"type": "int"
|
1675
|
+
},
|
1676
|
+
{
|
1677
|
+
"disabled": false,
|
1678
|
+
"document": "分页参数,分页步长,默认为10",
|
1679
|
+
"example": "20",
|
1680
|
+
"member": "int64",
|
1681
|
+
"name": "Limit",
|
1682
|
+
"required": false,
|
1683
|
+
"type": "int"
|
1684
|
+
},
|
1685
|
+
{
|
1686
|
+
"disabled": false,
|
1687
|
+
"document": "搜索标签列表",
|
1688
|
+
"example": "无",
|
1689
|
+
"member": "SearchTags",
|
1690
|
+
"name": "SearchTags",
|
1691
|
+
"required": false,
|
1692
|
+
"type": "list"
|
1693
|
+
},
|
1694
|
+
{
|
1695
|
+
"disabled": false,
|
1696
|
+
"document": "集群类型,弹性版或自研数仓版",
|
1697
|
+
"example": "无",
|
1698
|
+
"member": "string",
|
1699
|
+
"name": "InstanceType",
|
1700
|
+
"required": false,
|
1701
|
+
"type": "string"
|
1702
|
+
},
|
1703
|
+
{
|
1704
|
+
"disabled": false,
|
1705
|
+
"document": "组件名称列表",
|
1706
|
+
"example": "无",
|
1707
|
+
"member": "string",
|
1708
|
+
"name": "Components",
|
1709
|
+
"required": false,
|
1710
|
+
"type": "list"
|
1711
|
+
}
|
1712
|
+
],
|
1713
|
+
"type": "object"
|
1714
|
+
},
|
1715
|
+
"DescribeCNInstancesResponse": {
|
1716
|
+
"document": "DescribeCNInstances返回参数结构体",
|
1717
|
+
"members": [
|
1718
|
+
{
|
1719
|
+
"disabled": false,
|
1720
|
+
"document": "实例总数\n注意:此字段可能返回 null,表示取不到有效值。",
|
1721
|
+
"example": "18",
|
1722
|
+
"member": "int64",
|
1723
|
+
"name": "TotalCount",
|
1724
|
+
"output_required": true,
|
1725
|
+
"type": "int",
|
1726
|
+
"value_allowed_null": true
|
1727
|
+
},
|
1728
|
+
{
|
1729
|
+
"disabled": false,
|
1730
|
+
"document": "实例数组\n注意:此字段可能返回 null,表示取不到有效值。",
|
1731
|
+
"example": "-",
|
1732
|
+
"member": "CnInstanceInfo",
|
1733
|
+
"name": "InstancesList",
|
1734
|
+
"output_required": true,
|
1735
|
+
"type": "list",
|
1736
|
+
"value_allowed_null": true
|
1737
|
+
},
|
1738
|
+
{
|
1739
|
+
"disabled": false,
|
1740
|
+
"document": "-\n注意:此字段可能返回 null,表示取不到有效值。",
|
1741
|
+
"example": "-",
|
1742
|
+
"member": "string",
|
1743
|
+
"name": "ErrorMsg",
|
1744
|
+
"output_required": true,
|
1745
|
+
"type": "string",
|
1746
|
+
"value_allowed_null": true
|
1747
|
+
},
|
1748
|
+
{
|
1749
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1750
|
+
"member": "string",
|
1751
|
+
"name": "RequestId",
|
1752
|
+
"type": "string"
|
1753
|
+
}
|
1754
|
+
],
|
1755
|
+
"type": "object"
|
1756
|
+
},
|
1347
1757
|
"DescribeCkSqlApisRequest": {
|
1348
1758
|
"document": "DescribeCkSqlApis请求参数结构体",
|
1349
1759
|
"members": [
|
@@ -64,6 +64,14 @@
|
|
64
64
|
"title": "示例"
|
65
65
|
}
|
66
66
|
],
|
67
|
+
"DescribeCNInstances": [
|
68
|
+
{
|
69
|
+
"document": "",
|
70
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCNInstances\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchTags\": [\n {\n \"AllValue\": 0,\n \"TagKey\": \"test\",\n \"TagValue\": \"test\"\n }\n ],\n \"SearchInstanceID\": \"test\",\n \"SearchInstanceName\": \"test\"\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"ID\": 0,\n \"InstanceType\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"InstanceStateInfo\": {\n \"InstanceState\": \"abc\",\n \"FlowCreateTime\": \"abc\",\n \"FlowName\": \"abc\",\n \"FlowProgress\": 0,\n \"InstanceStateDesc\": \"abc\",\n \"FlowMsg\": \"abc\",\n \"ProcessName\": \"abc\",\n \"RequestId\": \"abc\",\n \"ProcessSubName\": \"abc\"\n },\n \"InstanceID\": \"abc\",\n \"Resources\": [\n {\n \"ID\": 0,\n \"InstanceID\": \"abc\",\n \"AppID\": 0,\n \"Uin\": \"abc\",\n \"Component\": \"abc\",\n \"DeployMode\": 0,\n \"SpecName\": \"abc\",\n \"ResourceID\": \"abc\",\n \"Status\": 0,\n \"IP\": \"abc\",\n \"CPU\": 1,\n \"Memory\": 1,\n \"Storage\": 1,\n \"UUID\": \"abc\",\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"Details\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\",\n \"ExpireTime\": \"abc\"\n }\n ]\n }\n ],\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
72
|
+
"title": "查询云原生实例列表"
|
73
|
+
}
|
74
|
+
],
|
67
75
|
"DescribeCkSqlApis": [
|
68
76
|
{
|
69
77
|
"document": "",
|
@@ -5455,7 +5455,7 @@
|
|
5455
5455
|
},
|
5456
5456
|
{
|
5457
5457
|
"disabled": false,
|
5458
|
-
"document": "
|
5458
|
+
"document": "高可用,\"true\" \"false\"",
|
5459
5459
|
"example": "false",
|
5460
5460
|
"member": "string",
|
5461
5461
|
"name": "HA",
|
@@ -5852,6 +5852,26 @@
|
|
5852
5852
|
"output_required": false,
|
5853
5853
|
"type": "int",
|
5854
5854
|
"value_allowed_null": false
|
5855
|
+
},
|
5856
|
+
{
|
5857
|
+
"disabled": false,
|
5858
|
+
"document": "存算分离cos存储数据",
|
5859
|
+
"example": "64.3",
|
5860
|
+
"member": "float",
|
5861
|
+
"name": "CosStorageSize",
|
5862
|
+
"output_required": false,
|
5863
|
+
"type": "float",
|
5864
|
+
"value_allowed_null": false
|
5865
|
+
},
|
5866
|
+
{
|
5867
|
+
"disabled": false,
|
5868
|
+
"document": "存算分离的指标 当是true 不支持新建计算组",
|
5869
|
+
"example": "true",
|
5870
|
+
"member": "bool",
|
5871
|
+
"name": "IsMasterNonVM",
|
5872
|
+
"output_required": false,
|
5873
|
+
"type": "bool",
|
5874
|
+
"value_allowed_null": false
|
5855
5875
|
}
|
5856
5876
|
],
|
5857
5877
|
"usage": "out"
|
@@ -8526,7 +8546,7 @@
|
|
8526
8546
|
},
|
8527
8547
|
{
|
8528
8548
|
"disabled": false,
|
8529
|
-
"document": "调度类型,不传该参数时为立即执行:\nDay-天\nWeek-周\nMonth-月\nOnce-单次\n",
|
8549
|
+
"document": "调度类型,不传该参数时为立即执行:\nDay-天\nWeek-周\nMonth-月\nQuarter-季度\nYear-年\nOnce-单次\n",
|
8530
8550
|
"example": "Day",
|
8531
8551
|
"member": "string",
|
8532
8552
|
"name": "ScheduleType",
|