tccli 3.0.1379.1__py2.py3-none-any.whl → 3.0.1381.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/services/cbs/v20170312/api.json +6 -6
- tccli/services/cbs/v20170312/examples.json +6 -6
- tccli/services/dcdb/dcdb_client.py +243 -31
- tccli/services/dcdb/v20180411/api.json +348 -0
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ioa/v20220601/api.json +22 -13
- tccli/services/iotexplorer/iotexplorer_client.py +269 -57
- tccli/services/iotexplorer/v20190423/api.json +357 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/lke/v20231130/api.json +91 -8
- tccli/services/lkeap/v20240522/api.json +65 -19
- tccli/services/lkeap/v20240522/examples.json +6 -0
- tccli/services/mariadb/mariadb_client.py +220 -8
- tccli/services/mariadb/v20170312/api.json +330 -0
- tccli/services/mariadb/v20170312/examples.json +32 -0
- tccli/services/mna/mna_client.py +53 -0
- tccli/services/mna/v20210119/api.json +137 -0
- tccli/services/mna/v20210119/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +2 -2
- tccli/services/oceanus/v20190422/api.json +105 -17
- tccli/services/redis/v20180412/api.json +3 -3
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/tcb/v20180608/api.json +10 -0
- tccli/services/tcbr/v20220217/api.json +10 -0
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/v20180525/api.json +11 -11
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/waf/v20180125/api.json +1541 -158
- tccli/services/waf/v20180125/examples.json +56 -0
- tccli/services/waf/waf_client.py +391 -20
- tccli/services/wsa/v20250508/api.json +1 -1
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/RECORD +40 -40
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/license_files/LICENSE +0 -0
@@ -102,6 +102,14 @@
|
|
102
102
|
"title": "样例"
|
103
103
|
}
|
104
104
|
],
|
105
|
+
"CreateExport": [
|
106
|
+
{
|
107
|
+
"document": "本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。",
|
108
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateExport\n<公共请求参数>\n\n{\n \"TopicId\": \"ee20bb16-3025-4048-b81a-dd436373062e\",\n \"Query\": \"status:200\",\n \"Count\": 100,\n \"Order\": \"desc\",\n \"Format\": \"json\",\n \"From\": 1607499107000,\n \"To\": 1607499207000\n}",
|
109
|
+
"output": "{\n \"Response\": {\n \"ExportId\": \"57196a6a-7622-47be-bc92-d2ebea959a0f\",\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
|
110
|
+
"title": "创建日志导出"
|
111
|
+
}
|
112
|
+
],
|
105
113
|
"CreateHost": [
|
106
114
|
{
|
107
115
|
"document": "",
|
@@ -228,6 +236,14 @@
|
|
228
236
|
"title": "删除域名规则白名单"
|
229
237
|
}
|
230
238
|
],
|
239
|
+
"DeleteExport": [
|
240
|
+
{
|
241
|
+
"document": "",
|
242
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteExport\n<公共请求参数>\n\n{\n \"ExportId\": \"57196a6a-7622-47be-bc92-d2ebea959a0f\"\n}",
|
243
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
|
244
|
+
"title": "删除日志导出"
|
245
|
+
}
|
246
|
+
],
|
231
247
|
"DeleteHost": [
|
232
248
|
{
|
233
249
|
"document": "",
|
@@ -566,6 +582,14 @@
|
|
566
582
|
"title": "查询用户SAASWAF某个实例的域名信息"
|
567
583
|
}
|
568
584
|
],
|
585
|
+
"DescribeExports": [
|
586
|
+
{
|
587
|
+
"document": "",
|
588
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeExports\n<公共请求参数>\n\n{\n \"TopicId\": \"ee20bb16-3025-4048-b81a-dd436373062e\",\n \"Offset\": 0,\n \"Limit\": 5\n}",
|
589
|
+
"output": "{\n \"Response\": {\n \"Exports\": [\n {\n \"TopicId\": \"ee20bb16-3025-4048-b81a-dd436373062e\",\n \"ExportId\": \"export-57196a6a-7622-47be-bc92-d2ebea959a0f\",\n \"Query\": \"status:200\",\n \"FileName\": \"log_2075178708_ee20bb16-3025-4048-b81a-dd436373062f_20210107_xxxxxx_1610001073.tar.gz\",\n \"CosPath\": \"https://clstest01-xxxxxx.cos.ap-shanghai.myqcloud.com/xxxxxx\",\n \"FileSize\": 6112993,\n \"Order\": \"desc\",\n \"Format\": \"json\",\n \"Count\": 100000,\n \"Status\": \"Completed\",\n \"From\": 1607499207000,\n \"To\": 1607499207000,\n \"CreateTime\": \"2020-08-08 12:12:12\",\n \"SyntaxRule\": 1\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
|
590
|
+
"title": "获取日志导出列表"
|
591
|
+
}
|
592
|
+
],
|
569
593
|
"DescribeFindDomainList": [
|
570
594
|
{
|
571
595
|
"document": "",
|
@@ -638,6 +662,14 @@
|
|
638
662
|
"title": "Waf IP封堵状态查询"
|
639
663
|
}
|
640
664
|
],
|
665
|
+
"DescribeLogHistogram": [
|
666
|
+
{
|
667
|
+
"document": "根据指定的检索条件,获取符合检索条件的日志分布直方图",
|
668
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogHistogram\n<公共请求参数>\n\n{\n \"From\": 1685086740862,\n \"To\": 1685087640862,\n \"Interval\": 30000,\n \"TopicId\": \"2e7b5c4d-1be3-484a-xxxx-8705adb56dcd\",\n \"Query\": \"\",\n \"SyntaxRule\": 1\n}",
|
669
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 14,\n \"Interval\": 30000,\n \"HistogramInfos\": [\n {\n \"Count\": 0,\n \"BTime\": 1685086740000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086770000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086800000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086830000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086860000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086890000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086920000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086950000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685086980000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087010000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087040000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087070000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087100000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087130000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087160000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087190000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087220000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087250000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087280000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087310000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087340000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087370000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087400000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087430000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087460000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087490000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087520000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087550000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087580000\n },\n {\n \"Count\": 14,\n \"BTime\": 1685087610000\n },\n {\n \"Count\": 0,\n \"BTime\": 1685087640000\n }\n ],\n \"RequestId\": \"4279ae1f-cbd6-438b-xxxx-6df5a8152afd\"\n }\n}",
|
670
|
+
"title": "获取日志分布直方图"
|
671
|
+
}
|
672
|
+
],
|
641
673
|
"DescribeModuleStatus": [
|
642
674
|
{
|
643
675
|
"document": "",
|
@@ -782,6 +814,14 @@
|
|
782
814
|
"title": "查询Top5的攻击域名"
|
783
815
|
}
|
784
816
|
],
|
817
|
+
"DescribeTopics": [
|
818
|
+
{
|
819
|
+
"document": "获取日志主题列表",
|
820
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"Filters\": [],\n \"Offset\": 10,\n \"Limit\": 30\n}",
|
821
|
+
"output": "{\n \"Response\": {\n \"Topics\": [\n {\n \"LogsetId\": \"46c34030-f7fd-xxxx-91ee-053215c2bf9c\",\n \"TopicId\": \"305f8be8-25a9-xxxx-8f05-361dafab39fe\",\n \"TopicName\": \"attack-log\",\n \"PartitionCount\": 1,\n \"Index\": true,\n \"AssumerName\": \"\",\n \"SubAssumerName\": \"\",\n \"CreateTime\": \"2022-12-30 16:02:52\",\n \"Status\": true,\n \"Tags\": [],\n \"AutoSplit\": true,\n \"MaxSplitPartitions\": 50,\n \"StorageType\": \"hot\",\n \"Period\": 27,\n \"Describes\": \"\",\n \"HotPeriod\": 0,\n \"BizType\": 0,\n \"IsWebTracking\": false,\n \"Extends\": {\n \"AnonymousAccess\": null\n }\n }\n ],\n \"RequestId\": \"cdb48d76-9be0-xxxx-8654-56290de7442e\",\n \"TotalCount\": 1\n }\n}",
|
822
|
+
"title": "获取日志主题列表"
|
823
|
+
}
|
824
|
+
],
|
785
825
|
"DescribeUserCdcClbWafRegions": [
|
786
826
|
{
|
787
827
|
"document": "",
|
@@ -1292,6 +1332,14 @@
|
|
1292
1332
|
"title": "修改规则白名单"
|
1293
1333
|
}
|
1294
1334
|
],
|
1335
|
+
"ModifyProtectionLevel": [
|
1336
|
+
{
|
1337
|
+
"document": "",
|
1338
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProtectionLevel\n<公共请求参数>\n\n{\n \"Domain\": \"admin.qcloudwaf.com\",\n \"Level\": 100\n}",
|
1339
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"46757c6e-786c-48ca-b5c4-9fa29ece1c9e\"\n }\n}",
|
1340
|
+
"title": "更改防护等级"
|
1341
|
+
}
|
1342
|
+
],
|
1295
1343
|
"ModifyProtectionStatus": [
|
1296
1344
|
{
|
1297
1345
|
"document": "",
|
@@ -1416,6 +1464,14 @@
|
|
1416
1464
|
"title": "搜索攻击日志详情内容"
|
1417
1465
|
}
|
1418
1466
|
],
|
1467
|
+
"SearchLog": [
|
1468
|
+
{
|
1469
|
+
"document": "查询http响应状态码(http_code)为200的日志",
|
1470
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchLog\n<公共请求参数>\n\n{\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"From\": 1679901909686,\n \"To\": 1679902809686,\n \"Query\": \"http_code:\\\"200\\\"\",\n \"Limit\": 1,\n \"Sort\": \"desc\",\n \"UseNewAnalysis\": true,\n \"SyntaxRule\": 1\n}",
|
1471
|
+
"output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC0zZDVmZGI2NC1jNDZkLTQ2NzktYWM2OC1jYzg2NjUxYmVlMWExNjc5OTAyODEwNDM0\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": null,\n \"Results\": [\n {\n \"Time\": 1679902806070,\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"TopicName\": \"CDN Demo访问日志日志主题_10000100xxxx\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"LogJson\": \"{\\\"referer\\\":\\\"http://qwunsag.2022.qq.com/prizes?activity_code=AVGCHaQFX02Eb\\\",\\\"method\\\":\\\"GET\\\",\\\"isp\\\":\\\"中国联通\\\",\\\"remote_port\\\":\\\"45088\\\",\\\"ua\\\":\\\"Mozilla/5.0 (Linux; Android 9; INE-AL00 Build/HUAWEIINE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3211 MMWEBSDK/20210601 Mobile Safari/537.36 MMWEBID/6389 MicroMessenger/8.0.11.1980(0x28000B5B) Process/toolsmp WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64\\\",\\\"uuid\\\":\\\"acf1010c853f4a24bb3e92cc34e283e2\\\",\\\"version\\\":\\\"1\\\",\\\"file_size\\\":\\\"186358\\\",\\\"url\\\":\\\"/loxtxt/979884858.png\\\",\\\"request_range\\\":\\\"-\\\",\\\"rsp_size\\\":\\\"186830\\\",\\\"hit\\\":\\\"hit\\\",\\\"request_time\\\":\\\"2808\\\",\\\"http_code\\\":\\\"200\\\",\\\"param\\\":\\\"-\\\",\\\"sys_address\\\":\\\"9.130.154.208\\\",\\\"proto\\\":\\\"HTTPS\\\",\\\"host\\\":\\\"test.2022.cls.cn\\\",\\\"sys_datasource\\\":\\\"cq.3.4.v1.2.17\\\",\\\"client_ip\\\":\\\"116.116.247.167\\\",\\\"time\\\":\\\"1679902806070\\\",\\\"app_id\\\":\\\"1302700768\\\",\\\"prov\\\":\\\"内蒙古自治区\\\",\\\"timestamp\\\":\\\"2023-03-27T15:40:06+08:00\\\"}\",\n \"RawLog\": \"\",\n \"IndexStatus\": \"\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": null,\n \"RequestId\": \"79f593e5-1374-4463-xxxx-c49d0b3c5290\",\n \"SamplingRate\": 0\n }\n}",
|
1472
|
+
"title": "查询日志"
|
1473
|
+
}
|
1474
|
+
],
|
1419
1475
|
"SwitchDomainRules": [
|
1420
1476
|
{
|
1421
1477
|
"document": "切换域名的规则开关",
|