tccli 3.0.1239.1__py2.py3-none-any.whl → 3.0.1241.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +66 -69
  3. tccli/services/apm/v20210622/examples.json +26 -26
  4. tccli/services/autoscaling/v20180419/api.json +12 -1
  5. tccli/services/batch/v20170312/api.json +11 -11
  6. tccli/services/billing/v20180709/api.json +20 -0
  7. tccli/services/cam/v20190116/api.json +1 -1
  8. tccli/services/car/v20220110/api.json +1 -1
  9. tccli/services/car/v20220110/examples.json +3 -3
  10. tccli/services/cdb/v20170320/api.json +582 -579
  11. tccli/services/cdb/v20170320/examples.json +9 -9
  12. tccli/services/cdwdoris/v20211228/api.json +40 -0
  13. tccli/services/cfg/v20210820/api.json +11 -0
  14. tccli/services/chdfs/v20201112/api.json +10 -10
  15. tccli/services/chdfs/v20201112/examples.json +1 -1
  16. tccli/services/cls/v20201016/api.json +1 -1
  17. tccli/services/cmq/v20190304/api.json +77 -77
  18. tccli/services/csip/csip_client.py +281 -16
  19. tccli/services/csip/v20221121/api.json +1631 -101
  20. tccli/services/csip/v20221121/examples.json +40 -0
  21. tccli/services/cvm/cvm_client.py +60 -325
  22. tccli/services/cvm/v20170312/api.json +618 -1401
  23. tccli/services/cvm/v20170312/examples.json +8 -48
  24. tccli/services/cwp/cwp_client.py +0 -53
  25. tccli/services/cwp/v20180228/api.json +0 -34
  26. tccli/services/cwp/v20180228/examples.json +0 -8
  27. tccli/services/cynosdb/v20190107/api.json +452 -458
  28. tccli/services/cynosdb/v20190107/examples.json +23 -23
  29. tccli/services/dbbrain/v20191016/api.json +16 -4
  30. tccli/services/dbbrain/v20191016/examples.json +5 -5
  31. tccli/services/dbbrain/v20210527/api.json +44 -44
  32. tccli/services/dbbrain/v20210527/examples.json +8 -8
  33. tccli/services/dts/v20180330/api.json +30 -30
  34. tccli/services/dts/v20180330/examples.json +4 -4
  35. tccli/services/dts/v20211206/api.json +19 -9
  36. tccli/services/dts/v20211206/examples.json +5 -5
  37. tccli/services/ecm/v20190719/api.json +55 -48
  38. tccli/services/ecm/v20190719/examples.json +7 -7
  39. tccli/services/emr/emr_client.py +493 -16
  40. tccli/services/emr/v20190103/api.json +1323 -246
  41. tccli/services/emr/v20190103/examples.json +72 -0
  42. tccli/services/ess/v20201111/api.json +15 -6
  43. tccli/services/ess/v20201111/examples.json +12 -0
  44. tccli/services/essbasic/v20210526/api.json +11 -2
  45. tccli/services/essbasic/v20210526/examples.json +12 -0
  46. tccli/services/faceid/v20180301/api.json +3 -3
  47. tccli/services/gaap/v20180529/api.json +181 -183
  48. tccli/services/gaap/v20180529/examples.json +31 -37
  49. tccli/services/gs/v20191118/api.json +3 -3
  50. tccli/services/gs/v20191118/examples.json +3 -3
  51. tccli/services/iai/iai_client.py +53 -0
  52. tccli/services/iai/v20200303/api.json +80 -0
  53. tccli/services/iai/v20200303/examples.json +14 -0
  54. tccli/services/iotexplorer/v20190423/api.json +10 -0
  55. tccli/services/keewidb/v20220308/api.json +188 -190
  56. tccli/services/live/v20180801/api.json +323 -222
  57. tccli/services/live/v20180801/examples.json +79 -79
  58. tccli/services/mna/v20210119/api.json +20 -20
  59. tccli/services/mps/v20190612/api.json +40 -0
  60. tccli/services/oceanus/v20190422/api.json +407 -39
  61. tccli/services/oceanus/v20190422/examples.json +1 -1
  62. tccli/services/ocr/v20181119/api.json +50 -0
  63. tccli/services/sms/v20190711/api.json +81 -81
  64. tccli/services/sms/v20190711/examples.json +8 -8
  65. tccli/services/sms/v20210111/api.json +39 -39
  66. tccli/services/sqlserver/v20180328/api.json +235 -139
  67. tccli/services/sqlserver/v20180328/examples.json +2 -2
  68. tccli/services/ssl/v20191205/api.json +777 -779
  69. tccli/services/ssl/v20191205/examples.json +8 -8
  70. tccli/services/tbaas/v20180416/api.json +118 -82
  71. tccli/services/tbaas/v20180416/examples.json +7 -7
  72. tccli/services/tcb/v20180608/api.json +18 -18
  73. tccli/services/tcb/v20180608/examples.json +2 -2
  74. tccli/services/tcm/v20210413/api.json +6 -6
  75. tccli/services/tcm/v20210413/examples.json +1 -1
  76. tccli/services/tcr/v20190924/api.json +17 -12
  77. tccli/services/tdmq/v20200217/api.json +18 -0
  78. tccli/services/tem/v20210701/api.json +439 -280
  79. tccli/services/tem/v20210701/examples.json +39 -39
  80. tccli/services/tke/v20180525/api.json +50 -39
  81. tccli/services/tke/v20180525/examples.json +51 -21
  82. tccli/services/trro/v20220325/api.json +27 -27
  83. tccli/services/trro/v20220325/examples.json +1 -1
  84. tccli/services/tse/v20201207/api.json +46 -9
  85. tccli/services/tse/v20201207/examples.json +31 -31
  86. tccli/services/tsf/v20180326/api.json +448 -434
  87. tccli/services/tsf/v20180326/examples.json +122 -122
  88. tccli/services/tts/v20190823/api.json +1 -1
  89. tccli/services/vpc/v20170312/api.json +278 -37
  90. tccli/services/vpc/v20170312/examples.json +56 -8
  91. tccli/services/vpc/vpc_client.py +159 -0
  92. tccli/services/waf/v20180125/api.json +303 -4
  93. tccli/services/waf/v20180125/examples.json +25 -1
  94. tccli/services/waf/waf_client.py +163 -4
  95. {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
  96. {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +99 -99
  97. {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
  98. {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
  99. {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -1434,7 +1434,7 @@
1434
1434
  "example": "129542924",
1435
1435
  "member": "int64",
1436
1436
  "name": "AsyncRequestId",
1437
- "required": true,
1437
+ "output_required": true,
1438
1438
  "type": "int",
1439
1439
  "value_allowed_null": true
1440
1440
  },
@@ -1732,10 +1732,10 @@
1732
1732
  {
1733
1733
  "disabled": false,
1734
1734
  "document": "创建 kill 会话任务返回的异步任务 id",
1735
- "example": "123456",
1735
+ "example": "14672492",
1736
1736
  "member": "int64",
1737
1737
  "name": "AsyncRequestId",
1738
- "required": true,
1738
+ "output_required": true,
1739
1739
  "type": "int",
1740
1740
  "value_allowed_null": false
1741
1741
  },
@@ -2704,7 +2704,7 @@
2704
2704
  "example": "健康巡检",
2705
2705
  "member": "string",
2706
2706
  "name": "DiagItem",
2707
- "required": true,
2707
+ "output_required": true,
2708
2708
  "type": "string",
2709
2709
  "value_allowed_null": false
2710
2710
  },
@@ -2714,7 +2714,7 @@
2714
2714
  "example": "数据库快照",
2715
2715
  "member": "string",
2716
2716
  "name": "DiagType",
2717
- "required": true,
2717
+ "output_required": true,
2718
2718
  "type": "string",
2719
2719
  "value_allowed_null": false
2720
2720
  },
@@ -2724,17 +2724,17 @@
2724
2724
  "example": "5",
2725
2725
  "member": "int64",
2726
2726
  "name": "EventId",
2727
- "required": true,
2727
+ "output_required": true,
2728
2728
  "type": "int",
2729
2729
  "value_allowed_null": false
2730
2730
  },
2731
2731
  {
2732
2732
  "disabled": false,
2733
2733
  "document": "诊断事件详情,若无附加解释信息则输出为空。",
2734
- "example": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"慢会话详情\"}},[{\"Layout\":\"vertical\",\"DataType\":\"table\",\"Data\":{\"Names\":[\"Schema\",{\"Type\":\"sql\",\"Name\":\"SqlText\"}],\"Data\":[{\"Schema\":\"demo\",\"SqlText\":\"select t1.*, t2.* from t1, t2 where t1.c_time = t2.c_time and t1.name > t2.name order by t2.name limit 10\"}]}}]]",
2734
+ "example": "[{\"DataType\":\"title\"}]",
2735
2735
  "member": "string",
2736
2736
  "name": "Explanation",
2737
- "required": true,
2737
+ "output_required": true,
2738
2738
  "type": "string",
2739
2739
  "value_allowed_null": false
2740
2740
  },
@@ -2744,17 +2744,17 @@
2744
2744
  "example": "数据库健康检查,发现1个问题",
2745
2745
  "member": "string",
2746
2746
  "name": "Outline",
2747
- "required": true,
2747
+ "output_required": true,
2748
2748
  "type": "string",
2749
2749
  "value_allowed_null": false
2750
2750
  },
