tccli 3.0.1005.1__py2.py3-none-any.whl → 3.0.1006.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/examples/cdb/v20170320/CloseAuditService.md +20 -0
- tccli/examples/cdb/v20170320/CreateAuditRuleTemplate.md +31 -0
- tccli/examples/cdb/v20170320/DeleteAuditRuleTemplates.md +20 -0
- tccli/examples/cdb/v20170320/DeleteDatabase.md +21 -0
- tccli/examples/cdb/v20170320/DescribeAuditInstanceList.md +51 -0
- tccli/examples/cdb/v20170320/DescribeAuditRuleTemplateModifyHistory.md +70 -0
- tccli/examples/cdb/v20170320/DescribeAuditRuleTemplates.md +61 -0
- tccli/examples/cdb/v20170320/ModifyAuditRuleTemplates.md +21 -0
- tccli/examples/cdb/v20170320/ModifyAuditService.md +23 -0
- tccli/examples/cfg/v20210820/DescribeTaskPolicyTriggerLog.md +38 -0
- tccli/examples/cfg/v20210820/TriggerPolicy.md +25 -0
- tccli/examples/config/v20220802/ListAggregateConfigRules.md +79 -0
- tccli/examples/config/v20220802/ListConfigRules.md +138 -0
- tccli/examples/tdmq/v20200217/CreateProCluster.md +3 -3
- tccli/examples/teo/v20220901/DescribeOverviewL7Data.md +4 -2
- tccli/examples/teo/v20220901/DescribePrefetchTasks.md +2 -1
- tccli/examples/teo/v20220901/DescribePurgeTasks.md +2 -1
- tccli/examples/teo/v20220901/DescribeTimingL4Data.md +4 -1
- tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md +6 -3
- tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md +6 -3
- tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md +6 -3
- tccli/examples/teo/v20220901/DescribeTopL7CacheData.md +8 -4
- tccli/examples/teo/v20220901/DownloadL4Logs.md +2 -1
- tccli/examples/teo/v20220901/DownloadL7Logs.md +2 -1
- tccli/examples/tke/v20180525/DescribeIPAMD.md +6 -3
- tccli/examples/tse/v20201207/CloseWafProtection.md +21 -0
- tccli/examples/tse/v20201207/CreateWafDomains.md +21 -0
- tccli/examples/tse/v20201207/OpenWafProtection.md +21 -0
- tccli/examples/vod/v20180717/DescribeTaskDetail.md +4 -0
- tccli/examples/vrs/v20200824/GetVRSVoiceTypes.md +4 -2
- tccli/services/__init__.py +3 -0
- tccli/services/cdb/cdb_client.py +497 -20
- tccli/services/cdb/v20170320/api.json +1174 -51
- tccli/services/cdb/v20170320/examples.json +72 -0
- tccli/services/cfg/cfg_client.py +106 -0
- tccli/services/cfg/v20210820/api.json +199 -0
- tccli/services/cfg/v20210820/examples.json +16 -0
- tccli/services/config/__init__.py +4 -0
- tccli/services/config/config_client.py +247 -0
- tccli/services/config/v20220802/api.json +767 -0
- tccli/services/config/v20220802/examples.json +21 -0
- tccli/services/hai/v20230812/api.json +11 -0
- tccli/services/tdmq/v20200217/api.json +50 -30
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +51 -40
- tccli/services/teo/v20220901/examples.json +24 -24
- tccli/services/tke/v20180525/api.json +18 -8
- tccli/services/tke/v20180525/examples.json +2 -2
- tccli/services/tse/tse_client.py +159 -0
- tccli/services/tse/v20201207/api.json +147 -0
- tccli/services/tse/v20201207/examples.json +24 -0
- tccli/services/vod/v20180717/api.json +278 -24
- tccli/services/vod/v20180717/examples.json +4 -4
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +3 -3
- {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/RECORD +61 -41
- {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/license_files/LICENSE +0 -0
@@ -10,7 +10,8 @@ tccli teo DescribeTimingL4Data --cli-unfold-argument \
|
|
10
10
|
--Interval day \
|
11
11
|
--Area mainland \
|
12
12
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
13
|
-
--MetricNames l4Flow_inFlux
|
13
|
+
--MetricNames l4Flow_inFlux \
|
14
|
+
--ZoneIds zone-28kw53cmc6ky
|
14
15
|
```
|
15
16
|
|
16
17
|
Output:
|
@@ -59,6 +60,7 @@ tccli teo DescribeTimingL4Data --cli-unfold-argument \
|
|
59
60
|
--Area mainland \
|
60
61
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
61
62
|
--MetricNames l4Flow_inFlux \
|
63
|
+
--ZoneIds zone-28kw53cmc6ky \
|
62
64
|
--Filters.0.Key ruleId \
|
63
65
|
--Filters.0.Operator equals \
|
64
66
|
--Filters.0.Value rule-033950bf-6fc4-11ed-8ab2-525400a22580
|
@@ -234,6 +236,7 @@ tccli teo DescribeTimingL4Data --cli-unfold-argument \
|
|
234
236
|
--Area mainland \
|
235
237
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
236
238
|
--MetricNames l4Flow_inFlux \
|
239
|
+
--ZoneIds zone-28kw53cmc6ky \
|
237
240
|
--Filters.0.Key proxyId \
|
238
241
|
--Filters.0.Operator equals \
|
239
242
|
--Filters.0.Value sid-2c2uug8ubfmn
|
@@ -10,7 +10,8 @@ tccli teo DescribeTimingL7AnalysisData --cli-unfold-argument \
|
|
10
10
|
--Interval day \
|
11
11
|
--Area mainland \
|
12
12
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
13
|
-
--MetricNames l7Flow_request
|
13
|
+
--MetricNames l7Flow_request \
|
14
|
+
--ZoneIds zone-2o7b38ba1hvr
|
14
15
|
```
|
15
16
|
|
16
17
|
Output:
|
@@ -64,7 +65,8 @@ tccli teo DescribeTimingL7AnalysisData --cli-unfold-argument \
|
|
64
65
|
--Filters.0.Value test1 \
|
65
66
|
--Filters.1.Key tagValue \
|
66
67
|
--Filters.1.Operator equals \
|
67
|
-
--Filters.1.Value a.com b.com
|
68
|
+
--Filters.1.Value a.com b.com \
|
69
|
+
--ZoneIds zone-2o7b38ba1hvr
|
68
70
|
```
|
69
71
|
|
70
72
|
Output:
|
@@ -115,7 +117,8 @@ tccli teo DescribeTimingL7AnalysisData --cli-unfold-argument \
|
|
115
117
|
--MetricNames l7Flow_request \
|
116
118
|
--Filters.0.Key protocol \
|
117
119
|
--Filters.0.Operator equals \
|
118
|
-
--Filters.0.Value HTTP/1.0 HTTP/1.1
|
120
|
+
--Filters.0.Value HTTP/1.0 HTTP/1.1 \
|
121
|
+
--ZoneIds zone-2o7b38ba1hvr
|
119
122
|
```
|
120
123
|
|
121
124
|
Output:
|
@@ -10,7 +10,8 @@ tccli teo DescribeTimingL7CacheData --cli-unfold-argument \
|
|
10
10
|
--Interval day \
|
11
11
|
--Area mainland \
|
12
12
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
13
|
-
--MetricNames l7Cache_outFlux
|
13
|
+
--MetricNames l7Cache_outFlux \
|
14
|
+
--ZoneIds zone-2mzegj4vln5f
|
14
15
|
```
|
15
16
|
|
16
17
|
Output:
|
@@ -61,7 +62,8 @@ tccli teo DescribeTimingL7CacheData --cli-unfold-argument \
|
|
61
62
|
--MetricNames l7Cache_outFlux \
|
62
63
|
--Filters.0.Key statusCode \
|
63
64
|
--Filters.0.Operator equals \
|
64
|
-
--Filters.0.Value 1XX 2XX
|
65
|
+
--Filters.0.Value 1XX 2XX \
|
66
|
+
--ZoneIds zone-2mzegj4vln5f
|
65
67
|
```
|
66
68
|
|
67
69
|
Output:
|
@@ -115,7 +117,8 @@ tccli teo DescribeTimingL7CacheData --cli-unfold-argument \
|
|
115
117
|
--Filters.0.Value test1 \
|
116
118
|
--Filters.1.Key tagValue \
|
117
119
|
--Filters.1.Operator equals \
|
118
|
-
--Filters.1.Value a.com b.com
|
120
|
+
--Filters.1.Value a.com b.com \
|
121
|
+
--ZoneIds zone-2mzegj4vln5f
|
119
122
|
```
|
120
123
|
|
121
124
|
Output:
|
@@ -11,7 +11,8 @@ tccli teo DescribeTopL7AnalysisData --cli-unfold-argument \
|
|
11
11
|
--Limit 1 \
|
12
12
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
13
13
|
--EndTime 2022-08-29T19:17:59+08:00 \
|
14
|
-
--MetricName l7Flow_outFlux_url
|
14
|
+
--MetricName l7Flow_outFlux_url \
|
15
|
+
--ZoneIds zone-2mzegj4vln5f
|
15
16
|
```
|
16
17
|
|
17
18
|
Output:
|
@@ -54,7 +55,8 @@ tccli teo DescribeTopL7AnalysisData --cli-unfold-argument \
|
|
54
55
|
--Filters.0.Value test1 \
|
55
56
|
--Filters.1.Key tagValue \
|
56
57
|
--Filters.1.Operator equals \
|
57
|
-
--Filters.1.Value a.com b.com
|
58
|
+
--Filters.1.Value a.com b.com \
|
59
|
+
--ZoneIds zone-2mzegj4vln5f
|
58
60
|
```
|
59
61
|
|
60
62
|
Output:
|
@@ -94,7 +96,8 @@ tccli teo DescribeTopL7AnalysisData --cli-unfold-argument \
|
|
94
96
|
--MetricName l7Flow_outFlux_url \
|
95
97
|
--Filters.0.Key protocol \
|
96
98
|
--Filters.0.Operator equals \
|
97
|
-
--Filters.0.Value HTTP/1.0 HTTP/1.1
|
99
|
+
--Filters.0.Value HTTP/1.0 HTTP/1.1 \
|
100
|
+
--ZoneIds zone-2mzegj4vln5f
|
98
101
|
```
|
99
102
|
|
100
103
|
Output:
|
@@ -11,7 +11,8 @@ tccli teo DescribeTopL7CacheData --cli-unfold-argument \
|
|
11
11
|
--Limit 5 \
|
12
12
|
--StartTime 2022-07-31T00:00:00+08:00 \
|
13
13
|
--EndTime 2022-08-29T19:17:59+08:00 \
|
14
|
-
--MetricName l7Cache_outFlux_cacheType
|
14
|
+
--MetricName l7Cache_outFlux_cacheType \
|
15
|
+
--ZoneIds zone-2mzegj4vln5f
|
15
16
|
```
|
16
17
|
|
17
18
|
Output:
|
@@ -55,7 +56,8 @@ tccli teo DescribeTopL7CacheData --cli-unfold-argument \
|
|
55
56
|
--MetricName l7Cache_outFlux_cacheType \
|
56
57
|
--Filters.0.Key cacheType \
|
57
58
|
--Filters.0.Operator equals \
|
58
|
-
--Filters.0.Value miss hit
|
59
|
+
--Filters.0.Value miss hit \
|
60
|
+
--ZoneIds zone-2mzegj4vln5f
|
59
61
|
```
|
60
62
|
|
61
63
|
Output:
|
@@ -99,7 +101,8 @@ tccli teo DescribeTopL7CacheData --cli-unfold-argument \
|
|
99
101
|
--MetricName l7Cache_outFlux_cacheType \
|
100
102
|
--Filters.0.Key statusCode \
|
101
103
|
--Filters.0.Operator equals \
|
102
|
-
--Filters.0.Value 2XX 3XX
|
104
|
+
--Filters.0.Value 2XX 3XX \
|
105
|
+
--ZoneIds zone-2mzegj4vln5f
|
103
106
|
```
|
104
107
|
|
105
108
|
Output:
|
@@ -146,7 +149,8 @@ tccli teo DescribeTopL7CacheData --cli-unfold-argument \
|
|
146
149
|
--Filters.0.Value test1 \
|
147
150
|
--Filters.1.Key tagValue \
|
148
151
|
--Filters.1.Operator equals \
|
149
|
-
--Filters.1.Value a.com b.com
|
152
|
+
--Filters.1.Value a.com b.com \
|
153
|
+
--ZoneIds zone-2mzegj4vln5f
|
150
154
|
```
|
151
155
|
|
152
156
|
Output:
|
@@ -6,7 +6,7 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli tke DescribeIPAMD --cli-unfold-argument \
|
9
|
-
--ClusterId
|
9
|
+
--ClusterId cls-8k33qz0w
|
10
10
|
```
|
11
11
|
|
12
12
|
Output:
|
@@ -18,8 +18,11 @@ Output:
|
|
18
18
|
"EnableIPAMD": false,
|
19
19
|
"Phase": "running",
|
20
20
|
"Reason": "",
|
21
|
-
"RequestId": "
|
22
|
-
"SubnetIds":
|
21
|
+
"RequestId": "c692a3b6-11cd-4a9d-8e36-409545d332a2",
|
22
|
+
"SubnetIds": [
|
23
|
+
"subnet-imgoatdg"
|
24
|
+
],
|
25
|
+
"ClaimExpiredDuration": "300s"
|
23
26
|
}
|
24
27
|
}
|
25
28
|
```
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 关闭 WAF 防护**
|
2
|
+
|
3
|
+
关闭 WAF 防护
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse CloseWafProtection --cli-unfold-argument \
|
9
|
+
--GatewayId gateway-0f7c158e \
|
10
|
+
--Type Global
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "741e4e82-371d-48de-a843-867c69ff114d"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 新建 WAF 防护域名**
|
2
|
+
|
3
|
+
新建 WAF 防护域名
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse CreateWafDomains --cli-unfold-argument \
|
9
|
+
--GatewayId gateway-0f7c158e \
|
10
|
+
--Domains example.com
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "741e4e82-371d-48de-a843-867c69ff114d"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 开启 WAF 防护**
|
2
|
+
|
3
|
+
开启 WAF 防护
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse OpenWafProtection --cli-unfold-argument \
|
9
|
+
--GatewayId gateway-0f7c158e \
|
10
|
+
--Type Global
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "741e4e82-371d-48de-a843-867c69ff114d"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -89,6 +89,7 @@ Output:
|
|
89
89
|
"DescribeFileAttributesTask": null,
|
90
90
|
"RebuildMediaTask": null,
|
91
91
|
"QualityInspectTask": null,
|
92
|
+
"QualityEnhanceTask": null,
|
92
93
|
"RequestId": "sdfadf"
|
93
94
|
}
|
94
95
|
}
|
@@ -158,6 +159,7 @@ Output:
|
|
158
159
|
"DescribeFileAttributesTask": null,
|
159
160
|
"RebuildMediaTask": null,
|
160
161
|
"QualityInspectTask": null,
|
162
|
+
"QualityEnhanceTask": null,
|
161
163
|
"RequestId": "62597d15-3fad-4234-af1a-ed33602a6118"
|
162
164
|
}
|
163
165
|
}
|
@@ -274,6 +276,7 @@ Output:
|
|
274
276
|
"DescribeFileAttributesTask": null,
|
275
277
|
"RebuildMediaTask": null,
|
276
278
|
"QualityInspectTask": null,
|
279
|
+
"QualityEnhanceTask": null,
|
277
280
|
"RequestId": "sdfadf"
|
278
281
|
}
|
279
282
|
}
|
@@ -327,6 +330,7 @@ Output:
|
|
327
330
|
"DescribeFileAttributesTask": null,
|
328
331
|
"RebuildMediaTask": null,
|
329
332
|
"QualityInspectTask": null,
|
333
|
+
"QualityEnhanceTask": null,
|
330
334
|
"RequestId": "04db7d25-f590-414a-a341-8f1584f15f84"
|
331
335
|
}
|
332
336
|
}
|
@@ -20,7 +20,8 @@ Output:
|
|
20
20
|
"VoiceGender": 2,
|
21
21
|
"TaskType": 1,
|
22
22
|
"TaskID": "1234d751-fb5f-4805-889c-2fce9e8babcd",
|
23
|
-
"DateCreated": "2023-10-23T10:25:54+08:00"
|
23
|
+
"DateCreated": "2023-10-23T10:25:54+08:00",
|
24
|
+
"IsDeployed": true
|
24
25
|
},
|
25
26
|
{
|
26
27
|
"VoiceType": 222222,
|
@@ -28,7 +29,8 @@ Output:
|
|
28
29
|
"VoiceGender": 1,
|
29
30
|
"TaskType": 1,
|
30
31
|
"TaskID": "1234ed3d-4026-4e48-9926-382459e4abcd",
|
31
|
-
"DateCreated": "2023-10-20T15:38:28+08:00"
|
32
|
+
"DateCreated": "2023-10-20T15:38:28+08:00",
|
33
|
+
"IsDeployed": true
|
32
34
|
}
|
33
35
|
]
|
34
36
|
}
|