tencentcloud-sdk-nodejs-tke 4.0.372 → 4.0.375

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.
@@ -381,6 +381,11 @@ export interface DescribeExistedInstancesRequest {
381
381
  IpAddresses?: Array<string>
382
382
  }
383
383
 
384
+ /**
385
+ * DeletePrometheusClusterAgent请求参数结构体
386
+ */
387
+ export type DeletePrometheusClusterAgentRequest = null
388
+
384
389
  /**
385
390
  * 集群等级变配记录
386
391
  */
@@ -999,6 +1004,21 @@ export interface DescribeTKEEdgeClusterStatusResponse {
999
1004
  RequestId?: string
1000
1005
  }
1001
1006
 
1007
+ /**
1008
+ * ModifyClusterAsGroupOptionAttribute请求参数结构体
1009
+ */
1010
+ export interface ModifyClusterAsGroupOptionAttributeRequest {
1011
+ /**
1012
+ * 集群ID
1013
+ */
1014
+ ClusterId: string
1015
+
1016
+ /**
1017
+ * 集群弹性伸缩属性
1018
+ */
1019
+ ClusterAsGroupOption: ClusterAsGroupOption
1020
+ }
1021
+
1002
1022
  /**
1003
1023
  * DescribeClusterStatus请求参数结构体
1004
1024
  */
@@ -1409,6 +1429,16 @@ export interface PrometheusInstancesOverview {
1409
1429
  BoundNormal: number
1410
1430
  }
1411
1431
 
1432
+ /**
1433
+ * DescribePrometheusInstanceInitStatus返回参数结构体
1434
+ */
1435
+ export interface DescribePrometheusInstanceInitStatusResponse {
1436
+ /**
1437
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1438
+ */
1439
+ RequestId?: string
1440
+ }
1441
+
1412
1442
  /**
1413
1443
  * DisableEventPersistence返回参数结构体
1414
1444
  */
@@ -1502,6 +1532,21 @@ export interface DescribeEdgeAvailableExtraArgsResponse {
1502
1532
  RequestId?: string
1503
1533
  }
1504
1534
 
1535
+ /**
1536
+ * CreatePrometheusRecordRuleYaml请求参数结构体
1537
+ */
1538
+ export interface CreatePrometheusRecordRuleYamlRequest {
1539
+ /**
1540
+ * 实例id
1541
+ */
1542
+ InstanceId: string
1543
+
1544
+ /**
1545
+ * yaml的内容
1546
+ */
1547
+ Content: string
1548
+ }
1549
+
1505
1550
  /**
1506
1551
  * DescribeEnableVpcCniProgress请求参数结构体
1507
1552
  */
@@ -1573,14 +1618,38 @@ export interface Instance {
1573
1618
  }
1574
1619
 
1575
1620
  /**
1576
- * DescribePrometheusAgentInstances返回参数结构体
1621
+ * ModifyClusterAttribute返回参数结构体
1577
1622
  */
