tencentcloud-sdk-nodejs 4.0.418 → 4.0.421

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 (62) hide show
  1. package/CHANGELOG.md +394 -0
  2. package/README.md +3 -3
  3. package/SERVICE_CHANGELOG.md +297 -260
  4. package/package.json +1 -1
  5. package/products.md +16 -16
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/bma/v20210624/bma_client.ts +20 -8
  8. package/src/services/bma/v20210624/bma_models.ts +100 -50
  9. package/src/services/captcha/v20190722/captcha_models.ts +0 -1
  10. package/src/services/ccc/v20200210/ccc_models.ts +6 -1
  11. package/src/services/cfw/v20190904/cfw_models.ts +2 -2
  12. package/src/services/clb/v20180317/clb_models.ts +1 -1
  13. package/src/services/cls/v20201016/cls_models.ts +5 -0
  14. package/src/services/cvm/v20170312/cvm_models.ts +10 -3
  15. package/src/services/ess/v20201111/ess_models.ts +2 -2
  16. package/src/services/gme/v20180711/gme_client.ts +21 -61
  17. package/src/services/gme/v20180711/gme_models.ts +50 -236
  18. package/src/services/live/v20180801/live_client.ts +2 -1
  19. package/src/services/live/v20180801/live_models.ts +88 -5
  20. package/src/services/monitor/v20180724/monitor_client.ts +909 -495
  21. package/src/services/monitor/v20180724/monitor_models.ts +1606 -403
  22. package/src/services/partners/v20180321/partners_models.ts +5 -4
  23. package/src/services/sms/v20210111/sms_client.ts +14 -0
  24. package/src/services/sms/v20210111/sms_models.ts +50 -0
  25. package/src/services/teo/v20220106/teo_client.ts +3 -2
  26. package/src/services/teo/v20220106/teo_models.ts +252 -183
  27. package/src/services/tke/v20180525/tke_client.ts +54 -42
  28. package/src/services/tke/v20180525/tke_models.ts +111 -41
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/bma/v20210624/bma_client.d.ts +7 -3
  32. package/tencentcloud/services/bma/v20210624/bma_client.js +9 -3
  33. package/tencentcloud/services/bma/v20210624/bma_models.d.ts +86 -44
  34. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +0 -1
  35. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -1
  36. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +2 -2
  37. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  38. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -0
  39. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -1
  40. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  41. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +7 -21
  42. package/tencentcloud/services/gme/v20180711/gme_client.js +9 -29
  43. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +41 -200
  44. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  45. package/tencentcloud/services/live/v20180801/live_models.d.ts +77 -5
  46. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +305 -169
  47. package/tencentcloud/services/monitor/v20180724/monitor_client.js +449 -245
  48. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1368 -332
  49. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +3 -2
  50. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +6 -1
  51. package/tencentcloud/services/sms/v20210111/sms_client.js +7 -0
  52. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +43 -0
  53. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
  54. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +216 -150
  55. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +19 -15
  56. package/tencentcloud/services/tke/v20180525/tke_client.js +27 -21
  57. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +98 -40
  58. package/test/bma.v20210624.test.js +12 -2
  59. package/test/gme.v20180711.test.js +6 -36
  60. package/test/monitor.v20180724.test.js +492 -152
  61. package/test/sms.v20210111.test.js +10 -0
  62. package/test/tke.v20180525.test.js +30 -20
@@ -1,3 +1,23 @@
1
+ /**
2
+ * UpdateAlertRuleState请求参数结构体
3
+ */
4
+ export interface UpdateAlertRuleStateRequest {
5
+ /**
6
+ * 规则 ID 列表
7
+ */
8
+ RuleIds: Array<string>;
9
+ /**
10
+ * Prometheus 实例 ID
11
+ */
12
+ InstanceId: string;
13
+ /**
14
+ * 规则状态码,取值如下:
15
+ <li>2=RuleEnabled</li>
16
+ <li>3=RuleDisabled</li>
17
+ 默认状态码为 2 启用。
18
+ */
19
+ RuleState: number;
20
+ }
1
21
  /**
2
22
  * 策略列表详情标签返回体
3
23
  */
@@ -74,9 +94,22 @@ export interface DescribePolicyConditionListConfigManual {
74
94
  StatType: DescribePolicyConditionListConfigManualStatType;
75
95
  }
76
96
  /**
77
- * ModifyAlarmPolicyNotice返回参数结构体
97
+ * InstallPlugins请求参数结构体
78
98
  */
