tccli 3.0.1048.1__py2.py3-none-any.whl → 3.0.1049.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 (47) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/antiddos/v20200309/DescribeBGPIPL7Rules.md +87 -0
  3. tccli/examples/ckafka/v20190819/DescribeGroup.md +6 -5
  4. tccli/examples/csip/v20221121/ModifyOrganizationAccountStatus.md +21 -0
  5. tccli/examples/cynosdb/v20190107/AddInstances.md +2 -2
  6. tccli/examples/cynosdb/v20190107/DescribeClusterInstanceGrps.md +235 -79
  7. tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +3 -1
  8. tccli/examples/cynosdb/v20190107/DescribeClusterPasswordComplexity.md +18 -6
  9. tccli/examples/cynosdb/v20190107/DescribeInstances.md +63 -55
  10. tccli/examples/cynosdb/v20190107/DescribeParamTemplateDetail.md +3 -1
  11. tccli/examples/cynosdb/v20190107/ModifyVipVport.md +3 -3
  12. tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +2 -2
  13. tccli/examples/oceanus/v20190422/CopyJobs.md +11 -20
  14. tccli/examples/teo/v20220901/DescribeDefaultCertificates.md +2 -1
  15. tccli/examples/trocket/v20230308/CreateMQTTInstance.md +31 -0
  16. tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +176 -0
  17. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +94 -0
  18. tccli/services/antiddos/antiddos_client.py +53 -0
  19. tccli/services/antiddos/v20200309/api.json +439 -0
  20. tccli/services/antiddos/v20200309/examples.json +8 -0
  21. tccli/services/cfg/v20210820/api.json +21 -10
  22. tccli/services/ckafka/v20190819/api.json +6 -5
  23. tccli/services/ckafka/v20190819/examples.json +1 -1
  24. tccli/services/cls/v20201016/api.json +48 -19
  25. tccli/services/csip/csip_client.py +53 -0
  26. tccli/services/csip/v20221121/api.json +43 -0
  27. tccli/services/csip/v20221121/examples.json +8 -0
  28. tccli/services/cynosdb/v20190107/api.json +415 -87
  29. tccli/services/cynosdb/v20190107/examples.json +12 -12
  30. tccli/services/essbasic/v20210526/examples.json +2 -2
  31. tccli/services/live/v20180801/api.json +1 -1
  32. tccli/services/oceanus/v20190422/api.json +32 -3
  33. tccli/services/oceanus/v20190422/examples.json +1 -1
  34. tccli/services/privatedns/v20201028/api.json +29 -19
  35. tccli/services/ssl/ssl_client.py +0 -53
  36. tccli/services/ssl/v20191205/api.json +0 -99
  37. tccli/services/ssl/v20191205/examples.json +0 -8
  38. tccli/services/teo/v20220901/api.json +14 -3
  39. tccli/services/teo/v20220901/examples.json +1 -1
  40. tccli/services/trocket/trocket_client.py +171 -12
  41. tccli/services/trocket/v20230308/api.json +492 -0
  42. tccli/services/trocket/v20230308/examples.json +30 -0
  43. {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/METADATA +2 -2
  44. {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/RECORD +47 -42
  45. {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/WHEEL +0 -0
  46. {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/entry_points.txt +0 -0
  47. {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1048.1'
1
+ __version__ = '3.0.1049.1'
@@ -0,0 +1,87 @@
1
+ **Example 1: 请求示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli antiddos DescribeBGPIPL7Rules --cli-unfold-argument \
9
+ --StatusList 1 \
10
+ --Domain abc \
11
+ --Business abc \
12
+ --Ip abc \
13
+ --Limit 1 \
14
+ --Offset 1 \
15
+ --ProtocolList abc \
16
+ --Cname abc \
17
+ --Export True
18
+ ```
19
+
20
+ Output:
21
+ ```
22
+ {
23
+ "Response": {
24
+ "Rules": [
25
+ {
26
+ "Region": 1,
27
+ "Id": "abc",
28
+ "Ip": "abc",
29
+ "RuleId": "abc",
30
+ "RuleName": "abc",
31
+ "Protocol": "abc",
32
+ "Domain": "abc",
33
+ "LbType": 1,
34
+ "KeepEnable": 1,
35
+ "KeepTime": 1,
36
+ "SourceType": 1,
37
+ "CertType": 1,
38
+ "SSLId": "abc",
39
+ "Cert": "abc",
40
+ "PrivateKey": "abc",
41
+ "SourceList": [
42
+ {
43
+ "Source": "abc",
44
+ "Weight": 1,
45
+ "Port": 1,
46
+ "Backup": 1
47
+ }
48
+ ],
49
+ "Status": 1,
50
+ "CCStatus": 1,
51
+ "CCEnable": 1,
52
+ "CCThreshold": 1,
53
+ "CCLevel": "abc",
54
+ "ModifyTime": "2020-09-22 00:00:00",
55
+ "HttpsToHttpEnable": 1,
56
+ "VirtualPort": 1,
57
+ "RewriteHttps": 1,
58
+ "ErrCode": 1,
59
+ "Version": 1
60
+ }
61
+ ],
62
+ "Healths": [
63
+ {
64
+ "Status": 1,
65
+ "Enable": 1,
66
+ "RuleId": "abc",
67
+ "Url": "abc",
68
+ "Interval": 1,
69
+ "AliveNum": 1,
70
+ "KickNum": 1,
71
+ "Method": "abc",
72
+ "StatusCode": 1,
73
+ "ProtocolFlag": 1,
74
+ "PassiveEnable": 1,
75
+ "BlockInter": 1,
76
+ "FailedCountInter": 1,
77
+ "FailedThreshold": 1,
78
+ "PassiveStatusCode": 1,
79
+ "PassiveStatus": 1
80
+ }
81
+ ],
82
+ "Total": 1,
83
+ "RequestId": "abc"
84
+ }
85
+ }
86
+ ```
87
+
@@ -14,15 +14,16 @@ Output:
14
14
  {
15
15
  "Response": {
16
16
  "Result": {
17
- "TotalCount": 1,
17
+ "TotalCount": 0,
18
18
  "GroupList": [
19
19
  {
20
- "Group": "qcloud_tocos",
21
- "Protocol": "consumer"
20
+ "Group": "abc",
21
+ "Protocol": "abc"
22
22
  }
23
- ]
23
+ ],
24
+ "GroupCountQuota": 1
24
25
  },
25
- "RequestId": "c931f394-7d72-4ad4-8d70-5a225708c762"
26
+ "RequestId": "abc"
26
27
  }
27
28
  }
28
29
  ```
@@ -0,0 +1,21 @@
1
+ **Example 1: 修改集团账号状态**
2
+
3
+ 修改集团账号状态
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli csip ModifyOrganizationAccountStatus --cli-unfold-argument \
9
+ --Status 0
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "Status": 0,
17
+ "RequestId": "abc"
18
+ }
19
+ }
20
+ ```
21
+
@@ -1,6 +1,6 @@
1
- **Example 1: 购买实例**
1
+ **Example 1: 新增实例**
2
2
 
3
- 购买实例
3
+ 新增只读实例
4
4
 
5
5
  Input:
6
6
 
@@ -1,6 +1,6 @@
1
- **Example 1: 查询实例组**
2
-
1
+ **Example 1: 查询实例组(废弃)**
3
2
 
3
+ 查询实例组网络信息. 该接口已废弃,推荐使用DescribeClusterInstanceGroups
4
4
 
5
5
  Input:
6
6
 
@@ -13,110 +13,266 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "TotalCount": 2,
16
+ "TotalCount": 0,
17
17
  "InstanceGrpInfoList": [
18
18
  {
19
- "Status": "xx",
19
+ "AppId": 0,
20
+ "ClusterId": "abc",
21
+ "CreatedTime": "2020-09-22 00:00:00",
22
+ "DeletedTime": "2020-09-22 00:00:00",
23
+ "InstanceGrpId": "abc",
24
+ "Status": "abc",
25
+ "Type": "abc",
20
26
  "UpdatedTime": "2020-09-22 00:00:00",
21
- "Tasks": [
27
+ "Vip": "abc",
28
+ "Vport": 0,
29
+ "WanDomain": "abc",
30
+ "WanIP": "abc",
31
+ "WanPort": 0,
32
+ "WanStatus": "abc",
33
+ "InstanceSet": [
22
34
  {
23
- "ObjectType": "xx",
24
- "TaskStatus": "xx",
25
- "ObjectId": "xx",
26
- "TaskId": 0,
27
- "TaskType": "xx"
35
+ "Uin": "abc",
36
+ "AppId": 0,
37
+ "ClusterId": "abc",
38
+ "ClusterName": "abc",
39
+ "InstanceId": "abc",
40
+ "InstanceName": "abc",
41
+ "ProjectId": 0,
42
+ "Region": "abc",
43
+ "Zone": "abc",
44
+ "Status": "abc",
45
+ "StatusDesc": "abc",
46
+ "DbMode": "abc",
47
+ "DbType": "abc",
48
+ "DbVersion": "abc",
49
+ "Cpu": 0,
50
+ "Memory": 0,
51
+ "Storage": 0,
52
+ "InstanceType": "abc",
53
+ "InstanceRole": "abc",
54
+ "UpdateTime": "2020-09-22 00:00:00",
55
+ "CreateTime": "2020-09-22 00:00:00",
56
+ "VpcId": "abc",
57
+ "SubnetId": "abc",
58
+ "Vip": "abc",
59
+ "Vport": 0,
60
+ "PayMode": 0,
61
+ "PeriodEndTime": "2020-09-22 00:00:00",
62
+ "DestroyDeadlineText": "abc",
63
+ "IsolateTime": "2020-09-22 00:00:00",
64
+ "NetType": 0,
65
+ "WanDomain": "abc",
66
+ "WanIP": "abc",
67
+ "WanPort": 0,
68
+ "WanStatus": "abc",
69
+ "DestroyTime": "abc",
70
+ "CynosVersion": "abc",
71
+ "ProcessingTask": "abc",
72
+ "RenewFlag": 0,
73
+ "MinCpu": 0,
74
+ "MaxCpu": 0,
75
+ "ServerlessStatus": "abc",
76
+ "StorageId": "abc",
77
+ "StoragePayMode": 0,
78
+ "PhysicalZone": "abc",
79
+ "BusinessType": "abc",
80
+ "Tasks": [
81
+ {
82
+ "TaskId": 0,
83
+ "TaskType": "abc",
84
+ "TaskStatus": "abc",
85
+ "ObjectId": "abc",
86
+ "ObjectType": "abc"
87
+ }
88
+ ],
89
+ "IsFreeze": "abc",
90
+ "ResourceTags": [
91
+ {
92
+ "TagKey": "abc",
93
+ "TagValue": "abc"
94
+ }
95
+ ],
96
+ "MasterZone": "abc",
97
+ "SlaveZones": [
98
+ "abc"
99
+ ],
100
+ "InstanceNetInfo": [
101
+ {
102
+ "InstanceGroupType": "abc",
103
+ "InstanceGroupId": "abc",
104
+ "VpcId": "abc",
105
+ "SubnetId": "abc",
106
+ "NetType": 0,
107
+ "Vip": "abc",
108
+ "Vport": 0,
109
+ "WanDomain": "abc",
110
+ "WanIP": "abc",
111
+ "WanPort": 0,
112
+ "WanStatus": "abc"
113
+ }
114
+ ],
115
+ "ResourcePackages": [
116
+ {
117
+ "PackageId": "abc",
118
+ "PackageType": "abc"
119
+ }
120
+ ],
121
+ "InstanceIndexMode": "abc"
28
122
  }
29
123
  ],
124
+ "UniqVpcId": "abc",
125
+ "UniqSubnetId": "abc",
30
126
  "OldAddrInfo": {
31
- "Vip": "xx",
127
+ "Vip": "abc",
32
128
  "Vport": 0,
33
- "ReturnTime": "xx"
129
+ "ReturnTime": "abc"
34
130
  },
35
- "UniqVpcId": "xx",
36
- "WanDomain": "xx",
131
+ "ProcessingTasks": [
132
+ "abc"
133
+ ],
134
+ "Tasks": [
135
+ {
136
+ "TaskId": 0,
137
+ "TaskType": "abc",
138
+ "TaskStatus": "abc",
139
+ "ObjectId": "abc",
140
+ "ObjectType": "abc"
141
+ }
142
+ ],
143
+ "NetServiceId": 0
144
+ }
145
+ ],
146
+ "InstanceGroupInfoList": [
147
+ {
148
+ "AppId": 0,
149
+ "ClusterId": "abc",
150
+ "CreatedTime": "abc",
151
+ "DeletedTime": "abc",
152
+ "InstanceGroupId": "abc",
153
+ "Status": "abc",
154
+ "Type": "abc",
155
+ "UpdatedTime": "abc",
156
+ "Vip": "abc",
157
+ "Vport": 0,
158
+ "WanDomain": "abc",
159
+ "WanIP": "abc",
160
+ "WanPort": 0,
161
+ "WanStatus": "abc",
37
162
  "InstanceSet": [
38
163
  {
39
- "ServerlessStatus": "xx",
40
- "WanStatus": "xx",
41
- "RenewFlag": 0,
42
- "Zone": "xx",
43
- "DbVersion": "xx",
44
- "Storage": 0,
45
- "StorageId": "xx",
164
+ "Uin": "abc",
165
+ "AppId": 0,
166
+ "ClusterId": "abc",
167
+ "ClusterName": "abc",
168
+ "InstanceId": "abc",
169
+ "InstanceName": "abc",
170
+ "ProjectId": 0,
171
+ "Region": "abc",
172
+ "Zone": "abc",
173
+ "Status": "abc",
174
+ "StatusDesc": "abc",
175
+ "DbMode": "abc",
176
+ "DbType": "abc",
177
+ "DbVersion": "abc",
178
+ "Cpu": 0,
46
179
  "Memory": 0,
47
- "ProcessingTask": "xx",
48
- "Status": "xx",
49
- "PhysicalZone": "xx",
180
+ "Storage": 0,
181
+ "InstanceType": "abc",
182
+ "InstanceRole": "abc",
50
183
  "UpdateTime": "2020-09-22 00:00:00",
51
- "VpcId": "xx",
52
- "MinCpu": 0.0,
53
- "MaxCpu": 0.0,
54
- "InstanceId": "xx",
55
- "ClusterId": "xx",
56
- "NetType": 0,
57
- "IsFreeze": "xx",
58
- "SubnetId": "xx",
59
- "InstanceType": "xx",
60
- "DestroyTime": "xx",
61
- "IsolateTime": "2020-09-22 00:00:00",
62
- "DestroyDeadlineText": "xx",
63
- "ProjectId": 0,
64
- "Region": "xx",
184
+ "CreateTime": "2020-09-22 00:00:00",
185
+ "VpcId": "abc",
186
+ "SubnetId": "abc",
187
+ "Vip": "abc",
188
+ "Vport": 0,
65
189
  "PayMode": 0,
66
190
  "PeriodEndTime": "2020-09-22 00:00:00",
191
+ "DestroyDeadlineText": "abc",
192
+ "IsolateTime": "2020-09-22 00:00:00",
193
+ "NetType": 0,
194
+ "WanDomain": "abc",
195
+ "WanIP": "abc",
196
+ "WanPort": 0,
197
+ "WanStatus": "abc",
198
+ "DestroyTime": "abc",
199
+ "CynosVersion": "abc",
200
+ "ProcessingTask": "abc",
201
+ "RenewFlag": 0,
202
+ "MinCpu": 0,
203
+ "MaxCpu": 0,
204
+ "ServerlessStatus": "abc",
205
+ "StorageId": "abc",
206
+ "StoragePayMode": 0,
207
+ "PhysicalZone": "abc",
208
+ "BusinessType": "abc",
209
+ "Tasks": [
210
+ {
211
+ "TaskId": 0,
212
+ "TaskType": "abc",
213
+ "TaskStatus": "abc",
214
+ "ObjectId": "abc",
215
+ "ObjectType": "abc"
216
+ }
217
+ ],
218
+ "IsFreeze": "abc",
67
219
  "ResourceTags": [
68
220
  {
69
- "TagKey": "xx",
70
- "TagValue": "xx"
221
+ "TagKey": "abc",
222
+ "TagValue": "abc"
71
223
  }
72
224
  ],
73
- "CynosVersion": "xx",
74
- "StatusDesc": "xx",
75
- "InstanceName": "xx",
76
- "Cpu": 0,
77
- "StoragePayMode": 0,
78
- "BusinessType": "xx",
79
- "Tasks": [
225
+ "MasterZone": "abc",
226
+ "SlaveZones": [
227
+ "abc"
228
+ ],
229
+ "InstanceNetInfo": [
80
230
  {
81
- "ObjectType": "xx",
82
- "TaskStatus": "xx",
83
- "ObjectId": "xx",
84
- "TaskId": 0,
85
- "TaskType": "xx"
231
+ "InstanceGroupType": "abc",
232
+ "InstanceGroupId": "abc",
233
+ "VpcId": "abc",
234
+ "SubnetId": "abc",
235
+ "NetType": 0,
236
+ "Vip": "abc",
237
+ "Vport": 0,
238
+ "WanDomain": "abc",
239
+ "WanIP": "abc",
240
+ "WanPort": 0,
241
+ "WanStatus": "abc"
86
242
  }
87
243
  ],
88
- "WanDomain": "xx",
89
- "ClusterName": "xx",
90
- "InstanceRole": "xx",
91
- "WanPort": 0,
92
- "Uin": "xx",
93
- "DbType": "xx",
94
- "Vip": "xx",
95
- "AppId": 0,
96
- "WanIP": "xx",
97
- "Vport": 0,
98
- "CreateTime": "2020-09-22 00:00:00"
244
+ "ResourcePackages": [
245
+ {
246
+ "PackageId": "abc",
247
+ "PackageType": "abc"
248
+ }
249
+ ],
250
+ "InstanceIndexMode": "abc"
99
251
  }
100
252
  ],
101
- "WanPort": 0,
102
- "ClusterId": "xx",
103
- "DeletedTime": "2020-09-22 00:00:00",
104
- "WanStatus": "xx",
105
- "CreatedTime": "2020-09-22 00:00:00",
106
- "Vip": "xx",
107
- "UniqSubnetId": "xx",
108
- "InstanceGrpId": "xx",
109
- "AppId": 0,
110
- "WanIP": "xx",
111
- "Vport": 0,
112
- "Type": "xx",
113
- "NetServiceId": 0,
253
+ "UniqVpcId": "abc",
254
+ "UniqSubnetId": "abc",
255
+ "OldAddrInfo": {
256
+ "Vip": "abc",
257
+ "Vport": 0,
258
+ "ReturnTime": "abc"
259
+ },
114
260
  "ProcessingTasks": [
115
- "xx"
116
- ]
261
+ "abc"
262
+ ],
263
+ "Tasks": [
264
+ {
265
+ "TaskId": 0,
266
+ "TaskType": "abc",
267
+ "TaskStatus": "abc",
268
+ "ObjectId": "abc",
269
+ "ObjectType": "abc"
270
+ }
271
+ ],
272
+ "NetServiceId": 0
117
273
  }
118
274
  ],
119
- "RequestId": "xx"
275
+ "RequestId": "abc"
120
276
  }
121
277
  }
122
278
  ```
@@ -30,7 +30,9 @@ Output:
30
30
  "MatchValue": "abc",
31
31
  "Description": "abc",
32
32
  "IsGlobal": 0,
33
- "ModifiableInfo": {},
33
+ "ModifiableInfo": {
34
+ "IsModifiable": 0
35
+ },
34
36
  "IsFunc": true,
35
37
  "Func": "abc"
36
38
  }
@@ -24,7 +24,9 @@ Output:
24
24
  "MatchValue": "",
25
25
  "Max": "0",
26
26
  "Min": "0",
27
- "ModifiableInfo": {},
27
+ "ModifiableInfo": {
28
+ "IsModifiable": 0
29
+ },
28
30
  "NeedReboot": 0,
29
31
  "ParamName": "validate_password_txsql_dictionary",
30
32
  "ParamType": "string"
@@ -39,7 +41,9 @@ Output:
39
41
  "MatchValue": "",
40
42
  "Max": "256",
41
43
  "Min": "8",
42
- "ModifiableInfo": {},
44
+ "ModifiableInfo": {
45
+ "IsModifiable": 0
46
+ },
43
47
  "NeedReboot": 0,
44
48
  "ParamName": "validate_password_length",
45
49
  "ParamType": "integer"
@@ -54,7 +58,9 @@ Output:
54
58
  "MatchValue": "",
55
59
  "Max": "50",
56
60
  "Min": "1",
57
- "ModifiableInfo": {},
61
+ "ModifiableInfo": {
62
+ "IsModifiable": 0
63
+ },
58
64
  "NeedReboot": 0,
59
65
  "ParamName": "validate_password_mixed_case_count",
60
66
  "ParamType": "integer"
@@ -69,7 +75,9 @@ Output:
69
75
  "MatchValue": "",
70
76
  "Max": "50",
71
77
  "Min": "1",
72
- "ModifiableInfo": {},
78
+ "ModifiableInfo": {
79
+ "IsModifiable": 0
80
+ },
73
81
  "NeedReboot": 0,
74
82
  "ParamName": "validate_password_number_count",
75
83
  "ParamType": "integer"
@@ -87,7 +95,9 @@ Output:
87
95
  "MatchValue": "",
88
96
  "Max": "2",
89
97
  "Min": "0",
90
- "ModifiableInfo": {},
98
+ "ModifiableInfo": {
99
+ "IsModifiable": 0
100
+ },
91
101
  "NeedReboot": 0,
92
102
  "ParamName": "validate_password_policy",
93
103
  "ParamType": "enum"
@@ -102,7 +112,9 @@ Output:
102
112
  "MatchValue": "",
103
113
  "Max": "50",
104
114
  "Min": "1",
105
- "ModifiableInfo": {},
115
+ "ModifiableInfo": {
116
+ "IsModifiable": 0
117
+ },
106
118
  "NeedReboot": 0,
107
119
  "ParamName": "validate_password_special_char_count",
108
120
  "ParamType": "integer"