tencentcloud-sdk-nodejs 4.0.419 → 4.0.420

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.
@@ -15,6 +15,29 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * UpdateAlertRuleState请求参数结构体
20
+ */
21
+ export interface UpdateAlertRuleStateRequest {
22
+ /**
23
+ * 规则 ID 列表
24
+ */
25
+ RuleIds: Array<string>
26
+
27
+ /**
28
+ * Prometheus 实例 ID
29
+ */
30
+ InstanceId: string
31
+
32
+ /**
33
+ * 规则状态码,取值如下:
34
+ <li>2=RuleEnabled</li>
35
+ <li>3=RuleDisabled</li>
36
+ 默认状态码为 2 启用。
37
+ */
38
+ RuleState: number
39
+ }
40
+
18
41
  /**
19
42
  * 策略列表详情标签返回体
20
43
  */
@@ -104,9 +127,24 @@ export interface DescribePolicyConditionListConfigManual {
104
127
  }
105
128
 
106
129
  /**
107
- * ModifyAlarmPolicyNotice返回参数结构体
130
+ * InstallPlugins请求参数结构体
108
131
  */
109
- export interface ModifyAlarmPolicyNoticeResponse {
132
+ export interface InstallPluginsRequest {
133
+ /**
134
+ * 插件信息
135
+ */
136
+ Plugins: Array<GrafanaPlugin>
137
+
138
+ /**
139
+ * 实例 ID
140
+ */
141
+ InstanceId: string
142
+ }
143
+
144
+ /**
145
+ * UpdateGrafanaEnvironments返回参数结构体
146
+ */
147
+ export interface UpdateGrafanaEnvironmentsResponse {
110
148
  /**
111
149
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
112
150
  */
@@ -276,6 +314,50 @@ export interface DescribeServiceDiscoveryResponse {
276
314
  RequestId?: string
277
315
  }
278
316
 
317
+ /**
318
+ * ModifyAlarmNotice返回参数结构体
319
+ */
320
+ export interface ModifyAlarmNoticeResponse {
321
+ /**
322
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
323
+ */
324
+ RequestId?: string
325
+ }
326
+
327
+ /**
328
+ * UpdateServiceDiscovery请求参数结构体
329
+ */
330
+ export interface UpdateServiceDiscoveryRequest {
331
+ /**
332
+ * Prometheus 实例 ID
333
+ */
334
+ InstanceId: string
335
+
336
+ /**
337
+ * <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
338
+ */
339
+ KubeClusterId: string
340
+
341
+ /**
342
+ * 用户 Kubernetes 集群类型:
343
+ <li> 1 = 容器服务集群(TKE) </li>
344
+ */
345
+ KubeType: number
346
+
347
+ /**
348
+ * 服务发现类型,取值如下:
349
+ <li> 1 = ServiceMonitor</li>
350
+ <li> 2 = PodMonitor</li>
351
+ <li> 3 = JobMonitor</li>
352
+ */
353
+ Type: number
354
+
355
+ /**
356
+ * 服务发现配置信息
357
+ */
358
+ Yaml: string
359
+ }
360
+
279
361
  /**
280
362
  * DescribeRecordingRules返回参数结构体
281
363
  */
@@ -297,6 +379,42 @@ export interface DescribeRecordingRulesResponse {
297
379
  RequestId?: string
298
380
  }
299
381
 
382
+ /**
383
+ * 指标配置
384
+ */
385
+ export interface MetricConfig {
386
+ /**
387
+ * 允许使用的运算符
388
+ */
389
+ Operator: Array<string>
390
+
391
+ /**
392
+ * 允许配置的数据周期,以秒为单位
393
+ */
394
+ Period: Array<number>
395
+
396
+ /**
397
+ * 允许配置的持续周期个数
398
+ */
399
+ ContinuePeriod: Array<number>
400
+ }
401
+
402
+ /**
403
+ * Grafana 插件
404
+ */
405
+ export interface GrafanaPlugin {
406
+ /**
407
+ * Grafana 插件 ID
408
+ */
409
+ PluginId: string
410
+
411
+ /**
412
+ * Grafana 插件版本
413
+ 注意:此字段可能返回 null,表示取不到有效值。
414
+ */
415
+ Version: string
416
+ }
417
+
300
418
  /**
301
419
  * Prometheus 托管服务标签
302
420
  */
@@ -433,6 +551,21 @@ export interface DescribePolicyGroupListResponse {
433
551
  RequestId?: string
434
552
  }
435
553
 
554
+ /**
555
+ * UpdateGrafanaWhiteList请求参数结构体
556
+ */
557
+ export interface UpdateGrafanaWhiteListRequest {
558
+ /**
559
+ * 实例名
560
+ */
561
+ InstanceId: string
562
+
563
+ /**
564
+ * 白名单数组
565
+ */
566
+ Whitelist: Array<string>
567
+ }
568
+
436
569
  /**
437
570
  * BindingPolicyObject请求参数结构体
438
571
  */
@@ -464,13 +597,28 @@ export interface BindingPolicyObjectRequest {
464
597
  }
465
598
 
466
599
  /**
467
- * DescribeAlarmNoticeCallbacks请求参数结构体
600
+ * CreateServiceDiscovery返回参数结构体
468
601
  */
469
- export interface DescribeAlarmNoticeCallbacksRequest {
602
+ export interface CreateServiceDiscoveryResponse {
470
603
  /**
471
- * 模块名,这里填“monitor”
604
+ * 创建成功之后,返回对应服务发现信息
472
605
  */
473
- Module: string
606
+ ServiceDiscovery?: ServiceDiscoveryItem
607
+
608
+ /**
609
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
610
+ */
611
+ RequestId?: string
612
+ }
613
+
614
+ /**
615
+ * UpdateGrafanaWhiteList返回参数结构体
616
+ */
617
+ export interface UpdateGrafanaWhiteListResponse {
618
+ /**
619
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
620
+ */
621
+ RequestId?: string
474
622
  }
475
623
 
476
624
  /**
@@ -531,9 +679,9 @@ export interface DescribePolicyGroupInfoRequest {
531
679
  }
532
680
 
533
681
  /**
534
- * UpdateAlertRuleState返回参数结构体
682
+ * EnableSSOCamCheck返回参数结构体
535
683
  */
536
- export interface UpdateAlertRuleStateResponse {
684
+ export interface EnableSSOCamCheckResponse {
537
685
  /**
538
686
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
539
687
  */
@@ -615,6 +763,21 @@ export interface DescribePolicyGroupInfoCallback {
615
763
  VerifyCode: string
616
764
  }
617
765
 
766
+ /**
767
+ * ModifyGrafanaInstance请求参数结构体
768
+ */
769
+ export interface ModifyGrafanaInstanceRequest {
770
+ /**
771
+ * 实例 ID
772
+ */
773
+ InstanceId: string
774
+
775
+ /**
776
+ * 实例名称
777
+ */
778
+ InstanceName: string
779
+ }
780
+
618
781
  /**
619
782
  * 告警历史的指标信息
620
783
  */
@@ -720,6 +883,16 @@ export interface CreateAlarmPolicyRequest {
720
883
  GroupBy?: Array<string>
721
884
  }
722
885
 
886
+ /**
887
+ * EnableGrafanaSSO返回参数结构体
888
+ */
889
+ export interface EnableGrafanaSSOResponse {
890
+ /**
891
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
892
+ */
893
+ RequestId?: string
894
+ }
895
+
723
896
  /**
724
897
  * CreateExporterIntegration请求参数结构体
725
898
  */
@@ -974,6 +1147,16 @@ export interface DeleteAlarmPolicyRequest {
974
1147
  PolicyIds: Array<string>
975
1148
  }
976
1149
 
1150
+ /**
1151
+ * UpdatePrometheusAgentStatus返回参数结构体
1152
+ */
1153
+ export interface UpdatePrometheusAgentStatusResponse {
1154
+ /**
1155
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1156
+ */
1157
+ RequestId?: string
1158
+ }
1159
+
977
1160
  /**
978
1161
  * 策略标签
979
1162
  */
@@ -1323,6 +1506,16 @@ export interface DeleteAlertRulesResponse {
1323
1506
  RequestId?: string
1324
1507
  }
1325
1508
 
1509
+ /**
1510
+ * DeleteGrafanaNotificationChannel返回参数结构体
1511
+ */
1512
+ export interface DeleteGrafanaNotificationChannelResponse {
1513
+ /**
1514
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1515
+ */
1516
+ RequestId?: string
1517
+ }
1518
+
1326
1519
  /**
1327
1520
  * GetMonitorData请求参数结构体
1328
1521
  */
@@ -1358,6 +1551,16 @@ export interface GetMonitorDataRequest {
1358
1551
  EndTime?: string
1359
1552
  }
1360
1553
 
1554
+ /**
1555
+ * CreateSSOAccount返回参数结构体
1556
+ */
1557
+ export interface CreateSSOAccountResponse {
1558
+ /**
1559
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1560
+ */
1561
+ RequestId?: string
1562
+ }
1563
+
1361
1564
  /**
1362
1565
  * 监控数据点
1363
1566
  */
@@ -1563,23 +1766,58 @@ export interface DescribePolicyConditionListConfigManualPeriod {
1563
1766
  }
1564
1767
 
1565
1768
  /**
1566
- * 指标配置
1769
+ * DescribeGrafanaEnvironments返回参数结构体
1567
1770
  */
1568
- export interface MetricConfig {
1771
+ export interface DescribeGrafanaEnvironmentsResponse {
1569
1772
  /**
1570
- * 允许使用的运算符
1773
+ * 环境变量字符串
1571
1774
  */
1572
- Operator: Array<string>
1775
+ Envs: string
1573
1776
 
1574
1777
  /**
1575
- * 允许配置的数据周期,以秒为单位
1778
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1576
1779
  */
1577
- Period: Array<number>
1780
+ RequestId?: string
1781
+ }
1578
1782
 
1783
+ /**
1784
+ * export 集成配置
1785
+ */
1786
+ export interface IntegrationConfiguration {
1579
1787
  /**
1580
- * 允许配置的持续周期个数
1788
+ * 名字
1581
1789
  */
1582
- ContinuePeriod: Array<number>
1790
+ Name: string
1791
+
1792
+ /**
1793
+ * 类型
1794
+ */
1795
+ Kind: string
1796
+
1797
+ /**
1798
+ * 内容
1799
+ */
1800
+ Content: string
1801
+
1802
+ /**
1803
+ * 状态
1804
+ */
1805
+ Status: number
1806
+
1807
+ /**
1808
+ * 实例类型
1809
+ */
1810
+ Category: string
1811
+
1812
+ /**
1813
+ * 实例描述
1814
+ */
1815
+ InstanceDesc: string
1816
+
1817
+ /**
1818
+ * dashboard 的 URL
1819
+ */
1820
+ GrafanaDashboardURL: string
1583
1821
  }
1584
1822
 
1585
1823
  /**
@@ -1659,22 +1897,63 @@ export interface DescribePolicyConditionListRequest {
1659
1897
  }
1660
1898
 
1661
1899
  /**
1662
- * DeletePolicyGroup返回参数结构体
1900
+ * 云监控告警通知模板 - 回调通知详情
1663
1901
  */
1664
- export interface DeletePolicyGroupResponse {
1902
+ export interface URLNotice {
1665
1903
  /**
1666
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1667
- */
1668
- RequestId?: string
1669
- }
1904
+ * 回调 url(限长256字符)
1905
+ 注意:此字段可能返回 null,表示取不到有效值。
1906
+ */
1907
+ URL: string
1670
1908
 
1671
- /**
1672
- * DescribeConditionsTemplateList返回参数结构体
1673
- */
1674
- export interface DescribeConditionsTemplateListResponse {
1675
1909
  /**
1676
- * 模板总数
1677
- */
1910
+ * 是否通过验证 0=否 1=是
1911
+ 注意:此字段可能返回 null,表示取不到有效值。
1912
+ */
1913
+ IsValid?: number
1914
+
1915
+ /**
1916
+ * 验证码
1917
+ 注意:此字段可能返回 null,表示取不到有效值。
1918
+ */
1919
+ ValidationCode?: string
1920
+
1921
+ /**
1922
+ * 通知开始时间 一天开始的秒数
1923
+ 注意:此字段可能返回 null,表示取不到有效值。
1924
+ */
1925
+ StartTime?: number
1926
+
1927
+ /**
1928
+ * 通知结束时间 一天开始的秒数
1929
+ 注意:此字段可能返回 null,表示取不到有效值。
1930
+ */
1931
+ EndTime?: number
1932
+
1933
+ /**
1934
+ * 通知周期 1-7表示周一到周日
1935
+ 注意:此字段可能返回 null,表示取不到有效值。
1936
+ */
1937
+ Weekday?: Array<number>
1938
+ }
1939
+
1940
+ /**
1941
+ * DeletePolicyGroup返回参数结构体
1942
+ */
1943
+ export interface DeletePolicyGroupResponse {
1944
+ /**
1945
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1946
+ */
1947
+ RequestId?: string
1948
+ }
1949
+
1950
+ /**
1951
+ * DescribeConditionsTemplateList返回参数结构体
1952
+ */
1953
+ export interface DescribeConditionsTemplateListResponse {
1954
+ /**
1955
+ * 模板总数
1956
+ */
1678
1957
  Total: number
1679
1958
 
1680
1959
  /**
@@ -1689,6 +1968,16 @@ export interface DescribeConditionsTemplateListResponse {
1689
1968
  RequestId?: string
1690
1969
  }
1691
1970
 
1971
+ /**
1972
+ * ResumeGrafanaInstance请求参数结构体
1973
+ */
1974
+ export interface ResumeGrafanaInstanceRequest {
1975
+ /**
1976
+ * 实例 ID
1977
+ */
1978
+ InstanceId: string
1979
+ }
1980
+
1692
1981
  /**
1693
1982
  * DescribeMonitorTypes请求参数结构体
1694
1983
  */
@@ -1700,18 +1989,38 @@ export interface DescribeMonitorTypesRequest {
1700
1989
  }
1701
1990
 
1702
1991
  /**
1703
- * DescribeAlarmNotices返回参数结构体
1992
+ * DescribeGrafanaConfig返回参数结构体
1704
1993
  */
1705
- export interface DescribeAlarmNoticesResponse {
1994
+ export interface DescribeGrafanaConfigResponse {
1706
1995
  /**
1707
- * 告警通知模板总数
1996
+ * JSON 编码后的字符串
1708
1997
  */
1709
- TotalCount: number
1998
+ Config: string
1710
1999
 
1711
2000
  /**
1712
- * 告警通知模板列表
2001
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1713
2002
  */
1714
- Notices: Array<AlarmNotice>
2003
+ RequestId?: string
2004
+ }
2005
+
2006
+ /**
2007
+ * DeleteGrafanaInstance请求参数结构体
2008
+ */
2009
+ export interface DeleteGrafanaInstanceRequest {
2010
+ /**
2011
+ * 实例名数组
2012
+ */
2013
+ InstanceIDs: Array<string>
2014
+ }
2015
+
2016
+ /**
2017
+ * DescribeGrafanaIntegrations返回参数结构体
2018
+ */
2019
+ export interface DescribeGrafanaIntegrationsResponse {
2020
+ /**
2021
+ * 集成数组
2022
+ */
2023
+ IntegrationSet: Array<GrafanaIntegrationConfig>
1715
2024
 
1716
2025
  /**
1717
2026
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1739,6 +2048,31 @@ export interface ModifyAlarmPolicyTasksRequest {
1739
2048
  TriggerTasks?: Array<AlarmPolicyTriggerTask>
1740
2049
  }
1741
2050
 
2051
+ /**
2052
+ * Grafana 集成实例配置
2053
+ */
2054
+ export interface GrafanaIntegrationConfig {
2055
+ /**
2056
+ * 集成 ID
2057
+ */
2058
+ IntegrationId: string
2059
+
2060
+ /**
2061
+ * 集成类型
2062
+ */
2063
+ Kind: string
2064
+
2065
+ /**
2066
+ * 集成内容
2067
+ */
2068
+ Content: string
2069
+
2070
+ /**
2071
+ * 集成描述
2072
+ */
2073
+ Description: string
2074
+ }
2075
+
1742
2076
  /**
1743
2077
  * 维度信息
1744
2078
  */
@@ -1749,6 +2083,21 @@ export interface DimensionsDesc {
1749
2083
  Dimensions: Array<string>
1750
2084
  }
1751
2085
 
2086
+ /**
2087
+ * DeleteGrafanaIntegration请求参数结构体
2088
+ */
2089
+ export interface DeleteGrafanaIntegrationRequest {
2090
+ /**
2091
+ * 实例 ID
2092
+ */
2093
+ InstanceId: string
2094
+
2095
+ /**
2096
+ * 集成 ID
2097
+ */
2098
+ IntegrationId: string
2099
+ }
2100
+
1752
2101
  /**
1753
2102
  * ModifyAlarmPolicyStatus请求参数结构体
1754
2103
  */
@@ -1785,9 +2134,64 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeResponse {
1785
2134
  }
1786
2135
 
1787
2136
  /**
1788
- * UpdatePrometheusAgentStatus返回参数结构体
2137
+ * Grafana可视化服务 授权账户信息
1789
2138
  */
1790
- export interface UpdatePrometheusAgentStatusResponse {
2139
+ export interface GrafanaAccountInfo {
2140
+ /**
2141
+ * 用户账号ID
2142
+ */
2143
+ UserId: string
2144
+
2145
+ /**
2146
+ * 用户权限
2147
+ */
2148
+ Role: Array<GrafanaAccountRole>
2149
+
2150
+ /**
2151
+ * 备注
2152
+ */
2153
+ Notes: string
2154
+
2155
+ /**
2156
+ * 创建时间
2157
+ */
2158
+ CreateAt: string
2159
+ }
2160
+
2161
+ /**
2162
+ * UpdateGrafanaNotificationChannel请求参数结构体
2163
+ */
2164
+ export interface UpdateGrafanaNotificationChannelRequest {
2165
+ /**
2166
+ * 通道 ID
2167
+ */
2168
+ ChannelId: string
2169
+
2170
+ /**
2171
+ * 实例名
2172
+ */
2173
+ InstanceId: string
2174
+
2175
+ /**
2176
+ * 渠道名
2177
+ */
2178
+ ChannelName: string
2179
+
2180
+ /**
2181
+ * 接受告警通道 ID 数组
2182
+ */
2183
+ Receivers: Array<string>
2184
+
2185
+ /**
2186
+ * 额外组织 ID 数组
2187
+ */
2188
+ ExtraOrgIds?: Array<string>
2189
+ }
2190
+
2191
+ /**
2192
+ * UninstallGrafanaPlugins返回参数结构体
2193
+ */
2194
+ export interface UninstallGrafanaPluginsResponse {
1791
2195
  /**
1792
2196
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1793
2197
  */
@@ -1974,6 +2378,16 @@ export interface DescribeBasicAlarmListResponse {
1974
2378
  RequestId?: string
1975
2379
  }
1976
2380
 
2381
+ /**
2382
+ * DescribeGrafanaEnvironments请求参数结构体
2383
+ */
2384
+ export interface DescribeGrafanaEnvironmentsRequest {
2385
+ /**
2386
+ * 实例名
2387
+ */
2388
+ InstanceId: string
2389
+ }
2390
+
1977
2391
  /**
1978
2392
  * DescribeProductList请求参数结构体
1979
2393
  */
@@ -2014,6 +2428,21 @@ export interface PeriodsSt {
2014
2428
  StatType: Array<string>
2015
2429
  }
2016
2430
 
2431
+ /**
2432
+ * Grafana可视化服务 账号权限
2433
+ */
2434
+ export interface GrafanaAccountRole {
2435
+ /**
2436
+ * 组织
2437
+ */
2438
+ Organization?: string
2439
+
2440
+ /**
2441
+ * 权限
2442
+ */
2443
+ Role?: string
2444
+ }
2445
+
2017
2446
  /**
2018
2447
  * BindPrometheusManagedGrafana返回参数结构体
2019
2448
  */
@@ -2239,28 +2668,28 @@ export interface DeleteExporterIntegrationRequest {
2239
2668
  */
2240
2669
  InstanceId: string
2241
2670
 
2671
+ /**
2672
+ * 类型
2673
+ */
2674
+ Kind: string
2675
+
2676
+ /**
2677
+ * 名字
2678
+ */
2679
+ Name: string
2680
+
2242
2681
  /**
2243
2682
  * Kubernetes 集群类型,取值如下:
2244
2683
  <li> 1= 容器集群(TKE) </li>
2245
2684
  <li> 2=弹性集群<EKS> </li>
2246
2685
  <li> 3= Prometheus管理的弹性集群<MEKS> </li>
2247
2686
  */
2248
- KubeType: number
2687
+ KubeType?: number
2249
2688
 
2250
2689
  /**
2251
2690
  * 集群 ID
2252
2691
  */
2253
- ClusterId: string
2254
-
2255
- /**
2256
- * 类型
2257
- */
2258
- Kind: string
2259
-
2260
- /**
2261
- * 名字
2262
- */
2263
- Name: string
2692
+ ClusterId?: string
2264
2693
  }
2265
2694
 
2266
2695
  /**
@@ -2274,38 +2703,18 @@ export interface ModifyAlarmReceiversResponse {
2274
2703
  }
2275
2704
 
2276
2705
  /**
2277
- * Prometheus Agent 管理命令行
2706
+ * EnableGrafanaSSO请求参数结构体
2278
2707
  */
2279
- export interface ManagementCommand {
2280
- /**
2281
- * Agent 安装命令
2282
- 注意:此字段可能返回 null,表示取不到有效值。
2283
- */
2284
- Install: string
2285
-
2286
- /**
2287
- * Agent 重启命令
2288
- 注意:此字段可能返回 null,表示取不到有效值。
2289
- */
2290
- Restart: string
2291
-
2708
+ export interface EnableGrafanaSSORequest {
2292
2709
  /**
2293
- * Agent 停止命令
2294
- 注意:此字段可能返回 null,表示取不到有效值。
2295
- */
2296
- Stop: string
2297
-
2298
- /**
2299
- * Agent 状态检测命令
2300
- 注意:此字段可能返回 null,表示取不到有效值。
2301
- */
2302
- StatusCheck: string
2710
+ * 是否开启 SSO
2711
+ */
2712
+ EnableSSO: boolean
2303
2713
 
2304
2714
  /**
2305
- * Agent 日志检测命令
2306
- 注意:此字段可能返回 null,表示取不到有效值。
2307
- */
2308
- LogCheck: string
2715
+ * 实例 ID
2716
+ */
2717
+ InstanceId: string
2309
2718
  }
2310
2719
 
2311
2720
  /**
@@ -2465,6 +2874,46 @@ export interface DeleteAlarmNoticesResponse {
2465
2874
  RequestId?: string
2466
2875
  }
2467
2876
 
2877
+ /**
2878
+ * DescribeGrafanaNotificationChannels请求参数结构体
2879
+ */
2880
+ export interface DescribeGrafanaNotificationChannelsRequest {
2881
+ /**
2882
+ * 实例名
2883
+ */
2884
+ InstanceId: string
2885
+
2886
+ /**
2887
+ * 偏移量
2888
+ */
2889
+ Offset: number
2890
+
2891
+ /**
2892
+ * 查询数量
2893
+ */
2894
+ Limit: number
2895
+
2896
+ /**
2897
+ * 渠道名
2898
+ */
2899
+ ChannelName?: string
2900
+
2901
+ /**
2902
+ * 渠道 ID
2903
+ */
2904
+ ChannelIDs?: Array<string>
2905
+
2906
+ /**
2907
+ * 状态
2908
+ */
2909
+ ChannelState?: number
2910
+ }
2911
+
2912
+ /**
2913
+ * DescribePluginOverviews请求参数结构体
2914
+ */
2915
+ export type DescribePluginOverviewsRequest = null
2916
+
2468
2917
  /**
2469
2918
  * TerminatePrometheusInstances请求参数结构体
2470
2919
  */
@@ -2476,9 +2925,15 @@ export interface TerminatePrometheusInstancesRequest {
2476
2925
  }
2477
2926
 
2478
2927
  /**
2479
- * UnbindPrometheusManagedGrafana返回参数结构体
2928
+ * DescribeSSOAccount返回参数结构体
2480
2929
  */
2481
- export interface UnbindPrometheusManagedGrafanaResponse {
2930
+ export interface DescribeSSOAccountResponse {
2931
+ /**
2932
+ * 授权账号列表
2933
+ 注意:此字段可能返回 null,表示取不到有效值。
2934
+ */
2935
+ AccountSet: Array<GrafanaAccountInfo>
2936
+
2482
2937
  /**
2483
2938
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2484
2939
  */
@@ -2508,11 +2963,21 @@ export interface UpdatePrometheusAgentStatusRequest {
2508
2963
  }
2509
2964
 
2510
2965
  /**
2511
- * CreateAlarmPolicy返回参数结构体
2966
+ * InstallPlugins返回参数结构体
2512
2967
  */
2513
- export interface CreateAlarmPolicyResponse {
2968
+ export interface InstallPluginsResponse {
2514
2969
  /**
2515
- * 告警策略 ID
2970
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2971
+ */
2972
+ RequestId?: string
2973
+ }
2974
+
2975
+ /**
2976
+ * CreateAlarmPolicy返回参数结构体
2977
+ */
2978
+ export interface CreateAlarmPolicyResponse {
2979
+ /**
2980
+ * 告警策略 ID
2516
2981
  */
2517
2982
  PolicyId: string
2518
2983
 
@@ -2676,18 +3141,38 @@ re=正则匹配
2676
3141
  }
2677
3142
 
2678
3143
  /**
2679
- * CreateServiceDiscovery返回参数结构体
3144
+ * DeleteGrafanaNotificationChannel请求参数结构体
2680
3145
  */
2681
- export interface CreateServiceDiscoveryResponse {
3146
+ export interface DeleteGrafanaNotificationChannelRequest {
2682
3147
  /**
2683
- * 创建成功之后,返回对应服务发现信息
3148
+ * 通道 ID 数组
2684
3149
  */
2685
- ServiceDiscovery?: ServiceDiscoveryItem
3150
+ ChannelIDs: Array<string>
2686
3151
 
2687
3152
  /**
2688
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3153
+ * 实例名
2689
3154
  */
2690
- RequestId?: string
3155
+ InstanceId: string
3156
+ }
3157
+
3158
+ /**
3159
+ * CreateGrafanaIntegration请求参数结构体
3160
+ */
3161
+ export interface CreateGrafanaIntegrationRequest {
3162
+ /**
3163
+ * 实例名
3164
+ */
3165
+ InstanceId: string
3166
+
3167
+ /**
3168
+ * 类型
3169
+ */
3170
+ Kind: string
3171
+
3172
+ /**
3173
+ * 配置
3174
+ */
3175
+ Content: string
2691
3176
  }
2692
3177
 
2693
3178
  /**
@@ -2720,12 +3205,12 @@ export interface DescribeExporterIntegrationsRequest {
2720
3205
  <li> 2=弹性集群<EKS> </li>
2721
3206
  <li> 3= Prometheus管理的弹性集群<MEKS> </li>
2722
3207
  */
2723
- KubeType: number
3208
+ KubeType?: number
2724
3209
 
2725
3210
  /**
2726
3211
  * 集群 ID
2727
3212
  */
2728
- ClusterId: string
3213
+ ClusterId?: string
2729
3214
 
2730
3215
  /**
2731
3216
  * 类型
@@ -2983,26 +3468,18 @@ export interface Point {
2983
3468
  }
2984
3469
 
2985
3470
  /**
2986
- * UpdateAlertRuleState请求参数结构体
3471
+ * UpdateAlertRule返回参数结构体
2987
3472
  */
2988
- export interface UpdateAlertRuleStateRequest {
3473
+ export interface UpdateAlertRuleResponse {
2989
3474
  /**
2990
- * 规则 ID 列表
3475
+ * 规则 ID
2991
3476
  */
2992
- RuleIds: Array<string>
3477
+ RuleId: string
2993
3478
 
2994
3479
  /**
2995
- * Prometheus 实例 ID
3480
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2996
3481
  */
2997
- InstanceId: string
2998
-
2999
- /**
3000
- * 规则状态码,取值如下:
3001
- <li>2=RuleEnabled</li>
3002
- <li>3=RuleDisabled</li>
3003
- 默认状态码为 2 启用。
3004
- */
3005
- RuleState: number
3482
+ RequestId?: string
3006
3483
  }
3007
3484
 
3008
3485
  /**
@@ -3031,67 +3508,43 @@ export interface ModifyPolicyGroupEventCondition {
3031
3508
  }
3032
3509
 
3033
3510
  /**
3034
- * 指标,可用于设置告警、查询数据
3511
+ * CreateGrafanaNotificationChannel请求参数结构体
3035
3512
  */
3036
- export interface Metric {
3513
+ export interface CreateGrafanaNotificationChannelRequest {
3037
3514
  /**
3038
- * 告警策略类型
3039
- */
3040
- Namespace: string
3041
-
3042
- /**
3043
- * 指标名
3515
+ * 实例名
3044
3516
  */
3045
- MetricName: string
3517
+ InstanceId: string
3046
3518
 
3047
3519
  /**
3048
- * 指标展示名
3520
+ * 渠道名
3049
3521
  */
3050
- Description: string
3522
+ ChannelName: string
3051
3523
 
3052
3524
  /**
3053
- * 最小值
3525
+ * 组织 ID
3054
3526
  */
3055
- Min: number
3527
+ OrgId: number
3056
3528
 
3057
3529
  /**
3058
- * 最大值
3530
+ * 接受告警通道 ID 数组
3059
3531
  */
3060
- Max: number
3532
+ Receivers: Array<string>
3061
3533
 
3062
3534
  /**
3063
- * 维度列表
3535
+ * 额外组织 ID 数组
3064
3536
  */
3065
- Dimensions: Array<string>
3537
+ ExtraOrgIds?: Array<string>
3538
+ }
3066
3539
 
3540
+ /**
3541
+ * ModifyGrafanaInstance返回参数结构体
3542
+ */
3543
+ export interface ModifyGrafanaInstanceResponse {
3067
3544
  /**
3068
- * 单位
3545
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3069
3546
  */
3070
- Unit: string
3071
-
3072
- /**
3073
- * 指标配置
3074
- 注意:此字段可能返回 null,表示取不到有效值。
3075
- */
3076
- MetricConfig: MetricConfig
3077
-
3078
- /**
3079
- * 是否为高级指标。1是 0否
3080
- 注意:此字段可能返回 null,表示取不到有效值。
3081
- */
3082
- IsAdvanced: number
3083
-
3084
- /**
3085
- * 高级指标是否开通。1是 0否
3086
- 注意:此字段可能返回 null,表示取不到有效值。
3087
- */
3088
- IsOpen: number
3089
-
3090
- /**
3091
- * 集成中心产品ID
3092
- 注意:此字段可能返回 null,表示取不到有效值。
3093
- */
3094
- ProductId: number
3547
+ RequestId?: string
3095
3548
  }
3096
3549
 
3097
3550
  /**
@@ -3199,6 +3652,31 @@ export interface DescribeBaseMetricsRequest {
3199
3652
  Dimensions?: Array<string>
3200
3653
  }
3201
3654
 
3655
+ /**
3656
+ * CreateSSOAccount请求参数结构体
3657
+ */
3658
+ export interface CreateSSOAccountRequest {
3659
+ /**
3660
+ * 实例ID
3661
+ */
3662
+ InstanceId: string
3663
+
3664
+ /**
3665
+ * 用户账号ID
3666
+ */
3667
+ UserId: string
3668
+
3669
+ /**
3670
+ * 权限
3671
+ */
3672
+ Role: Array<GrafanaAccountRole>
3673
+
3674
+ /**
3675
+ * 备注
3676
+ */
3677
+ Notes?: string
3678
+ }
3679
+
3202
3680
  /**
3203
3681
  * 云监控告警通知模板 - 用户通知详情
3204
3682
  */
@@ -3307,6 +3785,16 @@ export interface UpdatePrometheusScrapeJobRequest {
3307
3785
  Config: string
3308
3786
  }
3309
3787
 
3788
+ /**
3789
+ * UpdateGrafanaNotificationChannel返回参数结构体
3790
+ */
3791
+ export interface UpdateGrafanaNotificationChannelResponse {
3792
+ /**
3793
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3794
+ */
3795
+ RequestId?: string
3796
+ }
3797
+
3310
3798
  /**
3311
3799
  * 告警策略过滤条件
3312
3800
  */
@@ -3324,6 +3812,31 @@ export interface AlarmPolicyFilter {
3324
3812
  Dimensions?: string
3325
3813
  }
3326
3814
 
3815
+ /**
3816
+ * UpgradeGrafanaInstance请求参数结构体
3817
+ */
3818
+ export interface UpgradeGrafanaInstanceRequest {
3819
+ /**
3820
+ * 实例名
3821
+ */
3822
+ InstanceId: string
3823
+
3824
+ /**
3825
+ * 版本别名
3826
+ */
3827
+ Alias: string
3828
+ }
3829
+
3830
+ /**
3831
+ * DescribeAlarmNoticeCallbacks请求参数结构体
3832
+ */
3833
+ export interface DescribeAlarmNoticeCallbacksRequest {
3834
+ /**
3835
+ * 模块名,这里填“monitor”
3836
+ */
3837
+ Module: string
3838
+ }
3839
+
3327
3840
  /**
3328
3841
  * DescribeAlarmNoticeCallbacks返回参数结构体
3329
3842
  */
@@ -3391,9 +3904,24 @@ export interface ModifyAlarmPolicyConditionRequest {
3391
3904
  }
3392
3905
 
3393
3906
  /**
3394
- * ModifyAlarmNotice返回参数结构体
3907
+ * DeleteSSOAccount请求参数结构体
3395
3908
  */
3396
- export interface ModifyAlarmNoticeResponse {
3909
+ export interface DeleteSSOAccountRequest {
3910
+ /**
3911
+ * 实例ID
3912
+ */
3913
+ InstanceId: string
3914
+
3915
+ /**
3916
+ * 用户账号ID
3917
+ */
3918
+ UserId: string
3919
+ }
3920
+
3921
+ /**
3922
+ * CreateGrafanaIntegration返回参数结构体
3923
+ */
3924
+ export interface CreateGrafanaIntegrationResponse {
3397
3925
  /**
3398
3926
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3399
3927
  */
@@ -3415,6 +3943,26 @@ export interface BindPrometheusManagedGrafanaRequest {
3415
3943
  GrafanaId: string
3416
3944
  }
3417
3945
 
3946
+ /**
3947
+ * ResumeGrafanaInstance返回参数结构体
3948
+ */
3949
+ export interface ResumeGrafanaInstanceResponse {
3950
+ /**
3951
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3952
+ */
3953
+ RequestId?: string
3954
+ }
3955
+
3956
+ /**
3957
+ * UpdateAlertRuleState返回参数结构体
3958
+ */
3959
+ export interface UpdateAlertRuleStateResponse {
3960
+ /**
3961
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3962
+ */
3963
+ RequestId?: string
3964
+ }
3965
+
3418
3966
  /**
3419
3967
  * 实例维度组合数组
3420
3968
  */
@@ -3425,6 +3973,68 @@ export interface Instance {
3425
3973
  Dimensions: Array<Dimension>
3426
3974
  }
3427
3975
 
3976
+ /**
3977
+ * DescribeProductEventList返回参数结构体
3978
+ */
3979
+ export interface DescribeProductEventListResponse {
3980
+ /**
3981
+ * 事件列表
3982
+ 注意:此字段可能返回 null,表示取不到有效值。
3983
+ */
3984
+ Events: Array<DescribeProductEventListEvents>
3985
+
3986
+ /**
3987
+ * 事件统计
3988
+ */
3989
+ OverView: DescribeProductEventListOverView
3990
+
3991
+ /**
3992
+ * 事件总数
3993
+ 注意:此字段可能返回 null,表示取不到有效值。
3994
+ */
3995
+ Total: number
3996
+
3997
+ /**
3998
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3999
+ */
4000
+ RequestId?: string
4001
+ }
4002
+
4003
+ /**
4004
+ * CreateGrafanaInstance请求参数结构体
4005
+ */
4006
+ export interface CreateGrafanaInstanceRequest {
4007
+ /**
4008
+ * 实例名
4009
+ */
4010
+ InstanceName: string
4011
+
4012
+ /**
4013
+ * VPC ID
4014
+ */
4015
+ VpcId: string
4016
+
4017
+ /**
4018
+ * 子网 ID 数组
4019
+ */
4020
+ SubnetIds: Array<string>
4021
+
4022
+ /**
4023
+ * Grafana 初始密码
4024
+ */
4025
+ GrafanaInitPassword: string
4026
+
4027
+ /**
4028
+ * 是否启用外网
4029
+ */
4030
+ EnableInternet: boolean
4031
+
4032
+ /**
4033
+ * 标签
4034
+ */
4035
+ TagSpecification?: Array<PrometheusTag>
4036
+ }
4037
+
3428
4038
  /**
3429
4039
  * 策略绑定实例维度信息
3430
4040
  */
@@ -3453,18 +4063,149 @@ export interface BindingPolicyObjectDimension {
3453
4063
  }
3454
4064
 
3455
4065
  /**
3456
- * DeletePolicyGroup请求参数结构体
4066
+ * UnbindPrometheusManagedGrafana返回参数结构体
3457
4067
  */
3458
- export interface DeletePolicyGroupRequest {
4068
+ export interface UnbindPrometheusManagedGrafanaResponse {
3459
4069
  /**
3460
- * 固定值,为"monitor"
4070
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3461
4071
  */
3462
- Module: string
4072
+ RequestId?: string
4073
+ }
3463
4074
 
4075
+ /**
4076
+ * DescribeBasicAlarmList返回的Alarms
4077
+ */
4078
+ export interface DescribeBasicAlarmListAlarms {
3464
4079
  /**
3465
- * 策略组id
4080
+ * 该条告警的ID
3466
4081
  */
3467
- GroupId: Array<number>
4082
+ Id: number
4083
+
4084
+ /**
4085
+ * 项目ID
4086
+ 注意:此字段可能返回 null,表示取不到有效值。
4087
+ */
4088
+ ProjectId: number
4089
+
4090
+ /**
4091
+ * 项目名称
4092
+ 注意:此字段可能返回 null,表示取不到有效值。
4093
+ */
4094
+ ProjectName: string
4095
+
4096
+ /**
4097
+ * 告警状态ID,0表示未恢复;1表示已恢复;2,3,5表示数据不足;4表示已失效
4098
+ 注意:此字段可能返回 null,表示取不到有效值。
4099
+ */
4100
+ Status: number
4101
+
4102
+ /**
4103
+ * 告警状态,ALARM表示未恢复;OK表示已恢复;NO_DATA表示数据不足;NO_CONF表示已失效
4104
+ 注意:此字段可能返回 null,表示取不到有效值。
4105
+ */
4106
+ AlarmStatus: string
4107
+
4108
+ /**
4109
+ * 策略组ID
4110
+ 注意:此字段可能返回 null,表示取不到有效值。
4111
+ */
4112
+ GroupId: number
4113
+
4114
+ /**
4115
+ * 策略组名
4116
+ 注意:此字段可能返回 null,表示取不到有效值。
4117
+ */
4118
+ GroupName: string
4119
+
4120
+ /**
4121
+ * 发生时间
4122
+ 注意:此字段可能返回 null,表示取不到有效值。
4123
+ */
4124
+ FirstOccurTime: string
4125
+
4126
+ /**
4127
+ * 持续时间,单位s
4128
+ 注意:此字段可能返回 null,表示取不到有效值。
4129
+ */
4130
+ Duration: number
4131
+
4132
+ /**
4133
+ * 结束时间
4134
+ 注意:此字段可能返回 null,表示取不到有效值。
4135
+ */
4136
+ LastOccurTime: string
4137
+
4138
+ /**
4139
+ * 告警内容
4140
+ 注意:此字段可能返回 null,表示取不到有效值。
4141
+ */
4142
+ Content: string
4143
+
4144
+ /**
4145
+ * 告警对象
4146
+ 注意:此字段可能返回 null,表示取不到有效值。
4147
+ */
4148
+ ObjName: string
4149
+
4150
+ /**
4151
+ * 告警对象ID
4152
+ 注意:此字段可能返回 null,表示取不到有效值。
4153
+ */
4154
+ ObjId: string
4155
+
4156
+ /**
4157
+ * 策略类型
4158
+ 注意:此字段可能返回 null,表示取不到有效值。
4159
+ */
4160
+ ViewName: string
4161
+
4162
+ /**
4163
+ * VPC,只有CVM有
4164
+ 注意:此字段可能返回 null,表示取不到有效值。
4165
+ */
4166
+ Vpc: string
4167
+
4168
+ /**
4169
+ * 指标ID
4170
+ 注意:此字段可能返回 null,表示取不到有效值。
4171
+ */
4172
+ MetricId: number
4173
+
4174
+ /**
4175
+ * 指标名
4176
+ 注意:此字段可能返回 null,表示取不到有效值。
4177
+ */
4178
+ MetricName: string
4179
+
4180
+ /**
4181
+ * 告警类型,0表示指标告警,2表示产品事件告警,3表示平台事件告警
4182
+ 注意:此字段可能返回 null,表示取不到有效值。
4183
+ */
4184
+ AlarmType: number
4185
+
4186
+ /**
4187
+ * 地域
4188
+ 注意:此字段可能返回 null,表示取不到有效值。
4189
+ */
4190
+ Region: string
4191
+
4192
+ /**
4193
+ * 告警对象维度信息
4194
+ 注意:此字段可能返回 null,表示取不到有效值。
4195
+ */
4196
+ Dimensions: string
4197
+
4198
+ /**
4199
+ * 通知方式
4200
+ 注意:此字段可能返回 null,表示取不到有效值。
4201
+ */
4202
+ NotifyWay: Array<string>
4203
+
4204
+ /**
4205
+ * 所属实例组信息
4206
+ 注意:此字段可能返回 null,表示取不到有效值。
4207
+ */
4208
+ InstanceGroup: Array<InstanceGroup>
3468
4209
  }
3469
4210
 
3470
4211
  /**
@@ -3528,154 +4269,172 @@ export interface DescribeMonitorTypesResponse {
3528
4269
  }
3529
4270
 
3530
4271
  /**
3531
- * 实例对象的维度组合
4272
+ * 查询 Grafana 实例时的实例类型
3532
4273
  */
3533
- export interface Dimension {
4274
+ export interface GrafanaInstanceInfo {
3534
4275
  /**
3535
- * 实例维度名称
4276
+ * 实例名
3536
4277
  */
3537
- Name: string
4278
+ InstanceName: string
3538
4279
 
3539
4280
  /**
3540
- * 实例维度值
4281
+ * 实例 ID
3541
4282
  */
3542
- Value: string
3543
- }
4283
+ InstanceId: string
3544
4284
 
3545
- /**
3546
- * DescribeBasicAlarmList返回的Alarms
3547
- */
3548
- export interface DescribeBasicAlarmListAlarms {
3549
4285
  /**
3550
- * 该条告警的ID
4286
+ * 地域
3551
4287
  */
3552
- Id: number
4288
+ Region: string
3553
4289
 
3554
4290
  /**
3555
- * 项目ID
3556
- 注意:此字段可能返回 null,表示取不到有效值。
3557
- */
3558
- ProjectId: number
4291
+ * VPC ID
4292
+ */
4293
+ VpcId: string
4294
+
4295
+ /**
4296
+ * 子网 ID 数组
4297
+ */
4298
+ SubnetIds: Array<string>
4299
+
4300
+ /**
4301
+ * Grafana 内网地址
4302
+ */
4303
+ InternetUrl: string
4304
+
4305
+ /**
4306
+ * Grafana 公网地址
4307
+ */
4308
+ InternalUrl: string
4309
+
4310
+ /**
4311
+ * 创建时间
4312
+ */
4313
+ CreatedAt: string
4314
+
4315
+ /**
4316
+ * 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:停机中; 6:已停机; 7: 已删除)
4317
+ */
4318
+ InstanceStatus: number
3559
4319
 
3560
4320
  /**
3561
- * 项目名称
4321
+ * 实例的标签
3562
4322
  注意:此字段可能返回 null,表示取不到有效值。
3563
4323
  */
3564
- ProjectName: string
4324
+ TagSpecification: Array<PrometheusTag>
3565
4325
 
3566
4326
  /**
3567
- * 告警状态ID,0表示未恢复;1表示已恢复;2,3,5表示数据不足;4表示已失效
3568
- 注意:此字段可能返回 null,表示取不到有效值。
3569
- */
3570
- Status: number
4327
+ * 实例的可用区
4328
+ */
4329
+ Zone: string
3571
4330
 
3572
4331
  /**
3573
- * 告警状态,ALARM表示未恢复;OK表示已恢复;NO_DATA表示数据不足;NO_CONF表示已失效
3574
- 注意:此字段可能返回 null,表示取不到有效值。
3575
- */
3576
- AlarmStatus: string
4332
+ * 计费模式(1:包年包月)
4333
+ */
4334
+ InstanceChargeType: number
3577
4335
 
3578
4336
  /**
3579
- * 策略组ID
3580
- 注意:此字段可能返回 null,表示取不到有效值。
3581
- */
3582
- GroupId: number
4337
+ * VPC 名称
4338
+ */
4339
+ VpcName: string
3583
4340
 
3584
4341
  /**
3585
- * 策略组名
3586
- 注意:此字段可能返回 null,表示取不到有效值。
3587
- */
3588
- GroupName: string
4342
+ * 子网名称
4343
+ */
4344
+ SubnetName: string
3589
4345
 
3590
4346
  /**
3591
- * 发生时间
3592
- 注意:此字段可能返回 null,表示取不到有效值。
3593
- */
3594
- FirstOccurTime: string
4347
+ * 地域 ID
4348
+ */
4349
+ RegionId: number
3595
4350
 
3596
4351
  /**
3597
- * 持续时间,单位s
3598
- 注意:此字段可能返回 null,表示取不到有效值。
3599
- */
3600
- Duration: number
4352
+ * 可访问此实例的完整 URL
4353
+ */
4354
+ RootUrl: string
3601
4355
 
3602
4356
  /**
3603
- * 结束时间
3604
- 注意:此字段可能返回 null,表示取不到有效值。
3605
- */
3606
- LastOccurTime: string
4357
+ * 是否开启 SSO
4358
+ */
4359
+ EnableSSO: boolean
3607
4360
 
3608
4361
  /**
3609
- * 告警内容
3610
- 注意:此字段可能返回 null,表示取不到有效值。
3611
- */
3612
- Content: string
4362
+ * 版本号
4363
+ */
4364
+ Version: string
3613
4365
 
3614
4366
  /**
3615
- * 告警对象
3616
- 注意:此字段可能返回 null,表示取不到有效值。
3617
- */
3618
- ObjName: string
4367
+ * SSO登录时是否开启cam鉴权
4368
+ */
4369
+ EnableSSOCamCheck: boolean
4370
+ }
3619
4371
 
4372
+ /**
4373
+ * 实例对象的维度组合
4374
+ */
4375
+ export interface Dimension {
3620
4376
  /**
3621
- * 告警对象ID
3622
- 注意:此字段可能返回 null,表示取不到有效值。
3623
- */
3624
- ObjId: string
4377
+ * 实例维度名称
4378
+ */
4379
+ Name: string
3625
4380
 
3626
4381
  /**
3627
- * 策略类型
3628
- 注意:此字段可能返回 null,表示取不到有效值。
3629
- */
3630
- ViewName: string
4382
+ * 实例维度值
4383
+ */
4384
+ Value: string
4385
+ }
3631
4386
 
4387
+ /**
4388
+ * DescribeAccidentEventList接口的出参类型
4389
+ */
4390
+ export interface DescribeAccidentEventListAlarms {
3632
4391
  /**
3633
- * VPC,只有CVM有
4392
+ * 事件分类
3634
4393
  注意:此字段可能返回 null,表示取不到有效值。
3635
4394
  */
3636
- Vpc: string
4395
+ BusinessTypeDesc: string
3637
4396
 
3638
4397
  /**
3639
- * 指标ID
4398
+ * 事件类型
3640
4399
  注意:此字段可能返回 null,表示取不到有效值。
3641
4400
  */
3642
- MetricId: number
4401
+ AccidentTypeDesc: string
3643
4402
 
3644
4403
  /**
3645
- * 指标名
4404
+ * 事件分类的ID,1表示服务问题,2表示其他订阅
3646
4405
  注意:此字段可能返回 null,表示取不到有效值。
3647
4406
  */
3648
- MetricName: string
4407
+ BusinessID: number
3649
4408
 
3650
4409
  /**
3651
- * 告警类型,0表示指标告警,2表示产品事件告警,3表示平台事件告警
4410
+ * 事件状态的ID,0表示已恢复,1表示未恢复
3652
4411
  注意:此字段可能返回 null,表示取不到有效值。
3653
4412
  */
3654
- AlarmType: number
4413
+ EventStatus: number
3655
4414
 
3656
4415
  /**
3657
- * 地域
4416
+ * 影响的对象
3658
4417
  注意:此字段可能返回 null,表示取不到有效值。
3659
4418
  */
3660
- Region: string
4419
+ AffectResource: string
3661
4420
 
3662
4421
  /**
3663
- * 告警对象维度信息
4422
+ * 事件的地域
3664
4423
  注意:此字段可能返回 null,表示取不到有效值。
3665
4424
  */
3666
- Dimensions: string
4425
+ Region: string
3667
4426
 
3668
4427
  /**
3669
- * 通知方式
4428
+ * 事件发生的时间
3670
4429
  注意:此字段可能返回 null,表示取不到有效值。
3671
4430
  */
3672
- NotifyWay: Array<string>
4431
+ OccurTime: string
3673
4432
 
3674
4433
  /**
3675
- * 所属实例组信息
4434
+ * 更新时间
3676
4435
  注意:此字段可能返回 null,表示取不到有效值。
3677
4436
  */
3678
- InstanceGroup: Array<InstanceGroup>
4437
+ UpdateTime: string
3679
4438
  }
3680
4439
 
3681
4440
  /**
@@ -3822,56 +4581,33 @@ export interface MetricObjectMeaning {
3822
4581
  }
3823
4582
 
3824
4583
  /**
3825
- * DescribeAccidentEventList接口的出参类型
4584
+ * DeletePolicyGroup请求参数结构体
3826
4585
  */
3827
- export interface DescribeAccidentEventListAlarms {
3828
- /**
3829
- * 事件分类
3830
- 注意:此字段可能返回 null,表示取不到有效值。
3831
- */
3832
- BusinessTypeDesc: string
3833
-
3834
- /**
3835
- * 事件类型
3836
- 注意:此字段可能返回 null,表示取不到有效值。
3837
- */
3838
- AccidentTypeDesc: string
3839
-
3840
- /**
3841
- * 事件分类的ID,1表示服务问题,2表示其他订阅
3842
- 注意:此字段可能返回 null,表示取不到有效值。
3843
- */
3844
- BusinessID: number
3845
-
3846
- /**
3847
- * 事件状态的ID,0表示已恢复,1表示未恢复
3848
- 注意:此字段可能返回 null,表示取不到有效值。
3849
- */
3850
- EventStatus: number
3851
-
4586
+ export interface DeletePolicyGroupRequest {
3852
4587
  /**
3853
- * 影响的对象
3854
- 注意:此字段可能返回 null,表示取不到有效值。
3855
- */
3856
- AffectResource: string
4588
+ * 固定值,为"monitor"
4589
+ */
4590
+ Module: string
3857
4591
 
3858
4592
  /**
3859
- * 事件的地域
3860
- 注意:此字段可能返回 null,表示取不到有效值。
3861
- */
3862
- Region: string
4593
+ * 策略组id
4594
+ */
4595
+ GroupId: Array<number>
4596
+ }
3863
4597
 
4598
+ /**
4599
+ * EnableSSOCamCheck请求参数结构体
4600
+ */
4601
+ export interface EnableSSOCamCheckRequest {
3864
4602
  /**
3865
- * 事件发生的时间
3866
- 注意:此字段可能返回 null,表示取不到有效值。
3867
- */
3868
- OccurTime: string
4603
+ * 实例ID
4604
+ */
4605
+ InstanceId: string
3869
4606
 
3870
4607
  /**
3871
- * 更新时间
3872
- 注意:此字段可能返回 null,表示取不到有效值。
3873
- */
3874
- UpdateTime: string
4608
+ * 是否开启cam鉴权
4609
+ */
4610
+ EnableSSOCamCheck: boolean
3875
4611
  }
3876
4612
 
3877
4613
  /**
@@ -3889,6 +4625,26 @@ export interface ModifyPolicyGroupResponse {
3889
4625
  RequestId?: string
3890
4626
  }
3891
4627
 
4628
+ /**
4629
+ * DeleteGrafanaIntegration返回参数结构体
4630
+ */
4631
+ export interface DeleteGrafanaIntegrationResponse {
4632
+ /**
4633
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4634
+ */
4635
+ RequestId?: string
4636
+ }
4637
+
4638
+ /**
4639
+ * DescribeInstalledPlugins请求参数结构体
4640
+ */
4641
+ export interface DescribeInstalledPluginsRequest {
4642
+ /**
4643
+ * 实例 ID
4644
+ */
4645
+ InstanceId: string
4646
+ }
4647
+
3892
4648
  /**
3893
4649
  * DescribeAlarmMetrics返回参数结构体
3894
4650
  */
@@ -3963,18 +4719,23 @@ export interface Condition {
3963
4719
  }
3964
4720
 
3965
4721
  /**
3966
- * UpdateAlertRule返回参数结构体
4722
+ * DeleteGrafanaInstance返回参数结构体
3967
4723
  */
3968
- export interface UpdateAlertRuleResponse {
4724
+ export interface DeleteGrafanaInstanceResponse {
3969
4725
  /**
3970
- * 规则 ID
4726
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3971
4727
  */
3972
- RuleId: string
4728
+ RequestId?: string
4729
+ }
3973
4730
 
4731
+ /**
4732
+ * DescribeGrafanaWhiteList请求参数结构体
4733
+ */
4734
+ export interface DescribeGrafanaWhiteListRequest {
3974
4735
  /**
3975
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4736
+ * 实例名
3976
4737
  */
3977
- RequestId?: string
4738
+ InstanceId: string
3978
4739
  }
3979
4740
 
3980
4741
  /**
@@ -4057,6 +4818,16 @@ export interface MetricData {
4057
4818
  Points: Array<MetricDataPoint>
4058
4819
  }
4059
4820
 
4821
+ /**
4822
+ * UpdateGrafanaIntegration返回参数结构体
4823
+ */
4824
+ export interface UpdateGrafanaIntegrationResponse {
4825
+ /**
4826
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4827
+ */
4828
+ RequestId?: string
4829
+ }
4830
+
4060
4831
  /**
4061
4832
  * 告警事件
4062
4833
  */
@@ -4077,6 +4848,16 @@ export interface AlarmEvent {
4077
4848
  Namespace: string
4078
4849
  }
4079
4850
 
4851
+ /**
4852
+ * ModifyAlarmPolicyNotice返回参数结构体
4853
+ */
4854
+ export interface ModifyAlarmPolicyNoticeResponse {
4855
+ /**
4856
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4857
+ */
4858
+ RequestId?: string
4859
+ }
4860
+
4080
4861
  /**
4081
4862
  * BindingPolicyTag请求参数结构体
4082
4863
  */
@@ -4118,43 +4899,18 @@ export interface BindingPolicyTagRequest {
4118
4899
  }
4119
4900
 
4120
4901
  /**
4121
- * export 集成配置
4902
+ * CreateGrafanaInstance返回参数结构体
4122
4903
  */
4123
- export interface IntegrationConfiguration {
4124
- /**
4125
- * 名字
4126
- */
4127
- Name: string
4128
-
4129
- /**
4130
- * 类型
4131
- */
4132
- Kind: string
4133
-
4134
- /**
4135
- * 内容
4136
- */
4137
- Content: string
4138
-
4139
- /**
4140
- * 状态
4141
- */
4142
- Status: number
4143
-
4144
- /**
4145
- * 实例类型
4146
- */
4147
- Category: string
4148
-
4904
+ export interface CreateGrafanaInstanceResponse {
4149
4905
  /**
4150
- * 实例描述
4906
+ * 实例名
4151
4907
  */
4152
- InstanceDesc: string
4908
+ InstanceId: string
4153
4909
 
4154
4910
  /**
4155
- * dashboard URL
4911
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4156
4912
  */
4157
- GrafanaDashboardURL: string
4913
+ RequestId?: string
4158
4914
  }
4159
4915
 
4160
4916
  /**
@@ -4650,7 +5406,22 @@ export interface PolicyGroup {
4650
5406
  /**
4651
5407
  * 是否为与关系规则
4652
5408
  */
4653
- IsUnionRule: number
5409
+ IsUnionRule: number
5410
+ }
5411
+
5412
+ /**
5413
+ * DescribeGrafanaNotificationChannels返回参数结构体
5414
+ */
5415
+ export interface DescribeGrafanaNotificationChannelsResponse {
5416
+ /**
5417
+ * 告警通道数组
5418
+ */
5419
+ NotificationChannelSet: Array<GrafanaNotificationChannel>
5420
+
5421
+ /**
5422
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5423
+ */
5424
+ RequestId?: string
4654
5425
  }
4655
5426
 
4656
5427
  /**
@@ -4896,6 +5667,76 @@ export interface DescribePrometheusScrapeJobsResponse {
4896
5667
  RequestId?: string
4897
5668
  }
4898
5669
 
5670
+ /**
5671
+ * EnableGrafanaInternet请求参数结构体
5672
+ */
5673
+ export interface EnableGrafanaInternetRequest {
5674
+ /**
5675
+ * 实例 ID
5676
+ */
5677
+ InstanceID: string
5678
+
5679
+ /**
5680
+ * 开启或关闭
5681
+ */
5682
+ EnableInternet: boolean
5683
+ }
5684
+
5685
+ /**
5686
+ * DescribePluginOverviews返回参数结构体
5687
+ */
5688
+ export interface DescribePluginOverviewsResponse {
5689
+ /**
5690
+ * 插件列表
5691
+ */
5692
+ PluginSet: Array<GrafanaPlugin>
5693
+
5694
+ /**
5695
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5696
+ */
5697
+ RequestId?: string
5698
+ }
5699
+
5700
+ /**
5701
+ * UpdateSSOAccount请求参数结构体
5702
+ */
5703
+ export interface UpdateSSOAccountRequest {
5704
+ /**
5705
+ * 示例ID
5706
+ */
5707
+ InstanceId: string
5708
+
5709
+ /**
5710
+ * 用户账号ID
5711
+ */
5712
+ UserId: string
5713
+
5714
+ /**
5715
+ * 权限
5716
+ */
5717
+ Role?: Array<GrafanaAccountRole>
5718
+
5719
+ /**
5720
+ * 备注
5721
+ */
5722
+ Notes?: string
5723
+ }
5724
+
5725
+ /**
5726
+ * GetPrometheusAgentManagementCommand返回参数结构体
5727
+ */
5728
+ export interface GetPrometheusAgentManagementCommandResponse {
5729
+ /**
5730
+ * Agent 管理命令
5731
+ */
5732
+ Command?: ManagementCommand
5733
+
5734
+ /**
5735
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5736
+ */
5737
+ RequestId?: string
5738
+ }
5739
+
4899
5740
  /**
4900
5741
  * DescribePolicyConditionList.ConfigManual.StatType
4901
5742
  */
@@ -5137,6 +5978,70 @@ export interface DescribePrometheusAgentsResponse {
5137
5978
  RequestId?: string
5138
5979
  }
5139
5980
 
5981
+ /**
5982
+ * 指标,可用于设置告警、查询数据
5983
+ */
5984
+ export interface Metric {
5985
+ /**
5986
+ * 告警策略类型
5987
+ */
5988
+ Namespace: string
5989
+
5990
+ /**
5991
+ * 指标名
5992
+ */
5993
+ MetricName: string
5994
+
5995
+ /**
5996
+ * 指标展示名
5997
+ */
5998
+ Description: string
5999
+
6000
+ /**
6001
+ * 最小值
6002
+ */
6003
+ Min: number
6004
+
6005
+ /**
6006
+ * 最大值
6007
+ */
6008
+ Max: number
6009
+
6010
+ /**
6011
+ * 维度列表
6012
+ */
6013
+ Dimensions: Array<string>
6014
+
6015
+ /**
6016
+ * 单位
6017
+ */
6018
+ Unit: string
6019
+
6020
+ /**
6021
+ * 指标配置
6022
+ 注意:此字段可能返回 null,表示取不到有效值。
6023
+ */
6024
+ MetricConfig: MetricConfig
6025
+
6026
+ /**
6027
+ * 是否为高级指标。1是 0否
6028
+ 注意:此字段可能返回 null,表示取不到有效值。
6029
+ */
6030
+ IsAdvanced: number
6031
+
6032
+ /**
6033
+ * 高级指标是否开通。1是 0否
6034
+ 注意:此字段可能返回 null,表示取不到有效值。
6035
+ */
6036
+ IsOpen: number
6037
+
6038
+ /**
6039
+ * 集成中心产品ID
6040
+ 注意:此字段可能返回 null,表示取不到有效值。
6041
+ */
6042
+ ProductId: number
6043
+ }
6044
+
5140
6045
  /**
5141
6046
  * DescribeAlarmEvents请求参数结构体
5142
6047
  */
@@ -5197,6 +6102,31 @@ export interface DeletePrometheusScrapeJobsRequest {
5197
6102
  JobIds: Array<string>
5198
6103
  }
5199
6104
 
6105
+ /**
6106
+ * UpdateGrafanaIntegration请求参数结构体
6107
+ */
6108
+ export interface UpdateGrafanaIntegrationRequest {
6109
+ /**
6110
+ * 集成 ID
6111
+ */
6112
+ IntegrationId: string
6113
+
6114
+ /**
6115
+ * 实例 ID
6116
+ */
6117
+ InstanceId: string
6118
+
6119
+ /**
6120
+ * 集成类型
6121
+ */
6122
+ Kind: string
6123
+
6124
+ /**
6125
+ * 集成内容
6126
+ */
6127
+ Content: string
6128
+ }
6129
+
5200
6130
  /**
5201
6131
  * UnBindingPolicyObject请求参数结构体
5202
6132
  */
@@ -5228,44 +6158,28 @@ export interface UnBindingPolicyObjectRequest {
5228
6158
  }
5229
6159
 
5230
6160
  /**
5231
- * 云监控告警通知模板 - 回调通知详情
6161
+ * CleanGrafanaInstance返回参数结构体
5232
6162
  */
5233
- export interface URLNotice {
5234
- /**
5235
- * 回调 url(限长256字符)
5236
- 注意:此字段可能返回 null,表示取不到有效值。
5237
- */
5238
- URL: string
5239
-
5240
- /**
5241
- * 是否通过验证 0=否 1=是
5242
- 注意:此字段可能返回 null,表示取不到有效值。
5243
- */
5244
- IsValid?: number
5245
-
5246
- /**
5247
- * 验证码
5248
- 注意:此字段可能返回 null,表示取不到有效值。
5249
- */
5250
- ValidationCode?: string
5251
-
6163
+ export interface CleanGrafanaInstanceResponse {
5252
6164
  /**
5253
- * 通知开始时间 一天开始的秒数
5254
- 注意:此字段可能返回 null,表示取不到有效值。
5255
- */
5256
- StartTime?: number
6165
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6166
+ */
6167
+ RequestId?: string
6168
+ }
5257
6169
 
6170
+ /**
6171
+ * UpdateDNSConfig请求参数结构体
6172
+ */
6173
+ export interface UpdateDNSConfigRequest {
5258
6174
  /**
5259
- * 通知结束时间 一天开始的秒数
5260
- 注意:此字段可能返回 null,表示取不到有效值。
5261
- */
5262
- EndTime?: number
6175
+ * 实例名
6176
+ */
6177
+ InstanceId: string
5263
6178
 
5264
6179
  /**
5265
- * 通知周期 1-7表示周一到周日
5266
- 注意:此字段可能返回 null,表示取不到有效值。
5267
- */
5268
- Weekday?: Array<number>
6180
+ * DNS 数组
6181
+ */
6182
+ NameServers: Array<string>
5269
6183
  }
5270
6184
 
5271
6185
  /**
@@ -5322,6 +6236,51 @@ export interface CreateAlertRuleRequest {
5322
6236
  Type?: string
5323
6237
  }
5324
6238
 
6239
+ /**
6240
+ * DescribeDNSConfig返回参数结构体
6241
+ */
6242
+ export interface DescribeDNSConfigResponse {
6243
+ /**
6244
+ * DNS 服务器数组
6245
+ */
6246
+ NameServers: Array<string>
6247
+
6248
+ /**
6249
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6250
+ */
6251
+ RequestId?: string
6252
+ }
6253
+
6254
+ /**
6255
+ * UpdateGrafanaConfig请求参数结构体
6256
+ */
6257
+ export interface UpdateGrafanaConfigRequest {
6258
+ /**
6259
+ * 无
6260
+ */
6261
+ InstanceId: string
6262
+
6263
+ /**
6264
+ * JSON 编码后的字符串
6265
+ */
6266
+ Config: string
6267
+ }
6268
+
6269
+ /**
6270
+ * UpdateGrafanaEnvironments请求参数结构体
6271
+ */
6272
+ export interface UpdateGrafanaEnvironmentsRequest {
6273
+ /**
6274
+ * 实例名
6275
+ */
6276
+ InstanceId: string
6277
+
6278
+ /**
6279
+ * 环境变量字符串
6280
+ */
6281
+ Envs: string
6282
+ }
6283
+
5325
6284
  /**
5326
6285
  * DescribeProductList返回参数结构体
5327
6286
  */
@@ -5345,30 +6304,23 @@ export interface DescribeProductListResponse {
5345
6304
  }
5346
6305
 
5347
6306
  /**
5348
- * DescribeProductEventList返回参数结构体
6307
+ * DescribeGrafanaIntegrations请求参数结构体
5349
6308
  */
5350
- export interface DescribeProductEventListResponse {
6309
+ export interface DescribeGrafanaIntegrationsRequest {
5351
6310
  /**
5352
- * 事件列表
5353
- 注意:此字段可能返回 null,表示取不到有效值。
5354
- */
5355
- Events: Array<DescribeProductEventListEvents>
5356
-
5357
- /**
5358
- * 事件统计
6311
+ * 实例名
5359
6312
  */
5360
- OverView: DescribeProductEventListOverView
6313
+ InstanceId: string
5361
6314
 
5362
6315
  /**
5363
- * 事件总数
5364
- 注意:此字段可能返回 null,表示取不到有效值。
5365
- */
5366
- Total: number
6316
+ * 集成 ID
6317
+ */
6318
+ IntegrationId?: string
5367
6319
 
5368
6320
  /**
5369
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6321
+ * 类型
5370
6322
  */
5371
- RequestId?: string
6323
+ Kind?: string
5372
6324
  }
5373
6325
 
5374
6326
  /**
@@ -5729,10 +6681,30 @@ export interface DescribePolicyGroupInfoReceiverInfo {
5729
6681
  RecoverNotify: Array<string>
5730
6682
 
5731
6683
  /**
5732
- * 告警发送语言
5733
- 注意:此字段可能返回 null,表示取不到有效值。
5734
- */
5735
- ReceiveLanguage: string
6684
+ * 告警发送语言
6685
+ 注意:此字段可能返回 null,表示取不到有效值。
6686
+ */
6687
+ ReceiveLanguage: string
6688
+ }
6689
+
6690
+ /**
6691
+ * DescribeAlarmNotices返回参数结构体
6692
+ */
6693
+ export interface DescribeAlarmNoticesResponse {
6694
+ /**
6695
+ * 告警通知模板总数
6696
+ */
6697
+ TotalCount: number
6698
+
6699
+ /**
6700
+ * 告警通知模板列表
6701
+ */
6702
+ Notices: Array<AlarmNotice>
6703
+
6704
+ /**
6705
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6706
+ */
6707
+ RequestId?: string
5736
6708
  }
5737
6709
 
5738
6710
  /**
@@ -6011,13 +6983,38 @@ export interface DescribeBasicAlarmListRequest {
6011
6983
  }
6012
6984
 
6013
6985
  /**
6014
- * UnBindingAllPolicyObject返回参数结构体
6986
+ * Prometheus Agent 管理命令行
6015
6987
  */
6016
- export interface UnBindingAllPolicyObjectResponse {
6988
+ export interface ManagementCommand {
6017
6989
  /**
6018
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6019
- */
6020
- RequestId?: string
6990
+ * Agent 安装命令
6991
+ 注意:此字段可能返回 null,表示取不到有效值。
6992
+ */
6993
+ Install: string
6994
+
6995
+ /**
6996
+ * Agent 重启命令
6997
+ 注意:此字段可能返回 null,表示取不到有效值。
6998
+ */
6999
+ Restart: string
7000
+
7001
+ /**
7002
+ * Agent 停止命令
7003
+ 注意:此字段可能返回 null,表示取不到有效值。
7004
+ */
7005
+ Stop: string
7006
+
7007
+ /**
7008
+ * Agent 状态检测命令
7009
+ 注意:此字段可能返回 null,表示取不到有效值。
7010
+ */
7011
+ StatusCheck: string
7012
+
7013
+ /**
7014
+ * Agent 日志检测命令
7015
+ 注意:此字段可能返回 null,表示取不到有效值。
7016
+ */
7017
+ LogCheck: string
6021
7018
  }
6022
7019
 
6023
7020
  /**
@@ -6075,6 +7072,16 @@ export interface DescribeAlarmNoticesRequest {
6075
7072
  NoticeIds?: Array<string>
6076
7073
  }
6077
7074
 
7075
+ /**
7076
+ * DescribeGrafanaConfig请求参数结构体
7077
+ */
7078
+ export interface DescribeGrafanaConfigRequest {
7079
+ /**
7080
+ * 无
7081
+ */
7082
+ InstanceId: string
7083
+ }
7084
+
6078
7085
  /**
6079
7086
  * DescribePolicyGroupList.Group
6080
7087
  */
@@ -6186,6 +7193,41 @@ export interface DescribePolicyGroupListGroup {
6186
7193
  IsUnionRule: number
6187
7194
  }
6188
7195
 
7196
+ /**
7197
+ * DescribeGrafanaInstances请求参数结构体
7198
+ */
7199
+ export interface DescribeGrafanaInstancesRequest {
7200
+ /**
7201
+ * 查询偏移量
7202
+ */
7203
+ Offset: number
7204
+
7205
+ /**
7206
+ * 查询数量
7207
+ */
7208
+ Limit: number
7209
+
7210
+ /**
7211
+ * 实例 ID 数组
7212
+ */
7213
+ InstanceIds?: Array<string>
7214
+
7215
+ /**
7216
+ * 实例名,支持前缀模糊搜索
7217
+ */
7218
+ InstanceName?: string
7219
+
7220
+ /**
7221
+ * 查询状态
7222
+ */
7223
+ InstanceStatus?: Array<number>
7224
+
7225
+ /**
7226
+ * 标签过滤数组
7227
+ */
7228
+ TagFilters?: Array<PrometheusTag>
7229
+ }
7230
+
6189
7231
  /**
6190
7232
  * UpdateExporterIntegration请求参数结构体
6191
7233
  */
@@ -6315,6 +7357,16 @@ export interface MetricDatum {
6315
7357
  Value: number
6316
7358
  }
6317
7359
 
7360
+ /**
7361
+ * CreateGrafanaNotificationChannel返回参数结构体
7362
+ */
7363
+ export interface CreateGrafanaNotificationChannelResponse {
7364
+ /**
7365
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7366
+ */
7367
+ RequestId?: string
7368
+ }
7369
+
6318
7370
  /**
6319
7371
  * DescribeAlarmNotice返回参数结构体
6320
7372
  */
@@ -6377,37 +7429,55 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
6377
7429
  }
6378
7430
 
6379
7431
  /**
6380
- * UpdateServiceDiscovery请求参数结构体
7432
+ * DescribeProductEventList返回的Events里的GroupInfo
6381
7433
  */
6382
- export interface UpdateServiceDiscoveryRequest {
7434
+ export interface DescribeProductEventListEventsGroupInfo {
6383
7435
  /**
6384
- * Prometheus 实例 ID
6385
- */
6386
- InstanceId: string
7436
+ * 策略ID
7437
+ 注意:此字段可能返回 null,表示取不到有效值。
7438
+ */
7439
+ GroupId: number
6387
7440
 
6388
7441
  /**
6389
- * <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
7442
+ * 策略名
7443
+ 注意:此字段可能返回 null,表示取不到有效值。
7444
+ */
7445
+ GroupName: string
7446
+ }
7447
+
7448
+ /**
7449
+ * UninstallGrafanaPlugins请求参数结构体
7450
+ */
7451
+ export interface UninstallGrafanaPluginsRequest {
7452
+ /**
7453
+ * 插件 ID 数组
6390
7454
  */
6391
- KubeClusterId: string
7455
+ PluginIds: Array<string>
6392
7456
 
6393
7457
  /**
6394
- * 用户 Kubernetes 集群类型:
6395
- <li> 1 = 容器服务集群(TKE) </li>
6396
- */
6397
- KubeType: number
7458
+ * 实例 ID
7459
+ */
7460
+ InstanceId: string
7461
+ }
6398
7462
 
7463
+ /**
7464
+ * CleanGrafanaInstance请求参数结构体
7465
+ */
7466
+ export interface CleanGrafanaInstanceRequest {
6399
7467
  /**
6400
- * 服务发现类型,取值如下:
6401
- <li> 1 = ServiceMonitor</li>
6402
- <li> 2 = PodMonitor</li>
6403
- <li> 3 = JobMonitor</li>
6404
- */
6405
- Type: number
7468
+ * 实例名
7469
+ */
7470
+ InstanceId: string
7471
+ }
6406
7472
 
7473
+ /**
7474
+ * UpgradeGrafanaInstance返回参数结构体
7475
+ */
7476
+ export interface UpgradeGrafanaInstanceResponse {
6407
7477
  /**
6408
- * 服务发现配置信息
7478
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6409
7479
  */
6410
- Yaml: string
7480
+ RequestId?: string
6411
7481
  }
6412
7482
 
6413
7483
  /**
@@ -6425,6 +7495,16 @@ export interface DeleteAlertRulesRequest {
6425
7495
  InstanceId: string
6426
7496
  }
6427
7497
 
7498
+ /**
7499
+ * DescribeSSOAccount请求参数结构体
7500
+ */
7501
+ export interface DescribeSSOAccountRequest {
7502
+ /**
7503
+ * 实例ID
7504
+ */
7505
+ InstanceId: string
7506
+ }
7507
+
6428
7508
  /**
6429
7509
  * DescribeAlarmNotice请求参数结构体
6430
7510
  */
@@ -6472,6 +7552,36 @@ export interface UninstallGrafanaDashboardRequest {
6472
7552
  IntegrationCodes?: Array<string>
6473
7553
  }
6474
7554
 
7555
+ /**
7556
+ * Grafana 告警渠道
7557
+ */
7558
+ export interface GrafanaNotificationChannel {
7559
+ /**
7560
+ * 渠道 ID
7561
+ */
7562
+ ChannelId: string
7563
+
7564
+ /**
7565
+ * 渠道名
7566
+ */
7567
+ ChannelName: string
7568
+
7569
+ /**
7570
+ * 告警通道模板 ID 数组
7571
+ */
7572
+ Receivers: Array<string>
7573
+
7574
+ /**
7575
+ * 创建时间
7576
+ */
7577
+ CreatedAt: string
7578
+
7579
+ /**
7580
+ * 更新时间
7581
+ */
7582
+ UpdatedAt: string
7583
+ }
7584
+
6475
7585
  /**
6476
7586
  * CreatePrometheusAgent请求参数结构体
6477
7587
  */
@@ -6814,6 +7924,16 @@ export interface CLSNotice {
6814
7924
  Enable?: number
6815
7925
  }
6816
7926
 
7927
+ /**
7928
+ * EnableGrafanaInternet返回参数结构体
7929
+ */
7930
+ export interface EnableGrafanaInternetResponse {
7931
+ /**
7932
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7933
+ */
7934
+ RequestId?: string
7935
+ }
7936
+
6817
7937
  /**
6818
7938
  * 查询策略输出的事件告警条件
6819
7939
  */
@@ -6870,13 +7990,13 @@ export interface ModifyAlarmPolicyStatusResponse {
6870
7990
  }
6871
7991
 
6872
7992
  /**
6873
- * GetPrometheusAgentManagementCommand返回参数结构体
7993
+ * DescribeGrafanaWhiteList返回参数结构体
6874
7994
  */
6875
- export interface GetPrometheusAgentManagementCommandResponse {
7995
+ export interface DescribeGrafanaWhiteListResponse {
6876
7996
  /**
6877
- * Agent 管理命令
7997
+ * 数组
6878
7998
  */
6879
- Command?: ManagementCommand
7999
+ WhiteList: Array<string>
6880
8000
 
6881
8001
  /**
6882
8002
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -6980,6 +8100,26 @@ export interface ModifyPolicyGroupCondition {
6980
8100
  RuleId?: number
6981
8101
  }
6982
8102
 
8103
+ /**
8104
+ * DescribeDNSConfig请求参数结构体
8105
+ */
8106
+ export interface DescribeDNSConfigRequest {
8107
+ /**
8108
+ * 实例名
8109
+ */
8110
+ InstanceId: string
8111
+ }
8112
+
8113
+ /**
8114
+ * UpdateDNSConfig返回参数结构体
8115
+ */
8116
+ export interface UpdateDNSConfigResponse {
8117
+ /**
8118
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8119
+ */
8120
+ RequestId?: string
8121
+ }
8122
+
6983
8123
  /**
6984
8124
  * DescribePolicyConditionList策略条件
6985
8125
  */
@@ -7262,20 +8402,83 @@ export interface DeleteServiceDiscoveryRequest {
7262
8402
  }
7263
8403
 
7264
8404
  /**
7265
- * DescribeProductEventList返回的Events里的GroupInfo
8405
+ * UpdateSSOAccount返回参数结构体
7266
8406
  */
7267
- export interface DescribeProductEventListEventsGroupInfo {
8407
+ export interface UpdateSSOAccountResponse {
7268
8408
  /**
7269
- * 策略ID
7270
- 注意:此字段可能返回 null,表示取不到有效值。
7271
- */
7272
- GroupId: number
8409
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8410
+ */
8411
+ RequestId?: string
8412
+ }
7273
8413
 
8414
+ /**
8415
+ * DescribeInstalledPlugins返回参数结构体
8416
+ */
8417
+ export interface DescribeInstalledPluginsResponse {
7274
8418
  /**
7275
- * 策略名
7276
- 注意:此字段可能返回 null,表示取不到有效值。
7277
- */
7278
- GroupName: string
8419
+ * 插件列表
8420
+ */
8421
+ PluginSet: Array<GrafanaPlugin>
8422
+
8423
+ /**
8424
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8425
+ */
8426
+ RequestId?: string
8427
+ }
8428
+
8429
+ /**
8430
+ * UpdateGrafanaConfig返回参数结构体
8431
+ */
8432
+ export interface UpdateGrafanaConfigResponse {
8433
+ /**
8434
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8435
+ */
8436
+ RequestId?: string
8437
+ }
8438
+
8439
+ /**
8440
+ * DeleteSSOAccount返回参数结构体
8441
+ */
8442
+ export interface DeleteSSOAccountResponse {
8443
+ /**
8444
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8445
+ */
8446
+ RequestId?: string
8447
+ }
8448
+
8449
+ /**
8450
+ * DescribeGrafanaInstances返回参数结构体
8451
+ */
8452
+ export interface DescribeGrafanaInstancesResponse {
8453
+ /**
8454
+ * 已废弃,请使用 Instances
8455
+ */
8456
+ InstanceSet: Array<GrafanaInstanceInfo>
8457
+
8458
+ /**
8459
+ * 符合查询条件的实例总数
8460
+ */
8461
+ TotalCount: number
8462
+
8463
+ /**
8464
+ * 实例列表
8465
+ */
8466
+ Instances: Array<GrafanaInstanceInfo>
8467
+
8468
+ /**
8469
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8470
+ */
8471
+ RequestId?: string
8472
+ }
8473
+
8474
+ /**
8475
+ * UnBindingAllPolicyObject返回参数结构体
8476
+ */
8477
+ export interface UnBindingAllPolicyObjectResponse {
8478
+ /**
8479
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8480
+ */
8481
+ RequestId?: string
7279
8482
  }
7280
8483
 
7281
8484
  /**