tccli 3.0.1027.1__py2.py3-none-any.whl → 3.0.1029.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/asr/v20190614/CreateAsyncRecognitionTask.md +1 -1
  3. tccli/examples/cls/v20201016/CreateCosRecharge.md +1 -1
  4. tccli/examples/cls/v20201016/CreateKafkaRecharge.md +9 -8
  5. tccli/examples/cls/v20201016/CreateScheduledSql.md +1 -1
  6. tccli/examples/cls/v20201016/GetAlarmLog.md +108 -15
  7. tccli/examples/cls/v20201016/SearchCosRechargeInfo.md +4 -4
  8. tccli/examples/oceanus/v20190422/DescribeJobEvents.md +36 -0
  9. tccli/examples/ocr/v20181119/VatInvoiceVerifyNew.md +56 -0
  10. tccli/examples/tdmq/v20200217/DescribeNamespaceBundlesOpt.md +1 -23
  11. tccli/examples/tem/v20210701/CreateCosToken.md +5 -5
  12. tccli/examples/teo/v20220901/ModifyAccelerationDomainStatuses.md +1 -1
  13. tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md +72 -22
  14. tccli/examples/tione/v20211111/DescribeModelAccelerateVersions.md +76 -0
  15. tccli/examples/tse/v20201207/CreateEngine.md +2 -2
  16. tccli/examples/vod/v20180717/EnhanceMediaQuality.md +22 -0
  17. tccli/examples/waf/v20180125/GetAttackHistogram.md +5 -4
  18. tccli/loaders.py +1 -1
  19. tccli/services/asr/v20190614/api.json +2 -2
  20. tccli/services/asr/v20190614/examples.json +1 -1
  21. tccli/services/cdwdoris/v20211228/api.json +11 -1
  22. tccli/services/cls/v20201016/api.json +52 -43
  23. tccli/services/cls/v20201016/examples.json +13 -7
  24. tccli/services/dlc/v20210125/api.json +7 -4
  25. tccli/services/ecm/v20190719/api.json +17 -17
  26. tccli/services/ess/v20201111/api.json +58 -49
  27. tccli/services/essbasic/v20210526/api.json +18 -18
  28. tccli/services/essbasic/v20210526/examples.json +1 -1
  29. tccli/services/lcic/v20220817/api.json +13 -4
  30. tccli/services/lighthouse/v20200324/api.json +55 -50
  31. tccli/services/oceanus/oceanus_client.py +57 -4
  32. tccli/services/oceanus/v20190422/api.json +175 -0
  33. tccli/services/oceanus/v20190422/examples.json +8 -0
  34. tccli/services/ocr/v20181119/api.json +548 -10
  35. tccli/services/ocr/v20181119/examples.json +1 -1
  36. tccli/services/ssl/v20191205/api.json +54 -11
  37. tccli/services/tat/v20201028/api.json +1 -1
  38. tccli/services/tdmq/v20200217/api.json +2 -15
  39. tccli/services/tdmq/v20200217/examples.json +1 -1
  40. tccli/services/tem/v20210701/api.json +3 -3
  41. tccli/services/tem/v20210701/examples.json +3 -3
  42. tccli/services/teo/v20220901/api.json +4 -2
  43. tccli/services/teo/v20220901/examples.json +1 -1
  44. tccli/services/tione/tione_client.py +53 -0
  45. tccli/services/tione/v20211111/api.json +389 -18
  46. tccli/services/tione/v20211111/examples.json +10 -2
  47. tccli/services/tse/v20201207/api.json +7 -3
  48. tccli/services/tse/v20201207/examples.json +1 -1
  49. tccli/services/vod/v20180717/api.json +131 -0
  50. tccli/services/vod/v20180717/examples.json +8 -0
  51. tccli/services/vod/vod_client.py +53 -0
  52. tccli/services/waf/v20180125/api.json +10 -7
  53. tccli/services/waf/v20180125/examples.json +2 -2
  54. tccli/services/wedata/v20210820/api.json +22 -12
  55. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/RECORD +59 -56
  57. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/license_files/LICENSE +0 -0
tccli/loaders.py CHANGED
@@ -350,7 +350,7 @@ class Loader(object):
350
350
  is_conf_exist, conf_path = Utils.file_existed(os.path.join(os.path.expanduser("~"), ".tccli"),
351
351
  profile + ".configure")
352
352
  if is_conf_exist:
353
- array_count = Utils.load_json_msg(conf_path).get("arrayCount", 10)
353
+ array_count = Utils.load_json_msg(conf_path).get("_sys_param", {}).get("arrayCount", 10)
354
354
  else:
355
355
  array_count = 10
356
356
  all_param_list = param_list
