tccli 3.0.1241.1__py2.py3-none-any.whl → 3.0.1242.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/apm/v20210622/api.json +216 -216
- tccli/services/apm/v20210622/examples.json +5 -5
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/cfs/v20190719/api.json +20 -20
- tccli/services/cfs/v20190719/examples.json +5 -5
- tccli/services/ckafka/v20190819/api.json +27 -0
- tccli/services/clb/v20180317/api.json +84 -64
- tccli/services/cls/cls_client.py +220 -8
- tccli/services/cls/v20201016/api.json +417 -39
- tccli/services/cls/v20201016/examples.json +89 -45
- tccli/services/cwp/v20180228/api.json +3 -3
- tccli/services/cwp/v20180228/examples.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +18 -18
- tccli/services/dbbrain/v20210527/api.json +1 -1
- tccli/services/dnspod/v20210323/api.json +173 -119
- tccli/services/dnspod/v20210323/examples.json +18 -18
- tccli/services/ess/v20201111/api.json +16 -7
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +78 -0
- tccli/services/gaap/v20180529/api.json +13 -13
- tccli/services/goosefs/v20220519/api.json +17 -17
- tccli/services/goosefs/v20220519/examples.json +4 -4
- tccli/services/iotvideoindustry/v20201201/api.json +84 -84
- tccli/services/iotvideoindustry/v20201201/examples.json +29 -29
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/mna/v20210119/api.json +32 -29
- tccli/services/mna/v20210119/examples.json +49 -49
- tccli/services/mps/v20190612/api.json +9 -0
- tccli/services/ocr/ocr_client.py +110 -4
- tccli/services/ocr/v20181119/api.json +360 -6
- tccli/services/ocr/v20181119/examples.json +18 -2
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +38 -5
- tccli/services/ssl/v20191205/api.json +52 -50
- tccli/services/ssl/v20191205/examples.json +7 -7
- tccli/services/tbaas/v20180416/api.json +9 -6
- tccli/services/tbaas/v20180416/examples.json +2 -2
- tccli/services/tcb/v20180608/api.json +211 -171
- tccli/services/tcb/v20180608/examples.json +21 -21
- tccli/services/tcm/v20210413/api.json +2 -2
- tccli/services/tcm/v20210413/examples.json +2 -2
- tccli/services/tcr/v20190924/api.json +8 -8
- tccli/services/tcr/v20190924/examples.json +4 -4
- tccli/services/tdmq/tdmq_client.py +167 -8
- tccli/services/tdmq/v20200217/api.json +307 -0
- tccli/services/tdmq/v20200217/examples.json +24 -0
- tccli/services/tem/v20210701/api.json +1 -1
- tccli/services/tem/v20210701/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/thpc/v20211109/api.json +46 -58
- tccli/services/thpc/v20211109/examples.json +2 -2
- tccli/services/thpc/v20220401/api.json +168 -181
- tccli/services/thpc/v20220401/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +99 -102
- tccli/services/thpc/v20230321/examples.json +3 -3
- tccli/services/tke/v20220501/api.json +146 -97
- tccli/services/tke/v20220501/examples.json +15 -21
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +219 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +31 -20
- tccli/services/trtc/v20190722/examples.json +11 -11
- tccli/services/tse/v20201207/api.json +141 -113
- tccli/services/tse/v20201207/examples.json +5 -5
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +304 -254
- tccli/services/vpc/v20170312/examples.json +19 -19
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/RECORD +77 -77
- {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1241.1.dist-info → tccli-3.0.1242.1.dist-info}/license_files/LICENSE +0 -0
@@ -43,8 +43,8 @@
|
|
43
43
|
"CreateAlarm": [
|
44
44
|
{
|
45
45
|
"document": "创建告警策略",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAlarm\n<公共请求参数>\n\n{\n \"
|
47
|
-
"output": "{\n \"Response\": {\n \"AlarmId\": \"alarm-
|
46
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAlarm\n<公共请求参数>\n\n{\n \"Name\": \"test-p0 告警策略\",\n \"AlarmTargets\": [\n {\n \"Query\": \"level:error | select count(*) as cnt limit 100\",\n \"Number\": 1,\n \"StartTimeOffset\": -15,\n \"EndTimeOffset\": 0,\n \"SyntaxRule\": 1,\n \"LogsetId\": \"ad5a574c-xxxx-xxxx-bb67-990d0cb9747a\",\n \"TopicId\": \"test-cos-1254111111\"\n }\n ],\n \"MonitorTime\": {\n \"Type\": \"Period\",\n \"Time\": 1\n },\n \"TriggerCount\": 1,\n \"AlarmPeriod\": 15,\n \"AlarmNoticeIds\": [\n \"notice-1a2c6c17-xxxx-xxxx-81be-25248ada5a4c\"\n ],\n \"Status\": true,\n \"MessageTemplate\": \"{{.Label}}\",\n \"CallBack\": {\n \"Headers\": [],\n \"Body\": \"\"\n },\n \"Analysis\": [\n {\n \"Name\": \"自定义检索分析\",\n \"Type\": \"query\",\n \"Content\": \"level:error | select err limit 100\",\n \"ConfigInfo\": [\n {\n \"Key\": \"SyntaxRule\",\n \"Value\": \"1\"\n }\n ]\n }\n ],\n \"GroupTriggerStatus\": false,\n \"GroupTriggerCondition\": [],\n \"Tags\": [],\n \"MonitorObjectType\": 0,\n \"Classifications\": [],\n \"MultiConditions\": [\n {\n \"Condition\": \"[$1.__QUERYCOUNT__]> 10000\",\n \"AlarmLevel\": 0\n }\n ]\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"AlarmId\": \"alarm-37cd7e19-xxxx-xxxx-82cc-00713ef449f6\",\n \"RequestId\": \"ab6b1233-xxxx-xxxx-91f5-c6fad91966fe\"\n }\n}",
|
48
48
|
"title": "创建告警策略"
|
49
49
|
}
|
50
50
|
],
|
@@ -123,24 +123,24 @@
|
|
123
123
|
"CreateConsumer": [
|
124
124
|
{
|
125
125
|
"document": "CLS 日志投递Ckafka之后,您可以对日志进行实时计算后入库。",
|
126
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumer\n<公共请求参数>\n\n{\n \"TopicId\": \"
|
127
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60xxx-
|
126
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumer\n<公共请求参数>\n\n{\n \"TopicId\": \"3c38e5b1-xxxx-xxxx-8963-3af704e22e73\",\n \"Ckafka\": {\n \"Vip\": \"10.0.0.0\",\n \"Vport\": \"8080\",\n \"InstanceId\": \"ckafka-xxxx\",\n \"InstanceName\": \"ckafka_test\",\n \"TopicId\": \"topic-xxxx\",\n \"TopicName\": \"topic_test\"\n },\n \"Content\": {\n \"EnableTag\": true,\n \"MetaFields\": [\n \"__SOURCE__\"\n ]\n },\n \"NeedContent\": true,\n \"Compression\": 0\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60xxx-xxxx-xxxx-bxxx-270359fb5xxx\"\n }\n}",
|
128
128
|
"title": "创建投递Ckafka任务"
|
129
129
|
}
|
130
130
|
],
|
131
131
|
"CreateCosRecharge": [
|
132
132
|
{
|
133
133
|
"document": "创建cos导入任务",
|
134
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCosRecharge\n<公共请求参数>\n\n{\n \"TopicId\": \"ae13f7db-
|
135
|
-
"output": "{\n \"Response\": {\n \"Id\": \"ca092608-98e8-
|
134
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCosRecharge\n<公共请求参数>\n\n{\n \"TopicId\": \"ae13f7db-xxxx-xxxx-916e-407802axxxxx\",\n \"LogsetId\": \"0af7e6bb-xxxx-xxxx-ad24-1129e9cxxxxx\",\n \"Name\": \"test_name\",\n \"Bucket\": \"examplebucket-1250000000\",\n \"BucketRegion\": \"ap-guangzhou\",\n \"Prefix\": \"text_prefix\",\n \"LogType\": \"minimalist_log\",\n \"Compress\": \"gzip\",\n \"ExtractRuleInfo\": {\n \"TimeKey\": \"date\",\n \"TimeFormat\": \"%Y-%m-%d %H:%M:%S\",\n \"Delimiter\": \"|\",\n \"LogRegex\": \".*\",\n \"BeginRegex\": \"^\",\n \"Keys\": [\n \"date\",\n \"\",\n \"content\"\n ],\n \"AdvanceFilterRules\": [\n {\n \"Key\": \"response_code\",\n \"Rule\": 0,\n \"Value\": \"400|500\"\n }\n ],\n \"UnMatchLogKey\": \"testlog\",\n \"UnMatchUpLoadSwitch\": true,\n \"Backtracking\": -1\n }\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"Id\": \"ca092608-98e8-xxxx-xxxx-a6b3bbexxxxx\",\n \"RequestId\": \"dc78ee34-xxxx-xxxx-8fcd-601a99b271f6\"\n }\n}",
|
136
136
|
"title": "创建cos导入任务"
|
137
137
|
}
|
138
138
|
],
|
139
139
|
"CreateDashboardSubscribe": [
|
140
140
|
{
|
141
141
|
"document": "创建仪表盘订阅",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDashboardSubscribe\n<公共请求参数>\n\n{\n \"Name\": \"每月最后一天早晨10点\",\n \"DashboardId\": \"
|
143
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-
|
142
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDashboardSubscribe\n<公共请求参数>\n\n{\n \"Name\": \"每月最后一天早晨10点\",\n \"DashboardId\": \"dashboard-0d954d68-xxxx-xxxx-95a6-f9eff0db370f\",\n \"Cron\": \"0 40 20 * * ?\",\n \"SubscribeData\": {\n \"DashboardTime\": [\n \"2022-05-01T00:00:00.000\",\n \"2022-05-31T23:59:59.999\"\n ],\n \"TemplateVariables\": [\n {\n \"Key\": \"name\",\n \"Values\": [\n \"zhangsan\"\n ]\n }\n ],\n \"NoticeModes\": [\n {\n \"ReceiverType\": \"Uin\",\n \"Values\": [\n \"168053\"\n ],\n \"ReceiverChannels\": [\n \"Sms\"\n ]\n },\n {\n \"ReceiverType\": \"Group\",\n \"Values\": [\n \"10721522\",\n \"9553840\"\n ],\n \"ReceiverChannels\": [\n \"Sms\"\n ]\n },\n {\n \"ReceiverType\": \"Email\",\n \"Values\": [\n \"3333@qq.com\",\n \"xxx@163.com\"\n ],\n \"ReceiverChannels\": []\n }\n ]\n }\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
144
144
|
"title": "创建仪表盘订阅"
|
145
145
|
}
|
146
146
|
],
|
@@ -171,8 +171,8 @@
|
|
171
171
|
"CreateIndex": [
|
172
172
|
{
|
173
173
|
"document": "",
|
174
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIndex\n<公共请求参数>\n\n{\n \"TopicId\": \"3edc8551-111b-473b-9fc4-ed66e20dfa8a\",\n \"Status\": true,\n \"Rule\": {\n \"FullText\": {\n \"CaseSensitive\": true,\n \"Tokenizer\": \"
|
175
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-
|
174
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateIndex\n<公共请求参数>\n\n{\n \"TopicId\": \"3edc8551-111b-473b-9fc4-ed66e20dfa8a\",\n \"Status\": true,\n \"Rule\": {\n \"FullText\": {\n \"CaseSensitive\": true,\n \"Tokenizer\": \"@&?|#()='\\\",;:<>[]{}/ \\n\\t\\r\\\\\"\n },\n \"KeyValue\": {\n \"CaseSensitive\": true,\n \"KeyValues\": [\n {\n \"Key\": \"age\",\n \"Value\": {\n \"Type\": \"long\",\n \"Tokenizer\": \"\",\n \"SqlFlag\": false\n }\n }\n ]\n },\n \"Tag\": {\n \"CaseSensitive\": true,\n \"KeyValues\": [\n {\n \"Key\": \"tag\",\n \"Value\": {\n \"Type\": \"string\",\n \"Tokenizer\": \"@&?|#()='\\\",;:<>[]{}/ \\n\\t\\r\\\\\",\n \"SqlFlag\": false\n }\n }\n ]\n }\n }\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
176
176
|
"title": "创建索引"
|
177
177
|
}
|
178
178
|
],
|
@@ -211,16 +211,16 @@
|
|
211
211
|
"CreateScheduledSql": [
|
212
212
|
{
|
213
213
|
"document": "创建ScheduledSQL任务",
|
214
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScheduledSql\n<公共请求参数>\n\n{\n \"EnableFlag\": 1,\n \"ProcessStartTime\": 1690515360000,\n \"Name\": \"
|
215
|
-
"output": "{\n \"Response\": {\n \"TaskId\": \"abdcebec-
|
214
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateScheduledSql\n<公共请求参数>\n\n{\n \"EnableFlag\": 1,\n \"ProcessStartTime\": 1690515360000,\n \"Name\": \"scheduler_sql_delete_task\",\n \"DstResource\": {\n \"TopicId\": \"6ef60bec-xxxx-xxxx-bb20-270359fbxxxx\",\n \"Region\": \"ap-guangzhou\",\n \"BizType\": 1,\n \"MetricName\": \"pv\"\n },\n \"ProcessTimeWindow\": \"@m-15m,@m\",\n \"ProcessPeriod\": 5,\n \"ScheduledSqlContent\": \"* | select count(*) as pv\",\n \"SrcTopicId\": \"6ef60bec-xxxx-xxxx-bb20-270359fbxxxxx\",\n \"ProcessDelay\": 0,\n \"ProcessType\": 1,\n \"SrcTopicRegion\": \"ap-guangzhou\",\n \"ProcessEndTime\": 1690515440000\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"TaskId\": \"abdcebec-xxxx-xxxx-bb20-270359fb54a7\",\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
216
216
|
"title": "创建ScheduledSQL任务"
|
217
217
|
}
|
218
218
|
],
|
219
219
|
"CreateShipper": [
|
220
220
|
{
|
221
221
|
"document": "用于创建cos投递任务规则",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateShipper\n<公共请求参数>\n\n{\n \"TopicId\": \"xxxx-
|
223
|
-
"output": "{\n \"Response\": {\n \"
|
222
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateShipper\n<公共请求参数>\n\n{\n \"TopicId\": \"fadcc986-xxxx-xxxx-b766-9ce9c193da32\",\n \"Bucket\": \"examplebucket-1250000000\",\n \"Prefix\": \"bow-test-1250000000\",\n \"ShipperName\": \"bow-投递任务\",\n \"Interval\": 300,\n \"MaxSize\": 5,\n \"FilenameMode\": 1,\n \"FilterRules\": [\n {\n \"Key\": \"http\",\n \"Regex\": \"^(\\\\d+\\\\.\\\\d+)\\\\..*\",\n \"Value\": \"172.16\"\n }\n ],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"none\"\n },\n \"Content\": {\n \"Format\": \"json\",\n \"Json\": {\n \"EnableTag\": true,\n \"MetaFields\": [\n \"__SOURCE__\",\n \"__FILENAME__\",\n \"__HOSTNAME__\",\n \"__TIMESTAMP__\"\n ],\n \"JsonType\": 1\n }\n },\n \"StartTime\": 1735544418,\n \"EndTime\": 0\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3d8b7942-xxxx-xxxx-8c14-7c665344223c\",\n \"ShipperId\": \"a851ee81-xxxx-xxxx-852d-55fa5ac58269\"\n }\n}",
|
224
224
|
"title": "创建投递规则"
|
225
225
|
}
|
226
226
|
],
|
@@ -232,6 +232,14 @@
|
|
232
232
|
"title": "创建日志主题"
|
233
233
|
}
|
234
234
|
],
|
235
|
+
"CreateWebCallback": [
|
236
|
+
{
|
237
|
+
"document": "创建告警渠道回调配置",
|
238
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWebCallback\n<公共请求参数>\n\n{\n \"Name\": \"name\",\n \"Type\": \"Http\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POST\",\n \"Key\": \"\"\n}",
|
239
|
+
"output": "{\n \"Response\": {\n \"WebCallbackId\": \"webcallback-aaa-bbb-ccc-ddd\",\n \"RequestId\": \"abc-abc-abc-abc\"\n }\n}",
|
240
|
+
"title": "创建告警渠道回调配置"
|
241
|
+
}
|
242
|
+
],
|
235
243
|
"DeleteAlarm": [
|
236
244
|
{
|
237
245
|
"document": "",
|
@@ -400,6 +408,14 @@
|
|
400
408
|
"title": "删除日志主题"
|
401
409
|
}
|
402
410
|
],
|
411
|
+
"DeleteWebCallback": [
|
412
|
+
{
|
413
|
+
"document": "删除告警渠道回调配置",
|
414
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteWebCallback\n<公共请求参数>\n\n{\n \"WebCallbackId\": \"webcallback-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n}",
|
415
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
416
|
+
"title": "删除告警渠道回调配置"
|
417
|
+
}
|
418
|
+
],
|
403
419
|
"DescribeAlarmNotices": [
|
404
420
|
{
|
405
421
|
"document": "",
|
@@ -444,7 +460,7 @@
|
|
444
460
|
{
|
445
461
|
"document": "获取特殊采集配置",
|
446
462
|
"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}",
|
447
|
-
"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\": \"
|
463
|
+
"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\": \"name_1\",\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}",
|
448
464
|
"title": "获取特殊采集配置"
|
449
465
|
}
|
450
466
|
],
|
@@ -460,7 +476,7 @@
|
|
460
476
|
{
|
461
477
|
"document": "根据主题ID获取采集配置详情",
|
462
478
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConfigs\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"topicId\",\n \"Values\": [\n \"97e8a872-xxxx-4644-9d3c-603d95051458\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
463
|
-
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"ConfigId\": \"02f11930-xxxx-4dca-8c9b-b6a147223945\",\n \"Name\": \"
|
479
|
+
"output": "{\n \"Response\": {\n \"Configs\": [\n {\n \"ConfigId\": \"02f11930-xxxx-4dca-8c9b-b6a147223945\",\n \"Name\": \"config_name1\",\n \"LogFormat\": \"\",\n \"Path\": \"/test/**/test\",\n \"LogType\": \"minimalist_log\",\n \"ExtractRule\": {\n \"TimeKey\": \"\",\n \"TimeFormat\": \"\",\n \"Delimiter\": \"\",\n \"LogRegex\": \"\",\n \"BeginRegex\": \"\",\n \"Keys\": null,\n \"FilterKeyRegex\": [],\n \"UnMatchUpLoadSwitch\": false,\n \"UnMatchLogKey\": null,\n \"Backtracking\": 0,\n \"IsGBK\": 0,\n \"JsonStandard\": 0,\n \"Protocol\": \"\",\n \"Address\": \"\",\n \"ParseProtocol\": \"\",\n \"MetadataType\": 0,\n \"PathRegex\": \"\",\n \"MetaTags\": []\n },\n \"ExcludePaths\": null,\n \"Output\": \"97e8a872-xxxx-4644-9d3c-603d95051458\",\n \"UpdateTime\": \"2022-09-02 14:26:49\",\n \"CreateTime\": \"2022-09-02 14:26:49\",\n \"UserDefineRule\": \"\",\n \"AdvancedConfig\": \"\"\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"6eff3561-xxxx-4502-b625-3eb26c4ab450\"\n }\n}",
|
464
480
|
"title": "获取采集配置"
|
465
481
|
}
|
466
482
|
],
|
@@ -483,8 +499,8 @@
|
|
483
499
|
"DescribeCosRecharges": [
|
484
500
|
{
|
485
501
|
"document": "获取cos导入配置",
|
486
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCosRecharges\n<公共请求参数>\n\n{\n \"TopicId\": \"
|
487
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"
|
502
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCosRecharges\n<公共请求参数>\n\n{\n \"TopicId\": \"fadcc986-xxxx-xxxx-b766-9ce9c193da32\",\n \"Status\": 0,\n \"Enable\": 1\n}",
|
503
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": \"9b3cc796-xxxx-xxxx-90e0-e760f1d991a0\",\n \"TopicId\": \"fadcc986-xxxx-xxxx-b766-9ce9c193da32\",\n \"LogsetId\": \"bcc26ed4-xxxx-xxxx-9992-cea8ff7cf470\",\n \"Name\": \"cos_test1\",\n \"Bucket\": \"bucket-1254000000\",\n \"BucketRegion\": \"ap-guangzhou\",\n \"Prefix\": \"\",\n \"LogType\": \"json_log\",\n \"Status\": 2,\n \"Enable\": 0,\n \"Progress\": 0,\n \"CreateTime\": \"2024-04-23 15:41:07\",\n \"UpdateTime\": \"2024-12-30 20:39:41\",\n \"Compress\": \"\",\n \"ExtractRuleInfo\": {\n \"TimeKey\": \"\",\n \"TimeFormat\": \"\",\n \"Delimiter\": \"\",\n \"LogRegex\": \"\",\n \"BeginRegex\": \"\",\n \"Keys\": [],\n \"FilterKeyRegex\": [],\n \"UnMatchUpLoadSwitch\": true,\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"Backtracking\": null,\n \"IsGBK\": 0,\n \"JsonStandard\": 1,\n \"Protocol\": \"\",\n \"Address\": \"\",\n \"ParseProtocol\": \"\",\n \"MetadataType\": 0,\n \"PathRegex\": \"\",\n \"MetaTags\": [],\n \"EventLogRules\": [],\n \"AdvanceFilterRules\": [\n {\n \"Key\": \"response_code\",\n \"Rule\": 0,\n \"Value\": \"400|500\"\n }\n ]\n },\n \"TaskType\": 1,\n \"Metadata\": []\n }\n ],\n \"RequestId\": \"c54d737b-xxxx-xxxx-b3da-c226a6aebaf4\"\n }\n}",
|
488
504
|
"title": "获取cos导入配置"
|
489
505
|
}
|
490
506
|
],
|
@@ -500,21 +516,21 @@
|
|
500
516
|
{
|
501
517
|
"document": "通过tag:key获取仪表盘",
|
502
518
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDashboards\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"Filters\": [\n {\n \"Key\": \"tag:bowww-tag-key\",\n \"Values\": [\n \"bowww-tag-value\"\n ]\n }\n ]\n}",
|
503
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DashboardInfos\": [\n {\n \"DashboardId\": \"dashboard-47bf0f13-
|
519
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DashboardInfos\": [\n {\n \"DashboardId\": \"dashboard-47bf0f13-xxxx-xxxx-bb78-5b60229177ea\",\n \"DashboardName\": \"API-TEST2\",\n \"Data\": \"\",\n \"CreateTime\": \"2023-07-05 20:46:25\",\n \"UpdateTime\": \"2023-08-25 11:18:18\",\n \"DashboardRegion\": \"\",\n \"DashboardTopicInfos\": [],\n \"AssumerUin\": 0,\n \"RoleName\": \"\",\n \"AssumerName\": \"\",\n \"Tags\": [\n {\n \"Key\": \"bowww-tag-key\",\n \"Value\": \"bowww-tag-value\"\n },\n {\n \"Key\": \"bowww-tag-key1\",\n \"Value\": \"bowww-tag-value1\"\n }\n ]\n }\n ],\n \"RequestId\": \"6bf3355c-xxxx-xxxx-89c8-76c3ca37bae9\"\n }\n}",
|
504
520
|
"title": "通过tag:key获取仪表盘"
|
505
521
|
},
|
506
522
|
{
|
507
523
|
"document": "获取仪表盘",
|
508
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDashboards\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"dashboard-7ff51cf1-
|
509
|
-
"output": "{\n \"Response\": {\n \"DashboardInfos\": [\n {\n \"AssumerName\": \"\",\n \"AssumerUin\": 0,\n \"CreateTime\": \"2023-12-01 15:53:29\",\n \"DashboardId\": \"dashboard-7ff51cf1-
|
524
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDashboards\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"dashboard-7ff51cf1-xxxx-xxxx-9fbb-6a9743225f92\"\n ],\n \"Key\": \"dashboardId\"\n }\n ],\n \"Offset\": 0\n}",
|
525
|
+
"output": "{\n \"Response\": {\n \"DashboardInfos\": [\n {\n \"AssumerName\": \"\",\n \"AssumerUin\": 0,\n \"CreateTime\": \"2023-12-01 15:53:29\",\n \"DashboardId\": \"dashboard-7ff51cf1-xxxx-xxxx-9fbb-6a9743225f92\",\n \"DashboardName\": \"E32E23\",\n \"DashboardRegion\": \"\",\n \"DashboardTopicInfos\": [],\n \"Data\": \"\",\n \"RoleName\": \"\",\n \"Tags\": [\n {\n \"Key\": \"team\",\n \"Value\": \"value1\"\n }\n ],\n \"UpdateTime\": \"2023-12-01 15:53:29\"\n }\n ],\n \"RequestId\": \"56c8e3f5-xxxx-xxxx-acd0-8d2062df093f\",\n \"TotalCount\": 1\n }\n}",
|
510
526
|
"title": "通过dashboardId获取仪表盘"
|
511
527
|
}
|
512
528
|
],
|
513
529
|
"DescribeDataTransformInfo": [
|
514
530
|
{
|
515
531
|
"document": "获取数据加工任务基本信息",
|
516
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataTransformInfo\n<公共请求参数>\n\n{}",
|
517
|
-
"output": "{\n \"Response\": {\n \"
|
532
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataTransformInfo\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
533
|
+
"output": "{\n \"Response\": {\n \"DataTransformTaskInfos\": [\n {\n \"CreateTime\": \"2024-11-29 03:46:57\",\n \"DataTransformType\": 0,\n \"DstResources\": [\n {\n \"Alias\": \"apilog\",\n \"TopicId\": \"7f670b29-xxxx-xxxx-a62a-dd026fe66a9f\"\n }\n ],\n \"EnableFlag\": 1,\n \"EtlContent\": \"log_keep(op_or(op_str_eq(v(\\\"logtype\\\"), \\\"apilog\\\"), op_str_eq(v(\\\"logtype\\\"), \\\"ailog\\\"), op_str_eq(v(\\\"logtype\\\"), \\\"stlog\\\"), op_str_eq(v(\\\"logtype\\\"), \\\"ranklog\\\")))\\next_json(\\\"request\\\")\\next_json(\\\"messages\\\")\\next_json(\\\"response\\\")\\next_json(\\\"completion\\\")\",\n \"FailureLogKey\": \"ETLParseFailure\",\n \"KeepFailureLog\": 1,\n \"LastEnableTime\": \"2024-11-29 14:43:18\",\n \"LogsetId\": \"6718ed86-xxxx-xxxx-95e1-24012ee15caf\",\n \"Name\": \"提取 ClsAi Text2CQL API 访问日志\",\n \"SrcTopicId\": \"0bb6b5e6-xxxx-469a-xxxx-ebbe250d083c\",\n \"SrcTopicName\": \"[Test] Text2CQL - 全量日志\",\n \"Status\": 2,\n \"TaskId\": \"5d368d4c-xxxx-xxxx-87a6-39802c1e0afe\",\n \"Type\": 1,\n \"UpdateTime\": \"2024-11-29 14:45:01\"\n }\n ],\n \"RequestId\": \"bf128f9e-xxxx-xxxx-a591-185220479620\",\n \"TotalCount\": 30\n }\n}",
|
518
534
|
"title": "获取数据加工任务基本信息"
|
519
535
|
}
|
520
536
|
],
|
@@ -545,8 +561,8 @@
|
|
545
561
|
"DescribeKafkaRecharges": [
|
546
562
|
{
|
547
563
|
"document": "获取Kafka导入配置信息",
|
548
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKafkaRecharges\n<公共请求参数>\n\n{\n \"TopicId\": \"
|
549
|
-
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"
|
564
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKafkaRecharges\n<公共请求参数>\n\n{\n \"TopicId\": \"c8e26faa-xxxx-xxxx-xxxx-5d941d3a57d1\",\n \"Status\": 1\n}",
|
565
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"ConsumerGroupName\": \"test1\",\n \"CreateTime\": \"2024-01-24 15:00:06\",\n \"Id\": \"f574db7d-xxxx-xxxx-8a04-35f7fe71a4d0\",\n \"IsEncryptionAddr\": true,\n \"KafkaInstance\": \"\",\n \"KafkaType\": 1,\n \"LogRechargeRule\": {\n \"DefaultTimeSrc\": 0,\n \"DefaultTimeSwitch\": true,\n \"EncodingFormat\": 0,\n \"Keys\": [],\n \"LogRegex\": \"\",\n \"Metadata\": [\n \"kafka_topic\",\n \"kafka_partition\",\n \"kafka_offset\",\n \"kafka_timestamp\"\n ],\n \"RechargeType\": \"json_log\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"TimeRegex\": \"\",\n \"TimeZone\": \"UTC+08:00\",\n \"UnMatchLogKey\": \"LogParseFailure\",\n \"UnMatchLogSwitch\": true,\n \"UnMatchLogTimeSrc\": 0\n },\n \"Name\": \"kafkaRechargeTest1\",\n \"Offset\": -2,\n \"Protocol\": {\n \"Mechanism\": \"PLAIN\",\n \"Password\": \"Axxxxxx#lFSOxxxxxx\",\n \"Protocol\": \"sasl_plaintext\",\n \"UserName\": \"05593101-xxxx-xxxx-8a71-44f8340e1327\"\n },\n \"ServerAddr\": \"kafka-xxxx.com:8050\",\n \"Status\": 1,\n \"TopicId\": \"c8e26faa-xxxx-xxxx-ad8c-5d941d3a57d1\",\n \"UpdateTime\": \"2024-07-30 15:07:36\",\n \"UserKafkaTopics\": \"1254077820-9fc67c9d-xxxx-xxxx-b836-c6520b7393cc\"\n }\n ],\n \"RequestId\": \"de82c8c5-xxxx-xxxx-8f44-ec6bd80d7b6d\",\n \"TotalCount\": 1\n }\n}",
|
550
566
|
"title": "获取Kafka导入配置信息"
|
551
567
|
}
|
552
568
|
],
|
@@ -601,8 +617,8 @@
|
|
601
617
|
"DescribeNoticeContents": [
|
602
618
|
{
|
603
619
|
"document": "获取通知内容配置列表。",
|
604
|
-
"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 \"
|
605
|
-
"output": "{\n \"Response\": {\n \"NoticeContents\": [\n {\n \"NoticeContentId\": \"noticetemplate-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"Name\": \"
|
620
|
+
"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 \"notice-name\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
621
|
+
"output": "{\n \"Response\": {\n \"NoticeContents\": [\n {\n \"NoticeContentId\": \"noticetemplate-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"Name\": \"notice-name\",\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}",
|
606
622
|
"title": "获取通知内容配置列表。"
|
607
623
|
}
|
608
624
|
],
|
@@ -617,8 +633,8 @@
|
|
617
633
|
"DescribeScheduledSqlInfo": [
|
618
634
|
{
|
619
635
|
"document": "",
|
620
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScheduledSqlInfo\n<公共请求参数>\n\n{}",
|
621
|
-
"output": "{\n \"Response\": {\n \"
|
636
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScheduledSqlInfo\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
637
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e1700c27-xxxx-xxxx-806f-eece0a0e756e\",\n \"ScheduledSqlTaskInfos\": [\n {\n \"CreateTime\": \"2024-12-25 15:07:41\",\n \"DstResource\": {\n \"BizType\": 0,\n \"CustomMetricLabels\": [],\n \"CustomTime\": \"\",\n \"MetricLabels\": [],\n \"MetricName\": \"\",\n \"Region\": \"ap-chengdu\",\n \"TopicId\": \"d30a5165-xxxx-xxxx-9e94-fb733d2c1c0e\"\n },\n \"EnableFlag\": 1,\n \"HasServicesLog\": 2,\n \"Name\": \"scheduler_sql_delete_task\",\n \"ProcessDelay\": 60,\n \"ProcessEndTime\": \"\",\n \"ProcessPeriod\": 1,\n \"ProcessStartTime\": \"2024-12-25 15:07:00\",\n \"ProcessTimeWindow\": \"@m-1m,@m\",\n \"ProcessType\": 1,\n \"ScheduledSqlContent\": \"* | select count(*) as c limit 10000\",\n \"SrcTopicId\": \"fe4e7d35-xxxx-xxxx-82e1-2762471b0928\",\n \"SrcTopicName\": \"\",\n \"SrcTopicRegion\": \"ap-chengdu\",\n \"Status\": 1,\n \"SyntaxRule\": 1,\n \"TaskId\": \"44bb210d-xxxx-xxxx-8f7d-7fc5170553d4\",\n \"UpdateTime\": \"2024-12-25 15:07:41\"\n }\n ],\n \"TotalCount\": 15\n }\n}",
|
622
638
|
"title": "获取ScheduledSql任务列表"
|
623
639
|
}
|
624
640
|
],
|
@@ -634,18 +650,26 @@
|
|
634
650
|
{
|
635
651
|
"document": "获取投递到COS的任务配置信息",
|
636
652
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeShippers\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"shipperId\",\n \"Values\": [\n \"xxxx-xxx-xxxx\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
637
|
-
"output": "{\n \"Response\": {\n \"Shippers\": [\n {\n \"
|
653
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e34e49f3-xxxx-xxxx-8ec4-441419573405\",\n \"Shippers\": [\n {\n \"Bucket\": \"good-123456780\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"Content\": {\n \"Csv\": null,\n \"Format\": \"json\",\n \"Json\": {\n \"EnableTag\": false,\n \"JsonType\": 0,\n \"MetaFields\": null\n },\n \"Parquet\": null\n },\n \"CreateTime\": \"2020-10-28 22:04:41\",\n \"EndTime\": 0,\n \"FilenameMode\": 0,\n \"FilterRules\": [],\n \"HistoryStatus\": 0,\n \"Interval\": 300,\n \"MaxSize\": 256,\n \"Partition\": \"%Y/%m/%d\",\n \"Prefix\": \"logproxy\",\n \"Progress\": 0,\n \"RemainTime\": 0,\n \"ShipperId\": \"0c2486ee-xxxx-xxxx-a10c-15f01573d928\",\n \"ShipperName\": \"shipper_task\",\n \"StartTime\": 0,\n \"Status\": true,\n \"TopicId\": \"313f58b2-xxxx-xxxx-b9b8-08fa4b0bd260\"\n }\n ],\n \"TotalCount\": 15\n }\n}",
|
638
654
|
"title": "获取投递到COS的任务配置信息"
|
639
655
|
}
|
640
656
|
],
|
641
657
|
"DescribeTopics": [
|
642
658
|
{
|
643
659
|
"document": "获取日志主题列表",
|
644
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"Filters\": [],\n \"Offset\":
|
645
|
-
"output": "{\n \"Response\": {\n \"
|
660
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"Filters\": [],\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
661
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9402a324-xxxx-xxxx-xxxx-2bc613cd187e\",\n \"Topics\": [\n {\n \"AssumerName\": \"\",\n \"AutoSplit\": true,\n \"BizType\": 0,\n \"CreateTime\": \"2024-12-26 19:28:55\",\n \"Describes\": \"\",\n \"EffectiveDate\": \"\",\n \"Extends\": {\n \"AnonymousAccess\": null\n },\n \"HotPeriod\": 0,\n \"Index\": true,\n \"IsWebTracking\": false,\n \"LogsetId\": \"fd0605ca-xxxx-xxxx-xxxx-592e5233c2db\",\n \"MaxSplitPartitions\": 50,\n \"MigrationStatus\": 0,\n \"PartitionCount\": 1,\n \"Period\": 1,\n \"Status\": true,\n \"StorageType\": \"hot\",\n \"SubAssumerName\": \"\",\n \"Tags\": [],\n \"TopicAsyncTaskID\": \"\",\n \"TopicId\": \"8a41c585-xxxx-xxxx-xxxx-c358a595f662\",\n \"TopicName\": \"topic-name-test\"\n }\n ],\n \"TotalCount\": 1544\n }\n}",
|
646
662
|
"title": "获取日志主题列表"
|
647
663
|
}
|
648
664
|
],
|
665
|
+
"DescribeWebCallbacks": [
|
666
|
+
{
|
667
|
+
"document": "获取告警渠道回调配置列表",
|
668
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWebCallbacks\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"name\",\n \"Values\": [\n \"test\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
669
|
+
"output": "{\n \"Response\": {\n \"WebCallbacks\": [\n {\n \"WebCallbackId\": \"webcallback-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"Type\": \"Http\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POST\",\n \"Key\": \"\",\n \"CreateTime\": 1693468888,\n \"UpdateTime\": 1693468888\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
670
|
+
"title": "获取告警渠道回调配置列表"
|
671
|
+
}
|
672
|
+
],
|
649
673
|
"GetAlarmLog": [
|
650
674
|
{
|
651
675
|
"document": "查询指定告警策略的告警历史记录",
|
@@ -679,8 +703,8 @@
|
|
679
703
|
"ModifyAlarmNotice": [
|
680
704
|
{
|
681
705
|
"document": "",
|
682
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAlarmNotice\n<公共请求参数>\n\n{\n \"AlarmNoticeId\": \"notice-
|
683
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-
|
706
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAlarmNotice\n<公共请求参数>\n\n{\n \"AlarmNoticeId\": \"notice-1a2c6c17-xxxx-xxxx-81be-25248ada5a4c\",\n \"Name\": \"zhangsan-test-copy\",\n \"JumpDomain\": \"https://xxxx.tent.com\",\n \"NoticeRules\": [\n {\n \"NoticeReceivers\": [\n {\n \"ReceiverType\": \"Uin\",\n \"ReceiverIds\": [\n 11223344567\n ],\n \"ReceiverChannels\": [\n \"Email\"\n ],\n \"StartTime\": \"01:59:59\",\n \"EndTime\": \"02:00:00\",\n \"Index\": 0,\n \"NoticeContentId\": \"Default-zh\"\n }\n ],\n \"WebCallbacks\": [\n {\n \"Headers\": [],\n \"Method\": \"\",\n \"Url\": \"http://xxx.com\",\n \"CallbackType\": \"WeCom\",\n \"Body\": \"\",\n \"Index\": 1,\n \"NoticeContentId\": \"Default-zh\",\n \"WebCallbackId\": \"\",\n \"RemindType\": 0,\n \"Mobiles\": [],\n \"UserIds\": []\n }\n ],\n \"Type\": 1,\n \"Escalate\": false,\n \"Interval\": 10,\n \"Rule\": \"{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1,2]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}\"\n }\n ],\n \"DeliverStatus\": 1,\n \"AlarmShieldStatus\": 1\n}",
|
707
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
684
708
|
"title": "修改通知渠道组"
|
685
709
|
}
|
686
710
|
],
|
@@ -726,10 +750,16 @@
|
|
726
750
|
],
|
727
751
|
"ModifyConsumer": [
|
728
752
|
{
|
729
|
-
"document": "
|
730
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumer\n<公共请求参数>\n\n{\n \"TopicId\": \"
|
731
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
753
|
+
"document": "修改Ckafka配置",
|
754
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumer\n<公共请求参数>\n\n{\n \"TopicId\": \"fadcc986-xxxx-xxxx-b766-9ce9c193da32\",\n \"Ckafka\": {\n \"InstanceId\": \"ckafka-xxxx\",\n \"TopicName\": \"xxxx_acl_test\",\n \"Vip\": \"10.0.0.1\",\n \"Vport\": \"8080\",\n \"InstanceName\": \"xxx_ckafka_test\",\n \"TopicId\": \"topic-maoxxxxx\"\n }\n}",
|
755
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1e5f008f-xxxx-xxxx-9636-ce13c618dfba\"\n }\n}",
|
732
756
|
"title": "修改投递Ckafka任务"
|
757
|
+
},
|
758
|
+
{
|
759
|
+
"document": "",
|
760
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumer\n<公共请求参数>\n\n{\n \"TopicId\": \"fadcc986-xxxx-xxxx-b766-9ce9c193da32\",\n \"Effective\": false\n}",
|
761
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"25d826d2-xxxx-xxxx-a4b6-f5490e86ae81\"\n }\n}",
|
762
|
+
"title": "关闭投递Ckafka任务"
|
733
763
|
}
|
734
764
|
],
|
735
765
|
"ModifyCosRecharge": [
|
@@ -743,8 +773,8 @@
|
|
743
773
|
"ModifyDashboardSubscribe": [
|
744
774
|
{
|
745
775
|
"document": "修改仪表盘订阅",
|
746
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDashboardSubscribe\n<公共请求参数>\n\n{\n \"Id\":
|
747
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
776
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDashboardSubscribe\n<公共请求参数>\n\n{\n \"Id\": 100001,\n \"Name\": \"订阅任务-云API日志主题报错\"\n}",
|
777
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0160d040-xxxx-xxxx-a5db-901a1cde8e5f\"\n }\n}",
|
748
778
|
"title": "修改仪表盘订阅"
|
749
779
|
}
|
750
780
|
],
|
@@ -815,9 +845,15 @@
|
|
815
845
|
"ModifyShipper": [
|
816
846
|
{
|
817
847
|
"document": "修改投递COS任务",
|
818
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyShipper\n<公共请求参数>\n\n{\n \"ShipperId\": \"xxxx-
|
819
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-
|
848
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyShipper\n<公共请求参数>\n\n{\n \"ShipperId\": \"2ac8a8aa-xxxx-xxxx-84cd-8cd2beeeae17\",\n \"Bucket\": \"bucket-test-12541111\",\n \"Prefix\": \"bow-test-12541111\",\n \"ShipperName\": \"bow-test-shipper-12541111\",\n \"Interval\": 300,\n \"MaxSize\": 5,\n \"FilenameMode\": 1,\n \"FilterRules\": [\n {\n \"Key\": \"http\",\n \"Regex\": \"^(\\\\d+\\\\.\\\\d+)\\\\..*\",\n \"Value\": \"172.16\"\n }\n ],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"none\"\n },\n \"Content\": {\n \"Format\": \"json\",\n \"Json\": {\n \"EnableTag\": true,\n \"MetaFields\": [\n \"__SOURCE__\",\n \"__FILENAME__\",\n \"__TIMESTAMP__\",\n \"__HOSTNAME__\"\n ],\n \"JsonType\": 1\n }\n }\n}",
|
849
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
820
850
|
"title": "修改投递COS任务"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"document": "改为跨账号投递",
|
854
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyShipper\n<公共请求参数>\n\n{\n\n \"ShipperId\": \"3f9562a7-xxxx-xxxx-b32a-d51a927226a7\",\n \"Bucket\": \"examplebucket-1250000000\",\n \"Prefix\": \"bowtest-1250000000\",\n \"ShipperName\": \"bow-test-1250000000\",\n \"Interval\": 300,\n \"MaxSize\": 10,\n \"FilenameMode\": 1,\n \"FilterRules\": [\n {\n \"Key\": \"http\",\n \"Regex\": \"^(\\\\d+\\\\.\\\\d+)\\\\..*\",\n \"Value\": \"172.16\"\n }\n ],\n \"Partition\": \"/%Y/%m/%d/%H/\",\n \"Compress\": {\n \"Format\": \"gzip\"\n },\n \"RoleArn\": \"qcs::cam::uin/123123123:roleName/uinA_writeCLS_to_COS\",\n \"ExternalId\": \"123123123123123\",\n \"Content\": {\n \"Format\": \"json\",\n \"Json\": {\n \"EnableTag\": true,\n \"MetaFields\": [\n \"__SOURCE__\",\n \"__FILENAME__\",\n \"__TIMESTAMP__\",\n \"__HOSTNAME__\"\n ],\n \"JsonType\": 0\n }\n }\n}",
|
855
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"25d826d2-xxxx-xxxx-a4b6-f5490e86ae81\"\n }\n}",
|
856
|
+
"title": "修改投递任务"
|
821
857
|
}
|
822
858
|
],
|
823
859
|
"ModifyTopic": [
|
@@ -828,6 +864,14 @@
|
|
828
864
|
"title": "修改日志主题"
|
829
865
|
}
|
830
866
|
],
|
867
|
+
"ModifyWebCallback": [
|
868
|
+
{
|
869
|
+
"document": "修改告警渠道回调配置",
|
870
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebCallback\n<公共请求参数>\n\n{\n \"WebCallbackId\": \"webcallback-d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\",\n \"Name\": \"name\",\n \"Type\": \"Http\",\n \"Webhook\": \"http://www.xxx.com\",\n \"Method\": \"POS\",\n \"Key\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n}",
|
871
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d20a21f7-f6ac-4a7b-ba1b-1aa49be5fed1\"\n }\n}",
|
872
|
+
"title": "修改告警渠道回调配置"
|
873
|
+
}
|
874
|
+
],
|
831
875
|
"OpenKafkaConsumer": [
|
832
876
|
{
|
833
877
|
"document": "打开Kafka协议消费功能",
|
@@ -885,8 +929,8 @@
|
|
885
929
|
"SearchDashboardSubscribe": [
|
886
930
|
{
|
887
931
|
"document": "预览仪表盘订阅",
|
888
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchDashboardSubscribe\n<公共请求参数>\n\n{\n \"
|
889
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-
|
932
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchDashboardSubscribe\n<公共请求参数>\n\n{\n \"Name\": \"订阅任务-oss大盘-2023-02-28_10:19\",\n \"DashboardId\": \"dashboard-0d954d68-xxxx-xxxx-95a6-f9eff0db370f\",\n \"SubscribeData\": {\n \"DashboardTime\": [\n \"now-d\",\n \"now\"\n ],\n \"NoticeModes\": [\n {\n \"ReceiverType\": \"Uin\",\n \"ReceiverChannels\": [\n \"Email\"\n ],\n \"Values\": [\n \"11223344123\"\n ]\n }\n ],\n \"JumpDomain\": \"https://xxx.tent.com\",\n \"SubscribeLanguage\": \"zh\",\n \"Timezone\": \"Asia/Shanghai\"\n }\n}",
|
933
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
890
934
|
"title": "预览仪表盘订阅"
|
891
935
|
}
|
892
936
|
],
|
@@ -909,8 +953,8 @@
|
|
909
953
|
"UploadLog": [
|
910
954
|
{
|
911
955
|
"document": "上传日志",
|
912
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/
|
913
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-
|
956
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UploadLog\n<公共请求参数>\n\n{\n \"TopicId\": \"f6c4fa6f-xxxx-xxxx-8289-1ff6f77ed975\",\n \"CompressType\": \"lz4\"\n}",
|
957
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-xxxx-xxxx-bb20-270359fb54a7\"\n }\n}",
|
914
958
|
"title": "上传日志"
|
915
959
|
}
|
916
960
|
]
|
@@ -57063,8 +57063,8 @@
|
|
57063
57063
|
},
|
57064
57064
|
{
|
57065
57065
|
"disabled": false,
|
57066
|
-
"document": "检索分析语句,最大长度为12KB",
|
57067
|
-
"example": "status: \"
|
57066
|
+
"document": "检索分析语句,最大长度为12KB,查询语法可参考文档https://cloud.tencent.com/document/product/296/50508",
|
57067
|
+
"example": "status: \"待处理\" AND public_ip_addresses: (1* OR 2*)",
|
57068
57068
|
"member": "string",
|
57069
57069
|
"name": "QueryString",
|
57070
57070
|
"required": true,
|
@@ -57146,7 +57146,7 @@
|
|
57146
57146
|
{
|
57147
57147
|
"disabled": false,
|
57148
57148
|
"document": "匹配检索条件的原始日志",
|
57149
|
-
"example": "{\
|
57149
|
+
"example": "{\"Content\": \"{\\\"hostip\\\":\\\"10.0.0.6\\\",\\\"event_status\\\":\\\"modify\\\",\\\"status\\\":\\\"待处理\\\"}\", \"TimeStamp\": 1656641946000}",
|
57150
57150
|
"member": "LogInfo",
|
57151
57151
|
"name": "Data",
|
57152
57152
|
"output_required": true,
|