tencentcloud-sdk-nodejs 4.0.528 → 4.0.530

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/CHANGELOG.md +304 -0
  2. package/SERVICE_CHANGELOG.md +379 -37
  3. package/package.json +1 -1
  4. package/products.md +42 -41
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_client.ts +1 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  8. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
  9. package/src/services/clb/v20180317/clb_client.ts +1 -1
  10. package/src/services/clb/v20180317/clb_models.ts +31 -1
  11. package/src/services/cynosdb/v20190107/cynosdb_client.ts +18 -6
  12. package/src/services/cynosdb/v20190107/cynosdb_models.ts +25 -0
  13. package/src/services/es/v20180416/es_models.ts +5 -0
  14. package/src/services/ess/v20201111/ess_client.ts +23 -8
  15. package/src/services/ess/v20201111/ess_models.ts +58 -8
  16. package/src/services/essbasic/v20210526/essbasic_client.ts +39 -24
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +209 -153
  18. package/src/services/fmu/v20191213/fmu_models.ts +8 -6
  19. package/src/services/gme/v20180711/gme_models.ts +20 -14
  20. package/src/services/goosefs/index.ts +5 -0
  21. package/src/services/goosefs/v20220519/goosefs_client.ts +40 -0
  22. package/src/services/goosefs/v20220519/goosefs_models.ts +61 -0
  23. package/src/services/goosefs/v20220519/index.ts +6 -0
  24. package/src/services/index.ts +1 -0
  25. package/src/services/lcic/v20220817/lcic_client.ts +32 -6
  26. package/src/services/lcic/v20220817/lcic_models.ts +188 -7
  27. package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
  28. package/src/services/monitor/v20180724/monitor_client.ts +241 -55
  29. package/src/services/monitor/v20180724/monitor_models.ts +998 -339
  30. package/src/services/mps/v20190612/mps_models.ts +16 -1
  31. package/src/services/tcb/v20180608/tcb_models.ts +54 -30
  32. package/src/services/vpc/v20170312/vpc_client.ts +3 -2
  33. package/src/services/vpc/v20170312/vpc_models.ts +35 -2
  34. package/src/services/waf/v20180125/waf_models.ts +10 -10
  35. package/tencentcloud/common/sdk_version.d.ts +1 -1
  36. package/tencentcloud/common/sdk_version.js +1 -1
  37. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  38. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  39. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  40. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  41. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
  42. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +26 -1
  43. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
  44. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
  45. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +22 -0
  46. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  47. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -3
  48. package/tencentcloud/services/ess/v20201111/ess_client.js +11 -3
  49. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -8
  50. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -8
  51. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -9
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +180 -131
  53. package/tencentcloud/services/fmu/v20191213/fmu_models.d.ts +4 -2
  54. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +18 -13
  55. package/tencentcloud/services/goosefs/index.d.ts +6 -0
  56. package/tencentcloud/services/goosefs/index.js +7 -0
  57. package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +14 -0
  58. package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +37 -0
  59. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +38 -0
  60. package/tencentcloud/services/goosefs/v20220519/goosefs_models.js +18 -0
  61. package/tencentcloud/services/goosefs/v20220519/index.d.ts +6 -0
  62. package/tencentcloud/services/goosefs/v20220519/index.js +9 -0
  63. package/tencentcloud/services/index.d.ts +1 -0
  64. package/tencentcloud/services/index.js +2 -0
  65. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +11 -3
  66. package/tencentcloud/services/lcic/v20220817/lcic_client.js +15 -3
  67. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +163 -6
  68. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
  69. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +75 -15
  70. package/tencentcloud/services/monitor/v20180724/monitor_client.js +111 -21
  71. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +807 -243
  72. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +13 -1
  73. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +50 -30
  74. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
  75. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +32 -2
  76. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +10 -10
  77. package/test/cynosdb.v20190107.test.js +12 -2
  78. package/test/ess.v20201111.test.js +12 -2
  79. package/test/essbasic.v20210526.test.js +14 -4
  80. package/test/goosefs.v20220519.test.js +31 -0
  81. package/test/lcic.v20220817.test.js +22 -2
  82. package/test/monitor.v20180724.test.js +164 -14
@@ -307,6 +307,21 @@ export interface PolicyTag {
307
307
  Value: string
308
308
  }
309
309
 
310
+ /**
311
+ * DeletePrometheusClusterAgent请求参数结构体
312
+ */
313
+ export interface DeletePrometheusClusterAgentRequest {
314
+ /**
315
+ * agent列表
316
+ */
317
+ Agents: Array<PrometheusAgentInfo>
318
+
319
+ /**
320
+ * 实例id
321
+ */
322
+ InstanceId: string
323
+ }
324
+
310
325
  /**
311
326
  * DescribePrometheusScrapeJobs请求参数结构体
312
327
  */
@@ -954,31 +969,36 @@ export interface AlarmPolicy {
954
969
  }
955
970
 
956
971
  /**
957
- * DescribeBasicAlarmList返回参数结构体
972
+ * DeleteExporterIntegration请求参数结构体
958
973
  */
