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.
- package/CHANGELOG.md +760 -0
- package/SERVICE_CHANGELOG.md +791 -51
- package/package.json +1 -1
- package/products.md +30 -28
- package/src/services/tke/v20180525/tke_client.ts +224 -65
- package/src/services/tke/v20180525/tke_models.ts +619 -116
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +73 -21
- package/tencentcloud/services/tke/v20180525/tke_client.js +108 -30
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +536 -107
|
@@ -313,6 +313,10 @@ export interface DescribeExistedInstancesRequest {
|
|
|
313
313
|
*/
|
|
314
314
|
IpAddresses?: Array<string>;
|
|
315
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* DeletePrometheusClusterAgent请求参数结构体
|
|
318
|
+
*/
|
|
319
|
+
export declare type DeletePrometheusClusterAgentRequest = null;
|
|
316
320
|
/**
|
|
317
321
|
* 集群等级变配记录
|
|
318
322
|
*/
|
|
@@ -847,6 +851,19 @@ export interface DescribeTKEEdgeClusterStatusResponse {
|
|
|
847
851
|
*/
|
|
848
852
|
RequestId?: string;
|
|
849
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* ModifyClusterAsGroupOptionAttribute请求参数结构体
|
|
856
|
+
*/
|
|
857
|
+
export interface ModifyClusterAsGroupOptionAttributeRequest {
|
|
858
|
+
/**
|
|
859
|
+
* 集群ID
|
|
860
|
+
*/
|
|
861
|
+
ClusterId: string;
|
|
862
|
+
/**
|
|
863
|
+
* 集群弹性伸缩属性
|
|
864
|
+
*/
|
|
865
|
+
ClusterAsGroupOption: ClusterAsGroupOption;
|
|
866
|
+
}
|
|
850
867
|
/**
|
|
851
868
|
* DescribeClusterStatus请求参数结构体
|
|
852
869
|
*/
|
|
@@ -1193,6 +1210,15 @@ export interface PrometheusInstancesOverview {
|
|
|
1193
1210
|
*/
|
|
1194
1211
|
BoundNormal: number;
|
|
1195
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* DescribePrometheusInstanceInitStatus返回参数结构体
|
|
1215
|
+
*/
|
|
1216
|
+
export interface DescribePrometheusInstanceInitStatusResponse {
|
|
1217
|
+
/**
|
|
1218
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1219
|
+
*/
|
|
1220
|
+
RequestId?: string;
|
|
1221
|
+
}
|
|
1196
1222
|
/**
|
|
1197
1223
|
* DisableEventPersistence返回参数结构体
|
|
1198
1224
|
*/
|
|
@@ -1272,6 +1298,19 @@ export interface DescribeEdgeAvailableExtraArgsResponse {
|
|
|
1272
1298
|
*/
|
|
1273
1299
|
RequestId?: string;
|
|
1274
1300
|
}
|
|
1301
|
+
/**
|
|
1302
|
+
* CreatePrometheusRecordRuleYaml请求参数结构体
|
|
1303
|
+
*/
|
|
1304
|
+
export interface CreatePrometheusRecordRuleYamlRequest {
|
|
1305
|
+
/**
|
|
1306
|
+
* 实例id
|
|
1307
|
+
*/
|
|
1308
|
+
InstanceId: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* yaml的内容
|
|
1311
|
+
*/
|
|
1312
|
+
Content: string;
|
|
1313
|
+
}
|
|
1275
1314
|
/**
|
|
1276
1315
|
* DescribeEnableVpcCniProgress请求参数结构体
|
|
1277
1316
|
*/
|
|
@@ -1332,14 +1371,34 @@ export interface Instance {
|
|
|
1332
1371
|
AutoscalingGroupId: string;
|
|
1333
1372
|
}
|
|
1334
1373
|
/**
|
|
1335
|
-
*
|
|
1374
|
+
* ModifyClusterAttribute返回参数结构体
|
|
1336
1375
|
*/
|
|
1337
|
-
export interface
|
|
1376
|
+
export interface ModifyClusterAttributeResponse {
|
|
1338
1377
|
/**
|
|
1339
|
-
*
|
|
1378
|
+
* 集群所属项目
|
|
1340
1379
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1341
1380
|
*/
|
|
1342
|
-
|
|
1381
|
+
ProjectId: number;
|
|
1382
|
+
/**
|
|
1383
|
+
* 集群名称
|
|
1384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1385
|
+
*/
|
|
1386
|
+
ClusterName: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* 集群描述
|
|
1389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1390
|
+
*/
|
|
1391
|
+
ClusterDesc: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* 集群等级
|
|
1394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1395
|
+
*/
|
|
1396
|
+
ClusterLevel: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* 自动变配集群等级
|
|
1399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1400
|
+
*/
|
|
1401
|
+
AutoUpgradeClusterLevel: AutoUpgradeClusterLevel;
|
|
1343
1402
|
/**
|
|
1344
1403
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1345
1404
|
*/
|
|
@@ -1367,6 +1426,23 @@ export interface CreateClusterResponse {
|
|
|
1367
1426
|
*/
|
|
1368
1427
|
RequestId?: string;
|
|
1369
1428
|
}
|
|
1429
|
+
/**
|
|
1430
|
+
* 关联集群时在集群内部署组件的pod额外配置
|
|
1431
|
+
*/
|
|
1432
|
+
export interface PrometheusClusterAgentPodConfig {
|
|
1433
|
+
/**
|
|
1434
|
+
* 是否使用HostNetWork
|
|
1435
|
+
*/
|
|
1436
|
+
HostNet?: boolean;
|
|
1437
|
+
/**
|
|
1438
|
+
* 指定pod运行节点
|
|
1439
|
+
*/
|
|
1440
|
+
NodeSelector?: Array<Label>;
|
|
1441
|
+
/**
|
|
1442
|
+
* 容忍污点
|
|
1443
|
+
*/
|
|
1444
|
+
Tolerations?: Array<Toleration>;
|
|
1445
|
+
}
|
|
1370
1446
|
/**
|
|
1371
1447
|
* 描述了 “云安全” 服务相关的信息
|
|
1372
1448
|
*/
|
|
@@ -1436,6 +1512,15 @@ export interface DeletePrometheusAlertRuleResponse {
|
|
|
1436
1512
|
*/
|
|
1437
1513
|
RequestId?: string;
|
|
1438
1514
|
}
|
|
1515
|
+
/**
|
|
1516
|
+
* DeletePrometheusConfig返回参数结构体
|
|
1517
|
+
*/
|
|
1518
|
+
export interface DeletePrometheusConfigResponse {
|
|
1519
|
+
/**
|
|
1520
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1521
|
+
*/
|
|
1522
|
+
RequestId?: string;
|
|
1523
|
+
}
|
|
1439
1524
|
/**
|
|
1440
1525
|
* DescribeEksContainerInstanceLog请求参数结构体
|
|
1441
1526
|
*/
|
|
@@ -1469,6 +1554,15 @@ export interface DescribeEksContainerInstanceLogRequest {
|
|
|
1469
1554
|
*/
|
|
1470
1555
|
LimitBytes?: number;
|
|
1471
1556
|
}
|
|
1557
|
+
/**
|
|
1558
|
+
* CreatePrometheusRecordRuleYaml返回参数结构体
|
|
1559
|
+
*/
|
|
1560
|
+
export interface CreatePrometheusRecordRuleYamlResponse {
|
|
1561
|
+
/**
|
|
1562
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1563
|
+
*/
|
|
1564
|
+
RequestId?: string;
|
|
1565
|
+
}
|
|
1472
1566
|
/**
|
|
1473
1567
|
* DescribeClusterInstances请求参数结构体
|
|
1474
1568
|
*/
|
|
@@ -1620,15 +1714,6 @@ export interface DescribePrometheusTemplateSyncRequest {
|
|
|
1620
1714
|
*/
|
|
1621
1715
|
TemplateId: string;
|
|
1622
1716
|
}
|
|
1623
|
-
/**
|
|
1624
|
-
* DeleteTKEEdgeCluster返回参数结构体
|
|
1625
|
-
*/
|
|
1626
|
-
export interface DeleteTKEEdgeClusterResponse {
|
|
1627
|
-
/**
|
|
1628
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1629
|
-
*/
|
|
1630
|
-
RequestId?: string;
|
|
1631
|
-
}
|
|
1632
1717
|
/**
|
|
1633
1718
|
* 可升级节点信息
|
|
1634
1719
|
*/
|
|
@@ -1666,34 +1751,14 @@ export interface DescribeClusterAsGroupOptionRequest {
|
|
|
1666
1751
|
ClusterId: string;
|
|
1667
1752
|
}
|
|
1668
1753
|
/**
|
|
1669
|
-
*
|
|
1754
|
+
* DescribePrometheusAgentInstances返回参数结构体
|
|
1670
1755
|
*/
|
|
1671
|
-
export interface
|
|
1672
|
-
/**
|
|
1673
|
-
* 集群所属项目
|
|
1674
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1675
|
-
*/
|
|
1676
|
-
ProjectId: number;
|
|
1677
|
-
/**
|
|
1678
|
-
* 集群名称
|
|
1679
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1680
|
-
*/
|
|
1681
|
-
ClusterName: string;
|
|
1682
|
-
/**
|
|
1683
|
-
* 集群描述
|
|
1684
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1685
|
-
*/
|
|
1686
|
-
ClusterDesc: string;
|
|
1687
|
-
/**
|
|
1688
|
-
* 集群等级
|
|
1689
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1690
|
-
*/
|
|
1691
|
-
ClusterLevel: string;
|
|
1756
|
+
export interface DescribePrometheusAgentInstancesResponse {
|
|
1692
1757
|
/**
|
|
1693
|
-
*
|
|
1758
|
+
* 关联该集群的实例列表
|
|
1694
1759
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1695
1760
|
*/
|
|
1696
|
-
|
|
1761
|
+
Instances?: Array<string>;
|
|
1697
1762
|
/**
|
|
1698
1763
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1699
1764
|
*/
|
|
@@ -1921,17 +1986,17 @@ export interface DescribePrometheusTempSyncRequest {
|
|
|
1921
1986
|
TemplateId: string;
|
|
1922
1987
|
}
|
|
1923
1988
|
/**
|
|
1924
|
-
*
|
|
1989
|
+
* DescribeClusters返回参数结构体
|
|
1925
1990
|
*/
|
|
1926
|
-
export interface
|
|
1991
|
+
export interface DescribeClustersResponse {
|
|
1927
1992
|
/**
|
|
1928
|
-
*
|
|
1993
|
+
* 集群总个数
|
|
1929
1994
|
*/
|
|
1930
|
-
|
|
1995
|
+
TotalCount: number;
|
|
1931
1996
|
/**
|
|
1932
|
-
*
|
|
1997
|
+
* 集群信息列表
|
|
1933
1998
|
*/
|
|
1934
|
-
|
|
1999
|
+
Clusters: Array<Cluster>;
|
|
1935
2000
|
/**
|
|
1936
2001
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1937
2002
|
*/
|
|
@@ -2281,6 +2346,23 @@ export interface ScaleOutClusterMasterResponse {
|
|
|
2281
2346
|
*/
|
|
2282
2347
|
RequestId?: string;
|
|
2283
2348
|
}
|
|
2349
|
+
/**
|
|
2350
|
+
* kubernetes Taint
|
|
2351
|
+
*/
|
|
2352
|
+
export interface Toleration {
|
|
2353
|
+
/**
|
|
2354
|
+
* 容忍应用到的 taint key
|
|
2355
|
+
*/
|
|
2356
|
+
Key?: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* 键与值的关系
|
|
2359
|
+
*/
|
|
2360
|
+
Operator?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* 要匹配的污点效果
|
|
2363
|
+
*/
|
|
2364
|
+
Effect?: string;
|
|
2365
|
+
}
|
|
2284
2366
|
/**
|
|
2285
2367
|
* CreateEKSContainerInstances返回参数结构体
|
|
2286
2368
|
*/
|
|
@@ -3029,6 +3111,15 @@ export interface DeletePrometheusAlertPolicyRequest {
|
|
|
3029
3111
|
*/
|
|
3030
3112
|
Names?: Array<string>;
|
|
3031
3113
|
}
|
|
3114
|
+
/**
|
|
3115
|
+
* ModifyPrometheusAgentExternalLabels返回参数结构体
|
|
3116
|
+
*/
|
|
3117
|
+
export interface ModifyPrometheusAgentExternalLabelsResponse {
|
|
3118
|
+
/**
|
|
3119
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3120
|
+
*/
|
|
3121
|
+
RequestId?: string;
|
|
3122
|
+
}
|
|
3032
3123
|
/**
|
|
3033
3124
|
* 路由表冲突对象
|
|
3034
3125
|
*/
|
|
@@ -3214,17 +3305,37 @@ export interface DescribeEdgeClusterExtraArgsRequest {
|
|
|
3214
3305
|
ClusterId: string;
|
|
3215
3306
|
}
|
|
3216
3307
|
/**
|
|
3217
|
-
*
|
|
3308
|
+
* DescribePrometheusGlobalConfig返回参数结构体
|
|
3218
3309
|
*/
|
|
3219
|
-
export interface
|
|
3310
|
+
export interface DescribePrometheusGlobalConfigResponse {
|
|
3220
3311
|
/**
|
|
3221
|
-
*
|
|
3312
|
+
* 配置内容
|
|
3222
3313
|
*/
|
|
3223
|
-
|
|
3314
|
+
Config: string;
|
|
3224
3315
|
/**
|
|
3225
|
-
|
|
3316
|
+
* ServiceMonitors列表以及对应targets信息
|
|
3317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3318
|
+
*/
|
|
3319
|
+
ServiceMonitors: Array<PrometheusConfigItem>;
|
|
3320
|
+
/**
|
|
3321
|
+
* PodMonitors列表以及对应targets信息
|
|
3322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3323
|
+
*/
|
|
3324
|
+
PodMonitors: Array<PrometheusConfigItem>;
|
|
3325
|
+
/**
|
|
3326
|
+
* RawJobs列表以及对应targets信息
|
|
3327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3328
|
+
*/
|
|
3329
|
+
RawJobs: Array<PrometheusConfigItem>;
|
|
3330
|
+
/**
|
|
3331
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3226
3332
|
*/
|
|
3227
|
-
|
|
3333
|
+
RequestId?: string;
|
|
3334
|
+
}
|
|
3335
|
+
/**
|
|
3336
|
+
* CreatePrometheusClusterAgent返回参数结构体
|
|
3337
|
+
*/
|
|
3338
|
+
export interface CreatePrometheusClusterAgentResponse {
|
|
3228
3339
|
/**
|
|
3229
3340
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3230
3341
|
*/
|
|
@@ -3513,6 +3624,23 @@ export interface RegionInstance {
|
|
|
3513
3624
|
*/
|
|
3514
3625
|
Remark: string;
|
|
3515
3626
|
}
|
|
3627
|
+
/**
|
|
3628
|
+
* DescribePrometheusConfig请求参数结构体
|
|
3629
|
+
*/
|
|
3630
|
+
export interface DescribePrometheusConfigRequest {
|
|
3631
|
+
/**
|
|
3632
|
+
* 实例id
|
|
3633
|
+
*/
|
|
3634
|
+
InstanceId: string;
|
|
3635
|
+
/**
|
|
3636
|
+
* 集群id
|
|
3637
|
+
*/
|
|
3638
|
+
ClusterId: string;
|
|
3639
|
+
/**
|
|
3640
|
+
* 集群类型
|
|
3641
|
+
*/
|
|
3642
|
+
ClusterType: string;
|
|
3643
|
+
}
|
|
3516
3644
|
/**
|
|
3517
3645
|
* 加入存量节点时的节点池选项
|
|
3518
3646
|
*/
|
|
@@ -3539,6 +3667,15 @@ export interface DeletePrometheusTemplateRequest {
|
|
|
3539
3667
|
*/
|
|
3540
3668
|
TemplateId: string;
|
|
3541
3669
|
}
|
|
3670
|
+
/**
|
|
3671
|
+
* DeletePrometheusRecordRuleYaml返回参数结构体
|
|
3672
|
+
*/
|
|
3673
|
+
export interface DeletePrometheusRecordRuleYamlResponse {
|
|
3674
|
+
/**
|
|
3675
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3676
|
+
*/
|
|
3677
|
+
RequestId?: string;
|
|
3678
|
+
}
|
|
3542
3679
|
/**
|
|
3543
3680
|
* DescribePrometheusTempSync返回参数结构体
|
|
3544
3681
|
*/
|
|
@@ -3862,6 +3999,15 @@ export interface CreateClusterEndpointRequest {
|
|
|
3862
3999
|
*/
|
|
3863
4000
|
ExtensiveParameters?: string;
|
|
3864
4001
|
}
|
|
4002
|
+
/**
|
|
4003
|
+
* DeletePrometheusClusterAgent返回参数结构体
|
|
4004
|
+
*/
|
|
4005
|
+
export interface DeletePrometheusClusterAgentResponse {
|
|
4006
|
+
/**
|
|
4007
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4008
|
+
*/
|
|
4009
|
+
RequestId?: string;
|
|
4010
|
+
}
|
|
3865
4011
|
/**
|
|
3866
4012
|
* DescribePrometheusInstance返回参数结构体
|
|
3867
4013
|
*/
|
|
@@ -4250,21 +4396,13 @@ export interface InstanceUpgradePreCheckResultItem {
|
|
|
4250
4396
|
Pods: Array<string>;
|
|
4251
4397
|
}
|
|
4252
4398
|
/**
|
|
4253
|
-
*
|
|
4399
|
+
* DeleteClusterNodePool返回参数结构体
|
|
4254
4400
|
*/
|
|
4255
|
-
export interface
|
|
4256
|
-
/**
|
|
4257
|
-
* 集群id
|
|
4258
|
-
*/
|
|
4259
|
-
ClusterId: string;
|
|
4260
|
-
/**
|
|
4261
|
-
* 节点池id
|
|
4262
|
-
*/
|
|
4263
|
-
NodePoolId: string;
|
|
4401
|
+
export interface DeleteClusterNodePoolResponse {
|
|
4264
4402
|
/**
|
|
4265
|
-
*
|
|
4403
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4266
4404
|
*/
|
|
4267
|
-
|
|
4405
|
+
RequestId?: string;
|
|
4268
4406
|
}
|
|
4269
4407
|
/**
|
|
4270
4408
|
* DeleteImageCaches请求参数结构体
|
|
@@ -4625,6 +4763,15 @@ export interface DNSConfig {
|
|
|
4625
4763
|
*/
|
|
4626
4764
|
Options?: Array<DNSConfigOption>;
|
|
4627
4765
|
}
|
|
4766
|
+
/**
|
|
4767
|
+
* ModifyPrometheusConfig返回参数结构体
|
|
4768
|
+
*/
|
|
4769
|
+
export interface ModifyPrometheusConfigResponse {
|
|
4770
|
+
/**
|
|
4771
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4772
|
+
*/
|
|
4773
|
+
RequestId?: string;
|
|
4774
|
+
}
|
|
4628
4775
|
/**
|
|
4629
4776
|
* DescribeTKEEdgeExternalKubeconfig请求参数结构体
|
|
4630
4777
|
*/
|
|
@@ -4718,6 +4865,35 @@ export interface ForwardTKEEdgeApplicationRequestV3Response {
|
|
|
4718
4865
|
*/
|
|
4719
4866
|
RequestId?: string;
|
|
4720
4867
|
}
|
|
4868
|
+
/**
|
|
4869
|
+
* ModifyPrometheusConfig请求参数结构体
|
|
4870
|
+
*/
|
|
4871
|
+
export interface ModifyPrometheusConfigRequest {
|
|
4872
|
+
/**
|
|
4873
|
+
* 实例id
|
|
4874
|
+
*/
|
|
4875
|
+
InstanceId: string;
|
|
4876
|
+
/**
|
|
4877
|
+
* 集群类型
|
|
4878
|
+
*/
|
|
4879
|
+
ClusterType: string;
|
|
4880
|
+
/**
|
|
4881
|
+
* 集群id
|
|
4882
|
+
*/
|
|
4883
|
+
ClusterId: string;
|
|
4884
|
+
/**
|
|
4885
|
+
* ServiceMonitors配置
|
|
4886
|
+
*/
|
|
4887
|
+
ServiceMonitors?: Array<PrometheusConfigItem>;
|
|
4888
|
+
/**
|
|
4889
|
+
* PodMonitors配置
|
|
4890
|
+
*/
|
|
4891
|
+
PodMonitors?: Array<PrometheusConfigItem>;
|
|
4892
|
+
/**
|
|
4893
|
+
* prometheus原生Job配置
|
|
4894
|
+
*/
|
|
4895
|
+
RawJobs?: Array<PrometheusConfigItem>;
|
|
4896
|
+
}
|
|
4721
4897
|
/**
|
|
4722
4898
|
* 集群关联的伸缩组最大实例数最小值实例数
|
|
4723
4899
|
*/
|
|
@@ -4797,13 +4973,39 @@ export interface ModifyPrometheusAlertPolicyResponse {
|
|
|
4797
4973
|
RequestId?: string;
|
|
4798
4974
|
}
|
|
4799
4975
|
/**
|
|
4800
|
-
*
|
|
4976
|
+
* DescribePrometheusClusterAgents返回参数结构体
|
|
4801
4977
|
*/
|
|
4802
|
-
export interface
|
|
4978
|
+
export interface DescribePrometheusClusterAgentsResponse {
|
|
4803
4979
|
/**
|
|
4804
|
-
*
|
|
4980
|
+
* 被关联集群信息
|
|
4805
4981
|
*/
|
|
4806
|
-
|
|
4982
|
+
Agents: Array<PrometheusAgentOverview>;
|
|
4983
|
+
/**
|
|
4984
|
+
* 被关联集群总量
|
|
4985
|
+
*/
|
|
4986
|
+
Total: number;
|
|
4987
|
+
/**
|
|
4988
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4989
|
+
*/
|
|
4990
|
+
RequestId?: string;
|
|
4991
|
+
}
|
|
4992
|
+
/**
|
|
4993
|
+
* CreatePrometheusConfig返回参数结构体
|
|
4994
|
+
*/
|
|
4995
|
+
export interface CreatePrometheusConfigResponse {
|
|
4996
|
+
/**
|
|
4997
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4998
|
+
*/
|
|
4999
|
+
RequestId?: string;
|
|
5000
|
+
}
|
|
5001
|
+
/**
|
|
5002
|
+
* DescribeClusterAuthenticationOptions请求参数结构体
|
|
5003
|
+
*/
|
|
5004
|
+
export interface DescribeClusterAuthenticationOptionsRequest {
|
|
5005
|
+
/**
|
|
5006
|
+
* 集群ID
|
|
5007
|
+
*/
|
|
5008
|
+
ClusterId: string;
|
|
4807
5009
|
}
|
|
4808
5010
|
/**
|
|
4809
5011
|
* DescribeEksContainerInstanceLog返回参数结构体
|
|
@@ -4979,6 +5181,35 @@ export interface UpdateImageCacheResponse {
|
|
|
4979
5181
|
*/
|
|
4980
5182
|
RequestId?: string;
|
|
4981
5183
|
}
|
|
5184
|
+
/**
|
|
5185
|
+
* CreatePrometheusConfig请求参数结构体
|
|
5186
|
+
*/
|
|
5187
|
+
export interface CreatePrometheusConfigRequest {
|
|
5188
|
+
/**
|
|
5189
|
+
* 实例id
|
|
5190
|
+
*/
|
|
5191
|
+
InstanceId: string;
|
|
5192
|
+
/**
|
|
5193
|
+
* 集群类型
|
|
5194
|
+
*/
|
|
5195
|
+
ClusterType: string;
|
|
5196
|
+
/**
|
|
5197
|
+
* 集群id
|
|
5198
|
+
*/
|
|
5199
|
+
ClusterId: string;
|
|
5200
|
+
/**
|
|
5201
|
+
* ServiceMonitors配置
|
|
5202
|
+
*/
|
|
5203
|
+
ServiceMonitors?: Array<PrometheusConfigItem>;
|
|
5204
|
+
/**
|
|
5205
|
+
* PodMonitors配置
|
|
5206
|
+
*/
|
|
5207
|
+
PodMonitors?: Array<PrometheusConfigItem>;
|
|
5208
|
+
/**
|
|
5209
|
+
* prometheus原生Job配置
|
|
5210
|
+
*/
|
|
5211
|
+
RawJobs?: Array<PrometheusConfigItem>;
|
|
5212
|
+
}
|
|
4982
5213
|
/**
|
|
4983
5214
|
* 镜像缓存的事件
|
|
4984
5215
|
*/
|
|
@@ -5008,6 +5239,19 @@ export interface ImageCacheEvent {
|
|
|
5008
5239
|
*/
|
|
5009
5240
|
LastTimestamp: string;
|
|
5010
5241
|
}
|
|
5242
|
+
/**
|
|
5243
|
+
* CreatePrometheusClusterAgent请求参数结构体
|
|
5244
|
+
*/
|
|
5245
|
+
export interface CreatePrometheusClusterAgentRequest {
|
|
5246
|
+
/**
|
|
5247
|
+
* 实例ID
|
|
5248
|
+
*/
|
|
5249
|
+
InstanceId: string;
|
|
5250
|
+
/**
|
|
5251
|
+
* agent列表
|
|
5252
|
+
*/
|
|
5253
|
+
Agents: Array<PrometheusClusterAgentBasic>;
|
|
5254
|
+
}
|
|
5011
5255
|
/**
|
|
5012
5256
|
* DeleteEKSContainerInstances返回参数结构体
|
|
5013
5257
|
*/
|
|
@@ -5081,17 +5325,57 @@ export interface DisableClusterDeletionProtectionRequest {
|
|
|
5081
5325
|
ClusterId: string;
|
|
5082
5326
|
}
|
|
5083
5327
|
/**
|
|
5084
|
-
*
|
|
5328
|
+
* CreateECMInstances请求参数结构体
|
|
5085
5329
|
*/
|
|
5086
|
-
export interface
|
|
5330
|
+
export interface CreateECMInstancesRequest {
|
|
5087
5331
|
/**
|
|
5088
|
-
* 集群
|
|
5332
|
+
* 集群id
|
|
5089
5333
|
*/
|
|
5090
|
-
|
|
5334
|
+
ClusterID: string;
|
|
5091
5335
|
/**
|
|
5092
|
-
*
|
|
5336
|
+
* 模块id
|
|
5093
5337
|
*/
|
|
5094
|
-
|
|
5338
|
+
ModuleId: string;
|
|
5339
|
+
/**
|
|
5340
|
+
* 需要创建实例的可用区及创建数目及运营商的列表
|
|
5341
|
+
*/
|
|
5342
|
+
ZoneInstanceCountISPSet: Array<ECMZoneInstanceCountISP>;
|
|
5343
|
+
/**
|
|
5344
|
+
* 密码
|
|
5345
|
+
*/
|
|
5346
|
+
Password?: string;
|
|
5347
|
+
/**
|
|
5348
|
+
* 公网带宽
|
|
5349
|
+
*/
|
|
5350
|
+
InternetMaxBandwidthOut?: number;
|
|
5351
|
+
/**
|
|
5352
|
+
* 镜像id
|
|
5353
|
+
*/
|
|
5354
|
+
ImageId?: string;
|
|
5355
|
+
/**
|
|
5356
|
+
* 实例名称
|
|
5357
|
+
*/
|
|
5358
|
+
InstanceName?: string;
|
|
5359
|
+
/**
|
|
5360
|
+
* 主机名称
|
|
5361
|
+
*/
|
|
5362
|
+
HostName?: string;
|
|
5363
|
+
/**
|
|
5364
|
+
* 增强服务,包括云镜和云监控
|
|
5365
|
+
*/
|
|
5366
|
+
EnhancedService?: ECMEnhancedService;
|
|
5367
|
+
/**
|
|
5368
|
+
* 用户自定义脚本
|
|
5369
|
+
*/
|
|
5370
|
+
UserData?: string;
|
|
5371
|
+
/**
|
|
5372
|
+
* 实例扩展信息
|
|
5373
|
+
*/
|
|
5374
|
+
External?: string;
|
|
5375
|
+
/**
|
|
5376
|
+
* 实例所属安全组
|
|
5377
|
+
*/
|
|
5378
|
+
SecurityGroupIds?: Array<string>;
|
|
5095
5379
|
}
|
|
5096
5380
|
/**
|
|
5097
5381
|
* 接入k8s 的认证信息
|
|
@@ -5549,6 +5833,10 @@ export interface AddClusterCIDRResponse {
|
|
|
5549
5833
|
*/
|
|
5550
5834
|
RequestId?: string;
|
|
5551
5835
|
}
|
|
5836
|
+
/**
|
|
5837
|
+
* DescribePrometheusInstanceInitStatus请求参数结构体
|
|
5838
|
+
*/
|
|
5839
|
+
export declare type DescribePrometheusInstanceInitStatusRequest = null;
|
|
5552
5840
|
/**
|
|
5553
5841
|
* DescribeClusterLevelAttribute返回参数结构体
|
|
5554
5842
|
*/
|
|
@@ -5908,57 +6196,50 @@ export interface UninstallLogAgentResponse {
|
|
|
5908
6196
|
RequestId?: string;
|
|
5909
6197
|
}
|
|
5910
6198
|
/**
|
|
5911
|
-
*
|
|
6199
|
+
* 与云监控融合托管prometheus实例,关联集群基础信息
|
|
5912
6200
|
*/
|
|
5913
|
-
export interface
|
|
6201
|
+
export interface PrometheusClusterAgentBasic {
|
|
5914
6202
|
/**
|
|
5915
|
-
* 集群
|
|
6203
|
+
* 集群ID
|
|
5916
6204
|
*/
|
|
5917
|
-
|
|
6205
|
+
Region: string;
|
|
5918
6206
|
/**
|
|
5919
|
-
*
|
|
6207
|
+
* 集群类型
|
|
5920
6208
|
*/
|
|
5921
|
-
|
|
6209
|
+
ClusterType: string;
|
|
5922
6210
|
/**
|
|
5923
|
-
*
|
|
6211
|
+
* 集群ID
|
|
5924
6212
|
*/
|
|
5925
|
-
|
|
6213
|
+
ClusterId: string;
|
|
5926
6214
|
/**
|
|
5927
|
-
*
|
|
6215
|
+
* 是否开启公网CLB
|
|
5928
6216
|
*/
|
|
5929
|
-
|
|
6217
|
+
EnableExternal: boolean;
|
|
5930
6218
|
/**
|
|
5931
|
-
*
|
|
6219
|
+
* 集群内部署组件的pod配置
|
|
5932
6220
|
*/
|
|
5933
|
-
|
|
6221
|
+
InClusterPodConfig?: PrometheusClusterAgentPodConfig;
|
|
5934
6222
|
/**
|
|
5935
|
-
*
|
|
6223
|
+
* 该集群采集的所有指标都会带上这些labels
|
|
5936
6224
|
*/
|
|
5937
|
-
|
|
6225
|
+
ExternalLabels?: Array<Label>;
|
|
5938
6226
|
/**
|
|
5939
|
-
*
|
|
6227
|
+
* 是否安装默认采集配置
|
|
5940
6228
|
*/
|
|
5941
|
-
|
|
6229
|
+
NotInstallBasicScrape?: boolean;
|
|
5942
6230
|
/**
|
|
5943
|
-
*
|
|
6231
|
+
* 是否采集指标,true代表drop所有指标,false代表采集默认指标
|
|
5944
6232
|
*/
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
* 用户自定义脚本
|
|
5952
|
-
*/
|
|
5953
|
-
UserData?: string;
|
|
5954
|
-
/**
|
|
5955
|
-
* 实例扩展信息
|
|
5956
|
-
*/
|
|
5957
|
-
External?: string;
|
|
6233
|
+
NotScrape?: boolean;
|
|
6234
|
+
}
|
|
6235
|
+
/**
|
|
6236
|
+
* DeleteTKEEdgeCluster返回参数结构体
|
|
6237
|
+
*/
|
|
6238
|
+
export interface DeleteTKEEdgeClusterResponse {
|
|
5958
6239
|
/**
|
|
5959
|
-
*
|
|
6240
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5960
6241
|
*/
|
|
5961
|
-
|
|
6242
|
+
RequestId?: string;
|
|
5962
6243
|
}
|
|
5963
6244
|
/**
|
|
5964
6245
|
* CreatePrometheusTemp返回参数结构体
|
|
@@ -5996,6 +6277,15 @@ export interface DescribePrometheusTargetsRequest {
|
|
|
5996
6277
|
*/
|
|
5997
6278
|
Filters?: Array<Filter>;
|
|
5998
6279
|
}
|
|
6280
|
+
/**
|
|
6281
|
+
* RunPrometheusInstance返回参数结构体
|
|
6282
|
+
*/
|
|
6283
|
+
export interface RunPrometheusInstanceResponse {
|
|
6284
|
+
/**
|
|
6285
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6286
|
+
*/
|
|
6287
|
+
RequestId?: string;
|
|
6288
|
+
}
|
|
5999
6289
|
/**
|
|
6000
6290
|
* DeletePrometheusTemplateSync返回参数结构体
|
|
6001
6291
|
*/
|
|
@@ -6350,6 +6640,31 @@ export interface DescribeClusterAsGroupsResponse {
|
|
|
6350
6640
|
*/
|
|
6351
6641
|
RequestId?: string;
|
|
6352
6642
|
}
|
|
6643
|
+
/**
|
|
6644
|
+
* DescribePrometheusConfig返回参数结构体
|
|
6645
|
+
*/
|
|
6646
|
+
export interface DescribePrometheusConfigResponse {
|
|
6647
|
+
/**
|
|
6648
|
+
* 全局配置
|
|
6649
|
+
*/
|
|
6650
|
+
Config?: string;
|
|
6651
|
+
/**
|
|
6652
|
+
* ServiceMonitor配置
|
|
6653
|
+
*/
|
|
6654
|
+
ServiceMonitors?: Array<PrometheusConfigItem>;
|
|
6655
|
+
/**
|
|
6656
|
+
* PodMonitor配置
|
|
6657
|
+
*/
|
|
6658
|
+
PodMonitors?: Array<PrometheusConfigItem>;
|
|
6659
|
+
/**
|
|
6660
|
+
* 原生Job
|
|
6661
|
+
*/
|
|
6662
|
+
RawJobs?: Array<PrometheusConfigItem>;
|
|
6663
|
+
/**
|
|
6664
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6665
|
+
*/
|
|
6666
|
+
RequestId?: string;
|
|
6667
|
+
}
|
|
6353
6668
|
/**
|
|
6354
6669
|
* ScaleOutClusterMaster请求参数结构体
|
|
6355
6670
|
*/
|
|
@@ -6629,6 +6944,23 @@ export interface DescribeAvailableTKEEdgeVersionResponse {
|
|
|
6629
6944
|
*/
|
|
6630
6945
|
RequestId?: string;
|
|
6631
6946
|
}
|
|
6947
|
+
/**
|
|
6948
|
+
* ModifyPrometheusRecordRuleYaml请求参数结构体
|
|
6949
|
+
*/
|
|
6950
|
+
export interface ModifyPrometheusRecordRuleYamlRequest {
|
|
6951
|
+
/**
|
|
6952
|
+
* 实例id
|
|
6953
|
+
*/
|
|
6954
|
+
InstanceId: string;
|
|
6955
|
+
/**
|
|
6956
|
+
* 聚合实例名称
|
|
6957
|
+
*/
|
|
6958
|
+
Name: string;
|
|
6959
|
+
/**
|
|
6960
|
+
* 新的内容
|
|
6961
|
+
*/
|
|
6962
|
+
Content: string;
|
|
6963
|
+
}
|
|
6632
6964
|
/**
|
|
6633
6965
|
* DeletePrometheusAlertPolicy返回参数结构体
|
|
6634
6966
|
*/
|
|
@@ -7385,6 +7717,19 @@ export interface ClusterInternalLB {
|
|
|
7385
7717
|
*/
|
|
7386
7718
|
SubnetId?: string;
|
|
7387
7719
|
}
|
|
7720
|
+
/**
|
|
7721
|
+
* DescribePrometheusGlobalConfig请求参数结构体
|
|
7722
|
+
*/
|
|
7723
|
+
export interface DescribePrometheusGlobalConfigRequest {
|
|
7724
|
+
/**
|
|
7725
|
+
* 实例级别抓取配置
|
|
7726
|
+
*/
|
|
7727
|
+
InstanceId: string;
|
|
7728
|
+
/**
|
|
7729
|
+
* 是否禁用统计
|
|
7730
|
+
*/
|
|
7731
|
+
DisableStatistics?: boolean;
|
|
7732
|
+
}
|
|
7388
7733
|
/**
|
|
7389
7734
|
* CreateECMInstances返回参数结构体
|
|
7390
7735
|
*/
|
|
@@ -7488,13 +7833,21 @@ export interface Event {
|
|
|
7488
7833
|
Message: string;
|
|
7489
7834
|
}
|
|
7490
7835
|
/**
|
|
7491
|
-
*
|
|
7836
|
+
* ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体
|
|
7492
7837
|
*/
|
|
7493
|
-
export interface
|
|
7838
|
+
export interface ModifyNodePoolDesiredCapacityAboutAsgRequest {
|
|
7494
7839
|
/**
|
|
7495
|
-
*
|
|
7840
|
+
* 集群id
|
|
7496
7841
|
*/
|
|
7497
|
-
|
|
7842
|
+
ClusterId: string;
|
|
7843
|
+
/**
|
|
7844
|
+
* 节点池id
|
|
7845
|
+
*/
|
|
7846
|
+
NodePoolId: string;
|
|
7847
|
+
/**
|
|
7848
|
+
* 节点池所关联的伸缩组的期望实例数
|
|
7849
|
+
*/
|
|
7850
|
+
DesiredCapacity: number;
|
|
7498
7851
|
}
|
|
7499
7852
|
/**
|
|
7500
7853
|
* DeleteClusterRoute返回参数结构体
|
|
@@ -7505,6 +7858,35 @@ export interface DeleteClusterRouteResponse {
|
|
|
7505
7858
|
*/
|
|
7506
7859
|
RequestId?: string;
|
|
7507
7860
|
}
|
|
7861
|
+
/**
|
|
7862
|
+
* DeletePrometheusConfig请求参数结构体
|
|
7863
|
+
*/
|
|
7864
|
+
export interface DeletePrometheusConfigRequest {
|
|
7865
|
+
/**
|
|
7866
|
+
* 实例id
|
|
7867
|
+
*/
|
|
7868
|
+
InstanceId: string;
|
|
7869
|
+
/**
|
|
7870
|
+
* 集群类型
|
|
7871
|
+
*/
|
|
7872
|
+
ClusterType: string;
|
|
7873
|
+
/**
|
|
7874
|
+
* 集群id
|
|
7875
|
+
*/
|
|
7876
|
+
ClusterId: string;
|
|
7877
|
+
/**
|
|
7878
|
+
* 要删除的ServiceMonitor名字列表
|
|
7879
|
+
*/
|
|
7880
|
+
ServiceMonitors?: Array<string>;
|
|
7881
|
+
/**
|
|
7882
|
+
* 要删除的PodMonitor名字列表
|
|
7883
|
+
*/
|
|
7884
|
+
PodMonitors?: Array<string>;
|
|
7885
|
+
/**
|
|
7886
|
+
* 要删除的RawJobs名字列表
|
|
7887
|
+
*/
|
|
7888
|
+
RawJobs?: Array<string>;
|
|
7889
|
+
}
|
|
7508
7890
|
/**
|
|
7509
7891
|
* DeleteEdgeCVMInstances返回参数结构体
|
|
7510
7892
|
*/
|
|
@@ -7561,6 +7943,23 @@ export interface PrometheusAlertPolicyItem {
|
|
|
7561
7943
|
*/
|
|
7562
7944
|
ClusterId?: string;
|
|
7563
7945
|
}
|
|
7946
|
+
/**
|
|
7947
|
+
* ModifyPrometheusAgentExternalLabels请求参数结构体
|
|
7948
|
+
*/
|
|
7949
|
+
export interface ModifyPrometheusAgentExternalLabelsRequest {
|
|
7950
|
+
/**
|
|
7951
|
+
* 实例ID
|
|
7952
|
+
*/
|
|
7953
|
+
InstanceId: string;
|
|
7954
|
+
/**
|
|
7955
|
+
* 集群ID
|
|
7956
|
+
*/
|
|
7957
|
+
ClusterId: string;
|
|
7958
|
+
/**
|
|
7959
|
+
* 新的external_labels
|
|
7960
|
+
*/
|
|
7961
|
+
ExternalLabels: Array<Label>;
|
|
7962
|
+
}
|
|
7564
7963
|
/**
|
|
7565
7964
|
* prometheus一个抓取目标的信息
|
|
7566
7965
|
*/
|
|
@@ -8127,6 +8526,10 @@ export interface ClusterAdvancedSettings {
|
|
|
8127
8526
|
* 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
|
|
8128
8527
|
*/
|
|
8129
8528
|
CiliumMode?: string;
|
|
8529
|
+
/**
|
|
8530
|
+
* 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
|
|
8531
|
+
*/
|
|
8532
|
+
IsDualStack?: boolean;
|
|
8130
8533
|
}
|
|
8131
8534
|
/**
|
|
8132
8535
|
* ForwardApplicationRequestV3返回参数结构体
|
|
@@ -8319,6 +8722,15 @@ export interface DescribeEKSContainerInstanceRegionsResponse {
|
|
|
8319
8722
|
*/
|
|
8320
8723
|
RequestId?: string;
|
|
8321
8724
|
}
|
|
8725
|
+
/**
|
|
8726
|
+
* ModifyPrometheusRecordRuleYaml返回参数结构体
|
|
8727
|
+
*/
|
|
8728
|
+
export interface ModifyPrometheusRecordRuleYamlResponse {
|
|
8729
|
+
/**
|
|
8730
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8731
|
+
*/
|
|
8732
|
+
RequestId?: string;
|
|
8733
|
+
}
|
|
8322
8734
|
/**
|
|
8323
8735
|
* DescribeTKEEdgeScript请求参数结构体
|
|
8324
8736
|
*/
|
|
@@ -8388,6 +8800,19 @@ export interface DescribePrometheusOverviewsResponse {
|
|
|
8388
8800
|
*/
|
|
8389
8801
|
RequestId?: string;
|
|
8390
8802
|
}
|
|
8803
|
+
/**
|
|
8804
|
+
* DeletePrometheusRecordRuleYaml请求参数结构体
|
|
8805
|
+
*/
|
|
8806
|
+
export interface DeletePrometheusRecordRuleYamlRequest {
|
|
8807
|
+
/**
|
|
8808
|
+
* 实例id
|
|
8809
|
+
*/
|
|
8810
|
+
InstanceId: string;
|
|
8811
|
+
/**
|
|
8812
|
+
* 聚合规则列表
|
|
8813
|
+
*/
|
|
8814
|
+
Names: Array<string>;
|
|
8815
|
+
}
|
|
8391
8816
|
/**
|
|
8392
8817
|
* DescribeEKSContainerInstances请求参数结构体
|
|
8393
8818
|
*/
|
|
@@ -8632,3 +9057,7 @@ export interface ScaleInMaster {
|
|
|
8632
9057
|
*/
|
|
8633
9058
|
InstanceDeleteMode: string;
|
|
8634
9059
|
}
|
|
9060
|
+
/**
|
|
9061
|
+
* RunPrometheusInstance请求参数结构体
|
|
9062
|
+
*/
|
|
9063
|
+
export declare type RunPrometheusInstanceRequest = null;
|