tencentcloud-sdk-nodejs 4.0.779 → 4.0.780

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 (46) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/package.json +1 -1
  3. package/products.md +14 -14
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/antiddos/v20200309/antiddos_models.ts +16 -6
  6. package/src/services/dts/v20211206/dts_models.ts +6 -1
  7. package/src/services/faceid/v20180301/faceid_models.ts +8 -0
  8. package/src/services/monitor/v20180724/monitor_client.ts +88 -21
  9. package/src/services/monitor/v20180724/monitor_models.ts +487 -137
  10. package/src/services/ocr/v20181119/ocr_models.ts +8 -0
  11. package/src/services/rum/v20210622/rum_client.ts +36 -72
  12. package/src/services/rum/v20210622/rum_models.ts +36 -120
  13. package/src/services/tcb/v20180608/tcb_models.ts +9 -0
  14. package/src/services/tdid/v20210519/tdid_client.ts +135 -24
  15. package/src/services/tdid/v20210519/tdid_models.ts +520 -113
  16. package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
  17. package/src/services/tdmq/v20200217/tdmq_models.ts +95 -0
  18. package/src/services/teo/v20220901/teo_models.ts +2 -2
  19. package/src/services/tse/v20201207/tse_models.ts +1 -1
  20. package/src/services/tsf/v20180326/tsf_models.ts +1 -1
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +16 -6
  24. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -1
  25. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
  26. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +28 -5
  27. package/tencentcloud/services/monitor/v20180724/monitor_client.js +39 -6
  28. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +471 -135
  29. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  30. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -25
  31. package/tencentcloud/services/rum/v20210622/rum_client.js +18 -36
  32. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +36 -114
  33. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
  34. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -5
  35. package/tencentcloud/services/tdid/v20210519/tdid_client.js +60 -6
  36. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +498 -112
  37. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  38. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  39. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +93 -0
  40. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
  41. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
  42. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
  43. package/test/monitor.v20180724.test.js +54 -4
  44. package/test/rum.v20210622.test.js +14 -44
  45. package/test/tdid.v20210519.test.js +100 -10
  46. package/test/tdmq.v20200217.test.js +10 -0
@@ -1488,21 +1488,17 @@ export interface DescribePrometheusInstanceUsageRequest {
1488
1488
  }
1489
1489
 
1490
1490
  /**
1491
- * DeletePrometheusScrapeJobs请求参数结构体
1491
+ * DeleteSSOAccount请求参数结构体
1492
1492
  */
