tccli 3.0.1095.1__py2.py3-none-any.whl → 3.0.1097.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 (92) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
  3. tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
  4. tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
  5. tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
  6. tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
  7. tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
  8. tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
  9. tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
  10. tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
  11. tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
  12. tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
  13. tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
  14. tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
  15. tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
  16. tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
  17. tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
  18. tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
  19. tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
  20. tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
  21. tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
  22. tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
  23. tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
  24. tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
  25. tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
  26. tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
  27. tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
  28. tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
  29. tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
  30. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
  31. tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
  32. tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
  33. tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
  34. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
  35. tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
  36. tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
  37. tccli/services/aiart/aiart_client.py +269 -4
  38. tccli/services/aiart/v20221229/api.json +405 -1
  39. tccli/services/aiart/v20221229/examples.json +40 -0
  40. tccli/services/billing/v20180709/api.json +30 -0
  41. tccli/services/bma/v20221115/api.json +4 -6
  42. tccli/services/ccc/ccc_client.py +53 -0
  43. tccli/services/ccc/v20200210/api.json +57 -5
  44. tccli/services/ccc/v20200210/examples.json +8 -0
  45. tccli/services/cdb/v20170320/api.json +9 -0
  46. tccli/services/cdn/v20180606/api.json +1 -1
  47. tccli/services/cls/v20201016/api.json +49 -49
  48. tccli/services/cls/v20201016/examples.json +13 -7
  49. tccli/services/csip/csip_client.py +53 -0
  50. tccli/services/csip/v20221121/api.json +1468 -7
  51. tccli/services/csip/v20221121/examples.json +8 -0
  52. tccli/services/cynosdb/cynosdb_client.py +53 -0
  53. tccli/services/cynosdb/v20190107/api.json +126 -0
  54. tccli/services/cynosdb/v20190107/examples.json +12 -4
  55. tccli/services/dcdb/v20180411/api.json +45 -3
  56. tccli/services/dcdb/v20180411/examples.json +1 -1
  57. tccli/services/dlc/v20210125/api.json +30 -0
  58. tccli/services/dlc/v20210125/examples.json +1 -1
  59. tccli/services/essbasic/v20210526/api.json +9 -0
  60. tccli/services/faceid/v20180301/api.json +22 -3
  61. tccli/services/hunyuan/v20230901/api.json +14 -14
  62. tccli/services/iotexplorer/v20190423/api.json +1 -1
  63. tccli/services/lighthouse/v20200324/api.json +2 -2
  64. tccli/services/live/v20180801/api.json +16 -7
  65. tccli/services/lke/v20231130/api.json +82 -6
  66. tccli/services/lke/v20231130/examples.json +3 -3
  67. tccli/services/mariadb/v20170312/api.json +45 -2
  68. tccli/services/mariadb/v20170312/examples.json +2 -2
  69. tccli/services/mps/v20190612/api.json +172 -92
  70. tccli/services/mps/v20190612/examples.json +2 -2
  71. tccli/services/ocr/v20181119/api.json +1 -1
  72. tccli/services/omics/v20221128/api.json +20 -2
  73. tccli/services/organization/organization_client.py +106 -0
  74. tccli/services/organization/v20210331/api.json +258 -0
  75. tccli/services/organization/v20210331/examples.json +16 -0
  76. tccli/services/ssl/ssl_client.py +53 -0
  77. tccli/services/ssl/v20191205/api.json +160 -9
  78. tccli/services/ssl/v20191205/examples.json +8 -0
  79. tccli/services/ssm/v20190923/api.json +1 -1
  80. tccli/services/tdmq/v20200217/api.json +65 -26
  81. tccli/services/tdmq/v20200217/examples.json +2 -2
  82. tccli/services/trocket/v20230308/api.json +226 -108
  83. tccli/services/trocket/v20230308/examples.json +13 -25
  84. tccli/services/trtc/v20190722/api.json +34 -15
  85. tccli/services/vpc/v20170312/api.json +20 -5
  86. tccli/services/vpc/v20170312/examples.json +2 -2
  87. tccli/services/weilingwith/v20230427/api.json +11 -11
  88. {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/METADATA +2 -2
  89. {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/RECORD +92 -81
  90. {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/WHEEL +0 -0
  91. {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/entry_points.txt +0 -0
  92. {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1095.1'
1
+ __version__ = '3.0.1097.1'
@@ -0,0 +1,30 @@
1
+ **Example 1: 成功**
2
+
3
+ 成功请求
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart QueryDrawPortraitJob --cli-unfold-argument \
9
+ --JobId abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "JobErrorCode": "",
17
+ "JobErrorMsg": "",
18
+ "JobStatusCode": "DONE",
19
+ "JobStatusMsg": "处理完成",
20
+ "RequestId": "9202070d-02bd-4848-bf54-568a2597e400",
21
+ "ResultDetails": [
22
+ "SUCCESS"
23
+ ],
24
+ "ResultUrls": [
25
+ "https://xxx.com/a.jpg"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
@@ -0,0 +1,24 @@
1
+ **Example 1: 查询成功**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart QueryTrainPortraitModelJob --cli-unfold-argument \
9
+ --ModelId abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "JobErrorCode": "",
17
+ "JobErrorMsg": "",
18
+ "JobStatusCode": "DONE",
19
+ "JobStatusMsg": "处理完成",
20
+ "RequestId": "d643c325-5fe6-4d90-880c-40516ad27f8e"
21
+ }
22
+ }
23
+ ```
24
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 成功**
2
+
3
+ 调用成功
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart SubmitDrawPortraitJob --cli-unfold-argument \
9
+ --ModelId test \
10
+ --StyleId zhengjian_female \
11
+ --ImageNum 1
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "JobId": "abcdefg",
19
+ "RequestId": "94b5192b-b40b-4f0c-b4f8-edfa7092f8b9"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,20 @@
1
+ **Example 1: 成功提交训练任务**
2
+
3
+ 提交训练任务成功
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart SubmitTrainPortraitModelJob --cli-unfold-argument \
9
+ --ModelId abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "abc"
17
+ }
18
+ }
19
+ ```
20
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 成功**
2
+
3
+ 成功调用上传
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart UploadTrainPortraitImages --cli-unfold-argument \
9
+ --ModelId test \
10
+ --BaseUrl https://xxx.com/xxx.jpg \
11
+ --Urls https://xxx.com/yyy.jpg
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "948182a1-e669-42f8-a00e-fa9f5b7d287a",
19
+ "ResultDetails": [
20
+ "SUCCESS"
21
+ ]
22
+ }
23
+ }
24
+ ```
25
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 修改密码**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli ccc ModifyStaffPassword --cli-unfold-argument \
9
+ --SdkAppId 1600000000 \
10
+ --Email a@qq.com \
11
+ --Password foobar
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "abc"
19
+ }
20
+ }
21
+ ```
22
+
@@ -6,15 +6,15 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls DeleteKafkaRecharge --cli-unfold-argument \
9
- --Id abc \
10
- --TopicId abc
9
+ --Id 06bdb6f6-ae6e-41f6-9e7b-fcab91cb0895 \
10
+ --TopicId 1014cc79-f006-48e4-8820-1dc727054111
11
11
  ```
12
12
 
13
13
  Output:
14
14
  ```
15
15
  {
16
16
  "Response": {
17
- "RequestId": "abc"
17
+ "RequestId": "00a1e648-bea8-4f85-8a7c-71f84169f207"
18
18
  }
19
19
  }
20
20
  ```
@@ -6,28 +6,38 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls ModifyKafkaRecharge --cli-unfold-argument \
9
- --Id xxx-xxx-xx \
10
- --TopicId abc \
11
- --Name abc \
12
- --ServerAddr abc \
13
- --IsEncryptionAddr True \
14
- --UserKafkaTopics abc \
15
- --ConsumerGroupName abc \
9
+ --Id 1014cc79-f006-48e4-8820-1dc7270540c0 \
10
+ --TopicId 06bdb6f6-ae6e-41f6-9e7b-fcab91cb0111 \
11
+ --KafkaType 0 \
12
+ --KafkaInstance ckafka-2vrgxbxa \
13
+ --ServerAddr \
14
+ --IsEncryptionAddr False \
15
+ --Protocol.Protocol \
16
+ --Protocol.Mechanism \
17
+ --Protocol.UserName \
18
+ --Protocol.Password \
19
+ --UserKafkaTopics topic-subs-0px4qkvu32-cdb-5zi7jf11 \
20
+ --ConsumerGroupName \
16
21
  --LogRechargeRule.RechargeType json_log \
17
- --LogRechargeRule.TimeKey abc \
18
- --LogRechargeRule.TimeFormat abc \
19
- --LogRechargeRule.LogRegex abc \
22
+ --LogRechargeRule.LogRegex \
20
23
  --LogRechargeRule.UnMatchLogSwitch True \
24
+ --LogRechargeRule.UnMatchLogKey LogParseFailure \
25
+ --LogRechargeRule.UnMatchLogTimeSrc 0 \
26
+ --LogRechargeRule.EncodingFormat 0 \
21
27
  --LogRechargeRule.DefaultTimeSwitch True \
22
- --LogRechargeRule.UnMatchLogKey abc \
23
- --LogRechargeRule.EncodingFormat 0
28
+ --LogRechargeRule.DefaultTimeSrc 1 \
29
+ --LogRechargeRule.TimeKey \
30
+ --LogRechargeRule.TimeRegex \
31
+ --LogRechargeRule.TimeFormat \
32
+ --LogRechargeRule.TimeZone UTC+08:00 \
33
+ --LogRechargeRule.Metadata kafka_topic kafka_partition kafka_offset kafka_timestamp
24
34
  ```
25
35
 
26
36
  Output:
27
37
  ```
28
38
  {
29
39
  "Response": {
30
- "RequestId": "abc"
40
+ "RequestId": "0813f2a8-666f-47d4-886b-bf63bdcbc8d3"
31
41
  }
32
42
  }
33
43
  ```
@@ -1,34 +1,66 @@
1
1
  **Example 1: Kafka导入数据预览**
2
2
 
3
- Kafka导入数据预览
3
+ 源数据预览
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli cls PreviewKafkaRecharge --cli-unfold-argument \
9
9
  --PreviewType 1 \
10
- --KafkaType 1 \
11
- --ServerAddr test.cls.tencentyun.com:9095 \
12
- --IsEncryptionAddr False \
13
- --UserKafkaTopics topic1,topic2 \
14
- --Offset -1 \
15
- --LogRechargeRule.RechargeType json_log \
16
- --LogRechargeRule.TimeKey abc \
17
- --LogRechargeRule.TimeFormat abc \
18
- --LogRechargeRule.LogRegex abc \
10
+ --KafkaType 0 \
11
+ --KafkaInstance ckafka-k9m5vj75 \
12
+ --UserKafkaTopics topic_111b1f24-1ce6-45a3-a515-6e293429f111,topic_11161155-0ea3-4e53-9626-72b4837a4111,topic_111f125e-86f6-41c9-9dcc-360594290111 \
13
+ --ConsumerGroupName \
14
+ --Offset -1
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx",
22
+ "LogData": "rmap[AvailIndexTraffic:0 AvailStore:0 ClusterAvailableTrafficCapacity:0...",
23
+ "LogSample": ""
24
+ }
25
+ }
26
+ ```
27
+
28
+ **Example 2: Kafaka导入数据预览**
29
+
30
+ 导出结果预览
31
+
32
+ Input:
33
+
34
+ ```
35
+ tccli cls PreviewKafkaRecharge --cli-unfold-argument \
36
+ --PreviewType 2 \
37
+ --KafkaType 0 \
38
+ --KafkaInstance ckafka-l4rped7z \
39
+ --UserKafkaTopics topic_111b1f24-1ce6-45a3-a515-6e293429f111,topic_11161155-0ea3-4e53-9626-72b4837a4111,topic_111f125e-86f6-41c9-9dcc-360594290111 \
40
+ --ConsumerGroupName \
41
+ --Offset -2 \
42
+ --LogRechargeRule.RechargeType minimalist_log \
43
+ --LogRechargeRule.LogRegex \
19
44
  --LogRechargeRule.UnMatchLogSwitch True \