79
- export interface ModifyAlarmPolicyNoticeResponse {
99
+ export interface InstallPluginsRequest {
100
+ /**
101
+ * 插件信息
102
+ */
103
+ Plugins: Array<GrafanaPlugin>;
104
+ /**
105
+ * 实例 ID
106
+ */
107
+ InstanceId: string;
108
+ }
109
+ /**
110
+ * UpdateGrafanaEnvironments返回参数结构体
111
+ */
112
+ export interface UpdateGrafanaEnvironmentsResponse {
80
113
  /**
81
114
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
82
115
  */
@@ -218,6 +251,44 @@ export interface DescribeServiceDiscoveryResponse {
218
251
  */
219
252
  RequestId?: string;
220
253
  }
254
+ /**
255
+ * ModifyAlarmNotice返回参数结构体
256
+ */
257
+ export interface ModifyAlarmNoticeResponse {
258
+ /**
259
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
260
+ */
261
+ RequestId?: string;
262
+ }
263
+ /**
264
+ * UpdateServiceDiscovery请求参数结构体
265
+ */
266
+ export interface UpdateServiceDiscoveryRequest {
267
+ /**
268
+ * Prometheus 实例 ID
269
+ */
270
+ InstanceId: string;
271
+ /**
272
+ * <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
273
+ */
274
+ KubeClusterId: string;
275
+ /**
276
+ * 用户 Kubernetes 集群类型:
277
+ <li> 1 = 容器服务集群(TKE) </li>
278
+ */
279
+ KubeType: number;
280
+ /**
281
+ * 服务发现类型,取值如下:
282
+ <li> 1 = ServiceMonitor</li>
283
+ <li> 2 = PodMonitor</li>
284
+ <li> 3 = JobMonitor</li>
285
+ */
286
+ Type: number;
287
+ /**
288
+ * 服务发现配置信息
289
+ */
290
+ Yaml: string;
291
+ }
221
292
  /**
222
293
  * DescribeRecordingRules返回参数结构体
223
294
  */
@@ -236,6 +307,37 @@ export interface DescribeRecordingRulesResponse {
236
307
  */
237
308
  RequestId?: string;
238
309
  }
310
+ /**
311
+ * 指标配置
312
+ */
313
+ export interface MetricConfig {
314
+ /**
315
+ * 允许使用的运算符
316
+ */
317
+ Operator: Array<string>;
318
+ /**
319
+ * 允许配置的数据周期,以秒为单位
320
+ */
321
+ Period: Array<number>;
322
+ /**
323
+ * 允许配置的持续周期个数
324
+ */
325
+ ContinuePeriod: Array<number>;
326
+ }
327
+ /**
328
+ * Grafana 插件
329
+ */
330
+ export interface GrafanaPlugin {
331
+ /**
332
+ * Grafana 插件 ID
333
+ */
334
+ PluginId: string;
335
+ /**
336
+ * Grafana 插件版本
337
+ 注意:此字段可能返回 null,表示取不到有效值。
338
+ */
339
+ Version: string;
340
+ }
239
341
  /**
240
342
  * Prometheus 托管服务标签
241
343
  */
@@ -352,6 +454,19 @@ export interface DescribePolicyGroupListResponse {
352
454
  */
353
455
  RequestId?: string;
354
456
  }
457
+ /**
458
+ * UpdateGrafanaWhiteList请求参数结构体
459
+ */
460
+ export interface UpdateGrafanaWhiteListRequest {
461
+ /**
462
+ * 实例名
463
+ */
464
+ InstanceId: string;
465
+ /**
466
+ * 白名单数组
467
+ */
468
+ Whitelist: Array<string>;
469
+ }
355
470
  /**
356
471
  * BindingPolicyObject请求参数结构体
357
472
  */
@@ -378,13 +493,26 @@ export interface BindingPolicyObjectRequest {
378
493
  Dimensions?: Array<BindingPolicyObjectDimension>;
379
494
  }
380
495
  /**
381
- * DescribeAlarmNoticeCallbacks请求参数结构体
496
+ * CreateServiceDiscovery返回参数结构体
382
497
  */
383
- export interface DescribeAlarmNoticeCallbacksRequest {
498
+ export interface CreateServiceDiscoveryResponse {
384
499
  /**
385
- * 模块名,这里填“monitor”
500
+ * 创建成功之后,返回对应服务发现信息
386
501
  */
387
- Module: string;
502
+ ServiceDiscovery?: ServiceDiscoveryItem;
503
+ /**
504
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
505
+ */
506
+ RequestId?: string;
507
+ }
508
+ /**
509
+ * UpdateGrafanaWhiteList返回参数结构体
510
+ */
511
+ export interface UpdateGrafanaWhiteListResponse {
512
+ /**
513
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
514
+ */
515
+ RequestId?: string;
388
516
  }
389
517
  /**
390
518
  * DescribeBindingPolicyObjectList返回参数结构体
@@ -436,9 +564,9 @@ export interface DescribePolicyGroupInfoRequest {
436
564
  GroupId: number;
437
565
  }
438
566
  /**
439
- * UpdateAlertRuleState返回参数结构体
567
+ * EnableSSOCamCheck返回参数结构体
440
568
  */
441
- export interface UpdateAlertRuleStateResponse {
569
+ export interface EnableSSOCamCheckResponse {
442
570
  /**
443
571
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
444
572
  */
@@ -509,6 +637,19 @@ export interface DescribePolicyGroupInfoCallback {
509
637
  */
510
638
  VerifyCode: string;
511
639
  }
640
+ /**
641
+ * ModifyGrafanaInstance请求参数结构体
642
+ */
643
+ export interface ModifyGrafanaInstanceRequest {
644
+ /**
645
+ * 实例 ID
646
+ */
647
+ InstanceId: string;
648
+ /**
649
+ * 实例名称
650
+ */
651
+ InstanceName: string;
652
+ }
512
653
  /**
513
654
  * 告警历史的指标信息
514
655
  */
@@ -595,6 +736,15 @@ export interface CreateAlarmPolicyRequest {
595
736
  */
596
737
  GroupBy?: Array<string>;
597
738
  }
739
+ /**
740
+ * EnableGrafanaSSO返回参数结构体
741
+ */
742
+ export interface EnableGrafanaSSOResponse {
743
+ /**
744
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
745
+ */
746
+ RequestId?: string;
747
+ }
598
748
  /**
599
749
  * CreateExporterIntegration请求参数结构体
600
750
  */
@@ -808,6 +958,15 @@ export interface DeleteAlarmPolicyRequest {
808
958
  */
809
959
  PolicyIds: Array<string>;
810
960
  }
961
+ /**
962
+ * UpdatePrometheusAgentStatus返回参数结构体
963
+ */
964
+ export interface UpdatePrometheusAgentStatusResponse {
965
+ /**
966
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
967
+ */
968
+ RequestId?: string;
969
+ }
811
970
  /**
812
971
  * 策略标签
813
972
  */
@@ -1103,6 +1262,15 @@ export interface DeleteAlertRulesResponse {
1103
1262
  */
1104
1263
  RequestId?: string;
1105
1264
  }
1265
+ /**
1266
+ * DeleteGrafanaNotificationChannel返回参数结构体
1267
+ */
1268
+ export interface DeleteGrafanaNotificationChannelResponse {
1269
+ /**
1270
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1271
+ */
1272
+ RequestId?: string;
1273
+ }
1106
1274
  /**
1107
1275
  * GetMonitorData请求参数结构体
1108
1276
  */
@@ -1132,6 +1300,15 @@ export interface GetMonitorDataRequest {
1132
1300
  */
1133
1301
  EndTime?: string;
1134
1302
  }
1303
+ /**
1304
+ * CreateSSOAccount返回参数结构体
1305
+ */
1306
+ export interface CreateSSOAccountResponse {
1307
+ /**
1308
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1309
+ */
1310
+ RequestId?: string;
1311
+ }
1135
1312
  /**
1136
1313
  * 监控数据点
1137
1314
  */
@@ -1307,21 +1484,50 @@ export interface DescribePolicyConditionListConfigManualPeriod {
1307
1484
  Need: boolean;
1308
1485
  }
1309
1486
  /**
1310
- * 指标配置
1487
+ * DescribeGrafanaEnvironments返回参数结构体
1311
1488
  */
1312
- export interface MetricConfig {
1489
+ export interface DescribeGrafanaEnvironmentsResponse {
1313
1490
  /**
1314
- * 允许使用的运算符
1491
+ * 环境变量字符串
1315
1492
  */
1316
- Operator: Array<string>;
1493
+ Envs: string;
1317
1494
  /**
1318
- * 允许配置的数据周期,以秒为单位
1495
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1319
1496
  */
1320
- Period: Array<number>;
1497
+ RequestId?: string;
1498
+ }
1499
+ /**
1500
+ * export 集成配置
1501
+ */
1502
+ export interface IntegrationConfiguration {
1321
1503
  /**
1322
- * 允许配置的持续周期个数
1504
+ * 名字
1323
1505
  */
1324
- ContinuePeriod: Array<number>;
1506
+ Name: string;
1507
+ /**
1508
+ * 类型
1509
+ */
1510
+ Kind: string;
1511
+ /**
1512
+ * 内容
1513
+ */
1514
+ Content: string;
1515
+ /**
1516
+ * 状态
1517
+ */
1518
+ Status: number;
1519
+ /**
1520
+ * 实例类型
1521
+ */
1522
+ Category: string;
1523
+ /**
1524
+ * 实例描述
1525
+ */
1526
+ InstanceDesc: string;
1527
+ /**
1528
+ * dashboard 的 URL
1529
+ */
1530
+ GrafanaDashboardURL: string;
1325
1531
  }
1326
1532
  /**
1327
1533
  * DescribeServiceDiscovery请求参数结构体
@@ -1387,6 +1593,41 @@ export interface DescribePolicyConditionListRequest {
1387
1593
  */
1388
1594
  Module: string;
1389
1595
  }
1596
+ /**
1597
+ * 云监控告警通知模板 - 回调通知详情
1598
+ */
1599
+ export interface URLNotice {
1600
+ /**
1601
+ * 回调 url(限长256字符)
1602
+ 注意:此字段可能返回 null,表示取不到有效值。
1603
+ */
1604
+ URL: string;
1605
+ /**
1606
+ * 是否通过验证 0=否 1=是
1607
+ 注意:此字段可能返回 null,表示取不到有效值。
1608
+ */
1609
+ IsValid?: number;
1610
+ /**
1611
+ * 验证码
1612
+ 注意:此字段可能返回 null,表示取不到有效值。
1613
+ */
1614
+ ValidationCode?: string;
1615
+ /**
1616
+ * 通知开始时间 一天开始的秒数
1617
+ 注意:此字段可能返回 null,表示取不到有效值。
1618
+ */
1619
+ StartTime?: number;
1620
+ /**
1621
+ * 通知结束时间 一天开始的秒数
1622
+ 注意:此字段可能返回 null,表示取不到有效值。
1623
+ */
1624
+ EndTime?: number;
1625
+ /**
1626
+ * 通知周期 1-7表示周一到周日
1627
+ 注意:此字段可能返回 null,表示取不到有效值。
1628
+ */
1629
+ Weekday?: Array<number>;
1630
+ }
1390
1631
  /**
1391
1632
  * DeletePolicyGroup返回参数结构体
1392
1633
  */
@@ -1414,6 +1655,15 @@ export interface DescribeConditionsTemplateListResponse {
1414
1655
  */
1415
1656
  RequestId?: string;
1416
1657
  }
1658
+ /**
1659
+ * ResumeGrafanaInstance请求参数结构体
1660
+ */
1661
+ export interface ResumeGrafanaInstanceRequest {
1662
+ /**
1663
+ * 实例 ID
1664
+ */
1665
+ InstanceId: string;
1666
+ }
1417
1667
  /**
1418
1668
  * DescribeMonitorTypes请求参数结构体
1419
1669
  */
@@ -1424,17 +1674,35 @@ export interface DescribeMonitorTypesRequest {
1424
1674
  Module: string;
1425
1675
  }
1426
1676
  /**
1427
- * DescribeAlarmNotices返回参数结构体
1677
+ * DescribeGrafanaConfig返回参数结构体
1428
1678
  */
1429
- export interface DescribeAlarmNoticesResponse {
1679
+ export interface DescribeGrafanaConfigResponse {
1430
1680
  /**
1431
- * 告警通知模板总数
1681
+ * JSON 编码后的字符串
1432
1682
  */
1433
- TotalCount: number;
1683
+ Config: string;
1434
1684
  /**
1435
- * 告警通知模板列表
1685
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1436
1686
  */
1437
- Notices: Array<AlarmNotice>;
1687
+ RequestId?: string;
1688
+ }
1689
+ /**
1690
+ * DeleteGrafanaInstance请求参数结构体
1691
+ */
1692
+ export interface DeleteGrafanaInstanceRequest {
1693
+ /**
1694
+ * 实例名数组
1695
+ */
1696
+ InstanceIDs: Array<string>;
1697
+ }
1698
+ /**
1699
+ * DescribeGrafanaIntegrations返回参数结构体
1700
+ */
1701
+ export interface DescribeGrafanaIntegrationsResponse {
1702
+ /**
1703
+ * 集成数组
1704
+ */
1705
+ IntegrationSet: Array<GrafanaIntegrationConfig>;
1438
1706
  /**
1439
1707
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1440
1708
  */
@@ -1457,6 +1725,27 @@ export interface ModifyAlarmPolicyTasksRequest {
1457
1725
  */
1458
1726
  TriggerTasks?: Array<AlarmPolicyTriggerTask>;
1459
1727
  }
1728
+ /**
1729
+ * Grafana 集成实例配置
1730
+ */
1731
+ export interface GrafanaIntegrationConfig {
1732
+ /**
1733
+ * 集成 ID
1734
+ */
1735
+ IntegrationId: string;
1736
+ /**
1737
+ * 集成类型
1738
+ */
1739
+ Kind: string;
1740
+ /**
1741
+ * 集成内容
1742
+ */
1743
+ Content: string;
1744
+ /**
1745
+ * 集成描述
1746
+ */
1747
+ Description: string;
1748
+ }
1460
1749
  /**
1461
1750
  * 维度信息
1462
1751
  */
@@ -1466,6 +1755,19 @@ export interface DimensionsDesc {
1466
1755
  */
1467
1756
  Dimensions: Array<string>;
1468
1757
  }
1758
+ /**
1759
+ * DeleteGrafanaIntegration请求参数结构体
1760
+ */
1761
+ export interface DeleteGrafanaIntegrationRequest {
1762
+ /**
1763
+ * 实例 ID
1764
+ */
1765
+ InstanceId: string;
1766
+ /**
1767
+ * 集成 ID
1768
+ */
1769
+ IntegrationId: string;
1770
+ }
1469
1771
  /**
1470
1772
  * ModifyAlarmPolicyStatus请求参数结构体
1471
1773
  */
@@ -1497,9 +1799,55 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeResponse {
1497
1799
  RequestId?: string;
1498
1800
  }
1499
1801
  /**
1500
- * UpdatePrometheusAgentStatus返回参数结构体
1802
+ * Grafana可视化服务 授权账户信息
1501
1803
  */
1502
- export interface UpdatePrometheusAgentStatusResponse {
1804
+ export interface GrafanaAccountInfo {
1805
+ /**
1806
+ * 用户账号ID
1807
+ */
1808
+ UserId: string;
1809
+ /**
1810
+ * 用户权限
1811
+ */
1812
+ Role: Array<GrafanaAccountRole>;
1813
+ /**
1814
+ * 备注
1815
+ */
1816
+ Notes: string;
1817
+ /**
1818
+ * 创建时间
1819
+ */
1820
+ CreateAt: string;
1821
+ }
1822
+ /**
1823
+ * UpdateGrafanaNotificationChannel请求参数结构体
1824
+ */
1825
+ export interface UpdateGrafanaNotificationChannelRequest {
1826
+ /**
1827
+ * 通道 ID
1828
+ */
1829
+ ChannelId: string;
1830
+ /**
1831
+ * 实例名
1832
+ */
1833
+ InstanceId: string;
1834
+ /**
1835
+ * 渠道名
1836
+ */
1837
+ ChannelName: string;
1838
+ /**
1839
+ * 接受告警通道 ID 数组
1840
+ */
1841
+ Receivers: Array<string>;
1842
+ /**
1843
+ * 额外组织 ID 数组
1844
+ */
1845
+ ExtraOrgIds?: Array<string>;
1846
+ }
1847
+ /**
1848
+ * UninstallGrafanaPlugins返回参数结构体
1849
+ */
1850
+ export interface UninstallGrafanaPluginsResponse {
1503
1851
  /**
1504
1852
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1505
1853
  */
@@ -1657,6 +2005,15 @@ export interface DescribeBasicAlarmListResponse {
1657
2005
  */
1658
2006
  RequestId?: string;
1659
2007
  }
2008
+ /**
2009
+ * DescribeGrafanaEnvironments请求参数结构体
2010
+ */
2011
+ export interface DescribeGrafanaEnvironmentsRequest {
2012
+ /**
2013
+ * 实例名
2014
+ */
2015
+ InstanceId: string;
2016
+ }
1660
2017
  /**
1661
2018
  * DescribeProductList请求参数结构体
1662
2019
  */
@@ -1691,6 +2048,19 @@ export interface PeriodsSt {
1691
2048
  */
1692
2049
  StatType: Array<string>;
1693
2050
  }
2051
+ /**
2052
+ * Grafana可视化服务 账号权限
2053
+ */
2054
+ export interface GrafanaAccountRole {
2055
+ /**
2056
+ * 组织
2057
+ */
2058
+ Organization?: string;
2059
+ /**
2060
+ * 权限
2061
+ */
2062
+ Role?: string;
2063
+ }
1694
2064
  /**
1695
2065
  * BindPrometheusManagedGrafana返回参数结构体
1696
2066
  */
@@ -1881,25 +2251,25 @@ export interface DeleteExporterIntegrationRequest {
1881
2251
  * 实例 ID
1882
2252
  */
1883
2253
  InstanceId: string;
2254
+ /**
2255
+ * 类型
2256
+ */
2257
+ Kind: string;
2258
+ /**
2259
+ * 名字
2260
+ */
2261
+ Name: string;
1884
2262
  /**
1885
2263
  * Kubernetes 集群类型,取值如下:
1886
2264
  <li> 1= 容器集群(TKE) </li>
1887
2265
  <li> 2=弹性集群<EKS> </li>
1888
2266
  <li> 3= Prometheus管理的弹性集群<MEKS> </li>
1889
2267
  */
1890
- KubeType: number;
2268
+ KubeType?: number;
1891
2269
  /**
1892
2270
  * 集群 ID
1893
2271
  */
1894
- ClusterId: string;
1895
- /**
1896
- * 类型
1897
- */
1898
- Kind: string;
1899
- /**
1900
- * 名字
1901
- */
1902
- Name: string;
2272
+ ClusterId?: string;
1903
2273
  }
1904
2274
  /**
1905
2275
  * ModifyAlarmReceivers返回参数结构体
@@ -1911,34 +2281,17 @@ export interface ModifyAlarmReceiversResponse {
1911
2281
  RequestId?: string;
1912
2282
  }
1913
2283
  /**
1914
- * Prometheus Agent 管理命令行
2284
+ * EnableGrafanaSSO请求参数结构体
1915
2285
  */
1916
- export interface ManagementCommand {
1917
- /**
1918
- * Agent 安装命令
1919
- 注意:此字段可能返回 null,表示取不到有效值。
1920
- */
1921
- Install: string;
1922
- /**
1923
- * Agent 重启命令
1924
- 注意:此字段可能返回 null,表示取不到有效值。
1925
- */
1926
- Restart: string;
1927
- /**
1928
- * Agent 停止命令
1929
- 注意:此字段可能返回 null,表示取不到有效值。
1930
- */
1931
- Stop: string;
2286
+ export interface EnableGrafanaSSORequest {
1932
2287
  /**
1933
- * Agent 状态检测命令
1934
- 注意:此字段可能返回 null,表示取不到有效值。
2288
+ * 是否开启 SSO
1935
2289
  */
1936
- StatusCheck: string;
2290
+ EnableSSO: boolean;
1937
2291
  /**
1938
- * Agent 日志检测命令
1939
- 注意:此字段可能返回 null,表示取不到有效值。
2292
+ * 实例 ID
1940
2293
  */
1941
- LogCheck: string;
2294
+ InstanceId: string;
1942
2295
  }
1943
2296
  /**
1944
2297
  * DescribePolicyConditionList返回参数结构体
@@ -2074,6 +2427,39 @@ export interface DeleteAlarmNoticesResponse {
2074
2427
  */
2075
2428
  RequestId?: string;
2076
2429
  }
2430
+ /**
2431
+ * DescribeGrafanaNotificationChannels请求参数结构体
2432
+ */
2433
+ export interface DescribeGrafanaNotificationChannelsRequest {
2434
+ /**
2435
+ * 实例名
2436
+ */
2437
+ InstanceId: string;
2438
+ /**
2439
+ * 偏移量
2440
+ */
2441
+ Offset: number;
2442
+ /**
2443
+ * 查询数量
2444
+ */
2445
+ Limit: number;
2446
+ /**
2447
+ * 渠道名
2448
+ */
2449
+ ChannelName?: string;
2450
+ /**
2451
+ * 渠道 ID
2452
+ */
2453
+ ChannelIDs?: Array<string>;
2454
+ /**
2455
+ * 状态
2456
+ */
2457
+ ChannelState?: number;
2458
+ }
2459
+ /**
2460
+ * DescribePluginOverviews请求参数结构体
2461
+ */
2462
+ export declare type DescribePluginOverviewsRequest = null;
2077
2463
  /**
2078
2464
  * TerminatePrometheusInstances请求参数结构体
2079
2465
  */
@@ -2084,9 +2470,14 @@ export interface TerminatePrometheusInstancesRequest {
2084
2470
  InstanceIds: Array<string>;
2085
2471
  }
2086
2472
  /**
2087
- * UnbindPrometheusManagedGrafana返回参数结构体
2473
+ * DescribeSSOAccount返回参数结构体
2088
2474
  */
2089
- export interface UnbindPrometheusManagedGrafanaResponse {
2475
+ export interface DescribeSSOAccountResponse {
2476
+ /**
2477
+ * 授权账号列表
2478
+ 注意:此字段可能返回 null,表示取不到有效值。
2479
+ */
2480
+ AccountSet: Array<GrafanaAccountInfo>;
2090
2481
  /**
2091
2482
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2092
2483
  */
@@ -2111,6 +2502,15 @@ export interface UpdatePrometheusAgentStatusRequest {
2111
2502
  */
2112
2503
  Status: number;
2113
2504
  }
2505
+ /**
2506
+ * InstallPlugins返回参数结构体
2507
+ */
2508
+ export interface InstallPluginsResponse {
2509
+ /**
2510
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2511
+ */
2512
+ RequestId?: string;
2513
+ }
2114
2514
  /**
2115
2515
  * CreateAlarmPolicy返回参数结构体
2116
2516
  */
@@ -2257,17 +2657,34 @@ re=正则匹配
2257
2657
  ProductId?: string;
2258
2658
  }
2259
2659
  /**
2260
- * CreateServiceDiscovery返回参数结构体
2660
+ * DeleteGrafanaNotificationChannel请求参数结构体
2261
2661
  */
2262
- export interface CreateServiceDiscoveryResponse {
2662
+ export interface DeleteGrafanaNotificationChannelRequest {
2263
2663
  /**
2264
- * 创建成功之后,返回对应服务发现信息
2664
+ * 通道 ID 数组
2265
2665
  */
2266
- ServiceDiscovery?: ServiceDiscoveryItem;
2666
+ ChannelIDs: Array<string>;
2267
2667
  /**
2268
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2668
+ * 实例名
2269
2669
  */
2270
- RequestId?: string;
2670
+ InstanceId: string;
2671
+ }
2672
+ /**
2673
+ * CreateGrafanaIntegration请求参数结构体
2674
+ */
2675
+ export interface CreateGrafanaIntegrationRequest {
2676
+ /**
2677
+ * 实例名
2678
+ */
2679
+ InstanceId: string;
2680
+ /**
2681
+ * 类型
2682
+ */
2683
+ Kind: string;
2684
+ /**
2685
+ * 配置
2686
+ */
2687
+ Content: string;
2271
2688
  }
2272
2689
  /**
2273
2690
  * CreatePrometheusAgent返回参数结构体
@@ -2296,11 +2713,11 @@ export interface DescribeExporterIntegrationsRequest {
2296
2713
  <li> 2=弹性集群<EKS> </li>
2297
2714
  <li> 3= Prometheus管理的弹性集群<MEKS> </li>
2298
2715
  */
2299
- KubeType: number;
2716
+ KubeType?: number;
2300
2717
  /**
2301
2718
  * 集群 ID
2302
2719
  */
2303
- ClusterId: string;
2720
+ ClusterId?: string;
2304
2721
  /**
2305
2722
  * 类型
2306
2723
  */
@@ -2521,24 +2938,17 @@ export interface Point {
2521
2938
  Value: number;
2522
2939
  }
2523
2940
  /**
2524
- * UpdateAlertRuleState请求参数结构体
2941
+ * UpdateAlertRule返回参数结构体
2525
2942
  */
2526
- export interface UpdateAlertRuleStateRequest {
2527
- /**
2528
- * 规则 ID 列表
2529
- */
2530
- RuleIds: Array<string>;
2943
+ export interface UpdateAlertRuleResponse {
2531
2944
  /**
2532
- * Prometheus 实例 ID
2945
+ * 规则 ID
2533
2946
  */
2534
- InstanceId: string;
2947
+ RuleId: string;
2535
2948
  /**
2536
- * 规则状态码,取值如下:
2537
- <li>2=RuleEnabled</li>
2538
- <li>3=RuleDisabled</li>
2539
- 默认状态码为 2 启用。
2949
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2540
2950
  */
2541
- RuleState: number;
2951
+ RequestId?: string;
2542
2952
  }
2543
2953
  /**
2544
2954
  * 修改告警策略组传入的事件告警条件
@@ -2562,57 +2972,38 @@ export interface ModifyPolicyGroupEventCondition {
2562
2972
  RuleId?: number;
2563
2973
  }
2564
2974
  /**
2565
- * 指标,可用于设置告警、查询数据
2975
+ * CreateGrafanaNotificationChannel请求参数结构体
2566
2976
  */
2567
- export interface Metric {
2568
- /**
2569
- * 告警策略类型
2570
- */
2571
- Namespace: string;
2572
- /**
2573
- * 指标名
2574
- */
2575
- MetricName: string;
2576
- /**
2577
- * 指标展示名
2578
- */
2579
- Description: string;
2580
- /**
2581
- * 最小值
2582
- */
2583
- Min: number;
2584
- /**
2585
- * 最大值
2586
- */
2587
- Max: number;
2977
+ export interface CreateGrafanaNotificationChannelRequest {
2588
2978
  /**
2589
- * 维度列表
2979
+ * 实例名
2590
2980
  */
2591
- Dimensions: Array<string>;
2981
+ InstanceId: string;
2592
2982
  /**
2593
- * 单位
2983
+ * 渠道名
2594
2984
  */
2595
- Unit: string;
2985
+ ChannelName: string;
2596
2986
  /**
2597
- * 指标配置
2598
- 注意:此字段可能返回 null,表示取不到有效值。
2987
+ * 组织 ID
2599
2988
  */
2600
- MetricConfig: MetricConfig;
2989
+ OrgId: number;
2601
2990
  /**
2602
- * 是否为高级指标。1是 0否
2603
- 注意:此字段可能返回 null,表示取不到有效值。
2991
+ * 接受告警通道 ID 数组
2604
2992
  */
2605
- IsAdvanced: number;
2993
+ Receivers: Array<string>;
2606
2994
  /**
2607
- * 高级指标是否开通。1是 0否
2608
- 注意:此字段可能返回 null,表示取不到有效值。
2995
+ * 额外组织 ID 数组
2609
2996
  */
2610
- IsOpen: number;
2997
+ ExtraOrgIds?: Array<string>;
2998
+ }
2999
+ /**
3000
+ * ModifyGrafanaInstance返回参数结构体
3001
+ */
3002
+ export interface ModifyGrafanaInstanceResponse {
2611
3003
  /**
2612
- * 集成中心产品ID
2613
- 注意:此字段可能返回 null,表示取不到有效值。
3004
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2614
3005
  */
2615
- ProductId: number;
3006
+ RequestId?: string;
2616
3007
  }
2617
3008
  /**
2618
3009
  * ModifyPolicyGroup请求参数结构体
@@ -2703,14 +3094,35 @@ export interface DescribeBaseMetricsRequest {
2703
3094
  Dimensions?: Array<string>;
2704
3095
  }
2705
3096
  /**
2706
- * 云监控告警通知模板 - 用户通知详情
3097
+ * CreateSSOAccount请求参数结构体
2707
3098
  */
2708
- export interface UserNotice {
3099
+ export interface CreateSSOAccountRequest {
2709
3100
  /**
2710
- * 接收者类型 USER=用户 GROUP=用户组
2711
- 注意:此字段可能返回 null,表示取不到有效值。
3101
+ * 实例ID
2712
3102
  */
2713
- ReceiverType: string;
3103
+ InstanceId: string;
3104
+ /**
3105
+ * 用户账号ID
3106
+ */
3107
+ UserId: string;
3108
+ /**
3109
+ * 权限
3110
+ */
3111
+ Role: Array<GrafanaAccountRole>;
3112
+ /**
3113
+ * 备注
3114
+ */
3115
+ Notes?: string;
3116
+ }
3117
+ /**
3118
+ * 云监控告警通知模板 - 用户通知详情
3119
+ */
3120
+ export interface UserNotice {
3121
+ /**
3122
+ * 接收者类型 USER=用户 GROUP=用户组
3123
+ 注意:此字段可能返回 null,表示取不到有效值。
3124
+ */
3125
+ ReceiverType: string;
2714
3126
  /**
2715
3127
  * 通知开始时间 00:00:00 开始的秒数(取值范围0-86399)
2716
3128
  注意:此字段可能返回 null,表示取不到有效值。
@@ -2793,6 +3205,15 @@ export interface UpdatePrometheusScrapeJobRequest {
2793
3205
  */
2794
3206
  Config: string;
2795
3207
  }
3208
+ /**
3209
+ * UpdateGrafanaNotificationChannel返回参数结构体
3210
+ */
3211
+ export interface UpdateGrafanaNotificationChannelResponse {
3212
+ /**
3213
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3214
+ */
3215
+ RequestId?: string;
3216
+ }
2796
3217
  /**
2797
3218
  * 告警策略过滤条件
2798
3219
  */
@@ -2808,6 +3229,28 @@ export interface AlarmPolicyFilter {
2808
3229
  */
2809
3230
  Dimensions?: string;
2810
3231
  }
3232
+ /**
3233
+ * UpgradeGrafanaInstance请求参数结构体
3234
+ */
3235
+ export interface UpgradeGrafanaInstanceRequest {
3236
+ /**
3237
+ * 实例名
3238
+ */
3239
+ InstanceId: string;
3240
+ /**
3241
+ * 版本别名
3242
+ */
3243
+ Alias: string;
3244
+ }
3245
+ /**
3246
+ * DescribeAlarmNoticeCallbacks请求参数结构体
3247
+ */
3248
+ export interface DescribeAlarmNoticeCallbacksRequest {
3249
+ /**
3250
+ * 模块名,这里填“monitor”
3251
+ */
3252
+ Module: string;
3253
+ }
2811
3254
  /**
2812
3255
  * DescribeAlarmNoticeCallbacks返回参数结构体
2813
3256
  */
@@ -2865,9 +3308,22 @@ export interface ModifyAlarmPolicyConditionRequest {
2865
3308
  GroupBy?: Array<string>;
2866
3309
  }
2867
3310
  /**
2868
- * ModifyAlarmNotice返回参数结构体
3311
+ * DeleteSSOAccount请求参数结构体
2869
3312
  */
2870
- export interface ModifyAlarmNoticeResponse {
3313
+ export interface DeleteSSOAccountRequest {
3314
+ /**
3315
+ * 实例ID
3316
+ */
3317
+ InstanceId: string;
3318
+ /**
3319
+ * 用户账号ID
3320
+ */
3321
+ UserId: string;
3322
+ }
3323
+ /**
3324
+ * CreateGrafanaIntegration返回参数结构体
3325
+ */
3326
+ export interface CreateGrafanaIntegrationResponse {
2871
3327
  /**
2872
3328
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2873
3329
  */
@@ -2886,6 +3342,24 @@ export interface BindPrometheusManagedGrafanaRequest {
2886
3342
  */
2887
3343
  GrafanaId: string;
2888
3344
  }
3345
+ /**
3346
+ * ResumeGrafanaInstance返回参数结构体
3347
+ */
3348
+ export interface ResumeGrafanaInstanceResponse {
3349
+ /**
3350
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3351
+ */
3352
+ RequestId?: string;
3353
+ }
3354
+ /**
3355
+ * UpdateAlertRuleState返回参数结构体
3356
+ */
3357
+ export interface UpdateAlertRuleStateResponse {
3358
+ /**
3359
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3360
+ */
3361
+ RequestId?: string;
3362
+ }
2889
3363
  /**
2890
3364
  * 实例维度组合数组
2891
3365
  */
@@ -2896,105 +3370,88 @@ export interface Instance {
2896
3370
  Dimensions: Array<Dimension>;
2897
3371
  }
2898
3372
  /**
2899
- * 策略绑定实例维度信息
3373
+ * DescribeProductEventList返回参数结构体
2900
3374
  */
2901
- export interface BindingPolicyObjectDimension {
3375
+ export interface DescribeProductEventListResponse {
2902
3376
  /**
2903
- * 地域名
3377
+ * 事件列表
3378
+ 注意:此字段可能返回 null,表示取不到有效值。
2904
3379
  */
2905
- Region: string;
3380
+ Events: Array<DescribeProductEventListEvents>;
2906
3381
  /**
2907
- * 地域ID
3382
+ * 事件统计
2908
3383
  */
2909
- RegionId?: number;
3384
+ OverView: DescribeProductEventListOverView;
2910
3385
  /**
2911
- * 实例的维度信息,格式为
2912
- {"unInstanceId":"ins-00jvv9mo"}。不同云产品的维度信息不同,详见
2913
- [指标维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
3386
+ * 事件总数
3387
+ 注意:此字段可能返回 null,表示取不到有效值。
2914
3388
  */
2915
- Dimensions?: string;
3389
+ Total: number;
2916
3390
  /**
2917
- * 事件维度信息
3391
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2918
3392
  */
2919
- EventDimensions?: string;
3393
+ RequestId?: string;
2920
3394
  }
2921
3395
  /**
2922
- * DeletePolicyGroup请求参数结构体
3396
+ * CreateGrafanaInstance请求参数结构体
2923
3397
  */
2924
- export interface DeletePolicyGroupRequest {
3398
+ export interface CreateGrafanaInstanceRequest {
2925
3399
  /**
2926
- * 固定值,为"monitor"
2927
- */
2928
- Module: string;
2929
- /**
2930
- * 策略组id
3400
+ * 实例名
2931
3401
  */
2932
- GroupId: Array<number>;
2933
- }
2934
- /**
2935
- * DescribeAlarmPolicy返回参数结构体
2936
- */
2937
- export interface DescribeAlarmPolicyResponse {
3402
+ InstanceName: string;
2938
3403
  /**
2939
- * 策略详情
3404
+ * VPC ID
2940
3405
  */
2941
- Policy?: AlarmPolicy;
3406
+ VpcId: string;
2942
3407
  /**
2943
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3408
+ * 子网 ID 数组
2944
3409
  */
2945
- RequestId?: string;
2946
- }
2947
- /**
2948
- * DeleteExporterIntegration返回参数结构体
2949
- */
2950
- export interface DeleteExporterIntegrationResponse {
3410
+ SubnetIds: Array<string>;
2951
3411
  /**
2952
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3412
+ * Grafana 初始密码
2953
3413
  */
2954
- RequestId?: string;
2955
- }
2956
- /**
2957
- * UpdateServiceDiscovery返回参数结构体
2958
- */
2959
- export interface UpdateServiceDiscoveryResponse {
3414
+ GrafanaInitPassword: string;
2960
3415
  /**
2961
- * 更新成功之后,返回对应服务发现的信息
3416
+ * 是否启用外网
2962
3417
  */
2963
- ServiceDiscovery?: ServiceDiscoveryItem;
3418
+ EnableInternet: boolean;
2964
3419
  /**
2965
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3420
+ * 标签
2966
3421
  */
2967
- RequestId?: string;
3422
+ TagSpecification?: Array<PrometheusTag>;
2968
3423
  }
2969
3424
  /**
2970
- * DescribeMonitorTypes返回参数结构体
3425
+ * 策略绑定实例维度信息
2971
3426
  */
2972
- export interface DescribeMonitorTypesResponse {
3427
+ export interface BindingPolicyObjectDimension {
2973
3428
  /**
2974
- * 监控类型,云产品监控为 MT_QCE
3429
+ * 地域名
2975
3430
  */
2976
- MonitorTypes: Array<string>;
3431
+ Region: string;
2977
3432
  /**
2978
- * 监控类型详情
3433
+ * 地域ID
2979
3434
  */
2980
- MonitorTypeInfos: Array<MonitorTypeInfo>;
3435
+ RegionId?: number;
2981
3436
  /**
2982
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3437
+ * 实例的维度信息,格式为
3438
+ {"unInstanceId":"ins-00jvv9mo"}。不同云产品的维度信息不同,详见
3439
+ [指标维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
2983
3440
  */
2984
- RequestId?: string;
3441
+ Dimensions?: string;
3442
+ /**
3443
+ * 事件维度信息
3444
+ */
3445
+ EventDimensions?: string;
2985
3446
  }
2986
3447
  /**
2987
- * 实例对象的维度组合
3448
+ * UnbindPrometheusManagedGrafana返回参数结构体
2988
3449
  */
2989
- export interface Dimension {
2990
- /**
2991
- * 实例维度名称
2992
- */
2993
- Name: string;
3450
+ export interface UnbindPrometheusManagedGrafanaResponse {
2994
3451
  /**
2995
- * 实例维度值
3452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2996
3453
  */
2997
- Value: string;
3454
+ RequestId?: string;
2998
3455
  }
2999
3456
  /**
3000
3457
  * DescribeBasicAlarmList返回的Alarms
@@ -3110,6 +3567,198 @@ export interface DescribeBasicAlarmListAlarms {
3110
3567
  */
3111
3568
  InstanceGroup: Array<InstanceGroup>;
3112
3569
  }
3570
+ /**
3571
+ * DescribeAlarmPolicy返回参数结构体
3572
+ */
3573
+ export interface DescribeAlarmPolicyResponse {
3574
+ /**
3575
+ * 策略详情
3576
+ */
3577
+ Policy?: AlarmPolicy;
3578
+ /**
3579
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3580
+ */
3581
+ RequestId?: string;
3582
+ }
3583
+ /**
3584
+ * DeleteExporterIntegration返回参数结构体
3585
+ */
3586
+ export interface DeleteExporterIntegrationResponse {
3587
+ /**
3588
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3589
+ */
3590
+ RequestId?: string;
3591
+ }
3592
+ /**
3593
+ * UpdateServiceDiscovery返回参数结构体
3594
+ */
3595
+ export interface UpdateServiceDiscoveryResponse {
3596
+ /**
3597
+ * 更新成功之后,返回对应服务发现的信息
3598
+ */
3599
+ ServiceDiscovery?: ServiceDiscoveryItem;
3600
+ /**
3601
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3602
+ */
3603
+ RequestId?: string;
3604
+ }
3605
+ /**
3606
+ * DescribeMonitorTypes返回参数结构体
3607
+ */
3608
+ export interface DescribeMonitorTypesResponse {
3609
+ /**
3610
+ * 监控类型,云产品监控为 MT_QCE
3611
+ */
3612
+ MonitorTypes: Array<string>;
3613
+ /**
3614
+ * 监控类型详情
3615
+ */
3616
+ MonitorTypeInfos: Array<MonitorTypeInfo>;
3617
+ /**
3618
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3619
+ */
3620
+ RequestId?: string;
3621
+ }
3622
+ /**
3623
+ * 查询 Grafana 实例时的实例类型
3624
+ */
3625
+ export interface GrafanaInstanceInfo {
3626
+ /**
3627
+ * 实例名
3628
+ */
3629
+ InstanceName: string;
3630
+ /**
3631
+ * 实例 ID
3632
+ */
3633
+ InstanceId: string;
3634
+ /**
3635
+ * 地域
3636
+ */
3637
+ Region: string;
3638
+ /**
3639
+ * VPC ID
3640
+ */
3641
+ VpcId: string;
3642
+ /**
3643
+ * 子网 ID 数组
3644
+ */
3645
+ SubnetIds: Array<string>;
3646
+ /**
3647
+ * Grafana 内网地址
3648
+ */
3649
+ InternetUrl: string;
3650
+ /**
3651
+ * Grafana 公网地址
3652
+ */
3653
+ InternalUrl: string;
3654
+ /**
3655
+ * 创建时间
3656
+ */
3657
+ CreatedAt: string;
3658
+ /**
3659
+ * 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:停机中; 6:已停机; 7: 已删除)
3660
+ */
3661
+ InstanceStatus: number;
3662
+ /**
3663
+ * 实例的标签
3664
+ 注意:此字段可能返回 null,表示取不到有效值。
3665
+ */
3666
+ TagSpecification: Array<PrometheusTag>;
3667
+ /**
3668
+ * 实例的可用区
3669
+ */
3670
+ Zone: string;
3671
+ /**
3672
+ * 计费模式(1:包年包月)
3673
+ */
3674
+ InstanceChargeType: number;
3675
+ /**
3676
+ * VPC 名称
3677
+ */
3678
+ VpcName: string;
3679
+ /**
3680
+ * 子网名称
3681
+ */
3682
+ SubnetName: string;
3683
+ /**
3684
+ * 地域 ID
3685
+ */
3686
+ RegionId: number;
3687
+ /**
3688
+ * 可访问此实例的完整 URL
3689
+ */
3690
+ RootUrl: string;
3691
+ /**
3692
+ * 是否开启 SSO
3693
+ */
3694
+ EnableSSO: boolean;
3695
+ /**
3696
+ * 版本号
3697
+ */
3698
+ Version: string;
3699
+ /**
3700
+ * SSO登录时是否开启cam鉴权
3701
+ */
3702
+ EnableSSOCamCheck: boolean;
3703
+ }
3704
+ /**
3705
+ * 实例对象的维度组合
3706
+ */
3707
+ export interface Dimension {
3708
+ /**
3709
+ * 实例维度名称
3710
+ */
3711
+ Name: string;
3712
+ /**
3713
+ * 实例维度值
3714
+ */
3715
+ Value: string;
3716
+ }
3717
+ /**
3718
+ * DescribeAccidentEventList接口的出参类型
3719
+ */
3720
+ export interface DescribeAccidentEventListAlarms {
3721
+ /**
3722
+ * 事件分类
3723
+ 注意:此字段可能返回 null,表示取不到有效值。
3724
+ */
3725
+ BusinessTypeDesc: string;
3726
+ /**
3727
+ * 事件类型
3728
+ 注意:此字段可能返回 null,表示取不到有效值。
3729
+ */
3730
+ AccidentTypeDesc: string;
3731
+ /**
3732
+ * 事件分类的ID,1表示服务问题,2表示其他订阅
3733
+ 注意:此字段可能返回 null,表示取不到有效值。
3734
+ */
3735
+ BusinessID: number;
3736
+ /**
3737
+ * 事件状态的ID,0表示已恢复,1表示未恢复
3738
+ 注意:此字段可能返回 null,表示取不到有效值。
3739
+ */
3740
+ EventStatus: number;
3741
+ /**
3742
+ * 影响的对象
3743
+ 注意:此字段可能返回 null,表示取不到有效值。
3744
+ */
3745
+ AffectResource: string;
3746
+ /**
3747
+ * 事件的地域
3748
+ 注意:此字段可能返回 null,表示取不到有效值。
3749
+ */
3750
+ Region: string;
3751
+ /**
3752
+ * 事件发生的时间
3753
+ 注意:此字段可能返回 null,表示取不到有效值。
3754
+ */
3755
+ OccurTime: string;
3756
+ /**
3757
+ * 更新时间
3758
+ 注意:此字段可能返回 null,表示取不到有效值。
3759
+ */
3760
+ UpdateTime: string;
3761
+ }
3113
3762
  /**
3114
3763
  * UpdateRecordingRule返回参数结构体
3115
3764
  */
@@ -3230,49 +3879,30 @@ export interface MetricObjectMeaning {
3230
3879
  Zh: string;
3231
3880
  }
3232
3881
  /**
3233
- * DescribeAccidentEventList接口的出参类型
3882
+ * DeletePolicyGroup请求参数结构体
3234
3883
  */
3235
- export interface DescribeAccidentEventListAlarms {
3236
- /**
3237
- * 事件分类
3238
- 注意:此字段可能返回 null,表示取不到有效值。
3239
- */
3240
- BusinessTypeDesc: string;
3241
- /**
3242
- * 事件类型
3243
- 注意:此字段可能返回 null,表示取不到有效值。
3244
- */
3245
- AccidentTypeDesc: string;
3246
- /**
3247
- * 事件分类的ID,1表示服务问题,2表示其他订阅
3248
- 注意:此字段可能返回 null,表示取不到有效值。
3249
- */
3250
- BusinessID: number;
3251
- /**
3252
- * 事件状态的ID,0表示已恢复,1表示未恢复
3253
- 注意:此字段可能返回 null,表示取不到有效值。
3254
- */
3255
- EventStatus: number;
3884
+ export interface DeletePolicyGroupRequest {
3256
3885
  /**
3257
- * 影响的对象
3258
- 注意:此字段可能返回 null,表示取不到有效值。
3886
+ * 固定值,为"monitor"
3259
3887
  */
3260
- AffectResource: string;
3888
+ Module: string;
3261
3889
  /**
3262
- * 事件的地域
3263
- 注意:此字段可能返回 null,表示取不到有效值。
3890
+ * 策略组id
3264
3891
  */
3265
- Region: string;
3892
+ GroupId: Array<number>;
3893
+ }
3894
+ /**
3895
+ * EnableSSOCamCheck请求参数结构体
3896
+ */
3897
+ export interface EnableSSOCamCheckRequest {
3266
3898
  /**
3267
- * 事件发生的时间
3268
- 注意:此字段可能返回 null,表示取不到有效值。
3899
+ * 实例ID
3269
3900
  */
3270
- OccurTime: string;
3271
- /**
3272
- * 更新时间
3273
- 注意:此字段可能返回 null,表示取不到有效值。
3901
+ InstanceId: string;
3902
+ /**
3903
+ * 是否开启cam鉴权
3274
3904
  */
3275
- UpdateTime: string;
3905
+ EnableSSOCamCheck: boolean;
3276
3906
  }
3277
3907
  /**
3278
3908
  * ModifyPolicyGroup返回参数结构体
@@ -3287,6 +3917,24 @@ export interface ModifyPolicyGroupResponse {
3287
3917
  */
3288
3918
  RequestId?: string;
3289
3919
  }
3920
+ /**
3921
+ * DeleteGrafanaIntegration返回参数结构体
3922
+ */
3923
+ export interface DeleteGrafanaIntegrationResponse {
3924
+ /**
3925
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3926
+ */
3927
+ RequestId?: string;
3928
+ }
3929
+ /**
3930
+ * DescribeInstalledPlugins请求参数结构体
3931
+ */
3932
+ export interface DescribeInstalledPluginsRequest {
3933
+ /**
3934
+ * 实例 ID
3935
+ */
3936
+ InstanceId: string;
3937
+ }
3290
3938
  /**
3291
3939
  * DescribeAlarmMetrics返回参数结构体
3292
3940
  */
@@ -3349,18 +3997,23 @@ export interface Condition {
3349
3997
  Unit: string;
3350
3998
  }
3351
3999
  /**
3352
- * UpdateAlertRule返回参数结构体
4000
+ * DeleteGrafanaInstance返回参数结构体
3353
4001
  */
3354
- export interface UpdateAlertRuleResponse {
3355
- /**
3356
- * 规则 ID
3357
- */
3358
- RuleId: string;
4002
+ export interface DeleteGrafanaInstanceResponse {
3359
4003
  /**
3360
4004
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3361
4005
  */
3362
4006
  RequestId?: string;
3363
4007
  }
4008
+ /**
4009
+ * DescribeGrafanaWhiteList请求参数结构体
4010
+ */
4011
+ export interface DescribeGrafanaWhiteListRequest {
4012
+ /**
4013
+ * 实例名
4014
+ */
4015
+ InstanceId: string;
4016
+ }
3364
4017
  /**
3365
4018
  * PutMonitorData请求参数结构体
3366
4019
  */
@@ -3429,6 +4082,15 @@ export interface MetricData {
3429
4082
  */
3430
4083
  Points: Array<MetricDataPoint>;
3431
4084
  }
4085
+ /**
4086
+ * UpdateGrafanaIntegration返回参数结构体
4087
+ */
4088
+ export interface UpdateGrafanaIntegrationResponse {
4089
+ /**
4090
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4091
+ */
4092
+ RequestId?: string;
4093
+ }
3432
4094
  /**
3433
4095
  * 告警事件
3434
4096
  */
@@ -3446,6 +4108,15 @@ export interface AlarmEvent {
3446
4108
  */
3447
4109
  Namespace: string;
3448
4110
  }
4111
+ /**
4112
+ * ModifyAlarmPolicyNotice返回参数结构体
4113
+ */
4114
+ export interface ModifyAlarmPolicyNoticeResponse {
4115
+ /**
4116
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4117
+ */
4118
+ RequestId?: string;
4119
+ }
3449
4120
  /**
3450
4121
  * BindingPolicyTag请求参数结构体
3451
4122
  */
@@ -3480,37 +4151,17 @@ export interface BindingPolicyTagRequest {
3480
4151
  BatchTag?: Array<PolicyTag>;
3481
4152
  }
3482
4153
  /**
3483
- * export 集成配置
4154
+ * CreateGrafanaInstance返回参数结构体
3484
4155
  */
3485
- export interface IntegrationConfiguration {
3486
- /**
3487
- * 名字
3488
- */
3489
- Name: string;
3490
- /**
3491
- * 类型
3492
- */
3493
- Kind: string;
3494
- /**
3495
- * 内容
3496
- */
3497
- Content: string;
3498
- /**
3499
- * 状态
3500
- */
3501
- Status: number;
3502
- /**
3503
- * 实例类型
3504
- */
3505
- Category: string;
4156
+ export interface CreateGrafanaInstanceResponse {
3506
4157
  /**
3507
- * 实例描述
4158
+ * 实例名
3508
4159
  */
3509
- InstanceDesc: string;
4160
+ InstanceId: string;
3510
4161
  /**
3511
- * dashboard URL
4162
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3512
4163
  */
3513
- GrafanaDashboardURL: string;
4164
+ RequestId?: string;
3514
4165
  }
3515
4166
  /**
3516
4167
  * UpdateAlertRule请求参数结构体
@@ -3930,6 +4581,19 @@ export interface PolicyGroup {
3930
4581
  */
3931
4582
  IsUnionRule: number;
3932
4583
  }
4584
+ /**
4585
+ * DescribeGrafanaNotificationChannels返回参数结构体
4586
+ */
4587
+ export interface DescribeGrafanaNotificationChannelsResponse {
4588
+ /**
4589
+ * 告警通道数组
4590
+ */
4591
+ NotificationChannelSet: Array<GrafanaNotificationChannel>;
4592
+ /**
4593
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4594
+ */
4595
+ RequestId?: string;
4596
+ }
3933
4597
  /**
3934
4598
  * DeleteRecordingRules请求参数结构体
3935
4599
  */
@@ -4134,6 +4798,66 @@ export interface DescribePrometheusScrapeJobsResponse {
4134
4798
  */
4135
4799
  RequestId?: string;
4136
4800
  }
4801
+ /**
4802
+ * EnableGrafanaInternet请求参数结构体
4803
+ */
4804
+ export interface EnableGrafanaInternetRequest {
4805
+ /**
4806
+ * 实例 ID
4807
+ */
4808
+ InstanceID: string;
4809
+ /**
4810
+ * 开启或关闭
4811
+ */
4812
+ EnableInternet: boolean;
4813
+ }
4814
+ /**
4815
+ * DescribePluginOverviews返回参数结构体
4816
+ */
4817
+ export interface DescribePluginOverviewsResponse {
4818
+ /**
4819
+ * 插件列表
4820
+ */
4821
+ PluginSet: Array<GrafanaPlugin>;
4822
+ /**
4823
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4824
+ */
4825
+ RequestId?: string;
4826
+ }
4827
+ /**
4828
+ * UpdateSSOAccount请求参数结构体
4829
+ */
4830
+ export interface UpdateSSOAccountRequest {
4831
+ /**
4832
+ * 示例ID
4833
+ */
4834
+ InstanceId: string;
4835
+ /**
4836
+ * 用户账号ID
4837
+ */
4838
+ UserId: string;
4839
+ /**
4840
+ * 权限
4841
+ */
4842
+ Role?: Array<GrafanaAccountRole>;
4843
+ /**
4844
+ * 备注
4845
+ */
4846
+ Notes?: string;
4847
+ }
4848
+ /**
4849
+ * GetPrometheusAgentManagementCommand返回参数结构体
4850
+ */
4851
+ export interface GetPrometheusAgentManagementCommandResponse {
4852
+ /**
4853
+ * Agent 管理命令
4854
+ */
4855
+ Command?: ManagementCommand;
4856
+ /**
4857
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4858
+ */
4859
+ RequestId?: string;
4860
+ }
4137
4861
  /**
4138
4862
  * DescribePolicyConditionList.ConfigManual.StatType
4139
4863
  */
@@ -4338,6 +5062,59 @@ export interface DescribePrometheusAgentsResponse {
4338
5062
  */
4339
5063
  RequestId?: string;
4340
5064
  }
5065
+ /**
5066
+ * 指标,可用于设置告警、查询数据
5067
+ */
5068
+ export interface Metric {
5069
+ /**
5070
+ * 告警策略类型
5071
+ */
5072
+ Namespace: string;
5073
+ /**
5074
+ * 指标名
5075
+ */
5076
+ MetricName: string;
5077
+ /**
5078
+ * 指标展示名
5079
+ */
5080
+ Description: string;
5081
+ /**
5082
+ * 最小值
5083
+ */
5084
+ Min: number;
5085
+ /**
5086
+ * 最大值
5087
+ */
5088
+ Max: number;
5089
+ /**
5090
+ * 维度列表
5091
+ */
5092
+ Dimensions: Array<string>;
5093
+ /**
5094
+ * 单位
5095
+ */
5096
+ Unit: string;
5097
+ /**
5098
+ * 指标配置
5099
+ 注意:此字段可能返回 null,表示取不到有效值。
5100
+ */
5101
+ MetricConfig: MetricConfig;
5102
+ /**
5103
+ * 是否为高级指标。1是 0否
5104
+ 注意:此字段可能返回 null,表示取不到有效值。
5105
+ */
5106
+ IsAdvanced: number;
5107
+ /**
5108
+ * 高级指标是否开通。1是 0否
5109
+ 注意:此字段可能返回 null,表示取不到有效值。
5110
+ */
5111
+ IsOpen: number;
5112
+ /**
5113
+ * 集成中心产品ID
5114
+ 注意:此字段可能返回 null,表示取不到有效值。
5115
+ */
5116
+ ProductId: number;
5117
+ }
4341
5118
  /**
4342
5119
  * DescribeAlarmEvents请求参数结构体
4343
5120
  */
@@ -4389,6 +5166,27 @@ export interface DeletePrometheusScrapeJobsRequest {
4389
5166
  */
4390
5167
  JobIds: Array<string>;
4391
5168
  }
5169
+ /**
5170
+ * UpdateGrafanaIntegration请求参数结构体
5171
+ */
5172
+ export interface UpdateGrafanaIntegrationRequest {
5173
+ /**
5174
+ * 集成 ID
5175
+ */
5176
+ IntegrationId: string;
5177
+ /**
5178
+ * 实例 ID
5179
+ */
5180
+ InstanceId: string;
5181
+ /**
5182
+ * 集成类型
5183
+ */
5184
+ Kind: string;
5185
+ /**
5186
+ * 集成内容
5187
+ */
5188
+ Content: string;
5189
+ }
4392
5190
  /**
4393
5191
  * UnBindingPolicyObject请求参数结构体
4394
5192
  */
@@ -4415,39 +5213,26 @@ export interface UnBindingPolicyObjectRequest {
4415
5213
  PolicyId?: string;
4416
5214
  }
4417
5215
  /**
4418
- * 云监控告警通知模板 - 回调通知详情
5216
+ * CleanGrafanaInstance返回参数结构体
4419
5217
  */
4420
- export interface URLNotice {
4421
- /**
4422
- * 回调 url(限长256字符)
4423
- 注意:此字段可能返回 null,表示取不到有效值。
4424
- */
4425
- URL: string;
4426
- /**
4427
- * 是否通过验证 0=否 1=是
4428
- 注意:此字段可能返回 null,表示取不到有效值。
4429
- */
4430
- IsValid?: number;
4431
- /**
4432
- * 验证码
4433
- 注意:此字段可能返回 null,表示取不到有效值。
4434
- */
4435
- ValidationCode?: string;
5218
+ export interface CleanGrafanaInstanceResponse {
4436
5219
  /**
4437
- * 通知开始时间 一天开始的秒数
4438
- 注意:此字段可能返回 null,表示取不到有效值。
5220
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4439
5221
  */
4440
- StartTime?: number;
5222
+ RequestId?: string;
5223
+ }
5224
+ /**
5225
+ * UpdateDNSConfig请求参数结构体
5226
+ */
5227
+ export interface UpdateDNSConfigRequest {
4441
5228
  /**
4442
- * 通知结束时间 一天开始的秒数
4443
- 注意:此字段可能返回 null,表示取不到有效值。
5229
+ * 实例名
4444
5230
  */
4445
- EndTime?: number;
5231
+ InstanceId: string;
4446
5232
  /**
4447
- * 通知周期 1-7表示周一到周日
4448
- 注意:此字段可能返回 null,表示取不到有效值。
5233
+ * DNS 数组
4449
5234
  */
4450
- Weekday?: Array<number>;
5235
+ NameServers: Array<string>;
4451
5236
  }
4452
5237
  /**
4453
5238
  * CreateAlertRule请求参数结构体
@@ -4482,17 +5267,56 @@ export interface CreateAlertRuleRequest {
4482
5267
  /**
4483
5268
  * 标签列表
4484
5269
  */
4485
- Labels?: Array<PrometheusRuleKV>;
5270
+ Labels?: Array<PrometheusRuleKV>;
5271
+ /**
5272
+ * 注释列表。
5273
+
5274
+ 告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
5275
+ */
5276
+ Annotations?: Array<PrometheusRuleKV>;
5277
+ /**
5278
+ * 报警策略模板分类
5279
+ */
5280
+ Type?: string;
5281
+ }
5282
+ /**
5283
+ * DescribeDNSConfig返回参数结构体
5284
+ */
5285
+ export interface DescribeDNSConfigResponse {
5286
+ /**
5287
+ * DNS 服务器数组
5288
+ */
5289
+ NameServers: Array<string>;
5290
+ /**
5291
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5292
+ */
5293
+ RequestId?: string;
5294
+ }
5295
+ /**
5296
+ * UpdateGrafanaConfig请求参数结构体
5297
+ */
5298
+ export interface UpdateGrafanaConfigRequest {
5299
+ /**
5300
+ * 无
5301
+ */
5302
+ InstanceId: string;
5303
+ /**
5304
+ * JSON 编码后的字符串
5305
+ */
5306
+ Config: string;
5307
+ }
5308
+ /**
5309
+ * UpdateGrafanaEnvironments请求参数结构体
5310
+ */
5311
+ export interface UpdateGrafanaEnvironmentsRequest {
4486
5312
  /**
4487
- * 注释列表。
4488
-
4489
- 告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
5313
+ * 实例名
4490
5314
  */
4491
- Annotations?: Array<PrometheusRuleKV>;
5315
+ InstanceId: string;
4492
5316
  /**
4493
- * 报警策略模板分类
5317
+ * 环境变量字符串
4494
5318
  */
4495
- Type?: string;
5319
+ Envs: string;
4496
5320
  }
4497
5321
  /**
4498
5322
  * DescribeProductList返回参数结构体
@@ -4514,27 +5338,21 @@ export interface DescribeProductListResponse {
4514
5338
  RequestId?: string;
4515
5339
  }
4516
5340
  /**
4517
- * DescribeProductEventList返回参数结构体
5341
+ * DescribeGrafanaIntegrations请求参数结构体
4518
5342
  */
4519
- export interface DescribeProductEventListResponse {
4520
- /**
4521
- * 事件列表
4522
- 注意:此字段可能返回 null,表示取不到有效值。
4523
- */
4524
- Events: Array<DescribeProductEventListEvents>;
5343
+ export interface DescribeGrafanaIntegrationsRequest {
4525
5344
  /**
4526
- * 事件统计
5345
+ * 实例名
4527
5346
  */
4528
- OverView: DescribeProductEventListOverView;
5347
+ InstanceId: string;
4529
5348
  /**
4530
- * 事件总数
4531
- 注意:此字段可能返回 null,表示取不到有效值。
5349
+ * 集成 ID
4532
5350
  */
4533
- Total: number;
5351
+ IntegrationId?: string;
4534
5352
  /**
4535
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5353
+ * 类型
4536
5354
  */
4537
- RequestId?: string;
5355
+ Kind?: string;
4538
5356
  }
4539
5357
  /**
4540
5358
  * 告警历史数据
@@ -4836,6 +5654,23 @@ export interface DescribePolicyGroupInfoReceiverInfo {
4836
5654
  */
4837
5655
  ReceiveLanguage: string;
4838
5656
  }
5657
+ /**
5658
+ * DescribeAlarmNotices返回参数结构体
5659
+ */
5660
+ export interface DescribeAlarmNoticesResponse {
5661
+ /**
5662
+ * 告警通知模板总数
5663
+ */
5664
+ TotalCount: number;
5665
+ /**
5666
+ * 告警通知模板列表
5667
+ */
5668
+ Notices: Array<AlarmNotice>;
5669
+ /**
5670
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5671
+ */
5672
+ RequestId?: string;
5673
+ }
4839
5674
  /**
4840
5675
  * DescribeStatisticData返回参数结构体
4841
5676
  */
@@ -5064,13 +5899,34 @@ export interface DescribeBasicAlarmListRequest {
5064
5899
  MetricNames?: Array<string>;
5065
5900
  }
5066
5901
  /**
5067
- * UnBindingAllPolicyObject返回参数结构体
5902
+ * Prometheus Agent 管理命令行
5068
5903
  */
5069
- export interface UnBindingAllPolicyObjectResponse {
5904
+ export interface ManagementCommand {
5070
5905
  /**
5071
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5906
+ * Agent 安装命令
5907
+ 注意:此字段可能返回 null,表示取不到有效值。
5072
5908
  */
5073
- RequestId?: string;
5909
+ Install: string;
5910
+ /**
5911
+ * Agent 重启命令
5912
+ 注意:此字段可能返回 null,表示取不到有效值。
5913
+ */
5914
+ Restart: string;
5915
+ /**
5916
+ * Agent 停止命令
5917
+ 注意:此字段可能返回 null,表示取不到有效值。
5918
+ */
5919
+ Stop: string;
5920
+ /**
5921
+ * Agent 状态检测命令
5922
+ 注意:此字段可能返回 null,表示取不到有效值。
5923
+ */
5924
+ StatusCheck: string;
5925
+ /**
5926
+ * Agent 日志检测命令
5927
+ 注意:此字段可能返回 null,表示取不到有效值。
5928
+ */
5929
+ LogCheck: string;
5074
5930
  }
5075
5931
  /**
5076
5932
  * DescribeAlarmNotices请求参数结构体
@@ -5117,6 +5973,15 @@ export interface DescribeAlarmNoticesRequest {
5117
5973
  */
5118
5974
  NoticeIds?: Array<string>;
5119
5975
  }
5976
+ /**
5977
+ * DescribeGrafanaConfig请求参数结构体
5978
+ */
5979
+ export interface DescribeGrafanaConfigRequest {
5980
+ /**
5981
+ * 无
5982
+ */
5983
+ InstanceId: string;
5984
+ }
5120
5985
  /**
5121
5986
  * DescribePolicyGroupList.Group
5122
5987
  */
@@ -5208,6 +6073,35 @@ export interface DescribePolicyGroupListGroup {
5208
6073
  */
5209
6074
  IsUnionRule: number;
5210
6075
  }
6076
+ /**
6077
+ * DescribeGrafanaInstances请求参数结构体
6078
+ */
6079
+ export interface DescribeGrafanaInstancesRequest {
6080
+ /**
6081
+ * 查询偏移量
6082
+ */
6083
+ Offset: number;
6084
+ /**
6085
+ * 查询数量
6086
+ */
6087
+ Limit: number;
6088
+ /**
6089
+ * 实例 ID 数组
6090
+ */
6091
+ InstanceIds?: Array<string>;
6092
+ /**
6093
+ * 实例名,支持前缀模糊搜索
6094
+ */
6095
+ InstanceName?: string;
6096
+ /**
6097
+ * 查询状态
6098
+ */
6099
+ InstanceStatus?: Array<number>;
6100
+ /**
6101
+ * 标签过滤数组
6102
+ */
6103
+ TagFilters?: Array<PrometheusTag>;
6104
+ }
5211
6105
  /**
5212
6106
  * UpdateExporterIntegration请求参数结构体
5213
6107
  */
@@ -5316,6 +6210,15 @@ export interface MetricDatum {
5316
6210
  */
5317
6211
  Value: number;
5318
6212
  }
6213
+ /**
6214
+ * CreateGrafanaNotificationChannel返回参数结构体
6215
+ */
6216
+ export interface CreateGrafanaNotificationChannelResponse {
6217
+ /**
6218
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6219
+ */
6220
+ RequestId?: string;
6221
+ }
5319
6222
  /**
5320
6223
  * DescribeAlarmNotice返回参数结构体
5321
6224
  */
@@ -5368,33 +6271,50 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
5368
6271
  Regions: Array<string>;
5369
6272
  }
5370
6273
  /**
5371
- * UpdateServiceDiscovery请求参数结构体
6274
+ * DescribeProductEventList返回的Events里的GroupInfo
5372
6275
  */
5373
- export interface UpdateServiceDiscoveryRequest {
6276
+ export interface DescribeProductEventListEventsGroupInfo {
5374
6277
  /**
5375
- * Prometheus 实例 ID
6278
+ * 策略ID
6279
+ 注意:此字段可能返回 null,表示取不到有效值。
5376
6280
  */
5377
- InstanceId: string;
6281
+ GroupId: number;
5378
6282
  /**
5379
- * <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
6283
+ * 策略名
6284
+ 注意:此字段可能返回 null,表示取不到有效值。
5380
6285
  */
5381
- KubeClusterId: string;
6286
+ GroupName: string;
6287
+ }
6288
+ /**
6289
+ * UninstallGrafanaPlugins请求参数结构体
6290
+ */
6291
+ export interface UninstallGrafanaPluginsRequest {
5382
6292
  /**
5383
- * 用户 Kubernetes 集群类型:
5384
- <li> 1 = 容器服务集群(TKE) </li>
6293
+ * 插件 ID 数组
5385
6294
  */
5386
- KubeType: number;
6295
+ PluginIds: Array<string>;
5387
6296
  /**
5388
- * 服务发现类型,取值如下:
5389
- <li> 1 = ServiceMonitor</li>
5390
- <li> 2 = PodMonitor</li>
5391
- <li> 3 = JobMonitor</li>
6297
+ * 实例 ID
5392
6298
  */
5393
- Type: number;
6299
+ InstanceId: string;
6300
+ }
6301
+ /**
6302
+ * CleanGrafanaInstance请求参数结构体
6303
+ */
6304
+ export interface CleanGrafanaInstanceRequest {
5394
6305
  /**
5395
- * 服务发现配置信息
6306
+ * 实例名
5396
6307
  */
5397
- Yaml: string;
6308
+ InstanceId: string;
6309
+ }
6310
+ /**
6311
+ * UpgradeGrafanaInstance返回参数结构体
6312
+ */
6313
+ export interface UpgradeGrafanaInstanceResponse {
6314
+ /**
6315
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6316
+ */
6317
+ RequestId?: string;
5398
6318
  }
5399
6319
  /**
5400
6320
  * DeleteAlertRules请求参数结构体
@@ -5409,6 +6329,15 @@ export interface DeleteAlertRulesRequest {
5409
6329
  */
5410
6330
  InstanceId: string;
5411
6331
  }
6332
+ /**
6333
+ * DescribeSSOAccount请求参数结构体
6334
+ */
6335
+ export interface DescribeSSOAccountRequest {
6336
+ /**
6337
+ * 实例ID
6338
+ */
6339
+ InstanceId: string;
6340
+ }
5412
6341
  /**
5413
6342
  * DescribeAlarmNotice请求参数结构体
5414
6343
  */
@@ -5452,6 +6381,31 @@ export interface UninstallGrafanaDashboardRequest {
5452
6381
  */
5453
6382
  IntegrationCodes?: Array<string>;
5454
6383
  }
6384
+ /**
6385
+ * Grafana 告警渠道
6386
+ */
6387
+ export interface GrafanaNotificationChannel {
6388
+ /**
6389
+ * 渠道 ID
6390
+ */
6391
+ ChannelId: string;
6392
+ /**
6393
+ * 渠道名
6394
+ */
6395
+ ChannelName: string;
6396
+ /**
6397
+ * 告警通道模板 ID 数组
6398
+ */
6399
+ Receivers: Array<string>;
6400
+ /**
6401
+ * 创建时间
6402
+ */
6403
+ CreatedAt: string;
6404
+ /**
6405
+ * 更新时间
6406
+ */
6407
+ UpdatedAt: string;
6408
+ }
5455
6409
  /**
5456
6410
  * CreatePrometheusAgent请求参数结构体
5457
6411
  */
@@ -5736,6 +6690,15 @@ export interface CLSNotice {
5736
6690
  */
5737
6691
  Enable?: number;
5738
6692
  }
6693
+ /**
6694
+ * EnableGrafanaInternet返回参数结构体
6695
+ */
6696
+ export interface EnableGrafanaInternetResponse {
6697
+ /**
6698
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6699
+ */
6700
+ RequestId?: string;
6701
+ }
5739
6702
  /**
5740
6703
  * 查询策略输出的事件告警条件
5741
6704
  */
@@ -5784,13 +6747,13 @@ export interface ModifyAlarmPolicyStatusResponse {
5784
6747
  RequestId?: string;
5785
6748
  }
5786
6749
  /**
5787
- * GetPrometheusAgentManagementCommand返回参数结构体
6750
+ * DescribeGrafanaWhiteList返回参数结构体
5788
6751
  */
5789
- export interface GetPrometheusAgentManagementCommandResponse {
6752
+ export interface DescribeGrafanaWhiteListResponse {
5790
6753
  /**
5791
- * Agent 管理命令
6754
+ * 数组
5792
6755
  */
5793
- Command?: ManagementCommand;
6756
+ WhiteList: Array<string>;
5794
6757
  /**
5795
6758
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5796
6759
  */
@@ -5877,6 +6840,24 @@ export interface ModifyPolicyGroupCondition {
5877
6840
  */
5878
6841
  RuleId?: number;
5879
6842
  }
6843
+ /**
6844
+ * DescribeDNSConfig请求参数结构体
6845
+ */
6846
+ export interface DescribeDNSConfigRequest {
6847
+ /**
6848
+ * 实例名
6849
+ */
6850
+ InstanceId: string;
6851
+ }
6852
+ /**
6853
+ * UpdateDNSConfig返回参数结构体
6854
+ */
6855
+ export interface UpdateDNSConfigResponse {
6856
+ /**
6857
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6858
+ */
6859
+ RequestId?: string;
6860
+ }
5880
6861
  /**
5881
6862
  * DescribePolicyConditionList策略条件
5882
6863
  */
@@ -6119,19 +7100,74 @@ export interface DeleteServiceDiscoveryRequest {
6119
7100
  Yaml: string;
6120
7101
  }
6121
7102
  /**
6122
- * DescribeProductEventList返回的Events里的GroupInfo
7103
+ * UpdateSSOAccount返回参数结构体
6123
7104
  */
6124
- export interface DescribeProductEventListEventsGroupInfo {
7105
+ export interface UpdateSSOAccountResponse {
6125
7106
  /**
6126
- * 策略ID
6127
- 注意:此字段可能返回 null,表示取不到有效值。
7107
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6128
7108
  */
6129
- GroupId: number;
7109
+ RequestId?: string;
7110
+ }
7111
+ /**
7112
+ * DescribeInstalledPlugins返回参数结构体
7113
+ */
7114
+ export interface DescribeInstalledPluginsResponse {
6130
7115
  /**
6131
- * 策略名
6132
- 注意:此字段可能返回 null,表示取不到有效值。
7116
+ * 插件列表
6133
7117
  */
6134
- GroupName: string;
7118
+ PluginSet: Array<GrafanaPlugin>;
7119
+ /**
7120
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7121
+ */
7122
+ RequestId?: string;
7123
+ }
7124
+ /**
7125
+ * UpdateGrafanaConfig返回参数结构体
7126
+ */
7127
+ export interface UpdateGrafanaConfigResponse {
7128
+ /**
7129
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7130
+ */
7131
+ RequestId?: string;
7132
+ }
7133
+ /**
7134
+ * DeleteSSOAccount返回参数结构体
7135
+ */
7136
+ export interface DeleteSSOAccountResponse {
7137
+ /**
7138
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7139
+ */
7140
+ RequestId?: string;
7141
+ }
7142
+ /**
7143
+ * DescribeGrafanaInstances返回参数结构体
7144
+ */
7145
+ export interface DescribeGrafanaInstancesResponse {
7146
+ /**
7147
+ * 已废弃,请使用 Instances
7148
+ */
7149
+ InstanceSet: Array<GrafanaInstanceInfo>;
7150
+ /**
7151
+ * 符合查询条件的实例总数
7152
+ */
7153
+ TotalCount: number;
7154
+ /**
7155
+ * 实例列表
7156
+ */
7157
+ Instances: Array<GrafanaInstanceInfo>;
7158
+ /**
7159
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7160
+ */
7161
+ RequestId?: string;
7162
+ }
7163
+ /**
7164
+ * UnBindingAllPolicyObject返回参数结构体
7165
+ */
7166
+ export interface UnBindingAllPolicyObjectResponse {
7167
+ /**
7168
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7169
+ */
7170
+ RequestId?: string;
6135
7171
  }
6136
7172
  /**
6137
7173
  * DescribePrometheusInstances请求参数结构体