tccli 3.0.1214.1__py2.py3-none-any.whl → 3.0.1216.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 (112) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/configure.py +46 -1
  3. tccli/services/__init__.py +0 -3
  4. tccli/services/ams/v20201229/examples.json +2 -2
  5. tccli/services/apm/v20210622/api.json +20 -0
  6. tccli/services/asr/v20190614/api.json +3 -3
  7. tccli/services/bi/v20220105/api.json +32 -4
  8. tccli/services/bi/v20220105/examples.json +1 -1
  9. tccli/services/billing/billing_client.py +53 -0
  10. tccli/services/billing/v20180709/api.json +304 -0
  11. tccli/services/billing/v20180709/examples.json +8 -0
  12. tccli/services/bsca/v20210811/api.json +222 -17
  13. tccli/services/bsca/v20210811/examples.json +4 -4
  14. tccli/services/ccc/ccc_client.py +53 -0
  15. tccli/services/ccc/v20200210/api.json +176 -18
  16. tccli/services/ccc/v20200210/examples.json +11 -3
  17. tccli/services/cdb/v20170320/api.json +22 -4
  18. tccli/services/cdb/v20170320/examples.json +1 -1
  19. tccli/services/cdn/v20180606/api.json +5 -3
  20. tccli/services/cdwdoris/v20211228/api.json +23 -2
  21. tccli/services/cfs/v20190719/api.json +3 -3
  22. tccli/services/cfw/v20190904/api.json +86 -52
  23. tccli/services/cfw/v20190904/examples.json +68 -56
  24. tccli/services/ciam/v20220331/api.json +316 -315
  25. tccli/services/ciam/v20220331/examples.json +49 -49
  26. tccli/services/ckafka/v20190819/api.json +1 -1
  27. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  28. tccli/services/cloudaudit/v20190319/api.json +215 -186
  29. tccli/services/cloudaudit/v20190319/examples.json +13 -13
  30. tccli/services/cls/v20201016/api.json +365 -66
  31. tccli/services/cls/v20201016/examples.json +9 -3
  32. tccli/services/csip/v20221121/api.json +4 -4
  33. tccli/services/cvm/v20170312/api.json +42 -0
  34. tccli/services/cwp/v20180228/api.json +865 -809
  35. tccli/services/cwp/v20180228/examples.json +98 -110
  36. tccli/services/cynosdb/v20190107/api.json +77 -29
  37. tccli/services/cynosdb/v20190107/examples.json +22 -22
  38. tccli/services/dasb/v20191018/api.json +77 -0
  39. tccli/services/dasb/v20191018/examples.json +5 -5
  40. tccli/services/dbbrain/v20191016/examples.json +1 -1
  41. tccli/services/dlc/v20210125/api.json +11 -0
  42. tccli/services/domain/v20180808/api.json +3 -3
  43. tccli/services/domain/v20180808/examples.json +3 -3
  44. tccli/services/eb/v20210416/api.json +15 -15
  45. tccli/services/eb/v20210416/examples.json +1 -1
  46. tccli/services/emr/v20190103/api.json +9 -0
  47. tccli/services/es/es_client.py +249 -37
  48. tccli/services/es/v20180416/api.json +521 -0
  49. tccli/services/es/v20180416/examples.json +32 -0
  50. tccli/services/ess/ess_client.py +53 -0
  51. tccli/services/ess/v20201111/api.json +155 -10
  52. tccli/services/ess/v20201111/examples.json +15 -1
  53. tccli/services/essbasic/essbasic_client.py +106 -0
  54. tccli/services/essbasic/v20210526/api.json +244 -13
  55. tccli/services/essbasic/v20210526/examples.json +22 -0
  56. tccli/services/gaap/v20180529/api.json +44 -26
  57. tccli/services/gaap/v20180529/examples.json +24 -30
  58. tccli/services/hunyuan/v20230901/examples.json +6 -0
  59. tccli/services/iotexplorer/v20190423/api.json +40 -0
  60. tccli/services/iss/v20230517/api.json +19 -0
  61. tccli/services/live/v20180801/api.json +35 -9
  62. tccli/services/mongodb/v20190725/api.json +6 -8
  63. tccli/services/mqtt/v20240516/api.json +2 -2
  64. tccli/services/mqtt/v20240516/examples.json +1 -1
  65. tccli/services/ocr/v20181119/api.json +2 -2
  66. tccli/services/organization/organization_client.py +352 -34
  67. tccli/services/organization/v20210331/api.json +451 -0
  68. tccli/services/organization/v20210331/examples.json +48 -0
  69. tccli/services/partners/partners_client.py +57 -4
  70. tccli/services/partners/v20180321/api.json +44 -0
  71. tccli/services/partners/v20180321/examples.json +8 -0
  72. tccli/services/region/v20220627/api.json +1 -1
  73. tccli/services/scf/scf_client.py +269 -4
  74. tccli/services/scf/v20180416/api.json +554 -0
  75. tccli/services/scf/v20180416/examples.json +46 -0
  76. tccli/services/ssl/v20191205/api.json +34 -5
  77. tccli/services/tat/v20201028/api.json +27 -25
  78. tccli/services/tat/v20201028/examples.json +4 -4
  79. tccli/services/tcss/v20201101/api.json +256 -14
  80. tccli/services/tcss/v20201101/examples.json +7 -7
  81. tccli/services/tdmq/v20200217/api.json +64 -63
  82. tccli/services/tdmq/v20200217/examples.json +2 -2
  83. tccli/services/tem/v20210701/api.json +144 -103
  84. tccli/services/tem/v20210701/examples.json +27 -27
  85. tccli/services/teo/teo_client.py +277 -12
  86. tccli/services/teo/v20220901/api.json +1023 -146
  87. tccli/services/teo/v20220901/examples.json +71 -1
  88. tccli/services/tke/tke_client.py +53 -0
  89. tccli/services/tke/v20180525/api.json +43 -0
  90. tccli/services/tke/v20180525/examples.json +8 -0
  91. tccli/services/tms/tms_client.py +4 -57
  92. tccli/services/tms/v20201229/api.json +0 -354
  93. tccli/services/tms/v20201229/examples.json +0 -8
  94. tccli/services/trtc/v20190722/api.json +221 -22
  95. tccli/services/vpc/v20170312/api.json +111 -34
  96. tccli/services/vpc/v20170312/examples.json +11 -3
  97. tccli/services/vpc/vpc_client.py +107 -54
  98. tccli/services/waf/v20180125/api.json +61 -0
  99. tccli/services/waf/v20180125/examples.json +8 -0
  100. tccli/services/waf/waf_client.py +53 -0
  101. tccli/services/wedata/v20210820/api.json +686 -0
  102. tccli/services/wedata/v20210820/examples.json +16 -0
  103. tccli/services/wedata/wedata_client.py +106 -0
  104. {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/METADATA +6 -2
  105. {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/RECORD +108 -112
  106. tccli/services/cr/__init__.py +0 -4
  107. tccli/services/cr/cr_client.py +0 -1626
  108. tccli/services/cr/v20180321/api.json +0 -2829
  109. tccli/services/cr/v20180321/examples.json +0 -235
  110. {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/WHEEL +0 -0
  111. {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/entry_points.txt +0 -0
  112. {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/license_files/LICENSE +0 -0
@@ -43,7 +43,7 @@
43
43
  "status": "online"
44
44
  },
45
45
  "CreateAlarmNotice": {
46
- "document": "该接口用于创建通知渠道组。",
46
+ "document": "该接口用于创建通知渠道组,提供两种配置模式,二选一:\n1,简易模式,提供最基本的通知渠道功能。需填写如下参数:\n- Type\n- NoticeReceivers\n- WebCallbacks\n\n2,高级模式,在简易模式基础上,支持设定规则,为不同类型的告警分别设定通知渠道,并支持告警升级功能。需填写如下参数:\n- NoticeRules",
47
47
  "input": "CreateAlarmNoticeRequest",
48
48
  "name": "创建通知渠道组",
49
49
  "output": "CreateAlarmNoticeResponse",
@@ -1069,18 +1069,28 @@
1069
1069
  "usage": "out"
1070
1070
  },
1071
1071
  "AlarmNotice": {
1072
- "document": "告警通知模板类型",
1072
+ "document": "告警通知渠道组详细配置",
1073
1073
  "members": [
1074
1074
  {
1075
1075
  "disabled": false,
1076
- "document": "告警通知模板名称。",
1077
- "example": "告警通知模板名称",
1076
+ "document": "告警通知渠道组名称。",
1077
+ "example": "alarm",
1078
1078
  "member": "string",
1079
1079
  "name": "Name",
1080
1080
  "output_required": true,
1081
1081
  "type": "string",
1082
1082
  "value_allowed_null": false
1083
1083
  },
1084
+ {
1085
+ "disabled": false,
1086
+ "document": "告警通知渠道组绑定的标签信息。\n注意:此字段可能返回 null,表示取不到有效值。",
1087
+ "example": "无",
1088
+ "member": "Tag",
1089
+ "name": "Tags",
1090
+ "output_required": true,
1091
+ "type": "list",
1092
+ "value_allowed_null": true
1093
+ },
1084
1094
  {
1085
1095
  "disabled": false,
1086
1096
  "document": "告警模板的类型。可选值:\n<br><li> Trigger - 告警触发</li>\n<br><li> Recovery - 告警恢复</li>\n<br><li> All - 告警触发和告警恢复</li>",
@@ -1121,6 +1131,46 @@
1121
1131
  "type": "string",
1122
1132
  "value_allowed_null": true
1123
1133
  },
1134
+ {
1135
+ "disabled": false,
1136
+ "document": "通知规则。\n注意:此字段可能返回 null,表示取不到有效值。",
1137
+ "example": "无",
1138
+ "member": "NoticeRule",
1139
+ "name": "NoticeRules",
1140
+ "output_required": false,
1141
+ "type": "list",
1142
+ "value_allowed_null": true
1143
+ },
1144
+ {
1145
+ "disabled": false,
1146
+ "document": "免登录操作告警开关。\n参数值: 1:关闭 2:开启(默认开启)\n注意:此字段可能返回 null,表示取不到有效值。",
1147
+ "example": "2",
1148
+ "member": "uint64",
1149
+ "name": "AlarmShieldStatus",
1150
+ "output_required": false,
1151
+ "type": "int",
1152
+ "value_allowed_null": true
1153
+ },
1154
+ {
1155
+ "disabled": false,
1156
+ "document": "调用链接域名。http:// 或者 https:// 开头,不能/结尾\n注意:此字段可能返回 null,表示取不到有效值。",
1157
+ "example": "https://console.cloud.tencent.com",
1158
+ "member": "string",
1159
+ "name": "JumpDomain",
1160
+ "output_required": false,
1161
+ "type": "string",
1162
+ "value_allowed_null": true
1163
+ },
1164
+ {
1165
+ "disabled": false,
1166
+ "document": "投递相关信息。\n注意:此字段可能返回 null,表示取不到有效值。",
1167
+ "example": "无",
1168
+ "member": "AlarmNoticeDeliverConfig",
1169
+ "name": "AlarmNoticeDeliverConfig",
1170
+ "output_required": false,
1171
+ "type": "object",
1172
+ "value_allowed_null": true
1173
+ },
1124
1174
  {
1125
1175
  "disabled": false,
1126
1176
  "document": "创建时间。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -1140,15 +1190,31 @@
1140
1190
  "output_required": true,
1141
1191
  "type": "string",
1142
1192
  "value_allowed_null": true
1143
- },
1193
+ }
1194
+ ],
1195
+ "usage": "out"
1196
+ },
1197
+ "AlarmNoticeDeliverConfig": {
1198
+ "document": "通知渠道投递日志配置信息",
1199
+ "members": [
1144
1200
  {
1145
1201
  "disabled": false,
1146
- "document": "通知规则。\n注意:此字段可能返回 null,表示取不到有效值。",
1202
+ "document": "通知渠道投递日志配置信息。",
1147
1203
  "example": "无",
1148
- "member": "NoticeRule",
1149
- "name": "NoticeRules",
1204
+ "member": "DeliverConfig",
1205
+ "name": "DeliverConfig",
1206
+ "output_required": true,
1207
+ "type": "object",
1208
+ "value_allowed_null": false
1209
+ },
1210
+ {
1211
+ "disabled": false,
1212
+ "document": "投递失败原因。\n注意:此字段可能返回 null,表示取不到有效值。",
1213
+ "example": "投递失败,topicId不存在",
1214
+ "member": "string",
1215
+ "name": "ErrMsg",
1150
1216
  "output_required": false,
1151
- "type": "list",
1217
+ "type": "string",
1152
1218
  "value_allowed_null": true
1153
1219
  }
1154
1220
  ],
@@ -3238,7 +3304,16 @@
3238
3304
  },
3239
3305
  {
3240
3306
  "disabled": false,
3241
- "document": "通知类型。可选值:\n- Trigger - 告警触发\n- Recovery - 告警恢复\n- All - 告警触发和告警恢复\n\n\n 注意: \n- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空\n- 2组rule配置互斥\n- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置",
3307
+ "document": "标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持50个标签键值对,并且不能有重复的键值对。",
3308
+ "example": "无",
3309
+ "member": "Tag",
3310
+ "name": "Tags",
3311
+ "required": false,
3312
+ "type": "list"
3313
+ },
3314
+ {
3315
+ "disabled": false,
3316
+ "document": "【简易模式】(简易模式/告警模式二选一,分别配置相应参数)\n需要发送通知的告警类型。可选值:\n- Trigger - 告警触发\n- Recovery - 告警恢复\n- All - 告警触发和告警恢复",
3242
3317
  "example": "All",
3243
3318
  "member": "string",
3244
3319
  "name": "Type",
@@ -3247,7 +3322,7 @@
3247
3322
  },
3248
3323
  {
3249
3324
  "disabled": false,
3250
- "document": "通知接收对象。\n 注意: \n- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空\n- 2组rule配置互斥\n- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置",
3325
+ "document": "【简易模式】(简易模式/告警模式二选一,分别配置相应参数)\n通知接收对象。",
3251
3326
  "example": "无",
3252
3327
  "member": "NoticeReceiver",
3253
3328
  "name": "NoticeReceivers",
@@ -3256,7 +3331,7 @@
3256
3331
  },
3257
3332
  {
3258
3333
  "disabled": false,
3259
- "document": "接口回调信息(包括企业微信)。\n 注意: \n- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空\n- 2组rule配置互斥\n- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置",
3334
+ "document": "【简易模式】(简易模式/告警模式二选一,分别配置相应参数)\n接口回调信息(包括企业微信、钉钉、飞书)。",
3260
3335
  "example": "无",
3261
3336
  "member": "WebCallback",
3262
3337
  "name": "WebCallbacks",
@@ -3265,12 +3340,48 @@
3265
3340
  },
3266
3341
  {
3267
3342
  "disabled": false,
3268
- "document": "通知规则。\n 注意: \n- Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空\n- 2组rule配置互斥\n- rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置\n\n",
3343
+ "document": "【高级模式】(简易模式/告警模式二选一,分别配置相应参数)\n通知规则。",
3269
3344
  "example": "无",
3270
3345
  "member": "NoticeRule",
3271
3346
  "name": "NoticeRules",
3272
3347
  "required": false,
3273
3348
  "type": "list"
3349
+ },
3350
+ {
3351
+ "disabled": false,
3352
+ "document": "查询数据链接。http:// 或者 https:// 开头,不能/结尾",
3353
+ "example": "https://console.cloud.tencent.com",
3354
+ "member": "string",
3355
+ "name": "JumpDomain",
3356
+ "required": false,
3357
+ "type": "string"
3358
+ },
3359
+ {
3360
+ "disabled": false,
3361
+ "document": "投递日志开关。可取值如下:\n1:关闭(默认值);\n2:开启 \n投递日志开关开启时, DeliverConfig参数必填。",
3362
+ "example": "2",
3363
+ "member": "uint64",
3364
+ "name": "DeliverStatus",
3365
+ "required": false,
3366
+ "type": "int"
3367
+ },
3368
+ {
3369
+ "disabled": false,
3370
+ "document": "投递日志配置参数。当DeliverStatus开启时,必填。",
3371
+ "example": "无",
3372
+ "member": "DeliverConfig",
3373
+ "name": "DeliverConfig",
3374
+ "required": false,
3375
+ "type": "object"
3376
+ },
3377
+ {
3378
+ "disabled": false,
3379
+ "document": "免登录操作告警开关。可取值如下:\n- 1:关闭\n- 2:开启(默认值)",
3380
+ "example": "1",
3381
+ "member": "uint64",
3382
+ "name": "AlarmShieldStatus",
3383
+ "required": false,
3384
+ "type": "int"
3274
3385
  }
3275
3386
  ],
3276
3387
  "type": "object"
@@ -6417,6 +6528,45 @@
6417
6528
  ],
6418
6529
  "type": "object"
6419
6530
  },
