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
@@ -292,6 +292,16 @@ export interface PrometheusTag {
292
292
  Value: string
293
293
  }
294
294
 
295
+ /**
296
+ * DestroyPrometheusInstance返回参数结构体
297
+ */
298
+ export interface DestroyPrometheusInstanceResponse {
299
+ /**
300
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
301
+ */
302
+ RequestId?: string
303
+ }
304
+
295
305
  /**
296
306
  * 指标告警配置
297
307
  */
@@ -433,33 +443,45 @@ export interface BindingPolicyObjectRequest {
433
443
  }
434
444
 
435
445
  /**
436
- * CreateServiceDiscovery返回参数结构体
446
+ * DescribeAlarmNoticeCallbacks请求参数结构体
437
447
  */
438
- export interface CreateServiceDiscoveryResponse {
439
- /**
440
- * 创建成功之后,返回对应服务发现信息
441
- */
442
- ServiceDiscovery?: ServiceDiscoveryItem
443
-
448
+ export interface DescribeAlarmNoticeCallbacksRequest {
444
449
  /**
445
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
450
+ * 模块名,这里填“monitor”
446
451
  */
447
- RequestId?: string
452
+ Module: string
448
453
  }
449
454
 
450
455
  /**
451
- * prometheus 报警规则 KV 参数
456
+ * DescribeBindingPolicyObjectList返回参数结构体
452
457
  */
453
- export interface PrometheusRuleKV {
458
+ export interface DescribeBindingPolicyObjectListResponse {
454
459
  /**
455
- *
460
+ * 绑定的对象实例列表
461
+ 注意:此字段可能返回 null,表示取不到有效值。
462
+ */
463
+ List: Array<DescribeBindingPolicyObjectListInstance>
464
+
465
+ /**
466
+ * 绑定的对象实例总数
456
467
  */
457
- Key: string
468
+ Total: number
458
469
 
459
470
  /**
460
- *
471
+ * 未屏蔽的对象实例数
461
472
  */
462
- Value: string
473
+ NoShieldedSum: number
474
+
475
+ /**
476
+ * 绑定的实例分组信息,没有绑定实例分组则为空
477
+ 注意:此字段可能返回 null,表示取不到有效值。
478
+ */
479
+ InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup
480
+
481
+ /**
482
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
483
+ */
484
+ RequestId?: string
463
485
  }
464
486
 
465
487
  /**
@@ -517,6 +539,16 @@ export interface DeleteServiceDiscoveryResponse {
517
539
  RequestId?: string
518
540
  }
519
541
 
542
+ /**
543
+ * CreatePrometheusScrapeJob返回参数结构体
544
+ */
545
+ export interface CreatePrometheusScrapeJobResponse {
546
+ /**
547
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
548
+ */
549
+ RequestId?: string
550
+ }
551
+
520
552
  /**
521
553
  * 查询策略输出的用户回调信息
522
554
  */
@@ -642,6 +674,39 @@ export interface CreateAlarmPolicyRequest {
642
674
  GroupBy?: Array<string>
643
675
  }
644
676
 
677
+ /**
678
+ * CreateExporterIntegration请求参数结构体
679
+ */
680
+ export interface CreateExporterIntegrationRequest {
681
+ /**
682
+ * 实例 ID
683
+ */
684
+ InstanceId: string
685
+
686
+ /**
687
+ * Kubernetes 集群类型,取值如下:
688
+ <li> 1= 容器集群(TKE) </li>
689
+ <li> 2=弹性集群<EKS> </li>
690
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
691
+ */
692
+ KubeType: number
693
+
694
+ /**
695
+ * 集群 ID
696
+ */
697
+ ClusterId: string
698
+
699
+ /**
700
+ * 类型
701
+ */
702
+ Kind: string
703
+
704
+ /**
705
+ * 集成配置
706
+ */
707
+ Content: string
708
+ }
709
+
645
710
  /**
646
711
  * DescribeAlarmEvents返回参数结构体
647
712
  */
@@ -773,6 +838,89 @@ export interface DescribePolicyGroupInfoResponse {
773
838
  RequestId?: string
774
839
  }
775
840
 
841
+ /**
842
+ * prometheus agent
843
+ */
844
+ export interface PrometheusAgent {
845
+ /**
846
+ * Agent 名
847
+ 注意:此字段可能返回 null,表示取不到有效值。
848
+ */
849
+ Name: string
850
+
851
+ /**
852
+ * Agent ID
853
+ */
854
+ AgentId: string
855
+
856
+ /**
857
+ * 实例 ID
858
+ */
859
+ InstanceId: string
860
+
861
+ /**
862
+ * Agent IP
863
+ 注意:此字段可能返回 null,表示取不到有效值。
864
+ */
865
+ Ipv4: string
866
+
867
+ /**
868
+ * 心跳时间
869
+ 注意:此字段可能返回 null,表示取不到有效值。
870
+ */
871
+ HeartbeatTime: string
872
+
873
+ /**
874
+ * 最近一次错误
875
+ 注意:此字段可能返回 null,表示取不到有效值。
876
+ */
877
+ LastError: string
878
+
879
+ /**
880
+ * Agent 版本
881
+ 注意:此字段可能返回 null,表示取不到有效值。
882
+ */
883
+ AgentVersion: string
884
+
885
+ /**
886
+ * Agent 状态
887
+ */
888
+ Status: number
889
+ }
890
+
891
+ /**
892
+ * DeleteExporterIntegration请求参数结构体
893
+ */
894
+ export interface DeleteExporterIntegrationRequest {
895
+ /**
896
+ * 实例 ID
897
+ */
898
+ InstanceId: string
899
+
900
+ /**
901
+ * Kubernetes 集群类型,取值如下:
902
+ <li> 1= 容器集群(TKE) </li>
903
+ <li> 2=弹性集群<EKS> </li>
904
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
905
+ */
906
+ KubeType: number
907
+
908
+ /**
909
+ * 集群 ID
910
+ */
911
+ ClusterId: string
912
+
913
+ /**
914
+ * 类型
915
+ */
916
+ Kind: string
917
+
918
+ /**
919
+ * 名字
920
+ */
921
+ Name: string
922
+ }
923
+
776
924
  /**
777
925
  * ModifyAlarmPolicyNotice请求参数结构体
778
926
  */
@@ -1099,6 +1247,41 @@ export interface DescribeConditionsTemplateListRequest {
1099
1247
  UpdateTimeOrder?: string
1100
1248
  }
1101
1249
 
1250
+ /**
1251
+ * DescribePrometheusScrapeJobs请求参数结构体
1252
+ */
1253
+ export interface DescribePrometheusScrapeJobsRequest {
1254
+ /**
1255
+ * 实例 ID
1256
+ */
1257
+ InstanceId: string
1258
+
1259
+ /**
1260
+ * Agent ID
1261
+ */
1262
+ AgentId: string
1263
+
1264
+ /**
1265
+ * 任务名
1266
+ */
1267
+ Name?: string
1268
+
1269
+ /**
1270
+ * 任务 ID 列表
1271
+ */
1272
+ JobIds?: Array<string>
1273
+
1274
+ /**
1275
+ * 偏移量,默认为0
1276
+ */
1277
+ Offset?: number
1278
+
1279
+ /**
1280
+ * 返回数量,默认为20,最大值为100
1281
+ */
1282
+ Limit?: number
1283
+ }
1284
+
1102
1285
  /**
1103
1286
  * CreateAlertRule返回参数结构体
1104
1287
  */
@@ -1155,6 +1338,43 @@ export interface DescribeBaseMetricsResponse {
1155
1338
  RequestId?: string
1156
1339
  }
1157
1340
 
1341
+ /**
1342
+ * Prometheus 抓取任务
1343
+ */
1344
+ export interface PrometheusScrapeJob {
1345
+ /**
1346
+ * 任务名
1347
+ 注意:此字段可能返回 null,表示取不到有效值。
1348
+ */
1349
+ Name: string
1350
+
1351
+ /**
1352
+ * Agent ID
1353
+ */
1354
+ AgentId: string
1355
+
1356
+ /**
1357
+ * 任务 ID
1358
+ */
1359
+ JobId: string
1360
+
1361
+ /**
1362
+ * 配置
1363
+ 注意:此字段可能返回 null,表示取不到有效值。
1364
+ */
1365
+ Config: string
1366
+ }
1367
+
1368
+ /**
1369
+ * ModifyPrometheusInstanceAttributes返回参数结构体
1370
+ */
1371
+ export interface ModifyPrometheusInstanceAttributesResponse {
1372
+ /**
1373
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1374
+ */
1375
+ RequestId?: string
1376
+ }
1377
+
1158
1378
  /**
1159
1379
  * DescribeMetricData出参
1160
1380
  */
@@ -1370,6 +1590,26 @@ export interface SendCustomAlarmMsgRequest {
1370
1590
  Msg: string
1371
1591
  }
1372
1592
 
1593
+ /**
1594
+ * ModifyPrometheusInstanceAttributes请求参数结构体
1595
+ */
1596
+ export interface ModifyPrometheusInstanceAttributesRequest {
1597
+ /**
1598
+ * 实例名称
1599
+ */
1600
+ InstanceName: string
1601
+
1602
+ /**
1603
+ * 实例 ID
1604
+ */
1605
+ InstanceId: string
1606
+
1607
+ /**
1608
+ * 存储时长(取值为 15、30、45。此参数不适用于包年包月实例)
1609
+ */
1610
+ DataRetentionTime?: number
1611
+ }
1612
+
1373
1613
  /**
1374
1614
  * DescribePolicyConditionList.ConfigManual.Period
1375
1615
  */
@@ -1393,33 +1633,23 @@ export interface DescribePolicyConditionListConfigManualPeriod {
1393
1633
  }
1394
1634
 
1395
1635
  /**
1396
- * UnBindingPolicyObject请求参数结构体
1636
+ * 指标配置
1397
1637
  */
1398
- export interface UnBindingPolicyObjectRequest {
1399
- /**
1400
- * 固定值,为"monitor"
1401
- */
1402
- Module: string
1403
-
1404
- /**
1405
- * 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
1406
- */
1407
- GroupId: number
1408
-
1638
+ export interface MetricConfig {
1409
1639
  /**
1410
- * 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
1640
+ * 允许使用的运算符
1411
1641
  */
1412
- UniqueId: Array<string>
1642
+ Operator: Array<string>
1413
1643
 
1414
1644
  /**
1415
- * 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
1645
+ * 允许配置的数据周期,以秒为单位
1416
1646
  */
1417
- InstanceGroupId?: number
1647
+ Period: Array<number>
1418
1648
 
1419
1649
  /**
1420
- * 告警策略ID,使用此字段时 GroupId 会被忽略
1650
+ * 允许配置的持续周期个数
1421
1651
  */
1422
- PolicyId?: string
1652
+ ContinuePeriod: Array<number>
1423
1653
  }
1424
1654
 
1425
1655
  /**
@@ -1509,20 +1739,19 @@ export interface DeletePolicyGroupResponse {
1509
1739
  }
1510
1740
 
1511
1741
  /**
1512
- * DescribeAccidentEventList返回参数结构体
1742
+ * DescribeConditionsTemplateList返回参数结构体
1513
1743
  */
1514
- export interface DescribeAccidentEventListResponse {
1744
+ export interface DescribeConditionsTemplateListResponse {
1515
1745
  /**
1516
- * 平台事件列表
1517
- 注意:此字段可能返回 null,表示取不到有效值。
1518
- */
1519
- Alarms?: Array<DescribeAccidentEventListAlarms>
1746
+ * 模板总数
1747
+ */
1748
+ Total: number
1520
1749
 
1521
1750
  /**
1522
- * 平台事件的总数
1751
+ * 模板列表
1523
1752
  注意:此字段可能返回 null,表示取不到有效值。
1524
1753
  */
1525
- Total?: number
1754
+ TemplateGroupList: Array<TemplateGroup>
1526
1755
 
1527
1756
  /**
1528
1757
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1590,6 +1819,36 @@ export interface DimensionsDesc {
1590
1819
  Dimensions: Array<string>
1591
1820
  }
1592
1821
 
1822
+ /**
1823
+ * ModifyAlarmPolicyStatus请求参数结构体
1824
+ */
1825
+ export interface ModifyAlarmPolicyStatusRequest {
1826
+ /**
1827
+ * 模块名,固定值 monitor
1828
+ */
1829
+ Module: string
1830
+
1831
+ /**
1832
+ * 告警策略 ID
1833
+ */
1834
+ PolicyId: string
1835
+
1836
+ /**
1837
+ * 启停状态 0=停用 1=启用
1838
+ */
1839
+ Enable: number
1840
+ }
1841
+
1842
+ /**
1843
+ * UpdatePrometheusAgentStatus返回参数结构体
1844
+ */
1845
+ export interface UpdatePrometheusAgentStatusResponse {
1846
+ /**
1847
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1848
+ */
1849
+ RequestId?: string
1850
+ }
1851
+
1593
1852
  /**
1594
1853
  * Prometheus 服务发现信息
1595
1854
  */
@@ -1788,6 +2047,16 @@ export interface PeriodsSt {
1788
2047
  StatType: Array<string>
1789
2048
  }
1790
2049
 
2050
+ /**
2051
+ * BindPrometheusManagedGrafana返回参数结构体
2052
+ */
2053
+ export interface BindPrometheusManagedGrafanaResponse {
2054
+ /**
2055
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2056
+ */
2057
+ RequestId?: string
2058
+ }
2059
+
1791
2060
  /**
1792
2061
  * 告警策略详情
1793
2062
  */
@@ -2024,6 +2293,41 @@ export interface ModifyAlarmReceiversResponse {
2024
2293
  RequestId?: string
2025
2294
  }
2026
2295
 
2296
+ /**
2297
+ * Prometheus Agent 管理命令行
2298
+ */
2299
+ export interface ManagementCommand {
2300
+ /**
2301
+ * Agent 安装命令
2302
+ 注意:此字段可能返回 null,表示取不到有效值。
2303
+ */
2304
+ Install: string
2305
+
2306
+ /**
2307
+ * Agent 重启命令
2308
+ 注意:此字段可能返回 null,表示取不到有效值。
2309
+ */
2310
+ Restart: string
2311
+
2312
+ /**
2313
+ * Agent 停止命令
2314
+ 注意:此字段可能返回 null,表示取不到有效值。
2315
+ */
2316
+ Stop: string
2317
+
2318
+ /**
2319
+ * Agent 状态检测命令
2320
+ 注意:此字段可能返回 null,表示取不到有效值。
2321
+ */
2322
+ StatusCheck: string
2323
+
2324
+ /**
2325
+ * Agent 日志检测命令
2326
+ 注意:此字段可能返回 null,表示取不到有效值。
2327
+ */
2328
+ LogCheck: string
2329
+ }
2330
+
2027
2331
  /**
2028
2332
  * DescribePolicyConditionList返回参数结构体
2029
2333
  */
@@ -2146,6 +2450,21 @@ export interface DescribeAllNamespacesResponse {
2146
2450
  RequestId?: string
2147
2451
  }
2148
2452
 
2453
+ /**
2454
+ * GetPrometheusAgentManagementCommand请求参数结构体
2455
+ */
2456
+ export interface GetPrometheusAgentManagementCommandRequest {
2457
+ /**
2458
+ * Prometheus 实例 ID
2459
+ */
2460
+ InstanceId: string
2461
+
2462
+ /**
2463
+ * Prometheus Agent ID
2464
+ */
2465
+ AgentId: string
2466
+ }
2467
+
2149
2468
  /**
2150
2469
  * DeleteAlarmNotices返回参数结构体
2151
2470
  */
@@ -2156,6 +2475,48 @@ export interface DeleteAlarmNoticesResponse {
2156
2475
  RequestId?: string
2157
2476
  }
2158
2477
 
2478
+ /**
2479
+ * TerminatePrometheusInstances请求参数结构体
2480
+ */
2481
+ export interface TerminatePrometheusInstancesRequest {
2482
+ /**
2483
+ * 实例 ID 列表
2484
+ */
2485
+ InstanceIds: Array<string>
2486
+ }
2487
+
2488
+ /**
2489
+ * UnbindPrometheusManagedGrafana返回参数结构体
2490
+ */
2491
+ export interface UnbindPrometheusManagedGrafanaResponse {
2492
+ /**
2493
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2494
+ */
2495
+ RequestId?: string
2496
+ }
2497
+
2498
+ /**
2499
+ * UpdatePrometheusAgentStatus请求参数结构体
2500
+ */
2501
+ export interface UpdatePrometheusAgentStatusRequest {
2502
+ /**
2503
+ * 实例 ID
2504
+ */
2505
+ InstanceId: string
2506
+
2507
+ /**
2508
+ * Agent ID 列表
2509
+ */
2510
+ AgentIds: Array<string>
2511
+
2512
+ /**
2513
+ * 要更新的状态
2514
+ <li> 1= 开启 </li>
2515
+ <li> 2= 关闭 </li>
2516
+ */
2517
+ Status: number
2518
+ }
2519
+
2159
2520
  /**
2160
2521
  * DescribeBasicAlarmList返回参数结构体
2161
2522
  */
@@ -2327,13 +2688,61 @@ re=正则匹配
2327
2688
  }
2328
2689
 
2329
2690
  /**
2330
- * DescribeAlarmNoticeCallbacks请求参数结构体
2691
+ * CreateServiceDiscovery返回参数结构体
2331
2692
  */
2332
- export interface DescribeAlarmNoticeCallbacksRequest {
2693
+ export interface CreateServiceDiscoveryResponse {
2333
2694
  /**
2334
- * 模块名,这里填“monitor”
2695
+ * 创建成功之后,返回对应服务发现信息
2335
2696
  */
2336
- Module: string
2697
+ ServiceDiscovery?: ServiceDiscoveryItem
2698
+
2699
+ /**
2700
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2701
+ */
2702
+ RequestId?: string
2703
+ }
2704
+
2705
+ /**
2706
+ * CreatePrometheusAgent返回参数结构体
2707
+ */
2708
+ export interface CreatePrometheusAgentResponse {
2709
+ /**
2710
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2711
+ */
2712
+ RequestId?: string
2713
+ }
2714
+
2715
+ /**
2716
+ * DescribeExporterIntegrations请求参数结构体
2717
+ */
2718
+ export interface DescribeExporterIntegrationsRequest {
2719
+ /**
2720
+ * 实例 ID
2721
+ */
2722
+ InstanceId: string
2723
+
2724
+ /**
2725
+ * Kubernetes 集群类型,取值如下:
2726
+ <li> 1= 容器集群(TKE) </li>
2727
+ <li> 2=弹性集群<EKS> </li>
2728
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
2729
+ */
2730
+ KubeType: number
2731
+
2732
+ /**
2733
+ * 集群 ID
2734
+ */
2735
+ ClusterId: string
2736
+
2737
+ /**
2738
+ * 类型
2739
+ */
2740
+ Kind?: string
2741
+
2742
+ /**
2743
+ * 名字
2744
+ */
2745
+ Name?: string
2337
2746
  }
2338
2747
 
2339
2748
  /**
@@ -2369,6 +2778,38 @@ export interface ModifyAlarmPolicyConditionResponse {
2369
2778
  RequestId?: string
2370
2779
  }
2371
2780
 
2781
+ /**
2782
+ * UpgradeGrafanaDashboard请求参数结构体
2783
+ */
2784
+ export interface UpgradeGrafanaDashboardRequest {
2785
+ /**
2786
+ * 实例 ID
2787
+ */
2788
+ InstanceId: string
2789
+
2790
+ /**
2791
+ * Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
2792
+ <li>spring_mvc</li>
2793
+ <li>mysql</li>
2794
+ <li>go</li>
2795
+ <li>redis</li>
2796
+ <li>jvm</li>
2797
+ <li>pgsql</li>
2798
+ <li>mongo</li>
2799
+ <li>kafka</li>
2800
+ <li>es</li>
2801
+ <li>flink</li>
2802
+ <li>blackbox</li>
2803
+ <li>consule</li>
2804
+ <li>memcached</li>
2805
+ <li>zk</li>
2806
+ <li>tps</li>
2807
+ <li>istio</li>
2808
+ <li>etcd</li>
2809
+ */
2810
+ IntegrationCodes?: Array<string>
2811
+ }
2812
+
2372
2813
  /**
2373
2814
  * 告警对象所属实例组
2374
2815
  */
@@ -2838,6 +3279,31 @@ export interface UserNotice {
2838
3279
  Weekday?: Array<number>
2839
3280
  }
2840
3281
 
3282
+ /**
3283
+ * UpdatePrometheusScrapeJob请求参数结构体
3284
+ */
3285
+ export interface UpdatePrometheusScrapeJobRequest {
3286
+ /**
3287
+ * 实例 ID
3288
+ */
3289
+ InstanceId: string
3290
+
3291
+ /**
3292
+ * Agent ID
3293
+ */
3294
+ AgentId: string
3295
+
3296
+ /**
3297
+ * 抓取任务 ID
3298
+ */
3299
+ JobId: string
3300
+
3301
+ /**
3302
+ * 抓取任务配置
3303
+ */
3304
+ Config: string
3305
+ }
3306
+
2841
3307
  /**
2842
3308
  * 告警策略过滤条件
2843
3309
  */
@@ -2871,6 +3337,16 @@ export interface DescribeAlarmNoticeCallbacksResponse {
2871
3337
  RequestId?: string
2872
3338
  }
2873
3339
 
3340
+ /**
3341
+ * UpdateExporterIntegration返回参数结构体
3342
+ */
3343
+ export interface UpdateExporterIntegrationResponse {
3344
+ /**
3345
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3346
+ */
3347
+ RequestId?: string
3348
+ }
3349
+
2874
3350
  /**
2875
3351
  * ModifyAlarmPolicyCondition请求参数结构体
2876
3352
  */
@@ -2912,15 +3388,30 @@ export interface ModifyAlarmPolicyConditionRequest {
2912
3388
  }
2913
3389
 
2914
3390
  /**
2915
- * ModifyAlarmPolicyStatus返回参数结构体
3391
+ * ModifyAlarmNotice返回参数结构体
2916
3392
  */
2917
- export interface ModifyAlarmPolicyStatusResponse {
3393
+ export interface ModifyAlarmNoticeResponse {
2918
3394
  /**
2919
3395
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2920
3396
  */
2921
3397
  RequestId?: string
2922
3398
  }
2923
3399
 
3400
+ /**
3401
+ * BindPrometheusManagedGrafana请求参数结构体
3402
+ */
3403
+ export interface BindPrometheusManagedGrafanaRequest {
3404
+ /**
3405
+ * Prometheus 实例 ID
3406
+ */
3407
+ InstanceId: string
3408
+
3409
+ /**
3410
+ * Grafana 可视化服务实例 ID
3411
+ */
3412
+ GrafanaId: string
3413
+ }
3414
+
2924
3415
  /**
2925
3416
  * 实例维度组合数组
2926
3417
  */
@@ -2988,6 +3479,16 @@ export interface DescribeAlarmPolicyResponse {
2988
3479
  RequestId?: string
2989
3480
  }
2990
3481
 
3482
+ /**
3483
+ * DeleteExporterIntegration返回参数结构体
3484
+ */
3485
+ export interface DeleteExporterIntegrationResponse {
3486
+ /**
3487
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3488
+ */
3489
+ RequestId?: string
3490
+ }
3491
+
2991
3492
  /**
2992
3493
  * UpdateServiceDiscovery返回参数结构体
2993
3494
  */
@@ -3441,19 +3942,18 @@ export interface ModifyPolicyGroupResponse {
3441
3942
  }
3442
3943
 
3443
3944
  /**
3444
- * DescribePolicyConditionList.ConfigManual.CalcType
3945
+ * DescribeAlarmMetrics返回参数结构体
3445
3946
  */
3446
- export interface DescribePolicyConditionListConfigManualCalcType {
3947
+ export interface DescribeAlarmMetricsResponse {
3447
3948
  /**
3448
- * CalcType 取值
3449
- 注意:此字段可能返回 null,表示取不到有效值。
3450
- */
3451
- Keys: Array<number>
3949
+ * 告警指标列表
3950
+ */
3951
+ Metrics?: Array<Metric>
3452
3952
 
3453
3953
  /**
3454
- * 是否必须
3954
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3455
3955
  */
3456
- Need: boolean
3956
+ RequestId?: string
3457
3957
  }
3458
3958
 
3459
3959
  /**
@@ -3514,6 +4014,21 @@ export interface Condition {
3514
4014
  Unit: string
3515
4015
  }
3516
4016
 
4017
+ /**
4018
+ * UpdateAlertRule返回参数结构体
4019
+ */
4020
+ export interface UpdateAlertRuleResponse {
4021
+ /**
4022
+ * 规则 ID
4023
+ */
4024
+ RuleId: string
4025
+
4026
+ /**
4027
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4028
+ */
4029
+ RequestId?: string
4030
+ }
4031
+
3517
4032
  /**
3518
4033
  * PutMonitorData请求参数结构体
3519
4034
  */
@@ -3540,23 +4055,43 @@ export interface PutMonitorDataRequest {
3540
4055
  }
3541
4056
 
3542
4057
  /**
3543
- * ModifyAlarmPolicyStatus请求参数结构体
4058
+ * DescribePrometheusAgents请求参数结构体
3544
4059
  */
3545
- export interface ModifyAlarmPolicyStatusRequest {
4060
+ export interface DescribePrometheusAgentsRequest {
3546
4061
  /**
3547
- * 模块名,固定值 monitor
4062
+ * 实例 ID
3548
4063
  */
3549
- Module: string
4064
+ InstanceId: string
3550
4065
 
3551
4066
  /**
3552
- * 告警策略 ID
4067
+ * Agent 名称
3553
4068
  */
3554
- PolicyId: string
4069
+ Name?: string
3555
4070
 
3556
4071
  /**
3557
- * 启停状态 0=停用 1=启用
4072
+ * Agent ID 列表
3558
4073
  */
3559
- Enable: number
4074
+ AgentIds?: Array<string>
4075
+
4076
+ /**
4077
+ * 偏移量,默认为0
4078
+ */
4079
+ Offset?: number
4080
+
4081
+ /**
4082
+ * 返回数量,默认为20,最大值为100
4083
+ */
4084
+ Limit?: number
4085
+ }
4086
+
4087
+ /**
4088
+ * TerminatePrometheusInstances返回参数结构体
4089
+ */
4090
+ export interface TerminatePrometheusInstancesResponse {
4091
+ /**
4092
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4093
+ */
4094
+ RequestId?: string
3560
4095
  }
3561
4096
 
3562
4097
  /**
@@ -3634,6 +4169,46 @@ export interface BindingPolicyTagRequest {
3634
4169
  BatchTag?: Array<PolicyTag>
3635
4170
  }
3636
4171
 
4172
+ /**
4173
+ * export 集成配置
4174
+ */
4175
+ export interface IntegrationConfiguration {
4176
+ /**
4177
+ * 名字
4178
+ */
4179
+ Name: string
4180
+
4181
+ /**
4182
+ * 类型
4183
+ */
4184
+ Kind: string
4185
+
4186
+ /**
4187
+ * 内容
4188
+ */
4189
+ Content: string
4190
+
4191
+ /**
4192
+ * 状态
4193
+ */
4194
+ Status: number
4195
+
4196
+ /**
4197
+ * 实例类型
4198
+ */
4199
+ Category: string
4200
+
4201
+ /**
4202
+ * 实例描述
4203
+ */
4204
+ InstanceDesc: string
4205
+
4206
+ /**
4207
+ * dashboard 的 URL
4208
+ */
4209
+ GrafanaDashboardURL: string
4210
+ }
4211
+
3637
4212
  /**
3638
4213
  * UpdateAlertRule请求参数结构体
3639
4214
  */
@@ -3696,35 +4271,14 @@ export interface UpdateAlertRuleRequest {
3696
4271
  }
3697
4272
 
3698
4273
  /**
3699
- * DescribeBindingPolicyObjectList返回参数结构体
4274
+ * 告警策略事件触发条件
3700
4275
  */
3701
- export interface DescribeBindingPolicyObjectListResponse {
3702
- /**
3703
- * 绑定的对象实例列表
3704
- 注意:此字段可能返回 null,表示取不到有效值。
3705
- */
3706
- List: Array<DescribeBindingPolicyObjectListInstance>
3707
-
3708
- /**
3709
- * 绑定的对象实例总数
3710
- */
3711
- Total: number
3712
-
3713
- /**
3714
- * 未屏蔽的对象实例数
3715
- */
3716
- NoShieldedSum: number
3717
-
4276
+ export interface AlarmPolicyEventCondition {
3718
4277
  /**
3719
- * 绑定的实例分组信息,没有绑定实例分组则为空
4278
+ * 告警触发条件列表
3720
4279
  注意:此字段可能返回 null,表示取不到有效值。
3721
4280
  */
3722
- InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup
3723
-
3724
- /**
3725
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3726
- */
3727
- RequestId?: string
4281
+ Rules: Array<AlarmPolicyRule>
3728
4282
  }
3729
4283
 
3730
4284
  /**
@@ -3820,6 +4374,16 @@ export interface UnBindingPolicyObjectResponse {
3820
4374
  RequestId?: string
3821
4375
  }
3822
4376
 
4377
+ /**
4378
+ * SendCustomAlarmMsg返回参数结构体
4379
+ */
4380
+ export interface SendCustomAlarmMsgResponse {
4381
+ /**
4382
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4383
+ */
4384
+ RequestId?: string
4385
+ }
4386
+
3823
4387
  /**
3824
4388
  * DescribeBasicAlarmList返回的Alarms里的InstanceGroup
3825
4389
  */
@@ -3983,6 +4547,21 @@ export interface DeleteAlarmNoticesRequest {
3983
4547
  NoticeIds: Array<string>
3984
4548
  }
3985
4549
 
4550
+ /**
4551
+ * DescribeExporterIntegrations返回参数结构体
4552
+ */
4553
+ export interface DescribeExporterIntegrationsResponse {
4554
+ /**
4555
+ * 集成配置列表
4556
+ */
4557
+ IntegrationSet: Array<IntegrationConfiguration>
4558
+
4559
+ /**
4560
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4561
+ */
4562
+ RequestId?: string
4563
+ }
4564
+
3986
4565
  /**
3987
4566
  * DescribePolicyConditionList.ConfigManual.PeriodNum
3988
4567
  */
@@ -4005,6 +4584,16 @@ export interface DescribePolicyConditionListConfigManualPeriodNum {
4005
4584
  Need: boolean
4006
4585
  }
4007
4586
 
4587
+ /**
4588
+ * UpgradeGrafanaDashboard返回参数结构体
4589
+ */
4590
+ export interface UpgradeGrafanaDashboardResponse {
4591
+ /**
4592
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4593
+ */
4594
+ RequestId?: string
4595
+ }
4596
+
4008
4597
  /**
4009
4598
  * DescribeAllNamespaces请求参数结构体
4010
4599
  */
@@ -4117,14 +4706,24 @@ export interface PolicyGroup {
4117
4706
  }
4118
4707
 
4119
4708
  /**
4120
- * UpdateAlertRule返回参数结构体
4709
+ * UnbindPrometheusManagedGrafana请求参数结构体
4121
4710
  */
4122
- export interface UpdateAlertRuleResponse {
4711
+ export interface UnbindPrometheusManagedGrafanaRequest {
4123
4712
  /**
4124
- * 规则 ID
4713
+ * Prometheus 实例 ID
4125
4714
  */
4126
- RuleId: string
4715
+ InstanceId: string
4716
+
4717
+ /**
4718
+ * Grafana 实例 ID
4719
+ */
4720
+ GrafanaId: string
4721
+ }
4127
4722
 
4723
+ /**
4724
+ * UpdatePrometheusScrapeJob返回参数结构体
4725
+ */
4726
+ export interface UpdatePrometheusScrapeJobResponse {
4128
4727
  /**
4129
4728
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4130
4729
  */
@@ -4132,18 +4731,19 @@ export interface UpdateAlertRuleResponse {
4132
4731
  }
4133
4732
 
4134
4733
  /**
4135
- * DescribeAlarmMetrics返回参数结构体
4734
+ * DescribePolicyConditionList.ConfigManual.CalcType
4136
4735
  */
4137
- export interface DescribeAlarmMetricsResponse {
4736
+ export interface DescribePolicyConditionListConfigManualCalcType {
4138
4737
  /**
4139
- * 告警指标列表
4140
- */
4141
- Metrics?: Array<Metric>
4738
+ * CalcType 取值
4739
+ 注意:此字段可能返回 null,表示取不到有效值。
4740
+ */
4741
+ Keys: Array<number>
4142
4742
 
4143
4743
  /**
4144
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4744
+ * 是否必须
4145
4745
  */
4146
- RequestId?: string
4746
+ Need: boolean
4147
4747
  }
4148
4748
 
4149
4749
  /**
@@ -4306,19 +4906,41 @@ export interface DescribeAlarmPoliciesRequest {
4306
4906
  }
4307
4907
 
4308
4908
  /**
4309
- * DescribeConditionsTemplateList返回参数结构体
4909
+ * DescribeAccidentEventList返回参数结构体
4310
4910
  */
4311
- export interface DescribeConditionsTemplateListResponse {
4911
+ export interface DescribeAccidentEventListResponse {
4312
4912
  /**
4313
- * 模板总数
4913
+ * 平台事件列表
4914
+ 注意:此字段可能返回 null,表示取不到有效值。
4915
+ */
4916
+ Alarms?: Array<DescribeAccidentEventListAlarms>
4917
+
4918
+ /**
4919
+ * 平台事件的总数
4920
+ 注意:此字段可能返回 null,表示取不到有效值。
4921
+ */
4922
+ Total?: number
4923
+
4924
+ /**
4925
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4314
4926
  */
4315
- Total: number
4927
+ RequestId?: string
4928
+ }
4316
4929
 
4930
+ /**
4931
+ * DescribePrometheusScrapeJobs返回参数结构体
4932
+ */
4933
+ export interface DescribePrometheusScrapeJobsResponse {
4317
4934
  /**
4318
- * 模板列表
4935
+ * 任务列表
4319
4936
  注意:此字段可能返回 null,表示取不到有效值。
4320
4937
  */
4321
- TemplateGroupList: Array<TemplateGroup>
4938
+ ScrapeJobSet?: Array<PrometheusScrapeJob>
4939
+
4940
+ /**
4941
+ * 任务总量
4942
+ */
4943
+ TotalCount?: number
4322
4944
 
4323
4945
  /**
4324
4946
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4461,23 +5083,13 @@ export interface AlarmNotice {
4461
5083
  }
4462
5084
 
4463
5085
  /**
4464
- * 指标配置
5086
+ * DestroyPrometheusInstance请求参数结构体
4465
5087
  */
4466
- export interface MetricConfig {
4467
- /**
4468
- * 允许使用的运算符
4469
- */
4470
- Operator: Array<string>
4471
-
4472
- /**
4473
- * 允许配置的数据周期,以秒为单位
4474
- */
4475
- Period: Array<number>
4476
-
5088
+ export interface DestroyPrometheusInstanceRequest {
4477
5089
  /**
4478
- * 允许配置的持续周期个数
5090
+ * 实例 ID,该实例必须先被 terminate
4479
5091
  */
4480
- ContinuePeriod: Array<number>
5092
+ InstanceId: string
4481
5093
  }
4482
5094
 
4483
5095
  /**
@@ -4556,6 +5168,27 @@ export interface PolicyGroupReceiverInfo {
4556
5168
  UIDList: Array<number>
4557
5169
  }
4558
5170
 
5171
+ /**
5172
+ * DescribePrometheusAgents返回参数结构体
5173
+ */
5174
+ export interface DescribePrometheusAgentsResponse {
5175
+ /**
5176
+ * Agent 列表
5177
+ 注意:此字段可能返回 null,表示取不到有效值。
5178
+ */
5179
+ AgentSet: Array<PrometheusAgent>
5180
+
5181
+ /**
5182
+ * Agent 总量
5183
+ */
5184
+ TotalCount: number
5185
+
5186
+ /**
5187
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5188
+ */
5189
+ RequestId?: string
5190
+ }
5191
+
4559
5192
  /**
4560
5193
  * DescribeAlarmEvents请求参数结构体
4561
5194
  */
@@ -4597,13 +5230,64 @@ export interface MidQueryCondition {
4597
5230
  }
4598
5231
 
4599
5232
  /**
4600
- * ModifyAlarmNotice返回参数结构体
5233
+ * DeletePrometheusScrapeJobs请求参数结构体
4601
5234
  */
4602
- export interface ModifyAlarmNoticeResponse {
5235
+ export interface DeletePrometheusScrapeJobsRequest {
4603
5236
  /**
4604
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5237
+ * 实例 ID
4605
5238
  */
4606
- RequestId?: string
5239
+ InstanceId: string
5240
+
5241
+ /**
5242
+ * Agent ID
5243
+ */
5244
+ AgentId: string
5245
+
5246
+ /**
5247
+ * 任务 ID 列表
5248
+ */
5249
+ JobIds: Array<string>
5250
+ }
5251
+
5252
+ /**
5253
+ * 云监控告警通知模板 - 回调通知详情
5254
+ */
5255
+ export interface URLNotice {
5256
+ /**
5257
+ * 回调 url(限长256字符)
5258
+ 注意:此字段可能返回 null,表示取不到有效值。
5259
+ */
5260
+ URL: string
5261
+
5262
+ /**
5263
+ * 是否通过验证 0=否 1=是
5264
+ 注意:此字段可能返回 null,表示取不到有效值。
5265
+ */
5266
+ IsValid?: number
5267
+
5268
+ /**
5269
+ * 验证码
5270
+ 注意:此字段可能返回 null,表示取不到有效值。
5271
+ */
5272
+ ValidationCode?: string
5273
+
5274
+ /**
5275
+ * 通知开始时间 一天开始的秒数
5276
+ 注意:此字段可能返回 null,表示取不到有效值。
5277
+ */
5278
+ StartTime?: number
5279
+
5280
+ /**
5281
+ * 通知结束时间 一天开始的秒数
5282
+ 注意:此字段可能返回 null,表示取不到有效值。
5283
+ */
5284
+ EndTime?: number
5285
+
5286
+ /**
5287
+ * 通知周期 1-7表示周一到周日
5288
+ 注意:此字段可能返回 null,表示取不到有效值。
5289
+ */
5290
+ Weekday?: Array<number>
4607
5291
  }
4608
5292
 
4609
5293
  /**
@@ -4862,44 +5546,13 @@ export interface DeleteAlarmPolicyResponse {
4862
5546
  }
4863
5547
 
4864
5548
  /**
4865
- * 云监控告警通知模板 - 回调通知详情
5549
+ * DeletePrometheusScrapeJobs返回参数结构体
4866
5550
  */
4867
- export interface URLNotice {
4868
- /**
4869
- * 回调 url(限长256字符)
4870
- 注意:此字段可能返回 null,表示取不到有效值。
4871
- */
4872
- URL: string
4873
-
4874
- /**
4875
- * 是否通过验证 0=否 1=是
4876
- 注意:此字段可能返回 null,表示取不到有效值。
4877
- */
4878
- IsValid?: number
4879
-
4880
- /**
4881
- * 验证码
4882
- 注意:此字段可能返回 null,表示取不到有效值。
4883
- */
4884
- ValidationCode?: string
4885
-
4886
- /**
4887
- * 通知开始时间 一天开始的秒数
4888
- 注意:此字段可能返回 null,表示取不到有效值。
4889
- */
4890
- StartTime?: number
4891
-
5551
+ export interface DeletePrometheusScrapeJobsResponse {
4892
5552
  /**
4893
- * 通知结束时间 一天开始的秒数
4894
- 注意:此字段可能返回 null,表示取不到有效值。
4895
- */
4896
- EndTime?: number
4897
-
4898
- /**
4899
- * 通知周期 1-7表示周一到周日
4900
- 注意:此字段可能返回 null,表示取不到有效值。
4901
- */
4902
- Weekday?: Array<number>
5553
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5554
+ */
5555
+ RequestId?: string
4903
5556
  }
4904
5557
 
4905
5558
  /**
@@ -5134,6 +5787,68 @@ export interface DescribeStatisticDataResponse {
5134
5787
  RequestId?: string
5135
5788
  }
5136
5789
 
5790
+ /**
5791
+ * CreatePrometheusScrapeJob请求参数结构体
5792
+ */
5793
+ export interface CreatePrometheusScrapeJobRequest {
5794
+ /**
5795
+ * 实例 ID
5796
+ */
5797
+ InstanceId: string
5798
+
5799
+ /**
5800
+ * Agent ID
5801
+ */
5802
+ AgentId: string
5803
+
5804
+ /**
5805
+ * 任务内容
5806
+ */
5807
+ Config?: string
5808
+ }
5809
+
5810
+ /**
5811
+ * UninstallGrafanaDashboard请求参数结构体
5812
+ */
5813
+ export interface UninstallGrafanaDashboardRequest {
5814
+ /**
5815
+ * 实例 ID
5816
+ */
5817
+ InstanceId: string
5818
+
5819
+ /**
5820
+ * Prometheus 集成项 Code,删除对应的 Dashboard,Code 如下:
5821
+ <li>spring_mvc</li>
5822
+ <li>mysql</li>
5823
+ <li>go</li>
5824
+ <li>redis</li>
5825
+ <li>jvm</li>
5826
+ <li>pgsql</li>
5827
+ <li>mongo</li>
5828
+ <li>kafka</li>
5829
+ <li>es</li>
5830
+ <li>flink</li>
5831
+ <li>blackbox</li>
5832
+ <li>consule</li>
5833
+ <li>memcached</li>
5834
+ <li>zk</li>
5835
+ <li>tps</li>
5836
+ <li>istio</li>
5837
+ <li>etcd</li>
5838
+ */
5839
+ IntegrationCodes?: Array<string>
5840
+ }
5841
+
5842
+ /**
5843
+ * CreateExporterIntegration返回参数结构体
5844
+ */
5845
+ export interface CreateExporterIntegrationResponse {
5846
+ /**
5847
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5848
+ */
5849
+ RequestId?: string
5850
+ }
5851
+
5137
5852
  /**
5138
5853
  * DescribePolicyConditionList.EventMetric
5139
5854
  */
@@ -5480,6 +6195,39 @@ export interface DescribePolicyGroupListGroup {
5480
6195
  IsUnionRule: number
5481
6196
  }
5482
6197
 
6198
+ /**
6199
+ * UpdateExporterIntegration请求参数结构体
6200
+ */
6201
+ export interface UpdateExporterIntegrationRequest {
6202
+ /**
6203
+ * 实例 ID
6204
+ */
6205
+ InstanceId: string
6206
+
6207
+ /**
6208
+ * Kubernetes 集群类型,取值如下:
6209
+ <li> 1= 容器集群(TKE) </li>
6210
+ <li> 2=弹性集群<EKS> </li>
6211
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
6212
+ */
6213
+ KubeType: number
6214
+
6215
+ /**
6216
+ * 集群 ID
6217
+ */
6218
+ ClusterId: string
6219
+
6220
+ /**
6221
+ * 类型
6222
+ */
6223
+ Kind: string
6224
+
6225
+ /**
6226
+ * 配置内容
6227
+ */
6228
+ Content: string
6229
+ }
6230
+
5483
6231
  /**
5484
6232
  * DescribeAccidentEventList请求参数结构体
5485
6233
  */
@@ -5545,6 +6293,36 @@ export interface DescribeAccidentEventListRequest {
5545
6293
  AffectResource?: string
5546
6294
  }
5547
6295
 
6296
+ /**
6297
+ * UnBindingPolicyObject请求参数结构体
6298
+ */
6299
+ export interface UnBindingPolicyObjectRequest {
6300
+ /**
6301
+ * 固定值,为"monitor"
6302
+ */
6303
+ Module: string
6304
+
6305
+ /**
6306
+ * 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
6307
+ */
6308
+ GroupId: number
6309
+
6310
+ /**
6311
+ * 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
6312
+ */
6313
+ UniqueId: Array<string>
6314
+
6315
+ /**
6316
+ * 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
6317
+ */
6318
+ InstanceGroupId?: number
6319
+
6320
+ /**
6321
+ * 告警策略ID,使用此字段时 GroupId 会被忽略
6322
+ */
6323
+ PolicyId?: string
6324
+ }
6325
+
5548
6326
  /**
5549
6327
  * 指标名称和值的封装
5550
6328
  */
@@ -5621,23 +6399,6 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
5621
6399
  Regions: Array<string>
5622
6400
  }
5623
6401
 
5624
- /**
5625
- * DescribeProductEventList返回的Events里的GroupInfo
5626
- */
5627
- export interface DescribeProductEventListEventsGroupInfo {
5628
- /**
5629
- * 策略ID
5630
- 注意:此字段可能返回 null,表示取不到有效值。
5631
- */
5632
- GroupId: number
5633
-
5634
- /**
5635
- * 策略名
5636
- 注意:此字段可能返回 null,表示取不到有效值。
5637
- */
5638
- GroupName: string
5639
- }
5640
-
5641
6402
  /**
5642
6403
  * DeleteAlertRules请求参数结构体
5643
6404
  */
@@ -5668,6 +6429,21 @@ export interface DescribeAlarmNoticeRequest {
5668
6429
  NoticeId: string
5669
6430
  }
5670
6431
 
6432
+ /**
6433
+ * CreatePrometheusAgent请求参数结构体
6434
+ */
6435
+ export interface CreatePrometheusAgentRequest {
6436
+ /**
6437
+ * 实例 ID
6438
+ */
6439
+ InstanceId: string
6440
+
6441
+ /**
6442
+ * Agent 名称
6443
+ */
6444
+ Name: string
6445
+ }
6446
+
5671
6447
  /**
5672
6448
  * DescribeBindingPolicyObjectList接口的Dimension
5673
6449
  */
@@ -5988,9 +6764,39 @@ export interface DescribePolicyGroupInfoEventCondition {
5988
6764
  }
5989
6765
 
5990
6766
  /**
5991
- * SendCustomAlarmMsg返回参数结构体
6767
+ * prometheus 报警规则 KV 参数
5992
6768
  */
5993
- export interface SendCustomAlarmMsgResponse {
6769
+ export interface PrometheusRuleKV {
6770
+ /**
6771
+ * 键
6772
+ */
6773
+ Key: string
6774
+
6775
+ /**
6776
+ * 值
6777
+ */
6778
+ Value: string
6779
+ }
6780
+
6781
+ /**
6782
+ * ModifyAlarmPolicyStatus返回参数结构体
6783
+ */
6784
+ export interface ModifyAlarmPolicyStatusResponse {
6785
+ /**
6786
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6787
+ */
6788
+ RequestId?: string
6789
+ }
6790
+
6791
+ /**
6792
+ * GetPrometheusAgentManagementCommand返回参数结构体
6793
+ */
6794
+ export interface GetPrometheusAgentManagementCommandResponse {
6795
+ /**
6796
+ * Agent 管理命令
6797
+ */
6798
+ Command?: ManagementCommand
6799
+
5994
6800
  /**
5995
6801
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5996
6802
  */
@@ -6142,14 +6948,20 @@ export interface DeleteServiceDiscoveryRequest {
6142
6948
  }
6143
6949
 
6144
6950
  /**
6145
- * 告警策略事件触发条件
6951
+ * DescribeProductEventList返回的Events里的GroupInfo
6146
6952
  */
6147
- export interface AlarmPolicyEventCondition {
6953
+ export interface DescribeProductEventListEventsGroupInfo {
6148
6954
  /**
6149
- * 告警触发条件列表
6955
+ * 策略ID
6150
6956
  注意:此字段可能返回 null,表示取不到有效值。
6151
6957
  */
6152
- Rules: Array<AlarmPolicyRule>
6958
+ GroupId: number
6959
+
6960
+ /**
6961
+ * 策略名
6962
+ 注意:此字段可能返回 null,表示取不到有效值。
6963
+ */
6964
+ GroupName: string
6153
6965
  }
6154
6966
 
6155
6967
  /**
@@ -6287,6 +7099,16 @@ export interface SetDefaultAlarmPolicyResponse {
6287
7099
  RequestId?: string
6288
7100
  }
6289
7101
 
7102
+ /**
7103
+ * UninstallGrafanaDashboard返回参数结构体
7104
+ */
7105
+ export interface UninstallGrafanaDashboardResponse {
7106
+ /**
7107
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7108
+ */
7109
+ RequestId?: string
7110
+ }
7111
+
6290
7112
  /**
6291
7113
  * BindingPolicyObject返回参数结构体
6292
7114
  */