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.
Files changed (57) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/apigateway/v20180808/DescribeServicesStatus.md +33 -19
  3. tccli/examples/clb/v20180317/CloneLoadBalancer.md +3 -3
  4. tccli/examples/clb/v20180317/DescribeListeners.md +49 -127
  5. tccli/examples/clb/v20180317/DescribeLoadBalancers.md +578 -158
  6. tccli/examples/cls/v20201016/DescribeConfigs.md +2 -1
  7. tccli/examples/cls/v20201016/DescribeKafkaConsumer.md +23 -0
  8. tccli/examples/cls/v20201016/ModifyKafkaConsumer.md +21 -0
  9. tccli/examples/cynosdb/v20190107/DescribeAccounts.md +10 -10
  10. tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +77 -65
  11. tccli/examples/essbasic/v20210526/DescribeTemplates.md +13 -4
  12. tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +2 -2
  13. tccli/examples/mna/v20210119/GetDevices.md +9 -16
  14. tccli/examples/mna/v20210119/UpdateDevice.md +7 -10
  15. tccli/examples/ms/v20180408/CreateEncryptInstance.md +30 -30
  16. tccli/examples/ms/v20180408/CreateOrderInstance.md +2 -2
  17. tccli/examples/ms/v20180408/DescribeEncryptInstances.md +73 -65
  18. tccli/examples/ms/v20180408/DescribeEncryptPlan.md +34 -34
  19. tccli/examples/ms/v20180408/DescribeOrderInstances.md +1 -1
  20. tccli/examples/oceanus/v20190422/CreateJobConfig.md +1 -1
  21. tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md +28 -0
  22. tccli/examples/vpc/v20170312/CreateVpnGateway.md +20 -26
  23. tccli/services/apigateway/v20180808/api.json +119 -12
  24. tccli/services/apigateway/v20180808/examples.json +4 -4
  25. tccli/services/asr/v20190614/api.json +1 -1
  26. tccli/services/clb/v20180317/api.json +190 -60
  27. tccli/services/clb/v20180317/examples.json +10 -10
  28. tccli/services/cls/cls_client.py +110 -4
  29. tccli/services/cls/v20201016/api.json +277 -55
  30. tccli/services/cls/v20201016/examples.json +17 -1
  31. tccli/services/cynosdb/v20190107/api.json +82 -31
  32. tccli/services/cynosdb/v20190107/examples.json +3 -3
  33. tccli/services/dlc/v20210125/api.json +11 -11
  34. tccli/services/emr/v20190103/api.json +10 -0
  35. tccli/services/ess/v20201111/api.json +416 -91
  36. tccli/services/essbasic/v20210526/api.json +113 -78
  37. tccli/services/essbasic/v20210526/examples.json +5 -5
  38. tccli/services/faceid/v20180301/api.json +21 -16
  39. tccli/services/live/v20180801/api.json +42 -22
  40. tccli/services/mna/v20210119/api.json +11 -12
  41. tccli/services/mna/v20210119/examples.json +4 -4
  42. tccli/services/mps/v20190612/api.json +142 -61
  43. tccli/services/ms/v20180408/api.json +92 -19
  44. tccli/services/ms/v20180408/examples.json +31 -31
  45. tccli/services/oceanus/v20190422/api.json +355 -41
  46. tccli/services/oceanus/v20190422/examples.json +1 -1
  47. tccli/services/tdmq/tdmq_client.py +53 -0
  48. tccli/services/tdmq/v20200217/api.json +126 -0
  49. tccli/services/tdmq/v20200217/examples.json +8 -0
  50. tccli/services/tts/v20190823/api.json +1 -1
  51. tccli/services/vpc/v20170312/api.json +45 -65
  52. tccli/services/vpc/v20170312/examples.json +3 -3
  53. {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/METADATA +2 -2
  54. {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/RECORD +57 -54
  55. {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/WHEEL +0 -0
  56. {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/entry_points.txt +0 -0
  57. {tccli-3.0.923.1.dist-info → tccli-3.0.924.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.923.1'
1
+ __version__ = '3.0.924.1'
@@ -1,43 +1,57 @@
1
- **Example 1: 用于查询服务列表**
2
-
1
+ **Example 1: 查询服务列表状态**
3
2
 
3
+ 查询服务列表状态
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
- tccli apigateway DescribeServicesStatus --cli-unfold-argument ```
8
+ tccli apigateway DescribeServicesStatus --cli-unfold-argument \
9
+ --Limit 0 \
10
+ --Offset 0 \
11
+ --Filters.0.Name abc \
12
+ --Filters.0.Values abc
13
+ ```
9
14
 
10
15
  Output:
11
16
  ```
12
17
  {
13
18
  "Response": {
14
19
  "Result": {
15
- "TotalCount": 1,
20
+ "TotalCount": 0,
16
21
  "ServiceSet": [
17
22
  {
18
- "ServiceId": "service-hrxy5qsm",
19
- "ServiceName": "ddd",
20
- "ServiceDesc": "",
21
- "Protocol": "http",
22
- "OuterSubDomain": "service-hrxy5qsm-1259027407.gz.apigw.tencentcs.com",
23
- "InnerSubDomain": "",
24
- "InnerHttpPort": 0,
25
23
  "InnerHttpsPort": 0,
26
- "CreatedTime": "2020-03-25T15:24:17Z",
27
- "ModifiedTime": "2020-03-25T15:24:18Z",
24
+ "ServiceDesc": "abc",
25
+ "Protocol": "abc",
26
+ "ModifiedTime": "2020-09-22T00:00:00+00:00",
28
27
  "NetTypes": [
29
- "OUTER"
28
+ "abc"
30
29
  ],
31
- "IpVersion": "IPv4",
32
- "ExclusiveSetName": "",
30
+ "ExclusiveSetName": "abc",
31
+ "ServiceId": "abc",
32
+ "IpVersion": "abc",
33
33
  "AvailableEnvironments": [
34
- "release"
34
+ "abc"
35
+ ],
36
+ "ServiceName": "abc",
37
+ "OuterSubDomain": "abc",
38
+ "CreatedTime": "2020-09-22T00:00:00+00:00",
39
+ "InnerHttpPort": 1,
40
+ "InnerSubDomain": "abc",
41
+ "TradeIsolateStatus": 0,
42
+ "Tags": [
43
+ {
44
+ "Key": "abc",
45
+ "Value": "abc"
46
+ }
35
47
  ],
36
- "TradeIsolateStatus": 0
48
+ "InstanceId": "abc",
49
+ "SetType": "abc",
50
+ "DeploymentType": "abc"
37
51
  }
38
52
  ]
39
53
  },
40
- "RequestId": "7100a7b7-30ed-43c8-8d53-081afb6ecd8b"
54
+ "RequestId": "abc"
41
55
  }
42
56
  }
43
57
  ```
@@ -1,19 +1,19 @@
1
1
  **Example 1: 克隆负载均衡**
2
2
 
3
-
3
+ 克隆负载均衡。
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli clb CloneLoadBalancer --cli-unfold-argument \
9
- --LoadBalancerId lb-xxxx
9
+ --LoadBalancerId lb-p10fcs**
10
10
  ```
11
11
 
12
12
  Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "RequestId": "83129908-a282-4f9f-8ab-131a3025ba22"
16
+ "RequestId": "83129908-a282-4f9f-8ab-131a3025****"
17
17
  }
18
18
  }
19
19
  ```
@@ -13,142 +13,55 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "TotalCount": 3,
16
+ "TotalCount": 1,
17
17
  "Listeners": [
18
18
  {
19
- "ListenerId": "lbl-2ytsji1u",
20
- "ListenerName": "555",
21
- "CreateTime": "2020-12-31 11:36:18",
22
- "Protocol": "HTTP",
23
- "Port": 555,
19
+ "ListenerId": "lbl-hd9nfp6o",
20
+ "ListenerName": "12345",
21
+ "CreateTime": "2020-12-31 12:03:36",
22
+ "Protocol": "TCP",
23
+ "Port": 333,
24
24
  "EndPort": 0,
25
- "HealthCheck": null,
25
+ "HealthCheck": {
26
+ "HealthSwitch": 1,
27
+ "TimeOut": 2,
28
+ "IntervalTime": 5,
29
+ "HealthNum": 3,
30
+ "UnHealthNum": 3,
31
+ "CheckPort": null,
32
+ "CheckType": "TCP",
33
+ "HttpCheckDomain": null,
34
+ "HttpCheckPath": null,
35
+ "HttpCheckMethod": null,
36
+ "HttpVersion": null,
37
+ "HttpCode": null,
38
+ "ContextType": null,
39
+ "SendContext": null,
40
+ "RecvContext": null,
41
+ "ExtendedCode": null,
42
+ "SourceIpType": 0
43
+ },
26
44
  "Certificate": null,
27
- "Scheduler": null,
28
- "SessionExpireTime": null,
45
+ "Scheduler": "WRR",
46
+ "SessionExpireTime": 0,
29
47
  "SniSwitch": 0,
30
- "Rules": [
31
- {
32
- "ListenerId": "lbl-2ytsji1u",
33
- "LocationId": "loc-nq5fuotq",
34
- "Domain": "www.123.com",
35
- "Url": "/123",
36
- "CreateTime": "2020-12-31 11:36:48",
37
- "Certificate": null,
38
- "HealthCheck": {
39
- "HealthSwitch": 1,
40
- "TimeOut": 5,
41
- "IntervalTime": 5,
42
- "HealthNum": 3,
43
- "UnHealthNum": 3,
44
- "HttpCode": 15,
45
- "HttpCheckPath": "/",
46
- "HttpCheckDomain": "www.123.com",
47
- "HttpCheckMethod": "get",
48
- "CheckPort": null,
49
- "CheckType": "TCP",
50
- "HttpVersion": null,
51
- "ContextType": null,
52
- "SendContext": null,
53
- "RecvContext": null
54
- },
55
- "RewriteTarget": {
56
- "TargetListenerId": null,
57
- "TargetLocationId": null,
58
- "RewriteCode": null,
59
- "TakeUrl": null,
60
- "RewriteType": null
61
- },
62
- "SessionExpireTime": 0,
63
- "Scheduler": "WRR",
64
- "HttpGzip": true,
65
- "BeAutoCreated": false,
66
- "DefaultServer": true,
67
- "Http2": false,
68
- "ForwardType": "HTTP",
69
- "TargetType": "NODE",
70
- "TargetGroup": null,
71
- "WafDomainId": "",
72
- "TrpcCallee": "",
73
- "TrpcFunc": "",
74
- "QuicStatus": "OFF"
75
- }
76
- ],
77
- "TargetType": null,
48
+ "Rules": null,
49
+ "TargetType": "NODE",
78
50
  "TargetGroup": null,
79
- "KeepaliveEnable": 0,
51
+ "KeepaliveEnable": null,
80
52
  "SessionType": "NORMAL",
81
53
  "Toa": false,
82
- "DeregisterTargetRst": false
83
- },
84
- {
85
- "ListenerId": "lbl-a459zzae",
86
- "ListenerName": "222",
87
- "CreateTime": "2020-12-10 20:26:54",
88
- "Protocol": "HTTP",
89
- "Port": 222,
90
- "EndPort": 0,
91
- "HealthCheck": null,
92
- "Certificate": null,
93
- "Scheduler": null,
94
- "SessionExpireTime": null,
95
- "SniSwitch": 0,
96
- "Rules": [
97
- {
98
- "ListenerId": "lbl-a459zzae",
99
- "LocationId": "loc-7pbxg3d4",
100
- "Domain": "www.123.com",
101
- "Url": "/",
102
- "CreateTime": "2020-12-10 20:33:14",
103
- "Certificate": null,
104
- "HealthCheck": {
105
- "HealthSwitch": 1,
106
- "TimeOut": 5,
107
- "IntervalTime": 5,
108
- "HealthNum": 3,
109
- "UnHealthNum": 3,
110
- "HttpCode": 15,
111
- "HttpCheckPath": "/",
112
- "HttpCheckDomain": "www.123.com",
113
- "HttpCheckMethod": "get",
114
- "CheckPort": null,
115
- "CheckType": "TCP",
116
- "HttpVersion": null,
117
- "ContextType": null,
118
- "SendContext": null,
119
- "RecvContext": null
120
- },
121
- "RewriteTarget": {
122
- "TargetListenerId": null,
123
- "TargetLocationId": null,
124
- "RewriteCode": null,
125
- "TakeUrl": null,
126
- "RewriteType": null
127
- },
128
- "SessionExpireTime": 0,
129
- "Scheduler": "WRR",
130
- "HttpGzip": true,
131
- "BeAutoCreated": false,
132
- "DefaultServer": true,
133
- "Http2": false,
134
- "ForwardType": "HTTP",
135
- "TargetType": "NODE",
136
- "TargetGroup": null,
137
- "WafDomainId": "",
138
- "TrpcCallee": "",
139
- "TrpcFunc": "",
140
- "QuicStatus": "OFF"
141
- }
54
+ "DeregisterTargetRst": false,
55
+ "MaxConn": 100,
56
+ "MaxCps": 100,
57
+ "IdleConnectTimeout": 0,
58
+ "AttrFlags": [
59
+ "abc"
142
60
  ],
143
- "TargetType": null,
144
- "TargetGroup": null,
145
- "KeepaliveEnable": 0,
146
- "SessionType": "NORMAL",
147
- "Toa": false,
148
- "DeregisterTargetRst": false
61
+ "TargetGroupList": null
149
62
  }
150
63
  ],
151
- "RequestId": "2682e290-3f8c-4766-98fa-716610e2d351"
64
+ "RequestId": "3ddae670-4a89-4919-af6e-0d6bf195c92e"
152
65
  }
153
66
  }
154
67
  ```
@@ -195,7 +108,9 @@ Output:
195
108
  "HttpCode": null,
196
109
  "ContextType": null,
197
110
  "SendContext": null,
198
- "RecvContext": null
111
+ "RecvContext": null,
112
+ "ExtendedCode": null,
113
+ "SourceIpType": 0
199
114
  },
200
115
  "Certificate": null,
201
116
  "Scheduler": "WRR",
@@ -207,7 +122,14 @@ Output:
207
122
  "KeepaliveEnable": null,
208
123
  "SessionType": "NORMAL",
209
124
  "Toa": false,
210
- "DeregisterTargetRst": false
125
+ "DeregisterTargetRst": false,
126
+ "MaxConn": 100,
127
+ "MaxCps": 100,
128
+ "IdleConnectTimeout": 0,
129
+ "AttrFlags": [
130
+ "abc"
131
+ ],
132
+ "TargetGroupList": null
211
133
  }
212
134
  ],
213
135
  "RequestId": "3ddae670-4a89-4919-af6e-0d6bf195c92e"