6531
+ "DeliverConfig": {
6532
+ "document": "投递配置入参",
6533
+ "members": [
6534
+ {
6535
+ "disabled": false,
6536
+ "document": "地域信息。\n\n示例:\n ap-guangzhou 广州地域;\nap-nanjing 南京地域。\n\n详细信息请查看官网:\n\nhttps://cloud.tencent.com/document/product/614/18940",
6537
+ "example": "ap-guangzhou",
6538
+ "member": "string",
6539
+ "name": "Region",
6540
+ "output_required": true,
6541
+ "required": true,
6542
+ "type": "string",
6543
+ "value_allowed_null": false
6544
+ },
6545
+ {
6546
+ "disabled": false,
6547
+ "document": "日志主题ID。",
6548
+ "example": "12312324-asdfa-13513-66254",
6549
+ "member": "string",
6550
+ "name": "TopicId",
6551
+ "output_required": true,
6552
+ "required": true,
6553
+ "type": "string",
6554
+ "value_allowed_null": false
6555
+ },
6556
+ {
6557
+ "disabled": false,
6558
+ "document": "投递数据范围。\n\n0: 全部日志, 包括告警策略日常周期执行的所有日志,也包括告警策略变更产生的日志,默认值\n\n1:仅告警触发及恢复日志",
6559
+ "example": "0",
6560
+ "member": "uint64",
6561
+ "name": "Scope",
6562
+ "output_required": true,
6563
+ "required": true,
6564
+ "type": "int",
6565
+ "value_allowed_null": false
6566
+ }
6567
+ ],
6568
+ "usage": "both"
6569
+ },
6420
6570
  "DescribeAlarmNoticesRequest": {
6421
6571
  "document": "DescribeAlarmNotices请求参数结构体",
6422
6572
  "members": [
@@ -8443,6 +8593,78 @@
8443
8593
  ],
8444
8594
  "usage": "both"
8445
8595
  },
