tccli 3.0.1181.1__py2.py3-none-any.whl → 3.0.1183.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/__init__.py +3 -0
- tccli/services/ams/v20201229/api.json +20 -0
- tccli/services/ams/v20201229/examples.json +1 -1
- tccli/services/asr/asr_client.py +229 -17
- tccli/services/asr/v20190614/api.json +379 -0
- tccli/services/asr/v20190614/examples.json +32 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bi/v20220105/api.json +10 -0
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +185 -0
- tccli/services/cdb/v20170320/examples.json +17 -1
- tccli/services/cdwdoris/v20211228/api.json +70 -8
- tccli/services/cdwdoris/v20211228/examples.json +2 -2
- tccli/services/cfg/v20210820/api.json +134 -11
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +44 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/ckafka/v20190819/api.json +46 -16
- tccli/services/ckafka/v20190819/examples.json +8 -8
- tccli/services/clb/v20180317/api.json +99 -2
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/controlcenter/__init__.py +4 -0
- tccli/services/controlcenter/controlcenter_client.py +195 -0
- tccli/services/controlcenter/v20230110/api.json +82 -0
- tccli/services/controlcenter/v20230110/examples.json +13 -0
- tccli/services/csip/v20221121/api.json +308 -1
- tccli/services/cvm/v20170312/api.json +20 -20
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cwp/v20180228/api.json +3 -3
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +110 -4
- tccli/services/cynosdb/v20190107/api.json +296 -11
- tccli/services/cynosdb/v20190107/examples.json +19 -3
- tccli/services/dasb/v20191018/api.json +20 -1
- tccli/services/dbbrain/v20210527/api.json +15 -15
- tccli/services/dc/v20180410/api.json +117 -73
- tccli/services/dc/v20180410/examples.json +11 -11
- tccli/services/dcdb/dcdb_client.py +53 -0
- tccli/services/dcdb/v20180411/api.json +54 -0
- tccli/services/dcdb/v20180411/examples.json +8 -0
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +52 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +64 -1
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +9 -9
- tccli/services/hunyuan/hunyuan_client.py +106 -0
- tccli/services/hunyuan/v20230901/api.json +236 -1
- tccli/services/hunyuan/v20230901/examples.json +16 -0
- tccli/services/ims/v20201229/api.json +1 -1
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/iss/v20230517/api.json +18 -0
- tccli/services/iss/v20230517/examples.json +3 -3
- tccli/services/lke/v20231130/api.json +141 -2
- tccli/services/mariadb/mariadb_client.py +57 -4
- tccli/services/mariadb/v20170312/api.json +54 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/oceanus/v20190422/api.json +10 -0
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/organization/organization_client.py +53 -0
- tccli/services/organization/v20210331/api.json +43 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/postgres/v20170312/api.json +3 -0
- tccli/services/redis/v20180412/api.json +16 -16
- tccli/services/scf/v20180416/api.json +26 -16
- tccli/services/ses/v20201002/api.json +148 -11
- tccli/services/sms/v20190711/api.json +49 -49
- tccli/services/sms/v20190711/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +3 -3
- tccli/services/ssl/v20191205/examples.json +2 -2
- tccli/services/tdmq/v20200217/api.json +180 -93
- tccli/services/tdmq/v20200217/examples.json +8 -8
- tccli/services/tke/v20180525/api.json +14 -2
- tccli/services/tke/v20180525/examples.json +3 -3
- tccli/services/tms/tms_client.py +0 -53
- tccli/services/tms/v20201229/api.json +2 -46
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +4 -4
- tccli/services/trocket/v20230308/api.json +62 -12
- tccli/services/vpc/v20170312/api.json +23 -0
- tccli/services/wedata/v20210820/api.json +1909 -175
- tccli/services/wedata/v20210820/examples.json +62 -0
- tccli/services/wedata/wedata_client.py +387 -16
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/RECORD +91 -87
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1181.1.dist-info → tccli-3.0.1183.1.dist-info}/license_files/LICENSE +0 -0
@@ -602,6 +602,13 @@
|
|
602
602
|
"output": "DescribeInstanceParamsResponse",
|
603
603
|
"status": "online"
|
604
604
|
},
|
605
|
+
"DescribeInstanceUpgradeCheckJob": {
|
606
|
+
"document": "该接口(DescribeInstanceUpgradeCheckJob)查询实例版本升级校验任务。",
|
607
|
+
"input": "DescribeInstanceUpgradeCheckJobRequest",
|
608
|
+
"name": "查询实例版本升级校验任务",
|
609
|
+
"output": "DescribeInstanceUpgradeCheckJobResponse",
|
610
|
+
"status": "online"
|
611
|
+
},
|
605
612
|
"DescribeInstanceUpgradeType": {
|
606
613
|
"document": "本接口(DescribeInstanceUpgradeType)用于查询数据库实例升级类型。",
|
607
614
|
"input": "DescribeInstanceUpgradeTypeRequest",
|
@@ -1120,6 +1127,13 @@
|
|
1120
1127
|
"output": "StopRollbackResponse",
|
1121
1128
|
"status": "online"
|
1122
1129
|
},
|
1130
|
+
"SubmitInstanceUpgradeCheckJob": {
|
1131
|
+
"document": "该接口(SubmitInstanceUpgradeCheckJob)提交实例版本升级校验任务。",
|
1132
|
+
"input": "SubmitInstanceUpgradeCheckJobRequest",
|
1133
|
+
"name": "提交实例版本升级检查任务",
|
1134
|
+
"output": "SubmitInstanceUpgradeCheckJobResponse",
|
1135
|
+
"status": "online"
|
1136
|
+
},
|
1123
1137
|
"SwitchCDBProxy": {
|
1124
1138
|
"document": "数据库代理配置变更或则升级版本后手动发起立即切换",
|
1125
1139
|
"input": "SwitchCDBProxyRequest",
|
@@ -4194,6 +4208,45 @@
|
|
4194
4208
|
],
|
4195
4209
|
"type": "object"
|
4196
4210
|
},
|
4211
|
+
"ClusterInfo": {
|
4212
|
+
"document": "集群版节点信息",
|
4213
|
+
"members": [
|
4214
|
+
{
|
4215
|
+
"disabled": false,
|
4216
|
+
"document": "节点id\n注意:此字段可能返回 null,表示取不到有效值。",
|
4217
|
+
"example": "\"dbn-ipffzoum\"",
|
4218
|
+
"member": "string",
|
4219
|
+
"name": "NodeId",
|
4220
|
+
"output_required": false,
|
4221
|
+
"required": false,
|
4222
|
+
"type": "string",
|
4223
|
+
"value_allowed_null": true
|
4224
|
+
},
|
4225
|
+
{
|
4226
|
+
"disabled": false,
|
4227
|
+
"document": "节点类型:主节点,从节点\n注意:此字段可能返回 null,表示取不到有效值。",
|
4228
|
+
"example": "\"master\"",
|
4229
|
+
"member": "string",
|
4230
|
+
"name": "Role",
|
4231
|
+
"output_required": false,
|
4232
|
+
"required": false,
|
4233
|
+
"type": "string",
|
4234
|
+
"value_allowed_null": true
|
4235
|
+
},
|
4236
|
+
{
|
4237
|
+
"disabled": false,
|
4238
|
+
"document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
|
4239
|
+
"example": "\"ap-guangzhou\"",
|
4240
|
+
"member": "string",
|
4241
|
+
"name": "Zone",
|
4242
|
+
"output_required": false,
|
4243
|
+
"required": false,
|
4244
|
+
"type": "string",
|
4245
|
+
"value_allowed_null": true
|
4246
|
+
}
|
4247
|
+
],
|
4248
|
+
"usage": "both"
|
4249
|
+
},
|
4197
4250
|
"ClusterNodeInfo": {
|
4198
4251
|
"document": "集群版实例节点信息",
|
4199
4252
|
"members": [
|
@@ -10072,6 +10125,15 @@
|
|
10072
10125
|
"name": "EngineTypes",
|
10073
10126
|
"required": false,
|
10074
10127
|
"type": "list"
|
10128
|
+
},
|
10129
|
+
{
|
10130
|
+
"disabled": false,
|
10131
|
+
"document": "是否获取集群版实例节点信息,可填:true或false",
|
10132
|
+
"example": "无",
|
10133
|
+
"member": "bool",
|
10134
|
+
"name": "QueryClusterInfo",
|
10135
|
+
"required": false,
|
10136
|
+
"type": "bool"
|
10075
10137
|
}
|
10076
10138
|
],
|
10077
10139
|
"type": "object"
|
@@ -11067,6 +11129,62 @@
|
|
11067
11129
|
],
|
11068
11130
|
"type": "object"
|
11069
11131
|
},
|
11132
|
+
"DescribeInstanceUpgradeCheckJobRequest": {
|
11133
|
+
"document": "DescribeInstanceUpgradeCheckJob请求参数结构体",
|
11134
|
+
"members": [
|
11135
|
+
{
|
11136
|
+
"disabled": false,
|
11137
|
+
"document": "实例ID",
|
11138
|
+
"example": "\"cdb-g3rbtabc\"",
|
11139
|
+
"member": "string",
|
11140
|
+
"name": "InstanceId",
|
11141
|
+
"required": true,
|
11142
|
+
"type": "string"
|
11143
|
+
},
|
11144
|
+
{
|
11145
|
+
"disabled": false,
|
11146
|
+
"document": "目标数据库版本",
|
11147
|
+
"example": "\"8.0\"",
|
11148
|
+
"member": "string",
|
11149
|
+
"name": "DstMysqlVersion",
|
11150
|
+
"required": true,
|
11151
|
+
"type": "string"
|
11152
|
+
}
|
11153
|
+
],
|
11154
|
+
"type": "object"
|
11155
|
+
},
|
11156
|
+
"DescribeInstanceUpgradeCheckJobResponse": {
|
11157
|
+
"document": "DescribeInstanceUpgradeCheckJob返回参数结构体",
|
11158
|
+
"members": [
|
11159
|
+
{
|
11160
|
+
"disabled": false,
|
11161
|
+
"document": "24小时内是否存在历史升级校验任务",
|
11162
|
+
"example": "true",
|
11163
|
+
"member": "bool",
|
11164
|
+
"name": "ExistUpgradeCheckJob",
|
11165
|
+
"output_required": true,
|
11166
|
+
"type": "bool",
|
11167
|
+
"value_allowed_null": false
|
11168
|
+
},
|
11169
|
+
{
|
11170
|
+
"disabled": false,
|
11171
|
+
"document": "任务id",
|
11172
|
+
"example": "123",
|
11173
|
+
"member": "int64",
|
11174
|
+
"name": "JobId",
|
11175
|
+
"output_required": true,
|
11176
|
+
"type": "int",
|
11177
|
+
"value_allowed_null": false
|
11178
|
+
},
|
11179
|
+
{
|
11180
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11181
|
+
"member": "string",
|
11182
|
+
"name": "RequestId",
|
11183
|
+
"type": "string"
|
11184
|
+
}
|
11185
|
+
],
|
11186
|
+
"type": "object"
|
11187
|
+
},
|
11070
11188
|
"DescribeInstanceUpgradeTypeRequest": {
|
11071
11189
|
"document": "DescribeInstanceUpgradeType请求参数结构体",
|
11072
11190
|
"members": [
|
@@ -12570,6 +12688,7 @@
|
|
12570
12688
|
"example": "5",
|
12571
12689
|
"member": "int64",
|
12572
12690
|
"name": "TotalCount",
|
12691
|
+
"output_required": true,
|
12573
12692
|
"type": "int",
|
12574
12693
|
"value_allowed_null": false
|
12575
12694
|
},
|
@@ -12579,6 +12698,7 @@
|
|
12579
12698
|
"example": "无",
|
12580
12699
|
"member": "TaskDetail",
|
12581
12700
|
"name": "Items",
|
12701
|
+
"output_required": true,
|
12582
12702
|
"type": "list",
|
12583
12703
|
"value_allowed_null": false
|
12584
12704
|
},
|
@@ -14125,6 +14245,16 @@
|
|
14125
14245
|
"output_required": false,
|
14126
14246
|
"type": "int",
|
14127
14247
|
"value_allowed_null": true
|
14248
|
+
},
|
14249
|
+
{
|
14250
|
+
"disabled": false,
|
14251
|
+
"document": "实例集群版节点信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
14252
|
+
"example": "无",
|
14253
|
+
"member": "ClusterInfo",
|
14254
|
+
"name": "ClusterInfo",
|
14255
|
+
"output_required": false,
|
14256
|
+
"type": "list",
|
14257
|
+
"value_allowed_null": true
|
14128
14258
|
}
|
14129
14259
|
],
|
14130
14260
|
"usage": "out"
|
@@ -19790,6 +19920,52 @@
|
|
19790
19920
|
],
|
19791
19921
|
"type": "object"
|
19792
19922
|
},
|
19923
|
+
"SubmitInstanceUpgradeCheckJobRequest": {
|
19924
|
+
"document": "SubmitInstanceUpgradeCheckJob请求参数结构体",
|
19925
|
+
"members": [
|
19926
|
+
{
|
19927
|
+
"disabled": false,
|
19928
|
+
"document": "实例D",
|
19929
|
+
"example": "\"cdb-g3rbtabc\"",
|
19930
|
+
"member": "string",
|
19931
|
+
"name": "InstanceId",
|
19932
|
+
"required": true,
|
19933
|
+
"type": "string"
|
19934
|
+
},
|
19935
|
+
{
|
19936
|
+
"disabled": false,
|
19937
|
+
"document": "目标数据库版本",
|
19938
|
+
"example": "\"8.0\"",
|
19939
|
+
"member": "string",
|
19940
|
+
"name": "DstMysqlVersion",
|
19941
|
+
"required": true,
|
19942
|
+
"type": "string"
|
19943
|
+
}
|
19944
|
+
],
|
19945
|
+
"type": "object"
|
19946
|
+
},
|
19947
|
+
"SubmitInstanceUpgradeCheckJobResponse": {
|
19948
|
+
"document": "SubmitInstanceUpgradeCheckJob返回参数结构体",
|
19949
|
+
"members": [
|
19950
|
+
{
|
19951
|
+
"disabled": false,
|
19952
|
+
"document": "任务ID",
|
19953
|
+
"example": "123",
|
19954
|
+
"member": "int64",
|
19955
|
+
"name": "JobId",
|
19956
|
+
"output_required": true,
|
19957
|
+
"type": "int",
|
19958
|
+
"value_allowed_null": false
|
19959
|
+
},
|
19960
|
+
{
|
19961
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
19962
|
+
"member": "string",
|
19963
|
+
"name": "RequestId",
|
19964
|
+
"type": "string"
|
19965
|
+
}
|
19966
|
+
],
|
19967
|
+
"type": "object"
|
19968
|
+
},
|
19793
19969
|
"SwitchCDBProxyRequest": {
|
19794
19970
|
"document": "SwitchCDBProxy请求参数结构体",
|
19795
19971
|
"members": [
|
@@ -20382,6 +20558,15 @@
|
|
20382
20558
|
"required": false,
|
20383
20559
|
"type": "int"
|
20384
20560
|
},
|
20561
|
+
{
|
20562
|
+
"disabled": false,
|
20563
|
+
"document": "5.7升级8.0是否忽略关键字错误,取值范围[0,1],1表示忽略,0表示不忽略",
|
20564
|
+
"example": "1",
|
20565
|
+
"member": "int64",
|
20566
|
+
"name": "IgnoreErrKeyword",
|
20567
|
+
"required": false,
|
20568
|
+
"type": "int"
|
20569
|
+
},
|
20385
20570
|
{
|
20386
20571
|
"disabled": false,
|
20387
20572
|
"document": "版本升级支持指定参数",
|
@@ -730,6 +730,14 @@
|
|
730
730
|
"title": "查询实例的可设置参数列表"
|
731
731
|
}
|
732
732
|
],
|
733
|
+
"DescribeInstanceUpgradeCheckJob": [
|
734
|
+
{
|
735
|
+
"document": "无",
|
736
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceUpgradeCheckJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"037c0b3b-1320-11ee-b0c3-6c92bf629868\",\n \"DstMysqlVersion\": \"8.0\"\n}",
|
737
|
+
"output": "{\n \"Response\": {\n \"ExistUpgradeCheckJob\": true,\n \"JobId\": 145,\n \"RequestId\": \"60b5d6cd-aecc-4740-a681-353e645293b4\"\n }\n}",
|
738
|
+
"title": "查询实例升级检查任务"
|
739
|
+
}
|
740
|
+
],
|
733
741
|
"DescribeInstanceUpgradeType": [
|
734
742
|
{
|
735
743
|
"document": "",
|
@@ -878,7 +886,7 @@
|
|
878
886
|
{
|
879
887
|
"document": "查询云数据库实例任务列表",
|
880
888
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{}",
|
881
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"Items\": [\n {\n \"Code\": 9013,\n \"Message\": \"[Operate CDB Fail][Upgrade Service Fail!] reason: ERR#-999: lock_inst.cgi: 某些实例id不存在对应的实例记录\",\n \"JobId\": 79,\n \"AsyncRequestId\": \"9d21004b-3aa1896a-eeddca4b-a68f106d\",\n \"Progress\": 10,\n \"StartTime\": \"2019-10-09 20:03:39\",\n \"EndTime\": \"2019-10-09 20:39:34\",\n \"InstanceIds\": [\n \"cdb-qlfpnobr\"\n ],\n \"TaskType\": \"OPEN GTID\",\n \"TaskStatus\": \"FAILED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"设置参数成功\",\n \"JobId\": 70,\n \"AsyncRequestId\": \"1d564380-2e391736-f28fa246-43cea3aa\",\n \"Progress\": 100,\n \"StartTime\": \"2018-07-06 22:03:05\",\n \"EndTime\": \"2018-07-06 22:03:28\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"MODIFY PARAM\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"初始化实例成功\",\n \"JobId\": 69,\n \"AsyncRequestId\": \"ea39295d-420a0b4e-a98298c7-8751e1ad\",\n \"Progress\": 100,\n \"StartTime\": \"2018-07-06 22:01:42\",\n \"EndTime\": \"2018-07-06 22:02:26\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"INITIAL\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"实例升级任务完成\",\n \"JobId\": 68,\n \"AsyncRequestId\": \"\",\n \"Progress\": 100,\n \"StartTime\": \"2018-07-05 23:53:48\",\n \"EndTime\": \"2018-07-06 22:05:10\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"UPGRADE MASTER\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": -1,\n \"Message\": \"设置参数失败\",\n \"JobId\": 66,\n \"AsyncRequestId\": \"780b2e32-79cb0f4c-ec7854c5-44ff5371\",\n \"Progress\": 0,\n \"StartTime\": \"2018-07-05 23:30:36\",\n \"EndTime\": \"2018-07-05 23:30:37\",\n \"InstanceIds\": [\n \"cdb-o02fxj9g\"\n ],\n \"TaskType\": \"MODIFY PARAM\",\n \"TaskStatus\": \"FAILED\"\n }\n ],\n \"RequestId\": \"9a4b22f5-0f93-4a72-ba05-1eb6cdf37a1e\"\n }\n}",
|
889
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"Items\": [\n {\n \"Code\": 9013,\n \"Message\": \"[Operate CDB Fail][Upgrade Service Fail!] reason: ERR#-999: lock_inst.cgi: 某些实例id不存在对应的实例记录\",\n \"JobId\": 79,\n \"AsyncRequestId\": \"9d21004b-3aa1896a-eeddca4b-a68f106d\",\n \"TaskAttachInfo\": [],\n \"Progress\": 10,\n \"StartTime\": \"2019-10-09 20:03:39\",\n \"EndTime\": \"2019-10-09 20:39:34\",\n \"InstanceIds\": [\n \"cdb-qlfpnobr\"\n ],\n \"TaskType\": \"OPEN GTID\",\n \"TaskStatus\": \"FAILED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"设置参数成功\",\n \"JobId\": 70,\n \"AsyncRequestId\": \"1d564380-2e391736-f28fa246-43cea3aa\",\n \"TaskAttachInfo\": [],\n \"Progress\": 100,\n \"StartTime\": \"2018-07-06 22:03:05\",\n \"EndTime\": \"2018-07-06 22:03:28\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"MODIFY PARAM\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"初始化实例成功\",\n \"JobId\": 69,\n \"AsyncRequestId\": \"ea39295d-420a0b4e-a98298c7-8751e1ad\",\n \"TaskAttachInfo\": [],\n \"Progress\": 100,\n \"StartTime\": \"2018-07-06 22:01:42\",\n \"EndTime\": \"2018-07-06 22:02:26\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"INITIAL\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": 0,\n \"Message\": \"实例升级任务完成\",\n \"JobId\": 68,\n \"AsyncRequestId\": \"\",\n \"TaskAttachInfo\": [\n {\n \"AttachKey\": \"FastUpgradeStatus\",\n \"AttachValue\": \"1\"\n }\n ],\n \"Progress\": 100,\n \"StartTime\": \"2018-07-05 23:53:48\",\n \"EndTime\": \"2018-07-06 22:05:10\",\n \"InstanceIds\": [\n \"cdb-6kd9h71i\"\n ],\n \"TaskType\": \"UPGRADE MASTER\",\n \"TaskStatus\": \"SUCCEED\"\n },\n {\n \"Code\": -1,\n \"Message\": \"设置参数失败\",\n \"JobId\": 66,\n \"AsyncRequestId\": \"780b2e32-79cb0f4c-ec7854c5-44ff5371\",\n \"TaskAttachInfo\": [],\n \"Progress\": 0,\n \"StartTime\": \"2018-07-05 23:30:36\",\n \"EndTime\": \"2018-07-05 23:30:37\",\n \"InstanceIds\": [\n \"cdb-o02fxj9g\"\n ],\n \"TaskType\": \"MODIFY PARAM\",\n \"TaskStatus\": \"FAILED\"\n }\n ],\n \"RequestId\": \"9a4b22f5-0f93-4a72-ba05-1eb6cdf37a1e\"\n }\n}",
|
882
890
|
"title": "查询云数据库实例任务列表"
|
883
891
|
}
|
884
892
|
],
|
@@ -1328,6 +1336,14 @@
|
|
1328
1336
|
"title": "撤销回档任务"
|
1329
1337
|
}
|
1330
1338
|
],
|
1339
|
+
"SubmitInstanceUpgradeCheckJob": [
|
1340
|
+
{
|
1341
|
+
"document": "无",
|
1342
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitInstanceUpgradeCheckJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"037c0b3b-1320-11ee-b0c3-6c92bf629868\",\n \"DstMysqlVersion\": \"8.0\"\n}",
|
1343
|
+
"output": "{\n \"Response\": {\n \"JobId\": 145,\n \"RequestId\": \"a4b54232-d7af-4df3-8329-5110e3ece9c3\"\n }\n}",
|
1344
|
+
"title": "提交实例升级检查任务"
|
1345
|
+
}
|
1346
|
+
],
|
1331
1347
|
"SwitchCDBProxy": [
|
1332
1348
|
{
|
1333
1349
|
"document": "",
|
@@ -3734,7 +3734,7 @@
|
|
3734
3734
|
},
|
3735
3735
|
{
|
3736
3736
|
"disabled": false,
|
3737
|
-
"document": "
|
3737
|
+
"document": "搜索标签列表,没匹配到则不过滤集群列表",
|
3738
3738
|
"example": "无",
|
3739
3739
|
"member": "SearchTags",
|
3740
3740
|
"name": "SearchTags",
|
@@ -4239,6 +4239,33 @@
|
|
4239
4239
|
"DescribeSqlApisRequest": {
|
4240
4240
|
"document": "DescribeSqlApis请求参数结构体",
|
4241
4241
|
"members": [
|
4242
|
+
{
|
4243
|
+
"disabled": false,
|
4244
|
+
"document": "实例id",
|
4245
|
+
"example": "cdwch-xxxx",
|
4246
|
+
"member": "string",
|
4247
|
+
"name": "InstanceId",
|
4248
|
+
"required": true,
|
4249
|
+
"type": "string"
|
4250
|
+
},
|
4251
|
+
{
|
4252
|
+
"disabled": false,
|
4253
|
+
"document": "GetUsers:获取用户列表;\nGetDatabases:获取数据库列表;\nGetTables:获取数据库表列表;\nGetUserPrivilegesV2:获取用户下的权限,粒度到表级别;\nDeleteUser:删除用户;\nGetCatalog:获取Catalog列表;",
|
4254
|
+
"example": "GetClusters",
|
4255
|
+
"member": "string",
|
4256
|
+
"name": "ApiType",
|
4257
|
+
"required": true,
|
4258
|
+
"type": "string"
|
4259
|
+
},
|
4260
|
+
{
|
4261
|
+
"disabled": false,
|
4262
|
+
"document": "用户名称",
|
4263
|
+
"example": "user1",
|
4264
|
+
"member": "string",
|
4265
|
+
"name": "UserName",
|
4266
|
+
"required": false,
|
4267
|
+
"type": "string"
|
4268
|
+
},
|
4242
4269
|
{
|
4243
4270
|
"disabled": false,
|
4244
4271
|
"document": "用户链接来自的 IP",
|
@@ -4265,6 +4292,24 @@
|
|
4265
4292
|
"name": "Catalogs",
|
4266
4293
|
"required": false,
|
4267
4294
|
"type": "list"
|
4295
|
+
},
|
4296
|
+
{
|
4297
|
+
"disabled": false,
|
4298
|
+
"document": "数据库名",
|
4299
|
+
"example": "无",
|
4300
|
+
"member": "string",
|
4301
|
+
"name": "DatabaseName",
|
4302
|
+
"required": false,
|
4303
|
+
"type": "string"
|
4304
|
+
},
|
4305
|
+
{
|
4306
|
+
"disabled": false,
|
4307
|
+
"document": "表名",
|
4308
|
+
"example": "无",
|
4309
|
+
"member": "string",
|
4310
|
+
"name": "TableName",
|
4311
|
+
"required": false,
|
4312
|
+
"type": "string"
|
4268
4313
|
}
|
4269
4314
|
],
|
4270
4315
|
"type": "object"
|
@@ -4272,6 +4317,26 @@
|
|
4272
4317
|
"DescribeSqlApisResponse": {
|
4273
4318
|
"document": "DescribeSqlApis返回参数结构体",
|
4274
4319
|
"members": [
|
4320
|
+
{
|
4321
|
+
"disabled": false,
|
4322
|
+
"document": "返回的查询数据,大部分情况是list,也可能是bool\n注意:此字段可能返回 null,表示取不到有效值。",
|
4323
|
+
"example": "-",
|
4324
|
+
"member": "string",
|
4325
|
+
"name": "ReturnData",
|
4326
|
+
"output_required": true,
|
4327
|
+
"type": "string",
|
4328
|
+
"value_allowed_null": true
|
4329
|
+
},
|
4330
|
+
{
|
4331
|
+
"disabled": false,
|
4332
|
+
"document": "错误消息\n注意:此字段可能返回 null,表示取不到有效值。",
|
4333
|
+
"example": "-",
|
4334
|
+
"member": "string",
|
4335
|
+
"name": "ErrorMsg",
|
4336
|
+
"output_required": true,
|
4337
|
+
"type": "string",
|
4338
|
+
"value_allowed_null": true
|
4339
|
+
},
|
4275
4340
|
{
|
4276
4341
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4277
4342
|
"member": "string",
|
@@ -7614,8 +7679,7 @@
|
|
7614
7679
|
"member": "string",
|
7615
7680
|
"name": "TagKey",
|
7616
7681
|
"required": false,
|
7617
|
-
"type": "string"
|
7618
|
-
"value_allowed_null": false
|
7682
|
+
"type": "string"
|
7619
7683
|
},
|
7620
7684
|
{
|
7621
7685
|
"disabled": false,
|
@@ -7624,18 +7688,16 @@
|
|
7624
7688
|
"member": "string",
|
7625
7689
|
"name": "TagValue",
|
7626
7690
|
"required": false,
|
7627
|
-
"type": "string"
|
7628
|
-
"value_allowed_null": false
|
7691
|
+
"type": "string"
|
7629
7692
|
},
|
7630
7693
|
{
|
7631
7694
|
"disabled": false,
|
7632
|
-
"document": "1
|
7695
|
+
"document": "1表示只输入标签的键,没有输入值;非1则表示输入键时且输入值",
|
7633
7696
|
"example": "1",
|
7634
7697
|
"member": "int64",
|
7635
7698
|
"name": "AllValue",
|
7636
7699
|
"required": false,
|
7637
|
-
"type": "int"
|
7638
|
-
"value_allowed_null": false
|
7700
|
+
"type": "int"
|
7639
7701
|
}
|
7640
7702
|
],
|
7641
7703
|
"usage": "in"
|
@@ -289,8 +289,8 @@
|
|
289
289
|
"DescribeSqlApis": [
|
290
290
|
{
|
291
291
|
"document": "查询集群信息",
|
292
|
-
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlApis\n<公共请求参数>\n\n{}",
|
293
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
292
|
+
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlApis\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ApiType\": \"abc\",\n \"UserName\": \"abc\",\n \"WhiteHost\": \"abc\",\n \"Catalog\": \"abc\",\n \"Catalogs\": [\n \"abc\"\n ],\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\"\n}",
|
293
|
+
"output": "{\n \"Response\": {\n \"ReturnData\": \"abc\",\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
294
294
|
"title": "查询集群信息"
|
295
295
|
}
|
296
296
|
],
|