2751
2751
  {
2752
2752
  "disabled": false,
2753
2753
  "document": "诊断出的问题。",
2754
- "example": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"会话快照\"}},{\"DataType\":\"title\",\"Data\":{\"Name\":\"事务快照\"}},{\"DataType\":\"title\",\"Data\":{\"Name\":\"Innodb状态快照\"}}]",
2754
+ "example": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"会话快照\"}}]",
2755
2755
  "member": "string",
2756
2756
  "name": "Problem",
2757
- "required": true,
2757
+ "output_required": true,
2758
2758
  "type": "string",
2759
2759
  "value_allowed_null": false
2760
2760
  },
@@ -2764,7 +2764,7 @@
2764
2764
  "example": "4",
2765
2765
  "member": "int64",
2766
2766
  "name": "Severity",
2767
- "required": true,
2767
+ "output_required": true,
2768
2768
  "type": "int",
2769
2769
  "value_allowed_null": false
2770
2770
  },
@@ -2774,17 +2774,17 @@
2774
2774
  "example": "2019-11-06 12:05:40",
2775
2775
  "member": "datetime",
2776
2776
  "name": "StartTime",
2777
- "required": true,
2777
+ "output_required": true,
2778
2778
  "type": "string",
2779
2779
  "value_allowed_null": false
