tccli 3.0.1238.1__py2.py3-none-any.whl → 3.0.1240.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/cdb/v20170320/api.json +730 -649
- tccli/services/cdb/v20170320/examples.json +37 -37
- tccli/services/cdwdoris/v20211228/api.json +16 -7
- tccli/services/chdfs/v20201112/api.json +95 -78
- tccli/services/chdfs/v20201112/examples.json +14 -14
- tccli/services/clb/v20180317/api.json +2 -2
- tccli/services/csip/csip_client.py +281 -16
- tccli/services/csip/v20221121/api.json +1631 -101
- tccli/services/csip/v20221121/examples.json +40 -0
- tccli/services/cynosdb/v20190107/api.json +370 -365
- tccli/services/cynosdb/v20190107/examples.json +39 -39
- tccli/services/dbbrain/v20191016/api.json +206 -188
- tccli/services/dbbrain/v20191016/examples.json +10 -10
- tccli/services/dbbrain/v20210527/api.json +274 -267
- tccli/services/dbbrain/v20210527/examples.json +25 -25
- tccli/services/dc/v20180410/api.json +101 -41
- tccli/services/dc/v20180410/examples.json +5 -5
- tccli/services/dts/v20180330/api.json +9 -9
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +28 -28
- tccli/services/dts/v20211206/examples.json +4 -4
- tccli/services/eb/v20210416/api.json +2 -2
- tccli/services/eb/v20210416/examples.json +2 -2
- tccli/services/ecm/v20190719/api.json +267 -224
- tccli/services/ecm/v20190719/examples.json +21 -21
- tccli/services/ess/v20201111/api.json +21 -3
- tccli/services/ess/v20201111/examples.json +12 -0
- tccli/services/essbasic/v20210526/api.json +18 -0
- tccli/services/facefusion/v20220927/api.json +2 -2
- tccli/services/gaap/v20180529/api.json +22 -22
- tccli/services/hunyuan/v20230901/api.json +21 -2
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +4 -4
- tccli/services/live/v20180801/api.json +60 -60
- tccli/services/live/v20180801/examples.json +37 -37
- tccli/services/mongodb/v20180408/api.json +104 -104
- tccli/services/mongodb/v20190725/api.json +116 -103
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/sms/v20190711/api.json +81 -81
- tccli/services/sms/v20190711/examples.json +8 -8
- tccli/services/sms/v20210111/api.json +39 -39
- tccli/services/sqlserver/v20180328/api.json +611 -450
- tccli/services/sqlserver/v20180328/examples.json +16 -16
- tccli/services/tbaas/v20180416/api.json +47 -49
- tccli/services/tbaas/v20180416/examples.json +4 -4
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +61 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/trocket/trocket_client.py +171 -12
- tccli/services/trocket/v20230308/api.json +524 -0
- tccli/services/trocket/v20230308/examples.json +24 -0
- tccli/services/tsf/v20180326/api.json +39 -37
- tccli/services/tsf/v20180326/examples.json +16 -16
- tccli/services/vod/v20180717/api.json +21 -3
- tccli/services/vod/v20180717/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +3 -3
- tccli/services/vpc/v20170312/examples.json +4 -4
- {tccli-3.0.1238.1.dist-info → tccli-3.0.1240.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1238.1.dist-info → tccli-3.0.1240.1.dist-info}/RECORD +65 -65
- {tccli-3.0.1238.1.dist-info → tccli-3.0.1240.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1238.1.dist-info → tccli-3.0.1240.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1238.1.dist-info → tccli-3.0.1240.1.dist-info}/license_files/LICENSE +0 -0
@@ -139,7 +139,7 @@
|
|
139
139
|
"DeleteSqlFilters": [
|
140
140
|
{
|
141
141
|
"document": "删除实例SQL限流任务",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSqlFilters\n<公共请求参数>\n\n{\n \"Product\": \"mysql\",\n \"InstanceId\": \"cdb-hxuthiy6\",\n \"FilterIds\": [\n 1089146\n ],\n \"SessionToken\": \"
|
142
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSqlFilters\n<公共请求参数>\n\n{\n \"Product\": \"mysql\",\n \"InstanceId\": \"cdb-hxuthiy6\",\n \"FilterIds\": [\n 1089146\n ],\n \"SessionToken\": \"aOqcrCnPLZgCh41VqZVHda2Y+HI=:26872060\"\n}",
|
143
143
|
"output": "{\n \"Response\": {\n \"RequestId\": \"24665720-8c93-11eb-bee6-e98cea0e6794\"\n }\n}",
|
144
144
|
"title": "删除实例SQL限流任务"
|
145
145
|
}
|
@@ -172,7 +172,7 @@
|
|
172
172
|
{
|
173
173
|
"document": "查询需要开通审计的实例列表。",
|
174
174
|
"input": "https://dbbrain.tencentcloudapi.com/?Action= DescribeAuditInstanceList\n&Product=dcdb\n&NodeRequestType=dcdb\n&AuditSwitch=0\n&Offset=0\n&Limit=50\n&<公共请求参数>",
|
175
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"b39db780-0b49-11ee-8525-17d65d16bdaf\",\n \"Items\": [\n {\n \"BillingConfirmed\": 1,\n \"AuditStatus\": \"ON\",\n \"ColdLogExpireDay\": 23,\n \"InstanceId\": \"tdsql-lq5ue8p7\",\n \"LogExpireDay\": 30,\n \"CreateTime\": \"2023-06-08 19:48:19\",\n \"HotLogSize\": 0,\n \"HotLogExpireDay\": 7,\n \"BillingAmount\": 0,\n \"ColdLogSize\": 0,\n \"InstanceInfo\": {\n \"InstanceName\": \"DBbrain测试_fanzhi_MySQL8.0\",\n \"AuditStatus\": 1,\n \"AppId\": 251009273,\n \"InstanceId\": \"tdsql-lq5ue8p7\",\n \"ResourceTags\": [\n \"
|
175
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"b39db780-0b49-11ee-8525-17d65d16bdaf\",\n \"Items\": [\n {\n \"BillingConfirmed\": 1,\n \"AuditStatus\": \"ON\",\n \"ColdLogExpireDay\": 23,\n \"InstanceId\": \"tdsql-lq5ue8p7\",\n \"LogExpireDay\": 30,\n \"CreateTime\": \"2023-06-08 19:48:19\",\n \"HotLogSize\": 0,\n \"HotLogExpireDay\": 7,\n \"BillingAmount\": 0,\n \"ColdLogSize\": 0,\n \"InstanceInfo\": {\n \"InstanceName\": \"DBbrain测试_fanzhi_MySQL8.0\",\n \"AuditStatus\": 1,\n \"AppId\": 251009273,\n \"InstanceId\": \"tdsql-lq5ue8p7\",\n \"ResourceTags\": [\n \"tag_abc\"\n ],\n \"ProjectId\": 0,\n \"Region\": \"ap-guangzhou\"\n }\n }\n ]\n }\n}",
|
176
176
|
"title": "查询实例列表"
|
177
177
|
}
|
178
178
|
],
|
@@ -180,7 +180,7 @@
|
|
180
180
|
{
|
181
181
|
"document": "查询审计日志文件列表",
|
182
182
|
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeDBDiagReportTasks\n&Product=dcdb\n&NodeRequestType=dcdb\n&InstanceId=tdsql-cerses\n&<公共请求参数>",
|
183
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RequestId\": \"8ca4d610-dcf3-11ed-9a8b-393823b6fd49\",\n \"Items\": [\n {\n \"Status\": \"success\",\n \"AsyncRequestId\": 173,\n \"ErrMsg\": \"\",\n \"CreateTime\": \"2023-04-17 15:37:55\",\n \"FileName\": \"tdsql-8fyt6dkd_20230417-151100_to_20230417-151403_1681717077964.tar.gz\",\n \"FileSize\": 0.326,\n \"DownloadUrl\": \"
|
183
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RequestId\": \"8ca4d610-dcf3-11ed-9a8b-393823b6fd49\",\n \"Items\": [\n {\n \"Status\": \"success\",\n \"AsyncRequestId\": 173,\n \"ErrMsg\": \"\",\n \"CreateTime\": \"2023-04-17 15:37:55\",\n \"FileName\": \"tdsql-8fyt6dkd_20230417-151100_to_20230417-151403_1681717077964.tar.gz\",\n \"FileSize\": 0.326,\n \"DownloadUrl\": \"https://dbbrain-gz-xxx.cos.ap-guangzhou.tencentcos.cn/tdsql-8fyt6dkd_20230417-151100_to_20230417-151403_1681717077964.tar.gz?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDkMfJhxjhBTahcIaNgNsBKDwZx74pmsY3%2638be613391610\",\n \"Progress\": 22,\n \"FinishTime\": \"2024-07-23 16:05:23\"\n }\n ]\n }\n}",
|
184
184
|
"title": "查询审计日志文件列表"
|
185
185
|
}
|
186
186
|
],
|
@@ -243,7 +243,7 @@
|
|
243
243
|
"DescribeIndexRecommendAggregationSlowLogs": [
|
244
244
|
{
|
245
245
|
"document": "",
|
246
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIndexRecommendAggregationSlowLogs\n<公共请求参数>\n\n{\n \"Product\": \"
|
246
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIndexRecommendAggregationSlowLogs\n<公共请求参数>\n\n{\n \"Product\": \"mongodb\",\n \"InstanceId\": \"cmgo-2jrxxlx\",\n \"Db\": \"demo_db\",\n \"Collection\": \"demo_collection\",\n \"Signs\": [\n \"d6e6fe0025c258592dd6f442312f26ww\"\n ]\n}",
|
247
247
|
"output": "{\n \"Response\": {\n \"RequestId\": \"asdfaskldfanhasdfsd\",\n \"Aggregation\": {\n \"AvgExecTime\": 8205,\n \"AvgDocsExamined\": 2765962,\n \"SlowLogCount\": 0,\n \"SlowLogs\": [\n \"{\\\"t\\\":{\\\"$date\\\":\\\"2023-09-18T10:57:32.072+08:00\\\"},\\\"s\\\":\\\"I\\\", \\\"c\\\":\\\"COMMAND\\\", \\\"id\\\":51803, \\\"ctx\\\":\\\"conn7221917\\\",\\\"msg\\\":\\\"Slow query\\\",\\\"attr\\\":{\\\"type\\\":\\\"command\\\",\\\"ns\\\":\\\"welabel.ground_truth_data\\\",\\\"appName\\\":\\\"MongoDB Compass\\\",\\\"command\\\":{\\\"aggregate\\\":\\\"ground_truth_data\\\",\\\"pipeline\\\":[{\\\"$match\\\":{\\\"is_skip\\\":{\\\"$ne\\\":true}}},{\\\"$project\\\":{\\\"labels\\\":{\\\"$filter\\\":{\\\"input\\\":\\\"$comments.data.error_labels\\\",\\\"as\\\":\\\"com\\\",\\\"cond\\\":{\\\"$eq\\\":[\\\"$$com.questionType\\\",\\\"single\\\"]}}},\\\"ground_truth_id\\\":1}},{\\\"$unwind\\\":{\\\"path\\\":\\\"$labels\\\"}},{\\\"$match\\\":{\\\"labels.relationshipType\\\":\\\"multi_image_group\\\"}},{\\\"$limit\\\":100000},{\\\"$group\\\":{\\\"_id\\\":{\\\"uid\\\":\\\"$labels.questionId\\\",\\\"element_id\\\":\\\"$labels.elementId\\\",\\\"gt_id\\\":\\\"$ground_truth_id\\\"}}},{\\\"$limit\\\":10}],\\\"allowDiskUse\\\":true,\\\"cursor\\\":{},\\\"maxTimeMS\\\":60000,\\\"lsid\\\":{\\\"id\\\":{\\\"$uuid\\\":\\\"dcda39f2-cb81-47be-ba04-b0078cf6cc7f\\\"}},\\\"$clusterTime\\\":{\\\"clusterTime\\\":{\\\"$timestamp\\\":{\\\"t\\\":1695005847,\\\"i\\\":9}},\\\"signature\\\":{\\\"hash\\\":{\\\"$binary\\\":{\\\"base64\\\":\\\"04MsomRxChDbiOVh1kjTHEsL644=\\\",\\\"subType\\\":\\\"0\\\"}},\\\"keyId\\\":7218831488945487874}},\\\"$db\\\":\\\"welabel\\\"},\\\"planSummary\\\":\\\"COLLSCAN\\\",\\\"numYields\\\":1067,\\\"queryHash\\\":\\\"A480F99A\\\",\\\"planCacheKey\\\":\\\"E2805889\\\",\\\"ok\\\":0,\\\"errMsg\\\":\\\"Error in $cursor stage :: caused by :: operation was interrupted\\\",\\\"errName\\\":\\\"Interrupted\\\",\\\"errCode\\\":11601,\\\"reslen\\\":276,\\\"locks\\\":{\\\"ReplicationStateTransition\\\":{\\\"acquireCount\\\":{\\\"w\\\":1144}},\\\"Global\\\":{\\\"acquireCount\\\":{\\\"r\\\":1144}},\\\"Database\\\":{\\\"acquireCount\\\":{\\\"r\\\":1144}},\\\"Collection\\\":{\\\"acquireCount\\\":{\\\"r\\\":1144}},\\\"Mutex\\\":{\\\"acquireCount\\\":{\\\"r\\\":77}}},\\\"protocol\\\":\\\"op_msg\\\",\\\"durationMillis\\\":3663}}\",\n \"{\\\"t\\\":{\\\"$date\\\":\\\"2023-09-18T10:57:27.730+08:00\\\"},\\\"s\\\":\\\"I\\\", \\\"c\\\":\\\"COMMAND\\\", \\\"id\\\":51803, \\\"ctx\\\":\\\"conn7221917\\\",\\\"msg\\\":\\\"Slow query\\\",\\\"attr\\\":{\\\"type\\\":\\\"command\\\",\\\"ns\\\":\\\"welabel.ground_truth_data\\\",\\\"appName\\\":\\\"MongoDB Compass\\\",\\\"command\\\":{\\\"aggregate\\\":\\\"ground_truth_data\\\",\\\"pipeline\\\":[{\\\"$match\\\":{\\\"is_skip\\\":{\\\"$ne\\\":true}}},{\\\"$unwind\\\":{\\\"path\\\":\\\"$comments\\\"}},{\\\"$project\\\":{\\\"labels\\\":{\\\"$filter\\\":{\\\"input\\\":\\\"$comments.data.error_labels\\\",\\\"as\\\":\\\"com\\\",\\\"cond\\\":{\\\"$eq\\\":[\\\"$$com.questionType\\\",\\\"single\\\"]}}},\\\"ground_truth_id\\\":1}},{\\\"$unwind\\\":{\\\"path\\\":\\\"$labels\\\"}},{\\\"$match\\\":{\\\"labels.relationshipType\\\":\\\"multi_image_group\\\"}},{\\\"$limit\\\":100000},{\\\"$group\\\":{\\\"_id\\\":{\\\"uid\\\":\\\"$labels.questionId\\\",\\\"element_id\\\":\\\"$labels.elementId\\\",\\\"gt_id\\\":\\\"$ground_truth_id\\\"}}},{\\\"$limit\\\":10}],\\\"allowDiskUse\\\":true,\\\"cursor\\\":{},\\\"maxTimeMS\\\":60000,\\\"lsid\\\":{\\\"id\\\":{\\\"$uuid\\\":\\\"8532ddbf-2f1c-4bdd-a4f0-af0217f42607\\\"}},\\\"$clusterTime\\\":{\\\"clusterTime\\\":{\\\"$timestamp\\\":{\\\"t\\\":1695005524,\\\"i\\\":8}},\\\"signature\\\":{\\\"hash\\\":{\\\"$binary\\\":{\\\"base64\\\":\\\"60J0bCCsS5xTPDOE2yE4yWuxNr0=\\\",\\\"subType\\\":\\\"0\\\"}},\\\"keyId\\\":7218831488945487874}},\\\"$db\\\":\\\"welabel\\\"},\\\"planSummary\\\":\\\"COLLSCAN\\\",\\\"numYields\\\":2887,\\\"queryHash\\\":\\\"A1933E73\\\",\\\"planCacheKey\\\":\\\"77FB924F\\\",\\\"ok\\\":0,\\\"errMsg\\\":\\\"operation was interrupted\\\",\\\"errName\\\":\\\"Interrupted\\\",\\\"errCode\\\":11601,\\\"reslen\\\":237,\\\"locks\\\":{\\\"ReplicationStateTransition\\\":{\\\"acquireCount\\\":{\\\"w\\\":3004}},\\\"Global\\\":{\\\"acquireCount\\\":{\\\"r\\\":3004}},\\\"Database\\\":{\\\"acquireCount\\\":{\\\"r\\\":3004}},\\\"Collection\\\":{\\\"acquireCount\\\":{\\\"r\\\":3004}},\\\"Mutex\\\":{\\\"acquireCount\\\":{\\\"r\\\":117}}},\\\"protocol\\\":\\\"op_msg\\\",\\\"durationMillis\\\":10483}}\"\n ],\n \"SortCount\": 0\n }\n }\n}",
|
248
248
|
"title": "查询实例慢查询聚合结果"
|
249
249
|
}
|
@@ -251,8 +251,8 @@
|
|
251
251
|
"DescribeIndexRecommendInfo": [
|
252
252
|
{
|
253
253
|
"document": "查询mongodb数据比较慢的时候,可以通过该接口进行获取推荐的索引列表",
|
254
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIndexRecommendInfo\n<公共请求参数>\n\n{\n \"Product\": \"mongodb\",\n \"InstanceId\": \"
|
255
|
-
"output": "{\n \"Response\": {\n \"CollectionNum\":
|
254
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIndexRecommendInfo\n<公共请求参数>\n\n{\n \"Product\": \"mongodb\",\n \"InstanceId\": \"cmgo-2jrxxlx\"\n}",
|
255
|
+
"output": "{\n \"Response\": {\n \"CollectionNum\": 2,\n \"IndexNum\": 2,\n \"Items\": [\n {\n \"ClusterId\": \"cmgo-2jrxxlx\",\n \"Collection\": \"t_socket_resource\",\n \"Db\": \"proxyx\",\n \"Level\": 0,\n \"Score\": 0,\n \"IndexesToBuild\": [\n {\n \"Id\": 3626848,\n \"IndexCommand\": \"db.t_socket_resource.createIndex({ status: 1, expireTimestamp: 1 }, { background: true })\",\n \"IndexStr\": \"{ status: 1, expireTimestamp: 1 }\",\n \"Level\": 4,\n \"Score\": 20,\n \"Signs\": [\n \"1a59c167379c9bb7b799b3fe1db95fe2\"\n ],\n \"Status\": 0\n }\n ],\n \"IndexesToDrop\": [\n {\n \"IndexStr\": \"{ userId: 1, from: 1, action: 1 }\",\n \"Score\": 15,\n \"Reason\": \"与索引 { userId: 1, from: 1, action: 1, createdAt: -1 } 重复\",\n \"IndexCommand\": \"db.editrecords.dropIndex(\\\"userId_1_from_1_action_1\\\")\",\n \"IndexName\": \"userId_1_from_1_action_1\"\n }\n ]\n }\n ],\n \"Level\": 4,\n \"Optimized\": 0,\n \"OptimizedCount\": 0,\n \"RequestId\": \"17fa8e11-c19c-11ef-82da-5f2abf40a8f2\"\n }\n}",
|
256
256
|
"title": "mongodb索引推荐"
|
257
257
|
}
|
258
258
|
],
|
@@ -260,7 +260,7 @@
|
|
260
260
|
{
|
261
261
|
"document": "",
|
262
262
|
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeMailProfile\n&Product=mysql\n&ProfileType=scheduler_mail_configuration\n&Offset=0\n&Limit=20\n&<公共请求参数>",
|
263
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7324330-5fc8-11eb-a3f4-96666666\",\n \"ProfileList\": [\n {\n \"ProfileId\": \"
|
263
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7324330-5fc8-11eb-a3f4-96666666\",\n \"ProfileList\": [\n {\n \"ProfileId\": \"1433288\",\n \"ProfileType\": \"dbScan_mail_configuration\",\n \"ProfileLevel\": \"User\",\n \"ProfileName\": \"测试uin\",\n \"ProfileInfo\": {\n \"MailConfiguration\": {\n \"HealthStatus\": [\n \"HEALTH\",\n \"SUB_HEALTH\",\n \"RISK\",\n \"HIGH_RISK\"\n ],\n \"Region\": [\n \"ap-guangzhou\"\n ],\n \"ContactGroup\": [],\n \"SendMail\": 0,\n \"ContactPerson\": [\n 24332\n ]\n },\n \"Language\": \"zh\"\n }\n }\n ]\n }\n}",
|
264
264
|
"title": "获取邮件配置"
|
265
265
|
}
|
266
266
|
],
|
@@ -275,8 +275,8 @@
|
|
275
275
|
"DescribeNoPrimaryKeyTables": [
|
276
276
|
{
|
277
277
|
"document": "查询实例无主键表",
|
278
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeNoPrimaryKeyTables\n&InstanceId=cdb-
|
279
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"8108c1c0-bbcc-11ec-adb9-eb9c1358e03a\",\n \"NoPrimaryKeyTables\": [\n {\n \"TableSchema\": \"
|
278
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeNoPrimaryKeyTables\n&InstanceId=cdb-c1nl9rpv\n&Date=2022-04-12\n&<公共请求参数>",
|
279
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8108c1c0-bbcc-11ec-adb9-eb9c1358e03a\",\n \"NoPrimaryKeyTables\": [\n {\n \"TableSchema\": \"demo_schema\",\n \"TableName\": \"demo_table\",\n \"Engine\": \"InnoDB\",\n \"TotalLength\": 0,\n \"TableRows\": 0\n }\n ],\n \"NoPrimaryKeyTableRecordCount\": 8,\n \"NoPrimaryKeyTableCount\": 8,\n \"NoPrimaryKeyTableCountDiff\": 0,\n \"Timestamp\": 1649872593\n }\n}",
|
280
280
|
"title": "查询实例无主键表"
|
281
281
|
}
|
282
282
|
],
|
@@ -291,8 +291,8 @@
|
|
291
291
|
"DescribeProxySessionKillTasks": [
|
292
292
|
{
|
293
293
|
"document": "",
|
294
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxySessionKillTasks\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
295
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
294
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxySessionKillTasks\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-test1234\",\n \"Product\": \"redis\",\n \"AsyncRequestIds\": [\n 10474110\n ]\n}",
|
295
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e5c42270-c19c-11ef-b367-d5cedbfa06d8\",\n \"TotalCount\": 1,\n \"Tasks\": [\n {\n \"Progress\": 100,\n \"InstProxyList\": [\n \"6511ec503b047be913e30c1bbf1f2c8c861e8347\",\n \"2ce994dadc0e2b27e76ae13d04ab9eadd9665397\",\n \"db0fcd29867e65eb999ce99383d7a06cd21ca077\"\n ],\n \"AsyncRequestId\": 10474110,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"InstProxyCount\": 3,\n \"InstanceId\": \"crs-test1234\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"TaskStatus\": \"finished\",\n \"FinishedProxyList\": [\n \"6511ec503b047be913e30c1bbf1f2c8c861e8347\",\n \"2ce994dadc0e2b27e76ae13d04ab9eadd9665397\",\n \"db0fcd29867e65eb999ce99383d7a06cd21ca077\"\n ],\n \"FailedProxyList\": []\n }\n ]\n }\n}",
|
296
296
|
"title": "查询 kill 会话任务执行结果"
|
297
297
|
}
|
298
298
|
],
|
@@ -347,7 +347,7 @@
|
|
347
347
|
"DescribeSlowLogTimeSeriesStats": [
|
348
348
|
{
|
349
349
|
"document": "",
|
350
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeSlowLogTimeSeriesStats\n&InstanceId=
|
350
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeSlowLogTimeSeriesStats\n&InstanceId=cdb-test1234\n&StartTime=2019-01-01 00:00:00\n&EndTime=2019-01-01 01:00:00\n&<公共请求参数>",
|
351
351
|
"output": "{\n \"Response\": {\n \"TimeSeries\": [\n {\n \"Count\": 0,\n \"Timestamp\": 1568113800\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568191680\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568269560\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568347440\n },\n {\n \"Count\": 2,\n \"Timestamp\": 1568425320\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568503200\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568581080\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568658960\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568736840\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568814720\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568892600\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1568970480\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569048360\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569126240\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569204120\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569282000\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569359880\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569437760\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569515640\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569593520\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569671400\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569749280\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569827160\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569905040\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1569982920\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1570060800\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1570138680\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1570216560\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1570294440\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1570372320\n },\n {\n \"Count\": 0,\n \"Timestamp\": 1570450200\n }\n ],\n \"SeriesData\": {\n \"Series\": [\n {\n \"Values\": [\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0,\n 1.0\n ],\n \"Metric\": \"cpu_use_rate\",\n \"Unit\": \"%\"\n }\n ],\n \"Timestamp\": [\n 1568113800,\n 1568191680,\n 1568269560,\n 1568347440,\n 1568425320,\n 1568503200,\n 1568581080,\n 1568658960,\n 1568736840,\n 1568814720,\n 1568892600,\n 1568970480,\n 1569048360,\n 1569126240,\n 1569204120,\n 1569282000,\n 1569359880,\n 1569437760,\n 1569515640,\n 1569593520,\n 1569671400,\n 1569749280,\n 1569827160,\n 1569905040,\n 1569982920,\n 1570060800,\n 1570138680,\n 1570216560,\n 1570294440,\n 1570372320,\n 1570450200\n ]\n },\n \"RequestId\": \"b445f8ee-9357-4d93-83c2-3596f9d1f27e\",\n \"Period\": 77880\n }\n}",
|
352
352
|
"title": "获取慢日志统计柱状图"
|
353
353
|
}
|
@@ -371,7 +371,7 @@
|
|
371
371
|
"DescribeSlowLogs": [
|
372
372
|
{
|
373
373
|
"document": "按照Sql模板查询指定时间段内的慢日志详细信息",
|
374
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action= DescribeSlowLogs\n&Product=mysql\n&InstanceId=
|
374
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action= DescribeSlowLogs\n&Product=mysql\n&InstanceId=cdb-insde12\n&Md5=12323242323\n&Limit=10\n&Offset=0\n&StartTime=2020-09-22T00:00:00+00:00\n&EndTime=2020-09-22T00:00:00+00:00\n&<公共请求参数>",
|
375
375
|
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RequestId\": \"ea7afb20-cf8d-11ed-9231-5be1865f5f0a\",\n \"Rows\": [\n {\n \"LockTime\": 0,\n \"UserHost\": \"169.254.128.9\",\n \"RowsSent\": 1,\n \"UserName\": \"root\",\n \"Database\": \"information_schema\",\n \"SqlText\": \"/* dbbrain user mark */select SLEEP(10)\",\n \"QueryTime\": 10,\n \"RowsExamined\": 0,\n \"Timestamp\": \"2023-03-31 10:47:35\"\n },\n {\n \"LockTime\": 0,\n \"UserHost\": \"169.254.128.9\",\n \"RowsSent\": 1,\n \"UserName\": \"root\",\n \"Database\": \"information_schema\",\n \"SqlText\": \"/* dbbrain user mark */select SLEEP(8)\",\n \"QueryTime\": 8,\n \"RowsExamined\": 0,\n \"Timestamp\": \"2023-03-31 10:47:45\"\n }\n ]\n }\n}",
|
376
376
|
"title": "按照Sql模板查询指定时间段内的慢日志详细信息"
|
377
377
|
}
|
@@ -379,16 +379,16 @@
|
|
379
379
|
"DescribeSqlFilters": [
|
380
380
|
{
|
381
381
|
"document": "查询实例SQL限流任务列表",
|
382
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlFilters\n<公共请求参数>\n\n{\n \"Product\": \"mysql\",\n \"InstanceId\": \"cdb-
|
383
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Id\": 1234,\n \"ExpireTime\": \"2020-04-20T10:10:00+08:00\",\n \"CurrentTime\": \"2020-04-20T10:05:00+08:00\",\n \"CreateTime\": \"2020-04-20T10:00:00+08:00\",\n \"Status\": \"RUNNING\",\n \"MaxConcurrency\": 10,\n \"CurrentConcurrency\": 5,\n \"RejectedSqlCount\": 1000,\n \"SqlType\": \"SELECT\",\n \"OriginRule\": \"
|
382
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlFilters\n<公共请求参数>\n\n{\n \"Product\": \"mysql\",\n \"InstanceId\": \"cdb-test1234\",\n \"Statuses\": [\n \"RUNNING\"\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
383
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Id\": 1234,\n \"ExpireTime\": \"2020-04-20T10:10:00+08:00\",\n \"CurrentTime\": \"2020-04-20T10:05:00+08:00\",\n \"CreateTime\": \"2020-04-20T10:00:00+08:00\",\n \"Status\": \"RUNNING\",\n \"MaxConcurrency\": 10,\n \"CurrentConcurrency\": 5,\n \"RejectedSqlCount\": 1000,\n \"SqlType\": \"SELECT\",\n \"OriginRule\": \"SELECT,300,10,k1,k2\",\n \"OriginKeys\": \"k1,k2\"\n }\n ],\n \"RequestId\": \"b49053b9-f21c-40ec-a1ce-d1a5fae5193f\",\n \"TotalCount\": 339\n }\n}",
|
384
384
|
"title": "查询实例SQL限流任务列表"
|
385
385
|
}
|
386
386
|
],
|
387
387
|
"DescribeSqlTemplate": [
|
388
388
|
{
|
389
389
|
"document": "",
|
390
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlTemplate\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-
|
391
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a837a5ce-b48f-4548-9a6b-a6e0917d8e5c\",\n \"Schema\": \"
|
390
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSqlTemplate\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-test1234\",\n \"Schema\": \"demo_db\",\n \"SqlText\": \"select * from test limit 10\",\n \"Product\": \"mysql\"\n}",
|
391
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a837a5ce-b48f-4548-9a6b-a6e0917d8e5c\",\n \"Schema\": \"demo_db\",\n \"SqlText\": \"select * from test limit 10\",\n \"SqlType\": \"Select\",\n \"SqlTemplate\": \"select * from test limit ?\",\n \"SqlId\": -5602209514906915428\n }\n}",
|
392
392
|
"title": "查询SQL模板"
|
393
393
|
}
|
394
394
|
],
|
@@ -411,16 +411,16 @@
|
|
411
411
|
"DescribeTopSpaceTableTimeSeries": [
|
412
412
|
{
|
413
413
|
"document": "",
|
414
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeTopSpaceTableTimeSeries\n&InstanceId=cdb-
|
415
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"d97eacb0-cebd-40b6-963b-579092454f05\",\n \"TopSpaceTableTimeSeries\": [\n {\n \"TableName\": \"
|
414
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeTopSpaceTableTimeSeries\n&InstanceId=cdb-test1234\n&Limit=2\n&StartDate=2020-01-01\n&EndDate=2020-01-01\n&<公共请求参数>",
|
415
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d97eacb0-cebd-40b6-963b-579092454f05\",\n \"TopSpaceTableTimeSeries\": [\n {\n \"TableName\": \"demo_table\",\n \"TableSchema\": \"demo_db\",\n \"SeriesData\": {\n \"Series\": [\n {\n \"Values\": [\n 0\n ],\n \"Metric\": \"DataFree\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0.1\n ],\n \"Metric\": \"DataLength\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0\n ],\n \"Metric\": \"IndexLength\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0.1\n ],\n \"Metric\": \"TotalLength\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0\n ],\n \"Metric\": \"FragRatio\",\n \"Unit\": \"%\"\n },\n {\n \"Values\": [\n 9\n ],\n \"Metric\": \"TableRows\",\n \"Unit\": \"\"\n },\n {\n \"Values\": [\n 0.1\n ],\n \"Metric\": \"PhysicalFileSize\",\n \"Unit\": \"MB\"\n }\n ],\n \"Timestamp\": [\n 1588089600\n ]\n },\n \"Engine\": \"InnoDB\"\n },\n {\n \"TableName\": \"test22\",\n \"TableSchema\": \"test_bak\",\n \"SeriesData\": {\n \"Series\": [\n {\n \"Values\": [\n 0\n ],\n \"Metric\": \"DataFree\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0.1\n ],\n \"Metric\": \"DataLength\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0\n ],\n \"Metric\": \"IndexLength\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0.1\n ],\n \"Metric\": \"TotalLength\",\n \"Unit\": \"MB\"\n },\n {\n \"Values\": [\n 0\n ],\n \"Metric\": \"FragRatio\",\n \"Unit\": \"%\"\n },\n {\n \"Values\": [\n 6\n ],\n \"Metric\": \"TableRows\",\n \"Unit\": \"\"\n },\n {\n \"Values\": [\n 0.1\n ],\n \"Metric\": \"PhysicalFileSize\",\n \"Unit\": \"MB\"\n }\n ],\n \"Timestamp\": [\n 1588089600\n ]\n },\n \"Engine\": \"InnoDB\"\n }\n ]\n }\n}",
|
416
416
|
"title": "获取Top表在指定时间段内的每日空间统计信息"
|
417
417
|
}
|
418
418
|
],
|
419
419
|
"DescribeTopSpaceTables": [
|
420
420
|
{
|
421
421
|
"document": "",
|
422
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeTopSpaceTables\n&InstanceId=cdb-
|
423
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"ed279d8b-a9d9-48d6-9429-e0fde000994a\",\n \"Timestamp\": 1603819881,\n \"TopSpaceTables\": [\n {\n \"DataFree\": 0,\n \"TableName\": \"
|
422
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeTopSpaceTables\n&InstanceId=cdb-test1234\n&Limit=2\n&SortBy=TableRows\n&<公共请求参数>",
|
423
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ed279d8b-a9d9-48d6-9429-e0fde000994a\",\n \"Timestamp\": 1603819881,\n \"TopSpaceTables\": [\n {\n \"DataFree\": 0,\n \"TableName\": \"demo_table\",\n \"TotalLength\": 0.1,\n \"TableSchema\": \"test_bak\",\n \"FragRatio\": 0,\n \"DataLength\": 0.1,\n \"PhysicalFileSize\": 0.1,\n \"TableRows\": 9,\n \"Engine\": \"InnoDB\",\n \"IndexLength\": 0\n },\n {\n \"DataFree\": 0,\n \"TableName\": \"demo_table\",\n \"TotalLength\": 0.1,\n \"TableSchema\": \"test_bak\",\n \"FragRatio\": 0,\n \"DataLength\": 0.1,\n \"PhysicalFileSize\": 0.1,\n \"TableRows\": 9,\n \"Engine\": \"InnoDB\",\n \"IndexLength\": 0\n }\n ]\n }\n}",
|
424
424
|
"title": "获取Top表的空间统计信息"
|
425
425
|
}
|
426
426
|
],
|
@@ -428,7 +428,7 @@
|
|
428
428
|
{
|
429
429
|
"document": "",
|
430
430
|
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeUserSqlAdvice\n&InstanceId=cdb-c1nl9rpv\n&SqlText=select * from t1 where id in ( ? )\n&<公共请求参数>",
|
431
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"e2a51350-8c9f-11eb-bc0f-c9f5ab88d057\",\n \"Advices\": \"[{\\\"TableName\\\": \\\"t1\\\", \\\"TableSchema\\\": \\\"test\\\", \\\"Keys\\\": [{\\\"SqlText\\\": \\\"alter table `test`.`t1` add index index_0(`id`);\\\"}]}]\",\n \"Comments\": \"[]\",\n \"Schema\": \"
|
431
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e2a51350-8c9f-11eb-bc0f-c9f5ab88d057\",\n \"Advices\": \"[{\\\"TableName\\\": \\\"t1\\\", \\\"TableSchema\\\": \\\"test\\\", \\\"Keys\\\": [{\\\"SqlText\\\": \\\"alter table `test`.`t1` add index index_0(`id`);\\\"}]}]\",\n \"Comments\": \"[\\\"Failed to parse SQL statement\\\"]\",\n \"Schema\": \"demo_db\",\n \"Tables\": \"[{\\\"TableName\\\": \\\"t1\\\", \\\"TableSchema\\\": \\\"test\\\", \\\"TableDDL\\\": \\\"CREATE TABLE `test` (\\n `id` varchar(36) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC\\\"}]\",\n \"SqlText\": \"select * from t1 where id in ( ? )\",\n \"SqlPlan\": \"{\\\"Before\\\": [{\\\"Format\\\": \\\"Table\\\", \\\"Data\\\": {\\\"Names\\\": [\\\"id\\\", \\\"select_type\\\", \\\"table\\\", \\\"partitions\\\", \\\"type\\\", \\\"possible_keys\\\", \\\"key\\\", \\\"key_len\\\", \\\"ref\\\", \\\"rows\\\", \\\"filtered\\\", \\\"Extra\\\"], \\\"Data\\\": [ [1, \\\"SIMPLE\\\", \\\"t1\\\", null, \\\"ALL\\\", null, null, null, null, 1530, 10, \\\"Using where\\\" ]]}}], \\\"After\\\": [{ \\\"Format\\\": \\\"Table\\\", \\\"Data\\\": {\\\"Names\\\": [\\\"id\\\", \\\"select_type\\\", \\\"table\\\", \\\"partitions\\\", \\\"type\\\", \\\"possible_keys\\\", \\\"key\\\", \\\"key_len\\\", \\\"ref\\\", \\\"rows\\\", \\\"filtered\\\", \\\"Extra\\\"], \\\"Data\\\": [[1, \\\"SIMPLE\\\", \\\"t1\\\", null, \\\"ref\\\", \\\"index_0\\\", \\\"index_0\\\", 1056, \\\"const\\\", 51, 100.00, null]]}}]}\",\n \"Cost\": \"{\\\"Before\\\": 0.1, \\\"After\\\": 0.03, \\\"Ratio\\\": 90.61}\"\n }\n}",
|
432
432
|
"title": "获取SQL优化建议"
|
433
433
|
},
|
434
434
|
{
|
@@ -449,7 +449,7 @@
|
|
449
449
|
"ModifyAlarmPolicy": [
|
450
450
|
{
|
451
451
|
"document": "修改策略",
|
452
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAlarmPolicy\n<公共请求参数>\n\n{\n \"ApplyType\": \"instance\",\n \"Enable\": 1,\n \"InstanceIds\": [\n {\n \"InstanceId\": \"cdb-k9p7oscf\"\n },\n {\n \"InstanceId\": \"cdb-5jqzedc\"\n }\n ],\n \"NewProfileLevel\": \"Instance\",\n \"NewProfileName\": \"
|
452
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAlarmPolicy\n<公共请求参数>\n\n{\n \"ApplyType\": \"instance\",\n \"Enable\": 1,\n \"InstanceIds\": [\n {\n \"InstanceId\": \"cdb-k9p7oscf\"\n },\n {\n \"InstanceId\": \"cdb-5jqzedc\"\n }\n ],\n \"NewProfileLevel\": \"Instance\",\n \"NewProfileName\": \"demoProfileName\",\n \"ProfileName\": \"oldProfileName\",\n \"ProfileType\": \"alarm_policy\",\n \"Remark\": \"remark info\",\n \"RuleType\": 0,\n \"QuickRule\": \"fatal\",\n \"TemplateInfo\": [\n {\n \"TemplateId\": \"23002\",\n \"TemplateName\": \"ada测试\"\n }\n ]\n}",
|
453
453
|
"output": "{\n \"Response\": {\n \"RequestId\": \"08baa278-1104-4d3a-8585-027cc511d300\"\n }\n}",
|
454
454
|
"title": "增加实例"
|
455
455
|
}
|
@@ -471,7 +471,7 @@
|
|
471
471
|
},
|
472
472
|
{
|
473
473
|
"document": "开启Redis实例大key周期性分析并自定义分隔符。",
|
474
|
-
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDiagDBInstanceConf\n<公共请求参数>\n\n{\n \"Product\": \"redis\",\n \"Regions\": \"All\",\n \"InstanceIds\": [\n \"crs-pz1raq11\"\n ],\n \"InstanceConfs\": {\n \"AnalysisTopKey\": \"Yes\",\n \"KeyDelimiters\": [\n \"_\",\n \"
|
474
|
+
"input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDiagDBInstanceConf\n<公共请求参数>\n\n{\n \"Product\": \"redis\",\n \"Regions\": \"All\",\n \"InstanceIds\": [\n \"crs-pz1raq11\"\n ],\n \"InstanceConfs\": {\n \"AnalysisTopKey\": \"Yes\",\n \"KeyDelimiters\": [\n \",\",\n \";\",\n \":\",\n \"_\",\n \"+\",\n \"@\",\n \"=\",\n \"|\",\n \"#\",\n \".\"\n ]\n }\n}",
|
475
475
|
"output": "{\n \"Response\": {\n \"RequestId\": \"bcd97ab0-16d1-11ef-8e52-3d11a9997f13\"\n }\n}",
|
476
476
|
"title": "修改Redis实例大key周期性分析"
|
477
477
|
}
|
@@ -479,7 +479,7 @@
|
|
479
479
|
"ModifySqlFilters": [
|
480
480
|
{
|
481
481
|
"document": "修改SQL限流任务状态",
|
482
|
-
"input": "https://dbbrain.tencentcloudapi.com/?Action=ModifySqlFilters\n&InstanceId=cdb-test\n&FilterIds.0=
|
482
|
+
"input": "https://dbbrain.tencentcloudapi.com/?Action=ModifySqlFilters\n&InstanceId=cdb-test\n&FilterIds.0=1433288\n&Status=TERMINATED\n&<公共请求参数>",
|
483
483
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b49053b9-f21c-40ec-a1ce-d1a5fae5193f\"\n }\n}",
|
484
484
|
"title": "修改SQL限流任务状态"
|
485
485
|
}
|
@@ -198,7 +198,7 @@
|
|
198
198
|
"example": "成都-A-西区",
|
199
199
|
"member": "string",
|
200
200
|
"name": "AccessPointName",
|
201
|
-
"
|
201
|
+
"output_required": true,
|
202
202
|
"type": "string",
|
203
203
|
"value_allowed_null": false
|
204
204
|
},
|
@@ -208,7 +208,7 @@
|
|
208
208
|
"example": "ap-chengdu-a-xq",
|
209
209
|
"member": "string",
|
210
210
|
"name": "AccessPointId",
|
211
|
-
"
|
211
|
+
"output_required": true,
|
212
212
|
"type": "string",
|
213
213
|
"value_allowed_null": false
|
214
214
|
},
|
@@ -218,7 +218,7 @@
|
|
218
218
|
"example": "AVAILABLE",
|
219
219
|
"member": "string",
|
220
220
|
"name": "State",
|
221
|
-
"
|
221
|
+
"output_required": true,
|
222
222
|
"type": "string",
|
223
223
|
"value_allowed_null": false
|
224
224
|
},
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"example": "成都电信西区803DC",
|
229
229
|
"member": "string",
|
230
230
|
"name": "Location",
|
231
|
-
"
|
231
|
+
"output_required": true,
|
232
232
|
"type": "string",
|
233
233
|
"value_allowed_null": false
|
234
234
|
},
|
@@ -238,7 +238,7 @@
|
|
238
238
|
"example": "[\"ChinaTelecom\"]",
|
239
239
|
"member": "string",
|
240
240
|
"name": "LineOperator",
|
241
|
-
"
|
241
|
+
"output_required": true,
|
242
242
|
"type": "list",
|
243
243
|
"value_allowed_null": false
|
244
244
|
},
|
@@ -248,59 +248,69 @@
|
|
248
248
|
"example": "cd",
|
249
249
|
"member": "string",
|
250
250
|
"name": "RegionId",
|
251
|
-
"
|
251
|
+
"output_required": true,
|
252
252
|
"type": "string",
|
253
253
|
"value_allowed_null": false
|
254
254
|
},
|
255
255
|
{
|
256
256
|
"disabled": false,
|
257
|
-
"document": "接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km
|
257
|
+
"document": "接入点可用的端口类型列表。1000BASE-T代表千兆电口,1000BASE-LX代表千兆单模光口10km,1000BASE-ZX代表千兆单模光口80km,10GBASE-LR代表万兆单模光口10km,10GBASE-ZR代表万兆单模光口80km,10GBASE-LH代表万兆单模光口40km,100GBASE-LR4代表100G单模光口10km。",
|
258
258
|
"example": "[\"1000BASE-T\", \"1000BASE-LX\"]",
|
259
259
|
"member": "string",
|
260
260
|
"name": "AvailablePortType",
|
261
|
-
"
|
261
|
+
"output_required": true,
|
262
262
|
"type": "list",
|
263
|
-
"value_allowed_null":
|
263
|
+
"value_allowed_null": false
|
264
264
|
},
|
265
265
|
{
|
266
266
|
"disabled": false,
|
267
|
-
"document": "
|
267
|
+
"document": "接入点经纬度。",
|
268
268
|
"example": "{\"Lat\": \"0.0\", \"Lng\": \"0.0\"}",
|
269
269
|
"member": "Coordinate",
|
270
270
|
"name": "Coordinate",
|
271
|
-
"
|
271
|
+
"output_required": true,
|
272
272
|
"type": "object",
|
273
|
-
"value_allowed_null":
|
273
|
+
"value_allowed_null": false
|
274
274
|
},
|
275
275
|
{
|
276
276
|
"disabled": false,
|
277
|
-
"document": "
|
277
|
+
"document": "接入点所在城市。",
|
278
278
|
"example": "成都",
|
279
279
|
"member": "string",
|
280
280
|
"name": "City",
|
281
|
-
"
|
281
|
+
"output_required": true,
|
282
282
|
"type": "string",
|
283
|
-
"value_allowed_null":
|
283
|
+
"value_allowed_null": false
|
284
284
|
},
|
285
285
|
{
|
286
286
|
"disabled": false,
|
287
|
-
"document": "
|
287
|
+
"document": "接入点地域名称。",
|
288
288
|
"example": "华北",
|
289
289
|
"member": "string",
|
290
290
|
"name": "Area",
|
291
|
-
"
|
291
|
+
"output_required": true,
|
292
292
|
"type": "string",
|
293
|
-
"value_allowed_null":
|
293
|
+
"value_allowed_null": false
|
294
294
|
},
|
295
295
|
{
|
296
296
|
"disabled": false,
|
297
|
-
"document": "接入点类型。VXLAN/QCPL/QCAR
|
297
|
+
"document": "接入点类型。VXLAN/QCPL/QCAR",
|
298
298
|
"example": "VXLAN",
|
299
299
|
"member": "string",
|
300
300
|
"name": "AccessPointType",
|
301
|
-
"
|
301
|
+
"output_required": true,
|
302
302
|
"type": "string",
|
303
|
-
"value_allowed_null":
|
303
|
+
"value_allowed_null": false
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"disabled": false,
|
307
|
+
"document": "端口规格信息。",
|
308
|
+
"example": "无",
|
309
|
+
"member": "PortSpecification",
|
310
|
+
"name": "AvailablePortInfo",
|
311
|
+
"output_required": true,
|
312
|
+
"type": "list",
|
313
|
+
"value_allowed_null": false
|
304
314
|
}
|
305
315
|
],
|
306
316
|
"usage": "out"
|
@@ -366,9 +376,10 @@
|
|
366
376
|
{
|
367
377
|
"disabled": false,
|
368
378
|
"document": "健康检查次数",
|
369
|
-
"example": "",
|
379
|
+
"example": "3",
|
370
380
|
"member": "int64",
|
371
381
|
"name": "ProbeFailedTimes",
|
382
|
+
"output_required": true,
|
372
383
|
"required": false,
|
373
384
|
"type": "int",
|
374
385
|
"value_allowed_null": false
|
@@ -376,9 +387,10 @@
|
|
376
387
|
{
|
377
388
|
"disabled": false,
|
378
389
|
"document": "健康检查间隔",
|
379
|
-
"example": "",
|
390
|
+
"example": "1000",
|
380
391
|
"member": "int64",
|
381
392
|
"name": "Interval",
|
393
|
+
"output_required": true,
|
382
394
|
"required": false,
|
383
395
|
"type": "int",
|
384
396
|
"value_allowed_null": false
|
@@ -392,20 +404,20 @@
|
|
392
404
|
{
|
393
405
|
"disabled": false,
|
394
406
|
"document": "腾讯侧主互联IP BGP状态",
|
395
|
-
"example": "",
|
407
|
+
"example": "Established",
|
396
408
|
"member": "string",
|
397
409
|
"name": "TencentAddressBgpState",
|
398
|
-
"
|
410
|
+
"output_required": true,
|
399
411
|
"type": "string",
|
400
412
|
"value_allowed_null": false
|
401
413
|
},
|
402
414
|
{
|
403
415
|
"disabled": false,
|
404
416
|
"document": "腾讯侧备互联IP BGP状态",
|
405
|
-
"example": "",
|
417
|
+
"example": "Established",
|
406
418
|
"member": "string",
|
407
419
|
"name": "TencentBackupAddressBgpState",
|
408
|
-
"
|
420
|
+
"output_required": true,
|
409
421
|
"type": "string",
|
410
422
|
"value_allowed_null": false
|
411
423
|
}
|
@@ -642,20 +654,20 @@
|
|
642
654
|
{
|
643
655
|
"disabled": false,
|
644
656
|
"document": "纬度",
|
645
|
-
"example": "",
|
657
|
+
"example": "80.0",
|
646
658
|
"member": "float",
|
647
659
|
"name": "Lat",
|
648
|
-
"
|
660
|
+
"output_required": true,
|
649
661
|
"type": "float",
|
650
662
|
"value_allowed_null": false
|
651
663
|
},
|
652
664
|
{
|
653
665
|
"disabled": false,
|
654
666
|
"document": "经度",
|
655
|
-
"example": "",
|
667
|
+
"example": "108.0",
|
656
668
|
"member": "float",
|
657
669
|
"name": "Lng",
|
658
|
-
"
|
670
|
+
"output_required": true,
|
659
671
|
"type": "float",
|
660
672
|
"value_allowed_null": false
|
661
673
|
}
|
@@ -1249,6 +1261,15 @@
|
|
1249
1261
|
"name": "Limit",
|
1250
1262
|
"required": false,
|
1251
1263
|
"type": "int"
|
1264
|
+
},
|
1265
|
+
{
|
1266
|
+
"disabled": false,
|
1267
|
+
"document": "过滤参数,支持:access-point-id、isp",
|
1268
|
+
"example": "[\"Name\": \"access-point-id\", \"Values\": [\"ap-beijing-a-kc\"]]",
|
1269
|
+
"member": "Filter",
|
1270
|
+
"name": "Filters",
|
1271
|
+
"required": false,
|
1272
|
+
"type": "list"
|
1252
1273
|
}
|
1253
1274
|
],
|
1254
1275
|
"type": "object"
|
@@ -1259,9 +1280,10 @@
|
|
1259
1280
|
{
|
1260
1281
|
"disabled": false,
|
1261
1282
|
"document": "接入点信息。",
|
1262
|
-
"example": "
|
1283
|
+
"example": "无",
|
1263
1284
|
"member": "AccessPoint",
|
1264
1285
|
"name": "AccessPointSet",
|
1286
|
+
"output_required": true,
|
1265
1287
|
"type": "list",
|
1266
1288
|
"value_allowed_null": false
|
1267
1289
|
},
|
@@ -1271,6 +1293,7 @@
|
|
1271
1293
|
"example": "100",
|
1272
1294
|
"member": "int64",
|
1273
1295
|
"name": "TotalCount",
|
1296
|
+
"output_required": true,
|
1274
1297
|
"type": "int",
|
1275
1298
|
"value_allowed_null": false
|
1276
1299
|
},
|
@@ -2910,22 +2933,20 @@
|
|
2910
2933
|
{
|
2911
2934
|
"disabled": false,
|
2912
2935
|
"document": "需要过滤的字段。",
|
2913
|
-
"example": "",
|
2936
|
+
"example": "Version",
|
2914
2937
|
"member": "string",
|
2915
2938
|
"name": "Name",
|
2916
2939
|
"required": true,
|
2917
|
-
"type": "string"
|
2918
|
-
"value_allowed_null": false
|
2940
|
+
"type": "string"
|
2919
2941
|
},
|
2920
2942
|
{
|
2921
2943
|
"disabled": false,
|
2922
2944
|
"document": "字段的过滤值。",
|
2923
|
-
"example": "",
|
2945
|
+
"example": "V3",
|
2924
2946
|
"member": "string",
|
2925
2947
|
"name": "Values",
|
2926
2948
|
"required": true,
|
2927
|
-
"type": "list"
|
2928
|
-
"value_allowed_null": false
|
2949
|
+
"type": "list"
|
2929
2950
|
}
|
2930
2951
|
],
|
2931
2952
|
"usage": "in"
|
@@ -3502,9 +3523,10 @@
|
|
3502
3523
|
{
|
3503
3524
|
"disabled": false,
|
3504
3525
|
"document": "健康检查次数",
|
3505
|
-
"example": "",
|
3526
|
+
"example": "3",
|
3506
3527
|
"member": "int64",
|
3507
3528
|
"name": "ProbeFailedTimes",
|
3529
|
+
"output_required": true,
|
3508
3530
|
"required": false,
|
3509
3531
|
"type": "int",
|
3510
3532
|
"value_allowed_null": false
|
@@ -3512,9 +3534,10 @@
|
|
3512
3534
|
{
|
3513
3535
|
"disabled": false,
|
3514
3536
|
"document": "健康检查间隔",
|
3515
|
-
"example": "",
|
3537
|
+
"example": "5",
|
3516
3538
|
"member": "int64",
|
3517
3539
|
"name": "Interval",
|
3540
|
+
"output_required": true,
|
3518
3541
|
"required": false,
|
3519
3542
|
"type": "int",
|
3520
3543
|
"value_allowed_null": false
|
@@ -3522,9 +3545,10 @@
|
|
3522
3545
|
{
|
3523
3546
|
"disabled": false,
|
3524
3547
|
"document": "健康检查地址",
|
3525
|
-
"example": "",
|
3548
|
+
"example": "8.8.8.8",
|
3526
3549
|
"member": "string",
|
3527
3550
|
"name": "DestinationIp",
|
3551
|
+
"output_required": true,
|
3528
3552
|
"required": false,
|
3529
3553
|
"type": "string",
|
3530
3554
|
"value_allowed_null": false
|
@@ -3532,6 +3556,42 @@
|
|
3532
3556
|
],
|
3533
3557
|
"usage": "both"
|
3534
3558
|
},
|
3559
|
+
"PortSpecification": {
|
3560
|
+
"document": "端口规格",
|
3561
|
+
"members": [
|
3562
|
+
{
|
3563
|
+
"disabled": false,
|
3564
|
+
"document": "端口名称",
|
3565
|
+
"example": "10GBASE-LR",
|
3566
|
+
"member": "string",
|
3567
|
+
"name": "InternationalName",
|
3568
|
+
"output_required": true,
|
3569
|
+
"type": "string",
|
3570
|
+
"value_allowed_null": false
|
3571
|
+
},
|
3572
|
+
{
|
3573
|
+
"disabled": false,
|
3574
|
+
"document": "端口规格(M)",
|
3575
|
+
"example": "10000",
|
3576
|
+
"member": "uint64",
|
3577
|
+
"name": "Specification",
|
3578
|
+
"output_required": true,
|
3579
|
+
"type": "int",
|
3580
|
+
"value_allowed_null": false
|
3581
|
+
},
|
3582
|
+
{
|
3583
|
+
"disabled": false,
|
3584
|
+
"document": "端口类型:T-电口,X-光口",
|
3585
|
+
"example": "X",
|
3586
|
+
"member": "string",
|
3587
|
+
"name": "PortType",
|
3588
|
+
"output_required": true,
|
3589
|
+
"type": "string",
|
3590
|
+
"value_allowed_null": false
|
3591
|
+
}
|
3592
|
+
],
|
3593
|
+
"usage": "out"
|
3594
|
+
},
|
3535
3595
|
"RejectDirectConnectTunnelRequest": {
|
3536
3596
|
"document": "RejectDirectConnectTunnel请求参数结构体",
|
3537
3597
|
"members": [
|