tccli 3.0.1207.1__py2.py3-none-any.whl → 3.0.1209.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/services/__init__.py +3 -0
- tccli/services/advisor/v20200721/api.json +1 -1
- tccli/services/batch/v20170312/api.json +20 -2
- tccli/services/bma/v20221115/examples.json +1 -1
- tccli/services/ccc/v20200210/api.json +28 -1
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +475 -0
- tccli/services/cls/v20201016/examples.json +39 -7
- tccli/services/cynosdb/v20190107/api.json +11 -0
- tccli/services/dc/dc_client.py +126 -73
- tccli/services/dc/v20180410/api.json +300 -0
- tccli/services/dc/v20180410/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +273 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/ess/v20201111/api.json +13 -13
- tccli/services/ess/v20201111/examples.json +10 -10
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/faceid/v20180301/api.json +11 -1
- tccli/services/gwlb/__init__.py +4 -0
- tccli/services/gwlb/gwlb_client.py +1096 -0
- tccli/services/gwlb/v20240906/api.json +1807 -0
- tccli/services/gwlb/v20240906/examples.json +155 -0
- tccli/services/ioa/v20220601/api.json +18 -1
- tccli/services/oceanus/v20190422/api.json +4 -4
- tccli/services/privatedns/privatedns_client.py +57 -4
- tccli/services/privatedns/v20201028/api.json +101 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +4 -4
- tccli/services/tke/tke_client.py +4 -57
- tccli/services/tke/v20180525/api.json +2 -74
- tccli/services/tke/v20180525/examples.json +0 -8
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +23 -14
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +9 -0
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/RECORD +45 -41
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/license_files/LICENSE +0 -0
@@ -67,25 +67,25 @@
|
|
67
67
|
"CreateConfig": [
|
68
68
|
{
|
69
69
|
"document": "FilterKeyRegex:Loglistener日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。\n 注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。\n",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"test2.8.8\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [],\n \"LogType\": \"minimalist_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [\n {\n \"Key\": \"__CONTENT__\",\n \"Regex\": \"400|500\"\n }\n ],\n \"Backtracking\": 0,\n \"MetadataType\": 0,\n \"MetaTags\": [\n {\n \"Key\": \"\",\n \"Value\": \"\"\n }\n ],\n \"PathRegex\": \"\"\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":0}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
70
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"test2.8.8\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [],\n \"LogType\": \"minimalist_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [\n {\n \"Key\": \"__CONTENT__\",\n \"Regex\": \"400|500\"\n }\n ],\n \"Backtracking\": 0,\n \"MetadataType\": 0,\n \"MetaTags\": [\n {\n \"Key\": \"\",\n \"Value\": \"\"\n }\n ],\n \"PathRegex\": \"\",\n \"AdvanceFilterRules\": []\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":0}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"ConfigId\": \"a2c6342c-270a-4468-86cf-92625e468888\",\n \"RequestId\": \"a21b16c1-4da9-45a1-a612-59e5757384f3\"\n }\n}",
|
72
72
|
"title": "创建单行全文"
|
73
73
|
},
|
74
74
|
{
|
75
75
|
"document": "创建组合解析配置",
|
76
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"my-test\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [],\n \"LogType\": \"user_define_log\",\n \"UserDefineRule\": \"{\\\"processors\\\":[{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"Delimiter\\\":\\\",\\\",\\\"ExtractKeys\\\":[\\\"time\\\",\\\"msg1\\\",\\\"msg2\\\"]},\\\"processors\\\":[{\\\"type\\\":\\\"processor_timeformat\\\",\\\"detail\\\":{\\\"KeepSource\\\":true,\\\"TimeFormat\\\":\\\"%s\\\",\\\"SourceKey\\\":\\\"time\\\"}},{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"KeepSource\\\":false,\\\"Delimiter\\\":\\\"|\\\",\\\"SourceKey\\\":\\\"msg1\\\",\\\"ExtractKeys\\\":[\\\"submsg1\\\",\\\"submsg2\\\",\\\"submsg3\\\"]},\\\"processors\\\":[]},{\\\"type\\\":\\\"processor_split_key_value\\\",\\\"detail\\\":{\\\"KeepSource\\\":false,\\\"Delimiter\\\":\\\":\\\",\\\"SourceKey\\\":\\\"msg2\\\"}}]}]}\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [],\n \"UnMatchUpLoadSwitch\": true,\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"Backtracking\": 0,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n }\n ],\n \"PathRegex\": \"\"\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":3600}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
76
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"my-test\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [],\n \"LogType\": \"user_define_log\",\n \"UserDefineRule\": \"{\\\"processors\\\":[{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"Delimiter\\\":\\\",\\\",\\\"ExtractKeys\\\":[\\\"time\\\",\\\"msg1\\\",\\\"msg2\\\"]},\\\"processors\\\":[{\\\"type\\\":\\\"processor_timeformat\\\",\\\"detail\\\":{\\\"KeepSource\\\":true,\\\"TimeFormat\\\":\\\"%s\\\",\\\"SourceKey\\\":\\\"time\\\"}},{\\\"type\\\":\\\"processor_split_delimiter\\\",\\\"detail\\\":{\\\"KeepSource\\\":false,\\\"Delimiter\\\":\\\"|\\\",\\\"SourceKey\\\":\\\"msg1\\\",\\\"ExtractKeys\\\":[\\\"submsg1\\\",\\\"submsg2\\\",\\\"submsg3\\\"]},\\\"processors\\\":[]},{\\\"type\\\":\\\"processor_split_key_value\\\",\\\"detail\\\":{\\\"KeepSource\\\":false,\\\"Delimiter\\\":\\\":\\\",\\\"SourceKey\\\":\\\"msg2\\\"}}]}]}\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [],\n \"UnMatchUpLoadSwitch\": true,\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"Backtracking\": 0,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n }\n ],\n \"PathRegex\": \"\",\n \"AdvanceFilterRules\": []\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":3600}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
77
77
|
"output": "{\n \"Response\": {\n \"ConfigId\": \"d72dae22-084c-4d20-a81b-f42e25c88888\",\n \"RequestId\": \"c708e9af-231e-4a94-a888-3ab24e5fbd97\"\n }\n}",
|
78
78
|
"title": "创建组合解析配置"
|
79
79
|
},
|
80
80
|
{
|
81
81
|
"document": "创建采集规则配置",
|
82
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"my-test-minimalist_log\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [\n {\n \"Type\": \"File\",\n \"Value\": \"/data/log/mryx/my.log\"\n }\n ],\n \"LogType\": \"minimalist_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [],\n \"Backtracking\": 0,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n },\n {\n \"Key\": \"wd\",\n \"Value\": \"shop\"\n }\n ],\n \"PathRegex\": \"\"\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentMaxDepth\\\":10}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
82
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"my-test-minimalist_log\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [\n {\n \"Type\": \"File\",\n \"Value\": \"/data/log/mryx/my.log\"\n }\n ],\n \"LogType\": \"minimalist_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [],\n \"Backtracking\": 0,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n },\n {\n \"Key\": \"wd\",\n \"Value\": \"shop\"\n }\n ],\n \"PathRegex\": \"\",\n \"AdvanceFilterRules\": [\n {\n \"Key\": \"__CONTENT__\",\n \"Rule\": 0,\n \"Value\": \"400|500\"\n }\n ]\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentMaxDepth\\\":10}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
83
83
|
"output": "{\n \"Response\": {\n \"ConfigId\": \"b5a78efe-984c-47e2-99a8-52dbd1388888\",\n \"RequestId\": \"037a6def-51d4-449b-a894-7cd2410bfae1\"\n }\n}",
|
84
84
|
"title": "创建采集规则配置"
|
85
85
|
},
|
86
86
|
{
|
87
87
|
"document": "",
|
88
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"单行完全正则-文件日志\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [\n {\n \"Type\": \"File\",\n \"Value\": \"/data/log/my.log\"\n }\n ],\n \"LogType\": \"fullregex_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"BeginRegex\": \"\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\\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\\w+/\\\\w+/\\\\w+\\\\.\\\\w+\\\"\\\\}\\\\],\\\"\\\\w+\\\":\\\"\\\\w+\\\\.\\\\d+\\\\.\\\\d+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\",\\\"\\\\w+\\\":\\\\{\\\"\\\\w+\\\":\\\\d+,\\\"\\\\w+\\\":\\\\[\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\d+\\\\|\\\\d+\\\"\\\\}\\\\],\\\"\\\\w+\\\":\\\\d+,\\\"\\\\w+\\\":\\\\d+,\\\"\\\\w+\\\":\\\\[\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\"\\\\}\\\\],\\\"\\\\w+\\\":\\\"\\\",\\\"\\\\w+\\\":\\\\[\\\\]\\\\},\\\"\\\\w+\\\":\\\"\\\\{\\\\\\\\\\\"\\\\w+\\\\\\\\\\\":\\\\d+\\\\}\\\",\\\"\\\\w+\\\"[^\\\"]+([^\\\\}]+).*\",\n \"Keys\": [\n \"Version\",\n \"ConfigId\"\n ],\n \"TimeKey\": \"log_time\",\n \"TimeFormat\": \"%Y-%m-%d %H:%M:%S.%f\",\n \"FilterKeyRegex\": [\n {\n \"Key\": \"key1\",\n \"Regex\": \"value1\"\n },\n {\n \"Key\": \"key2\",\n \"Regex\": \"velue2\"\n }\n ],\n \"UnMatchUpLoadSwitch\": true,\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"Backtracking\": 10,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n }\n ],\n \"PathRegex\": \"\"\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentMaxDepth\\\":10,\\\"ClsAgentFileTimeout\\\":3600}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
88
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfig\n<公共请求参数>\n\n{\n \"Name\": \"单行完全正则-文件日志\",\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [\n {\n \"Type\": \"File\",\n \"Value\": \"/data/log/my.log\"\n }\n ],\n \"LogType\": \"fullregex_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"BeginRegex\": \"\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\\{\\\"\\\\w+\\\"[^\\\"]+([^,]+),\\\"\\\\w+\\\":\\\"/\\\\w+/\\\\w+/\\\\*\\\\*/\\\\w+\\\\.\\\\w+\\\",\\\"\\\\w+\\\":\\\\[\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"/\\\\w+/\\\\w+/\\\\w+\\\\.\\\\w+\\\"\\\\}\\\\],\\\"\\\\w+\\\":\\\"\\\\w+\\\\.\\\\d+\\\\.\\\\d+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\",\\\"\\\\w+\\\":\\\\{\\\"\\\\w+\\\":\\\\d+,\\\"\\\\w+\\\":\\\\[\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\d+\\\\|\\\\d+\\\"\\\\}\\\\],\\\"\\\\w+\\\":\\\\d+,\\\"\\\\w+\\\":\\\\d+,\\\"\\\\w+\\\":\\\\[\\\\{\\\"\\\\w+\\\":\\\"\\\\w+\\\",\\\"\\\\w+\\\":\\\"\\\\w+\\\"\\\\}\\\\],\\\"\\\\w+\\\":\\\"\\\",\\\"\\\\w+\\\":\\\\[\\\\]\\\\},\\\"\\\\w+\\\":\\\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S.%f\",\n \"FilterKeyRegex\": [\n {\n \"Key\": \"key1\",\n \"Regex\": \"value1\"\n },\n {\n \"Key\": \"key2\",\n \"Regex\": \"velue2\"\n }\n ],\n \"UnMatchUpLoadSwitch\": true,\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"Backtracking\": 10,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n }\n ],\n \"PathRegex\": \"\",\n \"AdvanceFilterRules\": []\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentMaxDepth\\\":10,\\\"ClsAgentFileTimeout\\\":3600}\",\n \"Output\": \"6bf3355c-3c88-4566-89c8-76c3ca37bae9\"\n}",
|
89
89
|
"output": "{\n \"Response\": {\n \"ConfigId\": \"8e63fe9a-5f36-49b0-bdbf-ab1c29e58888\",\n \"RequestId\": \"420f4f07-2134-4167-9442-9ac6c6ffe3d8\"\n }\n}",
|
90
90
|
"title": "创建单行完全正则-文件日志"
|
91
91
|
}
|
@@ -186,6 +186,14 @@
|
|
186
186
|
"title": "创建机器组"
|
187
187
|
}
|
188
188
|
],
|
189
|
+
"CreateNoticeContent": [
|
190
|
+
{
|
191
|
+
"document": "创建通知内容信息",
|
192
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNoticeContent\n<公共请求参数>\n\n{\n \"Name\": \"testEmail\",\n \"Type\": 0,\n \"NoticeContents\": [\n {\n \"Type\": \"Email\",\n \"TriggerContent\": {\n \"Title\": \"title\",\n \"Content\": \"this is content\",\n \"Headers\": [\n \"Content-Type:application/json\"\n ]\n },\n \"RecoveryContent\": {\n \"Title\": \"title\",\n \"Content\": \"this is content\",\n \"Headers\": [\n \"Content-Type:application/json\"\n ]\n }\n }\n ]\n}",
|
193
|
+
"output": "{\n \"Response\": {\n \"NoticeContentId\": \"noticetemplate-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
194
|
+
"title": "创建通知内容信息"
|
195
|
+
}
|
196
|
+
],
|
189
197
|
"CreateScheduledSql": [
|
190
198
|
{
|
191
199
|
"document": "创建ScheduledSQL任务",
|
@@ -338,6 +346,14 @@
|
|
338
346
|
"title": "删除机器组ip或者label"
|
339
347
|
}
|
340
348
|
],
|
349
|
+
"DeleteNoticeContent": [
|
350
|
+
{
|
351
|
+
"document": "删除通知内容配置",
|
352
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNoticeContent\n<公共请求参数>\n\n{\n \"NoticeContentId\": \"noticetemplate-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n}",
|
353
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
354
|
+
"title": "删除通知内容配置"
|
355
|
+
}
|
356
|
+
],
|
341
357
|
"DeleteScheduledSql": [
|
342
358
|
{
|
343
359
|
"document": "",
|
@@ -398,7 +414,7 @@
|
|
398
414
|
{
|
399
415
|
"document": "获取特殊采集配置",
|
400
416
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConfigExtras\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"configExtraId\",\n \"Values\": [\n \"xxxx-xxx-xxxx\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
401
|
-
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":3600}\",\n \"CollectInfos\": [\n {\n \"CollectConfigs\": [\n {\n \"Name\": \"container_name\"\n },\n {\n \"Name\": \"namespace\"\n },\n {\n \"Name\": \"pod_name\"\n },\n {\n \"Name\": \"pod_ip\"\n }\n ],\n \"Type\": 0\n },\n {\n \"CollectConfigs\": [],\n \"Type\": 1\n }\n ],\n \"ConfigExtraId\": \"26ea1681-dfef-4429-a84f-3450d5d46796\",\n \"ConfigFlag\": \"label_k8s\",\n \"ContainerFile\": {\n \"Container\": \"\",\n \"CustomLabels\": null,\n \"ExcludeLabels\": null,\n \"ExcludeNamespace\": \"\",\n \"FilePaths\": [],\n \"FilePattern\": \"\",\n \"IncludeLabels\": null,\n \"LogPath\": \"\",\n \"Namespace\": \"\",\n \"WorkLoad\": {\n \"Container\": \"\",\n \"Kind\": \"\",\n \"Name\": \"\",\n \"Namespace\": \"\"\n }\n },\n \"ContainerStdout\": {\n \"AllContainers\": true,\n \"Container\": \"\",\n \"CustomLabels\": null,\n \"ExcludeLabels\": null,\n \"ExcludeNamespace\": \"\",\n \"IncludeLabels\": null,\n \"Namespace\": \"*\",\n \"WorkLoads\": null\n },\n \"CreateTime\": \"2023-12-04 14:32:35\",\n \"ExcludePaths\": null,\n \"ExtractRule\": {\n \"Address\": \"\",\n \"Backtracking\": 0,\n \"BeginRegex\": \"\",\n \"Delimiter\": \"\",\n \"EventLogRules\": [],\n \"FilterKeyRegex\": [],\n \"IsGBK\": 0,\n \"JsonStandard\": 0,\n \"Keys\": [\n \"__CONTENT__\"\n ],\n \"LogRegex\": \"\",\n \"MetaTags\": [],\n \"MetadataType\": 0,\n \"ParseProtocol\": \"\",\n \"PathRegex\": \"\",\n \"Protocol\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchLogKey\": null,\n \"UnMatchUpLoadSwitch\": false\n },\n \"GroupId\": \"886bf7a8-7340-4314-8d64-b360da0ffd78\",\n \"HostFile\": {\n \"CustomLabels\": null,\n \"FilePattern\": \"\",\n \"LogPath\": \"\"\n },\n \"LogFormat\": \"\",\n \"LogType\": \"minimalist_log\",\n \"LogsetId\": \"40907915-faa6-46e0-985f-b2fa8c17a080\",\n \"LogsetName\": \"logset-test\",\n \"Name\": \"config-test-886bf7a8-7340-4314-8d64-b360da0ffd78\",\n \"TopicId\": \"b2dcf2e5-9582-4c87-9286-cccccb53889d\",\n \"TopicName\": \"topic-test\",\n \"Type\": \"container_stdout\",\n \"UpdateTime\": \"2023-12-04 14:32:34\",\n \"UserDefineRule\": \"\"\n }\n ],\n \"RequestId\": \"4e48c681-ebf8-4df1-bf0a-51f689117ac6\",\n \"TotalCount\": 1\n }\n}",
|
417
|
+
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":3600}\",\n \"CollectInfos\": [\n {\n \"CollectConfigs\": [\n {\n \"Name\": \"container_name\"\n },\n {\n \"Name\": \"namespace\"\n },\n {\n \"Name\": \"pod_name\"\n },\n {\n \"Name\": \"pod_ip\"\n }\n ],\n \"Type\": 0\n },\n {\n \"CollectConfigs\": [],\n \"Type\": 1\n }\n ],\n \"ConfigExtraId\": \"26ea1681-dfef-4429-a84f-3450d5d46796\",\n \"ConfigFlag\": \"label_k8s\",\n \"ContainerFile\": {\n \"Container\": \"\",\n \"CustomLabels\": null,\n \"ExcludeLabels\": null,\n \"ExcludeNamespace\": \"\",\n \"FilePaths\": [],\n \"FilePattern\": \"\",\n \"IncludeLabels\": null,\n \"LogPath\": \"\",\n \"Namespace\": \"\",\n \"WorkLoad\": {\n \"Container\": \"\",\n \"Kind\": \"\",\n \"Name\": \"\",\n \"Namespace\": \"\"\n }\n },\n \"ContainerStdout\": {\n \"AllContainers\": true,\n \"Container\": \"\",\n \"CustomLabels\": null,\n \"ExcludeLabels\": null,\n \"ExcludeNamespace\": \"\",\n \"IncludeLabels\": null,\n \"Namespace\": \"*\",\n \"WorkLoads\": null\n },\n \"CreateTime\": \"2023-12-04 14:32:35\",\n \"ExcludePaths\": null,\n \"ExtractRule\": {\n \"Address\": \"\",\n \"AdvanceFilterRules\": null,\n \"Backtracking\": 0,\n \"BeginRegex\": \"\",\n \"Delimiter\": \"\",\n \"EventLogRules\": [],\n \"FilterKeyRegex\": [],\n \"IsGBK\": 0,\n \"JsonStandard\": 0,\n \"Keys\": [\n \"__CONTENT__\"\n ],\n \"LogRegex\": \"\",\n \"MetaTags\": [],\n \"MetadataType\": 0,\n \"ParseProtocol\": \"\",\n \"PathRegex\": \"\",\n \"Protocol\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchLogKey\": null,\n \"UnMatchUpLoadSwitch\": false\n },\n \"GroupId\": \"886bf7a8-7340-4314-8d64-b360da0ffd78\",\n \"HostFile\": {\n \"CustomLabels\": null,\n \"FilePattern\": \"\",\n \"LogPath\": \"\"\n },\n \"LogFormat\": \"\",\n \"LogType\": \"minimalist_log\",\n \"LogsetId\": \"40907915-faa6-46e0-985f-b2fa8c17a080\",\n \"LogsetName\": \"logset-test\",\n \"Name\": \"config-test-886bf7a8-7340-4314-8d64-b360da0ffd78\",\n \"TopicId\": \"b2dcf2e5-9582-4c87-9286-cccccb53889d\",\n \"TopicName\": \"topic-test\",\n \"Type\": \"container_stdout\",\n \"UpdateTime\": \"2023-12-04 14:32:34\",\n \"UserDefineRule\": \"\"\n }\n ],\n \"RequestId\": \"4e48c681-ebf8-4df1-bf0a-51f689117ac6\",\n \"TotalCount\": 1\n }\n}",
|
402
418
|
"title": "获取特殊采集配置"
|
403
419
|
}
|
404
420
|
],
|
@@ -532,7 +548,7 @@
|
|
532
548
|
{
|
533
549
|
"document": "获取机器组绑定的采集规则配置",
|
534
550
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMachineGroupConfigs\n<公共请求参数>\n\n{\n \"GroupId\": \"01fd5bcc-d7d4-4edb-9ff5-7ecfc305b831\"\n}",
|
535
|
-
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"AdvancedConfig\": \"\",\n \"ConfigId\": \"16c904ed-db2a-4ba4-b6fd-0f5f94f71111\",\n \"CreateTime\": \"2023-06-28 15:58:16\",\n \"ExcludePaths\": null,\n \"ExtractRule\": {\n \"Address\": \"\",\n \"Backtracking\": -1,\n \"BeginRegex\": \"\",\n \"Delimiter\": \"\",\n \"EventLogRules\": [],\n \"FilterKeyRegex\": [],\n \"IsGBK\": 0,\n \"JsonStandard\": 0,\n \"Keys\": null,\n \"LogRegex\": \"\",\n \"MetaTags\": [],\n \"MetadataType\": 0,\n \"ParseProtocol\": \"\",\n \"PathRegex\": \"\",\n \"Protocol\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"UnMatchUpLoadSwitch\": false\n },\n \"LogFormat\": \"\",\n \"LogType\": \"json_log\",\n \"Name\": \"cls_hkff7p5e_test_c_eks\",\n \"Output\": \"a004adec-c87a-4179-b0eb-8f7ee4ec1111\",\n \"Path\": \"/var/log/eks-log-agent/test-c/*/*/**/*.log\",\n \"UpdateTime\": \"2023-11-16 21:42:48\",\n \"UserDefineRule\": \"\"\n }\n ],\n \"RequestId\": \"983cd59e-7a7a-48aa-a16f-b0f0275c2288\"\n }\n}",
|
551
|
+
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"AdvancedConfig\": \"\",\n \"ConfigId\": \"16c904ed-db2a-4ba4-b6fd-0f5f94f71111\",\n \"CreateTime\": \"2023-06-28 15:58:16\",\n \"ExcludePaths\": null,\n \"ExtractRule\": {\n \"Address\": \"\",\n \"AdvanceFilterRules\": [],\n \"Backtracking\": -1,\n \"BeginRegex\": \"\",\n \"Delimiter\": \"\",\n \"EventLogRules\": [],\n \"FilterKeyRegex\": [],\n \"IsGBK\": 0,\n \"JsonStandard\": 0,\n \"Keys\": null,\n \"LogRegex\": \"\",\n \"MetaTags\": [],\n \"MetadataType\": 0,\n \"ParseProtocol\": \"\",\n \"PathRegex\": \"\",\n \"Protocol\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"UnMatchUpLoadSwitch\": false\n },\n \"LogFormat\": \"\",\n \"LogType\": \"json_log\",\n \"Name\": \"cls_hkff7p5e_test_c_eks\",\n \"Output\": \"a004adec-c87a-4179-b0eb-8f7ee4ec1111\",\n \"Path\": \"/var/log/eks-log-agent/test-c/*/*/**/*.log\",\n \"UpdateTime\": \"2023-11-16 21:42:48\",\n \"UserDefineRule\": \"\"\n }\n ],\n \"RequestId\": \"983cd59e-7a7a-48aa-a16f-b0f0275c2288\"\n }\n}",
|
536
552
|
"title": "获取机器组绑定的采集规则配置"
|
537
553
|
}
|
538
554
|
],
|
@@ -552,6 +568,14 @@
|
|
552
568
|
"title": "获取机器状态"
|
553
569
|
}
|
554
570
|
],
|
571
|
+
"DescribeNoticeContents": [
|
572
|
+
{
|
573
|
+
"document": "获取通知内容配置列表。",
|
574
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNoticeContents\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"name\",\n \"Values\": [\n \"test\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
575
|
+
"output": "{\n \"Response\": {\n \"NoticeContents\": [\n {\n \"NoticeContentId\": \"noticetemplate-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"Name\": \"test\",\n \"Type\": 0,\n \"NoticeContents\": [\n {\n \"Type\": \"Sms\",\n \"TriggerContent\": {\n \"Title\": \"title\",\n \"Content\": \"this is content\",\n \"Headers\": []\n },\n \"RecoveryContent\": {\n \"Title\": \"title\",\n \"Content\": \"this is content\",\n \"Headers\": [\n \"Content-Type:application/json\"\n ]\n }\n }\n ],\n \"Flag\": 0,\n \"Uin\": 100001,\n \"SubUin\": 100001,\n \"CreateTime\": 1693213128,\n \"UpdateTime\": 1693213128\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
576
|
+
"title": "获取通知内容配置列表。"
|
577
|
+
}
|
578
|
+
],
|
555
579
|
"DescribePartitions": [
|
556
580
|
{
|
557
581
|
"document": "",
|
@@ -641,7 +665,7 @@
|
|
641
665
|
"ModifyConfig": [
|
642
666
|
{
|
643
667
|
"document": "FilterKeyRegex:Loglistener日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。\n 注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。\n",
|
644
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConfig\n<公共请求参数>\n\n{\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [\n {\n \"Type\": \"Path\",\n \"Value\": \"/data/log/my.log\"\n }\n ],\n \"Name\": \"test2.8.8\",\n \"LogType\": \"minimalist_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [\n {\n \"Key\": \"__CONTENT__\",\n \"Regex\": \"400|500\"\n }\n ],\n \"Backtracking\": 0,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n }\n ],\n \"PathRegex\": \"\"\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":3600}\",\n \"ConfigId\": \"a2c6342c-270a-4468-86cf-92625e466401\"\n}",
|
668
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConfig\n<公共请求参数>\n\n{\n \"Path\": \"/data/log/**/my.log\",\n \"ExcludePaths\": [\n {\n \"Type\": \"Path\",\n \"Value\": \"/data/log/my.log\"\n }\n ],\n \"Name\": \"test2.8.8\",\n \"LogType\": \"minimalist_log\",\n \"UserDefineRule\": \"\",\n \"ExtractRule\": {\n \"IsGBK\": 0,\n \"FilterKeyRegex\": [\n {\n \"Key\": \"__CONTENT__\",\n \"Regex\": \"400|500\"\n }\n ],\n \"Backtracking\": 0,\n \"MetadataType\": 2,\n \"MetaTags\": [\n {\n \"Key\": \"mryx\",\n \"Value\": \"item\"\n }\n ],\n \"PathRegex\": \"\",\n \"AdvanceFilterRules\": []\n },\n \"AdvancedConfig\": \"{\\\"ClsAgentFileTimeout\\\":3600}\",\n \"ConfigId\": \"a2c6342c-270a-4468-86cf-92625e466401\"\n}",
|
645
669
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
|
646
670
|
"title": "修改采集规则配置"
|
647
671
|
}
|
@@ -734,6 +758,14 @@
|
|
734
758
|
"title": "修改机器组"
|
735
759
|
}
|
736
760
|
],
|
761
|
+
"ModifyNoticeContent": [
|
762
|
+
{
|
763
|
+
"document": "修改通知内容配置",
|
764
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNoticeContent\n<公共请求参数>\n\n{\n \"NoticeContentId\": \"noticetemplate-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"Name\": \"this is name\",\n \"Type\": 1,\n \"NoticeContents\": [\n {\n \"Type\": \"Http\",\n \"TriggerContent\": {\n \"Title\": \"this is title\",\n \"Content\": \"this is content\",\n \"Headers\": [\n \"Content-Type:application/json\"\n ]\n },\n \"RecoveryContent\": {\n \"Title\": \"this is title\",\n \"Content\": \"this is content\",\n \"Headers\": [\n \"Content-Type:application/json\"\n ]\n }\n }\n ]\n}",
|
765
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
766
|
+
"title": "修改通知内容配置"
|
767
|
+
}
|
768
|
+
],
|
737
769
|
"ModifyScheduledSql": [
|
738
770
|
{
|
739
771
|
"document": "修改ScheduledSQL任务",
|
@@ -1130,6 +1130,17 @@
|
|
1130
1130
|
"required": false,
|
1131
1131
|
"type": "string",
|
1132
1132
|
"value_allowed_null": true
|
1133
|
+
},
|
1134
|
+
{
|
1135
|
+
"disabled": false,
|
1136
|
+
"document": "是否支持手动发起逻辑备份\n注意:此字段可能返回 null,表示取不到有效值。",
|
1137
|
+
"example": "无",
|
1138
|
+
"member": "string",
|
1139
|
+
"name": "IsSupportManualLogic",
|
1140
|
+
"output_required": false,
|
1141
|
+
"required": false,
|
1142
|
+
"type": "string",
|
1143
|
+
"value_allowed_null": true
|
1133
1144
|
}
|
1134
1145
|
],
|
1135
1146
|
"usage": "both"
|