2780
2780
  },
2781
2781
  {
2782
2782
  "disabled": false,
2783
2783
  "document": "诊断建议,若无建议则输出为空。",
2784
- "example": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"SQL优化\"}},[{\"DataType\":\"sqlAdvice\",\"Data\":{\"Advices\":[{\"TableName\":\"t1\",\"TableSchema\":\"demo\",\"Keys\":[{\"SqlText\":\"alter table `demo`.`t1` add index index_0(`c_time`);\"}]}],\"Comments\":[],\"Schema\":\"demo\",\"SqlPlan\":{\"Before\":[{\"Format\":\"Table\",\"Data\":{\"Names\":[\"id\",\"select_type\",\"table\",\"partitions\",\"type\",\"possible_keys\",\"key\",\"key_len\",\"ref\",\"rows\",\"filtered\",\"Extra\"],\"Data\":[[1,\"SIMPLE\",\"t2\",null,\"ALL\",null,null,null,null,161663,100,null],[1,\"SIMPLE\",\"t1\",null,\"ALL\",null,null,null,null,655801,3.33,null]]}}],\"After\":[{\"Format\":\"Table\",\"Data\":{\"Names\":[\"id\",\"select_type\",\"table\",\"partitions\",\"type\",\"possible_keys\",\"key\",\"key_len\",\"ref\",\"rows\",\"filtered\",\"Extra\"],\"Data\":[[1,\"SIMPLE\",\"t2\",null,\"ALL\",null,null,null,null,161663,100,null],[1,\"SIMPLE\",\"t1\",null,\"ALL\",\"index_0\",null,null,null,655801,33.33,null]]}}]},\"SqlText\":\"select t1.*, t2.* from t1, t2 where t1.c_time = t2.c_time and t1.name > t2.name order by t2.name limit 10\",\"Tables\":[{\"TableName\":\"t1\",\"TableSchema\":\"demo\",\"TableDDL\":\"CREATE TABLE `t1` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `c_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\\n `name` varchar(32) DEFAULT NULL,\\n `age` int NOT NULL DEFAULT '0',\\n PRIMARY KEY (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=786393 DEFAULT CHARSET=utf8mb3\"},{\"TableName\":\"t2\",\"TableSchema\":\"demo\",\"TableDDL\":\"CREATE TABLE `t2` (\\n `id` int NOT NULL AUTO_INCREMENT,\\n `c_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\\n `name` varchar(32) DEFAULT NULL,\\n `age` int NOT NULL DEFAULT '0',\\n PRIMARY KEY (`id`)\\n) ENGINE=InnoDB AUTO_INCREMENT=1507180 DEFAULT CHARSET=utf8mb3\"}],\"Cost\":{\"Before\":1.060202269597E10,\"After\":1.060202269597E10,\"Ratio\":0}}}]]",
2784
+ "example": "[{\"DataType\":\"title\",\"Data\":{\"Name\":\"SQL优化\"}}]",
2785
2785
  "member": "string",
2786
2786
  "name": "Suggestions",
2787
- "required": true,
2787
+ "output_required": true,
2788
2788
  "type": "string",
2789
2789
  "value_allowed_null": false
2790
2790
  },