@@ -512,7 +512,7 @@
512
512
  "members": [
513
513
  {
514
514
  "disabled": false,
515
- "document": "引擎模型类型\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• 16k_zh:中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• 16k_zh-PY:中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• 16k_zh_dialect:中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_ja:日语;\n• 16k_ko:韩语;\n• 16k_vi:越南语;\n• 16k_ms:马来语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;\n• 16k_zh_medical:中文医疗引擎",
515
+ "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**中文普通话通用引擎【大模型版】。模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远、等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与大模型版本的识别效果;\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_dialect_large:**中文普通话+多方言混合引擎【大模型版】,针对低质量音频、中文普通话的识别准确率极大提升,适合普通话为主、方言识别为辅的应用场景,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比方言混合引擎常规版本与大模型版本的识别效果;\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;",
516
516
  "example": "16k_zh",
517
517
  "member": "string",
518
518
  "name": "EngineModelType",
@@ -683,7 +683,7 @@
683
683
  },
684
684
  {
685
685
  "disabled": false,
686
- "document": "单标点最多字数\n**可控制单行字幕最大字数,适用于字幕生成场景**,取值范围:[6,40]\n0:不开启该功能;\n默认值为0\n\n注意:需设置ResTextFormat为3,解析返回的ResultDetail列表,通过结构中FinalSentence获取单个标点断句结果",
686
+ "document": "单标点最多字数(目前仅支持8k_zh/16k_zh引擎)\n**可控制单行字幕最大字数,适用于字幕生成场景**,取值范围:[6,40]\n0:不开启该功能;\n默认值为0\n\n注意:需设置ResTextFormat为3,解析返回的ResultDetail列表,通过结构中FinalSentence获取单个标点断句结果",
687
687
  "example": "0",
688
688
  "member": "int64",
689
689
  "name": "SentenceMaxLength",
@@ -19,7 +19,7 @@
19
19
  "CreateAsyncRecognitionTask": [
20
20
  {
21
21
  "document": "创建一个异步识别任务,通过接口返回拿到任务ID",
22
- "input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateAsyncRecognitionTask\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential=AKIDYu6A16GdCxUlnbTSVItxvhxxx2gpbx2/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=0615f73a69c6b054affd69e4b1cbb68fbe84ae8024a9347df4aa5054933adac8\n<公共请求参数>\n\n{\n \"EngineType\": \"16k_zh\",\n \"Url\": \"http://tes.cos.ap-guangzhou.myqcloud.com/test.wav\",\n \"CallbackUrl\": \"http://test.com/callback\",\n \"SignToken\": \"\"\n}",
22
+ "input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: CreateAsyncRecognitionTask\nX-TC-Timestamp: 1599140162\nAuthorization: TC3-HMAC-SHA256 Credential=AKIDYu6A16GdCxUlnbTSVItxvhxxx2gpbx2/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=0615f73a69c6b054affd69e4b1cbb68fbe84ae8024a9347df4aa5054933adac8\n<公共请求参数>\n\n{\n \"EngineType\": \"16k_zh\",\n \"Url\": \"rtmp://test.com/test_stream\",\n \"CallbackUrl\": \"http://test.com/callback\",\n \"SignToken\": \"\"\n}",
23
23
  "output": "{\n \"Response\": {\n \"RequestId\": \"fabc2d63-a1b7-40a0-b4c3-640f78974919\",\n \"Data\": {\n \"TaskId\": 1000000007\n }\n }\n}",
24
24
  "title": "语音流异步识别任务创建"
25
25
  }
@@ -642,7 +642,7 @@
642
642
  "value_allowed_null": true
643
643
  },
644
644
  {
645
- "disabled": false,
645
+ "disabled": true,
646
646
  "document": "判断审计日志表是否有catalog字段\n注意:此字段可能返回 null,表示取不到有效值。",
647
647
  "example": "0",
648
648
  "member": "int64",
@@ -650,6 +650,16 @@
650
650
  "output_required": false,
651
651
  "type": "int",
652
652
  "value_allowed_null": true
653
+ },
654
+ {
655
+ "disabled": false,
656
+ "document": "页面特性,用于前端屏蔽一些页面入口\n注意:此字段可能返回 null,表示取不到有效值。",
657
+ "example": "[\"catalog\",\"xx\"]",
658
+ "member": "string",
659
+ "name": "Characteristic",
660
+ "output_required": false,
661
+ "type": "list",
662
+ "value_allowed_null": true
653
663
  }
654
664
  ],
655
665
  "usage": "out"
@@ -756,7 +756,7 @@
756
756
  },
757
757
  {
758
758
  "disabled": false,
759
- "document": "触发条件。",
759
+ "document": "单触发条件。与MultiConditions参数互斥。",
760
760
  "example": "无",
761
761
  "member": "string",
762
762
  "name": "Condition",
@@ -906,7 +906,7 @@
906
906
  },
907
907
  {
908
908
  "disabled": false,
909
- "document": "多触发条件。\n\n注意:此字段可能返回 null,表示取不到有效值。",
909
+ "document": "多触发条件。与\nCondition互斥。\n注意:此字段可能返回 null,表示取不到有效值。",
910
910
  "example": "无",
911
911
  "member": "MultiCondition",
912
912
  "name": "MultiConditions",
@@ -1373,6 +1373,7 @@
1373
1373
  "example": "status 502 pv",
1374
1374
  "member": "string",
1375
1375
  "name": "Name",
1376
+ "output_required": true,
1376
1377
  "required": true,
1377
1378
  "type": "string",
1378
1379
  "value_allowed_null": true
@@ -1383,6 +1384,7 @@
1383
1384
  "example": "query",
1384
1385
  "member": "string",
1385
1386
  "name": "Type",
1387
+ "output_required": true,
1386
1388
  "required": true,
1387
1389
  "type": "string",
1388
1390
  "value_allowed_null": true
@@ -1393,16 +1395,18 @@
1393
1395
  "example": "*|select count(1) as pv where status = 502",
1394
1396
  "member": "string",
1395
1397
  "name": "Content",
1398
+ "output_required": true,
1396
1399
  "required": true,
1397
1400
  "type": "string",
1398
1401
  "value_allowed_null": true
1399
1402
  },
1400
1403
  {
1401
1404
  "disabled": false,
1402
- "document": "配置\n注意:此字段可能返回 null,表示取不到有效值。",
1405
+ "document": "多维分析配置。\n\n当Analysis的Type字段为query(自定义)时,支持\n{\n\"Key\": \"SyntaxRule\", // 语法规则\n\"Value\": \"1\" //0:Lucene语法 ,1: CQL语法\n}\n\n\n\n当Analysis的Type字段为field(top5)时, 支持\n {\n \"Key\": \"QueryIndex\",\n \"Value\": \"-1\" // -1:自定义, 1:执行语句1, 2:执行语句2\n},{\n \"Key\": \"CustomQuery\", //检索语句。 QueryIndex为-1时有效且必填\n \"Value\": \"* | select count(*) as count\"\n},{\n \"Key\": \"SyntaxRule\", // 查不到这个字段也是老语法(Lucene)\n \"Value\": \"0\"//0:Lucene, 1:CQL\n} \n\n当Analysis的Type字段为original(原始日志)时, 支持\n{\n \"Key\": \"Fields\",\n \"Value\": \"__SOURCE__,__HOSTNAME__,__TIMESTAMP__,__PKG_LOGID__,__TAG__.pod_ip\"\n}, {\n \"Key\": \"QueryIndex\",\n \"Value\": \"-1\" // -1:自定义, 1:执行语句1, 2:执行语句2\n},{\n \"Key\": \"CustomQuery\", // //检索语句。 QueryIndex为-1时有效且必填\n \"Value\": \"* | select count(*) as count\"\n},{\n \"Key\": \"Format\", //显示形式。1:每条日志一行,2:每条日志每个字段一行\n \"Value\": \"2\"\n},\n{\n \"Key\": \"Limit\", //最大日志条数\n \"Value\": \"5\"\n},{\n \"Key\": \"SyntaxRule\", // 查不到这个字段也是老语法\n \"Value\": \"0\"//0:Lucene, 1:CQL\n}\n注意:此字段可能返回 null,表示取不到有效值。",
1403
1406
  "example": "无",
1404
1407
  "member": "AlarmAnalysisConfig",
1405
1408
  "name": "ConfigInfo",
1409
+ "output_required": true,
1406
1410
  "required": false,
1407
1411
  "type": "list",
1408
1412
  "value_allowed_null": true
@@ -1551,8 +1555,8 @@
1551
1555
  },
