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
@@ -245,6 +245,19 @@ export interface PolicyTag {
245
245
  */
246
246
  Value: string;
247
247
  }
248
+ /**
249
+ * DeletePrometheusClusterAgent请求参数结构体
250
+ */
251
+ export interface DeletePrometheusClusterAgentRequest {
252
+ /**
253
+ * agent列表
254
+ */
255
+ Agents: Array<PrometheusAgentInfo>;
256
+ /**
257
+ * 实例id
258
+ */
259
+ InstanceId: string;
260
+ }
248
261
  /**
249
262
  * DescribePrometheusScrapeJobs请求参数结构体
250
263
  */
@@ -794,28 +807,32 @@ export interface AlarmPolicy {
794
807
  Tags: Array<Tag>;
795
808
  }
796
809
  /**
797
- * DescribeBasicAlarmList返回参数结构体
810
+ * DeleteExporterIntegration请求参数结构体
798
811
  */
799
- export interface DescribeBasicAlarmListResponse {
812
+ export interface DeleteExporterIntegrationRequest {
800
813
  /**
801
- * 告警列表
802
- 注意:此字段可能返回 null,表示取不到有效值。
814
+ * 实例 ID
803
815
  */
804
- Alarms: Array<DescribeBasicAlarmListAlarms>;
816
+ InstanceId: string;
805
817
  /**
806
- * 总数
807
- 注意:此字段可能返回 null,表示取不到有效值。
818
+ * 类型
808
819
  */
809
- Total: number;
820
+ Kind: string;
810
821
  /**
811
- * 备注信息
812
- 注意:此字段可能返回 null,表示取不到有效值。
822
+ * 名字
813
823
  */
814
- Warning: string;
824
+ Name: string;
815
825
  /**
816
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
826
+ * Kubernetes 集群类型,取值如下:
827
+ <li> 1= 容器集群(TKE) </li>
828
+ <li> 2=弹性集群<EKS> </li>
829
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
817
830
  */
818
- RequestId?: string;
831
+ KubeType?: number;
832
+ /**
833
+ * 集群 ID
834
+ */
835
+ ClusterId?: string;
819
836
  }
820
837
  /**
821
838
  * prometheus 报警规则 KV 参数
@@ -1352,6 +1369,23 @@ export interface DescribeAlarmNoticesResponse {
1352
1369
  */
1353
1370
  RequestId?: string;
1354
1371
  }
1372
+ /**
1373
+ * 关联集群时在集群内部署组件的pod额外配置
1374
+ */
1375
+ export interface PrometheusClusterAgentPodConfig {
1376
+ /**
1377
+ * 是否使用HostNetWork
1378
+ */
1379
+ HostNet?: boolean;
1380
+ /**
1381
+ * 指定pod运行节点
1382
+ */
1383
+ NodeSelector?: Array<Label>;
1384
+ /**
1385
+ * 容忍污点
1386
+ */
1387
+ Tolerations?: Array<Toleration>;
1388
+ }
1355
1389
  /**
1356
1390
  * 查询 Grafana 实例时的实例类型
1357
1391
  */
@@ -1434,6 +1468,15 @@ export interface GrafanaInstanceInfo {
1434
1468
  */
1435
1469
  EnableSSOCamCheck: boolean;
1436
1470
  }
1471
+ /**
1472
+ * DeletePrometheusConfig返回参数结构体
1473
+ */
1474
+ export interface DeletePrometheusConfigResponse {
1475
+ /**
1476
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1477
+ */
1478
+ RequestId?: string;
1479
+ }
1437
1480
  /**
1438
1481
  * CreatePrometheusRecordRuleYaml返回参数结构体
1439
1482
  */
@@ -1918,6 +1961,41 @@ export interface DescribePrometheusAgentInstancesResponse {
1918
1961
  */
1919
1962
  RequestId?: string;
1920
1963
  }
1964
+ /**
1965
+ * 云监控告警通知模板 - 回调通知详情
1966
+ */
1967
+ export interface URLNotice {
1968
+ /**
1969
+ * 回调 url(限长256字符)
1970
+ 注意:此字段可能返回 null,表示取不到有效值。
1971
+ */
1972
+ URL: string;
1973
+ /**
1974
+ * 是否通过验证 0=否 1=是
1975
+ 注意:此字段可能返回 null,表示取不到有效值。
1976
+ */
1977
+ IsValid?: number;
1978
+ /**
1979
+ * 验证码
1980
+ 注意:此字段可能返回 null,表示取不到有效值。
1981
+ */
1982
+ ValidationCode?: string;
1983
+ /**
1984
+ * 通知开始时间 一天开始的秒数
1985
+ 注意:此字段可能返回 null,表示取不到有效值。
1986
+ */
1987
+ StartTime?: number;
1988
+ /**
1989
+ * 通知结束时间 一天开始的秒数
1990
+ 注意:此字段可能返回 null,表示取不到有效值。
1991
+ */
1992
+ EndTime?: number;
1993
+ /**
1994
+ * 通知周期 1-7表示周一到周日
1995
+ 注意:此字段可能返回 null,表示取不到有效值。
1996
+ */
1997
+ Weekday?: Array<number>;
1998
+ }
1921
1999
  /**
1922
2000
  * DescribeProductList返回参数结构体
1923
2001
  */
@@ -2185,57 +2263,32 @@ export interface DescribePrometheusTempSyncRequest {
2185
2263
  TemplateId: string;
2186
2264
  }
2187
2265
  /**
2188
- * DescribeAccidentEventList请求参数结构体
2266
+ * DescribePrometheusGlobalConfig返回参数结构体
2189
2267
  */