@@ -2794,7 +2794,7 @@
2794
2794
  "example": "innodb_rows_read_per_qps",
2795
2795
  "member": "string",
2796
2796
  "name": "Metric",
2797
- "required": true,
2797
+ "output_required": true,
2798
2798
  "type": "string",
2799
2799
  "value_allowed_null": true
2800
2800
  },
@@ -2804,7 +2804,7 @@
2804
2804
  "example": "2019-11-06 12:05:50",
2805
2805
  "member": "datetime",
2806
2806
  "name": "EndTime",
2807
- "required": true,
2807
+ "output_required": true,
2808
2808
  "type": "string",
2809
2809
  "value_allowed_null": false
2810
2810
  },
@@ -4570,7 +4570,7 @@
4570
4570
  {
4571
4571
  "disabled": false,
4572
4572
  "document": "实例 ID 。",
4573
- "example": "test",
4573
+ "example": "cdb-test1234",
4574
4574
  "member": "string",
4575
4575
  "name": "InstanceId",
4576
4576
  "required": true,
@@ -8573,7 +8573,7 @@
8573
8573
  "example": "0.00008",
8574
8574
  "member": "float",
8575
8575
  "name": "LockTime",
8576
- "required": true,
8576
+ "output_required": true,
8577
8577
  "type": "float",
8578
8578
  "value_allowed_null": false
8579
8579
  },
@@ -8583,7 +8583,7 @@
8583
8583
  "example": "0.000096",
8584
8584
  "member": "float",
8585
8585
  "name": "LockTimeMax",
8586
- "required": true,
8586
+ "output_required": true,
8587
8587
  "type": "float",
8588
8588
  "value_allowed_null": false
8589
8589
  },
@@ -8593,17 +8593,17 @@
8593
8593
  "example": "0.000041",
8594
8594
  "member": "float",
8595
8595
  "name": "LockTimeMin",
8596
- "required": true,
8596
+ "output_required": true,
8597
8597
  "type": "float",
8598
8598
  "value_allowed_null": false
8599
8599
  },
8600
8600
  {
8601
8601
  "disabled": false,
8602
8602
  "document": "总扫描行数",
8603
- "example": "584832",
8603
+ "example": "584833",
8604
8604
  "member": "int64",
8605
8605
  "name": "RowsExamined",
8606
- "required": true,
8606
+ "output_required": true,
8607
8607
  "type": "int",
8608
8608
  "value_allowed_null": false
8609
8609
  },
@@ -8613,7 +8613,7 @@
8613
8613
  "example": "101782",
8614
8614
  "member": "int64",
8615
8615
  "name": "RowsExaminedMax",
8616
- "required": true,
8616
+ "output_required": true,
8617
8617
  "type": "int",
8618
8618
  "value_allowed_null": false
8619
8619
  },
@@ -8623,7 +8623,7 @@
8623
8623
  "example": "584832",
8624
8624
  "member": "int64",
8625
8625
  "name": "RowsExaminedMin",
8626
- "required": true,
8626
+ "output_required": true,
8627
8627
  "type": "int",
8628
8628
  "value_allowed_null": false
8629
8629
  },
@@ -8633,7 +8633,7 @@
8633
8633
  "example": "0.513363",
8634
8634
  "member": "float",
8635
8635
  "name": "QueryTime",
8636
- "required": true,
8636
+ "output_required": true,
8637
8637
  "type": "float",
8638
8638
  "value_allowed_null": false
8639
8639
  },
@@ -8643,7 +8643,7 @@
8643
8643
  "example": "0.765213",
8644
8644
  "member": "float",
8645
8645
  "name": "QueryTimeMax",
8646
- "required": true,
8646
+ "output_required": true,
8647
8647
  "type": "float",
