tencentcloud-sdk-nodejs 4.0.368 → 4.0.369

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 (35) hide show
  1. package/CHANGELOG.md +171 -0
  2. package/SERVICE_CHANGELOG.md +228 -92
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cme/v20191029/cme_client.ts +3 -1
  7. package/src/services/cme/v20191029/cme_models.ts +21 -0
  8. package/src/services/cpdp/v20190820/cpdp_models.ts +18 -6
  9. package/src/services/mmps/v20200710/mmps_models.ts +6 -0
  10. package/src/services/monitor/v20180724/monitor_client.ts +267 -35
  11. package/src/services/monitor/v20180724/monitor_models.ts +1004 -182
  12. package/src/services/mrs/v20200910/mrs_client.ts +1 -0
  13. package/src/services/mrs/v20200910/mrs_models.ts +65 -0
  14. package/src/services/tcbr/v20220217/tcbr_client.ts +21 -7
  15. package/src/services/tcbr/v20220217/tcbr_models.ts +183 -15
  16. package/src/services/tke/v20180525/tke_models.ts +1 -1
  17. package/src/services/vpc/v20170312/vpc_models.ts +3 -3
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +2 -1
  21. package/tencentcloud/services/cme/v20191029/cme_client.js +2 -1
  22. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -0
  23. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +16 -6
  24. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
  25. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +85 -9
  26. package/tencentcloud/services/monitor/v20180724/monitor_client.js +124 -10
  27. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +883 -171
  28. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +55 -0
  29. package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +7 -3
  30. package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +9 -3
  31. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +152 -13
  32. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
  33. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +3 -3
  34. package/test/monitor.v20180724.test.js +194 -4
  35. package/test/tcbr.v20220217.test.js +12 -2
@@ -232,6 +232,15 @@ export interface PrometheusTag {
232
232
  */
233
233
  Value: string;
234
234
  }
235
+ /**
236
+ * DestroyPrometheusInstance返回参数结构体
237
+ */
238
+ export interface DestroyPrometheusInstanceResponse {
239
+ /**
240
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
241
+ */
242
+ RequestId?: string;
243
+ }
235
244
  /**
236
245
  * 指标告警配置
237
246
  */
@@ -351,30 +360,40 @@ export interface BindingPolicyObjectRequest {
351
360
  Dimensions?: Array<BindingPolicyObjectDimension>;
352
361
  }
353
362
  /**
354
- * CreateServiceDiscovery返回参数结构体
363
+ * DescribeAlarmNoticeCallbacks请求参数结构体
355
364
  */