8596
+ "EscalateNoticeInfo": {
8597
+ "document": "升级通知",
8598
+ "members": [
8599
+ {
8600
+ "disabled": false,
8601
+ "document": "告警通知模板接收者信息。",
8602
+ "example": "无",
8603
+ "member": "NoticeReceiver",
8604
+ "name": "NoticeReceivers",
8605
+ "output_required": false,
8606
+ "required": true,
8607
+ "type": "list",
8608
+ "value_allowed_null": false
8609
+ },
8610
+ {
8611
+ "disabled": false,
8612
+ "document": "告警通知模板回调信息。",
8613
+ "example": "无",
8614
+ "member": "WebCallback",
8615
+ "name": "WebCallbacks",
8616
+ "output_required": false,
8617
+ "required": true,
8618
+ "type": "list",
8619
+ "value_allowed_null": false
8620
+ },
8621
+ {
8622
+ "disabled": false,
8623
+ "document": "告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false\n注意:此字段可能返回 null,表示取不到有效值。",
8624
+ "example": "false",
8625
+ "member": "bool",
8626
+ "name": "Escalate",
8627
+ "output_required": false,
8628
+ "required": false,
8629
+ "type": "bool",
8630
+ "value_allowed_null": true
8631
+ },
8632
+ {
8633
+ "disabled": false,
8634
+ "document": "告警升级间隔。单位:分钟,范围`[1,14400]`\n注意:此字段可能返回 null,表示取不到有效值。",
8635
+ "example": "5",
8636
+ "member": "uint64",
8637
+ "name": "Interval",
8638
+ "output_required": false,
8639
+ "required": false,
8640
+ "type": "int",
8641
+ "value_allowed_null": true
8642
+ },
8643
+ {
8644
+ "disabled": false,
8645
+ "document": "升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1\n- 无人认领且未恢复:告警没有恢复并且没有人认领则升级\n- 未恢复:当前告警持续未恢复则升级\n\n注意:此字段可能返回 null,表示取不到有效值。",
8646
+ "example": "1",
8647
+ "member": "uint64",
8648
+ "name": "Type",
8649
+ "output_required": false,
8650
+ "required": false,
8651
+ "type": "int",
8652
+ "value_allowed_null": true
8653
+ },
8654
+ {
8655
+ "disabled": false,
8656
+ "document": "告警升级后下一个环节的通知渠道配置,最多可配置5个环节。\n注意:此字段可能返回 null,表示取不到有效值。",
8657
+ "example": "无",
8658
+ "member": "EscalateNoticeInfo",
8659
+ "name": "EscalateNotice",
8660
+ "output_required": false,
8661
+ "required": false,
8662
+ "type": "object",
8663
+ "value_allowed_null": true
8664
+ }
8665
+ ],
8666
+ "usage": "both"
8667
+ },
8446
8668
  "EventLog": {
8447
8669
  "document": "Windows事件日志采集配置",
8448
8670
  "members": [
@@ -12638,8 +12860,19 @@
12638
12860
  },
12639
12861
  {
12640
12862
  "disabled": false,
12641
- "document": "允许接收信息的开始时间。格式:`15:04:05`,必填。",
12642
- "example": "10:04:05",
12863
+ "document": "通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。\n注意:此字段可能返回 null,表示取不到有效值。",
12864
+ "example": "\"noticetemplate-1eba4ed8-9584-40e3-a948-c8cff121eed1\"",
12865
+ "member": "string",
12866
+ "name": "NoticeContentId",
12867
+ "output_required": false,
12868
+ "required": false,
12869
+ "type": "string",
12870
+ "value_allowed_null": true
12871
+ },
12872
+ {
12873
+ "disabled": false,
12874
+ "document": "允许接收信息的开始时间。格式:`15:04:05`。必填",
12875
+ "example": "00:00:00",
12643
12876
  "member": "string",
12644
12877
  "name": "StartTime",
12645
12878
  "output_required": true,
@@ -12649,8 +12882,8 @@
12649
12882
  },
12650
12883
  {
12651
12884
  "disabled": false,
12652
- "document": "允许接收信息的结束时间。格式:`15:04:05`,必填。",
12653
- "example": "20:04:05",
12885
+ "document": "允许接收信息的结束时间。格式:`15:04:05`。必填",
12886
+ "example": "23:59:59",
12654
12887
  "member": "string",
12655
12888
  "name": "EndTime",
12656
12889
  "output_required": true,
@@ -12668,17 +12901,6 @@
12668
12901
  "required": false,
12669
12902
  "type": "int",
12670
12903
  "value_allowed_null": false
12671
- },
12672
- {
12673
- "disabled": false,
12674
- "document": "通知内容模板ID。\n注意:此字段可能返回 null,表示取不到有效值。",
12675
- "example": "\"noticetemplate-1eba4ed8-9584-40e3-a948-c8cff121eed1\"",
12676
- "member": "string",
12677
- "name": "NoticeContentId",
12678
- "output_required": false,
12679
- "required": false,
12680
- "type": "string",
12681
- "value_allowed_null": true
12682
12904
  }
12683
12905
  ],