8648
8648
  "value_allowed_null": false
8649
8649
  },
@@ -8653,7 +8653,7 @@
8653
8653
  "example": "0.629921",
8654
8654
  "member": "float",
8655
8655
  "name": "QueryTimeMin",
8656
- "required": true,
8656
+ "output_required": true,
8657
8657
  "type": "float",
8658
8658
  "value_allowed_null": false
8659
8659
  },
@@ -8663,7 +8663,7 @@
8663
8663
  "example": "292416",
8664
8664
  "member": "int64",
8665
8665
  "name": "RowsSent",
8666
- "required": true,
8666
+ "output_required": true,
8667
8667
  "type": "int",
8668
8668
  "value_allowed_null": false
8669
8669
  },
@@ -8673,7 +8673,7 @@
8673
8673
  "example": "292416",
8674
8674
  "member": "int64",
8675
8675
  "name": "RowsSentMax",
8676
- "required": true,
8676
+ "output_required": true,
8677
8677
  "type": "int",
8678
8678
  "value_allowed_null": false
8679
8679
  },
@@ -8683,7 +8683,7 @@
8683
8683
  "example": "292416",
8684
8684
  "member": "int64",
8685
8685
  "name": "RowsSentMin",
8686
- "required": true,
8686
+ "output_required": true,
8687
8687
  "type": "int",
8688
8688
  "value_allowed_null": false
8689
8689
  },
@@ -8693,7 +8693,7 @@
8693
8693
  "example": "37",
8694
8694
  "member": "int64",
8695
8695
  "name": "ExecTimes",
8696
- "required": true,
8696
+ "output_required": true,
8697
8697
  "type": "int",
8698
8698
  "value_allowed_null": false
8699
8699
  },
@@ -8703,7 +8703,7 @@
8703
8703
  "example": "select * from t;",
8704
8704
  "member": "string",
8705
8705
  "name": "SqlTemplate",
8706
- "required": true,
8706
+ "output_required": true,
8707
8707
  "type": "string",
8708
8708
  "value_allowed_null": false
8709
8709
  },
@@ -8713,7 +8713,7 @@
8713
8713
  "example": "SELECT * FROM t;",
8714
8714
  "member": "string",
8715
8715
  "name": "SqlText",
8716
- "required": true,
8716
+ "output_required": true,
8717
8717
  "type": "string",
8718
8718
  "value_allowed_null": false
8719
8719
  },
@@ -8723,7 +8723,7 @@
8723
8723
  "example": "test_center",
8724
8724
  "member": "string",
8725
8725
  "name": "Schema",
8726
- "required": true,
8726
+ "output_required": true,
8727
8727
  "type": "string",
8728
8728
  "value_allowed_null": false
8729
8729
  },
@@ -8733,7 +8733,7 @@
8733
8733
  "example": "2.44",
8734
8734
  "member": "float",
8735
8735
  "name": "QueryTimeRatio",
8736
- "required": true,
8736
+ "output_required": true,
8737
8737
  "type": "float",
8738
8738
  "value_allowed_null": false
8739
8739
  },
@@ -8743,7 +8743,7 @@
8743
8743
  "example": "1.92",
8744
8744
  "member": "float",
8745
8745
  "name": "LockTimeRatio",
8746
- "required": true,
8746
+ "output_required": true,
8747
8747
  "type": "float",
8748
8748
  "value_allowed_null": false
8749
8749
  },
@@ -8753,7 +8753,7 @@
8753
8753
  "example": "2.3",
8754
8754
  "member": "float",
8755
8755
  "name": "RowsExaminedRatio",
8756
- "required": true,
8756
+ "output_required": true,
8757
8757
  "type": "float",
8758
8758
  "value_allowed_null": false
8759
8759
  },
@@ -8763,7 +8763,7 @@
8763
8763
  "example": "18.67",
8764
8764
  "member": "float",
8765
8765
  "name": "RowsSentRatio",
8766
- "required": true,
8766
+ "output_required": true,
8767
8767
  "type": "float",
8768
8768
  "value_allowed_null": false
8769
8769
  },
@@ -8773,7 +8773,7 @@
8773
8773
  "example": "0.513363",
8774
8774
  "member": "float",
8775
8775
  "name": "QueryTimeAvg",
8776
- "required": true,
8776
+ "output_required": true,
8777
8777
  "type": "float",
8778
8778
  "value_allowed_null": false
8779
8779
  },
@@ -8783,7 +8783,7 @@
8783
8783
  "example": "26518.0",