1552
1556
  {
1553
1557
  "disabled": false,
1554
- "document": "腾讯云CKafka实例ID,KafkaType为0时必填",
1555
- "example": "",
1558
+ "document": "腾讯云CKafka实例ID。\nKafkaType为0时,KafkaInstance必填",
1559
+ "example": "ckafka-5kysm8",
1556
1560
  "member": "string",
1557
1561
  "name": "KafkaInstance",
1558
1562
  "required": false,
@@ -1560,7 +1564,7 @@
1560
1564
  },
1561
1565
  {
1562
1566
  "disabled": false,
1563
- "document": "服务地址",
1567
+ "document": "服务地址。\nKafkaType为1时,ServerAddr必填",
1564
1568
  "example": "192.168.0.1:9095或test.cls.tencentyun.com:9095",
1565
1569
  "member": "string",
1566
1570
  "name": "ServerAddr",
@@ -1578,7 +1582,7 @@
1578
1582
  },
1579
1583
  {
1580
1584
  "disabled": false,
1581
- "document": "加密访问协议,IsEncryptionAddr参数为true时必填",
1585
+ "document": "加密访问协议。IsEncryptionAddr参数为true时必填",
1582
1586
  "example": "无",
1583
1587
  "member": "KafkaProtocolInfo",
1584
1588
  "name": "Protocol",
@@ -1597,6 +1601,7 @@
1597
1601
  "example": "0",
1598
1602
  "member": "int64",
1599
1603
  "name": "Status",
1604
+ "output_required": true,
1600
1605
  "type": "int",
1601
1606
  "value_allowed_null": true
1602
1607
  },
@@ -3237,8 +3242,8 @@
3237
3242
  },
3238
3243
  {
3239
3244
  "disabled": false,
3240
- "document": "COS存储桶",
3241
- "example": "bucket1",
3245
+ "document": "COS存储桶。\n存储桶命名规范:https://cloud.tencent.com/document/product/436/13312",
3246
+ "example": "examplebucket-1-1250000000",
3242
3247
  "member": "string",
3243
3248
  "name": "Bucket",
3244
3249
  "required": true,
@@ -3246,7 +3251,7 @@
3246
3251
  },
