tccli 3.0.1133.1__py2.py3-none-any.whl → 3.0.1134.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/asr/v20190614/api.json +2 -2
- tccli/services/billing/v20180709/api.json +10 -0
- tccli/services/cam/v20190116/api.json +41 -12
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cmq/v20190304/api.json +53 -49
- tccli/services/cmq/v20190304/examples.json +2 -2
- tccli/services/cynosdb/cynosdb_client.py +57 -4
- tccli/services/cynosdb/v20190107/api.json +111 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +149 -2
- tccli/services/dlc/v20210125/examples.json +9 -1
- tccli/services/dsgc/v20190723/api.json +45 -40
- tccli/services/dts/dts_client.py +0 -53
- tccli/services/dts/v20180330/api.json +0 -98
- tccli/services/dts/v20180330/examples.json +0 -8
- tccli/services/emr/v20190103/api.json +4 -4
- tccli/services/ess/ess_client.py +411 -305
- tccli/services/ess/v20201111/api.json +144 -0
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/essbasic_client.py +110 -4
- tccli/services/essbasic/v20210526/api.json +137 -2
- tccli/services/essbasic/v20210526/examples.json +16 -0
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +96 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +57 -7
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +373 -3
- tccli/services/organization/organization_client.py +118 -12
- tccli/services/organization/v20210331/api.json +68 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/tdmq/tdmq_client.py +443 -19
- tccli/services/tdmq/v20200217/api.json +570 -0
- tccli/services/tdmq/v20200217/examples.json +64 -0
- tccli/services/trro/v20220325/api.json +6 -6
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tsf/v20180326/api.json +37 -27
- tccli/services/tsf/v20180326/examples.json +1 -1
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1134.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1134.1.dist-info}/RECORD +46 -46
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1134.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1134.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1134.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/dlc/dlc_client.py
CHANGED
@@ -2565,6 +2565,58 @@ def doReportHeartbeatMetaData(args, parsed_globals):
|
|
2565
2565
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2566
2566
|
|
2567
2567
|
|
2568
|
+
def doDescribeSparkSessionBatchSQLCost(args, parsed_globals):
|
2569
|
+
g_param = parse_global_arg(parsed_globals)
|
2570
|
+
|
2571
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2572
|
+
cred = credential.CVMRoleCredential()
|
2573
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2574
|
+
cred = credential.STSAssumeRoleCredential(
|
2575
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2576
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2577
|
+
)
|
2578
|
+
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):
|
2579
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2580
|
+
else:
|
2581
|
+
cred = credential.Credential(
|
2582
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2583
|
+
)
|
2584
|
+
http_profile = HttpProfile(
|
2585
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2586
|
+
reqMethod="POST",
|
2587
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2588
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2589
|
+
)
|
2590
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2591
|
+
if g_param[OptionsDefine.Language]:
|
2592
|
+
profile.language = g_param[OptionsDefine.Language]
|
2593
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2594
|
+
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
2595
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2596
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2597
|
+
model = models.DescribeSparkSessionBatchSQLCostRequest()
|
2598
|
+
model.from_json_string(json.dumps(args))
|
2599
|
+
start_time = time.time()
|
2600
|
+
while True:
|
2601
|
+
rsp = client.DescribeSparkSessionBatchSQLCost(model)
|
2602
|
+
result = rsp.to_json_string()
|
2603
|
+
try:
|
2604
|
+
json_obj = json.loads(result)
|
2605
|
+
except TypeError as e:
|
2606
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2607
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2608
|
+
break
|
2609
|
+
cur_time = time.time()
|
2610
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2611
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2612
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2613
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2614
|
+
else:
|
2615
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2616
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2617
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2618
|
+
|
2619
|
+
|
2568
2620
|
def doDescribeUpdatableDataEngines(args, parsed_globals):
|
2569
2621
|
g_param = parse_global_arg(parsed_globals)
|
2570
2622
|
|
@@ -7305,6 +7357,7 @@ ACTION_MAP = {
|
|
7305
7357
|
"DescribeTablesName": doDescribeTablesName,
|
7306
7358
|
"DeleteCHDFSBindingProduct": doDeleteCHDFSBindingProduct,
|
7307
7359
|
"ReportHeartbeatMetaData": doReportHeartbeatMetaData,
|
7360
|
+
"DescribeSparkSessionBatchSQLCost": doDescribeSparkSessionBatchSQLCost,
|
7308
7361
|
"DescribeUpdatableDataEngines": doDescribeUpdatableDataEngines,
|
7309
7362
|
"CreateInternalTable": doCreateInternalTable,
|
7310
7363
|
"GenerateCreateMangedTableSql": doGenerateCreateMangedTableSql,
|
@@ -567,6 +567,13 @@
|
|
567
567
|
"output": "DescribeSparkSessionBatchSQLResponse",
|
568
568
|
"status": "online"
|
569
569
|
},
|
570
|
+
"DescribeSparkSessionBatchSQLCost": {
|
571
|
+
"document": "本接口(DescribeSparkSessionBatchSQLCost)用于查询Spark SQL批任务消耗",
|
572
|
+
"input": "DescribeSparkSessionBatchSQLCostRequest",
|
573
|
+
"name": "获取Spark SQL批任务消耗",
|
574
|
+
"output": "DescribeSparkSessionBatchSQLCostResponse",
|
575
|
+
"status": "online"
|
576
|
+
},
|
570
577
|
"DescribeSparkSessionBatchSqlLog": {
|
571
578
|
"document": "本接口(DescribeSparkSessionBatchSqlLog)用于查询Spark SQL批任务日志",
|
572
579
|
"input": "DescribeSparkSessionBatchSqlLogRequest",
|
@@ -1641,6 +1648,72 @@
|
|
1641
1648
|
],
|
1642
1649
|
"type": "object"
|
1643
1650
|
},
|
1651
|
+
"BatchSQLCostInfo": {
|
1652
|
+
"document": "spark session batch SQL的消耗信息",
|
1653
|
+
"members": [
|
1654
|
+
{
|
1655
|
+
"disabled": false,
|
1656
|
+
"document": "任务id\n注意:此字段可能返回 null,表示取不到有效值。",
|
1657
|
+
"example": "8925a6ba-0b33-4499-8b41-1f5a213689f0",
|
1658
|
+
"member": "string",
|
1659
|
+
"name": "BatchId",
|
1660
|
+
"output_required": false,
|
1661
|
+
"type": "string",
|
1662
|
+
"value_allowed_null": true
|
1663
|
+
},
|
1664
|
+
{
|
1665
|
+
"disabled": false,
|
1666
|
+
"document": "引擎名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1667
|
+
"example": "testengine",
|
1668
|
+
"member": "string",
|
1669
|
+
"name": "DataEngineName",
|
1670
|
+
"output_required": false,
|
1671
|
+
"type": "string",
|
1672
|
+
"value_allowed_null": true
|
1673
|
+
},
|
1674
|
+
{
|
1675
|
+
"disabled": false,
|
1676
|
+
"document": "引擎id\n注意:此字段可能返回 null,表示取不到有效值。",
|
1677
|
+
"example": "DataEngine-xxx",
|
1678
|
+
"member": "string",
|
1679
|
+
"name": "DataEngineId",
|
1680
|
+
"output_required": false,
|
1681
|
+
"type": "string",
|
1682
|
+
"value_allowed_null": true
|
1683
|
+
},
|
1684
|
+
{
|
1685
|
+
"disabled": false,
|
1686
|
+
"document": "本次消耗,单位cu\n注意:此字段可能返回 null,表示取不到有效值。",
|
1687
|
+
"example": "1.231412",
|
1688
|
+
"member": "float",
|
1689
|
+
"name": "Cost",
|
1690
|
+
"output_required": false,
|
1691
|
+
"type": "float",
|
1692
|
+
"value_allowed_null": true
|
1693
|
+
},
|
1694
|
+
{
|
1695
|
+
"disabled": false,
|
1696
|
+
"document": "时间开销,秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
1697
|
+
"example": "12",
|
1698
|
+
"member": "int64",
|
1699
|
+
"name": "TimeCost",
|
1700
|
+
"output_required": false,
|
1701
|
+
"type": "int",
|
1702
|
+
"value_allowed_null": true
|
1703
|
+
},
|
1704
|
+
{
|
1705
|
+
"disabled": false,
|
1706
|
+
"document": "操作者\n注意:此字段可能返回 null,表示取不到有效值。",
|
1707
|
+
"example": "1238741213",
|
1708
|
+
"member": "string",
|
1709
|
+
"name": "Operator",
|
1710
|
+
"output_required": false,
|
1711
|
+
"type": "string",
|
1712
|
+
"value_allowed_null": true
|
1713
|
+
}
|
1714
|
+
],
|
1715
|
+
"usage": "out"
|
1716
|
+
},
|
1644
1717
|
"BatchSqlTask": {
|
1645
1718
|
"document": "SparkSQL批任务信息",
|
1646
1719
|
"members": [
|
@@ -9563,6 +9636,43 @@
|
|
9563
9636
|
],
|
9564
9637
|
"type": "object"
|
9565
9638
|
},
|
9639
|
+
"DescribeSparkSessionBatchSQLCostRequest": {
|
9640
|
+
"document": "DescribeSparkSessionBatchSQLCost请求参数结构体",
|
9641
|
+
"members": [
|
9642
|
+
{
|
9643
|
+
"disabled": false,
|
9644
|
+
"document": "SparkSQL唯一标识",
|
9645
|
+
"example": "[\"d3018ad4-9a7e-4f64-a3f4-f38507c69742\"]",
|
9646
|
+
"member": "string",
|
9647
|
+
"name": "BatchIds",
|
9648
|
+
"required": false,
|
9649
|
+
"type": "list"
|
9650
|
+
}
|
9651
|
+
],
|
9652
|
+
"type": "object"
|
9653
|
+
},
|
9654
|
+
"DescribeSparkSessionBatchSQLCostResponse": {
|
9655
|
+
"document": "DescribeSparkSessionBatchSQLCost返回参数结构体",
|
9656
|
+
"members": [
|
9657
|
+
{
|
9658
|
+
"disabled": false,
|
9659
|
+
"document": "任务消耗\n注意:此字段可能返回 null,表示取不到有效值。",
|
9660
|
+
"example": "[{\"BatchId\":\"8925sdfxv-3-4499-8b41-1f5a213689f0\",\"DataEngineName\":\"spark_jar\",\"DataEngineId\":\"DataEngine-xxxx\",\"Cost\":0.7466666666666667,\"TimeCost\":193,\"Operator\":\"100001244200\"}]",
|
9661
|
+
"member": "BatchSQLCostInfo",
|
9662
|
+
"name": "CostInfo",
|
9663
|
+
"output_required": false,
|
9664
|
+
"type": "list",
|
9665
|
+
"value_allowed_null": true
|
9666
|
+
},
|
9667
|
+
{
|
9668
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9669
|
+
"member": "string",
|
9670
|
+
"name": "RequestId",
|
9671
|
+
"type": "string"
|
9672
|
+
}
|
9673
|
+
],
|
9674
|
+
"type": "object"
|
9675
|
+
},
|
9566
9676
|
"DescribeSparkSessionBatchSQLRequest": {
|
9567
9677
|
"document": "DescribeSparkSessionBatchSQL请求参数结构体",
|
9568
9678
|
"members": [
|
@@ -10356,7 +10466,44 @@
|
|
10356
10466
|
},
|
10357
10467
|
"DescribeTasksOverviewRequest": {
|
10358
10468
|
"document": "DescribeTasksOverview请求参数结构体",
|
10359
|
-
"members": [
|
10469
|
+
"members": [
|
10470
|
+
{
|
10471
|
+
"disabled": false,
|
10472
|
+
"document": "开始时间",
|
10473
|
+
"example": "2022-08-30 00:00:00",
|
10474
|
+
"member": "string",
|
10475
|
+
"name": "StartTime",
|
10476
|
+
"required": false,
|
10477
|
+
"type": "string"
|
10478
|
+
},
|
10479
|
+
{
|
10480
|
+
"disabled": false,
|
10481
|
+
"document": "结束时间",
|
10482
|
+
"example": "2022-08-30 00:00:002022-08-30 00:00:00",
|
10483
|
+
"member": "string",
|
10484
|
+
"name": "EndTime",
|
10485
|
+
"required": false,
|
10486
|
+
"type": "string"
|
10487
|
+
},
|
10488
|
+
{
|
10489
|
+
"disabled": false,
|
10490
|
+
"document": "筛选条件",
|
10491
|
+
"example": "无",
|
10492
|
+
"member": "Filter",
|
10493
|
+
"name": "Filters",
|
10494
|
+
"required": false,
|
10495
|
+
"type": "list"
|
10496
|
+
},
|
10497
|
+
{
|
10498
|
+
"disabled": false,
|
10499
|
+
"document": "引擎名",
|
10500
|
+
"example": "dataengine-xx",
|
10501
|
+
"member": "string",
|
10502
|
+
"name": "DataEngineName",
|
10503
|
+
"required": false,
|
10504
|
+
"type": "string"
|
10505
|
+
}
|
10506
|
+
],
|
10360
10507
|
"type": "object"
|
10361
10508
|
},
|
10362
10509
|
"DescribeTasksOverviewResponse": {
|
@@ -10368,7 +10515,7 @@
|
|
10368
10515
|
"example": "无",
|
10369
10516
|
"member": "TasksOverview",
|
10370
10517
|
"name": "TasksOverview",
|
10371
|
-
"
|
10518
|
+
"output_required": true,
|
10372
10519
|
"type": "object",
|
10373
10520
|
"value_allowed_null": false
|
10374
10521
|
},
|
@@ -654,6 +654,14 @@
|
|
654
654
|
"title": "获取SparkSQL批任务运行状态"
|
655
655
|
}
|
656
656
|
],
|
657
|
+
"DescribeSparkSessionBatchSQLCost": [
|
658
|
+
{
|
659
|
+
"document": "获取SparkSQL批任务消耗",
|
660
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSparkSessionBatchSQLCost\n<公共请求参数>\n\n{\n \"BatchIds\": [\n \"d3018ad4-9a7e-4f64-a3f4-fsjr37c69742\"\n ]\n}",
|
661
|
+
"output": "{\n \"Response\": {\n \"CostInfo\": [\n {\n \"BatchId\": \"892499-8b41-1f5a213689f0\",\n \"DataEngineName\": \"engine_jar\",\n \"DataEngineId\": \"DataEngine-xxxx\",\n \"Cost\": 0.7466666666666667,\n \"TimeCost\": 193,\n \"Operator\": \"1000fsdf0\"\n }\n ],\n \"RequestId\": \"2ae4707a-9f72-sdfsd-sdf-cac3c2bc\"\n }\n}",
|
662
|
+
"title": "获取SparkSQL批任务消耗"
|
663
|
+
}
|
664
|
+
],
|
657
665
|
"DescribeSparkSessionBatchSqlLog": [
|
658
666
|
{
|
659
667
|
"document": "查询Spark SQL批任务日志",
|
@@ -737,7 +745,7 @@
|
|
737
745
|
"DescribeTasksOverview": [
|
738
746
|
{
|
739
747
|
"document": "",
|
740
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksOverview\n<公共请求参数>\n\n{}",
|
748
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksOverview\n<公共请求参数>\n\n{\n \"StartTime\": \"2022-08-23 00:00:00\",\n \"EndTime\": \"2022-08-30 00:00:00\"\n}",
|
741
749
|
"output": "{\n \"Response\": {\n \"RequestId\": \"923423423445\",\n \"TasksOverview\": {\n \"TaskQueuedCount\": 0,\n \"TaskInitCount\": 0,\n \"TaskRunningCount\": 0,\n \"TotalTaskCount\": 0\n }\n }\n}",
|
742
750
|
"title": "查询任务概览情况"
|
743
751
|
}
|
@@ -3684,7 +3684,7 @@
|
|
3684
3684
|
{
|
3685
3685
|
"disabled": true,
|
3686
3686
|
"document": "本次更新的ID号,用来标记一次完整的更新过程。",
|
3687
|
-
"example": "
|
3687
|
+
"example": "10",
|
3688
3688
|
"member": "string",
|
3689
3689
|
"name": "UpdateId",
|
3690
3690
|
"required": false,
|
@@ -3693,7 +3693,7 @@
|
|
3693
3693
|
{
|
3694
3694
|
"disabled": true,
|
3695
3695
|
"document": "云上资源列表。",
|
3696
|
-
"example": "
|
3696
|
+
"example": "[item]",
|
3697
3697
|
"member": "DspaCloudResourceMeta",
|
3698
3698
|
"name": "Items",
|
3699
3699
|
"required": false,
|
@@ -3702,7 +3702,7 @@
|
|
3702
3702
|
{
|
3703
3703
|
"disabled": false,
|
3704
3704
|
"document": "必填,云数据库资源列表。",
|
3705
|
-
"example": "
|
3705
|
+
"example": "[cloudResourceItem]",
|
3706
3706
|
"member": "CloudResourceItem",
|
3707
3707
|
"name": "CloudResourceItems",
|
3708
3708
|
"required": false,
|
@@ -3717,7 +3717,7 @@
|
|
3717
3717
|
{
|
3718
3718
|
"disabled": true,
|
3719
3719
|
"document": "本次更新的ID号,用来标记一次完整的更新过程。",
|
3720
|
-
"example": "
|
3720
|
+
"example": "10",
|
3721
3721
|
"member": "string",
|
3722
3722
|
"name": "UpdateId",
|
3723
3723
|
"output_required": true,
|
@@ -3727,7 +3727,7 @@
|
|
3727
3727
|
{
|
3728
3728
|
"disabled": false,
|
3729
3729
|
"document": "资源类型,支持:cdb(云数据库 MySQL)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbpg(TDSQL-C PostgreSQL版)、cynosdbmysql(TDSQL-C MySQL版)",
|
3730
|
-
"example": "
|
3730
|
+
"example": "cdb",
|
3731
3731
|
"member": "string",
|
3732
3732
|
"name": "MetaType",
|
3733
3733
|
"output_required": true,
|
@@ -3737,7 +3737,7 @@
|
|
3737
3737
|
{
|
3738
3738
|
"disabled": false,
|
3739
3739
|
"document": "DSPA实例ID。",
|
3740
|
-
"example": "
|
3740
|
+
"example": "dspa-a1b2",
|
3741
3741
|
"member": "string",
|
3742
3742
|
"name": "DspaId",
|
3743
3743
|
"output_required": true,
|
@@ -3747,7 +3747,7 @@
|
|
3747
3747
|
{
|
3748
3748
|
"disabled": true,
|
3749
3749
|
"document": "资源所处地域。",
|
3750
|
-
"example": "
|
3750
|
+
"example": "ap-guangzhou",
|
3751
3751
|
"member": "string",
|
3752
3752
|
"name": "ResourceRegion",
|
3753
3753
|
"output_required": true,
|
@@ -5063,7 +5063,7 @@
|
|
5063
5063
|
{
|
5064
5064
|
"disabled": false,
|
5065
5065
|
"document": "资源所处地域。",
|
5066
|
-
"example": "
|
5066
|
+
"example": "ap-guangzhou",
|
5067
5067
|
"member": "string",
|
5068
5068
|
"name": "ResourceRegion",
|
5069
5069
|
"required": true,
|
@@ -5072,7 +5072,7 @@
|
|
5072
5072
|
{
|
5073
5073
|
"disabled": false,
|
5074
5074
|
"document": "资源实例ID。",
|
5075
|
-
"example": "
|
5075
|
+
"example": "[\"res-abcd\",\"res-1234\"]",
|
5076
5076
|
"member": "string",
|
5077
5077
|
"name": "ResourceIds",
|
5078
5078
|
"required": false,
|
@@ -5087,20 +5087,20 @@
|
|
5087
5087
|
{
|
5088
5088
|
"disabled": false,
|
5089
5089
|
"document": "结果集合。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5090
|
-
"example": "
|
5090
|
+
"example": "[item]",
|
5091
5091
|
"member": "DspaTaskResult",
|
5092
5092
|
"name": "Results",
|
5093
|
-
"
|
5093
|
+
"output_required": true,
|
5094
5094
|
"type": "list",
|
5095
5095
|
"value_allowed_null": true
|
5096
5096
|
},
|
5097
5097
|
{
|
5098
5098
|
"disabled": false,
|
5099
5099
|
"document": "DSPA实例ID。",
|
5100
|
-
"example": "
|
5100
|
+
"example": "dspa-dabad",
|
5101
5101
|
"member": "string",
|
5102
5102
|
"name": "DspaId",
|
5103
|
-
"
|
5103
|
+
"output_required": true,
|
5104
5104
|
"type": "string",
|
5105
5105
|
"value_allowed_null": false
|
5106
5106
|
},
|
@@ -5308,7 +5308,7 @@
|
|
5308
5308
|
{
|
5309
5309
|
"disabled": false,
|
5310
5310
|
"document": "DSPA实例ID。",
|
5311
|
-
"example": "
|
5311
|
+
"example": "dspa-a1b2",
|
5312
5312
|
"member": "string",
|
5313
5313
|
"name": "DspaId",
|
5314
5314
|
"required": true,
|
@@ -5317,7 +5317,7 @@
|
|
5317
5317
|
{
|
5318
5318
|
"disabled": false,
|
5319
5319
|
"document": "用户云资源ID。",
|
5320
|
-
"example": "
|
5320
|
+
"example": "[9781,3213]",
|
5321
5321
|
"member": "string",
|
5322
5322
|
"name": "ResourceIDs",
|
5323
5323
|
"required": true,
|
@@ -5332,20 +5332,20 @@
|
|
5332
5332
|
{
|
5333
5333
|
"disabled": false,
|
5334
5334
|
"document": "DSPA实例ID。",
|
5335
|
-
"example": "
|
5335
|
+
"example": "dspa-a1b2c3",
|
5336
5336
|
"member": "string",
|
5337
5337
|
"name": "DspaId",
|
5338
|
-
"
|
5338
|
+
"output_required": true,
|
5339
5339
|
"type": "string",
|
5340
5340
|
"value_allowed_null": false
|
5341
5341
|
},
|
5342
5342
|
{
|
5343
5343
|
"disabled": false,
|
5344
5344
|
"document": "删除结果。",
|
5345
|
-
"example": "
|
5345
|
+
"example": "[success]",
|
5346
5346
|
"member": "DspaTaskResult",
|
5347
5347
|
"name": "Results",
|
5348
|
-
"
|
5348
|
+
"output_required": true,
|
5349
5349
|
"type": "list",
|
5350
5350
|
"value_allowed_null": false
|
5351
5351
|
},
|
@@ -14331,7 +14331,7 @@
|
|
14331
14331
|
{
|
14332
14332
|
"disabled": false,
|
14333
14333
|
"document": "DSPA实例ID。",
|
14334
|
-
"example": "
|
14334
|
+
"example": "dspa-a1b2",
|
14335
14335
|
"member": "string",
|
14336
14336
|
"name": "DspaId",
|
14337
14337
|
"required": true,
|
@@ -14492,7 +14492,7 @@
|
|
14492
14492
|
{
|
14493
14493
|
"disabled": false,
|
14494
14494
|
"document": "DSPA实例ID。",
|
14495
|
-
"example": "
|
14495
|
+
"example": "dspa-abcaa",
|
14496
14496
|
"member": "string",
|
14497
14497
|
"name": "DspaId",
|
14498
14498
|
"required": true,
|
@@ -14501,7 +14501,7 @@
|
|
14501
14501
|
{
|
14502
14502
|
"disabled": false,
|
14503
14503
|
"document": "资源类型。",
|
14504
|
-
"example": "
|
14504
|
+
"example": "cdb",
|
14505
14505
|
"member": "string",
|
14506
14506
|
"name": "MetaType",
|
14507
14507
|
"required": true,
|
@@ -14510,7 +14510,7 @@
|
|
14510
14510
|
{
|
14511
14511
|
"disabled": false,
|
14512
14512
|
"document": "资源所处地域。",
|
14513
|
-
"example": "
|
14513
|
+
"example": "ap-guangzhou",
|
14514
14514
|
"member": "string",
|
14515
14515
|
"name": "ResourceRegion",
|
14516
14516
|
"required": true,
|
@@ -14519,7 +14519,7 @@
|
|
14519
14519
|
{
|
14520
14520
|
"disabled": false,
|
14521
14521
|
"document": "资源列表中展示的资源ID。",
|
14522
|
-
"example": "
|
14522
|
+
"example": "cdb-a1b2",
|
14523
14523
|
"member": "string",
|
14524
14524
|
"name": "ResourceId",
|
14525
14525
|
"required": true,
|
@@ -14537,17 +14537,17 @@
|
|
14537
14537
|
"example": "success",
|
14538
14538
|
"member": "string",
|
14539
14539
|
"name": "ConnectionStatus",
|
14540
|
-
"
|
14540
|
+
"output_required": true,
|
14541
14541
|
"type": "string",
|
14542
14542
|
"value_allowed_null": false
|
14543
14543
|
},
|
14544
14544
|
{
|
14545
14545
|
"disabled": false,
|
14546
14546
|
"document": "连接状态的描述信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14547
|
-
"example": "
|
14547
|
+
"example": "connection-success",
|
14548
14548
|
"member": "string",
|
14549
14549
|
"name": "ConnectionDesc",
|
14550
|
-
"
|
14550
|
+
"output_required": true,
|
14551
14551
|
"type": "string",
|
14552
14552
|
"value_allowed_null": true
|
14553
14553
|
},
|
@@ -14566,7 +14566,7 @@
|
|
14566
14566
|
{
|
14567
14567
|
"disabled": false,
|
14568
14568
|
"document": "DSPA实例ID。",
|
14569
|
-
"example": "
|
14569
|
+
"example": "dspa-a1b2c3",
|
14570
14570
|
"member": "string",
|
14571
14571
|
"name": "DspaId",
|
14572
14572
|
"required": true,
|
@@ -14581,18 +14581,20 @@
|
|
14581
14581
|
{
|
14582
14582
|
"disabled": false,
|
14583
14583
|
"document": "体验版本名称。",
|
14584
|
-
"example": "
|
14584
|
+
"example": "version",
|
14585
14585
|
"member": "string",
|
14586
14586
|
"name": "TrialVersion",
|
14587
|
+
"output_required": true,
|
14587
14588
|
"type": "string",
|
14588
14589
|
"value_allowed_null": false
|
14589
14590
|
},
|
14590
14591
|
{
|
14591
14592
|
"disabled": false,
|
14592
14593
|
"document": "版本体验结束时间戳。",
|
14593
|
-
"example": "
|
14594
|
+
"example": "123042123",
|
14594
14595
|
"member": "uint64",
|
14595
14596
|
"name": "TrialEndAt",
|
14597
|
+
"output_required": true,
|
14596
14598
|
"type": "int",
|
14597
14599
|
"value_allowed_null": false
|
14598
14600
|
},
|
@@ -14970,7 +14972,7 @@
|
|
14970
14972
|
{
|
14971
14973
|
"disabled": false,
|
14972
14974
|
"document": "实例Id",
|
14973
|
-
"example": "dspa-
|
14975
|
+
"example": "dspa-12311",
|
14974
14976
|
"member": "string",
|
14975
14977
|
"name": "DspaId",
|
14976
14978
|
"required": true,
|
@@ -14979,7 +14981,7 @@
|
|
14979
14981
|
{
|
14980
14982
|
"disabled": false,
|
14981
14983
|
"document": "过滤数组。支持的Name:\nBucket - 桶名,支持模糊匹配\n\nResoureRegion - 资源所处地域,需要填写完整地域名称,不支持模糊匹配。\n\nValid -- 资源是否有效,\"1\" 表示有效,\"0\"表示无效。",
|
14982
|
-
"example": "
|
14984
|
+
"example": "[filter]",
|
14983
14985
|
"member": "DspaDataSourceMngFilter",
|
14984
14986
|
"name": "Filters",
|
14985
14987
|
"required": false,
|
@@ -15024,24 +15026,27 @@
|
|
15024
15026
|
"example": "1",
|
15025
15027
|
"member": "int64",
|
15026
15028
|
"name": "TotalCount",
|
15029
|
+
"output_required": true,
|
15027
15030
|
"type": "int",
|
15028
15031
|
"value_allowed_null": false
|
15029
15032
|
},
|
15030
15033
|
{
|
15031
15034
|
"disabled": false,
|
15032
15035
|
"document": "COS元数据信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
15033
|
-
"example": "
|
15036
|
+
"example": "[item]",
|
15034
15037
|
"member": "DSPACosMetaDataInfo",
|
15035
15038
|
"name": "Items",
|
15039
|
+
"output_required": true,
|
15036
15040
|
"type": "list",
|
15037
15041
|
"value_allowed_null": true
|
15038
15042
|
},
|
15039
15043
|
{
|
15040
15044
|
"disabled": false,
|
15041
15045
|
"document": "DSPA实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
15042
|
-
"example": "
|
15046
|
+
"example": "dspa-a1b2c3",
|
15043
15047
|
"member": "string",
|
15044
15048
|
"name": "DspaId",
|
15049
|
+
"output_required": true,
|
15045
15050
|
"type": "string",
|
15046
15051
|
"value_allowed_null": true
|
15047
15052
|
},
|
@@ -15760,7 +15765,7 @@
|
|
15760
15765
|
{
|
15761
15766
|
"disabled": false,
|
15762
15767
|
"document": "DSPA实例ID。",
|
15763
|
-
"example": "
|
15768
|
+
"example": "dspa-a1b2",
|
15764
15769
|
"member": "string",
|
15765
15770
|
"name": "DspaId",
|
15766
15771
|
"required": true,
|
@@ -18312,7 +18317,7 @@
|
|
18312
18317
|
{
|
18313
18318
|
"disabled": false,
|
18314
18319
|
"document": "DSPA实例ID。",
|
18315
|
-
"example": "
|
18320
|
+
"example": "dspa-a1b2",
|
18316
18321
|
"member": "string",
|
18317
18322
|
"name": "DspaId",
|
18318
18323
|
"required": true,
|
@@ -18321,7 +18326,7 @@
|
|
18321
18326
|
{
|
18322
18327
|
"disabled": false,
|
18323
18328
|
"document": "云资源名称,如果是通过CVM访问则填写CVM的资源ID,如果是通过LB访问则填写LB的资源ID。",
|
18324
|
-
"example": "
|
18329
|
+
"example": "c231",
|
18325
18330
|
"member": "string",
|
18326
18331
|
"name": "ResourceId",
|
18327
18332
|
"required": true,
|
@@ -18330,7 +18335,7 @@
|
|
18330
18335
|
{
|
18331
18336
|
"disabled": false,
|
18332
18337
|
"document": "资源绑定的端口,为0则表示不更新。",
|
18333
|
-
"example": "
|
18338
|
+
"example": "2204",
|
18334
18339
|
"member": "uint64",
|
18335
18340
|
"name": "ResourceVPort",
|
18336
18341
|
"required": true,
|
@@ -18339,7 +18344,7 @@
|
|
18339
18344
|
{
|
18340
18345
|
"disabled": false,
|
18341
18346
|
"document": "账户名,为空则表示不更新。\nUserName和Password必须同时填写或同时为空。",
|
18342
|
-
"example": "
|
18347
|
+
"example": "admin",
|
18343
18348
|
"member": "string",
|
18344
18349
|
"name": "UserName",
|
18345
18350
|
"required": true,
|
@@ -18348,7 +18353,7 @@
|
|
18348
18353
|
{
|
18349
18354
|
"disabled": false,
|
18350
18355
|
"document": "账户密码,为空则表示不更新。\nUserName和Password必须同时填写或同时为空。",
|
18351
|
-
"example": "
|
18356
|
+
"example": "pass",
|
18352
18357
|
"member": "string",
|
18353
18358
|
"name": "Password",
|
18354
18359
|
"required": true,
|