20
- --LogRechargeRule.UnMatchLogKey abc \
45
+ --LogRechargeRule.UnMatchLogKey LogParseFailure \
46
+ --LogRechargeRule.UnMatchLogTimeSrc 0 \
21
47
  --LogRechargeRule.EncodingFormat 0 \
22
- --LogRechargeRule.DefaultTimeSwitch True
48
+ --LogRechargeRule.DefaultTimeSwitch True \
49
+ --LogRechargeRule.DefaultTimeSrc 0 \
50
+ --LogRechargeRule.TimeKey \
51
+ --LogRechargeRule.TimeRegex \
52
+ --LogRechargeRule.TimeFormat \
53
+ --LogRechargeRule.TimeZone UTC+08:00 \
54
+ --LogRechargeRule.Metadata kafka_topic kafka_partition kafka_offset kafka_timestamp
23
55
  ```
24
56
 
25
57
  Output:
26
58
  ```
27
59
  {
28
60
  "Response": {
29
- "RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx",
30
- "LogData": "xxxxxxx",
31
- "LogSample": "abc"
61
+ "LogSample": "{\"x-intranet-proxy-region\":\"sh\",\"x-intranet-proxy-socket-local-address\":\"::ffff:11.179.111.111\",\"x-intranet-proxy-socket-local-port\":\"8443\"",
62
+ "LogData": "{\"__CONTENT__\":\"{\\\"x-intranet-proxy-region\\\":\\\"sh\\\",\\\"x-intranet-proxy-socket-local-address\\\":\\\"::ffff:11.179.111.111\\\",\\\"x-intranet-proxy-socket-local-port\\\":\\\"8443\\\"",
63
+ "RequestId": "d3218ba6-4d98-480a-a97b-8db0ae87ef31"
32
64
  }
33
65
  }