959
- export interface DescribeBasicAlarmListResponse {
974
+ export interface DeleteExporterIntegrationRequest {
960
975
  /**
961
- * 告警列表
962
- 注意:此字段可能返回 null,表示取不到有效值。
963
- */
964
- Alarms: Array<DescribeBasicAlarmListAlarms>
976
+ * 实例 ID
977
+ */
978
+ InstanceId: string
965
979
 
966
980
  /**
967
- * 总数
968
- 注意:此字段可能返回 null,表示取不到有效值。
969
- */
970
- Total: number
981
+ * 类型
982
+ */
983
+ Kind: string
971
984
 
972
985
  /**
973
- * 备注信息
974
- 注意:此字段可能返回 null,表示取不到有效值。
986
+ * 名字
987
+ */
988
+ Name: string
989
+
990
+ /**
991
+ * Kubernetes 集群类型,取值如下:
992
+ <li> 1= 容器集群(TKE) </li>
993
+ <li> 2=弹性集群<EKS> </li>
994
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
975
995
  */
976
- Warning: string
996
+ KubeType?: number
977
997
 
978
998
  /**
979
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
999
+ * 集群 ID
980
1000
  */
981
- RequestId?: string
1001
+ ClusterId?: string
982
1002
  }
983
1003
 
984
1004
  /**
@@ -1608,6 +1628,26 @@ export interface DescribeAlarmNoticesResponse {
1608
1628
  RequestId?: string
1609
1629
  }
1610
1630
 
1631
+ /**
1632
+ * 关联集群时在集群内部署组件的pod额外配置
1633
+ */
1634
+ export interface PrometheusClusterAgentPodConfig {
1635
+ /**
1636
+ * 是否使用HostNetWork
1637
+ */
1638
+ HostNet?: boolean
1639
+
1640
+ /**
1641
+ * 指定pod运行节点
1642
+ */
1643
+ NodeSelector?: Array<Label>
1644
+
1645
+ /**
1646
+ * 容忍污点
1647
+ */
1648
+ Tolerations?: Array<Toleration>
1649
+ }
1650
+
1611
1651
  /**
1612
1652
  * 查询 Grafana 实例时的实例类型
1613
1653
  */
@@ -1709,6 +1749,16 @@ export interface GrafanaInstanceInfo {
1709
1749
  EnableSSOCamCheck: boolean
1710
1750
  }
1711
1751
 
1752
+ /**
1753
+ * DeletePrometheusConfig返回参数结构体
1754
+ */
1755
+ export interface DeletePrometheusConfigResponse {
1756
+ /**
1757
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1758
+ */
1759
+ RequestId?: string
1760
+ }
1761
+
1712
1762
  /**
1713
1763
  * CreatePrometheusRecordRuleYaml返回参数结构体
1714
1764
  */
@@ -2276,6 +2326,47 @@ export interface DescribePrometheusAgentInstancesResponse {
2276
2326
  RequestId?: string
2277
2327
  }
2278
2328
 
2329
+ /**
2330
+ * 云监控告警通知模板 - 回调通知详情
2331
+ */
2332
+ export interface URLNotice {
2333
+ /**
2334
+ * 回调 url(限长256字符)
2335
+ 注意:此字段可能返回 null,表示取不到有效值。
2336
+ */
2337
+ URL: string
2338
+
2339
+ /**
2340
+ * 是否通过验证 0=否 1=是
2341
+ 注意:此字段可能返回 null,表示取不到有效值。
2342
+ */
2343
+ IsValid?: number
2344
+
2345
+ /**
2346
+ * 验证码
2347
+ 注意:此字段可能返回 null,表示取不到有效值。
2348
+ */
2349
+ ValidationCode?: string
2350
+
2351
+ /**
2352
+ * 通知开始时间 一天开始的秒数
2353
+ 注意:此字段可能返回 null,表示取不到有效值。
2354
+ */
2355
+ StartTime?: number
2356
+
2357
+ /**
2358
+ * 通知结束时间 一天开始的秒数
2359
+ 注意:此字段可能返回 null,表示取不到有效值。
2360
+ */
2361
+ EndTime?: number
2362
+
2363
+ /**
2364
+ * 通知周期 1-7表示周一到周日
2365
+ 注意:此字段可能返回 null,表示取不到有效值。
2366
+ */
2367
+ Weekday?: Array<number>
2368
+ }
2369
+
2279
2370
  /**
2280
2371
  * DescribeProductList返回参数结构体
2281
2372
  */
@@ -2597,68 +2688,36 @@ export interface DescribePrometheusTempSyncRequest {
2597
2688
  }
2598
2689
 
2599
2690
  /**
2600
- * DescribeAccidentEventList请求参数结构体
2691
+ * DescribePrometheusGlobalConfig返回参数结构体
2601
2692
  */
2602
- export interface DescribeAccidentEventListRequest {
2603
- /**
2604
- * 接口模块名,当前接口取值monitor
2605
- */
2606
- Module: string
2607
-
2608
- /**
2609
- * 起始时间,默认一天前的时间戳
2610
- */
2611
- StartTime?: number
2612
-
2613
- /**
2614
- * 结束时间,默认当前时间戳
2615
- */
2616
- EndTime?: number
2617
-
2618
- /**
2619
- * 分页参数,每页返回的数量,取值1~100,默认20
2620
- */
2621
- Limit?: number
2622
-
2623
- /**
2624
- * 分页参数,页偏移量,从0开始计数,默认0
2625
- */
2626
- Offset?: number
2627
-
2628
- /**
2629
- * 根据UpdateTime排序的规则,取值asc或desc
2630
- */
2631
- UpdateTimeOrder?: string
2632
-
2633
- /**
2634
- * 根据OccurTime排序的规则,取值asc或desc(优先根据UpdateTimeOrder排序)
2635
- */
2636
- OccurTimeOrder?: string
2637
-
2693
+ export interface DescribePrometheusGlobalConfigResponse {
2638
2694
  /**
2639
- * 根据事件类型过滤,1表示服务问题,2表示其他订阅
2695
+ * 配置内容
2640
2696
  */
2641
- AccidentType?: Array<number>
2697
+ Config?: string
2642
2698
 
2643
2699
  /**
2644
- * 根据事件过滤,1表示云服务器存储问题,2表示云服务器网络连接问题,3表示云服务器运行异常,202表示运营商网络抖动
2645
- */
2646
- AccidentEvent?: Array<number>
2700
+ * ServiceMonitors列表以及对应targets信息
2701
+ 注意:此字段可能返回 null,表示取不到有效值。
2702
+ */
2703
+ ServiceMonitors?: Array<PrometheusConfigItem>
2647
2704
 
2648
2705
  /**
2649
- * 根据事件状态过滤,0表示已恢复,1表示未恢复
2650
- */
2651
- AccidentStatus?: Array<number>
2706
+ * PodMonitors列表以及对应targets信息
2707
+ 注意:此字段可能返回 null,表示取不到有效值。
2708
+ */
2709
+ PodMonitors?: Array<PrometheusConfigItem>
2652
2710
 
2653
2711
  /**
2654
- * 根据事件地域过滤,gz表示广州,sh表示上海等
2655
- */
2656
- AccidentRegion?: Array<string>
2712
+ * RawJobs列表以及对应targets信息
2713
+ 注意:此字段可能返回 null,表示取不到有效值。
2714
+ */
2715
+ RawJobs?: Array<PrometheusConfigItem>
2657
2716
 
2658
2717
  /**
2659
- * 根据影响资源过滤,比如ins-19a06bka
2718
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2660
2719
  */
2661
- AffectResource?: string
2720
+ RequestId?: string
2662
2721
  }
2663
2722
 
2664
2723
  /**
@@ -2823,6 +2882,16 @@ export interface InstanceGroups {
2823
2882
  Name: string
2824
2883
  }
2825
2884
 
2885
+ /**
2886
+ * UpdateGrafanaNotificationChannel返回参数结构体
2887
+ */
2888
+ export interface UpdateGrafanaNotificationChannelResponse {
2889
+ /**
2890
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2891
+ */
2892
+ RequestId?: string
2893
+ }
2894
+
2826
2895
  /**
2827
2896
  * CreateExporterIntegration返回参数结构体
2828
2897
  */
@@ -3150,6 +3219,26 @@ export interface DescribePrometheusInstancesRequest {
3150
3219
  InstanceChargeType?: number
3151
3220
  }
3152
3221
 
3222
+ /**
3223
+ * kubernetes Taint
3224
+ */
3225
+ export interface Toleration {
3226
+ /**
3227
+ * 容忍应用到的 taint key
3228
+ */
3229
+ Key?: string
3230
+
3231
+ /**
3232
+ * 键与值的关系
3233
+ */
3234
+ Operator?: string
3235
+
3236
+ /**
3237
+ * 要匹配的污点效果
3238
+ */
3239
+ Effect?: string
3240
+ }
3241
+
3153
3242
  /**
3154
3243
  * 策略列表详情标签返回体
3155
3244
  */
@@ -3392,76 +3481,141 @@ export interface EnableSSOCamCheckResponse {
3392
3481
  }
3393
3482
 
3394
3483
  /**
3395
- * CreatePrometheusScrapeJob返回参数结构体
3484
+ * DescribeAccidentEventList请求参数结构体
3396
3485
  */
3397
- export interface CreatePrometheusScrapeJobResponse {
3486
+ export interface DescribeAccidentEventListRequest {
3398
3487
  /**
3399
- * 成功创建抓取任务 Id
3488
+ * 接口模块名,当前接口取值monitor
3400
3489
  */
3401
- JobId: string
3490
+ Module: string
3402
3491
 
3403
3492
  /**
3404
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3493
+ * 起始时间,默认一天前的时间戳
3405
3494
  */
3406
- RequestId?: string
3407
- }
3495
+ StartTime?: number
3408
3496
 
3409
- /**
3410
- * CreateAlarmPolicy请求参数结构体
3411
- */
3412
- export interface CreateAlarmPolicyRequest {
3413
3497
  /**
3414
- * 固定值,为"monitor"
3498
+ * 结束时间,默认当前时间戳
3415
3499
  */
3416
- Module: string
3500
+ EndTime?: number
3417
3501
 
3418
3502
  /**
3419
- * 策略名称,不超过20字符
3503
+ * 分页参数,每页返回的数量,取值1~100,默认20
3420
3504
  */
3421
- PolicyName: string
3505
+ Limit?: number
3422
3506
 
3423
3507
  /**
3424
- * 监控类型 MT_QCE=云产品监控
3508
+ * 分页参数,页偏移量,从0开始计数,默认0
3425
3509
  */
3426
- MonitorType: string
3510
+ Offset?: number
3427
3511
 
3428
3512
  /**
3429
- * 告警策略类型,由 [DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device
3513
+ * 根据UpdateTime排序的规则,取值asc或desc
3430
3514
  */
3431
- Namespace: string
3515
+ UpdateTimeOrder?: string
3432
3516
 
3433
3517
  /**
3434
- * 备注,不超过100字符,仅支持中英文、数字、下划线、-
3518
+ * 根据OccurTime排序的规则,取值asc或desc(优先根据UpdateTimeOrder排序)
3435
3519
  */
3436
- Remark?: string
3520
+ OccurTimeOrder?: string
3437
3521
 
3438
3522
  /**
3439
- * 是否启用 0=停用 1=启用,可不传 默认为1
3523
+ * 根据事件类型过滤,1表示服务问题,2表示其他订阅
3440
3524
  */
3441
- Enable?: number
3525
+ AccidentType?: Array<number>
3442
3526
 
3443
3527
  /**
3444
- * 项目 Id,对于区分项目的产品必须传入非 -1 的值。 -1=无项目 0=默认项目,如不传 默认为 -1。支持的项目 Id 可以在控制台 [账号中心-项目管理](https://console.cloud.tencent.com/project) 中查看。
3528
+ * 根据事件过滤,1表示云服务器存储问题,2表示云服务器网络连接问题,3表示云服务器运行异常,202表示运营商网络抖动
3445
3529
  */
3446
- ProjectId?: number
3530
+ AccidentEvent?: Array<number>
3447
3531
 
3448
3532
  /**
3449
- * 触发条件模板 Id,该参数与 Condition 参数二选一。如果策略绑定触发条件模板,则传该参数;否则不传该参数,而是传 Condition 参数。触发条件模板 Id 可以从 [DescribeConditionsTemplateList](https://cloud.tencent.com/document/api/248/70250) 接口获取。
3533
+ * 根据事件状态过滤,0表示已恢复,1表示未恢复
3450
3534
  */
3451
- ConditionTemplateId?: number
3535
+ AccidentStatus?: Array<number>
3452
3536
 
3453
3537
  /**
3454
- * 指标触发条件,支持的指标可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
3538
+ * 根据事件地域过滤,gz表示广州,sh表示上海等
3455
3539
  */
3456
- Condition?: AlarmPolicyCondition
3540
+ AccidentRegion?: Array<string>
3457
3541
 
3458
3542
  /**
3459
- * 事件触发条件,支持的事件可以从 [DescribeAlarmEvents](https://cloud.tencent.com/document/product/248/51284) 查询。
3543
+ * 根据影响资源过滤,比如ins-19a06bka
3460
3544
  */
3461
- EventCondition?: AlarmPolicyEventCondition
3545
+ AffectResource?: string
3546
+ }
3462
3547
 
3548
+ /**
3549
+ * CreatePrometheusScrapeJob返回参数结构体
3550
+ */
3551
+ export interface CreatePrometheusScrapeJobResponse {
3463
3552
  /**
3464
- * 通知规则 Id 列表,由 [DescribeAlarmNotices](https://cloud.tencent.com/document/product/248/51280) 获得
3553
+ * 成功创建抓取任务 Id
3554
+ */
3555
+ JobId: string
3556
+
3557
+ /**
3558
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3559
+ */
3560
+ RequestId?: string
3561
+ }
3562
+
3563
+ /**
3564
+ * CreateAlarmPolicy请求参数结构体
3565
+ */
3566
+ export interface CreateAlarmPolicyRequest {
3567
+ /**
3568
+ * 固定值,为"monitor"
3569
+ */
3570
+ Module: string
3571
+
3572
+ /**
3573
+ * 策略名称,不超过20字符
3574
+ */
3575
+ PolicyName: string
3576
+
3577
+ /**
3578
+ * 监控类型 MT_QCE=云产品监控
3579
+ */
3580
+ MonitorType: string
3581
+
3582
+ /**
3583
+ * 告警策略类型,由 [DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device
3584
+ */
3585
+ Namespace: string
3586
+
3587
+ /**
3588
+ * 备注,不超过100字符,仅支持中英文、数字、下划线、-
3589
+ */
3590
+ Remark?: string
3591
+
3592
+ /**
3593
+ * 是否启用 0=停用 1=启用,可不传 默认为1
3594
+ */
3595
+ Enable?: number
3596
+
3597
+ /**
3598
+ * 项目 Id,对于区分项目的产品必须传入非 -1 的值。 -1=无项目 0=默认项目,如不传 默认为 -1。支持的项目 Id 可以在控制台 [账号中心-项目管理](https://console.cloud.tencent.com/project) 中查看。
3599
+ */
3600
+ ProjectId?: number
3601
+
3602
+ /**
3603
+ * 触发条件模板 Id,该参数与 Condition 参数二选一。如果策略绑定触发条件模板,则传该参数;否则不传该参数,而是传 Condition 参数。触发条件模板 Id 可以从 [DescribeConditionsTemplateList](https://cloud.tencent.com/document/api/248/70250) 接口获取。
3604
+ */
3605
+ ConditionTemplateId?: number
3606
+
3607
+ /**
3608
+ * 指标触发条件,支持的指标可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
3609
+ */
3610
+ Condition?: AlarmPolicyCondition
3611
+
3612
+ /**
3613
+ * 事件触发条件,支持的事件可以从 [DescribeAlarmEvents](https://cloud.tencent.com/document/product/248/51284) 查询。
3614
+ */
3615
+ EventCondition?: AlarmPolicyEventCondition
3616
+
3617
+ /**
3618
+ * 通知规则 Id 列表,由 [DescribeAlarmNotices](https://cloud.tencent.com/document/product/248/51280) 获得
3465
3619
  */
3466
3620
  NoticeIds?: Array<string>
3467
3621
 
@@ -3536,6 +3690,21 @@ export interface PrometheusZoneItem {
3536
3690
  ZoneName: string
3537
3691
  }
3538
3692
 
3693
+ /**
3694
+ * ModifyPrometheusAlertPolicy请求参数结构体
3695
+ */
3696
+ export interface ModifyPrometheusAlertPolicyRequest {
3697
+ /**
3698
+ * 实例id
3699
+ */
3700
+ InstanceId: string
3701
+
3702
+ /**
3703
+ * 告警配置
3704
+ */
3705
+ AlertRule: PrometheusAlertPolicyItem
3706
+ }
3707
+
3539
3708
  /**
3540
3709
  * ModifyPrometheusInstanceAttributes返回参数结构体
3541
3710
  */
@@ -3728,6 +3897,21 @@ export interface DescribeAlarmPoliciesResponse {
3728
3897
  RequestId?: string
3729
3898
  }
3730
3899
 
3900
+ /**
3901
+ * ModifyPrometheusGlobalNotification请求参数结构体
3902
+ */
3903
+ export interface ModifyPrometheusGlobalNotificationRequest {
3904
+ /**
3905
+ * 实例ID
3906
+ */
3907
+ InstanceId: string
3908
+
3909
+ /**
3910
+ * 告警通知渠道
3911
+ */
3912
+ Notification: PrometheusNotificationItem
3913
+ }
3914
+
3731
3915
  /**
3732
3916
  * DescribePolicyConditionList.ConfigManual.Period
3733
3917
  */
@@ -3770,6 +3954,22 @@ export interface DescribePrometheusRecordRulesResponse {
3770
3954
  RequestId?: string
3771
3955
  }
3772
3956
 
3957
+ /**
3958
+ * DescribePrometheusGlobalNotification返回参数结构体
3959
+ */
3960
+ export interface DescribePrometheusGlobalNotificationResponse {
3961
+ /**
3962
+ * 全局告警通知渠道
3963
+ 注意:此字段可能返回 null,表示取不到有效值。
3964
+ */
3965
+ Notification?: PrometheusNotificationItem
3966
+
3967
+ /**
3968
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3969
+ */
3970
+ RequestId?: string
3971
+ }
3972
+
3773
3973
  /**
3774
3974
  * DescribeMonitorTypes请求参数结构体
3775
3975
  */
@@ -3790,6 +3990,26 @@ export interface DimensionsDesc {
3790
3990
  Dimensions: Array<string>
3791
3991
  }
3792
3992
 
3993
+ /**
3994
+ * DeletePrometheusAlertPolicy请求参数结构体
3995
+ */
3996
+ export interface DeletePrometheusAlertPolicyRequest {
3997
+ /**
3998
+ * 实例id
3999
+ */
4000
+ InstanceId: string
4001
+
4002
+ /**
4003
+ * 告警策略id列表
4004
+ */
4005
+ AlertIds: Array<string>
4006
+
4007
+ /**
4008
+ * 告警策略名称
4009
+ */
4010
+ Names?: Array<string>
4011
+ }
4012
+
3793
4013
  /**
3794
4014
  * Prometheus 服务发现信息
3795
4015
  */
@@ -3834,18 +4054,13 @@ export interface ServiceDiscoveryItem {
3834
4054
  }
3835
4055
 
3836
4056
  /**
3837
- * SetDefaultAlarmPolicy请求参数结构体
4057
+ * ModifyPrometheusAgentExternalLabels返回参数结构体
3838
4058
  */
3839
- export interface SetDefaultAlarmPolicyRequest {
4059
+ export interface ModifyPrometheusAgentExternalLabelsResponse {
3840
4060
  /**
3841
- * 模块名,固定值 monitor
3842
- */
3843
- Module: string
3844
-
3845
- /**
3846
- * 告警策略 ID
4061
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3847
4062
  */
3848
- PolicyId: string
4063
+ RequestId?: string
3849
4064
  }
3850
4065
 
3851
4066
  /**
@@ -3944,6 +4159,34 @@ export interface ResumeGrafanaInstanceRequest {
3944
4159
  InstanceId: string
3945
4160
  }
3946
4161
 
4162
+ /**
4163
+ * DescribeBasicAlarmList返回参数结构体
4164
+ */
4165
+ export interface DescribeBasicAlarmListResponse {
4166
+ /**
4167
+ * 告警列表
4168
+ 注意:此字段可能返回 null,表示取不到有效值。
4169
+ */
4170
+ Alarms: Array<DescribeBasicAlarmListAlarms>
4171
+
4172
+ /**
4173
+ * 总数
4174
+ 注意:此字段可能返回 null,表示取不到有效值。
4175
+ */
4176
+ Total: number
4177
+
4178
+ /**
4179
+ * 备注信息
4180
+ 注意:此字段可能返回 null,表示取不到有效值。
4181
+ */
4182
+ Warning: string
4183
+
4184
+ /**
4185
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4186
+ */
4187
+ RequestId?: string
4188
+ }
4189
+
3947
4190
  /**
3948
4191
  * ModifyAlarmReceivers请求参数结构体
3949
4192
  */
@@ -4180,86 +4423,38 @@ export interface CreateGrafanaNotificationChannelRequest {
4180
4423
  }
4181
4424
 
4182
4425
  /**
4183
- * 云监控告警通知模板 - 用户通知详情
4426
+ * DescribePrometheusTargetsTMP返回参数结构体
4184
4427
  */
4185
- export interface UserNotice {
4428
+ export interface DescribePrometheusTargetsTMPResponse {
4186
4429
  /**
4187
- * 接收者类型 USER=用户 GROUP=用户组
4188
- 注意:此字段可能返回 null,表示取不到有效值。
4189
- */
4190
- ReceiverType: string
4191
-
4192
- /**
4193
- * 通知开始时间 00:00:00 开始的秒数(取值范围0-86399)
4194
- 注意:此字段可能返回 null,表示取不到有效值。
4195
- */
4196
- StartTime: number
4197
-
4198
- /**
4199
- * 通知结束时间 00:00:00 开始的秒数(取值范围0-86399)
4200
- 注意:此字段可能返回 null,表示取不到有效值。
4201
- */
4202
- EndTime: number
4203
-
4204
- /**
4205
- * 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信
4206
- 注意:此字段可能返回 null,表示取不到有效值。
4207
- */
4208
- NoticeWay: Array<string>
4209
-
4210
- /**
4211
- * 用户 uid 列表
4212
- 注意:此字段可能返回 null,表示取不到有效值。
4213
- */
4214
- UserIds?: Array<number>
4215
-
4216
- /**
4217
- * 用户组 group id 列表
4218
- 注意:此字段可能返回 null,表示取不到有效值。
4219
- */
4220
- GroupIds?: Array<number>
4221
-
4222
- /**
4223
- * 电话轮询列表
4224
- 注意:此字段可能返回 null,表示取不到有效值。
4225
- */
4226
- PhoneOrder?: Array<number>
4227
-
4228
- /**
4229
- * 电话轮询次数 (取值范围1-5)
4230
- 注意:此字段可能返回 null,表示取不到有效值。
4231
- */
4232
- PhoneCircleTimes?: number
4233
-
4234
- /**
4235
- * 单次轮询内拨打间隔 秒数 (取值范围60-900)
4236
- 注意:此字段可能返回 null,表示取不到有效值。
4237
- */
4238
- PhoneInnerInterval?: number
4430
+ * 所有Job的targets信息
4431
+ */
4432
+ Jobs?: Array<PrometheusJobTargets>
4239
4433
 
4240
4434
  /**
4241
- * 两次轮询间隔 秒数(取值范围60-900)
4242
- 注意:此字段可能返回 null,表示取不到有效值。
4243
- */
4244
- PhoneCircleInterval?: number
4435
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4436
+ */
4437
+ RequestId?: string
4438
+ }
4245
4439
 
4440
+ /**
4441
+ * DescribePrometheusClusterAgents返回参数结构体
4442
+ */
4443
+ export interface DescribePrometheusClusterAgentsResponse {
4246
4444
  /**
4247
- * 是否需要触达通知 0=否 1=是
4248
- 注意:此字段可能返回 null,表示取不到有效值。
4249
- */
4250
- NeedPhoneArriveNotice?: number
4445
+ * 被关联集群信息
4446
+ */
4447
+ Agents?: Array<PrometheusAgentOverview>
4251
4448
 
4252
4449
  /**
4253
- * 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询
4254
- 注意:此字段可能返回 null,表示取不到有效值。
4255
- */
4256
- PhoneCallType?: string
4450
+ * 被关联集群总量
4451
+ */
4452
+ Total?: number
4257
4453
 
4258
4454
  /**
4259
- * 通知周期 1-7表示周一到周日
4260
- 注意:此字段可能返回 null,表示取不到有效值。
4261
- */
4262
- Weekday?: Array<number>
4455
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4456
+ */
4457
+ RequestId?: string
4263
4458
  }
4264
4459
 
4265
4460
  /**
@@ -4288,9 +4483,14 @@ export interface UpdatePrometheusScrapeJobRequest {
4288
4483
  }
4289
4484
 
4290
4485
  /**
4291
- * UpdateGrafanaNotificationChannel返回参数结构体
4486
+ * 托管Prometheus agent信息
4292
4487
  */
4293
- export interface UpdateGrafanaNotificationChannelResponse {
4488
+ export type PrometheusAgentInfo = null
4489
+
4490
+ /**
4491
+ * CreatePrometheusClusterAgent返回参数结构体
4492
+ */
4493
+ export interface CreatePrometheusClusterAgentResponse {
4294
4494
  /**
4295
4495
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4296
4496
  */
@@ -4401,6 +4601,16 @@ export interface DescribePrometheusInstanceUsageResponse {
4401
4601
  RequestId?: string
4402
4602
  }
4403
4603
 
4604
+ /**
4605
+ * DescribePrometheusGlobalNotification请求参数结构体
4606
+ */
4607
+ export interface DescribePrometheusGlobalNotificationRequest {
4608
+ /**
4609
+ * 实例ID
4610
+ */
4611
+ InstanceId: string
4612
+ }
4613
+
4404
4614
  /**
4405
4615
  * DeleteExporterIntegration返回参数结构体
4406
4616
  */
@@ -4726,6 +4936,16 @@ export interface DescribePrometheusTempSyncResponse {
4726
4936
  RequestId?: string
4727
4937
  }
4728
4938
 
4939
+ /**
4940
+ * CreatePrometheusConfig返回参数结构体
4941
+ */
4942
+ export interface CreatePrometheusConfigResponse {
4943
+ /**
4944
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4945
+ */
4946
+ RequestId?: string
4947
+ }
4948
+
4729
4949
  /**
4730
4950
  * UpdateDNSConfig请求参数结构体
4731
4951
  */
@@ -4742,56 +4962,13 @@ export interface UpdateDNSConfigRequest {
4742
4962
  }
4743
4963
 
4744
4964
  /**
4745
- * DescribeAccidentEventList接口的出参类型
4965
+ * DeletePrometheusClusterAgent返回参数结构体
4746
4966
  */
4747
- export interface DescribeAccidentEventListAlarms {
4748
- /**
4749
- * 事件分类
4750
- 注意:此字段可能返回 null,表示取不到有效值。
4751
- */
4752
- BusinessTypeDesc: string
4753
-
4754
- /**
4755
- * 事件类型
4756
- 注意:此字段可能返回 null,表示取不到有效值。
4757
- */
4758
- AccidentTypeDesc: string
4759
-
4760
- /**
4761
- * 事件分类的ID,1表示服务问题,2表示其他订阅
4762
- 注意:此字段可能返回 null,表示取不到有效值。
4763
- */
4764
- BusinessID: number
4765
-
4766
- /**
4767
- * 事件状态的ID,0表示已恢复,1表示未恢复
4768
- 注意:此字段可能返回 null,表示取不到有效值。
4769
- */
4770
- EventStatus: number
4771
-
4772
- /**
4773
- * 影响的对象
4774
- 注意:此字段可能返回 null,表示取不到有效值。
4775
- */
4776
- AffectResource: string
4777
-
4778
- /**
4779
- * 事件的地域
4780
- 注意:此字段可能返回 null,表示取不到有效值。
4781
- */
4782
- Region: string
4783
-
4784
- /**
4785
- * 事件发生的时间
4786
- 注意:此字段可能返回 null,表示取不到有效值。
4787
- */
4788
- OccurTime: string
4789
-
4967
+ export interface DeletePrometheusClusterAgentResponse {
4790
4968
  /**
4791
- * 更新时间
4792
- 注意:此字段可能返回 null,表示取不到有效值。
4793
- */
4794
- UpdateTime: string
4969
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4970
+ */
4971
+ RequestId?: string
4795
4972
  }
4796
4973
 
4797
4974
  /**
@@ -5511,6 +5688,16 @@ export interface CreateExporterIntegrationRequest {
5511
5688
  ClusterId?: string
5512
5689
  }
5513
5690
 
5691
+ /**
5692
+ * ModifyPrometheusConfig返回参数结构体
5693
+ */
5694
+ export interface ModifyPrometheusConfigResponse {
5695
+ /**
5696
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5697
+ */
5698
+ RequestId?: string
5699
+ }
5700
+
5514
5701
  /**
5515
5702
  * prometheus agent
5516
5703
  */
@@ -5541,34 +5728,132 @@ export interface PrometheusAgent {
5541
5728
  * 心跳时间
5542
5729
  注意:此字段可能返回 null,表示取不到有效值。
5543
5730
  */
5544
- HeartbeatTime: string
5731
+ HeartbeatTime: string
5732
+
5733
+ /**
5734
+ * 最近一次错误
5735
+ 注意:此字段可能返回 null,表示取不到有效值。
5736
+ */
5737
+ LastError: string
5738
+
5739
+ /**
5740
+ * Agent 版本
5741
+ 注意:此字段可能返回 null,表示取不到有效值。
5742
+ */
5743
+ AgentVersion: string
5744
+
5745
+ /**
5746
+ * Agent 状态
5747
+ */
5748
+ Status: number
5749
+ }
5750
+
5751
+ /**
5752
+ * CreatePrometheusAlertPolicy返回参数结构体
5753
+ */
5754
+ export interface CreatePrometheusAlertPolicyResponse {
5755
+ /**
5756
+ * 告警id
5757
+ */
5758
+ Id?: string
5759
+
5760
+ /**
5761
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5762
+ */
5763
+ RequestId?: string
5764
+ }
5765
+
5766
+ /**
5767
+ * DescribePrometheusInstanceDetail请求参数结构体
5768
+ */
5769
+ export interface DescribePrometheusInstanceDetailRequest {
5770
+ /**
5771
+ * 实例ID
5772
+ */
5773
+ InstanceId: string
5774
+ }
5775
+
5776
+ /**
5777
+ * 云监控告警通知模板 - 用户通知详情
5778
+ */
5779
+ export interface UserNotice {
5780
+ /**
5781
+ * 接收者类型 USER=用户 GROUP=用户组
5782
+ 注意:此字段可能返回 null,表示取不到有效值。
5783
+ */
5784
+ ReceiverType: string
5785
+
5786
+ /**
5787
+ * 通知开始时间 00:00:00 开始的秒数(取值范围0-86399)
5788
+ 注意:此字段可能返回 null,表示取不到有效值。
5789
+ */
5790
+ StartTime: number
5791
+
5792
+ /**
5793
+ * 通知结束时间 00:00:00 开始的秒数(取值范围0-86399)
5794
+ 注意:此字段可能返回 null,表示取不到有效值。
5795
+ */
5796
+ EndTime: number
5797
+
5798
+ /**
5799
+ * 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信
5800
+ 注意:此字段可能返回 null,表示取不到有效值。
5801
+ */
5802
+ NoticeWay: Array<string>
5803
+
5804
+ /**
5805
+ * 用户 uid 列表
5806
+ 注意:此字段可能返回 null,表示取不到有效值。
5807
+ */
5808
+ UserIds?: Array<number>
5809
+
5810
+ /**
5811
+ * 用户组 group id 列表
5812
+ 注意:此字段可能返回 null,表示取不到有效值。
5813
+ */
5814
+ GroupIds?: Array<number>
5815
+
5816
+ /**
5817
+ * 电话轮询列表
5818
+ 注意:此字段可能返回 null,表示取不到有效值。
5819
+ */
5820
+ PhoneOrder?: Array<number>
5821
+
5822
+ /**
5823
+ * 电话轮询次数 (取值范围1-5)
5824
+ 注意:此字段可能返回 null,表示取不到有效值。
5825
+ */
5826
+ PhoneCircleTimes?: number
5827
+
5828
+ /**
5829
+ * 单次轮询内拨打间隔 秒数 (取值范围60-900)
5830
+ 注意:此字段可能返回 null,表示取不到有效值。
5831
+ */
5832
+ PhoneInnerInterval?: number
5545
5833
 
5546
5834
  /**
5547
- * 最近一次错误
5835
+ * 两次轮询间隔 秒数(取值范围60-900)
5548
5836
  注意:此字段可能返回 null,表示取不到有效值。
5549
5837
  */
5550
- LastError: string
5838
+ PhoneCircleInterval?: number
5551
5839
 
5552
5840
  /**
5553
- * Agent 版本
5841
+ * 是否需要触达通知 0=否 1=是
5554
5842
  注意:此字段可能返回 null,表示取不到有效值。
5555
5843
  */
5556
- AgentVersion: string
5844
+ NeedPhoneArriveNotice?: number
5557
5845
 
5558
5846
  /**
5559
- * Agent 状态
5560
- */
5561
- Status: number
5562
- }
5847
+ * 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询
5848
+ 注意:此字段可能返回 null,表示取不到有效值。
5849
+ */
5850
+ PhoneCallType?: string
5563
5851
 
5564
- /**
5565
- * DescribePrometheusInstanceDetail请求参数结构体
5566
- */
5567
- export interface DescribePrometheusInstanceDetailRequest {
5568
5852
  /**
5569
- * 实例ID
5570
- */
5571
- InstanceId: string
5853
+ * 通知周期 1-7表示周一到周日
5854
+ 注意:此字段可能返回 null,表示取不到有效值。
5855
+ */
5856
+ Weekday?: Array<number>
5572
5857
  }
5573
5858
 
5574
5859
  /**
@@ -5922,6 +6207,41 @@ export interface CreateRecordingRuleRequest {
5922
6207
  RuleState?: number
5923
6208
  }
5924
6209
 
6210
+ /**
6211
+ * ModifyPrometheusConfig请求参数结构体
6212
+ */
6213
+ export interface ModifyPrometheusConfigRequest {
6214
+ /**
6215
+ * 实例id
6216
+ */
6217
+ InstanceId: string
6218
+
6219
+ /**
6220
+ * 集群类型
6221
+ */
6222
+ ClusterType: string
6223
+
6224
+ /**
6225
+ * 集群id
6226
+ */
6227
+ ClusterId: string
6228
+
6229
+ /**
6230
+ * ServiceMonitors配置
6231
+ */
6232
+ ServiceMonitors?: Array<PrometheusConfigItem>
6233
+
6234
+ /**
6235
+ * PodMonitors配置
6236
+ */
6237
+ PodMonitors?: Array<PrometheusConfigItem>
6238
+
6239
+ /**
6240
+ * prometheus原生Job配置
6241
+ */
6242
+ RawJobs?: Array<PrometheusConfigItem>
6243
+ }
6244
+
5925
6245
  /**
5926
6246
  * DescribeGrafanaEnvironments返回参数结构体
5927
6247
  */
@@ -6013,6 +6333,43 @@ export interface DeleteGrafanaIntegrationRequest {
6013
6333
  IntegrationId: string
6014
6334
  }
6015
6335
 
6336
+ /**
6337
+ * ModifyPrometheusAlertPolicy返回参数结构体
6338
+ */
6339
+ export interface ModifyPrometheusAlertPolicyResponse {
6340
+ /**
6341
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6342
+ */
6343
+ RequestId?: string
6344
+ }
6345
+
6346
+ /**
6347
+ * DescribePrometheusTargetsTMP请求参数结构体
6348
+ */
6349
+ export interface DescribePrometheusTargetsTMPRequest {
6350
+ /**
6351
+ * 实例id
6352
+ */
6353
+ InstanceId: string
6354
+
6355
+ /**
6356
+ * 集群类型
6357
+ */
6358
+ ClusterType: string
6359
+
6360
+ /**
6361
+ * 集群id
6362
+ */
6363
+ ClusterId: string
6364
+
6365
+ /**
6366
+ * 过滤条件,当前支持
6367
+ Name=state
6368
+ Value=up, down, unknown
6369
+ */
6370
+ Filters?: Array<Filter>
6371
+ }
6372
+
6016
6373
  /**
6017
6374
  * CreateServiceDiscovery请求参数结构体
6018
6375
  */
@@ -6108,6 +6465,41 @@ export interface GrafanaChannel {
6108
6465
  OrganizationIds: Array<string>
6109
6466
  }
6110
6467
 
6468
+ /**
6469
+ * CreatePrometheusConfig请求参数结构体
6470
+ */
6471
+ export interface CreatePrometheusConfigRequest {
6472
+ /**
6473
+ * 实例id
6474
+ */
6475
+ InstanceId: string
6476
+
6477
+ /**
6478
+ * 集群类型
6479
+ */
6480
+ ClusterType: string
6481
+
6482
+ /**
6483
+ * 集群id
6484
+ */
6485
+ ClusterId: string
6486
+
6487
+ /**
6488
+ * ServiceMonitors配置
6489
+ */
6490
+ ServiceMonitors?: Array<PrometheusConfigItem>
6491
+
6492
+ /**
6493
+ * PodMonitors配置
6494
+ */
6495
+ PodMonitors?: Array<PrometheusConfigItem>
6496
+
6497
+ /**
6498
+ * prometheus原生Job配置
6499
+ */
6500
+ RawJobs?: Array<PrometheusConfigItem>
6501
+ }
6502
+
6111
6503
  /**
6112
6504
  * DescribeSSOAccount返回参数结构体
6113
6505
  */
@@ -6265,6 +6657,21 @@ export interface DescribeProductEventListEventsDimensions {
6265
6657
  Value: string
6266
6658
  }
6267
6659
 
6660
+ /**
6661
+ * CreatePrometheusClusterAgent请求参数结构体
6662
+ */
6663
+ export interface CreatePrometheusClusterAgentRequest {
6664
+ /**
6665
+ * 实例ID
6666
+ */
6667
+ InstanceId: string
6668
+
6669
+ /**
6670
+ * agent列表
6671
+ */
6672
+ Agents: Array<PrometheusClusterAgentBasic>
6673
+ }
6674
+
6268
6675
  /**
6269
6676
  * ModifyAlarmPolicyCondition返回参数结构体
6270
6677
  */
@@ -6794,13 +7201,67 @@ export interface UpgradeGrafanaInstanceRequest {
6794
7201
  }
6795
7202
 
6796
7203
  /**
6797
- * CreateAlarmNotice返回参数结构体
7204
+ * DescribeAccidentEventList接口的出参类型
6798
7205
  */
6799
- export interface CreateAlarmNoticeResponse {
7206
+ export interface DescribeAccidentEventListAlarms {
6800
7207
  /**
6801
- * 告警通知模板ID
6802
- */
6803
- NoticeId: string
7208
+ * 事件分类
7209
+ 注意:此字段可能返回 null,表示取不到有效值。
7210
+ */
7211
+ BusinessTypeDesc: string
7212
+
7213
+ /**
7214
+ * 事件类型
7215
+ 注意:此字段可能返回 null,表示取不到有效值。
7216
+ */
7217
+ AccidentTypeDesc: string
7218
+
7219
+ /**
7220
+ * 事件分类的ID,1表示服务问题,2表示其他订阅
7221
+ 注意:此字段可能返回 null,表示取不到有效值。
7222
+ */
7223
+ BusinessID: number
7224
+
7225
+ /**
7226
+ * 事件状态的ID,0表示已恢复,1表示未恢复
7227
+ 注意:此字段可能返回 null,表示取不到有效值。
7228
+ */
7229
+ EventStatus: number
7230
+
7231
+ /**
7232
+ * 影响的对象
7233
+ 注意:此字段可能返回 null,表示取不到有效值。
7234
+ */
7235
+ AffectResource: string
7236
+
7237
+ /**
7238
+ * 事件的地域
7239
+ 注意:此字段可能返回 null,表示取不到有效值。
7240
+ */
7241
+ Region: string
7242
+
7243
+ /**
7244
+ * 事件发生的时间
7245
+ 注意:此字段可能返回 null,表示取不到有效值。
7246
+ */
7247
+ OccurTime: string
7248
+
7249
+ /**
7250
+ * 更新时间
7251
+ 注意:此字段可能返回 null,表示取不到有效值。
7252
+ */
7253
+ UpdateTime: string
7254
+ }
7255
+
7256
+ /**
7257
+ * CreatePrometheusGlobalNotification返回参数结构体
7258
+ */
7259
+ export interface CreatePrometheusGlobalNotificationResponse {
7260
+ /**
7261
+ * 全局告警通知渠道ID
7262
+ 注意:此字段可能返回 null,表示取不到有效值。
7263
+ */
7264
+ Id?: string
6804
7265
 
6805
7266
  /**
6806
7267
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -7090,6 +7551,21 @@ export interface DescribePrometheusInstanceInitStatusRequest {
7090
7551
  InstanceId: string
7091
7552
  }
7092
7553
 
7554
+ /**
7555
+ * CreatePrometheusAlertPolicy请求参数结构体
7556
+ */
7557
+ export interface CreatePrometheusAlertPolicyRequest {
7558
+ /**
7559
+ * 实例id
7560
+ */
7561
+ InstanceId: string
7562
+
7563
+ /**
7564
+ * 告警配置
7565
+ */
7566
+ AlertRule: PrometheusAlertPolicyItem
7567
+ }
7568
+
7093
7569
  /**
7094
7570
  * DescribeBindingPolicyObjectList请求参数结构体
7095
7571
  */
@@ -7399,6 +7875,26 @@ export interface PolicyGroup {
7399
7875
  IsUnionRule: number
7400
7876
  }
7401
7877
 
7878
+ /**
7879
+ * DescribePrometheusClusterAgents请求参数结构体
7880
+ */
7881
+ export interface DescribePrometheusClusterAgentsRequest {
7882
+ /**
7883
+ * 实例id
7884
+ */
7885
+ InstanceId: string
7886
+
7887
+ /**
7888
+ * 用于分页
7889
+ */
7890
+ Offset?: number
7891
+
7892
+ /**
7893
+ * 用于分页
7894
+ */
7895
+ Limit?: number
7896
+ }
7897
+
7402
7898
  /**
7403
7899
  * UnbindPrometheusManagedGrafana请求参数结构体
7404
7900
  */
@@ -7610,6 +8106,11 @@ export interface ModifyAlarmNoticeResponse {
7610
8106
  RequestId?: string
7611
8107
  }
7612
8108
 
8109
+ /**
8110
+ * prometheus一个job的targets
8111
+ */
8112
+ export type PrometheusJobTargets = null
8113
+
7613
8114
  /**
7614
8115
  * UpdateGrafanaConfig请求参数结构体
7615
8116
  */
@@ -7773,44 +8274,48 @@ export interface AlarmHistory {
7773
8274
  }
7774
8275
 
7775
8276
  /**
7776
- * 云监控告警通知模板 - 回调通知详情
8277
+ * 与云监控融合托管prometheus实例,关联集群基础信息
7777
8278
  */
7778
- export interface URLNotice {
8279
+ export interface PrometheusClusterAgentBasic {
7779
8280
  /**
7780
- * 回调 url(限长256字符)
7781
- 注意:此字段可能返回 null,表示取不到有效值。
7782
- */
7783
- URL: string
8281
+ * 集群ID
8282
+ */
8283
+ Region: string
7784
8284
 
7785
8285
  /**
7786
- * 是否通过验证 0=否 1=是
7787
- 注意:此字段可能返回 null,表示取不到有效值。
7788
- */
7789
- IsValid?: number
8286
+ * 集群类型
8287
+ */
8288
+ ClusterType: string
7790
8289
 
7791
8290
  /**
7792
- * 验证码
7793
- 注意:此字段可能返回 null,表示取不到有效值。
7794
- */
7795
- ValidationCode?: string
8291
+ * 集群ID
8292
+ */
8293
+ ClusterId: string
7796
8294
 
7797
8295
  /**
7798
- * 通知开始时间 一天开始的秒数
7799
- 注意:此字段可能返回 null,表示取不到有效值。
7800
- */
7801
- StartTime?: number
8296
+ * 是否开启公网CLB
8297
+ */
8298
+ EnableExternal: boolean
8299
+
8300
+ /**
8301
+ * 集群内部署组件的pod配置
8302
+ */
8303
+ InClusterPodConfig?: PrometheusClusterAgentPodConfig
8304
+
8305
+ /**
8306
+ * 该集群采集的所有指标都会带上这些labels
8307
+ */
8308
+ ExternalLabels?: Array<Label>
7802
8309
 
7803
8310
  /**
7804
- * 通知结束时间 一天开始的秒数
7805
- 注意:此字段可能返回 null,表示取不到有效值。
7806
- */
7807
- EndTime?: number
8311
+ * 是否安装默认采集配置
8312
+ */
8313
+ NotInstallBasicScrape?: boolean
7808
8314
 
7809
8315
  /**
7810
- * 通知周期 1-7表示周一到周日
7811
- 注意:此字段可能返回 null,表示取不到有效值。
7812
- */
7813
- Weekday?: Array<number>
8316
+ * 是否采集指标,true代表drop所有指标,false代表采集默认指标
8317
+ */
8318
+ NotScrape?: boolean
7814
8319
  }
7815
8320
 
7816
8321
  /**
@@ -7953,6 +8458,16 @@ export interface NoticeBindPolicys {
7953
8458
  PolicyIds?: Array<string>
7954
8459
  }
7955
8460
 
8461
+ /**
8462
+ * UnBindingAllPolicyObject返回参数结构体
8463
+ */
8464
+ export interface UnBindingAllPolicyObjectResponse {
8465
+ /**
8466
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8467
+ */
8468
+ RequestId?: string
8469
+ }
8470
+
7956
8471
  /**
7957
8472
  * DescribeAlarmNotices请求参数结构体
7958
8473
  */
@@ -8355,39 +8870,6 @@ export interface UpdateGrafanaConfigResponse {
8355
8870
  RequestId?: string
8356
8871
  }
8357
8872
 
8358
- /**
8359
- * DeleteExporterIntegration请求参数结构体
8360
- */
8361
- export interface DeleteExporterIntegrationRequest {
8362
- /**
8363
- * 实例 ID
8364
- */
8365
- InstanceId: string
8366
-
8367
- /**
8368
- * 类型
8369
- */
8370
- Kind: string
8371
-
8372
- /**
8373
- * 名字
8374
- */
8375
- Name: string
8376
-
8377
- /**
8378
- * Kubernetes 集群类型,取值如下:
8379
- <li> 1= 容器集群(TKE) </li>
8380
- <li> 2=弹性集群<EKS> </li>
8381
- <li> 3= Prometheus管理的弹性集群<MEKS> </li>
8382
- */
8383
- KubeType?: number
8384
-
8385
- /**
8386
- * 集群 ID
8387
- */
8388
- ClusterId?: string
8389
- }
8390
-
8391
8873
  /**
8392
8874
  * ModifyPrometheusInstanceAttributes请求参数结构体
8393
8875
  */
@@ -8508,6 +8990,21 @@ export interface DescribeProductEventListRequest {
8508
8990
  Limit?: number
8509
8991
  }
8510
8992
 
8993
+ /**
8994
+ * CreatePrometheusGlobalNotification请求参数结构体
8995
+ */
8996
+ export interface CreatePrometheusGlobalNotificationRequest {
8997
+ /**
8998
+ * 实例ID
8999
+ */
9000
+ InstanceId: string
9001
+
9002
+ /**
9003
+ * 告警通知渠道
9004
+ */
9005
+ Notification: PrometheusNotificationItem
9006
+ }
9007
+
8511
9008
  /**
8512
9009
  * ModifyPrometheusTemp返回参数结构体
8513
9010
  */
@@ -8607,9 +9104,9 @@ export interface CheckIsPrometheusNewUserResponse {
8607
9104
  }
8608
9105
 
8609
9106
  /**
8610
- * ModifyAlarmPolicyTasks返回参数结构体
9107
+ * PutMonitorData返回参数结构体
8611
9108
  */
8612
- export interface ModifyAlarmPolicyTasksResponse {
9109
+ export interface PutMonitorDataResponse {
8613
9110
  /**
8614
9111
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8615
9112
  */
@@ -8661,6 +9158,16 @@ export interface ModifyPrometheusRecordRuleYamlRequest {
8661
9158
  Content: string
8662
9159
  }
8663
9160
 
9161
+ /**
9162
+ * DeletePrometheusAlertPolicy返回参数结构体
9163
+ */
9164
+ export interface DeletePrometheusAlertPolicyResponse {
9165
+ /**
9166
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9167
+ */
9168
+ RequestId?: string
9169
+ }
9170
+
8664
9171
  /**
8665
9172
  * DescribeProductEventList的入参Dimensions
8666
9173
  */
@@ -8787,9 +9294,9 @@ export interface DescribePolicyConditionListConfigManualContinueTime {
8787
9294
  }
8788
9295
 
8789
9296
  /**
8790
- * PutMonitorData返回参数结构体
9297
+ * ModifyAlarmPolicyTasks返回参数结构体
8791
9298
  */
8792
- export interface PutMonitorDataResponse {
9299
+ export interface ModifyAlarmPolicyTasksResponse {
8793
9300
  /**
8794
9301
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8795
9302
  */
@@ -9329,6 +9836,21 @@ export interface DeletePrometheusTempSyncRequest {
9329
9836
  */
9330
9837
  export type DescribePluginOverviewsRequest = null
9331
9838
 
9839
+ /**
9840
+ * DescribePrometheusGlobalConfig请求参数结构体
9841
+ */
9842
+ export interface DescribePrometheusGlobalConfigRequest {
9843
+ /**
9844
+ * 实例级别抓取配置
9845
+ */
9846
+ InstanceId: string
9847
+
9848
+ /**
9849
+ * 是否禁用统计
9850
+ */
9851
+ DisableStatistics?: boolean
9852
+ }
9853
+
9332
9854
  /**
9333
9855
  * Prometheus用量信息
9334
9856
  */
@@ -9484,6 +10006,41 @@ export interface DescribeBaseMetricsRequest {
9484
10006
  Dimensions?: Array<string>
9485
10007
  }
9486
10008
 
10009
+ /**
10010
+ * DeletePrometheusConfig请求参数结构体
10011
+ */
10012
+ export interface DeletePrometheusConfigRequest {
10013
+ /**
10014
+ * 实例id
10015
+ */
10016
+ InstanceId: string
10017
+
10018
+ /**
10019
+ * 集群类型
10020
+ */
10021
+ ClusterType: string
10022
+
10023
+ /**
10024
+ * 集群id
10025
+ */
10026
+ ClusterId: string
10027
+
10028
+ /**
10029
+ * 要删除的ServiceMonitor名字列表
10030
+ */
10031
+ ServiceMonitors?: Array<string>
10032
+
10033
+ /**
10034
+ * 要删除的PodMonitor名字列表
10035
+ */
10036
+ PodMonitors?: Array<string>
10037
+
10038
+ /**
10039
+ * 要删除的RawJobs名字列表
10040
+ */
10041
+ RawJobs?: Array<string>
10042
+ }
10043
+
9487
10044
  /**
9488
10045
  * 托管prometheus告警策略实例
9489
10046
  */
@@ -9529,6 +10086,53 @@ export interface PrometheusAlertPolicyItem {
9529
10086
  ClusterId?: string
9530
10087
  }
9531
10088
 
10089
+ /**
10090
+ * ModifyPrometheusAgentExternalLabels请求参数结构体
10091
+ */
10092
+ export interface ModifyPrometheusAgentExternalLabelsRequest {
10093
+ /**
10094
+ * 实例ID
10095
+ */
10096
+ InstanceId: string
10097
+
10098
+ /**
10099
+ * 集群ID
10100
+ */
10101
+ ClusterId: string
10102
+
10103
+ /**
10104
+ * 新的external_labels
10105
+ */
10106
+ ExternalLabels: Array<Label>
10107
+ }
10108
+
10109
+ /**
10110
+ * Prometheus 抓取任务
10111
+ */
10112
+ export interface PrometheusScrapeJob {
10113
+ /**
10114
+ * 任务名
10115
+ 注意:此字段可能返回 null,表示取不到有效值。
10116
+ */
10117
+ Name: string
10118
+
10119
+ /**
10120
+ * Agent ID
10121
+ */
10122
+ AgentId: string
10123
+
10124
+ /**
10125
+ * 任务 ID
10126
+ */
10127
+ JobId: string
10128
+
10129
+ /**
10130
+ * 配置
10131
+ 注意:此字段可能返回 null,表示取不到有效值。
10132
+ */
10133
+ Config: string
10134
+ }
10135
+
9532
10136
  /**
9533
10137
  * 通知模版ID及通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
9534
10138
  */
@@ -9749,9 +10353,14 @@ export interface DescribeBasicAlarmListAlarms {
9749
10353
  }
9750
10354
 
9751
10355
  /**
9752
- * UnBindingAllPolicyObject返回参数结构体
10356
+ * CreateAlarmNotice返回参数结构体
9753
10357
  */
9754
- export interface UnBindingAllPolicyObjectResponse {
10358
+ export interface CreateAlarmNoticeResponse {
10359
+ /**
10360
+ * 告警通知模板ID
10361
+ */
10362
+ NoticeId: string
10363
+
9755
10364
  /**
9756
10365
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9757
10366
  */
@@ -9842,6 +10451,58 @@ export interface DeleteGrafanaInstanceResponse {
9842
10451
  RequestId?: string
9843
10452
  }
9844
10453
 
10454
+ /**
10455
+ * 托管prometheus agent概览
10456
+ */
10457
+ export interface PrometheusAgentOverview {
10458
+ /**
10459
+ * 集群类型
10460
+ */
10461
+ ClusterType: string
10462
+
10463
+ /**
10464
+ * 集群id
10465
+ */
10466
+ ClusterId: string
10467
+
10468
+ /**
10469
+ * agent状态
10470
+ normal = 正常
10471
+ abnormal = 异常
10472
+ */
10473
+ Status: string
10474
+
10475
+ /**
10476
+ * 集群名称
10477
+ */
10478
+ ClusterName: string
10479
+
10480
+ /**
10481
+ * 额外labels
10482
+ 本集群的所有指标都会带上这几个label
10483
+ 注意:此字段可能返回 null,表示取不到有效值。
10484
+ */
10485
+ ExternalLabels: Array<Label>
10486
+
10487
+ /**
10488
+ * 集群所在地域
10489
+ 注意:此字段可能返回 null,表示取不到有效值。
10490
+ */
10491
+ Region: string
10492
+
10493
+ /**
10494
+ * 集群所在VPC ID
10495
+ 注意:此字段可能返回 null,表示取不到有效值。
10496
+ */
10497
+ VpcId: string
10498
+
10499
+ /**
10500
+ * 记录关联等操作的失败信息
10501
+ 注意:此字段可能返回 null,表示取不到有效值。
10502
+ */
10503
+ FailedReason: string
10504
+ }
10505
+
9845
10506
  /**
9846
10507
  * 查询过滤参数
9847
10508
  */
@@ -10088,33 +10749,6 @@ export interface DescribeAlarmPoliciesRequest {
10088
10749
  Tags?: Array<Tag>
10089
10750
  }
10090
10751
 
10091
- /**
10092
- * Prometheus 抓取任务
10093
- */
10094
- export interface PrometheusScrapeJob {
10095
- /**
10096
- * 任务名
10097
- 注意:此字段可能返回 null,表示取不到有效值。
10098
- */
10099
- Name: string
10100
-
10101
- /**
10102
- * Agent ID
10103
- */
10104
- AgentId: string
10105
-
10106
- /**
10107
- * 任务 ID
10108
- */
10109
- JobId: string
10110
-
10111
- /**
10112
- * 配置
10113
- 注意:此字段可能返回 null,表示取不到有效值。
10114
- */
10115
- Config: string
10116
- }
10117
-
10118
10752
  /**
10119
10753
  * DescribePolicyConditionList.ConfigManual.StatType
10120
10754
  */
@@ -10229,6 +10863,16 @@ export interface DescribePrometheusAgentsResponse {
10229
10863
  RequestId?: string
10230
10864
  }
10231
10865
 
10866
+ /**
10867
+ * ModifyPrometheusGlobalNotification返回参数结构体
10868
+ */
10869
+ export interface ModifyPrometheusGlobalNotificationResponse {
10870
+ /**
10871
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10872
+ */
10873
+ RequestId?: string
10874
+ }
10875
+
10232
10876
  /**
10233
10877
  * CleanGrafanaInstance返回参数结构体
10234
10878
  */
@@ -10518,6 +11162,21 @@ export interface GrafanaNotificationChannel {
10518
11162
  OrganizationIds: Array<string>
10519
11163
  }
10520
11164
 
11165
+ /**
11166
+ * SetDefaultAlarmPolicy请求参数结构体
11167
+ */
11168
+ export interface SetDefaultAlarmPolicyRequest {
11169
+ /**
11170
+ * 模块名,固定值 monitor
11171
+ */
11172
+ Module: string
11173
+
11174
+ /**
11175
+ * 告警策略 ID
11176
+ */
11177
+ PolicyId: string
11178
+ }
11179
+
10521
11180
  /**
10522
11181
  * 告警通知中的推送CLS操作
10523
11182
  */