12684
12906
  "usage": "both"
@@ -12688,7 +12910,18 @@
12688
12910
  "members": [
12689
12911
  {
12690
12912
  "disabled": false,
12691
- "document": "告警通知模板接收者信息。\n注意:此字段可能返回 null,表示取不到有效值。",
12913
+ "document": "匹配规则 JSON串。\n**rule规则树格式为嵌套结构体JSON字符串**\n`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1,0]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}`\n\n**rule规则树限制规则如下**:\n- 顶层rule中Type可取值:`Condition`,`Operation`\n- Type为`Operation`的子节点支持的Type可取值:`Condition`,`Operation`\n- Type为`Condition`的子节点支持的Type可取值:`String`,`Compare`,`Array`,`TimeRange`,`Value`,`Key`\n- 其他Type无子节点\n- 当rule Type为`Operation`时,value可取值:`AND`,`OR`\n- 当rule Type为`Condition`时,value不可为空,子节点个数不能小于2\n - 当子节点Type为 `Compare` 时,value可取值:`>`,`<`,`>=`,`<=`,`=`,`!=`,`Between`,`NotBetween`,`=~`,`!=~`,`In`,`NotIn`\n - value为`Between`,`NotBetween`时,下一个子节点value必须是长度为2的数组\n - value为`=~`,`!=~`时,下一个子节点value必须是一个正则表达式\n - value为`In`,`NotIn`时, 下一个子节点value必须是一个数组\n\n**业务参数含义**:\n- Type:Condition 表示是规则条件,Value:Level 表示告警等级\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`\n - 下一个子节点value支持的值:0(警告),1(提醒),2 (紧急)\n以下示例表示:告警等级属于提醒\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Level\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}`\n\n- Type:Condition 表示是规则条件,Value:NotifyType 表示通知类型\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`\n - 下一个子节点value支持的值:1(告警通知),2 (恢复通知)\n以下示例表示:通知类型属于告警通知或通知类型不属于恢复通知\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"NotIn\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[2]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:AlarmID 表示告警策略\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`\n - 下一个子节点value支持的值:告警策略id数组\n以下示例表示:告警策略属于alarm-53af048c-254b-4c73-bb48-xxx,alarm-6dfa8bc5-08da-4d64-b6cb-xxx或告警策略不属于alarm-1036314c-1e49-4cee-a8fb-xxx\n`\"{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmID\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\\\\\",\\\\\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmID\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"NotIn\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}\"`\n\n- Type:Condition 表示是规则条件,Value:AlarmName 表示告警策略名称\n - 子节点Type支持`Compare`,Value支持`=~`,`!=~`\n - 下一个子节点value支持的值:必须是正则表达式\n以下示例表示:告警策略名称正则匹配^test$或告警策略名称正则不匹配^hahaha$\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmName\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^test$\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmName\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"!=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^hahaha$\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:Label 表示告警分类字段\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`,`=~`,`!=~`\n - 下一个子节点value支持的值:`In`,`NotIn` 时value是数组,`=~`,`!=~`时value是正则表达式\n以下示例表示:告警分类字段key1属于v1或告警分类字段key2不属于v2或告警分类字段key3正则匹配^test$或告警分类字段key4正则不匹配^hahaha$\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key1\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"v1\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key2\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"NotIn\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"v2\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key3\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^test$\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key4\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"!=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^hahaha$\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:NotifyTime 表示通知时间\n - 子节点Type支持`Compare`,Value支持`Between `,`NotBetween `\n - 下一个子节点value支持的值:长度为2,格式为`14:20:36`的字符串数组\n以下示例表示:通知时间在指定范围内14:18:36至14:33:36或通知时间不在指定范围内14:20:36至14:30:36\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyTime\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"Between\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"14:18:36\\\\\\\",\\\\\\\"14:33:36\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyTime\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"NotBetween\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"14:20:36\\\\\\\",\\\\\\\"14:30:36\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:Duration 表示告警持续时间\n - 子节点Type支持`Compare`,Value支持`>`,`<`,`>=`,`<=`\n - 下一个子节点value支持的值:整型值单位分钟\n以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\">\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":1,\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\">=\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":2,\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"<\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":3,\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"<=\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":4,\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n注意:此字段可能返回 null,表示取不到有效值。",
12914
+ "example": "{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1,2]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}",
12915
+ "member": "string",
12916
+ "name": "Rule",
12917
+ "output_required": false,
12918
+ "required": false,
12919
+ "type": "string",
12920
+ "value_allowed_null": true
12921
+ },
12922
+ {
12923
+ "disabled": false,
12924
+ "document": "告警通知接收者信息。\n注意:此字段可能返回 null,表示取不到有效值。",
12692
12925
  "example": "无",
12693
12926
  "member": "NoticeReceiver",
12694
12927
  "name": "NoticeReceivers",
@@ -12699,7 +12932,7 @@
12699
12932
  },
12700
12933
  {
12701
12934
  "disabled": false,
12702
- "document": "告警通知模板回调信息。\n注意:此字段可能返回 null,表示取不到有效值。",
12935
+ "document": "告警通知模板回调信息,包括企业微信、钉钉、飞书。\n注意:此字段可能返回 null,表示取不到有效值。",
12703
12936
  "example": "无",
12704
12937
  "member": "WebCallback",
12705
12938
  "name": "WebCallbacks",
@@ -12710,13 +12943,46 @@
12710
12943
  },
12711
12944
  {
12712
12945
  "disabled": false,
12713
- "document": "匹配规则 JSON串。\n**rule规则树格式为嵌套结构体JSON字符串**\n`{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1,0]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}`\n\n**rule规则树限制规则如下**:\n- 顶层rule中Type可取值:`Condition`,`Operation`\n- Type为`Operation`的子节点支持的Type可取值:`Condition`,`Operation`\n- Type为`Condition`的子节点支持的Type可取值:`String`,`Compare`,`Array`,`TimeRange`,`Value`,`Key`\n- 其他Type无子节点\n- 当rule Type为`Operation`时,value可取值:`AND`,`OR`\n- 当rule Type为`Condition`时,value不可为空,子节点个数不能小于2\n - 当子节点Type为 `Compare` 时,value可取值:`>`,`<`,`>=`,`<=`,`=`,`!=`,`Between`,`NotBetween`,`=~`,`!=~`,`In`,`NotIn`\n - value为`Between`,`NotBetween`时,下一个子节点value必须是长度为2的数组\n - value为`=~`,`!=~`时,下一个子节点value必须是一个正则表达式\n - value为`In`,`NotIn`时, 下一个子节点value必须是一个数组\n\n**业务参数含义**:\n- Type:Condition 表示是规则条件,Value:Level 表示告警等级\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`\n - 下一个子节点value支持的值:0(警告),1(提醒),2 (紧急)\n以下示例表示:告警等级属于提醒\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Level\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}`\n\n- Type:Condition 表示是规则条件,Value:NotifyType 表示通知类型\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`\n - 下一个子节点value支持的值:1(告警通知),2 (恢复通知)\n以下示例表示:通知类型属于告警通知或通知类型不属于恢复通知\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"NotIn\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[2]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:AlarmID 表示告警策略\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`\n - 下一个子节点value支持的值:告警策略id数组\n以下示例表示:告警策略属于alarm-53af048c-254b-4c73-bb48-xxx,alarm-6dfa8bc5-08da-4d64-b6cb-xxx或告警策略不属于alarm-1036314c-1e49-4cee-a8fb-xxx\n`\"{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmID\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\\\\\",\\\\\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmID\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"NotIn\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}\"`\n\n- Type:Condition 表示是规则条件,Value:AlarmName 表示告警策略名称\n - 子节点Type支持`Compare`,Value支持`=~`,`!=~`\n - 下一个子节点value支持的值:必须是正则表达式\n以下示例表示:告警策略名称正则匹配^test$或告警策略名称正则不匹配^hahaha$\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmName\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^test$\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"AlarmName\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"!=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^hahaha$\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:Label 表示告警分类字段\n - 子节点Type支持`Compare`,Value支持`In`,`NotIn`,`=~`,`!=~`\n - 下一个子节点value支持的值:`In`,`NotIn` 时value是数组,`=~`,`!=~`时value是正则表达式\n以下示例表示:告警分类字段key1属于v1或告警分类字段key2不属于v2或告警分类字段key3正则匹配^test$或告警分类字段key4正则不匹配^hahaha$\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key1\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"v1\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key2\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"NotIn\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"v2\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key3\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^test$\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Label\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"key4\\\",\\\"Type\\\":\\\"Key\\\"},{\\\"Value\\\":\\\"!=~\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"^hahaha$\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:NotifyTime 表示通知时间\n - 子节点Type支持`Compare`,Value支持`Between `,`NotBetween `\n - 下一个子节点value支持的值:长度为2,格式为`14:20:36`的字符串数组\n以下示例表示:通知时间在指定范围内14:18:36至14:33:36或通知时间不在指定范围内14:20:36至14:30:36\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyTime\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"Between\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"14:18:36\\\\\\\",\\\\\\\"14:33:36\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyTime\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"NotBetween\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[\\\\\\\"14:20:36\\\\\\\",\\\\\\\"14:30:36\\\\\\\"]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n\n- Type:Condition 表示是规则条件,Value:Duration 表示告警持续时间\n - 子节点Type支持`Compare`,Value支持`>`,`<`,`>=`,`<=`\n - 下一个子节点value支持的值:整型值单位分钟\n以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟\n`{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"OR\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\">\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":1,\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\">=\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":2,\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"<\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":3,\\\"Type\\\":\\\"Value\\\"}]},{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"Duration\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"<=\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":4,\\\"Type\\\":\\\"Value\\\"}]}]}]}`\n注意:此字段可能返回 null,表示取不到有效值。",
12714
- "example": "{\\\"Value\\\":\\\"AND\\\",\\\"Type\\\":\\\"Operation\\\",\\\"Children\\\":[{\\\"Type\\\":\\\"Condition\\\",\\\"Value\\\":\\\"NotifyType\\\",\\\"Children\\\":[{\\\"Value\\\":\\\"In\\\",\\\"Type\\\":\\\"Compare\\\"},{\\\"Value\\\":\\\"[1,2]\\\",\\\"Type\\\":\\\"Value\\\"}]}]}",
12715
- "member": "string",
12716
- "name": "Rule",
12946
+ "document": "告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false\n注意:此字段可能返回 null,表示取不到有效值。",
12947
+ "example": "false",
12948
+ "member": "bool",
12949
+ "name": "Escalate",
12717
12950
  "output_required": false,
12718
12951
  "required": false,
12719
- "type": "string",
12952
+ "type": "bool",
12953
+ "value_allowed_null": true
12954
+ },
12955
+ {
12956
+ "disabled": false,
12957
+ "document": "告警升级条件。`1`:无人认领且未恢复、`2`:未恢复,默认为1\n- 无人认领且未恢复:告警没有恢复并且没有人认领则升级\n- 未恢复:当前告警持续未恢复则升级\n\n注意:此字段可能返回 null,表示取不到有效值。",
12958
+ "example": "1",
12959
+ "member": "uint64",
12960
+ "name": "Type",
12961
+ "output_required": false,
12962
+ "required": false,
12963
+ "type": "int",
12964
+ "value_allowed_null": true
12965
+ },
12966
+ {
12967
+ "disabled": false,
12968
+ "document": "告警升级间隔。单位:分钟,范围`[1,14400]`\n注意:此字段可能返回 null,表示取不到有效值。",
12969
+ "example": "1",
12970
+ "member": "uint64",
12971
+ "name": "Interval",
12972
+ "output_required": false,
12973
+ "required": false,
12974
+ "type": "int",
12975
+ "value_allowed_null": true
12976
+ },
12977
+ {
12978
+ "disabled": false,
12979
+ "document": "告警升级后下一个环节的通知渠道配置\n注意:此字段可能返回 null,表示取不到有效值。",
12980
+ "example": "无",
12981
+ "member": "EscalateNoticeInfo",
12982
+ "name": "EscalateNotice",
12983
+ "output_required": false,
12984
+ "required": false,
12985
+ "type": "object",
12720
12986
  "value_allowed_null": true
12721
12987
  }