34
66
  ```
@@ -0,0 +1,176 @@
1
+ **Example 1: 告警中心全量告警示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli csip DescribeAlertList --cli-unfold-argument \
9
+ --MemberId abc \
10
+ --OperatedMemberId abc \
11
+ --AssetType 0 \
12
+ --Filter.Limit 0 \
13
+ --Filter.Offset 0 \
14
+ --Filter.Order abc \
15
+ --Filter.By abc \
16
+ --Filter.Filters.0.Name abc \
17
+ --Filter.Filters.0.Values abc \
18
+ --Filter.Filters.0.OperatorType 0 \
19
+ --Filter.StartTime abc \
20
+ --Filter.EndTime abc
21
+ ```
22
+
23
+ Output:
24
+ ```
25
+ {
26
+ "Response": {
27
+ "AlertList": [
28
+ {
29
+ "ID": "abc",
30
+ "Name": "abc",
31
+ "Source": "abc",
32
+ "Level": 1,
33
+ "Attacker": {
34
+ "IP": "abc",
35
+ "HostIP": "abc",
36
+ "Port": 1,
37
+ "InstanceID": "abc",
38
+ "City": "abc",
39
+ "Province": "abc",
40
+ "Country": "abc",
41
+ "Address": "abc",
42
+ "Latitude": "abc",
43
+ "Longitude": "abc",
44
+ "Info": "abc",
45
+ "Domain": "abc",
46
+ "Name": "abc",
47
+ "Account": "abc",
48
+ "Family": "abc",
49
+ "VirusName": "abc",
50
+ "MD5": "abc",
51
+ "FileName": "abc"
52
+ },
53
+ "Victim": {
54
+ "IP": "abc",
55
+ "HostIP": "abc",
56
+ "Port": 1,
57
+ "InstanceID": "abc",
58
+ "City": "abc",
59
+ "Province": "abc",
60
+ "Country": "abc",
61
+ "Address": "abc",
62
+ "Latitude": "abc",
63
+ "Longitude": "abc",
64
+ "Info": "abc",
65
+ "Domain": "abc",
66
+ "Name": "abc",
67
+ "Account": "abc",
68
+ "Family": "abc",
69
+ "VirusName": "abc",
70
+ "MD5": "abc",
71
+ "FileName": "abc"
72
+ },
73
+ "EvidenceData": "abc",
74
+ "EvidenceLocation": "abc",
75
+ "EvidencePath": "abc",
76
+ "CreateTime": "abc",
77
+ "UpdateTime": "abc",
78
+ "Count": 1,
79
+ "UrgentSuggestion": "abc",
80
+ "RemediationSuggestion": "abc",
81
+ "RiskInvestigation": "abc",
82
+ "RiskTreatment": "abc",
83
+ "Status": 1,
84
+ "ProcessType": "abc",
85
+ "Type": "abc",
86
+ "SubType": "abc",
87
+ "ExtraInfo": {
88
+ "RelateEvent": {
89
+ "EventID": "abc",
90
+ "Description": "abc",
91
+ "RelatedCount": 0
92
+ },
93
+ "LeakContent": "abc",
94
+ "LeakAPI": "abc",
95
+ "SecretID": "abc",
96
+ "Rule": "abc",
97
+ "RuleDesc": "abc",
98
+ "ProtocolPort": "abc",
99
+ "AttackContent": "abc",
100
+ "AttackIPProfile": "abc",
101
+ "AttackIPTags": "abc",
102
+ "RequestMethod": "abc",
103
+ "HttpLog": "abc",
104
+ "AttackDomain": "abc",
105
+ "FilePath": "abc",
106
+ "UserAgent": "abc",
107
+ "RequestHeaders": "abc",
108
+ "LoginUserName": "abc",
109
+ "VulnerabilityName": "abc",
110
+ "CVE": "abc",
111
+ "ServiceProcess": "abc",
112
+ "FileName": "abc",
113
+ "FileSize": "abc",
114
+ "FileMD5": "abc",
115
+ "FileLastAccessTime": "abc",
116
+ "FileModifyTime": "abc",
117
+ "RecentAccessTime": "abc",
118
+ "RecentModifyTime": "abc",
119
+ "VirusName": "abc",
120
+ "VirusFileTags": "abc",
121
+ "BehavioralCharacteristics": "abc",
122
+ "ProcessNamePID": "abc",
123
+ "ProcessPath": "abc",
124
+ "ProcessCommandLine": "abc",
125
+ "ProcessPermissions": "abc",
126
+ "ExecutedCommand": "abc",
127
+ "AffectedFileName": "abc",
128
+ "DecoyPath": "abc",
129
+ "MaliciousProcessFileSize": "abc",
130
+ "MaliciousProcessFileMD5": "abc",
131
+ "MaliciousProcessNamePID": "abc",
132
+ "MaliciousProcessPath": "abc",
133
+ "MaliciousProcessStartTime": "abc",
134
+ "CommandContent": "abc",
135
+ "StartupUser": "abc",
136
+ "UserGroup": "abc",
137
+ "NewPermissions": "abc",
138
+ "ParentProcess": "abc",
139
+ "ClassName": "abc",
140
+ "ClassLoader": "abc",
141
+ "ClassFileSize": "abc",
142
+ "ClassFileMD5": "abc",
143
+ "ParentClassName": "abc",
144
+ "InheritedInterface": "abc",
145
+ "Comment": "abc",
146
+ "PayloadContent": "abc",
147
+ "CallbackAddressPortrait": "abc",
148
+ "CallbackAddressTag": "abc",
149
+ "ProcessMD5": "abc",
150
+ "FilePermission": "abc",
151
+ "HitProbe": "abc",
152
+ "HitHoneyPot": "abc",
153
+ "CommandList": "abc",
154
+ "AttackEventDesc": "abc",
155
+ "ProcessInfo": "abc",
156
+ "UserNameAndPwd": "abc"
157
+ },
158
+ "Key": "abc",
159
+ "Date": "abc",
160
+ "AppID": "abc",
161
+ "NickName": "abc",
162
+ "Uin": "abc"
163
+ }
164
+ ],
165
+ "AlertTypeCount": [
166
+ {
167
+ "Name": "abc",
168
+ "Count": 1
169
+ }
170
+ ],
171
+ "TotalCount": 1,
172
+ "RequestId": "abc"
173
+ }
174
+ }
175
+ ```
176
+
@@ -7,7 +7,8 @@ Input:
7
7
  ```
8
8
  tccli cynosdb AddClusterSlaveZone --cli-unfold-argument \
9
9
  --ClusterId cynosdbmysql-asd \
10
- --SlaveZone ap-guangzhou-4
10
+ --SlaveZone ap-guangzhou-4 \
11
+ --BinlogSyncWay async
11
12
  ```
