tccli 3.0.1030.1__py2.py3-none-any.whl → 3.0.1032.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 (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdwdoris/v20211228/CreateInstanceNew.md +36 -0
  3. tccli/examples/cdwdoris/v20211228/DescribeClusterConfigs.md +29 -0
  4. tccli/examples/cdwdoris/v20211228/DescribeDatabaseAuditDownload.md +33 -0
  5. tccli/examples/cdwdoris/v20211228/DescribeDatabaseAuditRecords.md +47 -0
  6. tccli/examples/cdwdoris/v20211228/DescribeInstanceNodesInfo.md +54 -0
  7. tccli/examples/cdwdoris/v20211228/DescribeInstanceState.md +26 -0
  8. tccli/examples/cdwdoris/v20211228/DescribeSlowQueryRecords.md +41 -0
  9. tccli/examples/cdwdoris/v20211228/DescribeSlowQueryRecordsDownload.md +25 -0
  10. tccli/examples/cdwdoris/v20211228/DestroyInstance.md +23 -0
  11. tccli/examples/cdwdoris/v20211228/ModifyInstance.md +21 -0
  12. tccli/examples/cdwdoris/v20211228/ResizeDisk.md +25 -0
  13. tccli/examples/cdwdoris/v20211228/RestartClusterForNode.md +23 -0
  14. tccli/examples/cdwdoris/v20211228/ScaleOutInstance.md +25 -0
  15. tccli/examples/cdwdoris/v20211228/ScaleUpInstance.md +25 -0
  16. tccli/examples/emr/v20190103/DescribeClusterNodes.md +76 -134
  17. tccli/examples/essbasic/v20210526/DescribeTemplates.md +32 -4
  18. tccli/examples/mongodb/v20190725/ModifyDBInstanceSpec.md +4 -4
  19. tccli/examples/organization/v20210331/CreateOrganizationMember.md +1 -1
  20. tccli/examples/tke/v20180525/CreateClusterNodePool.md +2 -0
  21. tccli/examples/vod/v20180717/DescribeProcedureTemplates.md +3 -18
  22. tccli/examples/vod/v20180717/DescribeVodDomains.md +1 -0
  23. tccli/examples/vod/v20180717/EnhanceMediaQuality.md +1 -1
  24. tccli/examples/yinsuda/v20220527/DescribeKTVMusicAccompanySegmentUrlVip.md +28 -0
  25. tccli/examples/yinsuda/v20220527/DescribeVipUserInfo.md +26 -0
  26. tccli/examples/yinsuda/v20220527/RechargeVip.md +27 -0
  27. tccli/services/cat/v20180409/api.json +10 -1
  28. tccli/services/cdwdoris/cdwdoris_client.py +750 -8
  29. tccli/services/cdwdoris/v20211228/api.json +2475 -487
  30. tccli/services/cdwdoris/v20211228/examples.json +118 -0
  31. tccli/services/cls/v20201016/api.json +2 -2
  32. tccli/services/emr/v20190103/api.json +411 -63
  33. tccli/services/emr/v20190103/examples.json +1 -1
  34. tccli/services/ess/v20201111/api.json +60 -60
  35. tccli/services/essbasic/v20210526/api.json +24 -24
  36. tccli/services/essbasic/v20210526/examples.json +2 -2
  37. tccli/services/lighthouse/v20200324/api.json +5 -5
  38. tccli/services/mongodb/v20190725/api.json +11 -11
  39. tccli/services/mongodb/v20190725/examples.json +2 -2
  40. tccli/services/monitor/v20180724/api.json +2 -0
  41. tccli/services/organization/v20210331/api.json +18 -18
  42. tccli/services/organization/v20210331/examples.json +1 -1
  43. tccli/services/rkp/v20191209/api.json +6 -6
  44. tccli/services/ses/v20201002/api.json +2 -2
  45. tccli/services/tke/v20180525/api.json +59 -3
  46. tccli/services/tke/v20180525/examples.json +1 -1
  47. tccli/services/vod/v20180717/api.json +64 -64
  48. tccli/services/vod/v20180717/examples.json +3 -3
  49. tccli/services/vpc/v20170312/api.json +10 -0
  50. tccli/services/waf/v20180125/api.json +11 -0
  51. tccli/services/yinsuda/v20220527/api.json +305 -0
  52. tccli/services/yinsuda/v20220527/examples.json +24 -0
  53. tccli/services/yinsuda/yinsuda_client.py +175 -16
  54. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/RECORD +58 -41
  56. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,37 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateInstanceNew": [
4
+ {
5
+ "document": "创建集群",
6
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceNew\n<公共请求参数>\n\n{\n \"InstanceName\": \"test-按量-hazk2节点\",\n \"Zone\": \"ap-beijing-2\",\n \"FeSpec\": {\n \"SpecName\": \"S_4_16_H\",\n \"Count\": 3,\n \"DiskSize\": 200\n },\n \"BeSpec\": {\n \"SpecName\": \"S_4_16_H\",\n \"Count\": 3,\n \"DiskSize\": 1000\n },\n \"HaFlag\": true,\n \"UserVPCId\": \"vpc-8visjoh9\",\n \"UserSubnetId\": \"subnet-03ij1dki\",\n \"ProductVersion\": \"1.2\",\n \"DorisUserPwd\": \"ujA7xa2*1\",\n \"ChargeProperties\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\"\n }\n}",
7
+ "output": "{\n \"Response\": {\n \"InstanceId\": \"cdwdoris-aijqera\",\n \"FlowId\": \"1231\",\n \"RequestId\": \"lweinasd-28kamasd-xasdas\",\n \"ErrorMsg\": \"\"\n }\n}",
8
+ "title": "集群创建示例"
9
+ }
10
+ ],
11
+ "DescribeClusterConfigs": [
12
+ {
13
+ "document": "在xml方式下修改配置文件内容时,获取集群配置文件内容",
14
+ "input": "https://cdwdoris.tencentcloudapi.com/\n?Action=DescribeClusterConfigs\n&InstanceId=cdwch-xxxx\n&<公共请求参数>",
15
+ "output": "{\n \"Response\": {\n \"ClusterConfList\": [\n {\n \"NeedRestart\": 1,\n \"OriParam\": \"ss=sc\",\n \"KeyConf\": \"ss=sc\",\n \"FileConf\": \"ss=sc\",\n \"FileName\": \"test\"\n }\n ],\n \"RequestId\": \"xx-aa\"\n }\n}",
16
+ "title": "获取集群配置文件内容"
17
+ }
18
+ ],
19
+ "DescribeDatabaseAuditDownload": [
20
+ {
21
+ "document": "下载数据库审计日志",
22
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabaseAuditDownload\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"PageSize\": 0,\n \"PageNum\": 0,\n \"OrderType\": \"abc\",\n \"User\": \"abc\",\n \"DbName\": \"abc\",\n \"SqlType\": \"abc\",\n \"Sql\": \"abc\",\n \"Users\": [\n \"abc\"\n ],\n \"DbNames\": [\n \"abc\"\n ],\n \"SqlTypes\": [\n \"abc\"\n ]\n}",
23
+ "output": "{\n \"Response\": {\n \"CosUrl\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
24
+ "title": "DescribeDatabaseAuditDownload"
25
+ }
26
+ ],
27
+ "DescribeDatabaseAuditRecords": [
28
+ {
29
+ "document": "获取数据库审计记录",
30
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabaseAuditRecords\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"PageSize\": 0,\n \"PageNum\": 0,\n \"OrderType\": \"abc\",\n \"User\": \"abc\",\n \"DbName\": \"abc\",\n \"SqlType\": \"abc\",\n \"Sql\": \"abc\",\n \"Users\": [\n \"abc\"\n ],\n \"DbNames\": [\n \"abc\"\n ],\n \"SqlTypes\": [\n \"abc\"\n ]\n}",
31
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SlowQueryRecords\": {\n \"OsUser\": \"abc\",\n \"InitialQueryId\": \"abc\",\n \"Sql\": \"abc\",\n \"QueryStartTime\": \"abc\",\n \"DurationMs\": 0,\n \"ReadRows\": 0,\n \"ResultRows\": 0,\n \"ResultBytes\": 1,\n \"MemoryUsage\": 0,\n \"InitialAddress\": \"abc\",\n \"DbName\": \"abc\",\n \"SqlType\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
32
+ "title": "DescribeDatabaseAuditRecords"
33
+ }
34
+ ],
3
35
  "DescribeInstance": [
4
36
  {
5
37
  "document": "根据集群ID查询某个集群的具体信息",
@@ -16,6 +48,28 @@
16
48
  "title": "获取集群节点信息列表"
17
49
  }
18
50
  ],
51
+ "DescribeInstanceNodesInfo": [
52
+ {
53
+ "document": "查询节点角色",
54
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceNodesInfo\n<公共请求参数>\n\n{\n \"InstanceID\": \"abc\"\n}",
55
+ "output": "{\n \"Response\": {\n \"BeNodes\": [\n \"abc\"\n ],\n \"FeNodes\": [\n \"abc\"\n ],\n \"FeMaster\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
56
+ "title": "查询节点角色"
57
+ },
58
+ {
59
+ "document": "",
60
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceNodesInfo\n<公共请求参数>\n\n{\n \"InstanceID\": \"abc\"\n}",
61
+ "output": "{\n \"Response\": {\n \"BeNodes\": [\n \"abc\"\n ],\n \"FeNodes\": [\n \"abc\"\n ],\n \"FeMaster\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
62
+ "title": "查询节点信息"
63
+ }
64
+ ],
65
+ "DescribeInstanceState": [
66
+ {
67
+ "document": "需要展现集群状态以及操作进度",
68
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceState\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-exs8Mnql\"\n}",
69
+ "output": "{\n \"Response\": {\n \"InstanceState\": \"Serving\",\n \"InstanceStateDesc\": \"运行中\",\n \"FlowCreateTime\": \"\",\n \"FlowName\": \"\",\n \"FlowProgress\": 0,\n \"FlowMsg\": \"创建流程失败\",\n \"RequestId\": \"xxxx-xxxx-xxxx-xxxx\"\n }\n}",
70
+ "title": "获取集群状态"
71
+ }
72
+ ],
19
73
  "DescribeInstances": [
20
74
  {
21
75
  "document": "获取某个用户下所有的集群列表信息",
@@ -23,6 +77,70 @@
23
77
  "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Status\": \"abc\",\n \"Version\": \"abc\",\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"PayMode\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ExpireTime\": \"abc\",\n \"MasterSummary\": {\n \"Spec\": \"abc\",\n \"NodeSize\": 0,\n \"Core\": 0,\n \"Memory\": 0,\n \"Disk\": 0,\n \"DiskType\": \"abc\",\n \"DiskDesc\": \"abc\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"abc\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"abc\"\n },\n \"SubProductType\": \"abc\",\n \"SpecCore\": 0,\n \"SpecMemory\": 0,\n \"DiskCount\": 0,\n \"Encrypt\": 0,\n \"MaxDiskSize\": 0\n },\n \"CoreSummary\": {\n \"Spec\": \"abc\",\n \"NodeSize\": 0,\n \"Core\": 0,\n \"Memory\": 0,\n \"Disk\": 0,\n \"DiskType\": \"abc\",\n \"DiskDesc\": \"abc\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"abc\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"abc\"\n },\n \"SubProductType\": \"abc\",\n \"SpecCore\": 0,\n \"SpecMemory\": 0,\n \"DiskCount\": 0,\n \"Encrypt\": 0,\n \"MaxDiskSize\": 0\n },\n \"HA\": \"abc\",\n \"HaType\": 0,\n \"AccessInfo\": \"abc\",\n \"Id\": 0,\n \"RegionId\": 0,\n \"ZoneDesc\": \"abc\",\n \"FlowMsg\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"RenewFlag\": true,\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Monitor\": \"abc\",\n \"HasClsTopic\": true,\n \"ClsTopicId\": \"abc\",\n \"ClsLogSetId\": \"abc\",\n \"EnableXMLConfig\": 0,\n \"RegionDesc\": \"abc\",\n \"Eip\": \"abc\",\n \"CosMoveFactor\": 0,\n \"Kind\": \"abc\",\n \"CosBucketName\": \"abc\",\n \"CanAttachCbs\": true,\n \"BuildVersion\": \"abc\",\n \"Components\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
24
78
  "title": "获取实例列表"
25
79
  }
80
+ ],
81
+ "DescribeSlowQueryRecords": [
82
+ {
83
+ "document": "慢查询",
84
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowQueryRecords\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"QueryDurationMs\": 0,\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"PageSize\": 0,\n \"PageNum\": 0,\n \"DurationMs\": \"abc\"\n}",
85
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SlowQueryRecords\": [\n {\n \"OsUser\": \"abc\",\n \"InitialQueryId\": \"abc\",\n \"Sql\": \"abc\",\n \"QueryStartTime\": \"abc\",\n \"DurationMs\": 0,\n \"ReadRows\": 0,\n \"ResultRows\": 0,\n \"ResultBytes\": 1,\n \"MemoryUsage\": 0,\n \"InitialAddress\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
86
+ "title": "DescribeSlowQueryRecords"
87
+ }
88
+ ],
89
+ "DescribeSlowQueryRecordsDownload": [
90
+ {
91
+ "document": "下载慢查询文件",
92
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowQueryRecordsDownload\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"QueryDurationMs\": 0,\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"DurationMs\": \"abc\"\n}",
93
+ "output": "{\n \"Response\": {\n \"CosUrl\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
94
+ "title": "DescribeSlowQueryRecordsDownload"
95
+ }
96
+ ],
97
+ "DestroyInstance": [
98
+ {
99
+ "document": "",
100
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwdoris-auqej7a\"\n}",
101
+ "output": "{\n \"Response\": {\n \"FlowId\": \"1231\",\n \"InstanceId\": \"cdwdoris-auqej7a\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"xasdfkqe2-a12q29-axdfas\"\n }\n}",
102
+ "title": "集群销毁示例"
103
+ }
104
+ ],
105
+ "ModifyInstance": [
106
+ {
107
+ "document": "用户修改实例名称",
108
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-12345678\",\n \"InstanceName\": \"cdwch-test\"\n}",
109
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx\"\n }\n}",
110
+ "title": "修改实例信息"
111
+ }
112
+ ],
113
+ "ResizeDisk": [
114
+ {
115
+ "document": "",
116
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResizeDisk\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwdoris-asdfxw\",\n \"Type\": \"CORE\",\n \"DiskSize\": 3000\n}",
117
+ "output": "{\n \"Response\": {\n \"FlowId\": \"1231\",\n \"InstanceId\": \"cdwch-auqej7a\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"xasdfkqe2-a12q29-axdfas\"\n }\n}",
118
+ "title": "云盘扩容示例"
119
+ }
120
+ ],
121
+ "RestartClusterForNode": [
122
+ {
123
+ "document": "",
124
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestartClusterForNode\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ConfigName\": \"abc\"\n}",
125
+ "output": "{\n \"Response\": {\n \"FlowId\": 0,\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
126
+ "title": "test"
127
+ }
128
+ ],
129
+ "ScaleOutInstance": [
130
+ {
131
+ "document": "",
132
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleOutInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwdoris-xqewrqx\",\n \"Type\": \"MASTER\",\n \"NodeCount\": 5\n}",
133
+ "output": "{\n \"Response\": {\n \"FlowId\": \"1231\",\n \"InstanceId\": \"cdwdoris-xqewrqx\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"xasdfkqe2-a12q29-axdfas\"\n }\n}",
134
+ "title": "水平扩容示例"
135
+ }
136
+ ],
137
+ "ScaleUpInstance": [
138
+ {
139
+ "document": "",
140
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleUpInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwdoris-xad3fa9\",\n \"SpecName\": \"S_8_32_H\",\n \"Type\": \"CORE\"\n}",
141
+ "output": "{\n \"Response\": {\n \"FlowId\": \"1231\",\n \"InstanceId\": \"cdwch-auqej7a\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"xasdfkqe2-a12q29-axdfas\"\n }\n}",
142
+ "title": "节点垂直变配示例"
143
+ }
26
144
  ]
27
145
  },
28
146
  "version": "1.0"
@@ -11323,8 +11323,8 @@
11323
11323
  },
11324
11324
  {
11325
11325
  "disabled": false,
11326
- "document": "指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间,精度毫秒)为指标时间戳。",
11327
- "example": "unix_ts",
11326
+ "document": "指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间、TimeStamp,精度毫秒)为指标时间戳。",
11327
+ "example": "unix_ts,或者TimeStamp 2021-07-15T17:11:56.735+08:00",
11328
11328
  "member": "string",
11329
11329
  "name": "CustomTime",
11330
11330
  "output_required": false,