1493
- export interface DeletePrometheusScrapeJobsRequest {
1493
+ export interface DeleteSSOAccountRequest {
1494
1494
  /**
1495
- * 实例 ID
1495
+ * Grafana 实例 ID,例如:grafana-abcdefgh
1496
1496
  */
1497
1497
  InstanceId: string
1498
1498
  /**
1499
- * Agent ID(可通过 DescribePrometheusAgents 接口获取)
1500
- */
1501
- AgentId: string
1502
- /**
1503
- * 任务 ID 列表(可通过 DescribePrometheusScrapeJobs 接口获取)
1499
+ * 用户账号 ID ,例如:10000000
1504
1500
  */
1505
- JobIds: Array<string>
1501
+ UserId: string
1506
1502
  }
1507
1503
 
1508
1504
  /**
@@ -1569,6 +1565,20 @@ export interface PrometheusClusterAgentPodConfig {
1569
1565
  Tolerations?: Array<Toleration>
1570
1566
  }
1571
1567
 
1568
+ /**
1569
+ * DeletePrometheusAlertGroups请求参数结构体
1570
+ */
1571
+ export interface DeletePrometheusAlertGroupsRequest {
1572
+ /**
1573
+ * prometheus实例id
1574
+ */
1575
+ InstanceId?: string
1576
+ /**
1577
+ * 需要删除的告警分组ID,形如alert-xxxxx
1578
+ */
1579
+ GroupIds?: Array<string>
1580
+ }
1581
+
1572
1582
  /**
1573
1583
  * 查询 Grafana 实例时的实例类型
1574
1584
  */
@@ -1887,6 +1897,16 @@ export interface DescribePrometheusRecordRulesRequest {
1887
1897
  Filters?: Array<Filter>
1888
1898
  }
1889
1899
 
1900
+ /**
1901
+ * ModifyAlarmPolicyStatus返回参数结构体
1902
+ */
1903
+ export interface ModifyAlarmPolicyStatusResponse {
1904
+ /**
1905
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1906
+ */
1907
+ RequestId?: string
1908
+ }
1909
+
1890
1910
  /**
1891
1911
  * DescribeExporterIntegrations返回参数结构体
1892
1912
  */
@@ -2007,13 +2027,13 @@ export interface GrafanaAccountRole {
2007
2027
  }
2008
2028
 
2009
2029
  /**
2010
- * DestroyPrometheusInstance请求参数结构体
2030
+ * DeleteRecordingRules返回参数结构体
2011
2031
  */
2012
- export interface DestroyPrometheusInstanceRequest {
2032
+ export interface DeleteRecordingRulesResponse {
2013
2033
  /**
2014
- * 实例 ID,该实例必须先被 terminate
2034
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2015
2035
  */
2016
- InstanceId: string
2036
+ RequestId?: string
2017
2037
  }
2018
2038
 
2019
2039
  /**
@@ -2163,17 +2183,33 @@ export interface MidQueryCondition {
2163
2183
  }
2164
2184
 
2165
2185
  /**
2166
- * DeleteSSOAccount请求参数结构体
2186
+ * DescribeGrafanaInstances请求参数结构体
2167
2187
  */
2168
- export interface DeleteSSOAccountRequest {
2188
+ export interface DescribeGrafanaInstancesRequest {
2169
2189
  /**
2170
- * Grafana 实例 ID,例如:grafana-abcdefgh
2190
+ * 查询偏移量
2171
2191
  */
2172
- InstanceId: string
2192
+ Offset: number
2173
2193
  /**
2174
- * 用户账号 ID ,例如:10000000
2194
+ * 查询数量
2175
2195
  */
2176
- UserId: string
2196
+ Limit: number
2197
+ /**
2198
+ * Grafana 实例 ID 数组
2199
+ */
2200
+ InstanceIds?: Array<string>
2201
+ /**
2202
+ * Grafana 实例名,支持前缀模糊搜索
2203
+ */
2204
+ InstanceName?: string
2205
+ /**
2206
+ * 查询状态
2207
+ */
2208
+ InstanceStatus?: Array<number | bigint>
2209
+ /**
2210
+ * 标签过滤数组
2211
+ */
2212
+ TagFilters?: Array<PrometheusTag>
2177
2213
  }
2178
2214
 
2179
2215
  /**
@@ -2453,43 +2489,23 @@ export interface DescribeBasicAlarmListRequest {
2453
2489
  }
2454
2490
 
2455
2491
  /**
2456
- * ModifyAlarmPolicyStatus返回参数结构体
2457
- */
2458
- export interface ModifyAlarmPolicyStatusResponse {
2459
- /**
2460
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2461
- */
2462
- RequestId?: string
2463
- }
2464
-
2465
- /**
2466
- * DescribeGrafanaInstances请求参数结构体
2492
+ * DescribePrometheusAlertGroups返回参数结构体
2467
2493
  */
2468
- export interface DescribeGrafanaInstancesRequest {
2469
- /**
2470
- * 查询偏移量
2471
- */
2472
- Offset: number
2473
- /**
2474
- * 查询数量
2475
- */
2476
- Limit: number
2477
- /**
2478
- * Grafana 实例 ID 数组
2479
- */
2480
- InstanceIds?: Array<string>
2494
+ export interface DescribePrometheusAlertGroupsResponse {
2481
2495
  /**
2482
- * Grafana 实例名,支持前缀模糊搜索
2496
+ * 告警分组信息
2497
+ 注意:此字段可能返回 null,表示取不到有效值。
2483
2498
  */
2484
- InstanceName?: string
2499
+ AlertGroupSet?: Array<PrometheusAlertGroupSet>
2485
2500
  /**
2486
- * 查询状态
2501
+ * 告警分组总数
2502
+ 注意:此字段可能返回 null,表示取不到有效值。
2487
2503
  */
2488
- InstanceStatus?: Array<number | bigint>
2504
+ TotalCount?: number
2489
2505
  /**
2490
- * 标签过滤数组
2506
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2491
2507
  */
2492
- TagFilters?: Array<PrometheusTag>
2508
+ RequestId?: string
2493
2509
  }
2494
2510
 
2495
2511
  /**
@@ -2794,69 +2810,17 @@ export interface DescribeGrafanaChannelsRequest {
2794
2810
  }
2795
2811
 
2796
2812
  /**
2797
- * DescribePolicyGroupList请求参数结构体
2813
+ * 通知模板与策略绑定关系
2798
2814
  */
2799
- export interface DescribePolicyGroupListRequest {
2800
- /**
2801
- * 固定值,为"monitor"
2802
- */
2803
- Module: string
2804
- /**
2805
- * 分页参数,每页返回的数量,取值1~100
2806
- */
2807
- Limit: number
2808
- /**
2809
- * 分页参数,页偏移量,从0开始计数
2810
- */
2811
- Offset: number
2812
- /**
2813
- * 按策略名搜索
2814
- */
2815
- Like?: string
2816
- /**
2817
- * 实例分组id
2818
- */
2819
- InstanceGroupId?: number
2820
- /**
2821
- * 按更新时间排序, asc 或者 desc
2822
- */
2823
- UpdateTimeOrder?: string
2824
- /**
2825
- * 项目id列表
2826
- */
2827
- ProjectIds?: Array<number | bigint>
2828
- /**
2829
- * 告警策略类型列表
2830
- */
2831
- ViewNames?: Array<string>
2832
- /**
2833
- * 是否过滤无接收人策略组, 1表示过滤, 0表示不过滤
2834
- */
2835
- FilterUnuseReceiver?: number
2836
- /**
2837
- * 过滤条件, 接收组列表
2838
- */
2839
- Receivers?: Array<string>
2840
- /**
2841
- * 过滤条件, 接收人列表
2842
- */
2843
- ReceiverUserList?: Array<string>
2844
- /**
2845
- * 维度组合字段(json字符串), 例如[[{"name":"unInstanceId","value":"ins-6e4b2aaa"}]]
2846
- */
2847
- Dimensions?: string
2848
- /**
2849
- * 模板策略组id, 多个id用逗号分隔
2850
- */
2851
- ConditionTempGroupId?: string
2815
+ export interface NoticeBindPolicys {
2852
2816
  /**
2853
- * 过滤条件, 接收人或者接收组, user表示接收人, group表示接收组
2817
+ * 告警通知模板 ID
2854
2818
  */
2855
- ReceiverType?: string
2819
+ NoticeId?: string
2856
2820
  /**
2857
- * 过滤条件,告警策略是否已启动或停止
2821
+ * 告警通知模板绑定的告警策略ID列表
2858
2822
  */
2859
- IsOpen?: boolean
2823
+ PolicyIds?: Array<string>
2860
2824
  }
2861
2825
 
2862
2826
  /**
@@ -3212,6 +3176,47 @@ export interface CreateServiceDiscoveryResponse {
3212
3176
  */
3213
3177
  export type DescribeClusterAgentCreatingProgressRequest = null
3214
3178
 
3179
+ /**
3180
+ * UpdatePrometheusAlertGroup请求参数结构体
3181
+ */
3182
+ export interface UpdatePrometheusAlertGroupRequest {
3183
+ /**
3184
+ * prometheus实例ID
3185
+ */
3186
+ InstanceId?: string
3187
+ /**
3188
+ * 告警分组ID,形如alert-xxxx
3189
+ */
3190
+ GroupId?: string
3191
+ /**
3192
+ * 告警分组名称,不能与其他告警分组重名
3193
+ */
3194
+ GroupName?: string
3195
+ /**
3196
+ * 告警分组状态:
3197
+ 2 -- 启用
3198
+ 3 -- 禁用
3199
+ 不为空时会覆盖 `Rules`字段下所有告警规则状态
3200
+ */
3201
+ GroupState?: number
3202
+ /**
3203
+ * 云监控告警通知模板ID列表,形如Consumer-xxxx或notice-xxxx
3204
+ */
3205
+ AMPReceivers?: Array<string>
3206
+ /**
3207
+ * 自定义告警通知模板
3208
+ */
3209
+ CustomReceiver?: PrometheusAlertCustomReceiver
3210
+ /**
3211
+ * 告警通知周期(收敛时间),为空默认1h
3212
+ */
3213
+ RepeatInterval?: string
3214
+ /**
3215
+ * 要创建的告警规则列表
3216
+ */
3217
+ Rules?: Array<PrometheusAlertGroupRuleSet>
3218
+ }
3219
+
3215
3220
  /**
3216
3221
  * EnableSSOCamCheck返回参数结构体
3217
3222
  */
@@ -3403,6 +3408,39 @@ export interface PrometheusZoneItem {
3403
3408
  ZoneResourceState?: number
3404
3409
  }
3405
3410
 
3411
+ /**
3412
+ * Prometheus告警自定义通知模板
3413
+ */
3414
+ export interface PrometheusAlertCustomReceiver {
3415
+ /**
3416
+ * 自定义通知类型
3417
+ alertmanager -- vpc内自建alertmanager
3418
+ webhook -- vpc内webhook地址
3419
+ 注意:此字段可能返回 null,表示取不到有效值。
3420
+ */
3421
+ Type?: string
3422
+ /**
3423
+ * alertmanager/webhook地址。(prometheus实例同vpc内ip)
3424
+ 注意:此字段可能返回 null,表示取不到有效值。
3425
+ */
3426
+ Url?: string
3427
+ /**
3428
+ * 允许发送告警的时间范围
3429
+ 注意:此字段可能返回 null,表示取不到有效值。
3430
+ */
3431
+ AllowedTimeRanges?: Array<PrometheusAlertAllowTimeRange>
3432
+ /**
3433
+ * alertmanager所在的内网集群ID
3434
+ 注意:此字段可能返回 null,表示取不到有效值。
3435
+ */
3436
+ ClusterId?: string
3437
+ /**
3438
+ * alertmanager所在的内网集群类型(tke/eks/tdcc)
3439
+ 注意:此字段可能返回 null,表示取不到有效值。
3440
+ */
3441
+ ClusterType?: string
3442
+ }
3443
+
3406
3444
  /**
3407
3445
  * ModifyPrometheusAlertPolicy请求参数结构体
3408
3446
  */
@@ -3656,6 +3694,47 @@ export interface DescribePrometheusGlobalNotificationResponse {
3656
3694
  RequestId?: string
3657
3695
  }
3658
3696
 
3697
+ /**
3698
+ * 告警分组内告警规则信息
3699
+ */
3700
+ export interface PrometheusAlertGroupRuleSet {
3701
+ /**
3702
+ * 告警规则名称,同一告警分组下不允许重名
3703
+ 注意:此字段可能返回 null,表示取不到有效值。
3704
+ */
3705
+ RuleName?: string
3706
+ /**
3707
+ * 标签列表
3708
+ 注意:此字段可能返回 null,表示取不到有效值。
3709
+ */
3710
+ Labels?: Array<PrometheusRuleKV>
3711
+ /**
3712
+ * 注释列表
3713
+
3714
+ 告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
3715
+ 注意:此字段可能返回 null,表示取不到有效值。
3716
+ */
3717
+ Annotations?: Array<PrometheusRuleKV>
3718
+ /**
3719
+ * 规则报警持续时间
3720
+ 注意:此字段可能返回 null,表示取不到有效值。
3721
+ */
3722
+ Duration?: string
3723
+ /**
3724
+ * 规则表达式,可参考<a href="https://cloud.tencent.com/document/product/1416/56008">告警规则说明</a>
3725
+ 注意:此字段可能返回 null,表示取不到有效值。
3726
+ */
3727
+ Expr?: string
3728
+ /**
3729
+ * 告警规则状态:
3730
+ 2-启用
3731
+ 3-禁用
3732
+ 为空默认启用
3733
+ 注意:此字段可能返回 null,表示取不到有效值。
3734
+ */
3735
+ State?: number
3736
+ }
3737
+
3659
3738
  /**
3660
3739
  * DescribeMonitorTypes请求参数结构体
3661
3740
  */
@@ -4148,6 +4227,22 @@ export interface CreatePrometheusClusterAgentResponse {
4148
4227
  RequestId?: string
4149
4228
  }
4150
4229
 
4230
+ /**
4231
+ * Prometheus自定义告警通知时间段
4232
+ */
4233
+ export interface PrometheusAlertAllowTimeRange {
4234
+ /**
4235
+ * 从0点开始的秒数
4236
+ 注意:此字段可能返回 null,表示取不到有效值。
4237
+ */
4238
+ Start?: string
4239
+ /**
4240
+ * 从0点开始的秒数
4241
+ 注意:此字段可能返回 null,表示取不到有效值。
4242
+ */
4243
+ End?: string
4244
+ }
4245
+
4151
4246
  /**
4152
4247
  * CreateGrafanaIntegration返回参数结构体
4153
4248
  */
@@ -4177,6 +4272,26 @@ export interface BindPrometheusManagedGrafanaRequest {
4177
4272
  GrafanaId: string
4178
4273
  }
4179
4274
 
4275
+ /**
4276
+ * UpdatePrometheusAlertGroupState请求参数结构体
4277
+ */
4278
+ export interface UpdatePrometheusAlertGroupStateRequest {
4279
+ /**
4280
+ * Prometheus 实例 ID
4281
+ */
4282
+ InstanceId?: string
4283
+ /**
4284
+ * 告警分组ID列表,形如alert-xxxx
4285
+ */
4286
+ GroupIds?: Array<string>
4287
+ /**
4288
+ * 告警分组状态
4289
+ 2 -- 启用
4290
+ 3 -- 禁用
4291
+ */
4292
+ GroupState?: number
4293
+ }
4294
+
4180
4295
  /**
4181
4296
  * 告警渠道使用自建alertmanager的配置
4182
4297
  */
@@ -4601,6 +4716,16 @@ export interface DescribeDNSConfigResponse {
4601
4716
  RequestId?: string
4602
4717
  }
4603
4718
 
4719
+ /**
4720
+ * DestroyPrometheusInstance请求参数结构体
4721
+ */
4722
+ export interface DestroyPrometheusInstanceRequest {
4723
+ /**
4724
+ * 实例 ID,该实例必须先被 terminate
4725
+ */
4726
+ InstanceId: string
4727
+ }
4728
+
4604
4729
  /**
4605
4730
  * DeleteRecordingRules请求参数结构体
4606
4731
  */
@@ -6011,6 +6136,44 @@ export interface DeleteGrafanaNotificationChannelRequest {
6011
6136
  InstanceId: string
6012
6137
  }
6013
6138
 
6139
+ /**
6140
+ * CreatePrometheusAlertGroup请求参数结构体
6141
+ */
6142
+ export interface CreatePrometheusAlertGroupRequest {
6143
+ /**
6144
+ * prometheus实例ID
6145
+ */
6146
+ InstanceId?: string
6147
+ /**
6148
+ * 告警分组名称,不能与其他告警分组重名
6149
+ */
6150
+ GroupName?: string
6151
+ /**
6152
+ * 告警分组状态:
6153
+ 2 -- 启用
6154
+ 3 -- 禁用
6155
+ 不为空时会覆盖 `Rules`字段下所有告警规则状态
6156
+
6157
+ */
6158
+ GroupState?: number
6159
+ /**
6160
+ * 云监控告警通知模板ID列表,形如Consumer-xxxx或notice-xxxx
6161
+ */
6162
+ AMPReceivers?: Array<string>
6163
+ /**
6164
+ * 自定义告警通知模板
6165
+ */
6166
+ CustomReceiver?: PrometheusAlertCustomReceiver
6167
+ /**
6168
+ * 告警通知周期(收敛时间),为空默认1h
6169
+ */
6170
+ RepeatInterval?: string
6171
+ /**
6172
+ * 要创建的告警规则列表
6173
+ */
6174
+ Rules?: Array<PrometheusAlertGroupRuleSet>
6175
+ }
6176
+
6014
6177
  /**
6015
6178
  * 告警通知模板详情
6016
6179
  */
@@ -7279,6 +7442,16 @@ export interface DescribeConditionsTemplateListResponse {
7279
7442
  RequestId?: string
7280
7443
  }
7281
7444
 
7445
+ /**
7446
+ * DeletePrometheusAlertGroups返回参数结构体
7447
+ */
7448
+ export interface DeletePrometheusAlertGroupsResponse {
7449
+ /**
7450
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7451
+ */
7452
+ RequestId?: string
7453
+ }
7454
+
7282
7455
  /**
7283
7456
  * CreatePrometheusTemp请求参数结构体
7284
7457
  */
@@ -7779,17 +7952,69 @@ export interface DescribePolicyConditionListEventMetric {
7779
7952
  }
7780
7953
 
7781
7954
  /**
7782
- * 通知模板与策略绑定关系
7955
+ * DescribePolicyGroupList请求参数结构体
7783
7956
  */
7784
- export interface NoticeBindPolicys {
7957
+ export interface DescribePolicyGroupListRequest {
7785
7958
  /**
7786
- * 告警通知模板 ID
7959
+ * 固定值,为"monitor"
7787
7960
  */
7788
- NoticeId?: string
7961
+ Module: string
7789
7962
  /**
7790
- * 告警通知模板绑定的告警策略ID列表
7963
+ * 分页参数,每页返回的数量,取值1~100
7791
7964
  */
7792
- PolicyIds?: Array<string>
7965
+ Limit: number
7966
+ /**
7967
+ * 分页参数,页偏移量,从0开始计数
7968
+ */
7969
+ Offset: number
7970
+ /**
7971
+ * 按策略名搜索
7972
+ */
7973
+ Like?: string
7974
+ /**
7975
+ * 实例分组id
7976
+ */
7977
+ InstanceGroupId?: number
7978
+ /**
7979
+ * 按更新时间排序, asc 或者 desc
7980
+ */
7981
+ UpdateTimeOrder?: string
7982
+ /**
7983
+ * 项目id列表
7984
+ */
7985
+ ProjectIds?: Array<number | bigint>
7986
+ /**
7987
+ * 告警策略类型列表
7988
+ */
7989
+ ViewNames?: Array<string>
7990
+ /**
7991
+ * 是否过滤无接收人策略组, 1表示过滤, 0表示不过滤
7992
+ */
7993
+ FilterUnuseReceiver?: number
7994
+ /**
7995
+ * 过滤条件, 接收组列表
7996
+ */
7997
+ Receivers?: Array<string>
7998
+ /**
7999
+ * 过滤条件, 接收人列表
8000
+ */
8001
+ ReceiverUserList?: Array<string>
8002
+ /**
8003
+ * 维度组合字段(json字符串), 例如[[{"name":"unInstanceId","value":"ins-6e4b2aaa"}]]
8004
+ */
8005
+ Dimensions?: string
8006
+ /**
8007
+ * 模板策略组id, 多个id用逗号分隔
8008
+ */
8009
+ ConditionTempGroupId?: string
8010
+ /**
8011
+ * 过滤条件, 接收人或者接收组, user表示接收人, group表示接收组
8012
+ */
8013
+ ReceiverType?: string
8014
+ /**
8015
+ * 过滤条件,告警策略是否已启动或停止
8016
+ */
8017
+ IsOpen?: boolean
7793
8018
  }
7794
8019
 
7795
8020
  /**
@@ -8374,16 +8599,6 @@ export interface DescribeRecordingRulesResponse {
8374
8599
  RequestId?: string
8375
8600
  }
8376
8601
 
8377
- /**
8378
- * DeleteRecordingRules返回参数结构体
8379
- */
8380
- export interface DeleteRecordingRulesResponse {
8381
- /**
8382
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8383
- */
8384
- RequestId?: string
8385
- }
8386
-
8387
8602
  /**
8388
8603
  * UpdateGrafanaWhiteList请求参数结构体
8389
8604
  */
@@ -8723,6 +8938,24 @@ export interface DeleteAlertRulesResponse {
8723
8938
  RequestId?: string
8724
8939
  }
8725
8940
 
8941
+ /**
8942
+ * DeletePrometheusScrapeJobs请求参数结构体
8943
+ */
8944
+ export interface DeletePrometheusScrapeJobsRequest {
8945
+ /**
8946
+ * 实例 ID
8947
+ */
8948
+ InstanceId: string
8949
+ /**
8950
+ * Agent ID(可通过 DescribePrometheusAgents 接口获取)
8951
+ */
8952
+ AgentId: string
8953
+ /**
8954
+ * 任务 ID 列表(可通过 DescribePrometheusScrapeJobs 接口获取)
8955
+ */
8956
+ JobIds: Array<string>
8957
+ }
8958
+
8726
8959
  /**
8727
8960
  * ModifyAlarmPolicyStatus请求参数结构体
8728
8961
  */
@@ -9181,6 +9414,34 @@ export interface DescribePrometheusZonesRequest {
9181
9414
  RegionName?: string
9182
9415
  }
9183
9416
 
9417
+ /**
9418
+ * DescribePrometheusAlertGroups请求参数结构体
9419
+ */
9420
+ export interface DescribePrometheusAlertGroupsRequest {
9421
+ /**
9422
+ * Prometheus 实例 ID
9423
+ */
9424
+ InstanceId?: string
9425
+ /**
9426
+ * 返回数量,默认为 20,最大值为 100
9427
+ */
9428
+ Limit?: number
9429
+ /**
9430
+ * 偏移量,默认为 0
9431
+ */
9432
+ Offset?: number
9433
+ /**
9434
+ * 告警分组ID,形如alert-xxxx。
9435
+ 查询给定ID的告警分组
9436
+ */
9437
+ GroupId?: string
9438
+ /**
9439
+ * 告警分组名称。
9440
+ 查询名称中包含给定字符串的告警分组
9441
+ */
9442
+ GroupName?: string
9443
+ }
9444
+
9184
9445
  /**
9185
9446
  * 修改告警策略组传入的指标阈值条件
9186
9447
  */
@@ -9472,6 +9733,16 @@ export interface UpdateServiceDiscoveryResponse {
9472
9733
  RequestId?: string
9473
9734
  }
9474
9735
 
9736
+ /**
9737
+ * UpdatePrometheusAlertGroupState返回参数结构体
9738
+ */
9739
+ export interface UpdatePrometheusAlertGroupStateResponse {
9740
+ /**
9741
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9742
+ */
9743
+ RequestId?: string
9744
+ }
9745
+
9475
9746
  /**
9476
9747
  * DescribeBasicAlarmList返回的Alarms
9477
9748
  */
@@ -9766,25 +10037,17 @@ export interface DescribeProductEventListEventsGroupInfo {
9766
10037
  }
9767
10038
 
9768
10039
  /**
9769
- * UpdateSSOAccount请求参数结构体
10040
+ * UpdatePrometheusAlertGroup返回参数结构体
9770
10041
  */
9771
- export interface UpdateSSOAccountRequest {
9772
- /**
9773
- * Grafana 实例 ID,例如:grafana-abcdefgh
9774
- */
9775
- InstanceId: string
9776
- /**
9777
- * 用户账号 ID ,例如:10000000
9778
- */
9779
- UserId: string
10042
+ export interface UpdatePrometheusAlertGroupResponse {
9780
10043
  /**
9781
- * 权限
10044
+ * 更新的告警分组ID,满足正则表达式`alert-[a-z0-9]{8}`
9782
10045
  */
9783
- Role?: Array<GrafanaAccountRole>
10046
+ GroupId?: string
9784
10047
  /**
9785
- * 备注
10048
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9786
10049
  */
9787
- Notes?: string
10050
+ RequestId?: string
9788
10051
  }
9789
10052
 
9790
10053
  /**
@@ -9930,6 +10193,28 @@ export interface DescribeAlarmPoliciesRequest {
9930
10193
  ReceiverOnCallFormIDs?: Array<string>
9931
10194
  }
9932
10195
 
10196
+ /**
10197
+ * UpdateSSOAccount请求参数结构体
10198
+ */
10199
+ export interface UpdateSSOAccountRequest {
10200
+ /**
10201
+ * Grafana 实例 ID,例如:grafana-abcdefgh
10202
+ */
10203
+ InstanceId: string
10204
+ /**
10205
+ * 用户账号 ID ,例如:10000000
10206
+ */
10207
+ UserId: string
10208
+ /**
10209
+ * 权限
10210
+ */
10211
+ Role?: Array<GrafanaAccountRole>
10212
+ /**
10213
+ * 备注
10214
+ */
10215
+ Notes?: string
10216
+ }
10217
+
9933
10218
  /**
9934
10219
  * DescribePolicyConditionList.ConfigManual.StatType
9935
10220
  */
@@ -10182,6 +10467,20 @@ export interface UpdateGrafanaIntegrationRequest {
10182
10467
  Content: string
10183
10468
  }
10184
10469
 
10470
+ /**
10471
+ * CreatePrometheusAlertGroup返回参数结构体
10472
+ */
10473
+ export interface CreatePrometheusAlertGroupResponse {
10474
+ /**
10475
+ * 创建的告警分组ID,满足正则表达式`alert-[a-z0-9]{8}`
10476
+ */
10477
+ GroupId?: string
10478
+ /**
10479
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10480
+ */
10481
+ RequestId?: string
10482
+ }
10483
+
10185
10484
  /**
10186
10485
  * DeletePrometheusRecordRuleYaml请求参数结构体
10187
10486
  */
@@ -10295,6 +10594,57 @@ export interface GrafanaNotificationChannel {
10295
10594
  OrganizationIds: Array<string>
10296
10595
  }
10297
10596
 
10597
+ /**
10598
+ * Prometheus告警规则分组信息
10599
+ */
10600
+ export interface PrometheusAlertGroupSet {
10601
+ /**
10602
+ * 告警分组ID,满足正则表达式`alert-[a-z0-9]{8}`
10603
+ 注意:此字段可能返回 null,表示取不到有效值。
10604
+ */
10605
+ GroupId?: string
10606
+ /**
10607
+ * 告警分组名称
10608
+ 注意:此字段可能返回 null,表示取不到有效值。
10609
+ */
10610
+ GroupName?: string
10611
+ /**
10612
+ * 云监控告警模板ID ,返回告警模板转换后的notice ID。
10613
+ 注意:此字段可能返回 null,表示取不到有效值。
10614
+ */
10615
+ AMPReceivers?: Array<string>
10616
+ /**
10617
+ * 自定义告警模板
10618
+ 注意:此字段可能返回 null,表示取不到有效值。
10619
+ */
10620
+ CustomReceiver?: PrometheusAlertCustomReceiver
10621
+ /**
10622
+ * 告警通知间隔
10623
+ 注意:此字段可能返回 null,表示取不到有效值。
10624
+ */
10625
+ RepeatInterval?: string
10626
+ /**
10627
+ * 若告警分组通过模板创建,则返回模板ID
10628
+ 注意:此字段可能返回 null,表示取不到有效值。
10629
+ */
10630
+ TemplateId?: string
10631
+ /**
10632
+ * 分组内告警规则详情
10633
+ 注意:此字段可能返回 null,表示取不到有效值。
10634
+ */
10635
+ Rules?: Array<PrometheusAlertGroupRuleSet>
10636
+ /**
10637
+ * 分组创建时间
10638
+ 注意:此字段可能返回 null,表示取不到有效值。
10639
+ */
10640
+ CreatedAt?: string
10641
+ /**
10642
+ * 分组更新时间
10643
+ 注意:此字段可能返回 null,表示取不到有效值。
10644
+ */
10645
+ UpdatedAt?: string
10646
+ }
10647
+
10298
10648
  /**
10299
10649
  * SetDefaultAlarmPolicy请求参数结构体
10300
10650
  */