12
13
 
13
14
  Output:
@@ -50,7 +50,8 @@ Output:
50
50
  "IsSupportSlaveZone": "abc",
51
51
  "NonsupportSlaveZoneReason": "abc",
52
52
  "IsSupportRo": "abc",
53
- "NonsupportRoReason": "abc"
53
+ "NonsupportRoReason": "abc",
54
+ "IsSupportManualSnapshot": "yes"
54
55
  },
55
56
  "CynosVersion": "abc",
56
57
  "BusinessType": "abc",
@@ -110,7 +111,13 @@ Output:
110
111
  }
111
112
  ],
112
113
  "RenewFlag": 0,
113
- "NetworkType": "abc"
114
+ "NetworkType": "abc",
115
+ "SlaveZoneAttr": [
116
+ {
117
+ "Zone": "ap-guangzhou-5",
118
+ "BinlogSyncWay": "async"
119
+ }
120
+ ]
114
121
  },
115
122
  "RequestId": "abc"
116
123
  }
@@ -110,6 +110,18 @@ Output:
110
110
  "NewMasterZone": "abc",
111
111
  "NewSlaveZone": [
112
112
  "abc"
113
+ ],
114
+ "NewSlaveZoneAttr": [
115
+ {
116
+ "Zone": "ap-guangzhou-4",
117
+ "BinlogSyncWay": "sync"
118
+ }
119
+ ],
120
+ "OldSlaveZoneAttr": [
121
+ {
122
+ "Zone": "ap-guangzhou-5",
123
+ "BinlogSyncWay": "async"
124
+ }
113
125
  ]
