tccli 3.0.923.1__py2.py3-none-any.whl → 3.0.924.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/apigateway/v20180808/DescribeServicesStatus.md +33 -19
- tccli/examples/clb/v20180317/CloneLoadBalancer.md +3 -3
- tccli/examples/clb/v20180317/DescribeListeners.md +49 -127
- tccli/examples/clb/v20180317/DescribeLoadBalancers.md +578 -158
- tccli/examples/cls/v20201016/DescribeConfigs.md +2 -1
- tccli/examples/cls/v20201016/DescribeKafkaConsumer.md +23 -0
- tccli/examples/cls/v20201016/ModifyKafkaConsumer.md +21 -0
- tccli/examples/cynosdb/v20190107/DescribeAccounts.md +10 -10
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +77 -65
- tccli/examples/essbasic/v20210526/DescribeTemplates.md +13 -4
- tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +2 -2
- tccli/examples/mna/v20210119/GetDevices.md +9 -16
- tccli/examples/mna/v20210119/UpdateDevice.md +7 -10
- tccli/examples/ms/v20180408/CreateEncryptInstance.md +30 -30
- tccli/examples/ms/v20180408/CreateOrderInstance.md +2 -2
- tccli/examples/ms/v20180408/DescribeEncryptInstances.md +73 -65
- tccli/examples/ms/v20180408/DescribeEncryptPlan.md +34 -34
- tccli/examples/ms/v20180408/DescribeOrderInstances.md +1 -1
- tccli/examples/oceanus/v20190422/CreateJobConfig.md +1 -1
- tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md +28 -0
- tccli/examples/vpc/v20170312/CreateVpnGateway.md +20 -26
- tccli/services/apigateway/v20180808/api.json +119 -12
- tccli/services/apigateway/v20180808/examples.json +4 -4
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/clb/v20180317/api.json +190 -60
- tccli/services/clb/v20180317/examples.json +10 -10
- tccli/services/cls/cls_client.py +110 -4
- tccli/services/cls/v20201016/api.json +277 -55
- tccli/services/cls/v20201016/examples.json +17 -1
- tccli/services/cynosdb/v20190107/api.json +82 -31
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/dlc/v20210125/api.json +11 -11
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/ess/v20201111/api.json +416 -91
- tccli/services/essbasic/v20210526/api.json +113 -78
- tccli/services/essbasic/v20210526/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +21 -16
- tccli/services/live/v20180801/api.json +42 -22
- tccli/services/mna/v20210119/api.json +11 -12
- tccli/services/mna/v20210119/examples.json +4 -4
- tccli/services/mps/v20190612/api.json +142 -61
- tccli/services/ms/v20180408/api.json +92 -19
- tccli/services/ms/v20180408/examples.json +31 -31
- tccli/services/oceanus/v20190422/api.json +355 -41
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +126 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +45 -65
- tccli/services/vpc/v20170312/examples.json +3 -3
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/METADATA +2 -2
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/RECORD +57 -54
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/license_files/LICENSE +0 -0
@@ -19,6 +19,8 @@ Output:
|
|
19
19
|
"EncryptResults": [
|
20
20
|
{
|
21
21
|
"AndroidResult": null,
|
22
|
+
"IOSResult": null,
|
23
|
+
"SDKResult": null,
|
22
24
|
"AppletResult": {
|
23
25
|
"AppletInfo": {
|
24
26
|
"AppletJsUrl": "http://xxxxxxxxxxx.zip",
|
@@ -42,12 +44,12 @@ Output:
|
|
42
44
|
},
|
43
45
|
"EncryptOpType": 1,
|
44
46
|
"EncryptOpTypeDesc": "在线加固",
|
45
|
-
"IOSResult": null,
|
46
47
|
"OrderType": 1,
|
47
48
|
"OrderTypeDesc": "免费试用",
|
48
49
|
"PlatformDesc": "applet小程序加固",
|
49
50
|
"PlatformType": 4,
|
50
|
-
"
|
51
|
+
"ResourceId": "xxxxxxx",
|
52
|
+
"OrderId": "xxxxxxxxxxxxxx"
|
51
53
|
}
|
52
54
|
],
|
53
55
|
"RequestId": "3a25bb5e-6334-449c-b4bf-bbea1e673e3a",
|
@@ -56,9 +58,66 @@ Output:
|
|
56
58
|
}
|
57
59
|
```
|
58
60
|
|
59
|
-
**Example 2:
|
61
|
+
**Example 2: 根据ResultId进行单记录查询**
|
62
|
+
|
63
|
+
根据ResultId进行单记录查询
|
64
|
+
|
65
|
+
Input:
|
66
|
+
|
67
|
+
```
|
68
|
+
tccli ms DescribeEncryptInstances --cli-unfold-argument \
|
69
|
+
--ResultId 6ef4eac9-badc-40d9-9796-569741849f95
|
70
|
+
```
|
71
|
+
|
72
|
+
Output:
|
73
|
+
```
|
74
|
+
{
|
75
|
+
"Response": {
|
76
|
+
"EncryptResults": [
|
77
|
+
{
|
78
|
+
"AndroidResult": null,
|
79
|
+
"AppletResult": {
|
80
|
+
"AppletInfo": {
|
81
|
+
"AppletJsUrl": "http://xxxxxxx.zip",
|
82
|
+
"AppletLevel": 1,
|
83
|
+
"Name": "test.zip"
|
84
|
+
},
|
85
|
+
"CostTime": 13,
|
86
|
+
"CreatTime": "2023-06-05 18:02:50",
|
87
|
+
"EncryptErrCode": 0,
|
88
|
+
"EncryptErrDesc": "",
|
89
|
+
"EncryptErrRef": "",
|
90
|
+
"EncryptPkgUrl": "https://xxxxxxxx/test.zip",
|
91
|
+
"EncryptState": 1,
|
92
|
+
"EncryptStateDesc": "加固成功",
|
93
|
+
"EndTime": "2023-06-05 18:03:21",
|
94
|
+
"OpUin": 700000154106,
|
95
|
+
"OrderId": "20230605_96ca291a-6e84-47eb-xxxxxxx",
|
96
|
+
"ResourceId": "20230605_96ca291a-6e84-47eb-xxxxxxx_0",
|
97
|
+
"ResultId": "6ef4eac9-badc-40d9-9796-569741849f95",
|
98
|
+
"StartTime": "2023-06-05 18:02:55"
|
99
|
+
},
|
100
|
+
"EncryptOpType": 1,
|
101
|
+
"EncryptOpTypeDesc": "在线加固",
|
102
|
+
"IOSResult": null,
|
103
|
+
"OrderType": 1,
|
104
|
+
"OrderTypeDesc": "免费试用",
|
105
|
+
"PlatformDesc": "applet小程序加固",
|
106
|
+
"PlatformType": 4,
|
107
|
+
"SDKResult": null,
|
108
|
+
"ResourceId": "xxxxxxx",
|
109
|
+
"OrderId": "xxxxxxxxxxxxxx"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"RequestId": "8019602c-b5be-4c90-932c-6e6f0e83c0bf",
|
113
|
+
"TotalCount": 1
|
114
|
+
}
|
115
|
+
}
|
116
|
+
```
|
117
|
+
|
118
|
+
**Example 3: 查询Android在线加固成功任务**
|
60
119
|
|
61
|
-
|
120
|
+
查询Android在线加固成功任务
|
62
121
|
|
63
122
|
Input:
|
64
123
|
|
@@ -124,9 +183,11 @@ Output:
|
|
124
183
|
"IOSResult": null,
|
125
184
|
"OrderType": 1,
|
126
185
|
"OrderTypeDesc": "免费试用",
|
127
|
-
"PlatformDesc": "android
|
186
|
+
"PlatformDesc": "android加固",
|
128
187
|
"PlatformType": 1,
|
129
|
-
"SDKResult": null
|
188
|
+
"SDKResult": null,
|
189
|
+
"ResourceId": "xxxxxxx",
|
190
|
+
"OrderId": "xxxxxxxxxxxxxx"
|
130
191
|
}
|
131
192
|
],
|
132
193
|
"RequestId": "f83ad565-fe48-4d45-bdb8-e84c72e67df5",
|
@@ -135,9 +196,9 @@ Output:
|
|
135
196
|
}
|
136
197
|
```
|
137
198
|
|
138
|
-
**Example
|
199
|
+
**Example 4: 查询Android输出工具任务结果**
|
139
200
|
|
140
|
-
|
201
|
+
查询Android输出工具任务结果
|
141
202
|
|
142
203
|
Input:
|
143
204
|
|
@@ -197,9 +258,11 @@ Output:
|
|
197
258
|
"IOSResult": null,
|
198
259
|
"OrderType": 2,
|
199
260
|
"OrderTypeDesc": "按年收费",
|
200
|
-
"PlatformDesc": "android
|
261
|
+
"PlatformDesc": "android加固",
|
201
262
|
"PlatformType": 1,
|
202
|
-
"SDKResult": null
|
263
|
+
"SDKResult": null,
|
264
|
+
"ResourceId": "xxxxxxx",
|
265
|
+
"OrderId": "xxxxxxxxxxxxxx"
|
203
266
|
}
|
204
267
|
],
|
205
268
|
"RequestId": "59af19a2-9729-4397-a229-6ee8e8a15a1e",
|
@@ -208,58 +271,3 @@ Output:
|
|
208
271
|
}
|
209
272
|
```
|
210
273
|
|
211
|
-
**Example 4: 根据ResultId进行单记录查询**
|
212
|
-
|
213
|
-
根据ResultId进行单记录查询
|
214
|
-
|
215
|
-
Input:
|
216
|
-
|
217
|
-
```
|
218
|
-
tccli ms DescribeEncryptInstances --cli-unfold-argument \
|
219
|
-
--ResultId 6ef4eac9-badc-40d9-9796-569741849f95
|
220
|
-
```
|
221
|
-
|
222
|
-
Output:
|
223
|
-
```
|
224
|
-
{
|
225
|
-
"Response": {
|
226
|
-
"EncryptResults": [
|
227
|
-
{
|
228
|
-
"AndroidResult": null,
|
229
|
-
"AppletResult": {
|
230
|
-
"AppletInfo": {
|
231
|
-
"AppletJsUrl": "http://xxxxxxx.zip",
|
232
|
-
"AppletLevel": 1,
|
233
|
-
"Name": "test.zip"
|
234
|
-
},
|
235
|
-
"CostTime": 13,
|
236
|
-
"CreatTime": "2023-06-05 18:02:50",
|
237
|
-
"EncryptErrCode": 0,
|
238
|
-
"EncryptErrDesc": "",
|
239
|
-
"EncryptErrRef": "",
|
240
|
-
"EncryptPkgUrl": "https://xxxxxxxx/test.zip",
|
241
|
-
"EncryptState": 1,
|
242
|
-
"EncryptStateDesc": "加固成功",
|
243
|
-
"EndTime": "2023-06-05 18:03:21",
|
244
|
-
"OpUin": 700000154106,
|
245
|
-
"OrderId": "20230605_96ca291a-6e84-47eb-xxxxxxx",
|
246
|
-
"ResourceId": "20230605_96ca291a-6e84-47eb-xxxxxxx_0",
|
247
|
-
"ResultId": "6ef4eac9-badc-40d9-9796-569741849f95",
|
248
|
-
"StartTime": "2023-06-05 18:02:55"
|
249
|
-
},
|
250
|
-
"EncryptOpType": 1,
|
251
|
-
"EncryptOpTypeDesc": "在线加固",
|
252
|
-
"IOSResult": null,
|
253
|
-
"OrderType": 1,
|
254
|
-
"OrderTypeDesc": "免费试用",
|
255
|
-
"PlatformDesc": "applet小程序加固",
|
256
|
-
"PlatformType": 4,
|
257
|
-
"SDKResult": null
|
258
|
-
}
|
259
|
-
],
|
260
|
-
"RequestId": "8019602c-b5be-4c90-932c-6e6f0e83c0bf",
|
261
|
-
"TotalCount": 1
|
262
|
-
}
|
263
|
-
}
|
264
|
-
```
|
265
|
-
|
@@ -1,14 +1,14 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 小程序在线加固**
|
2
2
|
|
3
|
-
|
3
|
+
载入上次配置
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli ms DescribeEncryptPlan --cli-unfold-argument \
|
9
|
-
--PlatformType
|
9
|
+
--PlatformType 4 \
|
10
10
|
--OrderType 1 \
|
11
|
-
--EncryptOpType
|
11
|
+
--EncryptOpType 1 \
|
12
12
|
--ResourceId XXXXXXXXXXXXXXXX
|
13
13
|
```
|
14
14
|
|
@@ -16,30 +16,28 @@ Output:
|
|
16
16
|
```
|
17
17
|
{
|
18
18
|
"Response": {
|
19
|
+
"AndroidPlan": null,
|
20
|
+
"AppletPlan": {
|
21
|
+
"AppletLevel": 1,
|
22
|
+
"PlanId": 11988
|
23
|
+
},
|
19
24
|
"ResourceId": "XXXXXXXXXXXXXXXX",
|
20
25
|
"OrderType": 1,
|
21
26
|
"OrderTypeDesc": "免费试用",
|
22
|
-
"
|
23
|
-
|
24
|
-
"AppType": "apk",
|
25
|
-
"EncryptParam": "{\"dex\":{\"enable\":1,\"antiprotect\":1,\"antirepack\":1,\"dexsig\":1,\"antimonitor\":1,\"ptrace\":1}}",
|
26
|
-
"PlanId": 11981
|
27
|
-
},
|
28
|
-
"AppletPlan": null,
|
29
|
-
"EncryptOpType": 2,
|
30
|
-
"EncryptOpTypeDesc": "输出工具",
|
27
|
+
"EncryptOpType": 1,
|
28
|
+
"EncryptOpTypeDesc": "在线加固",
|
31
29
|
"IOSPlan": null,
|
32
|
-
"PlatformType":
|
33
|
-
"PlatformTypeDesc": "
|
34
|
-
"RequestId": "
|
30
|
+
"PlatformType": 4,
|
31
|
+
"PlatformTypeDesc": "applet小程序加固",
|
32
|
+
"RequestId": "4fd83459-e0fc-4c1f-ab00-8f2c99f51bd4",
|
35
33
|
"SDKPlan": null
|
36
34
|
}
|
37
35
|
}
|
38
36
|
```
|
39
37
|
|
40
|
-
**Example 2:
|
38
|
+
**Example 2: 小程序在线加固载入上次配置实例**
|
41
39
|
|
42
|
-
|
40
|
+
小程序在线加固载入上次配置实例
|
43
41
|
|
44
42
|
Input:
|
45
43
|
|
@@ -58,7 +56,7 @@ Output:
|
|
58
56
|
"AndroidPlan": null,
|
59
57
|
"AppletPlan": {
|
60
58
|
"AppletLevel": 1,
|
61
|
-
"PlanId":
|
59
|
+
"PlanId": 12012
|
62
60
|
},
|
63
61
|
"ResourceId": "XXXXXXXXXXXXXXXX",
|
64
62
|
"OrderType": 1,
|
@@ -68,23 +66,23 @@ Output:
|
|
68
66
|
"IOSPlan": null,
|
69
67
|
"PlatformType": 4,
|
70
68
|
"PlatformTypeDesc": "applet小程序加固",
|
71
|
-
"RequestId": "
|
69
|
+
"RequestId": "323b8dda-4623-4b7b-bb54-8d0a90e90cb1",
|
72
70
|
"SDKPlan": null
|
73
71
|
}
|
74
72
|
}
|
75
73
|
```
|
76
74
|
|
77
|
-
**Example 3:
|
75
|
+
**Example 3: Android输出工具配置查询**
|
78
76
|
|
79
|
-
|
77
|
+
Android输出工具配置查询
|
80
78
|
|
81
79
|
Input:
|
82
80
|
|
83
81
|
```
|
84
82
|
tccli ms DescribeEncryptPlan --cli-unfold-argument \
|
85
|
-
--PlatformType
|
83
|
+
--PlatformType 1 \
|
86
84
|
--OrderType 1 \
|
87
|
-
--EncryptOpType
|
85
|
+
--EncryptOpType 2 \
|
88
86
|
--ResourceId XXXXXXXXXXXXXXXX
|
89
87
|
```
|
90
88
|
|
@@ -92,20 +90,22 @@ Output:
|
|
92
90
|
```
|
93
91
|
{
|
94
92
|
"Response": {
|
95
|
-
"AndroidPlan": null,
|
96
|
-
"AppletPlan": {
|
97
|
-
"AppletLevel": 1,
|
98
|
-
"PlanId": 12012
|
99
|
-
},
|
100
93
|
"ResourceId": "XXXXXXXXXXXXXXXX",
|
101
94
|
"OrderType": 1,
|
102
95
|
"OrderTypeDesc": "免费试用",
|
103
|
-
"
|
104
|
-
|
96
|
+
"AndroidPlan": {
|
97
|
+
"AppPkgName": "",
|
98
|
+
"AppType": "apk",
|
99
|
+
"EncryptParam": "{\"dex\":{\"enable\":1,\"antiprotect\":1,\"antirepack\":1,\"dexsig\":1,\"antimonitor\":1,\"ptrace\":1}}",
|
100
|
+
"PlanId": 11981
|
101
|
+
},
|
102
|
+
"AppletPlan": null,
|
103
|
+
"EncryptOpType": 2,
|
104
|
+
"EncryptOpTypeDesc": "输出工具",
|
105
105
|
"IOSPlan": null,
|
106
|
-
"PlatformType":
|
107
|
-
"PlatformTypeDesc": "
|
108
|
-
"RequestId": "
|
106
|
+
"PlatformType": 1,
|
107
|
+
"PlatformTypeDesc": "android加固",
|
108
|
+
"RequestId": "a0d996fe-fa97-404a-87b0-b9690f92de26",
|
109
109
|
"SDKPlan": null
|
110
110
|
}
|
111
111
|
}
|
@@ -26,7 +26,7 @@ Output:
|
|
26
26
|
"OrderType": 3,
|
27
27
|
"OrderTypeDesc": "按次收费",
|
28
28
|
"PlatformType": 1,
|
29
|
-
"PlatformTypeDesc": "android
|
29
|
+
"PlatformTypeDesc": "android加固",
|
30
30
|
"ResourceId": "20230602_03702020-0a90-4f46-8f20-XXXXXXXXX_0",
|
31
31
|
"ResourceStatus": 1,
|
32
32
|
"ResourceStatusDesc": "生效中",
|
@@ -0,0 +1,28 @@
|
|
1
|
+
**Example 1: 购买RocketMQ专享实例**
|
2
|
+
|
3
|
+
购买RocketMQ专享实例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tdmq CreateRocketMQVipInstance --cli-unfold-argument \
|
9
|
+
--Name abc \
|
10
|
+
--Spec rocket-vip-basic-1 \
|
11
|
+
--NodeCount 1 \
|
12
|
+
--StorageSize 0 \
|
13
|
+
--ZoneIds 100001 \
|
14
|
+
--VpcInfo.VpcId abc \
|
15
|
+
--VpcInfo.SubnetId abc \
|
16
|
+
--TimeSpan 1
|
17
|
+
```
|
18
|
+
|
19
|
+
Output:
|
20
|
+
```
|
21
|
+
{
|
22
|
+
"Response": {
|
23
|
+
"ClusterId": "rocketmq-xxxx",
|
24
|
+
"RequestId": "abc"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
```
|
28
|
+
|
@@ -1,13 +1,13 @@
|
|
1
1
|
**Example 1: 创建VPNGW**
|
2
2
|
|
3
|
-
|
3
|
+
创建VPNGW
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli vpc CreateVpnGateway --cli-unfold-argument \
|
9
|
-
--VpcId "vpc-xxxx" \
|
10
9
|
--VpnGatewayName "test" \
|
10
|
+
--VpcId "vpc-xxxx" \
|
11
11
|
--InstanceChargeType "POSTPAID_BY_HOUR" \
|
12
12
|
--InternetMaxBandwidthOut 5
|
13
13
|
```
|
@@ -17,34 +17,28 @@ Output:
|
|
17
17
|
{
|
18
18
|
"Response": {
|
19
19
|
"VpnGateway": {
|
20
|
-
"VpnGatewayQuotaSet": [
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
"
|
28
|
-
"VpcId": "xx",
|
29
|
-
"RenewFlag": "xx",
|
30
|
-
"Zone": "xx",
|
31
|
-
"VpnGatewayName": "xx",
|
32
|
-
"InstanceChargeType": "xx",
|
33
|
-
"CdcId": "xx",
|
20
|
+
"VpnGatewayQuotaSet": [],
|
21
|
+
"MaxConnection": 5,
|
22
|
+
"VpcId": "vpc-test",
|
23
|
+
"RenewFlag": "",
|
24
|
+
"Zone": "ap-bangkok-1",
|
25
|
+
"VpnGatewayName": "test",
|
26
|
+
"InstanceChargeType": "POSTPAID_BY_HOUR",
|
27
|
+
"CdcId": "",
|
34
28
|
"IsAddressBlocked": true,
|
35
|
-
"InternetMaxBandwidthOut":
|
36
|
-
"State": "
|
37
|
-
"Version": "
|
38
|
-
"VpnGatewayId": "
|
39
|
-
"PublicIpAddress": "
|
29
|
+
"InternetMaxBandwidthOut": 10,
|
30
|
+
"State": "Pending",
|
31
|
+
"Version": "",
|
32
|
+
"VpnGatewayId": "vpngw-xxxxx",
|
33
|
+
"PublicIpAddress": "12.3.1.3",
|
40
34
|
"CreatedTime": "2020-09-22 00:00:00",
|
41
|
-
"NewPurchasePlan": "
|
35
|
+
"NewPurchasePlan": "",
|
42
36
|
"ExpiredTime": "2020-09-22 00:00:00",
|
43
|
-
"Type": "
|
44
|
-
"NetworkInstanceId": "
|
45
|
-
"RestrictState": "
|
37
|
+
"Type": "IPSEC",
|
38
|
+
"NetworkInstanceId": "",
|
39
|
+
"RestrictState": "NORMAL"
|
46
40
|
},
|
47
|
-
"RequestId": "
|
41
|
+
"RequestId": "fa15cd12-e329-1261-c585-3c3ae5c55211"
|
48
42
|
}
|
49
43
|
}
|
50
44
|
```
|