2190
- export interface DescribeAccidentEventListRequest {
2191
- /**
2192
- * 接口模块名,当前接口取值monitor
2193
- */
2194
- Module: string;
2268
+ export interface DescribePrometheusGlobalConfigResponse {
2195
2269
  /**
2196
- * 起始时间,默认一天前的时间戳
2197
- */
2198
- StartTime?: number;
2199
- /**
2200
- * 结束时间,默认当前时间戳
2201
- */
2202
- EndTime?: number;
2203
- /**
2204
- * 分页参数,每页返回的数量,取值1~100,默认20
2205
- */
2206
- Limit?: number;
2207
- /**
2208
- * 分页参数,页偏移量,从0开始计数,默认0
2209
- */
2210
- Offset?: number;
2211
- /**
2212
- * 根据UpdateTime排序的规则,取值asc或desc
2213
- */
2214
- UpdateTimeOrder?: string;
2215
- /**
2216
- * 根据OccurTime排序的规则,取值asc或desc(优先根据UpdateTimeOrder排序)
2217
- */
2218
- OccurTimeOrder?: string;
2219
- /**
2220
- * 根据事件类型过滤,1表示服务问题,2表示其他订阅
2270
+ * 配置内容
2221
2271
  */
2222
- AccidentType?: Array<number>;
2272
+ Config?: string;
2223
2273
  /**
2224
- * 根据事件过滤,1表示云服务器存储问题,2表示云服务器网络连接问题,3表示云服务器运行异常,202表示运营商网络抖动
2274
+ * ServiceMonitors列表以及对应targets信息
2275
+ 注意:此字段可能返回 null,表示取不到有效值。
2225
2276
  */
2226
- AccidentEvent?: Array<number>;
2277
+ ServiceMonitors?: Array<PrometheusConfigItem>;
2227
2278
  /**
2228
- * 根据事件状态过滤,0表示已恢复,1表示未恢复
2279
+ * PodMonitors列表以及对应targets信息
2280
+ 注意:此字段可能返回 null,表示取不到有效值。
2229
2281
  */
2230
- AccidentStatus?: Array<number>;
2282
+ PodMonitors?: Array<PrometheusConfigItem>;
2231
2283
  /**
2232
- * 根据事件地域过滤,gz表示广州,sh表示上海等
2284
+ * RawJobs列表以及对应targets信息
2285
+ 注意:此字段可能返回 null,表示取不到有效值。
2233
2286
  */
2234
- AccidentRegion?: Array<string>;
2287
+ RawJobs?: Array<PrometheusConfigItem>;
2235
2288
  /**
2236
- * 根据影响资源过滤,比如ins-19a06bka
2289
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2237
2290
  */
2238
- AffectResource?: string;
2291
+ RequestId?: string;
2239
2292
  }
2240
2293
  /**
2241
2294
  * CreateRecordingRule返回参数结构体
@@ -2375,6 +2428,15 @@ export interface InstanceGroups {
2375
2428
  */
2376
2429
  Name: string;
2377
2430
  }
2431
+ /**
2432
+ * UpdateGrafanaNotificationChannel返回参数结构体
2433
+ */
2434
+ export interface UpdateGrafanaNotificationChannelResponse {
2435
+ /**
2436
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2437
+ */
2438
+ RequestId?: string;
2439
+ }
2378
2440
  /**
2379
2441
  * CreateExporterIntegration返回参数结构体
2380
2442
  */
@@ -2651,6 +2713,23 @@ export interface DescribePrometheusInstancesRequest {
2651
2713
  */
2652
2714
  InstanceChargeType?: number;
2653
2715
  }
2716
+ /**
2717
+ * kubernetes Taint
2718
+ */
2719
+ export interface Toleration {
2720
+ /**
2721
+ * 容忍应用到的 taint key
2722
+ */
2723
+ Key?: string;
2724
+ /**
2725
+ * 键与值的关系
2726
+ */
2727
+ Operator?: string;
2728
+ /**
2729
+ * 要匹配的污点效果
2730
+ */
2731
+ Effect?: string;
2732
+ }
2654
2733
  /**
2655
2734
  * 策略列表详情标签返回体
2656
2735
  */
@@ -2857,6 +2936,59 @@ export interface EnableSSOCamCheckResponse {
2857
2936
  */
2858
2937
  RequestId?: string;
2859
2938
  }
2939
+ /**
2940
+ * DescribeAccidentEventList请求参数结构体
2941
+ */
2942
+ export interface DescribeAccidentEventListRequest {
2943
+ /**
2944
+ * 接口模块名,当前接口取值monitor
2945
+ */
2946
+ Module: string;
2947
+ /**
2948
+ * 起始时间,默认一天前的时间戳
2949
+ */
2950
+ StartTime?: number;
2951
+ /**
2952
+ * 结束时间,默认当前时间戳
2953
+ */
2954
+ EndTime?: number;
2955
+ /**
2956
+ * 分页参数,每页返回的数量,取值1~100,默认20
2957
+ */
2958
+ Limit?: number;
2959
+ /**
2960
+ * 分页参数,页偏移量,从0开始计数,默认0
2961
+ */
2962
+ Offset?: number;
2963
+ /**
2964
+ * 根据UpdateTime排序的规则,取值asc或desc
2965
+ */
2966
+ UpdateTimeOrder?: string;
2967
+ /**
2968
+ * 根据OccurTime排序的规则,取值asc或desc(优先根据UpdateTimeOrder排序)
2969
+ */
2970
+ OccurTimeOrder?: string;
2971
+ /**
2972
+ * 根据事件类型过滤,1表示服务问题,2表示其他订阅
2973
+ */
2974
+ AccidentType?: Array<number>;
2975
+ /**
2976
+ * 根据事件过滤,1表示云服务器存储问题,2表示云服务器网络连接问题,3表示云服务器运行异常,202表示运营商网络抖动
2977
+ */
2978
+ AccidentEvent?: Array<number>;
2979
+ /**
2980
+ * 根据事件状态过滤,0表示已恢复,1表示未恢复
2981
+ */
2982
+ AccidentStatus?: Array<number>;
2983
+ /**
2984
+ * 根据事件地域过滤,gz表示广州,sh表示上海等
2985
+ */
2986
+ AccidentRegion?: Array<string>;
2987
+ /**
2988
+ * 根据影响资源过滤,比如ins-19a06bka
2989
+ */
2990
+ AffectResource?: string;
2991
+ }
2860
2992
  /**
2861
2993
  * CreatePrometheusScrapeJob返回参数结构体
2862
2994
  */
@@ -2976,6 +3108,19 @@ export interface PrometheusZoneItem {
2976
3108
  */
2977
3109
  ZoneName: string;
2978
3110
  }
3111
+ /**
3112
+ * ModifyPrometheusAlertPolicy请求参数结构体
3113
+ */
3114
+ export interface ModifyPrometheusAlertPolicyRequest {
3115
+ /**
3116
+ * 实例id
3117
+ */
3118
+ InstanceId: string;
3119
+ /**
3120
+ * 告警配置
3121
+ */
3122
+ AlertRule: PrometheusAlertPolicyItem;
3123
+ }
2979
3124
  /**
2980
3125
  * ModifyPrometheusInstanceAttributes返回参数结构体
2981
3126
  */
@@ -3139,6 +3284,19 @@ export interface DescribeAlarmPoliciesResponse {
3139
3284
  */
3140
3285
  RequestId?: string;
3141
3286
  }