1578
- export interface DescribePrometheusAgentInstancesResponse {
1623
+ export interface ModifyClusterAttributeResponse {
1579
1624
  /**
1580
- * 关联该集群的实例列表
1625
+ * 集群所属项目
1581
1626
  注意:此字段可能返回 null,表示取不到有效值。
1582
1627
  */
1583
- Instances?: Array<string>
1628
+ ProjectId: number
1629
+
1630
+ /**
1631
+ * 集群名称
1632
+ 注意:此字段可能返回 null,表示取不到有效值。
1633
+ */
1634
+ ClusterName: string
1635
+
1636
+ /**
1637
+ * 集群描述
1638
+ 注意:此字段可能返回 null,表示取不到有效值。
1639
+ */
1640
+ ClusterDesc: string
1641
+
1642
+ /**
1643
+ * 集群等级
1644
+ 注意:此字段可能返回 null,表示取不到有效值。
1645
+ */
1646
+ ClusterLevel: string
1647
+
1648
+ /**
1649
+ * 自动变配集群等级
1650
+ 注意:此字段可能返回 null,表示取不到有效值。
1651
+ */
1652
+ AutoUpgradeClusterLevel: AutoUpgradeClusterLevel
1584
1653
 
1585
1654
  /**
1586
1655
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1613,6 +1682,26 @@ export interface CreateClusterResponse {
1613
1682
  RequestId?: string
1614
1683
  }
1615
1684
 
1685
+ /**
1686
+ * 关联集群时在集群内部署组件的pod额外配置
1687
+ */
1688
+ export interface PrometheusClusterAgentPodConfig {
1689
+ /**
1690
+ * 是否使用HostNetWork
1691
+ */
1692
+ HostNet?: boolean
1693
+
1694
+ /**
1695
+ * 指定pod运行节点
1696
+ */
1697
+ NodeSelector?: Array<Label>
1698
+
1699
+ /**
1700
+ * 容忍污点
1701
+ */
1702
+ Tolerations?: Array<Toleration>
1703
+ }
1704
+
1616
1705
  /**
1617
1706
  * 描述了 “云安全” 服务相关的信息
1618
1707
  */
@@ -1694,6 +1783,16 @@ export interface DeletePrometheusAlertRuleResponse {
1694
1783
  RequestId?: string
1695
1784
  }
1696
1785
 
1786
+ /**
1787
+ * DeletePrometheusConfig返回参数结构体
1788
+ */
1789
+ export interface DeletePrometheusConfigResponse {
1790
+ /**
1791
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1792
+ */
1793
+ RequestId?: string
1794
+ }
1795
+
1697
1796
  /**
1698
1797
  * DescribeEksContainerInstanceLog请求参数结构体
1699
1798
  */
@@ -1734,6 +1833,16 @@ export interface DescribeEksContainerInstanceLogRequest {
1734
1833
  LimitBytes?: number
1735
1834
  }
1736
1835
 
1836
+ /**
1837
+ * CreatePrometheusRecordRuleYaml返回参数结构体
1838
+ */
1839
+ export interface CreatePrometheusRecordRuleYamlResponse {
1840
+ /**
1841
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1842
+ */
1843
+ RequestId?: string
1844
+ }
1845
+
1737
1846
  /**
1738
1847
  * DescribeClusterInstances请求参数结构体
1739
1848
  */
@@ -1909,16 +2018,6 @@ export interface DescribePrometheusTemplateSyncRequest {
1909
2018
  TemplateId: string
1910
2019
  }
1911
2020
 
1912
- /**
1913
- * DeleteTKEEdgeCluster返回参数结构体
1914
- */
1915
- export interface DeleteTKEEdgeClusterResponse {
1916
- /**
1917
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1918
- */
1919
- RequestId?: string
1920
- }
1921
-
1922
2021
  /**
1923
2022
  * 可升级节点信息
1924
2023
  */
@@ -1961,38 +2060,14 @@ export interface DescribeClusterAsGroupOptionRequest {
1961
2060
  }
1962
2061
 
1963
2062
  /**
1964
- * ModifyClusterAttribute返回参数结构体
2063
+ * DescribePrometheusAgentInstances返回参数结构体
1965
2064
  */
1966
- export interface ModifyClusterAttributeResponse {
1967
- /**
1968
- * 集群所属项目
1969
- 注意:此字段可能返回 null,表示取不到有效值。
1970
- */
1971
- ProjectId: number
1972
-
1973
- /**
1974
- * 集群名称
1975
- 注意:此字段可能返回 null,表示取不到有效值。
1976
- */
1977
- ClusterName: string
1978
-
1979
- /**
1980
- * 集群描述
1981
- 注意:此字段可能返回 null,表示取不到有效值。
1982
- */
1983
- ClusterDesc: string
1984
-
1985
- /**
1986
- * 集群等级
1987
- 注意:此字段可能返回 null,表示取不到有效值。
1988
- */
1989
- ClusterLevel: string
1990
-
2065
+ export interface DescribePrometheusAgentInstancesResponse {
1991
2066
  /**
1992
- * 自动变配集群等级
2067
+ * 关联该集群的实例列表
1993
2068
  注意:此字段可能返回 null,表示取不到有效值。
1994
2069
  */
1995
- AutoUpgradeClusterLevel: AutoUpgradeClusterLevel
2070
+ Instances?: Array<string>
1996
2071
 
1997
2072
  /**
1998
2073
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2259,18 +2334,18 @@ export interface DescribePrometheusTempSyncRequest {
2259
2334
  }
2260
2335
 
2261
2336
  /**
2262
- * DescribePrometheusClusterAgents返回参数结构体
2337
+ * DescribeClusters返回参数结构体
2263
2338
  */
2264
- export interface DescribePrometheusClusterAgentsResponse {
2339
+ export interface DescribeClustersResponse {
2265
2340
  /**
2266
- * 被关联集群信息
2341
+ * 集群总个数
2267
2342
  */
2268
- Agents: Array<PrometheusAgentOverview>
2343
+ TotalCount: number
2269
2344
 
2270
2345
  /**
2271
- * 被关联集群总量
2346
+ * 集群信息列表
2272
2347
  */
2273
- Total: number
2348
+ Clusters: Array<Cluster>
2274
2349
 
2275
2350
  /**
2276
2351
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2685,6 +2760,26 @@ export interface ScaleOutClusterMasterResponse {
2685
2760
  RequestId?: string
2686
2761
  }
2687
2762
 
2763
+ /**
2764
+ * kubernetes Taint
2765
+ */
2766
+ export interface Toleration {
2767
+ /**
2768
+ * 容忍应用到的 taint key
2769
+ */
2770
+ Key?: string
2771
+
2772
+ /**
2773
+ * 键与值的关系
2774
+ */
2775
+ Operator?: string
2776
+
2777
+ /**
2778
+ * 要匹配的污点效果
2779
+ */
2780
+ Effect?: string
2781
+ }
2782
+
2688
2783
  /**
2689
2784
  * CreateEKSContainerInstances返回参数结构体
2690
2785
  */
@@ -3567,6 +3662,16 @@ export interface DeletePrometheusAlertPolicyRequest {
3567
3662
  Names?: Array<string>
3568
3663
  }
3569
3664
 
3665
+ /**
3666
+ * ModifyPrometheusAgentExternalLabels返回参数结构体
3667
+ */
3668
+ export interface ModifyPrometheusAgentExternalLabelsResponse {
3669
+ /**
3670
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3671
+ */
3672
+ RequestId?: string
3673
+ }
3674
+
3570
3675
  /**
3571
3676
  * 路由表冲突对象
3572
3677
  */
@@ -3786,19 +3891,42 @@ export interface DescribeEdgeClusterExtraArgsRequest {
3786
3891
  }
3787
3892
 
3788
3893
  /**
3789
- * DescribeClusters返回参数结构体
3894
+ * DescribePrometheusGlobalConfig返回参数结构体
3790
3895
  */
3791
- export interface DescribeClustersResponse {
3896
+ export interface DescribePrometheusGlobalConfigResponse {
3792
3897
  /**
3793
- * 集群总个数
3898
+ * 配置内容
3794
3899
  */
3795
- TotalCount: number
3900
+ Config: string
3796
3901
 
3797
3902
  /**
3798
- * 集群信息列表
3903
+ * ServiceMonitors列表以及对应targets信息
3904
+ 注意:此字段可能返回 null,表示取不到有效值。
3905
+ */
3906
+ ServiceMonitors: Array<PrometheusConfigItem>
3907
+
3908
+ /**
3909
+ * PodMonitors列表以及对应targets信息
3910
+ 注意:此字段可能返回 null,表示取不到有效值。
3911
+ */
3912
+ PodMonitors: Array<PrometheusConfigItem>
3913
+
3914
+ /**
3915
+ * RawJobs列表以及对应targets信息
3916
+ 注意:此字段可能返回 null,表示取不到有效值。
3917
+ */
3918
+ RawJobs: Array<PrometheusConfigItem>
3919
+
3920
+ /**
3921
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3799
3922
  */
3800
- Clusters: Array<Cluster>
3923
+ RequestId?: string
3924
+ }
3801
3925
 
3926
+ /**
3927
+ * CreatePrometheusClusterAgent返回参数结构体
3928
+ */
3929
+ export interface CreatePrometheusClusterAgentResponse {
3802
3930
  /**
3803
3931
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3804
3932
  */
@@ -4138,6 +4266,26 @@ export interface RegionInstance {
4138
4266
  Remark: string
4139
4267
  }
4140
4268
 
4269
+ /**
4270
+ * DescribePrometheusConfig请求参数结构体
4271
+ */
4272
+ export interface DescribePrometheusConfigRequest {
4273
+ /**
4274
+ * 实例id
4275
+ */
4276
+ InstanceId: string
4277
+
4278
+ /**
4279
+ * 集群id
4280
+ */
4281
+ ClusterId: string
4282
+
4283
+ /**
4284
+ * 集群类型
4285
+ */
4286
+ ClusterType: string
4287
+ }
4288
+
4141
4289
  /**
4142
4290
  * 加入存量节点时的节点池选项
4143
4291
  */
@@ -4168,6 +4316,16 @@ export interface DeletePrometheusTemplateRequest {
4168
4316
  TemplateId: string
4169
4317
  }
4170
4318
 
4319
+ /**
4320
+ * DeletePrometheusRecordRuleYaml返回参数结构体
4321
+ */
4322
+ export interface DeletePrometheusRecordRuleYamlResponse {
4323
+ /**
4324
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4325
+ */
4326
+ RequestId?: string
4327
+ }
4328
+
4171
4329
  /**
4172
4330
  * DescribePrometheusTempSync返回参数结构体
4173
4331
  */
@@ -4553,6 +4711,16 @@ export interface CreateClusterEndpointRequest {
4553
4711
  ExtensiveParameters?: string
4554
4712
  }
4555
4713
 
4714
+ /**
4715
+ * DeletePrometheusClusterAgent返回参数结构体
4716
+ */
4717
+ export interface DeletePrometheusClusterAgentResponse {
4718
+ /**
4719
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4720
+ */
4721
+ RequestId?: string
4722
+ }
4723
+
4556
4724
  /**
4557
4725
  * DescribePrometheusInstance返回参数结构体
4558
4726
  */
@@ -5014,23 +5182,13 @@ export interface InstanceUpgradePreCheckResultItem {
5014
5182
  }
5015
5183
 
5016
5184
  /**
5017
- * ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体
5185
+ * DeleteClusterNodePool返回参数结构体
5018
5186
  */
5019
- export interface ModifyNodePoolDesiredCapacityAboutAsgRequest {
5020
- /**
5021
- * 集群id
5022
- */
5023
- ClusterId: string
5024
-
5025
- /**
5026
- * 节点池id
5027
- */
5028
- NodePoolId: string
5029
-
5187
+ export interface DeleteClusterNodePoolResponse {
5030
5188
  /**
5031
- * 节点池所关联的伸缩组的期望实例数
5189
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5032
5190
  */
5033
- DesiredCapacity: number
5191
+ RequestId?: string
5034
5192
  }
5035
5193
 
5036
5194
  /**
@@ -5449,11 +5607,21 @@ export interface DNSConfig {
5449
5607
  }
5450
5608
 
5451
5609
  /**
5452
- * DescribeTKEEdgeExternalKubeconfig请求参数结构体
5610
+ * ModifyPrometheusConfig返回参数结构体
5453
5611
  */
5454
- export interface DescribeTKEEdgeExternalKubeconfigRequest {
5612
+ export interface ModifyPrometheusConfigResponse {
5455
5613
  /**
5456
- * 集群id
5614
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5615
+ */
5616
+ RequestId?: string
5617
+ }
5618
+
5619
+ /**
5620
+ * DescribeTKEEdgeExternalKubeconfig请求参数结构体
5621
+ */
5622
+ export interface DescribeTKEEdgeExternalKubeconfigRequest {
5623
+ /**
5624
+ * 集群id
5457
5625
  */
5458
5626
  ClusterId: string
5459
5627
  }
@@ -5555,6 +5723,41 @@ export interface ForwardTKEEdgeApplicationRequestV3Response {
5555
5723
  RequestId?: string
5556
5724
  }
5557
5725
 
5726
+ /**
5727
+ * ModifyPrometheusConfig请求参数结构体
5728
+ */
5729
+ export interface ModifyPrometheusConfigRequest {
5730
+ /**
5731
+ * 实例id
5732
+ */
5733
+ InstanceId: string
5734
+
5735
+ /**
5736
+ * 集群类型
5737
+ */
5738
+ ClusterType: string
5739
+
5740
+ /**
5741
+ * 集群id
5742
+ */
5743
+ ClusterId: string
5744
+
5745
+ /**
5746
+ * ServiceMonitors配置
5747
+ */
5748
+ ServiceMonitors?: Array<PrometheusConfigItem>
5749
+
5750
+ /**
5751
+ * PodMonitors配置
5752
+ */
5753
+ PodMonitors?: Array<PrometheusConfigItem>
5754
+
5755
+ /**
5756
+ * prometheus原生Job配置
5757
+ */
5758
+ RawJobs?: Array<PrometheusConfigItem>
5759
+ }
5760
+
5558
5761
  /**
5559
5762
  * 集群关联的伸缩组最大实例数最小值实例数
5560
5763
  */
@@ -5645,6 +5848,36 @@ export interface ModifyPrometheusAlertPolicyResponse {
5645
5848
  RequestId?: string
5646
5849
  }
5647
5850
 
5851
+ /**
5852
+ * DescribePrometheusClusterAgents返回参数结构体
5853
+ */
5854
+ export interface DescribePrometheusClusterAgentsResponse {
5855
+ /**
5856
+ * 被关联集群信息
5857
+ */
5858
+ Agents: Array<PrometheusAgentOverview>
5859
+
5860
+ /**
5861
+ * 被关联集群总量
5862
+ */
5863
+ Total: number
5864
+
5865
+ /**
5866
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5867
+ */
5868
+ RequestId?: string
5869
+ }
5870
+
5871
+ /**
5872
+ * CreatePrometheusConfig返回参数结构体
5873
+ */
5874
+ export interface CreatePrometheusConfigResponse {
5875
+ /**
5876
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5877
+ */
5878
+ RequestId?: string
5879
+ }
5880
+
5648
5881
  /**
5649
5882
  * DescribeClusterAuthenticationOptions请求参数结构体
5650
5883
  */
@@ -5860,6 +6093,41 @@ export interface UpdateImageCacheResponse {
5860
6093
  RequestId?: string
5861
6094
  }
5862
6095
 
6096
+ /**
6097
+ * CreatePrometheusConfig请求参数结构体
6098
+ */
6099
+ export interface CreatePrometheusConfigRequest {
6100
+ /**
6101
+ * 实例id
6102
+ */
6103
+ InstanceId: string
6104
+
6105
+ /**
6106
+ * 集群类型
6107
+ */
6108
+ ClusterType: string
6109
+
6110
+ /**
6111
+ * 集群id
6112
+ */
6113
+ ClusterId: string
6114
+
6115
+ /**
6116
+ * ServiceMonitors配置
6117
+ */
6118
+ ServiceMonitors?: Array<PrometheusConfigItem>
6119
+
6120
+ /**
6121
+ * PodMonitors配置
6122
+ */
6123
+ PodMonitors?: Array<PrometheusConfigItem>
6124
+
6125
+ /**
6126
+ * prometheus原生Job配置
6127
+ */
6128
+ RawJobs?: Array<PrometheusConfigItem>
6129
+ }
6130
+
5863
6131
  /**
5864
6132
  * 镜像缓存的事件
5865
6133
  */
@@ -5895,6 +6163,21 @@ export interface ImageCacheEvent {
5895
6163
  LastTimestamp: string
5896
6164
  }
5897
6165
 
6166
+ /**
6167
+ * CreatePrometheusClusterAgent请求参数结构体
6168
+ */
6169
+ export interface CreatePrometheusClusterAgentRequest {
6170
+ /**
6171
+ * 实例ID
6172
+ */
6173
+ InstanceId: string
6174
+
6175
+ /**
6176
+ * agent列表
6177
+ */
6178
+ Agents: Array<PrometheusClusterAgentBasic>
6179
+ }
6180
+
5898
6181
  /**
5899
6182
  * DeleteEKSContainerInstances返回参数结构体
5900
6183
  */
@@ -5977,18 +6260,68 @@ export interface DisableClusterDeletionProtectionRequest {
5977
6260
  }
5978
6261
 
5979
6262
  /**
5980
- * ModifyClusterAsGroupOptionAttribute请求参数结构体
6263
+ * CreateECMInstances请求参数结构体
5981
6264
  */
5982
- export interface ModifyClusterAsGroupOptionAttributeRequest {
6265
+ export interface CreateECMInstancesRequest {
5983
6266
  /**
5984
- * 集群ID
6267
+ * 集群id
5985
6268
  */
5986
- ClusterId: string
6269
+ ClusterID: string
5987
6270
 
5988
6271
  /**
5989
- * 集群弹性伸缩属性
6272
+ * 模块id
5990
6273
  */
5991
- ClusterAsGroupOption: ClusterAsGroupOption
6274
+ ModuleId: string
6275
+
6276
+ /**
6277
+ * 需要创建实例的可用区及创建数目及运营商的列表
6278
+ */
6279
+ ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>
6280
+
6281
+ /**
6282
+ * 密码
6283
+ */
6284
+ Password?: string
6285
+
6286
+ /**
6287
+ * 公网带宽
6288
+ */
6289
+ InternetMaxBandwidthOut?: number
6290
+
6291
+ /**
6292
+ * 镜像id
6293
+ */
6294
+ ImageId?: string
6295
+
6296
+ /**
6297
+ * 实例名称
6298
+ */
6299
+ InstanceName?: string
6300
+
6301
+ /**
6302
+ * 主机名称
6303
+ */
6304
+ HostName?: string
6305
+
6306
+ /**
6307
+ * 增强服务,包括云镜和云监控
6308
+ */
6309
+ EnhancedService?: ECMEnhancedService
6310
+
6311
+ /**
6312
+ * 用户自定义脚本
6313
+ */
6314
+ UserData?: string
6315
+
6316
+ /**
6317
+ * 实例扩展信息
6318
+ */
6319
+ External?: string
6320
+
6321
+ /**
6322
+ * 实例所属安全组
6323
+ */
6324
+ SecurityGroupIds?: Array<string>
5992
6325
  }
5993
6326
 
5994
6327
  /**
@@ -6519,6 +6852,11 @@ export interface AddClusterCIDRResponse {
6519
6852
  RequestId?: string
6520
6853
  }
6521
6854
 
6855
+ /**
6856
+ * DescribePrometheusInstanceInitStatus请求参数结构体
6857
+ */
6858
+ export type DescribePrometheusInstanceInitStatusRequest = null
6859
+
6522
6860
  /**
6523
6861
  * DescribeClusterLevelAttribute返回参数结构体
6524
6862
  */
@@ -6940,68 +7278,58 @@ export interface UninstallLogAgentResponse {
6940
7278
  }
6941
7279
 
6942
7280
  /**
6943
- * CreateECMInstances请求参数结构体
7281
+ * 与云监控融合托管prometheus实例,关联集群基础信息
6944
7282
  */
6945
- export interface CreateECMInstancesRequest {
7283
+ export interface PrometheusClusterAgentBasic {
6946
7284
  /**
6947
- * 集群id
6948
- */
6949
- ClusterID: string
6950
-
6951
- /**
6952
- * 模块id
6953
- */
6954
- ModuleId: string
6955
-
6956
- /**
6957
- * 需要创建实例的可用区及创建数目及运营商的列表
6958
- */
6959
- ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>
6960
-
6961
- /**
6962
- * 密码
7285
+ * 集群ID
6963
7286
  */
6964
- Password?: string
7287
+ Region: string
6965
7288
 
6966
7289
  /**
6967
- * 公网带宽
7290
+ * 集群类型
6968
7291
  */
6969
- InternetMaxBandwidthOut?: number
7292
+ ClusterType: string
6970
7293
 
6971
7294
  /**
6972
- * 镜像id
7295
+ * 集群ID
6973
7296
  */
6974
- ImageId?: string
7297
+ ClusterId: string
6975
7298
 
6976
7299
  /**
6977
- * 实例名称
7300
+ * 是否开启公网CLB
6978
7301
  */
6979
- InstanceName?: string
7302
+ EnableExternal: boolean
6980
7303
 
6981
7304
  /**
6982
- * 主机名称
7305
+ * 集群内部署组件的pod配置
6983
7306
  */
6984
- HostName?: string
7307
+ InClusterPodConfig?: PrometheusClusterAgentPodConfig
6985
7308
 
6986
7309
  /**
6987
- * 增强服务,包括云镜和云监控
7310
+ * 该集群采集的所有指标都会带上这些labels
6988
7311
  */
6989
- EnhancedService?: ECMEnhancedService
7312
+ ExternalLabels?: Array<Label>
6990
7313
 
6991
7314
  /**
6992
- * 用户自定义脚本
7315
+ * 是否安装默认采集配置
6993
7316
  */
6994
- UserData?: string
7317
+ NotInstallBasicScrape?: boolean
6995
7318
 
6996
7319
  /**
6997
- * 实例扩展信息
7320
+ * 是否采集指标,true代表drop所有指标,false代表采集默认指标
6998
7321
  */
6999
- External?: string
7322
+ NotScrape?: boolean
7323
+ }
7000
7324
 
7325
+ /**
7326
+ * DeleteTKEEdgeCluster返回参数结构体
7327
+ */
7328
+ export interface DeleteTKEEdgeClusterResponse {
7001
7329
  /**
7002
- * 实例所属安全组
7330
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7003
7331
  */
7004
- SecurityGroupIds?: Array<string>
7332
+ RequestId?: string
7005
7333
  }
7006
7334
 
7007
7335
  /**
@@ -7046,6 +7374,16 @@ Value=up, down, unknown
7046
7374
  Filters?: Array<Filter>
7047
7375
  }
7048
7376
 
7377
+ /**
7378
+ * RunPrometheusInstance返回参数结构体
7379
+ */
7380
+ export interface RunPrometheusInstanceResponse {
7381
+ /**
7382
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7383
+ */
7384
+ RequestId?: string
7385
+ }
7386
+
7049
7387
  /**
7050
7388
  * DeletePrometheusTemplateSync返回参数结构体
7051
7389
  */
@@ -7463,6 +7801,36 @@ export interface DescribeClusterAsGroupsResponse {
7463
7801
  RequestId?: string
7464
7802
  }
7465
7803
 
7804
+ /**
7805
+ * DescribePrometheusConfig返回参数结构体
7806
+ */
7807
+ export interface DescribePrometheusConfigResponse {
7808
+ /**
7809
+ * 全局配置
7810
+ */
7811
+ Config?: string
7812
+
7813
+ /**
7814
+ * ServiceMonitor配置
7815
+ */
7816
+ ServiceMonitors?: Array<PrometheusConfigItem>
7817
+
7818
+ /**
7819
+ * PodMonitor配置
7820
+ */
7821
+ PodMonitors?: Array<PrometheusConfigItem>
7822
+
7823
+ /**
7824
+ * 原生Job
7825
+ */
7826
+ RawJobs?: Array<PrometheusConfigItem>
7827
+
7828
+ /**
7829
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7830
+ */
7831
+ RequestId?: string
7832
+ }
7833
+
7466
7834
  /**
7467
7835
  * ScaleOutClusterMaster请求参数结构体
7468
7836
  */
@@ -7794,6 +8162,26 @@ export interface DescribeAvailableTKEEdgeVersionResponse {
7794
8162
  RequestId?: string
7795
8163
  }
7796
8164
 
8165
+ /**
8166
+ * ModifyPrometheusRecordRuleYaml请求参数结构体
8167
+ */
8168
+ export interface ModifyPrometheusRecordRuleYamlRequest {
8169
+ /**
8170
+ * 实例id
8171
+ */
8172
+ InstanceId: string
8173
+
8174
+ /**
8175
+ * 聚合实例名称
8176
+ */
8177
+ Name: string
8178
+
8179
+ /**
8180
+ * 新的内容
8181
+ */
8182
+ Content: string
8183
+ }
8184
+
7797
8185
  /**
7798
8186
  * DeletePrometheusAlertPolicy返回参数结构体
7799
8187
  */
@@ -8679,6 +9067,21 @@ export interface ClusterInternalLB {
8679
9067
  SubnetId?: string
8680
9068
  }
8681
9069
 
9070
+ /**
9071
+ * DescribePrometheusGlobalConfig请求参数结构体
9072
+ */
9073
+ export interface DescribePrometheusGlobalConfigRequest {
9074
+ /**
9075
+ * 实例级别抓取配置
9076
+ */
9077
+ InstanceId: string
9078
+
9079
+ /**
9080
+ * 是否禁用统计
9081
+ */
9082
+ DisableStatistics?: boolean
9083
+ }
9084
+
8682
9085
  /**
8683
9086
  * CreateECMInstances返回参数结构体
8684
9087
  */
@@ -8800,13 +9203,23 @@ export interface Event {
8800
9203
  }
8801
9204
 
8802
9205
  /**
8803
- * DeleteClusterNodePool返回参数结构体
9206
+ * ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体
8804
9207
  */
8805
- export interface DeleteClusterNodePoolResponse {
9208
+ export interface ModifyNodePoolDesiredCapacityAboutAsgRequest {
8806
9209
  /**
8807
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9210
+ * 集群id
8808
9211
  */
8809
- RequestId?: string
9212
+ ClusterId: string
9213
+
9214
+ /**
9215
+ * 节点池id
9216
+ */
9217
+ NodePoolId: string
9218
+
9219
+ /**
9220
+ * 节点池所关联的伸缩组的期望实例数
9221
+ */
9222
+ DesiredCapacity: number
8810
9223
  }
8811
9224
 
8812
9225
  /**
@@ -8819,6 +9232,41 @@ export interface DeleteClusterRouteResponse {
8819
9232
  RequestId?: string
8820
9233
  }
8821
9234
 
9235
+ /**
9236
+ * DeletePrometheusConfig请求参数结构体
9237
+ */
9238
+ export interface DeletePrometheusConfigRequest {
9239
+ /**
9240
+ * 实例id
9241
+ */
9242
+ InstanceId: string
9243
+
9244
+ /**
9245
+ * 集群类型
9246
+ */
9247
+ ClusterType: string
9248
+
9249
+ /**
9250
+ * 集群id
9251
+ */
9252
+ ClusterId: string
9253
+
9254
+ /**
9255
+ * 要删除的ServiceMonitor名字列表
9256
+ */
9257
+ ServiceMonitors?: Array<string>
9258
+
9259
+ /**
9260
+ * 要删除的PodMonitor名字列表
9261
+ */
9262
+ PodMonitors?: Array<string>
9263
+
9264
+ /**
9265
+ * 要删除的RawJobs名字列表
9266
+ */
9267
+ RawJobs?: Array<string>
9268
+ }
9269
+
8822
9270
  /**
8823
9271
  * DeleteEdgeCVMInstances返回参数结构体
8824
9272
  */
@@ -8884,6 +9332,26 @@ export interface PrometheusAlertPolicyItem {
8884
9332
  ClusterId?: string
8885
9333
  }
8886
9334
 
9335
+ /**
9336
+ * ModifyPrometheusAgentExternalLabels请求参数结构体
9337
+ */
9338
+ export interface ModifyPrometheusAgentExternalLabelsRequest {
9339
+ /**
9340
+ * 实例ID
9341
+ */
9342
+ InstanceId: string
9343
+
9344
+ /**
9345
+ * 集群ID
9346
+ */
9347
+ ClusterId: string
9348
+
9349
+ /**
9350
+ * 新的external_labels
9351
+ */
9352
+ ExternalLabels: Array<Label>
9353
+ }
9354
+
8887
9355
  /**
8888
9356
  * prometheus一个抓取目标的信息
8889
9357
  */
@@ -9549,6 +10017,11 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
9549
10017
  * 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
9550
10018
  */
9551
10019
  CiliumMode?: string
10020
+
10021
+ /**
10022
+ * 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
10023
+ */
10024
+ IsDualStack?: boolean
9552
10025
  }
9553
10026
 
9554
10027
  /**
@@ -9775,6 +10248,16 @@ export interface DescribeEKSContainerInstanceRegionsResponse {
9775
10248
  RequestId?: string
9776
10249
  }
9777
10250
 
10251
+ /**
10252
+ * ModifyPrometheusRecordRuleYaml返回参数结构体
10253
+ */
10254
+ export interface ModifyPrometheusRecordRuleYamlResponse {
10255
+ /**
10256
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10257
+ */
10258
+ RequestId?: string
10259
+ }
10260
+
9778
10261
  /**
9779
10262
  * DescribeTKEEdgeScript请求参数结构体
9780
10263
  */
@@ -9856,6 +10339,21 @@ export interface DescribePrometheusOverviewsResponse {
9856
10339
  RequestId?: string
9857
10340
  }
9858
10341
 
10342
+ /**
10343
+ * DeletePrometheusRecordRuleYaml请求参数结构体
10344
+ */
10345
+ export interface DeletePrometheusRecordRuleYamlRequest {
10346
+ /**
10347
+ * 实例id
10348
+ */
10349
+ InstanceId: string
10350
+
10351
+ /**
10352
+ * 聚合规则列表
10353
+ */
10354
+ Names: Array<string>
10355
+ }
10356
+
9859
10357
  /**
9860
10358
  * DescribeEKSContainerInstances请求参数结构体
9861
10359
  */
@@ -10137,3 +10635,8 @@ export interface ScaleInMaster {
10137
10635
  */
10138
10636
  InstanceDeleteMode: string
10139
10637
  }
10638
+
10639
+ /**
10640
+ * RunPrometheusInstance请求参数结构体
10641
+ */
10642
+ export type RunPrometheusInstanceRequest = null