356
- export interface CreateServiceDiscoveryResponse {
357
- /**
358
- * 创建成功之后,返回对应服务发现信息
359
- */
360
- ServiceDiscovery?: ServiceDiscoveryItem;
365
+ export interface DescribeAlarmNoticeCallbacksRequest {
361
366
  /**
362
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
367
+ * 模块名,这里填“monitor”
363
368
  */
364
- RequestId?: string;
369
+ Module: string;
365
370
  }
366
371
  /**
367
- * prometheus 报警规则 KV 参数
372
+ * DescribeBindingPolicyObjectList返回参数结构体
368
373
  */
369
- export interface PrometheusRuleKV {
374
+ export interface DescribeBindingPolicyObjectListResponse {
370
375
  /**
371
- *
376
+ * 绑定的对象实例列表
377
+ 注意:此字段可能返回 null,表示取不到有效值。
372
378
  */
373
- Key: string;
379
+ List: Array<DescribeBindingPolicyObjectListInstance>;
374
380
  /**
375
- *
381
+ * 绑定的对象实例总数
376
382
  */
377
- Value: string;
383
+ Total: number;
384
+ /**
385
+ * 未屏蔽的对象实例数
386
+ */
387
+ NoShieldedSum: number;
388
+ /**
389
+ * 绑定的实例分组信息,没有绑定实例分组则为空
390
+ 注意:此字段可能返回 null,表示取不到有效值。
391
+ */
392
+ InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup;
393
+ /**
394
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
395
+ */
396
+ RequestId?: string;
378
397
  }
379
398
  /**
380
399
  * PutMonitorData返回参数结构体
@@ -425,6 +444,15 @@ export interface DeleteServiceDiscoveryResponse {
425
444
  */
426
445
  RequestId?: string;
427
446
  }
447
+ /**
448
+ * CreatePrometheusScrapeJob返回参数结构体
449
+ */
450
+ export interface CreatePrometheusScrapeJobResponse {
451
+ /**
452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
453
+ */
454
+ RequestId?: string;
455
+ }
428
456
  /**
429
457
  * 查询策略输出的用户回调信息
430
458
  */
@@ -528,6 +556,34 @@ export interface CreateAlarmPolicyRequest {
528
556
  */
529
557
  GroupBy?: Array<string>;
530
558
  }
559
+ /**
560
+ * CreateExporterIntegration请求参数结构体
561
+ */
562
+ export interface CreateExporterIntegrationRequest {
563
+ /**
564
+ * 实例 ID
565
+ */
566
+ InstanceId: string;
567
+ /**
568
+ * Kubernetes 集群类型,取值如下:
569
+ <li> 1= 容器集群(TKE) </li>
570
+ <li> 2=弹性集群<EKS> </li>
571
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
572
+ */
573
+ KubeType: number;
574
+ /**
575
+ * 集群 ID
576
+ */
577
+ ClusterId: string;
578
+ /**
579
+ * 类型
580
+ */
581
+ Kind: string;
582
+ /**
583
+ * 集成配置
584
+ */
585
+ Content: string;
586
+ }
531
587
  /**
532
588
  * DescribeAlarmEvents返回参数结构体
533
589
  */
@@ -637,6 +693,76 @@ export interface DescribePolicyGroupInfoResponse {
637
693
  */
638
694
  RequestId?: string;
639
695
  }
696
+ /**
697
+ * prometheus agent
698
+ */
699
+ export interface PrometheusAgent {
700
+ /**
701
+ * Agent 名
702
+ 注意:此字段可能返回 null,表示取不到有效值。
703
+ */
704
+ Name: string;
705
+ /**
706
+ * Agent ID
707
+ */
708
+ AgentId: string;
709
+ /**
710
+ * 实例 ID
711
+ */
712
+ InstanceId: string;
713
+ /**
714
+ * Agent IP
715
+ 注意:此字段可能返回 null,表示取不到有效值。
716
+ */
717
+ Ipv4: string;
718
+ /**
719
+ * 心跳时间
720
+ 注意:此字段可能返回 null,表示取不到有效值。
721
+ */
722
+ HeartbeatTime: string;
723
+ /**
724
+ * 最近一次错误
725
+ 注意:此字段可能返回 null,表示取不到有效值。
726
+ */
727
+ LastError: string;
728
+ /**
729
+ * Agent 版本
730
+ 注意:此字段可能返回 null,表示取不到有效值。
731
+ */
732
+ AgentVersion: string;
733
+ /**
734
+ * Agent 状态
735
+ */
736
+ Status: number;
737
+ }
738
+ /**
739
+ * DeleteExporterIntegration请求参数结构体
740
+ */
741
+ export interface DeleteExporterIntegrationRequest {
742
+ /**
743
+ * 实例 ID
744
+ */
745
+ InstanceId: string;
746
+ /**
747
+ * Kubernetes 集群类型,取值如下:
748
+ <li> 1= 容器集群(TKE) </li>
749
+ <li> 2=弹性集群<EKS> </li>
750
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
751
+ */
752
+ KubeType: number;
753
+ /**
754
+ * 集群 ID
755
+ */
756
+ ClusterId: string;
757
+ /**
758
+ * 类型
759
+ */
760
+ Kind: string;
761
+ /**
762
+ * 名字
763
+ */
764
+ Name: string;
765
+ }
640
766
  /**
641
767
  * ModifyAlarmPolicyNotice请求参数结构体
642
768
  */
@@ -916,6 +1042,35 @@ export interface DescribeConditionsTemplateListRequest {
916
1042
  */
917
1043
  UpdateTimeOrder?: string;
918
1044
  }
1045
+ /**
1046
+ * DescribePrometheusScrapeJobs请求参数结构体
1047
+ */
1048
+ export interface DescribePrometheusScrapeJobsRequest {
1049
+ /**
1050
+ * 实例 ID
1051
+ */
1052
+ InstanceId: string;
1053
+ /**
1054
+ * Agent ID
1055
+ */
1056
+ AgentId: string;
1057
+ /**
1058
+ * 任务名
1059
+ */
1060
+ Name?: string;
1061
+ /**
1062
+ * 任务 ID 列表
1063
+ */
1064
+ JobIds?: Array<string>;
1065
+ /**
1066
+ * 偏移量,默认为0
1067
+ */
1068
+ Offset?: number;
1069
+ /**
1070
+ * 返回数量,默认为20,最大值为100
1071
+ */
1072
+ Limit?: number;
1073
+ }
919
1074
  /**
920
1075
  * CreateAlertRule返回参数结构体
921
1076
  */
@@ -965,6 +1120,38 @@ export interface DescribeBaseMetricsResponse {
965
1120
  */
966
1121
  RequestId?: string;
967
1122
  }
1123
+ /**
1124
+ * Prometheus 抓取任务
1125
+ */
1126
+ export interface PrometheusScrapeJob {
1127
+ /**
1128
+ * 任务名
1129
+ 注意:此字段可能返回 null,表示取不到有效值。
1130
+ */
1131
+ Name: string;
1132
+ /**
1133
+ * Agent ID
1134
+ */
1135
+ AgentId: string;
1136
+ /**
1137
+ * 任务 ID
1138
+ */
1139
+ JobId: string;
1140
+ /**
1141
+ * 配置
1142
+ 注意:此字段可能返回 null,表示取不到有效值。
1143
+ */
1144
+ Config: string;
1145
+ }
1146
+ /**
1147
+ * ModifyPrometheusInstanceAttributes返回参数结构体
1148
+ */
1149
+ export interface ModifyPrometheusInstanceAttributesResponse {
1150
+ /**
1151
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1152
+ */
1153
+ RequestId?: string;
1154
+ }
968
1155
  /**
969
1156
  * DescribeMetricData出参
970
1157
  */
@@ -1148,6 +1335,23 @@ export interface SendCustomAlarmMsgRequest {
1148
1335
  */
1149
1336
  Msg: string;
1150
1337
  }
1338
+ /**
1339
+ * ModifyPrometheusInstanceAttributes请求参数结构体
1340
+ */
1341
+ export interface ModifyPrometheusInstanceAttributesRequest {
1342
+ /**
1343
+ * 实例名称
1344
+ */
1345
+ InstanceName: string;
1346
+ /**
1347
+ * 实例 ID
1348
+ */
1349
+ InstanceId: string;
1350
+ /**
1351
+ * 存储时长(取值为 15、30、45。此参数不适用于包年包月实例)
1352
+ */
1353
+ DataRetentionTime?: number;
1354
+ }
1151
1355
  /**
1152
1356
  * DescribePolicyConditionList.ConfigManual.Period
1153
1357
  */
@@ -1168,29 +1372,21 @@ export interface DescribePolicyConditionListConfigManualPeriod {
1168
1372
  Need: boolean;
1169
1373
  }
1170
1374
  /**
1171
- * UnBindingPolicyObject请求参数结构体
1375
+ * 指标配置
1172
1376
  */
1173
- export interface UnBindingPolicyObjectRequest {
1174
- /**
1175
- * 固定值,为"monitor"
1176
- */
1177
- Module: string;
1178
- /**
1179
- * 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
1180
- */
1181
- GroupId: number;
1377
+ export interface MetricConfig {
1182
1378
  /**
1183
- * 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
1379
+ * 允许使用的运算符
1184
1380
  */
1185
- UniqueId: Array<string>;
1381
+ Operator: Array<string>;
1186
1382
  /**
1187
- * 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
1383
+ * 允许配置的数据周期,以秒为单位
1188
1384
  */
1189
- InstanceGroupId?: number;
1385
+ Period: Array<number>;
1190
1386
  /**
1191
- * 告警策略ID,使用此字段时 GroupId 会被忽略
1387
+ * 允许配置的持续周期个数
1192
1388
  */
1193
- PolicyId?: string;
1389
+ ContinuePeriod: Array<number>;
1194
1390
  }
1195
1391
  /**
1196
1392
  * DescribeServiceDiscovery请求参数结构体
@@ -1266,19 +1462,18 @@ export interface DeletePolicyGroupResponse {
1266
1462
  RequestId?: string;
1267
1463
  }
1268
1464
  /**
1269
- * DescribeAccidentEventList返回参数结构体
1465
+ * DescribeConditionsTemplateList返回参数结构体
1270
1466
  */
1271
- export interface DescribeAccidentEventListResponse {
1467
+ export interface DescribeConditionsTemplateListResponse {
1272
1468
  /**
1273
- * 平台事件列表
1274
- 注意:此字段可能返回 null,表示取不到有效值。
1469
+ * 模板总数
1275
1470
  */
1276
- Alarms?: Array<DescribeAccidentEventListAlarms>;
1471
+ Total: number;
1277
1472
  /**
1278
- * 平台事件的总数
1473
+ * 模板列表
1279
1474
  注意:此字段可能返回 null,表示取不到有效值。
1280
1475
  */
1281
- Total?: number;
1476
+ TemplateGroupList: Array<TemplateGroup>;
1282
1477
  /**
1283
1478
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1284
1479
  */
@@ -1336,6 +1531,32 @@ export interface DimensionsDesc {
1336
1531
  */
1337
1532
  Dimensions: Array<string>;
1338
1533
  }
1534
+ /**
1535
+ * ModifyAlarmPolicyStatus请求参数结构体
1536
+ */
1537
+ export interface ModifyAlarmPolicyStatusRequest {
1538
+ /**
1539
+ * 模块名,固定值 monitor
1540
+ */
1541
+ Module: string;
1542
+ /**
1543
+ * 告警策略 ID
1544
+ */
1545
+ PolicyId: string;
1546
+ /**
1547
+ * 启停状态 0=停用 1=启用
1548
+ */
1549
+ Enable: number;
1550
+ }
1551
+ /**
1552
+ * UpdatePrometheusAgentStatus返回参数结构体
1553
+ */
1554
+ export interface UpdatePrometheusAgentStatusResponse {
1555
+ /**
1556
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1557
+ */
1558
+ RequestId?: string;
1559
+ }
1339
1560
  /**
1340
1561
  * Prometheus 服务发现信息
1341
1562
  */
@@ -1503,6 +1724,15 @@ export interface PeriodsSt {
1503
1724
  */
1504
1725
  StatType: Array<string>;
1505
1726
  }
1727
+ /**
1728
+ * BindPrometheusManagedGrafana返回参数结构体
1729
+ */
1730
+ export interface BindPrometheusManagedGrafanaResponse {
1731
+ /**
1732
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1733
+ */
1734
+ RequestId?: string;
1735
+ }
1506
1736
  /**
1507
1737
  * 告警策略详情
1508
1738
  */
@@ -1702,6 +1932,36 @@ export interface ModifyAlarmReceiversResponse {
1702
1932
  */
1703
1933
  RequestId?: string;
1704
1934
  }
1935
+ /**
1936
+ * Prometheus Agent 管理命令行
1937
+ */
1938
+ export interface ManagementCommand {
1939
+ /**
1940
+ * Agent 安装命令
1941
+ 注意:此字段可能返回 null,表示取不到有效值。
1942
+ */
1943
+ Install: string;
1944
+ /**
1945
+ * Agent 重启命令
1946
+ 注意:此字段可能返回 null,表示取不到有效值。
1947
+ */
1948
+ Restart: string;
1949
+ /**
1950
+ * Agent 停止命令
1951
+ 注意:此字段可能返回 null,表示取不到有效值。
1952
+ */
1953
+ Stop: string;
1954
+ /**
1955
+ * Agent 状态检测命令
1956
+ 注意:此字段可能返回 null,表示取不到有效值。
1957
+ */
1958
+ StatusCheck: string;
1959
+ /**
1960
+ * Agent 日志检测命令
1961
+ 注意:此字段可能返回 null,表示取不到有效值。
1962
+ */
1963
+ LogCheck: string;
1964
+ }
1705
1965
  /**
1706
1966
  * DescribePolicyConditionList返回参数结构体
1707
1967
  */
@@ -1806,13 +2066,63 @@ export interface DescribeAllNamespacesResponse {
1806
2066
  RequestId?: string;
1807
2067
  }
1808
2068
  /**
1809
- * DeleteAlarmNotices返回参数结构体
2069
+ * GetPrometheusAgentManagementCommand请求参数结构体
2070
+ */
2071
+ export interface GetPrometheusAgentManagementCommandRequest {
2072
+ /**
2073
+ * Prometheus 实例 ID
2074
+ */
2075
+ InstanceId: string;
2076
+ /**
2077
+ * Prometheus Agent ID
2078
+ */
2079
+ AgentId: string;
2080
+ }
2081
+ /**
2082
+ * DeleteAlarmNotices返回参数结构体
2083
+ */
2084
+ export interface DeleteAlarmNoticesResponse {
2085
+ /**
2086
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2087
+ */
2088
+ RequestId?: string;
2089
+ }
2090
+ /**
2091
+ * TerminatePrometheusInstances请求参数结构体
2092
+ */
2093
+ export interface TerminatePrometheusInstancesRequest {
2094
+ /**
2095
+ * 实例 ID 列表
2096
+ */
2097
+ InstanceIds: Array<string>;
2098
+ }
2099
+ /**
2100
+ * UnbindPrometheusManagedGrafana返回参数结构体
2101
+ */
2102
+ export interface UnbindPrometheusManagedGrafanaResponse {
2103
+ /**
2104
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2105
+ */
2106
+ RequestId?: string;
2107
+ }
2108
+ /**
2109
+ * UpdatePrometheusAgentStatus请求参数结构体
1810
2110
  */
1811
- export interface DeleteAlarmNoticesResponse {
2111
+ export interface UpdatePrometheusAgentStatusRequest {
1812
2112
  /**
1813
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2113
+ * 实例 ID
1814
2114
  */
1815
- RequestId?: string;
2115
+ InstanceId: string;
2116
+ /**
2117
+ * Agent ID 列表
2118
+ */
2119
+ AgentIds: Array<string>;
2120
+ /**
2121
+ * 要更新的状态
2122
+ <li> 1= 开启 </li>
2123
+ <li> 2= 关闭 </li>
2124
+ */
2125
+ Status: number;
1816
2126
  }
1817
2127
  /**
1818
2128
  * DescribeBasicAlarmList返回参数结构体
@@ -1962,13 +2272,54 @@ re=正则匹配
1962
2272
  ProductId?: string;
1963
2273
  }
1964
2274
  /**
1965
- * DescribeAlarmNoticeCallbacks请求参数结构体
2275
+ * CreateServiceDiscovery返回参数结构体
1966
2276
  */
1967
- export interface DescribeAlarmNoticeCallbacksRequest {
2277
+ export interface CreateServiceDiscoveryResponse {
1968
2278
  /**
1969
- * 模块名,这里填“monitor”
2279
+ * 创建成功之后,返回对应服务发现信息
1970
2280
  */
1971
- Module: string;
2281
+ ServiceDiscovery?: ServiceDiscoveryItem;
2282
+ /**
2283
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2284
+ */
2285
+ RequestId?: string;
2286
+ }
2287
+ /**
2288
+ * CreatePrometheusAgent返回参数结构体
2289
+ */
2290
+ export interface CreatePrometheusAgentResponse {
2291
+ /**
2292
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2293
+ */
2294
+ RequestId?: string;
2295
+ }
2296
+ /**
2297
+ * DescribeExporterIntegrations请求参数结构体
2298
+ */
2299
+ export interface DescribeExporterIntegrationsRequest {
2300
+ /**
2301
+ * 实例 ID
2302
+ */
2303
+ InstanceId: string;
2304
+ /**
2305
+ * Kubernetes 集群类型,取值如下:
2306
+ <li> 1= 容器集群(TKE) </li>
2307
+ <li> 2=弹性集群<EKS> </li>
2308
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
2309
+ */
2310
+ KubeType: number;
2311
+ /**
2312
+ * 集群 ID
2313
+ */
2314
+ ClusterId: string;
2315
+ /**
2316
+ * 类型
2317
+ */
2318
+ Kind?: string;
2319
+ /**
2320
+ * 名字
2321
+ */
2322
+ Name?: string;
1972
2323
  }
1973
2324
  /**
1974
2325
  * DescribeProductEventList返回的Events的Dimensions
@@ -1999,6 +2350,36 @@ export interface ModifyAlarmPolicyConditionResponse {
1999
2350
  */
2000
2351
  RequestId?: string;
2001
2352
  }
2353
+ /**
2354
+ * UpgradeGrafanaDashboard请求参数结构体
2355
+ */
2356
+ export interface UpgradeGrafanaDashboardRequest {
2357
+ /**
2358
+ * 实例 ID
2359
+ */
2360
+ InstanceId: string;
2361
+ /**
2362
+ * Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
2363
+ <li>spring_mvc</li>
2364
+ <li>mysql</li>
2365
+ <li>go</li>
2366
+ <li>redis</li>
2367
+ <li>jvm</li>
2368
+ <li>pgsql</li>
2369
+ <li>mongo</li>
2370
+ <li>kafka</li>
2371
+ <li>es</li>
2372
+ <li>flink</li>
2373
+ <li>blackbox</li>
2374
+ <li>consule</li>
2375
+ <li>memcached</li>
2376
+ <li>zk</li>
2377
+ <li>tps</li>
2378
+ <li>istio</li>
2379
+ <li>etcd</li>
2380
+ */
2381
+ IntegrationCodes?: Array<string>;
2382
+ }
2002
2383
  /**
2003
2384
  * 告警对象所属实例组
2004
2385
  */
@@ -2393,6 +2774,27 @@ export interface UserNotice {
2393
2774
  */
2394
2775
  Weekday?: Array<number>;
2395
2776
  }
2777
+ /**
2778
+ * UpdatePrometheusScrapeJob请求参数结构体
2779
+ */
2780
+ export interface UpdatePrometheusScrapeJobRequest {
2781
+ /**
2782
+ * 实例 ID
2783
+ */
2784
+ InstanceId: string;
2785
+ /**
2786
+ * Agent ID
2787
+ */
2788
+ AgentId: string;
2789
+ /**
2790
+ * 抓取任务 ID
2791
+ */
2792
+ JobId: string;
2793
+ /**
2794
+ * 抓取任务配置
2795
+ */
2796
+ Config: string;
2797
+ }
2396
2798
  /**
2397
2799
  * 告警策略过滤条件
2398
2800
  */
@@ -2422,6 +2824,15 @@ export interface DescribeAlarmNoticeCallbacksResponse {
2422
2824
  */
2423
2825
  RequestId?: string;
2424
2826
  }
2827
+ /**
2828
+ * UpdateExporterIntegration返回参数结构体
2829
+ */
2830
+ export interface UpdateExporterIntegrationResponse {
2831
+ /**
2832
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2833
+ */
2834
+ RequestId?: string;
2835
+ }
2425
2836
  /**
2426
2837
  * ModifyAlarmPolicyCondition请求参数结构体
2427
2838
  */
@@ -2456,14 +2867,27 @@ export interface ModifyAlarmPolicyConditionRequest {
2456
2867
  GroupBy?: Array<string>;
2457
2868
  }
2458
2869
  /**
2459
- * ModifyAlarmPolicyStatus返回参数结构体
2870
+ * ModifyAlarmNotice返回参数结构体
2460
2871
  */
2461
- export interface ModifyAlarmPolicyStatusResponse {
2872
+ export interface ModifyAlarmNoticeResponse {
2462
2873
  /**
2463
2874
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2464
2875
  */
2465
2876
  RequestId?: string;
2466
2877
  }
2878
+ /**
2879
+ * BindPrometheusManagedGrafana请求参数结构体
2880
+ */
2881
+ export interface BindPrometheusManagedGrafanaRequest {
2882
+ /**
2883
+ * Prometheus 实例 ID
2884
+ */
2885
+ InstanceId: string;
2886
+ /**
2887
+ * Grafana 可视化服务实例 ID
2888
+ */
2889
+ GrafanaId: string;
2890
+ }
2467
2891
  /**
2468
2892
  * 实例维度组合数组
2469
2893
  */
@@ -2522,6 +2946,15 @@ export interface DescribeAlarmPolicyResponse {
2522
2946
  */
2523
2947
  RequestId?: string;
2524
2948
  }
2949
+ /**
2950
+ * DeleteExporterIntegration返回参数结构体
2951
+ */
2952
+ export interface DeleteExporterIntegrationResponse {
2953
+ /**
2954
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2955
+ */
2956
+ RequestId?: string;
2957
+ }
2525
2958
  /**
2526
2959
  * UpdateServiceDiscovery返回参数结构体
2527
2960
  */
@@ -2902,18 +3335,17 @@ export interface ModifyPolicyGroupResponse {
2902
3335
  RequestId?: string;
2903
3336
  }
2904
3337
  /**
2905
- * DescribePolicyConditionList.ConfigManual.CalcType
3338
+ * DescribeAlarmMetrics返回参数结构体
2906
3339
  */
2907
- export interface DescribePolicyConditionListConfigManualCalcType {
3340
+ export interface DescribeAlarmMetricsResponse {
2908
3341
  /**
2909
- * CalcType 取值
2910
- 注意:此字段可能返回 null,表示取不到有效值。
3342
+ * 告警指标列表
2911
3343
  */
2912
- Keys: Array<number>;
3344
+ Metrics?: Array<Metric>;
2913
3345
  /**
2914
- * 是否必须
3346
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2915
3347
  */
2916
- Need: boolean;
3348
+ RequestId?: string;
2917
3349
  }
2918
3350
  /**
2919
3351
  * 告警条件
@@ -2963,6 +3395,19 @@ export interface Condition {
2963
3395
  */
2964
3396
  Unit: string;
2965
3397
  }
3398
+ /**
3399
+ * UpdateAlertRule返回参数结构体
3400
+ */
3401
+ export interface UpdateAlertRuleResponse {
3402
+ /**
3403
+ * 规则 ID
3404
+ */
3405
+ RuleId: string;
3406
+ /**
3407
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3408
+ */
3409
+ RequestId?: string;
3410
+ }
2966
3411
  /**
2967
3412
  * PutMonitorData请求参数结构体
2968
3413
  */
@@ -2985,21 +3430,38 @@ export interface PutMonitorDataRequest {
2985
3430
  AnnounceInstance?: string;
2986
3431
  }
2987
3432
  /**
2988
- * ModifyAlarmPolicyStatus请求参数结构体
3433
+ * DescribePrometheusAgents请求参数结构体
2989
3434
  */
2990
- export interface ModifyAlarmPolicyStatusRequest {
3435
+ export interface DescribePrometheusAgentsRequest {
2991
3436
  /**
2992
- * 模块名,固定值 monitor
3437
+ * 实例 ID
2993
3438
  */
2994
- Module: string;
3439
+ InstanceId: string;
2995
3440
  /**
2996
- * 告警策略 ID
3441
+ * Agent 名称
2997
3442
  */
2998
- PolicyId: string;
3443
+ Name?: string;
2999
3444
  /**
3000
- * 启停状态 0=停用 1=启用
3445
+ * Agent ID 列表
3001
3446
  */
3002
- Enable: number;
3447
+ AgentIds?: Array<string>;
3448
+ /**
3449
+ * 偏移量,默认为0
3450
+ */
3451
+ Offset?: number;
3452
+ /**
3453
+ * 返回数量,默认为20,最大值为100
3454
+ */
3455
+ Limit?: number;
3456
+ }
3457
+ /**
3458
+ * TerminatePrometheusInstances返回参数结构体
3459
+ */
3460
+ export interface TerminatePrometheusInstancesResponse {
3461
+ /**
3462
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3463
+ */
3464
+ RequestId?: string;
3003
3465
  }
3004
3466
  /**
3005
3467
  * DescribeMetricData接口出参
@@ -3064,6 +3526,39 @@ export interface BindingPolicyTagRequest {
3064
3526
  */
3065
3527
  BatchTag?: Array<PolicyTag>;
3066
3528
  }
3529
+ /**
3530
+ * export 集成配置
3531
+ */
3532
+ export interface IntegrationConfiguration {
3533
+ /**
3534
+ * 名字
3535
+ */
3536
+ Name: string;
3537
+ /**
3538
+ * 类型
3539
+ */
3540
+ Kind: string;
3541
+ /**
3542
+ * 内容
3543
+ */
3544
+ Content: string;
3545
+ /**
3546
+ * 状态
3547
+ */
3548
+ Status: number;
3549
+ /**
3550
+ * 实例类型
3551
+ */
3552
+ Category: string;
3553
+ /**
3554
+ * 实例描述
3555
+ */
3556
+ InstanceDesc: string;
3557
+ /**
3558
+ * dashboard 的 URL
3559
+ */
3560
+ GrafanaDashboardURL: string;
3561
+ }
3067
3562
  /**
3068
3563
  * UpdateAlertRule请求参数结构体
3069
3564
  */
@@ -3116,31 +3611,14 @@ export interface UpdateAlertRuleRequest {
3116
3611
  Type?: string;
3117
3612
  }
3118
3613
  /**
3119
- * DescribeBindingPolicyObjectList返回参数结构体
3614
+ * 告警策略事件触发条件
3120
3615
  */
3121
- export interface DescribeBindingPolicyObjectListResponse {
3122
- /**
3123
- * 绑定的对象实例列表
3124
- 注意:此字段可能返回 null,表示取不到有效值。
3125
- */
3126
- List: Array<DescribeBindingPolicyObjectListInstance>;
3127
- /**
3128
- * 绑定的对象实例总数
3129
- */
3130
- Total: number;
3131
- /**
3132
- * 未屏蔽的对象实例数
3133
- */
3134
- NoShieldedSum: number;
3616
+ export interface AlarmPolicyEventCondition {
3135
3617
  /**
3136
- * 绑定的实例分组信息,没有绑定实例分组则为空
3618
+ * 告警触发条件列表
3137
3619
  注意:此字段可能返回 null,表示取不到有效值。
3138
3620
  */
3139
- InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup;
3140
- /**
3141
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3142
- */
3143
- RequestId?: string;
3621
+ Rules: Array<AlarmPolicyRule>;
3144
3622
  }
3145
3623
  /**
3146
3624
  * 查询策略输出的模板策略组信息
@@ -3220,6 +3698,15 @@ export interface UnBindingPolicyObjectResponse {
3220
3698
  */
3221
3699
  RequestId?: string;
3222
3700
  }
3701
+ /**
3702
+ * SendCustomAlarmMsg返回参数结构体
3703
+ */
3704
+ export interface SendCustomAlarmMsgResponse {
3705
+ /**
3706
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3707
+ */
3708
+ RequestId?: string;
3709
+ }
3223
3710
  /**
3224
3711
  * DescribeBasicAlarmList返回的Alarms里的InstanceGroup
3225
3712
  */
@@ -3358,6 +3845,19 @@ export interface DeleteAlarmNoticesRequest {
3358
3845
  */
3359
3846
  NoticeIds: Array<string>;
3360
3847
  }
3848
+ /**
3849
+ * DescribeExporterIntegrations返回参数结构体
3850
+ */
3851
+ export interface DescribeExporterIntegrationsResponse {
3852
+ /**
3853
+ * 集成配置列表
3854
+ */
3855
+ IntegrationSet: Array<IntegrationConfiguration>;
3856
+ /**
3857
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3858
+ */
3859
+ RequestId?: string;
3860
+ }
3361
3861
  /**
3362
3862
  * DescribePolicyConditionList.ConfigManual.PeriodNum
3363
3863
  */
@@ -3377,6 +3877,15 @@ export interface DescribePolicyConditionListConfigManualPeriodNum {
3377
3877
  */
3378
3878
  Need: boolean;
3379
3879
  }
3880
+ /**
3881
+ * UpgradeGrafanaDashboard返回参数结构体
3882
+ */
3883
+ export interface UpgradeGrafanaDashboardResponse {
3884
+ /**
3885
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3886
+ */
3887
+ RequestId?: string;
3888
+ }
3380
3889
  /**
3381
3890
  * DescribeAllNamespaces请求参数结构体
3382
3891
  */
@@ -3469,30 +3978,40 @@ export interface PolicyGroup {
3469
3978
  IsUnionRule: number;
3470
3979
  }
3471
3980
  /**
3472
- * UpdateAlertRule返回参数结构体
3981
+ * UnbindPrometheusManagedGrafana请求参数结构体
3473
3982
  */
3474
- export interface UpdateAlertRuleResponse {
3983
+ export interface UnbindPrometheusManagedGrafanaRequest {
3475
3984
  /**
3476
- * 规则 ID
3985
+ * Prometheus 实例 ID
3477
3986
  */
3478
- RuleId: string;
3987
+ InstanceId: string;
3988
+ /**
3989
+ * Grafana 实例 ID
3990
+ */
3991
+ GrafanaId: string;
3992
+ }
3993
+ /**
3994
+ * UpdatePrometheusScrapeJob返回参数结构体
3995
+ */
3996
+ export interface UpdatePrometheusScrapeJobResponse {
3479
3997
  /**
3480
3998
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3481
3999
  */
3482
4000
  RequestId?: string;
3483
4001
  }
3484
4002
  /**
3485
- * DescribeAlarmMetrics返回参数结构体
4003
+ * DescribePolicyConditionList.ConfigManual.CalcType
3486
4004
  */
3487
- export interface DescribeAlarmMetricsResponse {
4005
+ export interface DescribePolicyConditionListConfigManualCalcType {
3488
4006
  /**
3489
- * 告警指标列表
4007
+ * CalcType 取值
4008
+ 注意:此字段可能返回 null,表示取不到有效值。
3490
4009
  */
3491
- Metrics?: Array<Metric>;
4010
+ Keys: Array<number>;
3492
4011
  /**
3493
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4012
+ * 是否必须
3494
4013
  */
3495
- RequestId?: string;
4014
+ Need: boolean;
3496
4015
  }
3497
4016
  /**
3498
4017
  * DescribePolicyGroupList接口策略组绑定的实例分组信息
@@ -3617,27 +4136,46 @@ export interface DescribeAlarmPoliciesRequest {
3617
4136
  */
3618
4137
  NeedCorrespondence?: number;
3619
4138
  /**
3620
- * 按照触发任务(例如弹性伸缩)过滤策略。最多10个
4139
+ * 按照触发任务(例如弹性伸缩)过滤策略。最多10个
4140
+ */
4141
+ TriggerTasks?: Array<AlarmPolicyTriggerTask>;
4142
+ /**
4143
+ * 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
4144
+ */
4145
+ OneClickPolicyType?: Array<string>;
4146
+ }
4147
+ /**
4148
+ * DescribeAccidentEventList返回参数结构体
4149
+ */
4150
+ export interface DescribeAccidentEventListResponse {
4151
+ /**
4152
+ * 平台事件列表
4153
+ 注意:此字段可能返回 null,表示取不到有效值。
4154
+ */
4155
+ Alarms?: Array<DescribeAccidentEventListAlarms>;
4156
+ /**
4157
+ * 平台事件的总数
4158
+ 注意:此字段可能返回 null,表示取不到有效值。
3621
4159
  */
3622
- TriggerTasks?: Array<AlarmPolicyTriggerTask>;
4160
+ Total?: number;
3623
4161
  /**
3624
- * 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
4162
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3625
4163
  */
3626
- OneClickPolicyType?: Array<string>;
4164
+ RequestId?: string;
3627
4165
  }
3628
4166
  /**
3629
- * DescribeConditionsTemplateList返回参数结构体
4167
+ * DescribePrometheusScrapeJobs返回参数结构体
3630
4168
  */
3631
- export interface DescribeConditionsTemplateListResponse {
4169
+ export interface DescribePrometheusScrapeJobsResponse {
3632
4170
  /**
3633
- * 模板总数
4171
+ * 任务列表
4172
+ 注意:此字段可能返回 null,表示取不到有效值。
3634
4173
  */
3635
- Total: number;
4174
+ ScrapeJobSet?: Array<PrometheusScrapeJob>;
3636
4175
  /**
3637
- * 模板列表
3638
- 注意:此字段可能返回 null,表示取不到有效值。
4176
+ * 任务总量
3639
4177
  */
3640
- TemplateGroupList: Array<TemplateGroup>;
4178
+ TotalCount?: number;
3641
4179
  /**
3642
4180
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3643
4181
  */
@@ -3758,21 +4296,13 @@ export interface AlarmNotice {
3758
4296
  CLSNotices: Array<CLSNotice>;
3759
4297
  }
3760
4298
  /**
3761
- * 指标配置
4299
+ * DestroyPrometheusInstance请求参数结构体
3762
4300
  */
3763
- export interface MetricConfig {
3764
- /**
3765
- * 允许使用的运算符
3766
- */
3767
- Operator: Array<string>;
3768
- /**
3769
- * 允许配置的数据周期,以秒为单位
3770
- */
3771
- Period: Array<number>;
4301
+ export interface DestroyPrometheusInstanceRequest {
3772
4302
  /**
3773
- * 允许配置的持续周期个数
4303
+ * 实例 ID,该实例必须先被 terminate
3774
4304
  */
3775
- ContinuePeriod: Array<number>;
4305
+ InstanceId: string;
3776
4306
  }
3777
4307
  /**
3778
4308
  * 2018版策略模板列表接收人信息
@@ -3837,6 +4367,24 @@ export interface PolicyGroupReceiverInfo {
3837
4367
  */
3838
4368
  UIDList: Array<number>;
3839
4369
  }
4370
+ /**
4371
+ * DescribePrometheusAgents返回参数结构体
4372
+ */
4373
+ export interface DescribePrometheusAgentsResponse {
4374
+ /**
4375
+ * Agent 列表
4376
+ 注意:此字段可能返回 null,表示取不到有效值。
4377
+ */
4378
+ AgentSet: Array<PrometheusAgent>;
4379
+ /**
4380
+ * Agent 总量
4381
+ */
4382
+ TotalCount: number;
4383
+ /**
4384
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4385
+ */
4386
+ RequestId?: string;
4387
+ }
3840
4388
  /**
3841
4389
  * DescribeAlarmEvents请求参数结构体
3842
4390
  */
@@ -3872,13 +4420,56 @@ export interface MidQueryCondition {
3872
4420
  Value: Array<string>;
3873
4421
  }
3874
4422
  /**
3875
- * ModifyAlarmNotice返回参数结构体
4423
+ * DeletePrometheusScrapeJobs请求参数结构体
3876
4424
  */
3877
- export interface ModifyAlarmNoticeResponse {
4425
+ export interface DeletePrometheusScrapeJobsRequest {
3878
4426
  /**
3879
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4427
+ * 实例 ID
3880
4428
  */
3881
- RequestId?: string;
4429
+ InstanceId: string;
4430
+ /**
4431
+ * Agent ID
4432
+ */
4433
+ AgentId: string;
4434
+ /**
4435
+ * 任务 ID 列表
4436
+ */
4437
+ JobIds: Array<string>;
4438
+ }
4439
+ /**
4440
+ * 云监控告警通知模板 - 回调通知详情
4441
+ */
4442
+ export interface URLNotice {
4443
+ /**
4444
+ * 回调 url(限长256字符)
4445
+ 注意:此字段可能返回 null,表示取不到有效值。
4446
+ */
4447
+ URL: string;
4448
+ /**
4449
+ * 是否通过验证 0=否 1=是
4450
+ 注意:此字段可能返回 null,表示取不到有效值。
4451
+ */
4452
+ IsValid?: number;
4453
+ /**
4454
+ * 验证码
4455
+ 注意:此字段可能返回 null,表示取不到有效值。
4456
+ */
4457
+ ValidationCode?: string;
4458
+ /**
4459
+ * 通知开始时间 一天开始的秒数
4460
+ 注意:此字段可能返回 null,表示取不到有效值。
4461
+ */
4462
+ StartTime?: number;
4463
+ /**
4464
+ * 通知结束时间 一天开始的秒数
4465
+ 注意:此字段可能返回 null,表示取不到有效值。
4466
+ */
4467
+ EndTime?: number;
4468
+ /**
4469
+ * 通知周期 1-7表示周一到周日
4470
+ 注意:此字段可能返回 null,表示取不到有效值。
4471
+ */
4472
+ Weekday?: Array<number>;
3882
4473
  }
3883
4474
  /**
3884
4475
  * CreateAlertRule请求参数结构体
@@ -4093,39 +4684,13 @@ export interface DeleteAlarmPolicyResponse {
4093
4684
  RequestId?: string;
4094
4685
  }
4095
4686
  /**
4096
- * 云监控告警通知模板 - 回调通知详情
4687
+ * DeletePrometheusScrapeJobs返回参数结构体
4097
4688
  */
4098
- export interface URLNotice {
4099
- /**
4100
- * 回调 url(限长256字符)
4101
- 注意:此字段可能返回 null,表示取不到有效值。
4102
- */
4103
- URL: string;
4104
- /**
4105
- * 是否通过验证 0=否 1=是
4106
- 注意:此字段可能返回 null,表示取不到有效值。
4107
- */
4108
- IsValid?: number;
4109
- /**
4110
- * 验证码
4111
- 注意:此字段可能返回 null,表示取不到有效值。
4112
- */
4113
- ValidationCode?: string;
4114
- /**
4115
- * 通知开始时间 一天开始的秒数
4116
- 注意:此字段可能返回 null,表示取不到有效值。
4117
- */
4118
- StartTime?: number;
4119
- /**
4120
- * 通知结束时间 一天开始的秒数
4121
- 注意:此字段可能返回 null,表示取不到有效值。
4122
- */
4123
- EndTime?: number;
4689
+ export interface DeletePrometheusScrapeJobsResponse {
4124
4690
  /**
4125
- * 通知周期 1-7表示周一到周日
4126
- 注意:此字段可能返回 null,表示取不到有效值。
4691
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4127
4692
  */
4128
- Weekday?: Array<number>;
4693
+ RequestId?: string;
4129
4694
  }
4130
4695
  /**
4131
4696
  * DescribeAlarmPolicy请求参数结构体
@@ -4318,6 +4883,62 @@ export interface DescribeStatisticDataResponse {
4318
4883
  */
4319
4884
  RequestId?: string;
4320
4885
  }
4886
+ /**
4887
+ * CreatePrometheusScrapeJob请求参数结构体
4888
+ */
4889
+ export interface CreatePrometheusScrapeJobRequest {
4890
+ /**
4891
+ * 实例 ID
4892
+ */
4893
+ InstanceId: string;
4894
+ /**
4895
+ * Agent ID
4896
+ */
4897
+ AgentId: string;
4898
+ /**
4899
+ * 任务内容
4900
+ */
4901
+ Config?: string;
4902
+ }
4903
+ /**
4904
+ * UninstallGrafanaDashboard请求参数结构体
4905
+ */
4906
+ export interface UninstallGrafanaDashboardRequest {
4907
+ /**
4908
+ * 实例 ID
4909
+ */
4910
+ InstanceId: string;
4911
+ /**
4912
+ * Prometheus 集成项 Code,删除对应的 Dashboard,Code 如下:
4913
+ <li>spring_mvc</li>
4914
+ <li>mysql</li>
4915
+ <li>go</li>
4916
+ <li>redis</li>
4917
+ <li>jvm</li>
4918
+ <li>pgsql</li>
4919
+ <li>mongo</li>
4920
+ <li>kafka</li>
4921
+ <li>es</li>
4922
+ <li>flink</li>
4923
+ <li>blackbox</li>
4924
+ <li>consule</li>
4925
+ <li>memcached</li>
4926
+ <li>zk</li>
4927
+ <li>tps</li>
4928
+ <li>istio</li>
4929
+ <li>etcd</li>
4930
+ */
4931
+ IntegrationCodes?: Array<string>;
4932
+ }
4933
+ /**
4934
+ * CreateExporterIntegration返回参数结构体
4935
+ */
4936
+ export interface CreateExporterIntegrationResponse {
4937
+ /**
4938
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4939
+ */
4940
+ RequestId?: string;
4941
+ }
4321
4942
  /**
4322
4943
  * DescribePolicyConditionList.EventMetric
4323
4944
  */
@@ -4602,6 +5223,34 @@ export interface DescribePolicyGroupListGroup {
4602
5223
  */
4603
5224
  IsUnionRule: number;
4604
5225
  }
5226
+ /**
5227
+ * UpdateExporterIntegration请求参数结构体
5228
+ */
5229
+ export interface UpdateExporterIntegrationRequest {
5230
+ /**
5231
+ * 实例 ID
5232
+ */
5233
+ InstanceId: string;
5234
+ /**
5235
+ * Kubernetes 集群类型,取值如下:
5236
+ <li> 1= 容器集群(TKE) </li>
5237
+ <li> 2=弹性集群<EKS> </li>
5238
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
5239
+ */
5240
+ KubeType: number;
5241
+ /**
5242
+ * 集群 ID
5243
+ */
5244
+ ClusterId: string;
5245
+ /**
5246
+ * 类型
5247
+ */
5248
+ Kind: string;
5249
+ /**
5250
+ * 配置内容
5251
+ */
5252
+ Content: string;
5253
+ }
4605
5254
  /**
4606
5255
  * DescribeAccidentEventList请求参数结构体
4607
5256
  */
@@ -4655,6 +5304,31 @@ export interface DescribeAccidentEventListRequest {
4655
5304
  */
4656
5305
  AffectResource?: string;
4657
5306
  }
5307
+ /**
5308
+ * UnBindingPolicyObject请求参数结构体
5309
+ */
5310
+ export interface UnBindingPolicyObjectRequest {
5311
+ /**
5312
+ * 固定值,为"monitor"
5313
+ */
5314
+ Module: string;
5315
+ /**
5316
+ * 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
5317
+ */
5318
+ GroupId: number;
5319
+ /**
5320
+ * 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
5321
+ */
5322
+ UniqueId: Array<string>;
5323
+ /**
5324
+ * 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
5325
+ */
5326
+ InstanceGroupId?: number;
5327
+ /**
5328
+ * 告警策略ID,使用此字段时 GroupId 会被忽略
5329
+ */
5330
+ PolicyId?: string;
5331
+ }
4658
5332
  /**
4659
5333
  * 指标名称和值的封装
4660
5334
  */
@@ -4719,21 +5393,6 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
4719
5393
  */
4720
5394
  Regions: Array<string>;
4721
5395
  }
4722
- /**
4723
- * DescribeProductEventList返回的Events里的GroupInfo
4724
- */
4725
- export interface DescribeProductEventListEventsGroupInfo {
4726
- /**
4727
- * 策略ID
4728
- 注意:此字段可能返回 null,表示取不到有效值。
4729
- */
4730
- GroupId: number;
4731
- /**
4732
- * 策略名
4733
- 注意:此字段可能返回 null,表示取不到有效值。
4734
- */
4735
- GroupName: string;
4736
- }
4737
5396
  /**
4738
5397
  * DeleteAlertRules请求参数结构体
4739
5398
  */
@@ -4760,6 +5419,19 @@ export interface DescribeAlarmNoticeRequest {
4760
5419
  */
4761
5420
  NoticeId: string;
4762
5421
  }
5422
+ /**
5423
+ * CreatePrometheusAgent请求参数结构体
5424
+ */
5425
+ export interface CreatePrometheusAgentRequest {
5426
+ /**
5427
+ * 实例 ID
5428
+ */
5429
+ InstanceId: string;
5430
+ /**
5431
+ * Agent 名称
5432
+ */
5433
+ Name: string;
5434
+ }
4763
5435
  /**
4764
5436
  * DescribeBindingPolicyObjectList接口的Dimension
4765
5437
  */
@@ -5025,9 +5697,35 @@ export interface DescribePolicyGroupInfoEventCondition {
5025
5697
  AlarmNotifyType: number;
5026
5698
  }
5027
5699
  /**
5028
- * SendCustomAlarmMsg返回参数结构体
5700
+ * prometheus 报警规则 KV 参数
5029
5701
  */
5030
- export interface SendCustomAlarmMsgResponse {
5702
+ export interface PrometheusRuleKV {
5703
+ /**
5704
+ * 键
5705
+ */
5706
+ Key: string;
5707
+ /**
5708
+ * 值
5709
+ */
5710
+ Value: string;
5711
+ }
5712
+ /**
5713
+ * ModifyAlarmPolicyStatus返回参数结构体
5714
+ */
5715
+ export interface ModifyAlarmPolicyStatusResponse {
5716
+ /**
5717
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5718
+ */
5719
+ RequestId?: string;
5720
+ }
5721
+ /**
5722
+ * GetPrometheusAgentManagementCommand返回参数结构体
5723
+ */
5724
+ export interface GetPrometheusAgentManagementCommandResponse {
5725
+ /**
5726
+ * Agent 管理命令
5727
+ */
5728
+ Command?: ManagementCommand;
5031
5729
  /**
5032
5730
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5033
5731
  */
@@ -5155,14 +5853,19 @@ export interface DeleteServiceDiscoveryRequest {
5155
5853
  Yaml: string;
5156
5854
  }
5157
5855
  /**
5158
- * 告警策略事件触发条件
5856
+ * DescribeProductEventList返回的Events里的GroupInfo
5159
5857
  */
5160
- export interface AlarmPolicyEventCondition {
5858
+ export interface DescribeProductEventListEventsGroupInfo {
5161
5859
  /**
5162
- * 告警触发条件列表
5860
+ * 策略ID
5163
5861
  注意:此字段可能返回 null,表示取不到有效值。
5164
5862
  */
5165
- Rules: Array<AlarmPolicyRule>;
5863
+ GroupId: number;
5864
+ /**
5865
+ * 策略名
5866
+ 注意:此字段可能返回 null,表示取不到有效值。
5867
+ */
5868
+ GroupName: string;
5166
5869
  }
5167
5870
  /**
5168
5871
  * DescribePrometheusInstances请求参数结构体
@@ -5280,6 +5983,15 @@ export interface SetDefaultAlarmPolicyResponse {
5280
5983
  */
5281
5984
  RequestId?: string;
5282
5985
  }
5986
+ /**
5987
+ * UninstallGrafanaDashboard返回参数结构体
5988
+ */
5989
+ export interface UninstallGrafanaDashboardResponse {
5990
+ /**
5991
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5992
+ */
5993
+ RequestId?: string;
5994
+ }
5283
5995
  /**
5284
5996
  * BindingPolicyObject返回参数结构体
5285
5997
  */