3287
+ /**
3288
+ * ModifyPrometheusGlobalNotification请求参数结构体
3289
+ */
3290
+ export interface ModifyPrometheusGlobalNotificationRequest {
3291
+ /**
3292
+ * 实例ID
3293
+ */
3294
+ InstanceId: string;
3295
+ /**
3296
+ * 告警通知渠道
3297
+ */
3298
+ Notification: PrometheusNotificationItem;
3299
+ }
3142
3300
  /**
3143
3301
  * DescribePolicyConditionList.ConfigManual.Period
3144
3302
  */
@@ -3175,6 +3333,20 @@ export interface DescribePrometheusRecordRulesResponse {
3175
3333
  */
3176
3334
  RequestId?: string;
3177
3335
  }
3336
+ /**
3337
+ * DescribePrometheusGlobalNotification返回参数结构体
3338
+ */
3339
+ export interface DescribePrometheusGlobalNotificationResponse {
3340
+ /**
3341
+ * 全局告警通知渠道
3342
+ 注意:此字段可能返回 null,表示取不到有效值。
3343
+ */
3344
+ Notification?: PrometheusNotificationItem;
3345
+ /**
3346
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3347
+ */
3348
+ RequestId?: string;
3349
+ }
3178
3350
  /**
3179
3351
  * DescribeMonitorTypes请求参数结构体
3180
3352
  */
@@ -3193,6 +3365,23 @@ export interface DimensionsDesc {
3193
3365
  */
3194
3366
  Dimensions: Array<string>;
3195
3367
  }
3368
+ /**
3369
+ * DeletePrometheusAlertPolicy请求参数结构体
3370
+ */
3371
+ export interface DeletePrometheusAlertPolicyRequest {
3372
+ /**
3373
+ * 实例id
3374
+ */
3375
+ InstanceId: string;
3376
+ /**
3377
+ * 告警策略id列表
3378
+ */
3379
+ AlertIds: Array<string>;
3380
+ /**
3381
+ * 告警策略名称
3382
+ */
3383
+ Names?: Array<string>;
3384
+ }
3196
3385
  /**
3197
3386
  * Prometheus 服务发现信息
3198
3387
  */
@@ -3230,17 +3419,13 @@ export interface ServiceDiscoveryItem {
3230
3419
  Yaml: string;
3231
3420
  }
3232
3421
  /**
3233
- * SetDefaultAlarmPolicy请求参数结构体
3422
+ * ModifyPrometheusAgentExternalLabels返回参数结构体
3234
3423
  */
3235
- export interface SetDefaultAlarmPolicyRequest {
3424
+ export interface ModifyPrometheusAgentExternalLabelsResponse {
3236
3425
  /**
3237
- * 模块名,固定值 monitor
3238
- */
3239
- Module: string;
3240
- /**
3241
- * 告警策略 ID
3426
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3242
3427
  */
3243
- PolicyId: string;
3428
+ RequestId?: string;
3244
3429
  }
3245
3430
  /**
3246
3431
  * ModifyAlarmNotice请求参数结构体
@@ -3323,6 +3508,30 @@ export interface ResumeGrafanaInstanceRequest {
3323
3508
  */
3324
3509
  InstanceId: string;
3325
3510
  }
3511
+ /**
3512
+ * DescribeBasicAlarmList返回参数结构体
3513
+ */
3514
+ export interface DescribeBasicAlarmListResponse {
3515
+ /**
3516
+ * 告警列表
3517
+ 注意:此字段可能返回 null,表示取不到有效值。
3518
+ */
3519
+ Alarms: Array<DescribeBasicAlarmListAlarms>;
3520
+ /**
3521
+ * 总数
3522
+ 注意:此字段可能返回 null,表示取不到有效值。
3523
+ */
3524
+ Total: number;
3525
+ /**
3526
+ * 备注信息
3527
+ 注意:此字段可能返回 null,表示取不到有效值。
3528
+ */
3529
+ Warning: string;
3530
+ /**
3531
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3532
+ */
3533
+ RequestId?: string;
3534
+ }
3326
3535
  /**
3327
3536
  * ModifyAlarmReceivers请求参数结构体
3328
3537
  */
@@ -3525,74 +3734,34 @@ export interface CreateGrafanaNotificationChannelRequest {
3525
3734
  OrganizationIds?: Array<string>;
3526
3735
  }
3527
3736
  /**
3528
- * 云监控告警通知模板 - 用户通知详情
3737
+ * DescribePrometheusTargetsTMP返回参数结构体
3529
3738
  */
