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
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1030.1'
1
+ __version__ = '3.0.1032.1'
@@ -0,0 +1,36 @@
1
+ **Example 1: 集群创建示例**
2
+
3
+ 创建集群
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris CreateInstanceNew --cli-unfold-argument \
9
+ --InstanceName test-按量-hazk2节点 \
10
+ --Zone ap-beijing-2 \
11
+ --FeSpec.SpecName S_4_16_H \
12
+ --FeSpec.Count 3 \
13
+ --FeSpec.DiskSize 200 \
14
+ --BeSpec.SpecName S_4_16_H \
15
+ --BeSpec.Count 3 \
16
+ --BeSpec.DiskSize 1000 \
17
+ --HaFlag True \
18
+ --UserVPCId vpc-8visjoh9 \
19
+ --UserSubnetId subnet-03ij1dki \
20
+ --ProductVersion 1.2 \
21
+ --DorisUserPwd ujA7xa2*1 \
22
+ --ChargeProperties.ChargeType POSTPAID_BY_HOUR
23
+ ```
24
+
25
+ Output:
26
+ ```
27
+ {
28
+ "Response": {
29
+ "InstanceId": "cdwdoris-aijqera",
30
+ "FlowId": "1231",
31
+ "RequestId": "lweinasd-28kamasd-xasdas",
32
+ "ErrorMsg": ""
33
+ }
34
+ }
35
+ ```
36
+
@@ -0,0 +1,29 @@
1
+ **Example 1: 获取集群配置文件内容**
2
+
3
+ 在xml方式下修改配置文件内容时,获取集群配置文件内容
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeClusterConfigs --cli-unfold-argument \
9
+ --InstanceId cdwch-xxxx
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "ClusterConfList": [
17
+ {
18
+ "NeedRestart": 1,
19
+ "OriParam": "ss=sc",
20
+ "KeyConf": "ss=sc",
21
+ "FileConf": "ss=sc",
22
+ "FileName": "test"
23
+ }
24
+ ],
25
+ "RequestId": "xx-aa"
26
+ }
27
+ }
28
+ ```
29
+
@@ -0,0 +1,33 @@
1
+ **Example 1: DescribeDatabaseAuditDownload**
2
+
3
+ 下载数据库审计日志
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeDatabaseAuditDownload --cli-unfold-argument \
9
+ --InstanceId abc \
10
+ --StartTime abc \
11
+ --EndTime abc \
12
+ --PageSize 0 \
13
+ --PageNum 0 \
14
+ --OrderType abc \
15
+ --User abc \
16
+ --DbName abc \
17
+ --SqlType abc \
18
+ --Sql abc \
19
+ --Users abc \
20
+ --DbNames abc \
21
+ --SqlTypes abc
22
+ ```
23
+
24
+ Output:
25
+ ```
26
+ {
27
+ "Response": {
28
+ "CosUrl": "abc",
29
+ "RequestId": "abc"
30
+ }
31
+ }
32
+ ```
33
+
@@ -0,0 +1,47 @@
1
+ **Example 1: DescribeDatabaseAuditRecords**
2
+
3
+ 获取数据库审计记录
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeDatabaseAuditRecords --cli-unfold-argument \
9
+ --InstanceId abc \
10
+ --StartTime abc \
11
+ --EndTime abc \
12
+ --PageSize 0 \
13
+ --PageNum 0 \
14
+ --OrderType abc \
15
+ --User abc \
16
+ --DbName abc \
17
+ --SqlType abc \
18
+ --Sql abc \
19
+ --Users abc \
20
+ --DbNames abc \
21
+ --SqlTypes abc
22
+ ```
23
+
24
+ Output:
25
+ ```
26
+ {
27
+ "Response": {
28
+ "TotalCount": 0,
29
+ "SlowQueryRecords": {
30
+ "OsUser": "abc",
31
+ "InitialQueryId": "abc",
32
+ "Sql": "abc",
33
+ "QueryStartTime": "abc",
34
+ "DurationMs": 0,
35
+ "ReadRows": 0,
36
+ "ResultRows": 0,
37
+ "ResultBytes": 1,
38
+ "MemoryUsage": 0,
39
+ "InitialAddress": "abc",
40
+ "DbName": "abc",
41
+ "SqlType": "abc"
42
+ },
43
+ "RequestId": "abc"
44
+ }
45
+ }
46
+ ```
47
+
@@ -0,0 +1,54 @@
1
+ **Example 1: 查询节点角色**
2
+
3
+ 查询节点角色
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeInstanceNodesInfo --cli-unfold-argument \
9
+ --InstanceID abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "BeNodes": [
17
+ "abc"
18
+ ],
19
+ "FeNodes": [
20
+ "abc"
21
+ ],
22
+ "FeMaster": "abc",
23
+ "RequestId": "abc"
24
+ }
25
+ }
26
+ ```
27
+
28
+ **Example 2: 查询节点信息**
29
+
30
+
31
+
32
+ Input:
33
+
34
+ ```
35
+ tccli cdwdoris DescribeInstanceNodesInfo --cli-unfold-argument \
36
+ --InstanceID abc
37
+ ```
38
+
39
+ Output:
40
+ ```
41
+ {
42
+ "Response": {
43
+ "BeNodes": [
44
+ "abc"
45
+ ],
46
+ "FeNodes": [
47
+ "abc"
48
+ ],
49
+ "FeMaster": "abc",
50
+ "RequestId": "abc"
51
+ }
52
+ }
53
+ ```
54
+
@@ -0,0 +1,26 @@
1
+ **Example 1: 获取集群状态**
2
+
3
+ 需要展现集群状态以及操作进度
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeInstanceState --cli-unfold-argument \
9
+ --InstanceId cdwch-exs8Mnql
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "InstanceState": "Serving",
17
+ "InstanceStateDesc": "运行中",
18
+ "FlowCreateTime": "",
19
+ "FlowName": "",
20
+ "FlowProgress": 0,
21
+ "FlowMsg": "创建流程失败",
22
+ "RequestId": "xxxx-xxxx-xxxx-xxxx"
23
+ }
24
+ }
25
+ ```
26
+
@@ -0,0 +1,41 @@
1
+ **Example 1: DescribeSlowQueryRecords**
2
+
3
+ 慢查询
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeSlowQueryRecords --cli-unfold-argument \
9
+ --InstanceId abc \
10
+ --QueryDurationMs 0 \
11
+ --StartTime abc \
12
+ --EndTime abc \
13
+ --PageSize 0 \
14
+ --PageNum 0 \
15
+ --DurationMs abc
16
+ ```
17
+
18
+ Output:
19
+ ```
20
+ {
21
+ "Response": {
22
+ "TotalCount": 0,
23
+ "SlowQueryRecords": [
24
+ {
25
+ "OsUser": "abc",
26
+ "InitialQueryId": "abc",
27
+ "Sql": "abc",
28
+ "QueryStartTime": "abc",
29
+ "DurationMs": 0,
30
+ "ReadRows": 0,
31
+ "ResultRows": 0,
32
+ "ResultBytes": 1,
33
+ "MemoryUsage": 0,
34
+ "InitialAddress": "abc"
35
+ }
36
+ ],
37
+ "RequestId": "abc"
38
+ }
39
+ }
40
+ ```
41
+
@@ -0,0 +1,25 @@
1
+ **Example 1: DescribeSlowQueryRecordsDownload**
2
+
3
+ 下载慢查询文件
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DescribeSlowQueryRecordsDownload --cli-unfold-argument \
9
+ --InstanceId abc \
10
+ --QueryDurationMs 0 \
11
+ --StartTime abc \
12
+ --EndTime abc \
13
+ --DurationMs abc
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "CosUrl": "abc",
21
+ "RequestId": "abc"
22
+ }
23
+ }
24
+ ```
25
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 集群销毁示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris DestroyInstance --cli-unfold-argument \
9
+ --InstanceId cdwdoris-auqej7a
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "FlowId": "1231",
17
+ "InstanceId": "cdwdoris-auqej7a",
18
+ "ErrorMsg": "",
19
+ "RequestId": "xasdfkqe2-a12q29-axdfas"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 修改实例信息**
2
+
3
+ 用户修改实例名称
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris ModifyInstance --cli-unfold-argument \
9
+ --InstanceId cdwch-12345678 \
10
+ --InstanceName cdwch-test
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "xxxx-xxxx"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 云盘扩容示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris ResizeDisk --cli-unfold-argument \
9
+ --InstanceId cdwdoris-asdfxw \
10
+ --Type CORE \
11
+ --DiskSize 3000
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "FlowId": "1231",
19
+ "InstanceId": "cdwch-auqej7a",
20
+ "ErrorMsg": "",
21
+ "RequestId": "xasdfkqe2-a12q29-axdfas"
22
+ }
23
+ }
24
+ ```
25
+
@@ -0,0 +1,23 @@
1
+ **Example 1: test**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris RestartClusterForNode --cli-unfold-argument \
9
+ --InstanceId abc \
10
+ --ConfigName abc
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "FlowId": 0,
18
+ "ErrorMsg": "abc",
19
+ "RequestId": "abc"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 水平扩容示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris ScaleOutInstance --cli-unfold-argument \
9
+ --InstanceId cdwdoris-xqewrqx \
10
+ --Type MASTER \
11
+ --NodeCount 5
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "FlowId": "1231",
19
+ "InstanceId": "cdwdoris-xqewrqx",
20
+ "ErrorMsg": "",
21
+ "RequestId": "xasdfkqe2-a12q29-axdfas"
22
+ }
23
+ }
24
+ ```
25
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 节点垂直变配示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwdoris ScaleUpInstance --cli-unfold-argument \
9
+ --InstanceId cdwdoris-xad3fa9 \
10
+ --SpecName S_8_32_H \
11
+ --Type CORE
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "FlowId": "1231",
19
+ "InstanceId": "cdwch-auqej7a",
20
+ "ErrorMsg": "",
21
+ "RequestId": "xasdfkqe2-a12q29-axdfas"
22
+ }
23
+ }
24
+ ```
25
+