tccli 3.0.1100.1__py2.py3-none-any.whl → 3.0.1101.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/cdb/v20170320/CloseSSL.md +21 -0
- tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
- tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
- tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
- tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
- tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
- tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
- tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
- tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
- tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
- tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
- tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
- tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
- tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
- tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
- tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
- tccli/services/cdb/cdb_client.py +163 -4
- tccli/services/cdb/v20170320/api.json +169 -0
- tccli/services/cdb/v20170320/examples.json +24 -0
- tccli/services/clb/v20180317/api.json +18 -0
- tccli/services/cls/v20201016/api.json +28 -28
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +157 -4
- tccli/services/csip/v20221121/examples.json +13 -13
- tccli/services/cvm/v20170312/api.json +3 -3
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -194
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/nlp/v20190408/api.json +13 -0
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/postgres/v20170312/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +8 -8
- tccli/services/ssl/v20191205/api.json +2 -2
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/tsf/v20180326/api.json +80 -42
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +36 -23
- tccli/services/vpc/v20170312/examples.json +11 -11
- tccli/services/wedata/v20210820/api.json +465 -0
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/RECORD +58 -55
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1101.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1101.1'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 关闭SSL**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdb CloseSSL --cli-unfold-argument \
|
9
|
+
--InstanceId cdb-test
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "xxxx-xxxx-xxxx",
|
17
|
+
"AsyncRequestId": "xxxx-xxxx-xxxx"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 获取SSL开通情况以及证书下载链接**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdb DescribeSSLStatus --cli-unfold-argument \
|
9
|
+
--InstanceId cdb-test
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Status": "ON",
|
17
|
+
"Url": "http://test",
|
18
|
+
"RequestId": "xxxx-xxxx-xxxxxx"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 开启SSL连接功能。**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdb OpenSSL --cli-unfold-argument \
|
9
|
+
--InstanceId cdb-test
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "xxxx-xxxx-xxxx",
|
17
|
+
"AsyncRequestId": "xxxx-xxxx-xxxx"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -11,167 +11,19 @@ Output:
|
|
11
11
|
```
|
12
12
|
{
|
13
13
|
"Response": {
|
14
|
-
"RequestId": "811d2583-310c-41f4-b5e7-abe4074047d4",
|
15
14
|
"Actions": [
|
16
15
|
{
|
17
|
-
"Action": "
|
18
|
-
"Properties": [
|
19
|
-
{
|
20
|
-
"ChoiceProperties": [],
|
21
|
-
"ChoicesValue": [],
|
22
|
-
"ExtraParameter": {
|
23
|
-
"Choices": [
|
24
|
-
"403",
|
25
|
-
"404",
|
26
|
-
"404",
|
27
|
-
"405",
|
28
|
-
"414",
|
29
|
-
"416",
|
30
|
-
"451",
|
31
|
-
"500",
|
32
|
-
"501",
|
33
|
-
"502",
|
34
|
-
"503",
|
35
|
-
"504"
|
36
|
-
],
|
37
|
-
"Id": "StatusCode",
|
38
|
-
"Type": "CHOICE"
|
39
|
-
},
|
40
|
-
"IsAllowEmpty": false,
|
41
|
-
"IsMultiple": false,
|
42
|
-
"Max": 0,
|
43
|
-
"Min": 0,
|
44
|
-
"Name": "RedirectUrl",
|
45
|
-
"Type": "CUSTOM_STRING"
|
46
|
-
}
|
47
|
-
]
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"Action": "Cache",
|
16
|
+
"Action": "StatusCodeCache",
|
51
17
|
"Properties": [
|
52
18
|
{
|
53
|
-
"
|
54
|
-
|
55
|
-
"ChoicesValue": [
|
56
|
-
"on",
|
57
|
-
"off"
|
58
|
-
],
|
59
|
-
"ExtraParameter": null,
|
60
|
-
"IsAllowEmpty": false,
|
61
|
-
"IsMultiple": false,
|
62
|
-
"Max": 0,
|
63
|
-
"Min": 0,
|
64
|
-
"Name": "Switch",
|
65
|
-
"Type": "TOGGLE"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"ChoicesValue": [],
|
69
|
-
"ExtraParameter": null,
|
70
|
-
"IsAllowEmpty": false,
|
71
|
-
"IsMultiple": false,
|
72
|
-
"Max": 0,
|
73
|
-
"Min": 0,
|
74
|
-
"Name": "FollowOrigin",
|
75
|
-
"Type": "OBJECT"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"ChoiceProperties": [
|
79
|
-
{
|
80
|
-
"ChoicesValue": [
|
81
|
-
"on",
|
82
|
-
"off"
|
83
|
-
],
|
84
|
-
"ExtraParameter": null,
|
85
|
-
"IsAllowEmpty": false,
|
86
|
-
"IsMultiple": false,
|
87
|
-
"Max": 0,
|
88
|
-
"Min": 0,
|
89
|
-
"Name": "Switch",
|
90
|
-
"Type": "TOGGLE"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"ChoicesValue": [],
|
94
|
-
"ExtraParameter": null,
|
95
|
-
"IsAllowEmpty": false,
|
96
|
-
"IsMultiple": false,
|
97
|
-
"Max": 0,
|
98
|
-
"Min": 0,
|
99
|
-
"Name": "CacheTime",
|
100
|
-
"Type": "CUSTOM_NUM"
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"ChoicesValue": [],
|
104
|
-
"ExtraParameter": null,
|
105
|
-
"IsAllowEmpty": false,
|
106
|
-
"IsMultiple": false,
|
107
|
-
"Max": 0,
|
19
|
+
"Name": "CacheTime",
|
20
|
+
"Type": "CUSTOM_NUM",
|
108
21
|
"Min": 0,
|
109
|
-
"Name": "Cache",
|
110
|
-
"Type": "OBJECT"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"ChoiceProperties": [
|
114
|
-
{
|
115
|
-
"ChoicesValue": [
|
116
|
-
"on",
|
117
|
-
"off"
|
118
|
-
],
|
119
|
-
"ExtraParameter": null,
|
120
|
-
"IsAllowEmpty": false,
|
121
|
-
"IsMultiple": false,
|
122
|
-
"Max": 0,
|
123
|
-
"Min": 0,
|
124
|
-
"Name": "Switch",
|
125
|
-
"Type": "TOGGLE"
|
126
|
-
}
|
127
|
-
],
|
128
|
-
"ChoicesValue": [],
|
129
|
-
"ExtraParameter": null,
|
130
|
-
"IsAllowEmpty": false,
|
131
|
-
"IsMultiple": false,
|
132
22
|
"Max": 0,
|
133
|
-
"Min": 0,
|
134
|
-
"Name": "NoCache",
|
135
|
-
"Type": "OBJECT"
|
136
|
-
}
|
137
|
-
]
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"Action": "MaxAge",
|
141
|
-
"Properties": [
|
142
|
-
{
|
143
|
-
"ChoiceProperties": [],
|
144
23
|
"ChoicesValue": [],
|
145
|
-
"ExtraParameter": null,
|
146
|
-
"IsAllowEmpty": false,
|
147
24
|
"IsMultiple": false,
|
148
|
-
"Max": 0,
|
149
|
-
"Min": 0,
|
150
|
-
"Name": "MaxAgeTime",
|
151
|
-
"Type": "CUSTOM_NUM"
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"ChoiceProperties": [],
|
155
|
-
"ChoicesValue": [
|
156
|
-
"on",
|
157
|
-
"off"
|
158
|
-
],
|
159
|
-
"ExtraParameter": null,
|
160
25
|
"IsAllowEmpty": false,
|
161
|
-
"IsMultiple": false,
|
162
|
-
"Max": 0,
|
163
|
-
"Min": 0,
|
164
|
-
"Name": "FollowOrigin",
|
165
|
-
"Type": "TOGGLE"
|
166
|
-
}
|
167
|
-
]
|
168
|
-
},
|
169
|
-
{
|
170
|
-
"Action": "StatusCodeCache",
|
171
|
-
"Properties": [
|
172
|
-
{
|
173
26
|
"ChoiceProperties": [],
|
174
|
-
"ChoicesValue": [],
|
175
27
|
"ExtraParameter": {
|
176
28
|
"Choices": [
|
177
29
|
"403",
|
@@ -189,17 +41,12 @@ Output:
|
|
189
41
|
],
|
190
42
|
"Id": "StatusCode",
|
191
43
|
"Type": "CHOICE"
|
192
|
-
}
|
193
|
-
"IsAllowEmpty": false,
|
194
|
-
"IsMultiple": false,
|
195
|
-
"Max": 0,
|
196
|
-
"Min": 0,
|
197
|
-
"Name": "CacheTime",
|
198
|
-
"Type": "CUSTOM_NUM"
|
44
|
+
}
|
199
45
|
}
|
200
46
|
]
|
201
47
|
}
|
202
|
-
]
|
48
|
+
],
|
49
|
+
"RequestId": "abc"
|
203
50
|
}
|
204
51
|
}
|
205
52
|
```
|
@@ -9,51 +9,41 @@ tccli vpc DescribeVpnGatewaySslServers --cli-unfold-argument \
|
|
9
9
|
--Offset 0 \
|
10
10
|
--Limit 2 \
|
11
11
|
--Filters.0.Name vpn-gateway-id \
|
12
|
-
--Filters.0.Values
|
12
|
+
--Filters.0.Values vpngw-0zowp2z9
|
13
13
|
```
|
14
14
|
|
15
15
|
Output:
|
16
16
|
```
|
17
17
|
{
|
18
18
|
"Response": {
|
19
|
-
"
|
19
|
+
"RequestId": "1d0c0675-d1cb-4d28-99af-bf093a7d62d2",
|
20
20
|
"SslVpnSeverSet": [
|
21
21
|
{
|
22
|
-
"VpcId": "
|
23
|
-
"SslVpnServerId": "
|
24
|
-
"VpnGatewayId": "
|
25
|
-
"SslVpnServerName": "
|
22
|
+
"VpcId": "vpc-1tqv6my1",
|
23
|
+
"SslVpnServerId": "vpns-fofx7shn",
|
24
|
+
"VpnGatewayId": "vpngw-0zowp2z9",
|
25
|
+
"SslVpnServerName": "test",
|
26
26
|
"LocalAddress": [
|
27
|
-
"
|
27
|
+
"10.17.0.0/24"
|
28
28
|
],
|
29
|
-
"RemoteAddress": "
|
30
|
-
"MaxConnection":
|
31
|
-
"WanIp": "
|
32
|
-
"SslVpnProtocol": "
|
33
|
-
"SslVpnPort":
|
34
|
-
"EncryptAlgorithm": "
|
35
|
-
"IntegrityAlgorithm": "
|
36
|
-
"Compress":
|
37
|
-
"CreateTime": "
|
38
|
-
"State":
|
39
|
-
"SsoEnabled":
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
|
44
|
-
"TargetCidr": "abc",
|
45
|
-
"VpnGatewayIdSslAccessPolicyId": "abc",
|
46
|
-
"ForAllClient": 1,
|
47
|
-
"UserGroupIds": [
|
48
|
-
"abc"
|
49
|
-
],
|
50
|
-
"UpdateTime": "abc",
|
51
|
-
"Remark": "abc"
|
52
|
-
}
|
53
|
-
]
|
29
|
+
"RemoteAddress": "10.12.0.0/24",
|
30
|
+
"MaxConnection": 5,
|
31
|
+
"WanIp": "1.14.55.188",
|
32
|
+
"SslVpnProtocol": "UDP",
|
33
|
+
"SslVpnPort": 1194,
|
34
|
+
"EncryptAlgorithm": "none",
|
35
|
+
"IntegrityAlgorithm": "none",
|
36
|
+
"Compress": 0,
|
37
|
+
"CreateTime": "2023-01-11 11:37:41",
|
38
|
+
"State": 6,
|
39
|
+
"SsoEnabled": 0,
|
40
|
+
"SpName": "",
|
41
|
+
"EiamApplicationId": "",
|
42
|
+
"AccessPolicyEnabled": 0,
|
43
|
+
"AccessPolicy": []
|
54
44
|
}
|
55
45
|
],
|
56
|
-
"
|
46
|
+
"TotalCount": 1
|
57
47
|
}
|
58
48
|
}
|
59
49
|
```
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 包年包月询价输入**
|
2
2
|
|
3
|
-
|
3
|
+
包年包月询价时输入
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -18,7 +18,15 @@ Output:
|
|
18
18
|
"Price": {
|
19
19
|
"InstancePrice": {
|
20
20
|
"OriginalPrice": 380,
|
21
|
-
"DiscountPrice": 380
|
21
|
+
"DiscountPrice": 380,
|
22
|
+
"UnitPrice": 0,
|
23
|
+
"ChargeUnit": ""
|
24
|
+
},
|
25
|
+
"BandwidthPrice": {
|
26
|
+
"OriginalPrice": 0,
|
27
|
+
"DiscountPrice": 0,
|
28
|
+
"UnitPrice": 0,
|
29
|
+
"ChargeUnit": ""
|
22
30
|
}
|
23
31
|
},
|
24
32
|
"RequestId": "1b2534de-3f38-4913-921a-af5ff1a9cb73"
|
@@ -28,7 +36,7 @@ Output:
|
|
28
36
|
|
29
37
|
**Example 2: 按量计费询价输入**
|
30
38
|
|
31
|
-
|
39
|
+
按量计费询价时输入
|
32
40
|
|
33
41
|
Input:
|
34
42
|
|
@@ -1,14 +1,13 @@
|
|
1
1
|
**Example 1: 调整VPN网关带宽上限询价**
|
2
2
|
|
3
|
-
|
3
|
+
本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth)用于调整VPN网关带宽上限询价。
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli vpc InquiryPriceResetVpnGatewayInternetMaxBandwidth --cli-unfold-argument \
|
9
|
-
--
|
10
|
-
--
|
11
|
-
--InternetMaxBandwidthOut 10
|
9
|
+
--VpnGatewayId vpngw-a4wta21x \
|
10
|
+
--InternetMaxBandwidthOut 100
|
12
11
|
```
|
13
12
|
|
14
13
|
Output:
|
@@ -17,11 +16,19 @@ Output:
|
|
17
16
|
"Response": {
|
18
17
|
"Price": {
|
19
18
|
"InstancePrice": {
|
20
|
-
"OriginalPrice":
|
21
|
-
"DiscountPrice":
|
19
|
+
"OriginalPrice": 1717.86,
|
20
|
+
"DiscountPrice": 1717.86,
|
21
|
+
"UnitPrice": 0,
|
22
|
+
"ChargeUnit": ""
|
23
|
+
},
|
24
|
+
"BandwidthPrice": {
|
25
|
+
"OriginalPrice": 0,
|
26
|
+
"DiscountPrice": 0,
|
27
|
+
"UnitPrice": 0,
|
28
|
+
"ChargeUnit": ""
|
22
29
|
}
|
23
30
|
},
|
24
|
-
"RequestId": "
|
31
|
+
"RequestId": "e13643de-b578-42b0-8ad3-86b732067292"
|
25
32
|
}
|
26
33
|
}
|
27
34
|
```
|
@@ -7,7 +7,7 @@ Input:
|
|
7
7
|
```
|
8
8
|
tccli vpc ModifyVpnGatewayCcnRoutes --cli-unfold-argument \
|
9
9
|
--VpnGatewayId vpngw-qol17bjo \
|
10
|
-
--Routes.0.RouteId
|
10
|
+
--Routes.0.RouteId vpnr-66c7ihas \
|
11
11
|
--Routes.0.Status ENABLE \
|
12
12
|
--Routes.0.DestinationCidrBlock 172.2.9.3/32
|
13
13
|
```
|
@@ -13,7 +13,64 @@ Output:
|
|
13
13
|
```
|
14
14
|
{
|
15
15
|
"Response": {
|
16
|
-
"
|
16
|
+
"Data": {
|
17
|
+
"TenantId": "abc",
|
18
|
+
"ProjectId": "abc",
|
19
|
+
"ProjectName": "abc",
|
20
|
+
"DisplayName": "abc",
|
21
|
+
"Region": "abc",
|
22
|
+
"Description": "abc",
|
23
|
+
"CreateTime": "2020-09-22T00:00:00+00:00",
|
24
|
+
"Creator": {
|
25
|
+
"UserId": "abc",
|
26
|
+
"UserName": "abc",
|
27
|
+
"DisplayName": "abc",
|
28
|
+
"PhoneNum": "abc",
|
29
|
+
"Email": "abc"
|
30
|
+
},
|
31
|
+
"Tenant": {
|
32
|
+
"TenantId": "abc",
|
33
|
+
"TenantName": "abc",
|
34
|
+
"DisplayName": "abc",
|
35
|
+
"Description": "abc",
|
36
|
+
"OwnerUserId": "abc",
|
37
|
+
"Params": "abc"
|
38
|
+
},
|
39
|
+
"AdminUsers": [
|
40
|
+
{
|
41
|
+
"UserId": "abc",
|
42
|
+
"UserName": "abc",
|
43
|
+
"DisplayName": "abc",
|
44
|
+
"PhoneNum": "abc",
|
45
|
+
"Email": "abc"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"Clusters": [
|
49
|
+
{
|
50
|
+
"ClusterId": "abc",
|
51
|
+
"ClusterType": "abc",
|
52
|
+
"ClusterName": "abc",
|
53
|
+
"RegionCn": "abc",
|
54
|
+
"RegionEn": "abc",
|
55
|
+
"RegionArea": "abc",
|
56
|
+
"Used": true,
|
57
|
+
"Status": 1,
|
58
|
+
"StatusInfo": "abc",
|
59
|
+
"StorageType": "abc",
|
60
|
+
"ComputeType": "abc",
|
61
|
+
"ClusterResource": "abc",
|
62
|
+
"ChargeType": "abc",
|
63
|
+
"CreateTime": "2020-09-22T00:00:00+00:00",
|
64
|
+
"ExtraConf": "abc",
|
65
|
+
"RangerUserName": "abc",
|
66
|
+
"CdwUserName": "abc"
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"Params": "abc",
|
70
|
+
"Status": 1,
|
71
|
+
"Model": "abc"
|
72
|
+
},
|
73
|
+
"RequestId": "abc"
|
17
74
|
}
|
18
75
|
}
|
19
76
|
```
|