114
126
  },
115
127
  "SwitchClusterLogBin": {
@@ -8,7 +8,8 @@ Input:
8
8
  tccli cynosdb ModifyClusterSlaveZone --cli-unfold-argument \
9
9
  --ClusterId cynosdbmysql-asd \
10
10
  --OldSlaveZone ap-guangzhou-2 \
11
- --NewSlaveZone ap-guangzhou-3
11
+ --NewSlaveZone ap-guangzhou-3 \
12
+ --BinlogSyncWay async
12
13
  ```
13
14
 
14
15
  Output:
@@ -0,0 +1,22 @@
1
+ **Example 1: 修改实例小版本升级限制时间**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cynosdb ModifyInstanceUpgradeLimitDays --cli-unfold-argument \
9
+ --ClusterId abc \
10
+ --InstanceId abc \
11
+ --UpgradeLimitDays 30
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "abc"
19
+ }
20
+ }
21
+ ```
22
+
@@ -90,10 +90,11 @@ Output:
90
90
  "Zone": "ap-guangzhou-1",
91
91
  "ResourceTags": [
92
92
  {
93
- "TagKey": "xx",
94
- "TagValue": "xx"
93
+ "TagKey": "name",
94
+ "TagValue": "liu"
95
95
  }
96
- ]
96
+ ],
97
+ "DbVersionId": "8.0"
97
98
  }