8784
8784
  "member": "float",
8785
8785
  "name": "RowsSentAvg",
8786
- "required": true,
8786
+ "output_required": true,
8787
8787
  "type": "float",
8788
8788
  "value_allowed_null": false
8789
8789
  },
@@ -8793,7 +8793,7 @@
8793
8793
  "example": "0.000096",
8794
8794
  "member": "float",
8795
8795
  "name": "LockTimeAvg",
8796
- "required": true,
8796
+ "output_required": true,
8797
8797
  "type": "float",
8798
8798
  "value_allowed_null": false
8799
8799
  },
@@ -8803,7 +8803,7 @@
8803
8803
  "example": "584832.0",
8804
8804
  "member": "float",
8805
8805
  "name": "RowsExaminedAvg",
8806
- "required": true,
8806
+ "output_required": true,
8807
8807
  "type": "float",
8808
8808
  "value_allowed_null": false
8809
8809
  },
@@ -8813,7 +8813,7 @@
8813
8813
  "example": "AD7651E51E8C6FBA",
8814
8814
  "member": "string",
8815
8815
  "name": "Md5",
8816
- "required": true,
8816
+ "output_required": true,
8817
8817
  "type": "string",
8818
8818
  "value_allowed_null": false
8819
8819
  }
@@ -35,7 +35,7 @@
35
35
  "CreateDBDiagReportTask": [
36
36
  {
37
37
  "document": "",
38
- "input": "https://dbbrain.tencentcloudapi.com/?Action=CreateDBDiagReportTask\n&InstanceId=test\n&StartTime=2019-01-01T00:00:00+08:00\n&EndTime=2019-01-02T00:00:00+08:00\n&SendMailFlag=1\n&ContactPerson.0=1\n&ContactGroup.0=1\n&<公共请求参数>",
38
+ "input": "https://dbbrain.tencentcloudapi.com/?Action=CreateDBDiagReportTask\n&InstanceId=cdb-test1234\n&StartTime=2019-01-01T00:00:00+08:00\n&EndTime=2019-01-02T00:00:00+08:00\n&SendMailFlag=1\n&ContactPerson.0=1\n&ContactGroup.0=1\n&<公共请求参数>",
39
39
  "output": "{\n \"Response\": {\n \"AsyncRequestId\": 129632,\n \"RequestId\": \"77db16d7-bbe8-48a7-868b-ed776a96f1ab\"\n }\n}",
40
40
  "title": "创建健康报告, 发送邮件(可选)"
41
41
  }
@@ -68,7 +68,7 @@
68
68
  {
69
69
  "document": "",
70
70
  "input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProxySessionKillTask\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-8jawylhf\",\n \"Product\": \"redis\"\n}",
71
- "output": "{\n \"Response\": {\n \"AsyncRequestId\": 123456,\n \"RequestId\": \"xx\"\n }\n}",
71
+ "output": "{\n \"Response\": {\n \"AsyncRequestId\": 14672492,\n \"RequestId\": \"17351ed0-c126-11ef-9567-2ff75b8b0530\"\n }\n}",
72
72
  "title": "根据实例 id 创建终止所有代理节点会话连接的异步任务"
73
73
  }
74
74
  ],