3247
3252
  {
3248
3253
  "disabled": false,
3249
- "document": "COS存储桶所在地域",
3254
+ "document": "COS存储桶所在地域。地域和访问域名:https://cloud.tencent.com/document/product/436/6224",
3250
3255
  "example": "ap-guangzhou",
3251
3256
  "member": "string",
3252
3257
  "name": "BucketRegion",
@@ -3655,7 +3660,7 @@
3655
3660
  {
3656
3661
  "disabled": false,
3657
3662
  "document": "导入CLS目标topic ID",
3658
- "example": "",
3663
+ "example": "b53fe5be-7ee3-4031-8043-5a73bad4f572",
3659
3664
  "member": "string",
3660
3665
  "name": "TopicId",
3661
3666
  "required": true,
@@ -3691,7 +3696,7 @@
3691
3696
  {
3692
3697
  "disabled": false,
3693
3698
  "document": "导入数据位置,-2:最早(默认),-1:最晚",
3694
- "example": "0",
3699
+ "example": "-1",
3695
3700
  "member": "int64",
3696
3701
  "name": "Offset",
3697
3702
  "required": true,
@@ -3726,7 +3731,7 @@
3726
3731
  },
3727
3732
  {
3728
3733
  "disabled": false,
3729
- "document": "加密访问协议,IsEncryptionAddr参数为true时必填",
3734
+ "document": "加密访问协议。\nKafkaType为1并且IsEncryptionAddrtrue时Protocol必填",
3730
3735
  "example": "无",
3731
3736
  "member": "KafkaProtocolInfo",
3732
3737
  "name": "Protocol",
@@ -3744,7 +3749,7 @@
3744
3749
  },
3745
3750
  {
3746
3751
  "disabled": false,
3747
- "document": "日志导入规则",
3752
+ "document": "日志导入规则。\n必填字段。",
3748
3753
  "example": "无",
3749
3754
  "member": "LogRechargeRuleInfo",
3750
3755
  "name": "LogRechargeRule",
@@ -6665,7 +6670,7 @@
6665
6670
  },
6666
6671
  {
6667
6672
  "disabled": false,
6668
- "document": "任务名称",
6673
+ "document": "任务名称。",
6669
6674
  "example": "task",
6670
6675
  "member": "string",
6671
6676
  "name": "Name",
@@ -6674,7 +6679,7 @@
6674
6679
  },
6675
6680
  {
6676
6681
  "disabled": false,
6677
- "document": "任务id",
6682
+ "document": "任务id",
6678
6683
  "example": "6ef60bec-0242-43af-bb20-270359fb54xx",
6679
6684
  "member": "string",
6680
6685
  "name": "TaskId",
@@ -6683,7 +6688,7 @@
6683
6688
  },
6684
6689
  {
6685
6690
  "disabled": false,
6686
- "document": "<li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配,类型:String必选:否</li>\n<li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配,类型:String必选:否</li>\n<li>srcTopicId按照【源日志主题ID】进行过滤。类型:String必选:否</li>\n<li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String必选:否</li>\n<li>bizType按照【主题类型】进行过滤,0日志主题1指标主题,。类型:String必选:否</li>\n<li>status按照【任务状态】进行过滤。类型:String必选:否</li>\n<li>taskName按照【任务名称】进行过滤,模糊匹配,。类型:String必选:否</li>\n<li>taskId按照【任务ID】进行过滤,模糊匹配,。类型:String必选:否</li>\n",
6691
+ "document": "<li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li>\n<li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li>\n<li>srcTopicId按照【源日志主题ID】进行过滤。类型:String。必选:否</li>\n<li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String。必选:否</li>\n<li>bizType按照【主题类型】进行过滤,0日志主题 1指标主题。类型:String。必选:否</li>\n<li>status按照【任务状态】进行过滤,1:运行 2:停止。类型:String。必选:否</li>\n<li>taskName按照【任务名称】进行过滤,模糊匹配。类型:String。必选:否</li>\n<li>taskId按照【任务ID】进行过滤,模糊匹配。类型:String。必选:否</li>\n",
6687
6692
  "example": "无",
6688
6693
  "member": "Filter",
6689
6694
  "name": "Filters",
@@ -7510,7 +7515,7 @@
7510
7515
  {
7511
7516
  "disabled": false,
7512
7517
  "document": "要查询的执行详情的起始时间,Unix时间戳,单位ms",
7513
- "example": "1676615187496",
7518
+ "example": "1702569600000",
7514
7519
  "member": "int64",
7515
7520
  "name": "From",
7516
7521
  "required": true,
@@ -7519,7 +7524,7 @@
7519
7524
  {
7520
7525
  "disabled": false,
7521
7526
  "document": "要查询的执行详情的结束时间,Unix时间戳,单位ms",
7522
- "example": "1676617787496",
7527
+ "example": "1702655999999",
7523
7528
  "member": "int64",
7524
7529
  "name": "To",
7525
7530
  "required": true,
@@ -7527,7 +7532,7 @@
7527
7532
  },
7528
7533
  {
7529
7534
  "disabled": false,
7530
- "document": "查询过滤条件,例如:\n- 按告警策略ID查询:`alert_id:\"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971\"`\n- 按监控对象ID查询:`monitored_object:\"823d8bfa-76a7-xxxx-8399-8cda74d4009b\") `\n- 按告警策略ID及监控对象ID查询:`alert_id:\"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971\" AND monitored_object:\"823d8bfa-76a7-xxxx-8399-8cda74d4009b\")`",
7535
+ "document": "查询过滤条件,例如:\n- 按告警策略ID查询:`alert_id:\"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971\"`\n- 按监控对象ID查询:`monitored_object:\"823d8bfa-76a7-xxxx-8399-8cda74d4009b\" `\n- 按告警策略ID及监控对象ID查询:`alert_id:\"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971\" AND monitored_object:\"823d8bfa-76a7-xxxx-8399-8cda74d4009b\"`\n- 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:\"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c\") AND (monitored_object:\"3c514e84-6f1f-46ec-xxxx-05de6163f7fe\") AND NOT condition_evaluate_result: \"Skip\" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`",
7531
7536
  "example": "alert_id:notice-c0960eb3-6454-4eef-xxxx-8feb766a9fbd",
7532
7537
  "member": "string",
7533
7538
  "name": "Query",
@@ -7608,7 +7613,7 @@
7608
7613
  },
7609
7614
  {
7610
7615
  "disabled": false,
7611
- "document": "如果Analysis为True,则返回分析结果的列名,否则为空\n注意:此字段可能返回 null,表示取不到有效值。",
7616
+ "document": "分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;\n否则为空。\n注意:此字段可能返回 null,表示取不到有效值。",
7612
7617
  "example": "[\"time\",\"pv\",\"uv\"]",
7613
7618
  "member": "string",
7614
7619
  "name": "ColNames",
@@ -7618,7 +7623,7 @@
7618
7623
  },
7619
7624
  {
7620
7625
  "disabled": false,
7621
- "document": "执行详情查询结果;当Analysis为True时,可能返回为null\n注意:此字段可能返回 null,表示取不到有效值。",
7626
+ "document": "执行详情查询结果。\n\n当Query字段无SQL语句时,返回查询结果。\n当Query字段有SQL语句时,可能返回null。\n注意:此字段可能返回 null,表示取不到有效值。",
7622
7627
  "example": "无",
7623
7628
  "member": "LogInfo",
7624
7629
  "name": "Results",
@@ -7628,7 +7633,7 @@
7628
7633
  },
7629
7634
  {
7630
7635
  "disabled": false,
7631
- "document": "执行详情统计分析结果;当Analysis为False时,可能返回为null\n注意:此字段可能返回 null,表示取不到有效值。",
7636
+ "document": "执行详情统计分析结果。当Query字段有SQL语句时,返回sql统计结果,否则可能返回null。\n\n注意:此字段可能返回 null,表示取不到有效值。",
7632
7637
  "example": "无",
7633
7638
  "member": "LogItems",
7634
7639
  "name": "AnalysisResults",
@@ -7858,40 +7863,44 @@
7858
7863
  "members": [
7859
7864
  {
7860
7865
  "disabled": false,
7861
- "document": "协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证\n注意:此字段可能返回 null,表示取不到有效值。",
7866
+ "document": "协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。\n入参必填\n注意:此字段可能返回 null,表示取不到有效值。",
7862
7867
  "example": "sasl_plaintext",
7863
7868
  "member": "string",
7864
7869
  "name": "Protocol",
7870
+ "output_required": true,
7865
7871
  "required": false,
7866
7872
  "type": "string",
7867
7873
  "value_allowed_null": true
7868
7874
  },
7869
7875
  {
7870
7876
  "disabled": false,
7871
- "document": "加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512\n注意:此字段可能返回 null,表示取不到有效值。",
7877
+ "document": "加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512。\n当Protocol为sasl_plaintext或sasl_ssl时必填\n注意:此字段可能返回 null,表示取不到有效值。",
7872
7878
  "example": "无",
7873
7879
  "member": "string",
7874
7880
  "name": "Mechanism",
7881
+ "output_required": true,
7875
7882
  "required": false,
7876
7883
  "type": "string",
7877
7884
  "value_allowed_null": true
7878
7885
  },
7879
7886
  {
7880
7887
  "disabled": false,
7881
- "document": "用户名\n注意:此字段可能返回 null,表示取不到有效值。",
7888
+ "document": "用户名。\n当Protocol为sasl_plaintext或sasl_ssl时必填\n注意:此字段可能返回 null,表示取不到有效值。",
7882
7889
  "example": "无",
7883
7890
  "member": "string",
7884
7891
  "name": "UserName",
7892
+ "output_required": true,
7885
7893
  "required": false,
7886
7894
  "type": "string",
7887
7895
  "value_allowed_null": true
7888
7896
  },
7889
7897
  {
7890
7898
  "disabled": false,
7891
- "document": "用户密码\n注意:此字段可能返回 null,表示取不到有效值。",
7899
+ "document": "用户密码。\n当Protocol为sasl_plaintext或sasl_ssl时必填\n注意:此字段可能返回 null,表示取不到有效值。",
7892
7900
  "example": "无",
7893
7901
  "member": "string",
7894
7902
  "name": "Password",
7903
+ "output_required": true,
7895
7904
  "required": false,
7896
7905
  "type": "string",
7897
7906
  "value_allowed_null": true
@@ -10786,7 +10795,7 @@
10786
10795
  },
10787
10796
  {
10788
10797
  "disabled": false,
10789
- "document": "用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开",
10798
+ "document": "用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开。最多支持100个。",
10790
10799
  "example": "topic1,topic2",
10791
10800
  "member": "string",
10792
10801
  "name": "UserKafkaTopics",
@@ -10796,7 +10805,7 @@
10796
10805
  {
10797
10806
  "disabled": false,
10798
10807
  "document": "导入数据位置,-2:最早(默认),-1:最晚",
10799
- "example": "0",
10808
+ "example": "-1",
10800
10809
  "member": "int64",
10801
10810
  "name": "Offset",
10802
10811
  "required": true,
@@ -10804,7 +10813,7 @@
10804
10813
  },
10805
10814
  {
10806
10815
  "disabled": false,
10807
- "document": "腾讯云CKafka实例ID,KafkaType为0时必填",
10816
+ "document": "腾讯云CKafka实例ID。\nKafkaType为0时KafkaInstance必填",
10808
10817
  "example": "无",
10809
10818
  "member": "string",
10810
10819
  "name": "KafkaInstance",
@@ -10813,7 +10822,7 @@
10813
10822
  },
10814
10823
  {
10815
10824
  "disabled": false,
10816
- "document": "服务地址",
10825
+ "document": "服务地址。\nKafkaType为1时ServerAddr必填",
10817
10826
  "example": "192.168.0.1:9095或test.cls.tencentyun.com:9095",
10818
10827
  "member": "string",
10819
10828
  "name": "ServerAddr",
@@ -10822,7 +10831,7 @@
10822
10831
  },
10823
10832
  {
10824
10833
  "disabled": false,
10825
- "document": "ServerAddr是否为加密连接",
10834
+ "document": "ServerAddr是否为加密连接。。\nKafkaType为1时有效。",
10826
10835
  "example": "true",
10827
10836
  "member": "bool",
10828
10837
  "name": "IsEncryptionAddr",
@@ -10831,7 +10840,7 @@
10831
10840
  },
10832
10841
  {
10833
10842
  "disabled": false,
10834
- "document": "加密访问协议,IsEncryptionAddr参数为true时必填",
10843
+ "document": "加密访问协议。\nKafkaType为1并且IsEncryptionAddrtrue时Protocol必填",
10835
10844
  "example": "无",
10836
10845
  "member": "KafkaProtocolInfo",
10837
10846
  "name": "Protocol",
@@ -11281,7 +11290,7 @@
11281
11290
  },
11282
11291
  {
11283
11292
  "disabled": false,
11284
- "document": "指标名称",
11293
+ "document": "指标名称。当BizType为1时,MetricName需要填写",
11285
11294
  "example": "cpu_usage",
11286
11295
  "member": "string",
11287
11296
  "name": "MetricName",
@@ -11555,8 +11564,8 @@
11555
11564
  },
11556
11565
  {
11557
11566
  "disabled": false,
11558
- "document": "存储桶",
11559
- "example": "bucket1",
11567
+ "document": "存储桶。\n存储桶命名规范:https://cloud.tencent.com/document/product/436/13312",
11568
+ "example": "examplebucket-1-1250000000",
11560
11569
  "member": "string",
11561
11570
  "name": "Bucket",
11562
11571
  "required": true,
@@ -11564,8 +11573,8 @@
11564
11573
  },
11565
11574
  {
11566
11575
  "disabled": false,
11567
- "document": "存储桶所在地域",
11568
- "example": "ap-guangzhou-open",
11576
+ "document": "存储桶所在地域。\n地域和访问域名:https://cloud.tencent.com/document/product/436/6224",
11577
+ "example": "ap-guangzhou",
11569
11578
  "member": "string",
11570
11579
  "name": "BucketRegion",
11571
11580
  "required": true,
@@ -11601,7 +11610,7 @@
11601
11610
  "example": "[\"xxxxx\",\"xxxxx\"]",
11602
11611
  "member": "string",
11603
11612
  "name": "Data",
11604
- "required": true,
11613
+ "output_required": true,
11605
11614
  "type": "list",
11606
11615
  "value_allowed_null": true
11607
11616
  },
@@ -11611,7 +11620,7 @@
11611
11620
  "example": "1",
11612
11621
  "member": "uint64",
11613
11622
  "name": "Sum",
11614
- "required": true,
11623
+ "output_required": true,
11615
11624
  "type": "int",
11616
11625
  "value_allowed_null": false
11617
11626
  },
@@ -11621,7 +11630,7 @@
11621
11630
  "example": "https://bucket1.ap-guangzhou.myqcloud.com/csv/g_xxx.gz",
11622
11631
  "member": "string",
11623
11632
  "name": "Path",
11624
- "required": true,
11633
+ "output_required": true,
11625
11634
  "type": "string",
11626
11635
  "value_allowed_null": true
11627
11636
  },
@@ -11631,7 +11640,7 @@
11631
11640
  "example": "xxx",
11632
11641
  "member": "string",
11633
11642
  "name": "Msg",
11634
- "required": true,
11643
+ "output_required": true,
11635
11644
  "type": "string",
11636
11645
  "value_allowed_null": true
11637
11646
  },
@@ -11641,7 +11650,7 @@
11641
11650
  "example": "0",
11642
11651
  "member": "int64",
11643
11652
  "name": "Status",
11644
- "required": true,
11653
+ "output_required": true,
11645
11654
  "type": "int",
11646
11655
  "value_allowed_null": false
11647
11656
  },
@@ -83,7 +83,7 @@
83
83
  "CreateCosRecharge": [
84
84
  {
85
85
  "document": "创建cos导入任务",
86
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCosRecharge\n<公共请求参数>\n\n{\n \"TopicId\": \"xxx-xxx-xxx-xxx\",\n \"LogsetId\": \"xxx-xxx-xxx-xxx\",\n \"Name\": \"test_name\",\n \"Bucket\": \"test_bucket\",\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 \"FilterKeyRegex\": [\n {\n \"Key\": \"xxx\",\n \"Regex\": \"ssss\"\n }\n ],\n \"UnMatchLogKey\": \"testlog\",\n \"UnMatchUpLoadSwitch\": true,\n \"Backtracking\": -1\n }\n}",
86
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCosRecharge\n<公共请求参数>\n\n{\n \"TopicId\": \"xxx-xxx-xxx-xxx\",\n \"LogsetId\": \"xxx-xxx-xxx-xxx\",\n \"Name\": \"test_name\",\n \"Bucket\": \"examplebucket-1-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 \"FilterKeyRegex\": [\n {\n \"Key\": \"xxx\",\n \"Regex\": \"ssss\"\n }\n ],\n \"UnMatchLogKey\": \"testlog\",\n \"UnMatchUpLoadSwitch\": true,\n \"Backtracking\": -1\n }\n}",
87
87
  "output": "{\n \"Response\": {\n \"Id\": \"abc-dec-ff-ee\",\n \"RequestId\": \"xxx-x-xx-xx\"\n }\n}",
88
88
  "title": "创建cos导入任务"
89
89
  }
@@ -123,8 +123,8 @@
123
123
  "CreateKafkaRecharge": [
124
124
  {
125
125
  "document": "创建Kafka导入规则",
126
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKafkaRecharge\n<公共请求参数>\n\n{\n \"TopicId\": \"xxx-xxx-xxx-xxx-xxxx\",\n \"Name\": \"test\",\n \"KafkaType\": 1,\n \"ServerAddr\": \"abc\",\n \"IsEncryptionAddr\": true,\n \"UserKafkaTopics\": \"abc\",\n \"ConsumerGroupName\": \"abc\",\n \"Offset\": -1,\n \"LogRechargeRule\": {\n \"RechargeType\": \"json_log\",\n \"TimeKey\": \"abc\",\n \"TimeFormat\": \"abc\",\n \"LogRegex\": \"abc\",\n \"UnMatchLogSwitch\": true,\n \"UnMatchLogKey\": \"abc\",\n \"DefaultTimeSwitch\": true,\n \"EncodingFormat\": 0\n }\n}",
127
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\",\n \"Id\": \"xxx-xx-xx\"\n }\n}",
126
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKafkaRecharge\n<公共请求参数>\n\n{\n \"TopicId\": \"b53fe5be-7ee3-4031-8043-5a73bad4f572\",\n \"Name\": \"testname\",\n \"KafkaType\": 1,\n \"ServerAddr\": \"192.168.0.1:9095\",\n \"IsEncryptionAddr\": true,\n \"UserKafkaTopics\": \"topic-1212123123,topic-sadf5r32f3ww\",\n \"ConsumerGroupName\": \"consumer-group-name\",\n \"Offset\": -1,\n \"LogRechargeRule\": {\n \"RechargeType\": \"json_log\",\n \"TimeKey\": \"abc\",\n \"TimeFormat\": \"abc\",\n \"LogRegex\": \"abc\",\n \"UnMatchLogSwitch\": true,\n \"UnMatchLogKey\": \"abc\",\n \"DefaultTimeSwitch\": true,\n \"EncodingFormat\": 0\n },\n \"Protocol\": {\n \"Protocol\": \"plaintext\"\n }\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"48d6a72b-99f7-4643-bc57-d63b6952b752\",\n \"Id\": \"11d6a72b-99f7-4643-bc57-d63b6952b711\"\n }\n}",
128
128
  "title": "创建Kafka导入规则"
129
129
  }
130
130
  ],
@@ -147,7 +147,7 @@
147
147
  "CreateScheduledSql": [
148
148
  {
149
149
  "document": "创建ScheduledSQL任务",
150
- "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\": \"test\",\n \"DstResource\": {\n \"TopicId\": \"6ef60bec-0242-43af-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-0242-43af-bb20-270359fbxxxxx\",\n \"ProcessDelay\": 0,\n \"ProcessType\": 0,\n \"SrcTopicRegion\": \"ap-guangzhou\",\n \"ProcessEndTime\": 1690515440000\n}",
150
+ "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\": \"test\",\n \"DstResource\": {\n \"TopicId\": \"6ef60bec-0242-43af-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-0242-43af-bb20-270359fbxxxxx\",\n \"ProcessDelay\": 0,\n \"ProcessType\": 1,\n \"SrcTopicRegion\": \"ap-guangzhou\",\n \"ProcessEndTime\": 1690515440000\n}",
151
151
  "output": "{\n \"Response\": {\n \"TaskId\": \"abdcebec-0242-43af-bb20-270359fb54a7\",\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
152
152
  "title": "创建ScheduledSQL任务"
153
153
  }
@@ -507,9 +507,15 @@
507
507
  "GetAlarmLog": [
508
508
  {
509
509
  "document": "查询指定告警策略的告警历史记录",
510
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAlarmLog\n<公共请求参数>\n\n{\n \"From\": 1676615510870,\n \"To\": 1676619110870,\n \"Query\": \"alert_id: alarm-3e6131b1-689a-xxxx-8e2d-62ba80e6d91e\",\n \"Limit\": 1\n}",
511
- "output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC03MTI5NGYwZS1kY2IyLTQ0MTktYmQyMy01ZDgwNTcyN2Y0OTExNjc2NjE5Mzk5Mjg3\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": null,\n \"Results\": [\n {\n \"Time\": 1676618994000,\n \"TopicId\": \"louder\",\n \"TopicName\": \"louder\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"IndexStatus\": \"\",\n \"RawLog\": \"\",\n \"LogJson\": \"{\\\"reach_trigger\\\":\\\"true\\\",\\\"notify_time\\\":1676618994,\\\"reach_notify\\\":\\\"false\\\",\\\"process_error_msg\\\":\\\"AlertThreshold Unreached\\\",\\\"record_group_id\\\":\\\"\\\",\\\"trigger\\\":\\\"$1.Warning事件数 > 0\\\",\\\"trigger_failed_reason\\\":\\\"matched\\\",\\\"alert_threshold\\\":15,\\\"trigger_result\\\":\\\"success\\\",\\\"monitored_object\\\":\\\"993bba4d-9494-4023-xxxx-f06c1b8c2983\\\",\\\"happen_threshold\\\":1,\\\"notify_type\\\":1,\\\"record_id\\\":\\\"\\\",\\\"trigger_time\\\":1676618994,\\\"notify_template\\\":\\\"notice-a1d2a4a6-c731-4386-869a-5ba91b1bb26c\\\",\\\"alert_id\\\":\\\"alarm-3e6131b1-689a-xxxx-8e2d-62ba80e6d91e\\\",\\\"notify_result\\\":\\\"fail\\\",\\\"process_result\\\":\\\"fail\\\",\\\"notify_failed_reason\\\":\\\"AlertThreshold Unreached\\\",\\\"uin\\\":10000100xxxx,\\\"topic_id\\\":\\\"993bba4d-9494-4023-xxxx-f06c1b8c2983\\\",\\\"record_info\\\":\\\"\\\",\\\"alert_name\\\":\\\"TKE Demo事件日志告警策略_10000100xxxx\\\",\\\"process_error_type\\\":\\\"UnreachedThreshold\\\"}\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": null,\n \"RequestId\": \"53fa03fb-a0f6-4ac0-afe8-de697b586eb0\"\n }\n}",
510
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAlarmLog\n<公共请求参数>\n\n{\n \"From\": 1702569600000,\n \"To\": 1702655999999,\n \"Query\": \"(alert_id:\\\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\\\") AND (monitored_object:\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\") AND NOT condition_evaluate_result: \\\"Skip\\\" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1\",\n \"Limit\": 1\n}",
511
+ "output": "{\n \"Response\": {\n \"Analysis\": true,\n \"AnalysisRecords\": [],\n \"AnalysisResults\": [\n {\n \"Data\": [\n {\n \"Key\": \"topic_type\",\n \"Value\": \"log\"\n },\n {\n \"Key\": \"alert_threshold\",\n \"Value\": \"15\"\n },\n {\n \"Key\": \"top50NoticeFailureCount\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"happen_threshold\",\n \"Value\": \"1\"\n },\n {\n \"Key\": \"top50StatisticsFailureCount\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"alert_id\",\n \"Value\": \"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\"\n },\n {\n \"Key\": \"top50StatisticsTotalCount\",\n \"Value\": \"705\"\n },\n {\n \"Key\": \"alert_name\",\n \"Value\": \"EdgeOne 缓存命中率告警策略_100001127589\"\n },\n {\n \"Key\": \"monitored_object\",\n \"Value\": \"3c514e84-6f1f-46ec-afbf-05de6163f7fe\"\n },\n {\n \"Key\": \"top50NoticeTotalCount\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"notify_template\",\n \"Value\": \"notice-8e0660a4-197d-46b0-b1ef-e63571b7a438\"\n }\n ]\n }\n ],\n \"ColNames\": [\n \"top50StatisticsTotalCount\",\n \"top50StatisticsFailureCount\",\n \"top50NoticeTotalCount\",\n \"top50NoticeFailureCount\",\n \"alert_id\",\n \"alert_name\",\n \"monitored_object\",\n \"topic_type\",\n \"happen_threshold\",\n \"alert_threshold\",\n \"notify_template\"\n ],\n \"Columns\": [],\n \"Context\": \"\",\n \"ListOver\": true,\n \"RequestId\": \"716f9f96-ed8c-4a20-9e75-dfa27ba9a273\",\n \"Results\": []\n }\n}",
512
512
  "title": "查询日志"
513
+ },
514
+ {
515
+ "document": "查询指定告警策略和告警对象的告警历史记录",
516
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAlarmLog\n<公共请求参数>\n\n{\n \"From\": 1702569600000,\n \"To\": 1702655999999,\n \"Query\": \"alert_id:\\\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\\\" AND monitored_object:\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\"\",\n \"Limit\": 1,\n \"Context\": \"\"\n}",
517
+ "output": "{\n \"Response\": {\n \"Analysis\": false,\n \"AnalysisRecords\": null,\n \"AnalysisResults\": [],\n \"ColNames\": [],\n \"Columns\": null,\n \"Context\": \"Y29udGV4dC0yNmJkYjY1ZS1lODdjLTQ5Y2ItODdiYy0xNmUwNWFlYTYwM2MxNzAyNjEyMzA4MTU1\",\n \"ListOver\": false,\n \"RequestId\": \"aefbd480-35c5-43b7-b1df-d625727abebf\",\n \"Results\": [\n {\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"IndexStatus\": \"\",\n \"LogJson\": \"{\\\"reach_trigger\\\":\\\"false\\\",\\\"label_string\\\":\\\"\\\",\\\"fire_time\\\":1702612278007,\\\"reach_notify\\\":\\\"false\\\",\\\"record_group_id\\\":\\\"\\\",\\\"topic_type\\\":\\\"log\\\",\\\"alert_threshold\\\":15,\\\"trigger_result\\\":\\\"success\\\",\\\"monitored_object\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"duration\\\":0,\\\"condition_evaluate_result\\\":\\\"QueryResultUnmatch\\\",\\\"notify_type\\\":2,\\\"summary_en\\\":\\\"The trigger condition is not met\\\",\\\"notification_send_result\\\":\\\"NotSend\\\",\\\"trigger_time\\\":1702612278,\\\"notify_template\\\":\\\"notice-8e0660a4-197d-46b0-b1ef-e63571b7a438\\\",\\\"summary_cn\\\":\\\"执行语句结果不满足触发条件\\\",\\\"alert_id\\\":\\\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\\\",\\\"notify_result\\\":\\\"success\\\",\\\"topic_name\\\":\\\"dyltest2\\\",\\\"process_result\\\":\\\"fail\\\",\\\"notify_failed_reason\\\":\\\"\\\",\\\"object_param\\\":\\\"[{\\\\\\\"EndTime\\\\\\\":1702612230000,\\\\\\\"StartTime\\\\\\\":1702608630000,\\\\\\\"TopicId\\\\\\\":\\\\\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\\\\\",\\\\\\\"TopicName\\\\\\\":\\\\\\\"dyltest2\\\\\\\",\\\\\\\"TopicType\\\\\\\":\\\\\\\"log\\\\\\\",\\\\\\\"grammarVersion\\\\\\\":\\\\\\\"cql\\\\\\\"}]\\\",\\\"uin\\\":100001127589,\\\"topic_id\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"record_info\\\":\\\"\\\",\\\"notify_time\\\":1702612278,\\\"level\\\":\\\"Warn\\\",\\\"process_error_msg\\\":\\\"The conditions are not matched, no results\\\",\\\"trigger\\\":\\\"$1.hit_rate<50\\\",\\\"trigger_failed_reason\\\":\\\"The conditions are not matched, no results\\\",\\\"happen_threshold\\\":1,\\\"record_id\\\":\\\"9e35be9f-b617-4827-96c5-97a0383aad0f\\\",\\\"nick_name\\\":\\\"\\\",\\\"logset_id\\\":\\\"19b6cec0-b80f-4ffe-98de-239670e5b19d\\\",\\\"detail\\\":\\\"\\\",\\\"alert_name\\\":\\\"EdgeOne 缓存命中率告警策略_100001127589\\\",\\\"process_error_type\\\":\\\"QueryResultUnmatch\\\",\\\"status\\\":\\\"QueryResultUnmatch\\\"}\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"RawLog\": \"\",\n \"Source\": \"\",\n \"Time\": 1702612278007,\n \"TopicId\": \"louder\",\n \"TopicName\": \"louder\"\n }\n ]\n }\n}",
518
+ "title": "查询指定告警策略和告警对象的告警历史记录"
513
519
  }
514
520
  ],
515
521
  "MergePartition": [
@@ -683,7 +689,7 @@
683
689
  "SearchCosRechargeInfo": [
684
690
  {
685
691
  "document": "",
686
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchCosRechargeInfo\n<公共请求参数>\n\n{\n \"TopicId\": \"xxx-xxx-xxx-xxx\",\n \"LogsetId\": \"xxx-xxx-xxx-xxx\",\n \"Name\": \"test_name\",\n \"Bucket\": \"test_bucket\",\n \"BucketRegion\": \"gz_open\",\n \"Prefix\": \"text_prefix\",\n \"Compress\": \"gzip\"\n}",
692
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchCosRechargeInfo\n<公共请求参数>\n\n{\n \"TopicId\": \"e6a94ed2-8191-49ac-ab67-90e33d2f1111\",\n \"LogsetId\": \"11114ed2-8191-49ac-ab67-90e33d2f3974\",\n \"Name\": \"test_name\",\n \"Bucket\": \"examplebucket-1-1250000000\",\n \"BucketRegion\": \"ap-guangzhou\",\n \"Prefix\": \"text_prefix\",\n \"Compress\": \"gzip\"\n}",
687
693
  "output": "{\n \"Response\": {\n \"Msg\": \"\",\n \"Status\": 0,\n \"Data\": [\n \"2021-11-09 20:16:29.038 INFO apis/report.go:108 report data success, size 1\",\n \"2021-11-09 20:16:29.039 INFO apis/report.go:108 report data success, size 1\",\n \"2021-11-09 20:16:29.040 INFO apis/report.go:108 report data success, size 1\",\n \"2021-11-09 20:16:29.041 INFO apis/report.go:108 report data success, size 1\",\n \"2021-11-09 20:16:29.042 INFO apis/report.go:108 report data success, size 1\"\n ],\n \"Sum\": 10000,\n \"Path\": \"https://bucket1.ap-guangzhou.myqcloud.com/csv/g_xxx.gz\",\n \"RequestId\": \"e6a94ed2-8191-49ac-ab67-90e33d2f3974\"\n }\n}",
688
694
  "title": "预览cos导入信息"
689
695
  }
@@ -4383,20 +4383,22 @@
4383
4383
  "members": [
4384
4384
  {
4385
4385
  "disabled": false,
4386
- "document": "定时拉起时间:如:周一8点\n注意:此字段可能返回 null,表示取不到有效值。",
4387
- "example": "1000000-08:00:00",
4386
+ "document": "定时拉起时间:如:周一&周三8点\n注意:此字段可能返回 null,表示取不到有效值。",
4387
+ "example": "0000101-08:00:00",
4388
4388
  "member": "string",
4389
4389
  "name": "ResumeTime",
4390
+ "output_required": true,
4390
4391
  "required": false,
4391
4392
  "type": "string",
4392
4393
  "value_allowed_null": true
4393
4394
  },
4394
4395
  {
4395
4396
  "disabled": false,
4396
- "document": "定时挂起时间:如:周一20点\n注意:此字段可能返回 null,表示取不到有效值。",
4397
- "example": "1000000-20:00:00",
4397
+ "document": "定时挂起时间:如:周一&周三20点\n注意:此字段可能返回 null,表示取不到有效值。",
4398
+ "example": "0000101-20:00:00",
4398
4399
  "member": "string",
4399
4400
  "name": "SuspendTime",
4401
+ "output_required": true,
4400
4402
  "required": false,
4401
4403
  "type": "string",
4402
4404
  "value_allowed_null": true
@@ -4407,6 +4409,7 @@
4407
4409
  "example": "0",
4408
4410
  "member": "int64",
4409
4411
  "name": "SuspendStrategy",
4412
+ "output_required": true,
4410
4413
  "required": false,
4411
4414
  "type": "int",
4412
4415
  "value_allowed_null": true