3530
- export interface UserNotice {
3531
- /**
3532
- * 接收者类型 USER=用户 GROUP=用户组
3533
- 注意:此字段可能返回 null,表示取不到有效值。
3534
- */
3535
- ReceiverType: string;
3536
- /**
3537
- * 通知开始时间 00:00:00 开始的秒数(取值范围0-86399)
3538
- 注意:此字段可能返回 null,表示取不到有效值。
3539
- */
3540
- StartTime: number;
3541
- /**
3542
- * 通知结束时间 00:00:00 开始的秒数(取值范围0-86399)
3543
- 注意:此字段可能返回 null,表示取不到有效值。
3544
- */
3545
- EndTime: number;
3739
+ export interface DescribePrometheusTargetsTMPResponse {
3546
3740
  /**
3547
- * 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信
3548
- 注意:此字段可能返回 null,表示取不到有效值。
3549
- */
3550
- NoticeWay: Array<string>;
3551
- /**
3552
- * 用户 uid 列表
3553
- 注意:此字段可能返回 null,表示取不到有效值。
3554
- */
3555
- UserIds?: Array<number>;
3556
- /**
3557
- * 用户组 group id 列表
3558
- 注意:此字段可能返回 null,表示取不到有效值。
3559
- */
3560
- GroupIds?: Array<number>;
3561
- /**
3562
- * 电话轮询列表
3563
- 注意:此字段可能返回 null,表示取不到有效值。
3564
- */
3565
- PhoneOrder?: Array<number>;
3566
- /**
3567
- * 电话轮询次数 (取值范围1-5)
3568
- 注意:此字段可能返回 null,表示取不到有效值。
3569
- */
3570
- PhoneCircleTimes?: number;
3571
- /**
3572
- * 单次轮询内拨打间隔 秒数 (取值范围60-900)
3573
- 注意:此字段可能返回 null,表示取不到有效值。
3741
+ * 所有Job的targets信息
3574
3742
  */
3575
- PhoneInnerInterval?: number;
3743
+ Jobs?: Array<PrometheusJobTargets>;
3576
3744
  /**
3577
- * 两次轮询间隔 秒数(取值范围60-900)
3578
- 注意:此字段可能返回 null,表示取不到有效值。
3745
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3579
3746
  */
3580
- PhoneCircleInterval?: number;
3747
+ RequestId?: string;
3748
+ }
3749
+ /**
3750
+ * DescribePrometheusClusterAgents返回参数结构体
3751
+ */
3752
+ export interface DescribePrometheusClusterAgentsResponse {
3581
3753
  /**
3582
- * 是否需要触达通知 0=否 1=是
3583
- 注意:此字段可能返回 null,表示取不到有效值。
3754
+ * 被关联集群信息
3584
3755
  */
3585
- NeedPhoneArriveNotice?: number;
3756
+ Agents?: Array<PrometheusAgentOverview>;
3586
3757
  /**
3587
- * 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询
3588
- 注意:此字段可能返回 null,表示取不到有效值。
3758
+ * 被关联集群总量
3589
3759
  */
3590
- PhoneCallType?: string;
3760
+ Total?: number;
3591
3761
  /**
3592
- * 通知周期 1-7表示周一到周日
3593
- 注意:此字段可能返回 null,表示取不到有效值。
3762
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3594
3763
  */
3595
- Weekday?: Array<number>;
3764
+ RequestId?: string;
3596
3765
  }
3597
3766
  /**
3598
3767
  * UpdatePrometheusScrapeJob请求参数结构体
@@ -3616,9 +3785,13 @@ export interface UpdatePrometheusScrapeJobRequest {
3616
3785
  Config: string;
3617
3786
  }
3618
3787
  /**
3619
- * UpdateGrafanaNotificationChannel返回参数结构体
3788
+ * 托管Prometheus agent信息
3620
3789
  */
3621
- export interface UpdateGrafanaNotificationChannelResponse {
3790
+ export declare type PrometheusAgentInfo = null;
3791
+ /**
3792
+ * CreatePrometheusClusterAgent返回参数结构体
3793
+ */
3794
+ export interface CreatePrometheusClusterAgentResponse {
3622
3795
  /**
3623
3796
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3624
3797
  */
@@ -3713,6 +3886,15 @@ export interface DescribePrometheusInstanceUsageResponse {
3713
3886
  */
3714
3887
  RequestId?: string;
3715
3888
  }
3889
+ /**
3890
+ * DescribePrometheusGlobalNotification请求参数结构体
3891
+ */
3892
+ export interface DescribePrometheusGlobalNotificationRequest {
3893
+ /**
3894
+ * 实例ID
3895
+ */
3896
+ InstanceId: string;
3897
+ }
3716
3898
  /**
3717
3899
  * DeleteExporterIntegration返回参数结构体
3718
3900
  */
@@ -3993,6 +4175,15 @@ export interface DescribePrometheusTempSyncResponse {
3993
4175
  */
3994
4176
  RequestId?: string;
3995
4177
  }
4178
+ /**
4179
+ * CreatePrometheusConfig返回参数结构体
4180
+ */
4181
+ export interface CreatePrometheusConfigResponse {
4182
+ /**
4183
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4184
+ */
4185
+ RequestId?: string;
4186
+ }
3996
4187
  /**
3997
4188
  * UpdateDNSConfig请求参数结构体
3998
4189
  */
@@ -4007,49 +4198,13 @@ export interface UpdateDNSConfigRequest {
4007
4198
  NameServers: Array<string>;
4008
4199
  }
4009
4200
  /**
4010
- * DescribeAccidentEventList接口的出参类型
4201
+ * DeletePrometheusClusterAgent返回参数结构体
4011
4202
  */
4012
- export interface DescribeAccidentEventListAlarms {
4013
- /**
4014
- * 事件分类
4015
- 注意:此字段可能返回 null,表示取不到有效值。
4016
- */
4017
- BusinessTypeDesc: string;
4018
- /**
4019
- * 事件类型
4020
- 注意:此字段可能返回 null,表示取不到有效值。
4021
- */
4022
- AccidentTypeDesc: string;
4023
- /**
4024
- * 事件分类的ID,1表示服务问题,2表示其他订阅
4025
- 注意:此字段可能返回 null,表示取不到有效值。
4026
- */
4027
- BusinessID: number;
4028
- /**
4029
- * 事件状态的ID,0表示已恢复,1表示未恢复
4030
- 注意:此字段可能返回 null,表示取不到有效值。
4031
- */
4032
- EventStatus: number;
4033
- /**
4034
- * 影响的对象
4035
- 注意:此字段可能返回 null,表示取不到有效值。
4036
- */
4037
- AffectResource: string;
4038
- /**
4039
- * 事件的地域
4040
- 注意:此字段可能返回 null,表示取不到有效值。
4041
- */
4042
- Region: string;
4043
- /**
4044
- * 事件发生的时间
4045
- 注意:此字段可能返回 null,表示取不到有效值。
4046
- */
4047
- OccurTime: string;
4203
+ export interface DeletePrometheusClusterAgentResponse {
4048
4204
  /**
4049
- * 更新时间
4050
- 注意:此字段可能返回 null,表示取不到有效值。
4205
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4051
4206
  */
4052
- UpdateTime: string;
4207
+ RequestId?: string;
4053
4208
  }
4054
4209
  /**
4055
4210
  * DescribeDNSConfig返回参数结构体
@@ -4659,6 +4814,15 @@ export interface CreateExporterIntegrationRequest {
4659
4814
  */
4660
4815
  ClusterId?: string;
4661
4816
  }
4817
+ /**
4818
+ * ModifyPrometheusConfig返回参数结构体
4819
+ */
4820
+ export interface ModifyPrometheusConfigResponse {
4821
+ /**
4822
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4823
+ */
4824
+ RequestId?: string;
4825
+ }
4662
4826
  /**
4663
4827
  * prometheus agent
4664
4828
  */
@@ -4701,6 +4865,19 @@ export interface PrometheusAgent {
4701
4865
  */
4702
4866
  Status: number;
4703
4867
  }
4868
+ /**
4869
+ * CreatePrometheusAlertPolicy返回参数结构体
4870
+ */
4871
+ export interface CreatePrometheusAlertPolicyResponse {
4872
+ /**
4873
+ * 告警id
4874
+ */
4875
+ Id?: string;
4876
+ /**
4877
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4878
+ */
4879
+ RequestId?: string;
4880
+ }
4704
4881
  /**
4705
4882
  * DescribePrometheusInstanceDetail请求参数结构体
4706
4883
  */
@@ -4710,6 +4887,76 @@ export interface DescribePrometheusInstanceDetailRequest {
4710
4887
  */
4711
4888
  InstanceId: string;
4712
4889
  }
4890
+ /**
4891
+ * 云监控告警通知模板 - 用户通知详情
4892
+ */
4893
+ export interface UserNotice {
4894
+ /**
4895
+ * 接收者类型 USER=用户 GROUP=用户组
4896
+ 注意:此字段可能返回 null,表示取不到有效值。
4897
+ */
4898
+ ReceiverType: string;
4899
+ /**
4900
+ * 通知开始时间 00:00:00 开始的秒数(取值范围0-86399)
4901
+ 注意:此字段可能返回 null,表示取不到有效值。
4902
+ */
4903
+ StartTime: number;
4904
+ /**
4905
+ * 通知结束时间 00:00:00 开始的秒数(取值范围0-86399)
4906
+ 注意:此字段可能返回 null,表示取不到有效值。
4907
+ */
4908
+ EndTime: number;
4909
+ /**
4910
+ * 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信
4911
+ 注意:此字段可能返回 null,表示取不到有效值。
4912
+ */
4913
+ NoticeWay: Array<string>;
4914
+ /**
4915
+ * 用户 uid 列表
4916
+ 注意:此字段可能返回 null,表示取不到有效值。
4917
+ */
4918
+ UserIds?: Array<number>;
4919
+ /**
4920
+ * 用户组 group id 列表
4921
+ 注意:此字段可能返回 null,表示取不到有效值。
4922
+ */
4923
+ GroupIds?: Array<number>;
4924
+ /**
4925
+ * 电话轮询列表
4926
+ 注意:此字段可能返回 null,表示取不到有效值。
4927
+ */
4928
+ PhoneOrder?: Array<number>;
4929
+ /**
4930
+ * 电话轮询次数 (取值范围1-5)
4931
+ 注意:此字段可能返回 null,表示取不到有效值。
4932
+ */
4933
+ PhoneCircleTimes?: number;
4934
+ /**
4935
+ * 单次轮询内拨打间隔 秒数 (取值范围60-900)
4936
+ 注意:此字段可能返回 null,表示取不到有效值。
4937
+ */
4938
+ PhoneInnerInterval?: number;
4939
+ /**
4940
+ * 两次轮询间隔 秒数(取值范围60-900)
4941
+ 注意:此字段可能返回 null,表示取不到有效值。
4942
+ */
4943
+ PhoneCircleInterval?: number;
4944
+ /**
4945
+ * 是否需要触达通知 0=否 1=是
4946
+ 注意:此字段可能返回 null,表示取不到有效值。
4947
+ */
4948
+ NeedPhoneArriveNotice?: number;
4949
+ /**
4950
+ * 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询
4951
+ 注意:此字段可能返回 null,表示取不到有效值。
4952
+ */
4953
+ PhoneCallType?: string;
4954
+ /**
4955
+ * 通知周期 1-7表示周一到周日
4956
+ 注意:此字段可能返回 null,表示取不到有效值。
4957
+ */
4958
+ Weekday?: Array<number>;
4959
+ }
4713
4960
  /**
4714
4961
  * Prometheus 服务响应体
4715
4962
  */
@@ -5010,6 +5257,35 @@ export interface CreateRecordingRuleRequest {
5010
5257
  */
5011
5258
  RuleState?: number;
5012
5259
  }
5260
+ /**
5261
+ * ModifyPrometheusConfig请求参数结构体
5262
+ */
5263
+ export interface ModifyPrometheusConfigRequest {
5264
+ /**
5265
+ * 实例id
5266
+ */
5267
+ InstanceId: string;
5268
+ /**
5269
+ * 集群类型
5270
+ */
5271
+ ClusterType: string;
5272
+ /**
5273
+ * 集群id
5274
+ */
5275
+ ClusterId: string;
5276
+ /**
5277
+ * ServiceMonitors配置
5278
+ */
5279
+ ServiceMonitors?: Array<PrometheusConfigItem>;
5280
+ /**
5281
+ * PodMonitors配置
5282
+ */
5283
+ PodMonitors?: Array<PrometheusConfigItem>;
5284
+ /**
5285
+ * prometheus原生Job配置
5286
+ */
5287
+ RawJobs?: Array<PrometheusConfigItem>;
5288
+ }
5013
5289
  /**
5014
5290
  * DescribeGrafanaEnvironments返回参数结构体
5015
5291
  */
@@ -5089,6 +5365,38 @@ export interface DeleteGrafanaIntegrationRequest {
5089
5365
  */
5090
5366
  IntegrationId: string;
5091
5367
  }
5368
+ /**
5369
+ * ModifyPrometheusAlertPolicy返回参数结构体
5370
+ */
5371
+ export interface ModifyPrometheusAlertPolicyResponse {
5372
+ /**
5373
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5374
+ */
5375
+ RequestId?: string;
5376
+ }
5377
+ /**
5378
+ * DescribePrometheusTargetsTMP请求参数结构体
5379
+ */
5380
+ export interface DescribePrometheusTargetsTMPRequest {
5381
+ /**
5382
+ * 实例id
5383
+ */
5384
+ InstanceId: string;
5385
+ /**
5386
+ * 集群类型
5387
+ */
5388
+ ClusterType: string;
5389
+ /**
5390
+ * 集群id
5391
+ */
5392
+ ClusterId: string;
5393
+ /**
5394
+ * 过滤条件,当前支持
5395
+ Name=state
5396
+ Value=up, down, unknown
5397
+ */
5398
+ Filters?: Array<Filter>;
5399
+ }
5092
5400
  /**
5093
5401
  * CreateServiceDiscovery请求参数结构体
5094
5402
  */
@@ -5170,6 +5478,35 @@ export interface GrafanaChannel {
5170
5478
  */
5171
5479
  OrganizationIds: Array<string>;
5172
5480
  }
5481
+ /**
5482
+ * CreatePrometheusConfig请求参数结构体
5483
+ */
5484
+ export interface CreatePrometheusConfigRequest {
5485
+ /**
5486
+ * 实例id
5487
+ */
5488
+ InstanceId: string;
5489
+ /**
5490
+ * 集群类型
5491
+ */
5492
+ ClusterType: string;
5493
+ /**
5494
+ * 集群id
5495
+ */
5496
+ ClusterId: string;
5497
+ /**
5498
+ * ServiceMonitors配置
5499
+ */
5500
+ ServiceMonitors?: Array<PrometheusConfigItem>;
5501
+ /**
5502
+ * PodMonitors配置
5503
+ */
5504
+ PodMonitors?: Array<PrometheusConfigItem>;
5505
+ /**
5506
+ * prometheus原生Job配置
5507
+ */
5508
+ RawJobs?: Array<PrometheusConfigItem>;
5509
+ }
5173
5510
  /**
5174
5511
  * DescribeSSOAccount返回参数结构体
5175
5512
  */
@@ -5304,6 +5641,19 @@ export interface DescribeProductEventListEventsDimensions {
5304
5641
  */
5305
5642
  Value: string;
5306
5643
  }
5644
+ /**
5645
+ * CreatePrometheusClusterAgent请求参数结构体
5646
+ */
5647
+ export interface CreatePrometheusClusterAgentRequest {
5648
+ /**
5649
+ * 实例ID
5650
+ */
5651
+ InstanceId: string;
5652
+ /**
5653
+ * agent列表
5654
+ */
5655
+ Agents: Array<PrometheusClusterAgentBasic>;
5656
+ }
5307
5657
  /**
5308
5658
  * ModifyAlarmPolicyCondition返回参数结构体
5309
5659
  */
@@ -5752,13 +6102,59 @@ export interface UpgradeGrafanaInstanceRequest {
5752
6102
  Alias: string;
5753
6103
  }
5754
6104
  /**
5755
- * CreateAlarmNotice返回参数结构体
6105
+ * DescribeAccidentEventList接口的出参类型
5756
6106
  */
5757
- export interface CreateAlarmNoticeResponse {
6107
+ export interface DescribeAccidentEventListAlarms {
5758
6108
  /**
5759
- * 告警通知模板ID
6109
+ * 事件分类
6110
+ 注意:此字段可能返回 null,表示取不到有效值。
5760
6111
  */
5761
- NoticeId: string;
6112
+ BusinessTypeDesc: string;
6113
+ /**
6114
+ * 事件类型
6115
+ 注意:此字段可能返回 null,表示取不到有效值。
6116
+ */
6117
+ AccidentTypeDesc: string;
6118
+ /**
6119
+ * 事件分类的ID,1表示服务问题,2表示其他订阅
6120
+ 注意:此字段可能返回 null,表示取不到有效值。
6121
+ */
6122
+ BusinessID: number;
6123
+ /**
6124
+ * 事件状态的ID,0表示已恢复,1表示未恢复
6125
+ 注意:此字段可能返回 null,表示取不到有效值。
6126
+ */
6127
+ EventStatus: number;
6128
+ /**
6129
+ * 影响的对象
6130
+ 注意:此字段可能返回 null,表示取不到有效值。
6131
+ */
6132
+ AffectResource: string;
6133
+ /**
6134
+ * 事件的地域
6135
+ 注意:此字段可能返回 null,表示取不到有效值。
6136
+ */
6137
+ Region: string;
6138
+ /**
6139
+ * 事件发生的时间
6140
+ 注意:此字段可能返回 null,表示取不到有效值。
6141
+ */
6142
+ OccurTime: string;
6143
+ /**
6144
+ * 更新时间
6145
+ 注意:此字段可能返回 null,表示取不到有效值。
6146
+ */
6147
+ UpdateTime: string;
6148
+ }
6149
+ /**
6150
+ * CreatePrometheusGlobalNotification返回参数结构体
6151
+ */
6152
+ export interface CreatePrometheusGlobalNotificationResponse {
6153
+ /**
6154
+ * 全局告警通知渠道ID
6155
+ 注意:此字段可能返回 null,表示取不到有效值。
6156
+ */
6157
+ Id?: string;
5762
6158
  /**
5763
6159
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5764
6160
  */
@@ -5995,11 +6391,24 @@ export interface DescribePolicyGroupInfoCondition {
5995
6391
  /**
5996
6392
  * DescribePrometheusInstanceInitStatus请求参数结构体
5997
6393
  */
5998
- export interface DescribePrometheusInstanceInitStatusRequest {
6394
+ export interface DescribePrometheusInstanceInitStatusRequest {
6395
+ /**
6396
+ * 实例ID
6397
+ */
6398
+ InstanceId: string;
6399
+ }
6400
+ /**
6401
+ * CreatePrometheusAlertPolicy请求参数结构体
6402
+ */
6403
+ export interface CreatePrometheusAlertPolicyRequest {
5999
6404
  /**
6000
- * 实例ID
6405
+ * 实例id
6001
6406
  */
6002
6407
  InstanceId: string;
6408
+ /**
6409
+ * 告警配置
6410
+ */
6411
+ AlertRule: PrometheusAlertPolicyItem;
6003
6412
  }
6004
6413
  /**
6005
6414
  * DescribeBindingPolicyObjectList请求参数结构体
@@ -6259,6 +6668,23 @@ export interface PolicyGroup {
6259
6668
  */
6260
6669
  IsUnionRule: number;
6261
6670
  }
6671
+ /**
6672
+ * DescribePrometheusClusterAgents请求参数结构体
6673
+ */
6674
+ export interface DescribePrometheusClusterAgentsRequest {
6675
+ /**
6676
+ * 实例id
6677
+ */
6678
+ InstanceId: string;
6679
+ /**
6680
+ * 用于分页
6681
+ */
6682
+ Offset?: number;
6683
+ /**
6684
+ * 用于分页
6685
+ */
6686
+ Limit?: number;
6687
+ }
6262
6688
  /**
6263
6689
  * UnbindPrometheusManagedGrafana请求参数结构体
6264
6690
  */
@@ -6437,6 +6863,10 @@ export interface ModifyAlarmNoticeResponse {
6437
6863
  */
6438
6864
  RequestId?: string;
6439
6865
  }
6866
+ /**
6867
+ * prometheus一个job的targets
6868
+ */
6869
+ export declare type PrometheusJobTargets = null;
6440
6870
  /**
6441
6871
  * UpdateGrafanaConfig请求参数结构体
6442
6872
  */
@@ -6571,39 +7001,41 @@ export interface AlarmHistory {
6571
7001
  Dimensions: string;
6572
7002
  }
6573
7003
  /**
6574
- * 云监控告警通知模板 - 回调通知详情
7004
+ * 与云监控融合托管prometheus实例,关联集群基础信息
6575
7005
  */
6576
- export interface URLNotice {
7006
+ export interface PrometheusClusterAgentBasic {
6577
7007
  /**
6578
- * 回调 url(限长256字符)
6579
- 注意:此字段可能返回 null,表示取不到有效值。
7008
+ * 集群ID
6580
7009
  */
6581
- URL: string;
7010
+ Region: string;
6582
7011
  /**
6583
- * 是否通过验证 0=否 1=是
6584
- 注意:此字段可能返回 null,表示取不到有效值。
7012
+ * 集群类型
6585
7013
  */
6586
- IsValid?: number;
7014
+ ClusterType: string;
6587
7015
  /**
6588
- * 验证码
6589
- 注意:此字段可能返回 null,表示取不到有效值。
7016
+ * 集群ID
6590
7017
  */
6591
- ValidationCode?: string;
7018
+ ClusterId: string;
6592
7019
  /**
6593
- * 通知开始时间 一天开始的秒数
6594
- 注意:此字段可能返回 null,表示取不到有效值。
7020
+ * 是否开启公网CLB
6595
7021
  */
6596
- StartTime?: number;
7022
+ EnableExternal: boolean;
6597
7023
  /**
6598
- * 通知结束时间 一天开始的秒数
6599
- 注意:此字段可能返回 null,表示取不到有效值。
7024
+ * 集群内部署组件的pod配置
6600
7025
  */
6601
- EndTime?: number;
7026
+ InClusterPodConfig?: PrometheusClusterAgentPodConfig;
6602
7027
  /**
6603
- * 通知周期 1-7表示周一到周日
6604
- 注意:此字段可能返回 null,表示取不到有效值。
7028
+ * 该集群采集的所有指标都会带上这些labels
6605
7029
  */
6606
- Weekday?: Array<number>;
7030
+ ExternalLabels?: Array<Label>;
7031
+ /**
7032
+ * 是否安装默认采集配置
7033
+ */
7034
+ NotInstallBasicScrape?: boolean;
7035
+ /**
7036
+ * 是否采集指标,true代表drop所有指标,false代表采集默认指标
7037
+ */
7038
+ NotScrape?: boolean;
6607
7039
  }
6608
7040
  /**
6609
7041
  * CreatePolicyGroup请求参数结构体
@@ -6722,6 +7154,15 @@ export interface NoticeBindPolicys {
6722
7154
  */
6723
7155
  PolicyIds?: Array<string>;
6724
7156
  }
7157
+ /**
7158
+ * UnBindingAllPolicyObject返回参数结构体
7159
+ */
7160
+ export interface UnBindingAllPolicyObjectResponse {
7161
+ /**
7162
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7163
+ */
7164
+ RequestId?: string;
7165
+ }
6725
7166
  /**
6726
7167
  * DescribeAlarmNotices请求参数结构体
6727
7168
  */
@@ -7062,34 +7503,6 @@ export interface UpdateGrafanaConfigResponse {
7062
7503
  */
7063
7504
  RequestId?: string;
7064
7505
  }
7065
- /**
7066
- * DeleteExporterIntegration请求参数结构体
7067
- */
7068
- export interface DeleteExporterIntegrationRequest {
7069
- /**
7070
- * 实例 ID
7071
- */
7072
- InstanceId: string;
7073
- /**
7074
- * 类型
7075
- */
7076
- Kind: string;
7077
- /**
7078
- * 名字
7079
- */
7080
- Name: string;
7081
- /**
7082
- * Kubernetes 集群类型,取值如下:
7083
- <li> 1= 容器集群(TKE) </li>
7084
- <li> 2=弹性集群<EKS> </li>
7085
- <li> 3= Prometheus管理的弹性集群<MEKS> </li>
7086
- */
7087
- KubeType?: number;
7088
- /**
7089
- * 集群 ID
7090
- */
7091
- ClusterId?: string;
7092
- }
7093
7506
  /**
7094
7507
  * ModifyPrometheusInstanceAttributes请求参数结构体
7095
7508
  */
@@ -7190,6 +7603,19 @@ export interface DescribeProductEventListRequest {
7190
7603
  */
7191
7604
  Limit?: number;
7192
7605
  }
7606
+ /**
7607
+ * CreatePrometheusGlobalNotification请求参数结构体
7608
+ */
7609
+ export interface CreatePrometheusGlobalNotificationRequest {
7610
+ /**
7611
+ * 实例ID
7612
+ */
7613
+ InstanceId: string;
7614
+ /**
7615
+ * 告警通知渠道
7616
+ */
7617
+ Notification: PrometheusNotificationItem;
7618
+ }
7193
7619
  /**
7194
7620
  * ModifyPrometheusTemp返回参数结构体
7195
7621
  */
@@ -7277,9 +7703,9 @@ export interface CheckIsPrometheusNewUserResponse {
7277
7703
  RequestId?: string;
7278
7704
  }
7279
7705
  /**
7280
- * ModifyAlarmPolicyTasks返回参数结构体
7706
+ * PutMonitorData返回参数结构体
7281
7707
  */
7282
- export interface ModifyAlarmPolicyTasksResponse {
7708
+ export interface PutMonitorDataResponse {
7283
7709
  /**
7284
7710
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7285
7711
  */
@@ -7324,6 +7750,15 @@ export interface ModifyPrometheusRecordRuleYamlRequest {
7324
7750
  */
7325
7751
  Content: string;
7326
7752
  }
7753
+ /**
7754
+ * DeletePrometheusAlertPolicy返回参数结构体
7755
+ */
7756
+ export interface DeletePrometheusAlertPolicyResponse {
7757
+ /**
7758
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7759
+ */
7760
+ RequestId?: string;
7761
+ }
7327
7762
  /**
7328
7763
  * DescribeProductEventList的入参Dimensions
7329
7764
  */
@@ -7432,9 +7867,9 @@ export interface DescribePolicyConditionListConfigManualContinueTime {
7432
7867
  Need: boolean;
7433
7868
  }
7434
7869
  /**
7435
- * PutMonitorData返回参数结构体
7870
+ * ModifyAlarmPolicyTasks返回参数结构体
7436
7871
  */
7437
- export interface PutMonitorDataResponse {
7872
+ export interface ModifyAlarmPolicyTasksResponse {
7438
7873
  /**
7439
7874
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7440
7875
  */
@@ -7895,6 +8330,19 @@ export interface DeletePrometheusTempSyncRequest {
7895
8330
  * DescribePluginOverviews请求参数结构体
7896
8331
  */
7897
8332
  export declare type DescribePluginOverviewsRequest = null;
8333
+ /**
8334
+ * DescribePrometheusGlobalConfig请求参数结构体
8335
+ */
8336
+ export interface DescribePrometheusGlobalConfigRequest {
8337
+ /**
8338
+ * 实例级别抓取配置
8339
+ */
8340
+ InstanceId: string;
8341
+ /**
8342
+ * 是否禁用统计
8343
+ */
8344
+ DisableStatistics?: boolean;
8345
+ }
7898
8346
  /**
7899
8347
  * Prometheus用量信息
7900
8348
  */
@@ -8025,6 +8473,35 @@ export interface DescribeBaseMetricsRequest {
8025
8473
  */
8026
8474
  Dimensions?: Array<string>;
8027
8475
  }
8476
+ /**
8477
+ * DeletePrometheusConfig请求参数结构体
8478
+ */
8479
+ export interface DeletePrometheusConfigRequest {
8480
+ /**
8481
+ * 实例id
8482
+ */
8483
+ InstanceId: string;
8484
+ /**
8485
+ * 集群类型
8486
+ */
8487
+ ClusterType: string;
8488
+ /**
8489
+ * 集群id
8490
+ */
8491
+ ClusterId: string;
8492
+ /**
8493
+ * 要删除的ServiceMonitor名字列表
8494
+ */
8495
+ ServiceMonitors?: Array<string>;
8496
+ /**
8497
+ * 要删除的PodMonitor名字列表
8498
+ */
8499
+ PodMonitors?: Array<string>;
8500
+ /**
8501
+ * 要删除的RawJobs名字列表
8502
+ */
8503
+ RawJobs?: Array<string>;
8504
+ }
8028
8505
  /**
8029
8506
  * 托管prometheus告警策略实例
8030
8507
  */
@@ -8063,6 +8540,46 @@ export interface PrometheusAlertPolicyItem {
8063
8540
  */
8064
8541
  ClusterId?: string;
8065
8542
  }
8543
+ /**
8544
+ * ModifyPrometheusAgentExternalLabels请求参数结构体
8545
+ */
8546
+ export interface ModifyPrometheusAgentExternalLabelsRequest {
8547
+ /**
8548
+ * 实例ID
8549
+ */
8550
+ InstanceId: string;
8551
+ /**
8552
+ * 集群ID
8553
+ */
8554
+ ClusterId: string;
8555
+ /**
8556
+ * 新的external_labels
8557
+ */
8558
+ ExternalLabels: Array<Label>;
8559
+ }
8560
+ /**
8561
+ * Prometheus 抓取任务
8562
+ */
8563
+ export interface PrometheusScrapeJob {
8564
+ /**
8565
+ * 任务名
8566
+ 注意:此字段可能返回 null,表示取不到有效值。
8567
+ */
8568
+ Name: string;
8569
+ /**
8570
+ * Agent ID
8571
+ */
8572
+ AgentId: string;
8573
+ /**
8574
+ * 任务 ID
8575
+ */
8576
+ JobId: string;
8577
+ /**
8578
+ * 配置
8579
+ 注意:此字段可能返回 null,表示取不到有效值。
8580
+ */
8581
+ Config: string;
8582
+ }
8066
8583
  /**
8067
8584
  * 通知模版ID及通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
8068
8585
  */
@@ -8250,9 +8767,13 @@ export interface DescribeBasicAlarmListAlarms {
8250
8767
  InstanceGroup: Array<InstanceGroup>;
8251
8768
  }
8252
8769
  /**
8253
- * UnBindingAllPolicyObject返回参数结构体
8770
+ * CreateAlarmNotice返回参数结构体
8254
8771
  */
8255
- export interface UnBindingAllPolicyObjectResponse {
8772
+ export interface CreateAlarmNoticeResponse {
8773
+ /**
8774
+ * 告警通知模板ID
8775
+ */
8776
+ NoticeId: string;
8256
8777
  /**
8257
8778
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8258
8779
  */
@@ -8328,6 +8849,50 @@ export interface DeleteGrafanaInstanceResponse {
8328
8849
  */
8329
8850
  RequestId?: string;
8330
8851
  }
8852
+ /**
8853
+ * 托管prometheus agent概览
8854
+ */
8855
+ export interface PrometheusAgentOverview {
8856
+ /**
8857
+ * 集群类型
8858
+ */
8859
+ ClusterType: string;
8860
+ /**
8861
+ * 集群id
8862
+ */
8863
+ ClusterId: string;
8864
+ /**
8865
+ * agent状态
8866
+ normal = 正常
8867
+ abnormal = 异常
8868
+ */
8869
+ Status: string;
8870
+ /**
8871
+ * 集群名称
8872
+ */
8873
+ ClusterName: string;
8874
+ /**
8875
+ * 额外labels
8876
+ 本集群的所有指标都会带上这几个label
8877
+ 注意:此字段可能返回 null,表示取不到有效值。
8878
+ */
8879
+ ExternalLabels: Array<Label>;
8880
+ /**
8881
+ * 集群所在地域
8882
+ 注意:此字段可能返回 null,表示取不到有效值。
8883
+ */
8884
+ Region: string;
8885
+ /**
8886
+ * 集群所在VPC ID
8887
+ 注意:此字段可能返回 null,表示取不到有效值。
8888
+ */
8889
+ VpcId: string;
8890
+ /**
8891
+ * 记录关联等操作的失败信息
8892
+ 注意:此字段可能返回 null,表示取不到有效值。
8893
+ */
8894
+ FailedReason: string;
8895
+ }
8331
8896
  /**
8332
8897
  * 查询过滤参数
8333
8898
  */
@@ -8534,29 +9099,6 @@ export interface DescribeAlarmPoliciesRequest {
8534
9099
  */
8535
9100
  Tags?: Array<Tag>;
8536
9101
  }
8537
- /**
8538
- * Prometheus 抓取任务
8539
- */
8540
- export interface PrometheusScrapeJob {
8541
- /**
8542
- * 任务名
8543
- 注意:此字段可能返回 null,表示取不到有效值。
8544
- */
8545
- Name: string;
8546
- /**
8547
- * Agent ID
8548
- */
8549
- AgentId: string;
8550
- /**
8551
- * 任务 ID
8552
- */
8553
- JobId: string;
8554
- /**
8555
- * 配置
8556
- 注意:此字段可能返回 null,表示取不到有效值。
8557
- */
8558
- Config: string;
8559
- }
8560
9102
  /**
8561
9103
  * DescribePolicyConditionList.ConfigManual.StatType
8562
9104
  */
@@ -8653,6 +9195,15 @@ export interface DescribePrometheusAgentsResponse {
8653
9195
  */
8654
9196
  RequestId?: string;
8655
9197
  }
9198
+ /**
9199
+ * ModifyPrometheusGlobalNotification返回参数结构体
9200
+ */
9201
+ export interface ModifyPrometheusGlobalNotificationResponse {
9202
+ /**
9203
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9204
+ */
9205
+ RequestId?: string;
9206
+ }
8656
9207
  /**
8657
9208
  * CleanGrafanaInstance返回参数结构体
8658
9209
  */
@@ -8901,6 +9452,19 @@ export interface GrafanaNotificationChannel {
8901
9452
  */
8902
9453
  OrganizationIds: Array<string>;
8903
9454
  }
9455
+ /**
9456
+ * SetDefaultAlarmPolicy请求参数结构体
9457
+ */
9458
+ export interface SetDefaultAlarmPolicyRequest {
9459
+ /**
9460
+ * 模块名,固定值 monitor
9461
+ */
9462
+ Module: string;
9463
+ /**
9464
+ * 告警策略 ID
9465
+ */
9466
+ PolicyId: string;
9467
+ }
8904
9468
  /**
8905
9469
  * 告警通知中的推送CLS操作
8906
9470
  */