tccli 3.0.1136.1__py2.py3-none-any.whl → 3.0.1138.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/command.py +4 -1
- tccli/help_command.py +4 -1
- tccli/services/asr/v20190614/api.json +9 -0
- tccli/services/cdb/v20170320/api.json +3 -3
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +25 -25
- tccli/services/ckafka/v20190819/examples.json +18 -18
- tccli/services/cls/v20201016/api.json +117 -5
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -43
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +10 -0
- tccli/services/dlc/v20210125/api.json +23 -23
- tccli/services/dlc/v20210125/examples.json +6 -6
- tccli/services/domain/v20180808/api.json +36 -0
- tccli/services/dts/v20211206/api.json +3 -3
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/ess/v20201111/examples.json +2 -2
- tccli/services/essbasic/v20210526/api.json +4 -4
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/ioa/ioa_client.py +159 -0
- tccli/services/ioa/v20220601/api.json +897 -80
- tccli/services/ioa/v20220601/examples.json +24 -0
- tccli/services/iotexplorer/iotexplorer_client.py +178 -19
- tccli/services/iotexplorer/v20190423/api.json +210 -0
- tccli/services/iotexplorer/v20190423/examples.json +24 -0
- tccli/services/live/v20180801/api.json +12 -6
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/partners/v20180321/api.json +26 -16
- tccli/services/redis/v20180412/api.json +23 -23
- tccli/services/ssl/v20191205/api.json +171 -5
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +57 -35
- tccli/services/tcr/v20190924/examples.json +4 -4
- tccli/services/tcss/v20201101/api.json +123 -13
- tccli/services/tcss/v20201101/examples.json +3 -3
- tccli/services/tdmq/v20200217/api.json +7 -5
- tccli/services/thpc/v20230321/api.json +42 -21
- tccli/services/tke/v20180525/api.json +162 -74
- tccli/services/tke/v20180525/examples.json +69 -57
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tsf/v20180326/api.json +1 -1
- tccli/services/tts/v20190823/api.json +2 -2
- tccli/services/wedata/v20210820/api.json +377 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +61 -8
- {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/RECORD +54 -54
- {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/license_files/LICENSE +0 -0
@@ -231,15 +231,9 @@
|
|
231
231
|
"CreatePrometheusAlertPolicy": [
|
232
232
|
{
|
233
233
|
"document": "",
|
234
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
235
|
-
"output": "{\n \"Response\": {\n \"Id\": \"
|
234
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"AlertRule\": {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"Annotations\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"abc\",\n \"ClusterId\": \"abc\"\n }\n}",
|
235
|
+
"output": "{\n \"Response\": {\n \"Id\": \"abc\",\n \"RequestId\": \"sss\"\n }\n}",
|
236
236
|
"title": "新增告警"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"document": "",
|
240
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"xx\",\n \"AlertRule\": {\n \"Name\": \"xx\",\n \"Rules\": [\n {\n \"Describe\": \"xx\",\n \"Name\": \"xx\",\n \"For\": \"xx\",\n \"Labels\": [\n {\n \"Name\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"Rule\": \"xx\",\n \"Template\": \"xx\",\n \"RuleState\": 0,\n \"Annotations\": [\n {\n \"Name\": \"xx\",\n \"Value\": \"xx\"\n }\n ]\n }\n ],\n \"Notification\": {\n \"AlertManager\": {\n \"Url\": \"xx\",\n \"ClusterId\": \"xx\",\n \"ClusterType\": \"xx\"\n },\n \"RepeatInterval\": \"xx\",\n \"WebHook\": \"xx\",\n \"Enabled\": true,\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NotifyWay\": [\n \"xx\"\n ],\n \"ReceiverGroups\": [\n \"xx\"\n ],\n \"PhoneArriveNotice\": true,\n \"PhoneCircleTimes\": 0,\n \"TimeRangeStart\": \"xx\",\n \"Type\": \"xx\",\n \"TimeRangeEnd\": \"xx\"\n },\n \"TemplateId\": \"xx\",\n \"ClusterId\": \"xx\",\n \"UpdatedAt\": \"xx\",\n \"Id\": \"xx\"\n }\n}",
|
241
|
-
"output": "{\n \"Response\": {\n \"Id\": \"alert-xxx\",\n \"RequestId\": \"3dfe620f-11b8-4301-b279-1fdadedf7a59\"\n }\n}",
|
242
|
-
"title": "添加告警策略,告警渠道为Alertmanager"
|
243
237
|
}
|
244
238
|
],
|
245
239
|
"CreatePrometheusAlertRule": [
|
@@ -253,7 +247,7 @@
|
|
253
247
|
"CreatePrometheusClusterAgent": [
|
254
248
|
{
|
255
249
|
"document": "",
|
256
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
250
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Agents\": [\n {\n \"Region\": \"abc\",\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"InClusterPodConfig\": {\n \"HostNet\": true,\n \"NodeSelector\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Tolerations\": [\n {\n \"Key\": \"abc\",\n \"Operator\": \"abc\",\n \"Effect\": \"abc\"\n }\n ]\n },\n \"EnableExternal\": true,\n \"ExternalLabels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"NotInstallBasicScrape\": true,\n \"NotScrape\": true\n }\n ]\n}",
|
257
251
|
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}",
|
258
252
|
"title": "关联集群"
|
259
253
|
},
|
@@ -267,24 +261,30 @@
|
|
267
261
|
"CreatePrometheusConfig": [
|
268
262
|
{
|
269
263
|
"document": "",
|
270
|
-
"input": "
|
264
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ]\n}",
|
271
265
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
272
266
|
"title": "新增配置"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"document": "",
|
270
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-2tghe0lv\",\n \"ClusterId\": \"cls-9cgtidkr\",\n \"ClusterType\": \"tke\"\n}",
|
271
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"70efa2de-4a2b-4c64-8c13-b87d013f7b9d\"\n }\n}",
|
272
|
+
"title": "创建采集配置"
|
273
273
|
}
|
274
274
|
],
|
275
275
|
"CreatePrometheusDashboard": [
|
276
276
|
{
|
277
277
|
"document": "",
|
278
|
-
"input": "
|
279
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
278
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusDashboard\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"DashboardName\": \"abc\",\n \"Contents\": [\n \"abc\"\n ]\n}",
|
279
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
280
280
|
"title": "创建grafana面板"
|
281
281
|
}
|
282
282
|
],
|
283
283
|
"CreatePrometheusGlobalNotification": [
|
284
284
|
{
|
285
285
|
"document": "",
|
286
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusGlobalNotification\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
287
|
-
"output": "{\n \"Response\": {\n \"Id\": \"
|
286
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusGlobalNotification\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n }\n}",
|
287
|
+
"output": "{\n \"Response\": {\n \"Id\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
288
288
|
"title": "新建全局告警通知渠道"
|
289
289
|
}
|
290
290
|
],
|
@@ -299,16 +299,16 @@
|
|
299
299
|
"CreatePrometheusTemp": [
|
300
300
|
{
|
301
301
|
"document": "",
|
302
|
-
"input": "
|
303
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
302
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusTemp\n<公共请求参数>\n\n{\n \"Template\": {\n \"Name\": \"abc\",\n \"Describe\": \"abc\",\n \"Level\": \"abc\",\n \"RecordRules\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"TemplateId\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Version\": \"abc\",\n \"IsDefault\": true,\n \"AlertDetailRules\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"Annotations\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"abc\",\n \"ClusterId\": \"abc\"\n }\n ],\n \"TargetsTotal\": 0\n }\n}",
|
303
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eabc\",\n \"TemplateId\": \"temp\"\n }\n}",
|
304
304
|
"title": "创建一个模板"
|
305
305
|
}
|
306
306
|
],
|
307
307
|
"CreatePrometheusTemplate": [
|
308
308
|
{
|
309
309
|
"document": "",
|
310
|
-
"input": "
|
311
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
310
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Template\": {\n \"Name\": \"abc\",\n \"Describe\": \"abc\",\n \"Level\": \"abc\",\n \"AlertRules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"Annotations\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"RecordRules\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"TemplateId\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Version\": \"abc\",\n \"IsDefault\": true,\n \"AlertDetailRules\": [\n {\n \"Name\": \"abc\",\n \"Rules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n 1\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\"\n },\n \"Id\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Interval\": \"abc\"\n }\n ]\n }\n}",
|
311
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\",\n \"TemplateId\": \"temp\"\n }\n}",
|
312
312
|
"title": "创建一个模板"
|
313
313
|
}
|
314
314
|
],
|
@@ -475,8 +475,8 @@
|
|
475
475
|
"DeletePrometheusAlertPolicy": [
|
476
476
|
{
|
477
477
|
"document": "",
|
478
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
479
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
478
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"AlertIds\": [\n \"abc\"\n ],\n \"Names\": [\n \"abc\"\n ]\n}",
|
479
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
480
480
|
"title": "删除Prometheus告警规则"
|
481
481
|
}
|
482
482
|
],
|
@@ -491,7 +491,7 @@
|
|
491
491
|
"DeletePrometheusClusterAgent": [
|
492
492
|
{
|
493
493
|
"document": "",
|
494
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"
|
494
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"Agents\": [\n {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Describe\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"InstanceId\": \"abc\",\n \"Force\": true\n}",
|
495
495
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
496
496
|
"title": "删除agent"
|
497
497
|
}
|
@@ -499,9 +499,15 @@
|
|
499
499
|
"DeletePrometheusConfig": [
|
500
500
|
{
|
501
501
|
"document": "",
|
502
|
-
"input": "
|
503
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
504
|
-
"title": "
|
502
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-2tghe0lv\",\n \"ClusterId\": \"cls-9cgtidkr\",\n \"ClusterType\": \"tke\"\n}",
|
503
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"254f0ea8-6b2c-44f7-913e-74fb6d62255b\"\n }\n}",
|
504
|
+
"title": "删除采集配置"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"document": "",
|
508
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"ServiceMonitors\": [\n \"abc\"\n ],\n \"PodMonitors\": [\n \"abc\"\n ],\n \"RawJobs\": [\n \"abc\"\n ],\n \"Probes\": [\n \"abc\"\n ]\n}",
|
509
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
510
|
+
"title": "删除prometheus采集配置"
|
505
511
|
}
|
506
512
|
],
|
507
513
|
"DeletePrometheusRecordRuleYaml": [
|
@@ -1093,8 +1099,8 @@
|
|
1093
1099
|
"DescribePrometheusAlertPolicy": [
|
1094
1100
|
{
|
1095
1101
|
"document": "",
|
1096
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1097
|
-
"output": "{\n \"Response\": {\n \"AlertRules\": [\n {\n \"
|
1102
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ]\n}",
|
1103
|
+
"output": "{\n \"Response\": {\n \"AlertRules\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"Annotations\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"abc\",\n \"ClusterId\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
1098
1104
|
"title": "告警列表"
|
1099
1105
|
}
|
1100
1106
|
],
|
@@ -1109,32 +1115,38 @@
|
|
1109
1115
|
"DescribePrometheusClusterAgents": [
|
1110
1116
|
{
|
1111
1117
|
"document": "",
|
1112
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusClusterAgents\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1113
|
-
"output": "{\n \"Response\": {\n \"
|
1118
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusClusterAgents\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Offset\": 1,\n \"Limit\": 1\n}",
|
1119
|
+
"output": "{\n \"Response\": {\n \"Agents\": [\n {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Status\": \"abc\",\n \"ClusterName\": \"abc\",\n \"ExternalLabels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Region\": \"abc\",\n \"VpcId\": \"abc\",\n \"FailedReason\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
1114
1120
|
"title": "拉取agent信息"
|
1115
1121
|
}
|
1116
1122
|
],
|
1117
1123
|
"DescribePrometheusConfig": [
|
1118
1124
|
{
|
1119
1125
|
"document": "",
|
1120
|
-
"input": "https://tke.tencentcloudapi.com/?Action=DescribePrometheusConfig\
|
1121
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Config\": \"xxxx\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"sm1\",\n \"Config\": \"xxx\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"pm1\",\n \"Config\": \"ddd\"\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"job1\",\n \"Config\": \"xxx\"\n }\n ]\n }\n}",
|
1126
|
+
"input": "https://tke.tencentcloudapi.com/?Action=DescribePrometheusConfig\n&InstanceId=prom-xxx\n&ClusterType=tke\n&ClusterId=cls-xxx\n&<公共请求参数>",
|
1127
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Config\": \"xxxx\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"sm1\",\n \"Config\": \"xxx\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"pm1\",\n \"Config\": \"ddd\"\n }\n ],\n \"Probes\": [\n {\n \"Name\": \"probe-xxx\",\n \"Config\": \"ddd\"\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"job1\",\n \"Config\": \"xxx\"\n }\n ]\n }\n}",
|
1122
1128
|
"title": "拉取prometheus配置"
|
1129
|
+
},
|
1130
|
+
{
|
1131
|
+
"document": "",
|
1132
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-2tghe0lv\",\n \"ClusterId\": \"cls-9cgtidkr\",\n \"ClusterType\": \"tke\"\n}",
|
1133
|
+
"output": "{\n \"Response\": {\n \"Config\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"Probes\": [],\n \"RequestId\": \"abc\"\n }\n}",
|
1134
|
+
"title": "获取集群采集配置"
|
1123
1135
|
}
|
1124
1136
|
],
|
1125
1137
|
"DescribePrometheusGlobalConfig": [
|
1126
1138
|
{
|
1127
1139
|
"document": "",
|
1128
1140
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribePrometheusGlobalConfig\n&InstanceId=prom-xxx\n&<公共请求参数>",
|
1129
|
-
"output": "{\n \"Response\": {\n \"
|
1141
|
+
"output": "{\n \"Response\": {\n \"Config\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
1130
1142
|
"title": "获得实例级别监控配置"
|
1131
1143
|
}
|
1132
1144
|
],
|
1133
1145
|
"DescribePrometheusGlobalNotification": [
|
1134
1146
|
{
|
1135
1147
|
"document": "",
|
1136
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusGlobalNotification\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1137
|
-
"output": "{\n \"Response\": {\n \"Notification\": {\n \"
|
1148
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusGlobalNotification\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
|
1149
|
+
"output": "{\n \"Response\": {\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"RequestId\": \"abc\"\n }\n}",
|
1138
1150
|
"title": "查询全局告警通知渠道"
|
1139
1151
|
}
|
1140
1152
|
],
|
@@ -1149,22 +1161,16 @@
|
|
1149
1161
|
"DescribePrometheusInstanceInitStatus": [
|
1150
1162
|
{
|
1151
1163
|
"document": "",
|
1152
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1153
|
-
"output": "{\n \"Response\": {\n \"Status\": \"
|
1164
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
|
1165
|
+
"output": "{\n \"Response\": {\n \"Status\": \"abc\",\n \"EksClusterId\": \"abc\",\n \"Steps\": [\n {\n \"StartAt\": \"abc\",\n \"Step\": \"abc\",\n \"LifeState\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n },\n {\n \"LifeState\": \"abc\",\n \"Step\": \"abc\",\n \"StartAt\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n },\n {\n \"LifeState\": \"abc\",\n \"Step\": \"abc\",\n \"StartAt\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n },\n {\n \"LifeState\": \"abc\",\n \"Step\": \"abc\",\n \"StartAt\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n },\n {\n \"LifeState\": \"abc\",\n \"Step\": \"abc\",\n \"StartAt\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n },\n {\n \"LifeState\": \"abc\",\n \"Step\": \"abc\",\n \"StartAt\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n },\n {\n \"LifeState\": \"abc\",\n \"Step\": \"abc\",\n \"StartAt\": \"abc\",\n \"EndAt\": \"abc\",\n \"FailedMsg\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
1154
1166
|
"title": "获取初始化任务状态"
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"document": "",
|
1158
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-7vp71ppt\"\n}",
|
1159
|
-
"output": "{\n \"Response\": {\n \"Status\": \"xx\",\n \"EksClusterId\": \"xx\",\n \"Steps\": [\n {\n \"StartAt\": \"xx\",\n \"Step\": \"xx\",\n \"LifeState\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n },\n {\n \"LifeState\": \"xx\",\n \"Step\": \"xx\",\n \"StartAt\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n },\n {\n \"LifeState\": \"xx\",\n \"Step\": \"xx\",\n \"StartAt\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n },\n {\n \"LifeState\": \"xx\",\n \"Step\": \"xx\",\n \"StartAt\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n },\n {\n \"LifeState\": \"xx\",\n \"Step\": \"xx\",\n \"StartAt\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n },\n {\n \"LifeState\": \"xx\",\n \"Step\": \"xx\",\n \"StartAt\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n },\n {\n \"LifeState\": \"xx\",\n \"Step\": \"xx\",\n \"StartAt\": \"xx\",\n \"EndAt\": \"xx\",\n \"FailedMsg\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
|
1160
|
-
"title": "获取2.0实例初始化任务状态"
|
1161
1167
|
}
|
1162
1168
|
],
|
1163
1169
|
"DescribePrometheusInstancesOverview": [
|
1164
1170
|
{
|
1165
1171
|
"document": "",
|
1166
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstancesOverview\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"
|
1167
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"
|
1172
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstancesOverview\n<公共请求参数>\n\n{\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ]\n}",
|
1173
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"InstanceStatus\": 0,\n \"ChargeStatus\": 0,\n \"EnableGrafana\": 0,\n \"GrafanaURL\": \"abc\",\n \"InstanceChargeType\": 0,\n \"SpecName\": \"abc\",\n \"DataRetentionTime\": 0,\n \"ExpireTime\": \"abc\",\n \"AutoRenewFlag\": 0,\n \"BoundTotal\": 0,\n \"BoundNormal\": 0\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
1168
1174
|
"title": "获取实例列表"
|
1169
1175
|
}
|
1170
1176
|
],
|
@@ -1179,8 +1185,8 @@
|
|
1179
1185
|
"DescribePrometheusRecordRules": [
|
1180
1186
|
{
|
1181
1187
|
"document": "",
|
1182
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusRecordRules\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1183
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"
|
1188
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusRecordRules\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ]\n}",
|
1189
|
+
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Name\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Content\": \"abc\",\n \"ClusterId\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
1184
1190
|
"title": "拉取聚合规则"
|
1185
1191
|
}
|
1186
1192
|
],
|
@@ -1188,15 +1194,15 @@
|
|
1188
1194
|
{
|
1189
1195
|
"document": "",
|
1190
1196
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribePrometheusTargets\n&InstanceId=prom-xxx\n&ClusterType=tke\n&ClusterId=cls-xxx\n&<公共请求参数>",
|
1191
|
-
"output": "{\n \"Response\": {\n \"Jobs\": [\n {\n \"Targets\": [\n {\n \"
|
1197
|
+
"output": "{\n \"Response\": {\n \"Jobs\": [\n {\n \"Targets\": [\n {\n \"Url\": \"abc\",\n \"State\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"LastScrape\": \"abc\",\n \"ScrapeDuration\": 0,\n \"Error\": \"abc\"\n }\n ],\n \"JobName\": \"abc\",\n \"Total\": 1,\n \"Up\": 1\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
1192
1198
|
"title": "获取targets列表"
|
1193
1199
|
}
|
1194
1200
|
],
|
1195
1201
|
"DescribePrometheusTemp": [
|
1196
1202
|
{
|
1197
1203
|
"document": "",
|
1198
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusTemp\n<公共请求参数>\n\n{\n \"
|
1199
|
-
"output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"
|
1204
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusTemp\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ],\n \"Offset\": 1,\n \"Limit\": 1\n}",
|
1205
|
+
"output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Name\": \"abc\",\n \"Describe\": \"abc\",\n \"Level\": \"abc\",\n \"RecordRules\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"TemplateId\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Version\": \"abc\",\n \"IsDefault\": true,\n \"AlertDetailRules\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"Annotations\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"abc\",\n \"ClusterId\": \"abc\"\n }\n ],\n \"TargetsTotal\": 0\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
1200
1206
|
"title": "拉取模板列表"
|
1201
1207
|
}
|
1202
1208
|
],
|
@@ -1310,7 +1316,7 @@
|
|
1310
1316
|
{
|
1311
1317
|
"document": "",
|
1312
1318
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribeSupportedRuntime\n&K8sVersion=xxxx\n&<公共请求参数>",
|
1313
|
-
"output": "{\n \"Response\": {\n \"OptionalRuntimes\": [\n {\n \"RuntimeType\": \"docker\"\n }\n ],\n \"RequestId\": \"
|
1319
|
+
"output": "{\n \"Response\": {\n \"OptionalRuntimes\": [\n {\n \"RuntimeType\": \"docker\",\n \"RuntimeVersions\": [\n \"1.12.4\"\n ]\n }\n ],\n \"RequestId\": \"207bd1e4-30de-4fac-b4fb-f9b15e2b4864\"\n }\n}",
|
1314
1320
|
"title": "获取运行时版本信息"
|
1315
1321
|
}
|
1316
1322
|
],
|
@@ -1635,16 +1641,16 @@
|
|
1635
1641
|
"ModifyPrometheusAgentExternalLabels": [
|
1636
1642
|
{
|
1637
1643
|
"document": "",
|
1638
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusAgentExternalLabels\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1639
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1644
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusAgentExternalLabels\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ClusterId\": \"abc\",\n \"ExternalLabels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n}",
|
1645
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1640
1646
|
"title": "修改label"
|
1641
1647
|
}
|
1642
1648
|
],
|
1643
1649
|
"ModifyPrometheusAlertPolicy": [
|
1644
1650
|
{
|
1645
1651
|
"document": "",
|
1646
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1647
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1652
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusAlertPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"AlertRule\": {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"abc\",\n \"Rule\": \"abc\",\n \"Labels\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Template\": \"abc\",\n \"For\": \"abc\",\n \"Describe\": \"abc\",\n \"Annotations\": [\n {\n \"Name\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"abc\",\n \"ClusterId\": \"abc\"\n }\n}",
|
1653
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1648
1654
|
"title": "修改告警"
|
1649
1655
|
}
|
1650
1656
|
],
|
@@ -1659,16 +1665,22 @@
|
|
1659
1665
|
"ModifyPrometheusConfig": [
|
1660
1666
|
{
|
1661
1667
|
"document": "",
|
1662
|
-
"input": "
|
1663
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1668
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\"\n }\n ]\n}",
|
1669
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1664
1670
|
"title": "新增配置"
|
1671
|
+
},
|
1672
|
+
{
|
1673
|
+
"document": "",
|
1674
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-2tghe0lv\",\n \"ClusterId\": \"cls-9cgtidkr\",\n \"ClusterType\": \"tke\"\n}",
|
1675
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f4ae1102-75e5-4eec-900a-2cfe9da33068\"\n }\n}",
|
1676
|
+
"title": "修改采集配置"
|
1665
1677
|
}
|
1666
1678
|
],
|
1667
1679
|
"ModifyPrometheusGlobalNotification": [
|
1668
1680
|
{
|
1669
1681
|
"document": "",
|
1670
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusGlobalNotification\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1671
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1682
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusGlobalNotification\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"abc\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Url\": \"abc\"\n },\n \"RepeatInterval\": \"abc\",\n \"TimeRangeStart\": \"abc\",\n \"TimeRangeEnd\": \"abc\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"abc\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n }\n}",
|
1683
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1672
1684
|
"title": "修改全局告警通知渠道"
|
1673
1685
|
}
|
1674
1686
|
],
|
@@ -5832,7 +5832,7 @@
|
|
5832
5832
|
},
|
5833
5833
|
{
|
5834
5834
|
"disabled": false,
|
5835
|
-
"document": "【必填】云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD
|
5835
|
+
"document": "【必填】云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储;输出文件的存储格式仅支持hls或mp4",
|
5836
5836
|
"example": "无",
|
5837
5837
|
"member": "StorageParams",
|
5838
5838
|
"name": "StorageParams",
|
@@ -25511,7 +25511,7 @@
|
|
25511
25511
|
"example": "无",
|
25512
25512
|
"member": "TsfPageBusinessLogV2",
|
25513
25513
|
"name": "Result",
|
25514
|
-
"
|
25514
|
+
"output_required": true,
|
25515
25515
|
"type": "object",
|
25516
25516
|
"value_allowed_null": true
|
25517
25517
|
},
|
@@ -43,7 +43,7 @@
|
|
43
43
|
},
|
44
44
|
{
|
45
45
|
"disabled": false,
|
46
|
-
"document": "音量大小,范围:[
|
46
|
+
"document": "音量大小,范围:[-10,10],分别对应11个等级的音量,默认为0,代表正常音量。没有静音选项。",
|
47
47
|
"example": "1",
|
48
48
|
"member": "float",
|
49
49
|
"name": "Volume",
|
@@ -391,7 +391,7 @@
|
|
391
391
|
},
|
392
392
|
{
|
393
393
|
"disabled": false,
|
394
|
-
"document": "音量大小,范围[
|
394
|
+
"document": "音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。",
|
395
395
|
"example": "1",
|
396
396
|
"member": "float",
|
397
397
|
"name": "Volume",
|