98
99
  ],
99
100
  "RequestId": "a44a3d24-1e71-4bbf-bc22-f6d583b084d8",
@@ -33,7 +33,9 @@ Output:
33
33
  ],
34
34
  "NextToken": "abc",
35
35
  "OutputPath": "abc",
36
- "RequestId": "abc"
36
+ "RequestId": "abc",
37
+ "UseTime": 10,
38
+ "AffectRows": 10
37
39
  }
38
40
  }
39
41
  ```
@@ -22,7 +22,10 @@ Output:
22
22
  ]
23
23
  }
24
24
  ],
25
- "RequestId": "abc"
25
+ "RequestId": "3c140219-cfe9-470e-b241-907877d6fb03",
26
+ "Usage": {
27
+ "TotalTokens": 3
28
+ }
26
29
  }
27
30
  }
28
31
  ```
@@ -17,7 +17,10 @@ Output:
17
17
  "Reason": "",
18
18
  "RequestId": "acd2b5f3-350f-4171-92be-e1c70f3e73d7",
19
19
  "Status": "success",
20
- "Url": "https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************"
20
+ "Url": "https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************",
21
+ "Usage": {
22
+ "TotalPages": 1
23
+ }
21
24
  }
22
25
  }
23
26
  ```
@@ -18,7 +18,12 @@ Output:
18
18
  {
19
19
  "Response": {
20
20
  "Content": "你家在国内哪里?",
21
- "RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245"
21
+ "RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245",
22
+ "Usage": {
23
+ "InputTokens": 45,
24
+ "OutputTokens": 6,
25
+ "TotalTokens": 51
26
+ }
22
27
  }
23
28
  }
24
29
  ```
@@ -93,7 +93,8 @@ Output:
93
93
  ],
94
94
  "IsPhysicalReplicationSupported": true,
95
95
  "IsDcnStrongSyncSupported": 1,
96
- "IsDcnSwitchSupported": 1
96
+ "IsDcnSwitchSupported": 1,
97
+ "ProxyVersion": "proxy-22.1.7"
97
98
  }
98
99
  }
99
100
  ```
@@ -67,10 +67,11 @@ Output:
67
67
  "Zone": "ap-guangzhou-1",
68
68
  "ResourceTags": [
69
69
  {
70
- "TagKey": "xx",
71
- "TagValue": "xx"
70
+ "TagKey": "name",
71
+ "TagValue": "liu"
72
72
  }
73
- ]
73
+ ],
74
+ "DbVersionId": "8.0"
74
75
  }
75
76
  ],
76
77
  "RequestId": "66c4d0c5-bdef-45bd-aa5b-05642802d034",