@@ -147,7 +147,7 @@
147
147
  "DescribeAlarmTemplate": [
148
148
  {
149
149
  "document": "查询通知模板示例",
150
- "input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmTemplate\n<公共请求参数>\n\n{\n \"TemplateNameRegexp\": \"test\",\n \"Limit\": 50,\n \"Offset\": 0\n}",
150
+ "input": "POST / HTTP/1.1\nHost: dbbrain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmTemplate\n<公共请求参数>\n\n{\n \"TemplateNameRegexp\": \"demoTemplate\",\n \"Limit\": 50,\n \"Offset\": 0\n}",
151
151
  "output": "{\n \"Response\": {\n \"ProfileList\": [],\n \"RequestId\": \"5c2ad5eb-784b-4ff4-8860-17f75f4e5c1f\",\n \"TotalCount\": 0\n }\n}",
152
152
  "title": "查询通知模板示例"
153
153
  }
@@ -187,8 +187,8 @@
187
187
  "DescribeDBDiagEvent": [
188
188
  {
189
189
  "document": "",
190
- "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeDBDiagEvent\n&InstanceId=test\n&EventId=5\n&<公共请求参数>",
191
- "output": "{\n \"Response\": {\n \"Suggestions\": \"[]\",\n \"DiagType\": \"数据库快照\",\n \"EndTime\": \"2019-11-06 12:05:50\",\n \"RequestId\": \"78cf7bb1-0608-11ea-a9ef-2736f0f7f829\",\n \"Explanation\": \"[]\",\n \"StartTime\": \"2019-11-06 12:05:40\",\n \"Severity\": 4,\n \"EventId\": 5,\n \"Outline\": \"数据库健康检查,发现1个问题\",\n \"Problem\": \"[{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"会话快照\\\"}},{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"事务快照\\\"}},{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"Innodb状态快照\\\"}}]\",\n \"Metric\": \"\",\n \"DiagItem\": \"健康巡检\"\n }\n}",
190
+ "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeDBDiagEvent\n&InstanceId=cdb-test1234\n&EventId=5\n&<公共请求参数>",
191
+ "output": "{\n \"Response\": {\n \"Suggestions\": \"[{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"SQL优化\\\"}},[{\\\"DataType\\\":\\\"sqlAdvice\\\",\\\"Data\\\":{\\\"Advices\\\":[{\\\"TableName\\\":\\\"t1\\\",\\\"TableSchema\\\":\\\"demo\\\",\\\"Keys\\\":[{\\\"SqlText\\\":\\\"alter table `demo`.`t1` add index index_0(`c_time`);\\\"}]}],\\\"Comments\\\":[],\\\"Schema\\\":\\\"demo\\\",\\\"SqlPlan\\\":{},\\\"SqlText\\\":\\\"select t1.*, t2.* from t1, t2 where t1.c_time = t2.c_time and t1.name > t2.name order by t2.name limit 10\\\",\\\"Tables\\\":[{\\\"TableName\\\":\\\"t1\\\",\\\"TableSchema\\\":\\\"demo\\\",\\\"TableDDL\\\":\\\"CREATE TABLE `t1` (\\\\n `id` int NOT NULL AUTO_INCREMENT,\\\\n `c_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\\\\n `name` varchar(32) DEFAULT NULL,\\\\n `age` int NOT NULL DEFAULT '0',\\\\n PRIMARY KEY (`id`)\\\\n) ENGINE=InnoDB AUTO_INCREMENT=786393 DEFAULT CHARSET=utf8mb3\\\"}],\\\"Cost\\\":{\\\"Before\\\":1.060202269597E10,\\\"After\\\":1.060202269597E10,\\\"Ratio\\\":0}}}]]\",\n \"DiagType\": \"数据库快照\",\n \"EndTime\": \"2019-11-06 12:05:50\",\n \"RequestId\": \"78cf7bb1-0608-11ea-a9ef-2736f0f7f829\",\n \"Explanation\": \"[{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"慢会话详情\\\"}},[{\\\"Layout\\\":\\\"vertical\\\",\\\"DataType\\\":\\\"table\\\",\\\"Data\\\":{\\\"Names\\\":[\\\"Schema\\\",{\\\"Type\\\":\\\"sql\\\",\\\"Name\\\":\\\"SqlText\\\"}],\\\"Data\\\":[{\\\"Schema\\\":\\\"demo\\\",\\\"SqlText\\\":\\\"select t1.*, t2.* from t1, t2 where t1.c_time = t2.c_time and t1.name > t2.name order by t2.name limit 10\\\"}]}}]]\",\n \"StartTime\": \"2019-11-06 12:05:40\",\n \"Severity\": 4,\n \"EventId\": 5,\n \"Outline\": \"数据库健康检查,发现1个问题\",\n \"Problem\": \"[{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"会话快照\\\"}},{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"事务快照\\\"}},{\\\"DataType\\\":\\\"title\\\",\\\"Data\\\":{\\\"Name\\\":\\\"Innodb状态快照\\\"}}]\",\n \"Metric\": \"\",\n \"DiagItem\": \"健康巡检\"\n }\n}",
192
192
  "title": "获取诊断事件详情"
193
193
  }
194
194
  ],
@@ -355,8 +355,8 @@
355
355
  "DescribeSlowLogTopSqls": [
356
356
  {
357
357
  "document": "按照Sql模板+schema的聚合方式,统计排序指定时间段内的top慢sql。",
358
- "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeSlowLogTopSqls\n&InstanceId=test\n&SortBy=QueryTime\n&OrderBy=ASC\n&Limit=10\n&Offset=0\n&StartTime=2019-01-01 00:00:00\n&EndTime=2019-01-01 01:00:00\n&SchemaList.0.Schema=dbName\n&<公共请求参数>",
359
- "output": "{\n \"Response\": {\n \"RequestId\": \"ed279d8b-a9d9-48d6-9429-e0fde000994a\",\n \"TotalCount\": 1,\n \"Rows\": [\n {\n \"QueryTimeMin\": 0.0,\n \"LockTimeMin\": 0.0,\n \"QueryTimeMax\": 14.086705,\n \"QueryTimeRatio\": 0.0,\n \"RowsSentRatio\": 0.0,\n \"RowsSentMax\": 0,\n \"RowsExaminedMin\": 0,\n \"RowsSentMin\": 0,\n \"SqlText\": \"select * from user where name='sz'\",\n \"Schema\": \"test\",\n \"LockTimeMax\": 0.0,\n \"LockTimeRatio\": 0.0,\n \"ExecTimes\": 2,\n \"LockTimeAvg\": 0.0,\n \"RowsExamined\": 0,\n \"RowsSentAvg\": 0.0,\n \"QueryTime\": 28.17341,\n \"RowsExaminedAvg\": 0.0,\n \"RowsExaminedMax\": 0,\n \"RowsSent\": 0,\n \"RowsExaminedRatio\": 0.0,\n \"QueryTimeAvg\": 0.0,\n \"SqlTemplate\": \"select * from user where name=?\",\n \"LockTime\": 0.0,\n \"Md5\": \"2323847233\"\n }\n ]\n }\n}",
358
+ "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeSlowLogTopSqls\n&InstanceId=cdb-test1234\n&SortBy=QueryTime\n&OrderBy=ASC\n&Limit=10\n&Offset=0\n&StartTime=2019-01-01 00:00:00\n&EndTime=2019-01-01 01:00:00\n&SchemaList.0.Schema=dbName\n&<公共请求参数>",
359
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ed279d8b-a9d9-48d6-9429-e0fde000994a\",\n \"TotalCount\": 1,\n \"Rows\": [\n {\n \"QueryTimeMin\": 0.0,\n \"LockTimeMin\": 0.0,\n \"QueryTimeMax\": 14.086705,\n \"QueryTimeRatio\": 0.0,\n \"RowsSentRatio\": 0.0,\n \"RowsSentMax\": 0,\n \"RowsExaminedMin\": 0,\n \"RowsSentMin\": 0,\n \"SqlText\": \"select * from user where name='sz'\",\n \"Schema\": \"dbName\",\n \"LockTimeMax\": 0.0,\n \"LockTimeRatio\": 0.0,\n \"ExecTimes\": 2,\n \"LockTimeAvg\": 0.0,\n \"RowsExamined\": 0,\n \"RowsSentAvg\": 0.0,\n \"QueryTime\": 28.17341,\n \"RowsExaminedAvg\": 0.0,\n \"RowsExaminedMax\": 0,\n \"RowsSent\": 0,\n \"RowsExaminedRatio\": 0.0,\n \"QueryTimeAvg\": 0.0,\n \"SqlTemplate\": \"select * from user where name=?\",\n \"LockTime\": 0.0,\n \"Md5\": \"2323847233\"\n }\n ]\n }\n}",
360
360
  "title": "获取慢SQL模板列表 "
361
361
  }
362
362
  ],
@@ -434,7 +434,7 @@
434
434
  {
435
435
  "document": "",
436
436
  "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeUserSqlAdvice\n&InstanceId=cdb-c1nl9rpv\n&SqlText=select * from t1 where id = ?\n&<公共请求参数>",
437
- "output": "{\n \"Response\": {\n \"RequestId\": \"e2a51350-8c9f-11eb-bc0f-c9f5ab88d057\",\n \"Advices\": \"\",\n \"Comments\": \"\",\n \"Schema\": \"test\",\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\": \"\",\n \"Cost\": \"\"\n }\n}",
437
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e2a51350-8c9f-11eb-bc0f-c9f5ab88d057\",\n \"Advices\": \"\",\n \"Comments\": \"\",\n \"Schema\": \"demo_db\",\n \"Tables\": \"[{\\\"TableName\\\": \\\"t1\\\", \\\"TableSchema\\\": \\\"demo_db\\\", \\\"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\": \"\",\n \"Cost\": \"\"\n }\n}",
438
438
  "title": "获取无需优化SQL的优化建议"
439
439
  }
440
440
  ],