12722
12988
  ],
@@ -14935,10 +15201,10 @@
14935
15201
  "members": [
14936
15202
  {
14937
15203
  "disabled": false,
14938
- "document": "回调地址。最大支持1024个字节数。",
14939
- "example": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=4c3cf1e0-a6e7-47f4-b264-5d2kjnbhjgx",
15204
+ "document": "回调的类型。可选值:\n- Http\n- WeCom\n- DingTalk\n- Lark",
15205
+ "example": "WeCom",
14940
15206
  "member": "string",
14941
- "name": "Url",
15207
+ "name": "CallbackType",
14942
15208
  "output_required": true,
14943
15209
  "required": true,
14944
15210
  "type": "string",
@@ -14946,10 +15212,10 @@
14946
15212
  },
14947
15213
  {
14948
15214
  "disabled": false,
14949
- "document": "回调的类型。可选值:\n- WeCom\n- Http\n- DingTalk\n- Lark",
14950
- "example": "WeCom",
15215
+ "document": "回调地址,最大支持1024个字节。\n也可使用WebCallbackId引用集成配置中的URL,此时该字段请填写为空字符串。",
15216
+ "example": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=4c3cf1e0-a6e7-47f4-b264-5d2kjnbhjgx",
14951
15217
  "member": "string",
14952
- "name": "CallbackType",
15218
+ "name": "Url",
14953
15219
  "output_required": true,
14954
15220
  "required": true,
14955
15221
  "type": "string",
@@ -14957,69 +15223,102 @@
14957
15223
  },
14958
15224
  {
14959
15225
  "disabled": false,
14960
- "document": "回调方法。可选值:\n- POST(默认值)\n- PUT\n\n注意:\n- 参数CallbackType为Http时为必选。\n注意:此字段可能返回 null,表示取不到有效值。",
14961
- "example": "POST",
15226
+ "document": "集成配置ID。\n注意:此字段可能返回 null,表示取不到有效值。",
15227
+ "example": "\"webcallback-aaa-bbb-ccc-ddd\"",
14962
15228
  "member": "string",
14963
- "name": "Method",
14964
- "output_required": true,
15229
+ "name": "WebCallbackId",
15230
+ "output_required": false,
14965
15231
  "required": false,
14966
15232
  "type": "string",
14967
15233
  "value_allowed_null": true
14968
15234
  },
14969
15235
  {
14970
15236
  "disabled": false,
14971
- "document": "请求头。\n注意:该参数已废弃,请使用NoticeContentId。\n注意:此字段可能返回 null,表示取不到有效值。",
14972
- "example": "",
15237
+ "document": "回调方法。可选值:\n- POST(默认值)\n- PUT\n\n注意:\n- 参数CallbackType为Http时为必选,其它回调方式无需填写。\n注意:此字段可能返回 null,表示取不到有效值。",
15238
+ "example": "POST",
14973
15239
  "member": "string",
14974
- "name": "Headers",
15240
+ "name": "Method",
14975
15241
  "output_required": true,
14976
15242
  "required": false,
14977
- "type": "list",
15243
+ "type": "string",
14978
15244
  "value_allowed_null": true
14979
15245
  },
14980
15246
  {
14981
15247
  "disabled": false,
14982
- "document": "请求内容。\n注意:该参数已废弃,请使用NoticeContentId。\n注意:此字段可能返回 null,表示取不到有效值。",
14983
- "example": "",
15248
+ "document": "通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。\n注意:此字段可能返回 null,表示取不到有效值。",
15249
+ "example": "\"noticetemplate-1eba4ed8-9584-40e3-a948-c8cff121eed1\"",
14984
15250
  "member": "string",
14985
- "name": "Body",
14986
- "output_required": true,
15251
+ "name": "NoticeContentId",
15252
+ "output_required": false,
14987
15253
  "required": false,
14988
15254
  "type": "string",
14989
15255
  "value_allowed_null": true
14990
15256
  },
14991
15257
  {
14992
15258
  "disabled": false,
14993
- "document": "序号。\n- 入参无效。\n- 出参有效。",
14994
- "example": "1",
14995
- "member": "int64",
14996
- "name": "Index",
14997
- "output_required": true,
15259
+ "document": "提醒类型。\n\n0:不提醒;1:指定人;2:所有人\n注意:此字段可能返回 null,表示取不到有效值。",
15260
+ "example": "",
15261
+ "member": "uint64",
15262
+ "name": "RemindType",
15263
+ "output_required": false,
14998
15264
  "required": false,
14999
15265
  "type": "int",
15000
- "value_allowed_null": false
15266
+ "value_allowed_null": true
15001
15267
  },
15002
15268
  {
15003
15269
  "disabled": false,
15004
- "document": "通知内容模板ID。\n注意:此字段可能返回 null,表示取不到有效值。",
15005
- "example": "\"noticetemplate-1eba4ed8-9584-40e3-a948-c8cff121eed1\"",
15270
+ "document": "电话列表。\n注意:此字段可能返回 null,表示取不到有效值。",
15271
+ "example": "",
15006
15272
  "member": "string",
15007
- "name": "NoticeContentId",
15273
+ "name": "Mobiles",
15008
15274
  "output_required": false,
15009
15275
  "required": false,
15010
- "type": "string",
15276
+ "type": "list",
15011
15277
  "value_allowed_null": true
15012
15278
  },
15013
15279
  {
15014
15280
  "disabled": false,
15015
- "document": "集成配置ID。\n注意:此字段可能返回 null,表示取不到有效值。",
15016
- "example": "\"webcallback-aaa-bbb-ccc-ddd\"",
15281
+ "document": "用户ID列表。\n注意:此字段可能返回 null,表示取不到有效值。",
15282
+ "example": "",
15017
15283
  "member": "string",
15018
- "name": "WebCallbackId",
15284
+ "name": "UserIds",
15019
15285
  "output_required": false,
15020
15286
  "required": false,
15287
+ "type": "list",
15288
+ "value_allowed_null": true
15289
+ },
15290
+ {
15291
+ "disabled": false,
15292
+ "document": "该参数已废弃,请使用NoticeContentId。\n注意:此字段可能返回 null,表示取不到有效值。",
15293
+ "example": "无",
15294
+ "member": "string",
15295
+ "name": "Headers",
15296
+ "output_required": true,
15297
+ "required": false,
15298
+ "type": "list",
15299
+ "value_allowed_null": true
15300
+ },
15301
+ {
15302
+ "disabled": false,
15303
+ "document": "该参数已废弃,请使用NoticeContentId。\n注意:此字段可能返回 null,表示取不到有效值。",
15304
+ "example": "无",
15305
+ "member": "string",
15306
+ "name": "Body",
15307
+ "output_required": true,
15308
+ "required": false,
15021
15309
  "type": "string",
15022
15310
  "value_allowed_null": true
15311
+ },
15312
+ {
15313
+ "disabled": false,
15314
+ "document": "序号。\n- 入参无效。\n- 出参有效。",
15315
+ "example": "1",
15316
+ "member": "int64",
15317
+ "name": "Index",
15318
+ "output_required": true,
15319
+ "required": false,
15320
+ "type": "int",
15321
+ "value_allowed_null": false
15023
15322
  }
15024
15323
  ],
15025
15324
  "usage": "both"