tencentcloud-sdk-nodejs-tke 4.0.518 → 4.0.520
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 +343 -0
- package/SERVICE_CHANGELOG.md +322 -145
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/services/tke/v20180525/tke_client.ts +148 -49
- package/src/services/tke/v20180525/tke_models.ts +589 -199
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +47 -15
- package/tencentcloud/services/tke/v20180525/tke_client.js +69 -21
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +506 -173
|
@@ -31,6 +31,23 @@ export interface EksCiVolume {
|
|
|
31
31
|
*/
|
|
32
32
|
NfsVolumes?: Array<NfsVolume>;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* GetTkeAppChartList请求参数结构体
|
|
36
|
+
*/
|
|
37
|
+
export interface GetTkeAppChartListRequest {
|
|
38
|
+
/**
|
|
39
|
+
* app类型,取值log,scheduler,network,storage,monitor,dns,image,other,invisible
|
|
40
|
+
*/
|
|
41
|
+
Kind?: string;
|
|
42
|
+
/**
|
|
43
|
+
* app支持的操作系统,取值arm32、arm64、amd64
|
|
44
|
+
*/
|
|
45
|
+
Arch?: string;
|
|
46
|
+
/**
|
|
47
|
+
* 集群类型,取值tke、eks
|
|
48
|
+
*/
|
|
49
|
+
ClusterType?: string;
|
|
50
|
+
}
|
|
34
51
|
/**
|
|
35
52
|
* DescribeEdgeCVMInstances请求参数结构体
|
|
36
53
|
*/
|
|
@@ -233,21 +250,65 @@ export interface ServiceAccountAuthenticationOptions {
|
|
|
233
250
|
AutoCreateDiscoveryAnonymousAuth?: boolean;
|
|
234
251
|
}
|
|
235
252
|
/**
|
|
236
|
-
*
|
|
253
|
+
* CreateClusterNodePool请求参数结构体
|
|
237
254
|
*/
|
|
238
|
-
export interface
|
|
255
|
+
export interface CreateClusterNodePoolRequest {
|
|
239
256
|
/**
|
|
240
|
-
*
|
|
257
|
+
* cluster id
|
|
241
258
|
*/
|
|
242
|
-
|
|
259
|
+
ClusterId: string;
|
|
243
260
|
/**
|
|
244
|
-
*
|
|
261
|
+
* AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
|
245
262
|
*/
|
|
246
|
-
|
|
263
|
+
AutoScalingGroupPara: string;
|
|
247
264
|
/**
|
|
248
|
-
*
|
|
265
|
+
* LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
|
249
266
|
*/
|
|
250
|
-
|
|
267
|
+
LaunchConfigurePara: string;
|
|
268
|
+
/**
|
|
269
|
+
* InstanceAdvancedSettings 示例参数
|
|
270
|
+
*/
|
|
271
|
+
InstanceAdvancedSettings: InstanceAdvancedSettings;
|
|
272
|
+
/**
|
|
273
|
+
* 是否启用自动伸缩
|
|
274
|
+
*/
|
|
275
|
+
EnableAutoscale: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* 节点池名称
|
|
278
|
+
*/
|
|
279
|
+
Name?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Labels标签
|
|
282
|
+
*/
|
|
283
|
+
Labels?: Array<Label>;
|
|
284
|
+
/**
|
|
285
|
+
* Taints互斥
|
|
286
|
+
*/
|
|
287
|
+
Taints?: Array<Taint>;
|
|
288
|
+
/**
|
|
289
|
+
* 节点池纬度运行时类型及版本
|
|
290
|
+
*/
|
|
291
|
+
ContainerRuntime?: string;
|
|
292
|
+
/**
|
|
293
|
+
* 运行时版本
|
|
294
|
+
*/
|
|
295
|
+
RuntimeVersion?: string;
|
|
296
|
+
/**
|
|
297
|
+
* 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
|
|
298
|
+
*/
|
|
299
|
+
NodePoolOs?: string;
|
|
300
|
+
/**
|
|
301
|
+
* 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
|
302
|
+
*/
|
|
303
|
+
OsCustomizeType?: string;
|
|
304
|
+
/**
|
|
305
|
+
* 资源标签
|
|
306
|
+
*/
|
|
307
|
+
Tags?: Array<Tag>;
|
|
308
|
+
/**
|
|
309
|
+
* 删除保护开关
|
|
310
|
+
*/
|
|
311
|
+
DeletionProtection?: boolean;
|
|
251
312
|
}
|
|
252
313
|
/**
|
|
253
314
|
* UpgradeClusterRelease请求参数结构体
|
|
@@ -1142,6 +1203,23 @@ export interface ModifyPrometheusTemplateRequest {
|
|
|
1142
1203
|
*/
|
|
1143
1204
|
Template: PrometheusTemplateModify;
|
|
1144
1205
|
}
|
|
1206
|
+
/**
|
|
1207
|
+
* DeleteClusterVirtualNodePool请求参数结构体
|
|
1208
|
+
*/
|
|
1209
|
+
export interface DeleteClusterVirtualNodePoolRequest {
|
|
1210
|
+
/**
|
|
1211
|
+
* 集群ID
|
|
1212
|
+
*/
|
|
1213
|
+
ClusterId: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* 虚拟节点池ID列表
|
|
1216
|
+
*/
|
|
1217
|
+
NodePoolIds: Array<string>;
|
|
1218
|
+
/**
|
|
1219
|
+
* 是否强制删除,在虚拟节点上有pod的情况下,如果选择非强制删除,则删除会失败
|
|
1220
|
+
*/
|
|
1221
|
+
Force?: boolean;
|
|
1222
|
+
}
|
|
1145
1223
|
/**
|
|
1146
1224
|
* DescribeImageCaches请求参数结构体
|
|
1147
1225
|
*/
|
|
@@ -1890,6 +1968,38 @@ export interface DescribePrometheusRecordRulesRequest {
|
|
|
1890
1968
|
*/
|
|
1891
1969
|
Filters?: Array<Filter>;
|
|
1892
1970
|
}
|
|
1971
|
+
/**
|
|
1972
|
+
* 虚拟节点池
|
|
1973
|
+
*/
|
|
1974
|
+
export interface VirtualNodePool {
|
|
1975
|
+
/**
|
|
1976
|
+
* 节点池ID
|
|
1977
|
+
*/
|
|
1978
|
+
NodePoolId: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* 子网列表
|
|
1981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1982
|
+
*/
|
|
1983
|
+
SubnetIds: Array<string>;
|
|
1984
|
+
/**
|
|
1985
|
+
* 节点池名称
|
|
1986
|
+
*/
|
|
1987
|
+
Name: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* 节点池生命周期
|
|
1990
|
+
*/
|
|
1991
|
+
LifeState: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* 虚拟节点label
|
|
1994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1995
|
+
*/
|
|
1996
|
+
Labels: Array<Label>;
|
|
1997
|
+
/**
|
|
1998
|
+
* 虚拟节点taint
|
|
1999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2000
|
+
*/
|
|
2001
|
+
Taints: Array<Taint>;
|
|
2002
|
+
}
|
|
1893
2003
|
/**
|
|
1894
2004
|
* DescribeTKEEdgeClusterStatus请求参数结构体
|
|
1895
2005
|
*/
|
|
@@ -1908,6 +2018,23 @@ export interface AcquireClusterAdminRoleResponse {
|
|
|
1908
2018
|
*/
|
|
1909
2019
|
RequestId?: string;
|
|
1910
2020
|
}
|
|
2021
|
+
/**
|
|
2022
|
+
* DescribeEdgeClusterInstances返回参数结构体
|
|
2023
|
+
*/
|
|
2024
|
+
export interface DescribeEdgeClusterInstancesResponse {
|
|
2025
|
+
/**
|
|
2026
|
+
* 该集群总数
|
|
2027
|
+
*/
|
|
2028
|
+
TotalCount?: number;
|
|
2029
|
+
/**
|
|
2030
|
+
* 节点信息集合
|
|
2031
|
+
*/
|
|
2032
|
+
InstanceInfoSet?: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2035
|
+
*/
|
|
2036
|
+
RequestId?: string;
|
|
2037
|
+
}
|
|
1911
2038
|
/**
|
|
1912
2039
|
* UpdateEdgeClusterVersion请求参数结构体
|
|
1913
2040
|
*/
|
|
@@ -2211,6 +2338,23 @@ export interface DeleteClusterEndpointRequest {
|
|
|
2211
2338
|
*/
|
|
2212
2339
|
IsExtranet?: boolean;
|
|
2213
2340
|
}
|
|
2341
|
+
/**
|
|
2342
|
+
* DeleteClusterVirtualNode请求参数结构体
|
|
2343
|
+
*/
|
|
2344
|
+
export interface DeleteClusterVirtualNodeRequest {
|
|
2345
|
+
/**
|
|
2346
|
+
* 集群ID
|
|
2347
|
+
*/
|
|
2348
|
+
ClusterId: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* 虚拟节点列表
|
|
2351
|
+
*/
|
|
2352
|
+
NodeNames: Array<string>;
|
|
2353
|
+
/**
|
|
2354
|
+
* 是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除
|
|
2355
|
+
*/
|
|
2356
|
+
Force?: boolean;
|
|
2357
|
+
}
|
|
2214
2358
|
/**
|
|
2215
2359
|
* DescribeClusterNodePoolDetail请求参数结构体
|
|
2216
2360
|
*/
|
|
@@ -2234,17 +2378,28 @@ export interface DescribePrometheusTempSyncRequest {
|
|
|
2234
2378
|
TemplateId: string;
|
|
2235
2379
|
}
|
|
2236
2380
|
/**
|
|
2237
|
-
*
|
|
2381
|
+
* DescribePrometheusGlobalConfig返回参数结构体
|
|
2238
2382
|
*/
|
|
2239
|
-
export interface
|
|
2383
|
+
export interface DescribePrometheusGlobalConfigResponse {
|
|
2240
2384
|
/**
|
|
2241
|
-
*
|
|
2385
|
+
* 配置内容
|
|
2242
2386
|
*/
|
|
2243
|
-
|
|
2387
|
+
Config: string;
|
|
2244
2388
|
/**
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2389
|
+
* ServiceMonitors列表以及对应targets信息
|
|
2390
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2391
|
+
*/
|
|
2392
|
+
ServiceMonitors: Array<PrometheusConfigItem>;
|
|
2393
|
+
/**
|
|
2394
|
+
* PodMonitors列表以及对应targets信息
|
|
2395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2396
|
+
*/
|
|
2397
|
+
PodMonitors: Array<PrometheusConfigItem>;
|
|
2398
|
+
/**
|
|
2399
|
+
* RawJobs列表以及对应targets信息
|
|
2400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2401
|
+
*/
|
|
2402
|
+
RawJobs: Array<PrometheusConfigItem>;
|
|
2248
2403
|
/**
|
|
2249
2404
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2250
2405
|
*/
|
|
@@ -3369,6 +3524,31 @@ export interface ResourceUsage {
|
|
|
3369
3524
|
*/
|
|
3370
3525
|
Details: Array<ResourceUsageDetail>;
|
|
3371
3526
|
}
|
|
3527
|
+
/**
|
|
3528
|
+
* CreateClusterVirtualNode请求参数结构体
|
|
3529
|
+
*/
|
|
3530
|
+
export interface CreateClusterVirtualNodeRequest {
|
|
3531
|
+
/**
|
|
3532
|
+
* 集群ID
|
|
3533
|
+
*/
|
|
3534
|
+
ClusterId: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* 虚拟节点所属节点池
|
|
3537
|
+
*/
|
|
3538
|
+
NodePoolId: string;
|
|
3539
|
+
/**
|
|
3540
|
+
* 虚拟节点所属子网
|
|
3541
|
+
*/
|
|
3542
|
+
SubnetId?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* 虚拟节点子网ID列表,和参数SubnetId互斥
|
|
3545
|
+
*/
|
|
3546
|
+
SubnetIds?: Array<string>;
|
|
3547
|
+
/**
|
|
3548
|
+
* 虚拟节点列表
|
|
3549
|
+
*/
|
|
3550
|
+
VirtualNodes?: Array<VirtualNodeSpec>;
|
|
3551
|
+
}
|
|
3372
3552
|
/**
|
|
3373
3553
|
* DescribeTKEEdgeClusters请求参数结构体
|
|
3374
3554
|
*/
|
|
@@ -3800,28 +3980,26 @@ export interface DescribeEdgeClusterExtraArgsRequest {
|
|
|
3800
3980
|
ClusterId: string;
|
|
3801
3981
|
}
|
|
3802
3982
|
/**
|
|
3803
|
-
*
|
|
3983
|
+
* DescribeClusters返回参数结构体
|
|
3804
3984
|
*/
|
|
3805
|
-
export interface
|
|
3985
|
+
export interface DescribeClustersResponse {
|
|
3806
3986
|
/**
|
|
3807
|
-
*
|
|
3987
|
+
* 集群总个数
|
|
3808
3988
|
*/
|
|
3809
|
-
|
|
3810
|
-
/**
|
|
3811
|
-
* ServiceMonitors列表以及对应targets信息
|
|
3812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3813
|
-
*/
|
|
3814
|
-
ServiceMonitors: Array<PrometheusConfigItem>;
|
|
3989
|
+
TotalCount: number;
|
|
3815
3990
|
/**
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
PodMonitors: Array<PrometheusConfigItem>;
|
|
3991
|
+
* 集群信息列表
|
|
3992
|
+
*/
|
|
3993
|
+
Clusters: Array<Cluster>;
|
|
3820
3994
|
/**
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3995
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3996
|
+
*/
|
|
3997
|
+
RequestId?: string;
|
|
3998
|
+
}
|
|
3999
|
+
/**
|
|
4000
|
+
* DeleteClusterVirtualNode返回参数结构体
|
|
4001
|
+
*/
|
|
4002
|
+
export interface DeleteClusterVirtualNodeResponse {
|
|
3825
4003
|
/**
|
|
3826
4004
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3827
4005
|
*/
|
|
@@ -4705,6 +4883,15 @@ export interface CreateClusterInstancesResponse {
|
|
|
4705
4883
|
*/
|
|
4706
4884
|
RequestId?: string;
|
|
4707
4885
|
}
|
|
4886
|
+
/**
|
|
4887
|
+
* ModifyClusterVirtualNodePool返回参数结构体
|
|
4888
|
+
*/
|
|
4889
|
+
export interface ModifyClusterVirtualNodePoolResponse {
|
|
4890
|
+
/**
|
|
4891
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4892
|
+
*/
|
|
4893
|
+
RequestId?: string;
|
|
4894
|
+
}
|
|
4708
4895
|
/**
|
|
4709
4896
|
* 节点升级过程中集群当前状态
|
|
4710
4897
|
*/
|
|
@@ -4732,37 +4919,17 @@ export interface DescribeClusterRoutesRequest {
|
|
|
4732
4919
|
Filters?: Array<Filter>;
|
|
4733
4920
|
}
|
|
4734
4921
|
/**
|
|
4735
|
-
*
|
|
4922
|
+
* DeleteECMInstances请求参数结构体
|
|
4736
4923
|
*/
|
|
4737
|
-
export interface
|
|
4738
|
-
/**
|
|
4739
|
-
* 请求集群addon的访问
|
|
4740
|
-
*/
|
|
4741
|
-
Method: string;
|
|
4742
|
-
/**
|
|
4743
|
-
* 请求集群addon的路径
|
|
4744
|
-
*/
|
|
4745
|
-
Path: string;
|
|
4746
|
-
/**
|
|
4747
|
-
* 请求集群addon后允许接收的数据格式
|
|
4748
|
-
*/
|
|
4749
|
-
Accept?: string;
|
|
4750
|
-
/**
|
|
4751
|
-
* 请求集群addon的数据格式
|
|
4752
|
-
*/
|
|
4753
|
-
ContentType?: string;
|
|
4754
|
-
/**
|
|
4755
|
-
* 请求集群addon的数据
|
|
4756
|
-
*/
|
|
4757
|
-
RequestBody?: string;
|
|
4924
|
+
export interface DeleteECMInstancesRequest {
|
|
4758
4925
|
/**
|
|
4759
|
-
*
|
|
4926
|
+
* 集群ID
|
|
4760
4927
|
*/
|
|
4761
|
-
|
|
4928
|
+
ClusterID: string;
|
|
4762
4929
|
/**
|
|
4763
|
-
*
|
|
4930
|
+
* ecm id集合
|
|
4764
4931
|
*/
|
|
4765
|
-
|
|
4932
|
+
EcmIdSet: Array<string>;
|
|
4766
4933
|
}
|
|
4767
4934
|
/**
|
|
4768
4935
|
* 托管集群等级属性
|
|
@@ -5399,7 +5566,16 @@ export interface InstanceUpgradeProgressItem {
|
|
|
5399
5566
|
Detail: Array<TaskStepInfo>;
|
|
5400
5567
|
}
|
|
5401
5568
|
/**
|
|
5402
|
-
*
|
|
5569
|
+
* DescribeClusterVirtualNodePools请求参数结构体
|
|
5570
|
+
*/
|
|
5571
|
+
export interface DescribeClusterVirtualNodePoolsRequest {
|
|
5572
|
+
/**
|
|
5573
|
+
* 集群ID
|
|
5574
|
+
*/
|
|
5575
|
+
ClusterId: string;
|
|
5576
|
+
}
|
|
5577
|
+
/**
|
|
5578
|
+
* GetMostSuitableImageCache请求参数结构体
|
|
5403
5579
|
*/
|
|
5404
5580
|
export interface GetMostSuitableImageCacheRequest {
|
|
5405
5581
|
/**
|
|
@@ -5483,6 +5659,23 @@ export interface DNSConfigOption {
|
|
|
5483
5659
|
*/
|
|
5484
5660
|
Value: string;
|
|
5485
5661
|
}
|
|
5662
|
+
/**
|
|
5663
|
+
* DescribeClusterVirtualNode请求参数结构体
|
|
5664
|
+
*/
|
|
5665
|
+
export interface DescribeClusterVirtualNodeRequest {
|
|
5666
|
+
/**
|
|
5667
|
+
* 集群ID
|
|
5668
|
+
*/
|
|
5669
|
+
ClusterId: string;
|
|
5670
|
+
/**
|
|
5671
|
+
* 节点池ID
|
|
5672
|
+
*/
|
|
5673
|
+
NodePoolId?: string;
|
|
5674
|
+
/**
|
|
5675
|
+
* 节点名称
|
|
5676
|
+
*/
|
|
5677
|
+
NodeNames?: Array<string>;
|
|
5678
|
+
}
|
|
5486
5679
|
/**
|
|
5487
5680
|
* DescribeClusterReleases返回参数结构体
|
|
5488
5681
|
*/
|
|
@@ -5576,6 +5769,28 @@ export interface UninstallClusterReleaseRequest {
|
|
|
5576
5769
|
*/
|
|
5577
5770
|
ClusterType?: string;
|
|
5578
5771
|
}
|
|
5772
|
+
/**
|
|
5773
|
+
* 虚拟节点
|
|
5774
|
+
*/
|
|
5775
|
+
export interface VirtualNode {
|
|
5776
|
+
/**
|
|
5777
|
+
* 虚拟节点名称
|
|
5778
|
+
*/
|
|
5779
|
+
Name: string;
|
|
5780
|
+
/**
|
|
5781
|
+
* 虚拟节点所属子网
|
|
5782
|
+
*/
|
|
5783
|
+
SubnetId: string;
|
|
5784
|
+
/**
|
|
5785
|
+
* 虚拟节点状态
|
|
5786
|
+
*/
|
|
5787
|
+
Phase: string;
|
|
5788
|
+
/**
|
|
5789
|
+
* 创建时间
|
|
5790
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5791
|
+
*/
|
|
5792
|
+
CreatedTime: string;
|
|
5793
|
+
}
|
|
5579
5794
|
/**
|
|
5580
5795
|
* ForwardTKEEdgeApplicationRequestV3返回参数结构体
|
|
5581
5796
|
*/
|
|
@@ -5589,6 +5804,45 @@ export interface ForwardTKEEdgeApplicationRequestV3Response {
|
|
|
5589
5804
|
*/
|
|
5590
5805
|
RequestId?: string;
|
|
5591
5806
|
}
|
|
5807
|
+
/**
|
|
5808
|
+
* CreateClusterVirtualNodePool请求参数结构体
|
|
5809
|
+
*/
|
|
5810
|
+
export interface CreateClusterVirtualNodePoolRequest {
|
|
5811
|
+
/**
|
|
5812
|
+
* 集群Id
|
|
5813
|
+
*/
|
|
5814
|
+
ClusterId: string;
|
|
5815
|
+
/**
|
|
5816
|
+
* 节点池名称
|
|
5817
|
+
*/
|
|
5818
|
+
Name: string;
|
|
5819
|
+
/**
|
|
5820
|
+
* 子网ID列表
|
|
5821
|
+
*/
|
|
5822
|
+
SubnetIds?: Array<string>;
|
|
5823
|
+
/**
|
|
5824
|
+
* 虚拟节点label
|
|
5825
|
+
*/
|
|
5826
|
+
Labels?: Array<Label>;
|
|
5827
|
+
/**
|
|
5828
|
+
* 虚拟节点taint
|
|
5829
|
+
*/
|
|
5830
|
+
Taints?: Array<Taint>;
|
|
5831
|
+
/**
|
|
5832
|
+
* 节点列表
|
|
5833
|
+
*/
|
|
5834
|
+
VirtualNodes?: Array<VirtualNodeSpec>;
|
|
5835
|
+
/**
|
|
5836
|
+
* 删除保护开关
|
|
5837
|
+
*/
|
|
5838
|
+
DeletionProtection?: boolean;
|
|
5839
|
+
/**
|
|
5840
|
+
* 节点池操作系统:
|
|
5841
|
+
- linux(默认)
|
|
5842
|
+
- windows
|
|
5843
|
+
*/
|
|
5844
|
+
OS?: string;
|
|
5845
|
+
}
|
|
5592
5846
|
/**
|
|
5593
5847
|
* ModifyPrometheusConfig请求参数结构体
|
|
5594
5848
|
*/
|
|
@@ -5934,6 +6188,19 @@ export interface CreatePrometheusConfigRequest {
|
|
|
5934
6188
|
*/
|
|
5935
6189
|
RawJobs?: Array<PrometheusConfigItem>;
|
|
5936
6190
|
}
|
|
6191
|
+
/**
|
|
6192
|
+
* CreateClusterVirtualNode返回参数结构体
|
|
6193
|
+
*/
|
|
6194
|
+
export interface CreateClusterVirtualNodeResponse {
|
|
6195
|
+
/**
|
|
6196
|
+
* 虚拟节点名称
|
|
6197
|
+
*/
|
|
6198
|
+
NodeName: string;
|
|
6199
|
+
/**
|
|
6200
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6201
|
+
*/
|
|
6202
|
+
RequestId?: string;
|
|
6203
|
+
}
|
|
5937
6204
|
/**
|
|
5938
6205
|
* 镜像缓存的事件
|
|
5939
6206
|
*/
|
|
@@ -5977,9 +6244,18 @@ export interface CreatePrometheusClusterAgentRequest {
|
|
|
5977
6244
|
Agents: Array<PrometheusClusterAgentBasic>;
|
|
5978
6245
|
}
|
|
5979
6246
|
/**
|
|
5980
|
-
*
|
|
6247
|
+
* DescribeClusterNodePools返回参数结构体
|
|
5981
6248
|
*/
|
|
5982
|
-
export interface
|
|
6249
|
+
export interface DescribeClusterNodePoolsResponse {
|
|
6250
|
+
/**
|
|
6251
|
+
* NodePools(节点池列表)
|
|
6252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6253
|
+
*/
|
|
6254
|
+
NodePoolSet: Array<NodePool>;
|
|
6255
|
+
/**
|
|
6256
|
+
* 资源总数
|
|
6257
|
+
*/
|
|
6258
|
+
TotalCount: number;
|
|
5983
6259
|
/**
|
|
5984
6260
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5985
6261
|
*/
|
|
@@ -6030,6 +6306,19 @@ export interface RestartEKSContainerInstancesRequest {
|
|
|
6030
6306
|
*/
|
|
6031
6307
|
EksCiIds: Array<string>;
|
|
6032
6308
|
}
|
|
6309
|
+
/**
|
|
6310
|
+
* DrainClusterVirtualNode请求参数结构体
|
|
6311
|
+
*/
|
|
6312
|
+
export interface DrainClusterVirtualNodeRequest {
|
|
6313
|
+
/**
|
|
6314
|
+
* 集群ID
|
|
6315
|
+
*/
|
|
6316
|
+
ClusterId: string;
|
|
6317
|
+
/**
|
|
6318
|
+
* 节点名
|
|
6319
|
+
*/
|
|
6320
|
+
NodeName: string;
|
|
6321
|
+
}
|
|
6033
6322
|
/**
|
|
6034
6323
|
* DescribeClusterLevelAttribute请求参数结构体
|
|
6035
6324
|
*/
|
|
@@ -6403,18 +6692,9 @@ export interface EnhancedService {
|
|
|
6403
6692
|
AutomationService?: RunAutomationServiceEnabled;
|
|
6404
6693
|
}
|
|
6405
6694
|
/**
|
|
6406
|
-
*
|
|
6695
|
+
* DeleteEKSContainerInstances返回参数结构体
|
|
6407
6696
|
*/
|
|
6408
|
-
export interface
|
|
6409
|
-
/**
|
|
6410
|
-
* NodePools(节点池列表)
|
|
6411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6412
|
-
*/
|
|
6413
|
-
NodePoolSet: Array<NodePool>;
|
|
6414
|
-
/**
|
|
6415
|
-
* 资源总数
|
|
6416
|
-
*/
|
|
6417
|
-
TotalCount: number;
|
|
6697
|
+
export interface DeleteEKSContainerInstancesResponse {
|
|
6418
6698
|
/**
|
|
6419
6699
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6420
6700
|
*/
|
|
@@ -6847,21 +7127,21 @@ export interface CreatePrometheusAlertPolicyRequest {
|
|
|
6847
7127
|
AlertRule: PrometheusAlertPolicyItem;
|
|
6848
7128
|
}
|
|
6849
7129
|
/**
|
|
6850
|
-
*
|
|
7130
|
+
* DescribeImageCaches返回参数结构体
|
|
6851
7131
|
*/
|
|
6852
|
-
export interface
|
|
7132
|
+
export interface DescribeImageCachesResponse {
|
|
6853
7133
|
/**
|
|
6854
|
-
*
|
|
7134
|
+
* 镜像缓存总数
|
|
6855
7135
|
*/
|
|
6856
|
-
|
|
7136
|
+
TotalCount: number;
|
|
6857
7137
|
/**
|
|
6858
|
-
*
|
|
7138
|
+
* 镜像缓存信息列表
|
|
6859
7139
|
*/
|
|
6860
|
-
|
|
7140
|
+
ImageCaches: Array<ImageCache>;
|
|
6861
7141
|
/**
|
|
6862
|
-
*
|
|
7142
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6863
7143
|
*/
|
|
6864
|
-
|
|
7144
|
+
RequestId?: string;
|
|
6865
7145
|
}
|
|
6866
7146
|
/**
|
|
6867
7147
|
* 资源使用明细
|
|
@@ -6877,65 +7157,23 @@ export interface ResourceUsageDetail {
|
|
|
6877
7157
|
Usage: number;
|
|
6878
7158
|
}
|
|
6879
7159
|
/**
|
|
6880
|
-
*
|
|
7160
|
+
* DescribeClusterVirtualNodePools返回参数结构体
|
|
6881
7161
|
*/
|
|
6882
|
-
export interface
|
|
7162
|
+
export interface DescribeClusterVirtualNodePoolsResponse {
|
|
6883
7163
|
/**
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
* AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
|
6889
|
-
*/
|
|
6890
|
-
AutoScalingGroupPara: string;
|
|
6891
|
-
/**
|
|
6892
|
-
* LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
|
6893
|
-
*/
|
|
6894
|
-
LaunchConfigurePara: string;
|
|
6895
|
-
/**
|
|
6896
|
-
* InstanceAdvancedSettings 示例参数
|
|
6897
|
-
*/
|
|
6898
|
-
InstanceAdvancedSettings: InstanceAdvancedSettings;
|
|
6899
|
-
/**
|
|
6900
|
-
* 是否启用自动伸缩
|
|
6901
|
-
*/
|
|
6902
|
-
EnableAutoscale: boolean;
|
|
6903
|
-
/**
|
|
6904
|
-
* 节点池名称
|
|
6905
|
-
*/
|
|
6906
|
-
Name?: string;
|
|
6907
|
-
/**
|
|
6908
|
-
* Labels标签
|
|
6909
|
-
*/
|
|
6910
|
-
Labels?: Array<Label>;
|
|
6911
|
-
/**
|
|
6912
|
-
* Taints互斥
|
|
6913
|
-
*/
|
|
6914
|
-
Taints?: Array<Taint>;
|
|
6915
|
-
/**
|
|
6916
|
-
* 节点池纬度运行时类型及版本
|
|
6917
|
-
*/
|
|
6918
|
-
ContainerRuntime?: string;
|
|
6919
|
-
/**
|
|
6920
|
-
* 运行时版本
|
|
6921
|
-
*/
|
|
6922
|
-
RuntimeVersion?: string;
|
|
6923
|
-
/**
|
|
6924
|
-
* 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
|
|
6925
|
-
*/
|
|
6926
|
-
NodePoolOs?: string;
|
|
6927
|
-
/**
|
|
6928
|
-
* 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
|
6929
|
-
*/
|
|
6930
|
-
OsCustomizeType?: string;
|
|
7164
|
+
* 节点池总数
|
|
7165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7166
|
+
*/
|
|
7167
|
+
TotalCount?: number;
|
|
6931
7168
|
/**
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
7169
|
+
* 虚拟节点池列表
|
|
7170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7171
|
+
*/
|
|
7172
|
+
NodePoolSet?: Array<VirtualNodePool>;
|
|
6935
7173
|
/**
|
|
6936
|
-
*
|
|
7174
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6937
7175
|
*/
|
|
6938
|
-
|
|
7176
|
+
RequestId?: string;
|
|
6939
7177
|
}
|
|
6940
7178
|
/**
|
|
6941
7179
|
* CheckEdgeClusterCIDR返回参数结构体
|
|
@@ -7078,23 +7316,6 @@ export interface DisableClusterDeletionProtectionRequest {
|
|
|
7078
7316
|
*/
|
|
7079
7317
|
ClusterId: string;
|
|
7080
7318
|
}
|
|
7081
|
-
/**
|
|
7082
|
-
* DescribeImageCaches返回参数结构体
|
|
7083
|
-
*/
|
|
7084
|
-
export interface DescribeImageCachesResponse {
|
|
7085
|
-
/**
|
|
7086
|
-
* 镜像缓存总数
|
|
7087
|
-
*/
|
|
7088
|
-
TotalCount: number;
|
|
7089
|
-
/**
|
|
7090
|
-
* 镜像缓存信息列表
|
|
7091
|
-
*/
|
|
7092
|
-
ImageCaches: Array<ImageCache>;
|
|
7093
|
-
/**
|
|
7094
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7095
|
-
*/
|
|
7096
|
-
RequestId?: string;
|
|
7097
|
-
}
|
|
7098
7319
|
/**
|
|
7099
7320
|
* prometheus一个job的targets
|
|
7100
7321
|
*/
|
|
@@ -7340,17 +7561,37 @@ export interface ClusterAsGroupAttribute {
|
|
|
7340
7561
|
AutoScalingGroupRange?: AutoScalingGroupRange;
|
|
7341
7562
|
}
|
|
7342
7563
|
/**
|
|
7343
|
-
*
|
|
7564
|
+
* ForwardTKEEdgeApplicationRequestV3请求参数结构体
|
|
7344
7565
|
*/
|
|
7345
|
-
export interface
|
|
7566
|
+
export interface ForwardTKEEdgeApplicationRequestV3Request {
|
|
7346
7567
|
/**
|
|
7347
|
-
*
|
|
7568
|
+
* 请求集群addon的访问
|
|
7348
7569
|
*/
|
|
7349
|
-
|
|
7570
|
+
Method: string;
|
|
7350
7571
|
/**
|
|
7351
|
-
*
|
|
7572
|
+
* 请求集群addon的路径
|
|
7352
7573
|
*/
|
|
7353
|
-
|
|
7574
|
+
Path: string;
|
|
7575
|
+
/**
|
|
7576
|
+
* 请求集群addon后允许接收的数据格式
|
|
7577
|
+
*/
|
|
7578
|
+
Accept?: string;
|
|
7579
|
+
/**
|
|
7580
|
+
* 请求集群addon的数据格式
|
|
7581
|
+
*/
|
|
7582
|
+
ContentType?: string;
|
|
7583
|
+
/**
|
|
7584
|
+
* 请求集群addon的数据
|
|
7585
|
+
*/
|
|
7586
|
+
RequestBody?: string;
|
|
7587
|
+
/**
|
|
7588
|
+
* 集群名称,例如cls-1234abcd
|
|
7589
|
+
*/
|
|
7590
|
+
ClusterName?: string;
|
|
7591
|
+
/**
|
|
7592
|
+
* 是否编码请求内容
|
|
7593
|
+
*/
|
|
7594
|
+
EncodedBody?: string;
|
|
7354
7595
|
}
|
|
7355
7596
|
/**
|
|
7356
7597
|
* DisableEventPersistence请求参数结构体
|
|
@@ -7943,6 +8184,19 @@ export interface CreateTKEEdgeClusterRequest {
|
|
|
7943
8184
|
*/
|
|
7944
8185
|
RegistryPrefix?: string;
|
|
7945
8186
|
}
|
|
8187
|
+
/**
|
|
8188
|
+
* CreateClusterVirtualNodePool返回参数结构体
|
|
8189
|
+
*/
|
|
8190
|
+
export interface CreateClusterVirtualNodePoolResponse {
|
|
8191
|
+
/**
|
|
8192
|
+
* 节点池ID
|
|
8193
|
+
*/
|
|
8194
|
+
NodePoolId: string;
|
|
8195
|
+
/**
|
|
8196
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8197
|
+
*/
|
|
8198
|
+
RequestId?: string;
|
|
8199
|
+
}
|
|
7946
8200
|
/**
|
|
7947
8201
|
* CreateEKSCluster返回参数结构体
|
|
7948
8202
|
*/
|
|
@@ -8175,6 +8429,35 @@ export interface EnableEventPersistenceRequest {
|
|
|
8175
8429
|
*/
|
|
8176
8430
|
TopicId?: string;
|
|
8177
8431
|
}
|
|
8432
|
+
/**
|
|
8433
|
+
* ModifyClusterVirtualNodePool请求参数结构体
|
|
8434
|
+
*/
|
|
8435
|
+
export interface ModifyClusterVirtualNodePoolRequest {
|
|
8436
|
+
/**
|
|
8437
|
+
* 集群ID
|
|
8438
|
+
*/
|
|
8439
|
+
ClusterId: string;
|
|
8440
|
+
/**
|
|
8441
|
+
* 节点池ID
|
|
8442
|
+
*/
|
|
8443
|
+
NodePoolId: string;
|
|
8444
|
+
/**
|
|
8445
|
+
* 节点池名称
|
|
8446
|
+
*/
|
|
8447
|
+
Name?: string;
|
|
8448
|
+
/**
|
|
8449
|
+
* 虚拟节点label
|
|
8450
|
+
*/
|
|
8451
|
+
Labels?: Array<Label>;
|
|
8452
|
+
/**
|
|
8453
|
+
* 虚拟节点taint
|
|
8454
|
+
*/
|
|
8455
|
+
Taints?: Array<Taint>;
|
|
8456
|
+
/**
|
|
8457
|
+
* 删除保护开关
|
|
8458
|
+
*/
|
|
8459
|
+
DeletionProtection?: boolean;
|
|
8460
|
+
}
|
|
8178
8461
|
/**
|
|
8179
8462
|
* DescribeRegions返回参数结构体
|
|
8180
8463
|
*/
|
|
@@ -8269,6 +8552,15 @@ export interface DescribeECMInstancesRequest {
|
|
|
8269
8552
|
*/
|
|
8270
8553
|
Filters?: Array<Filter>;
|
|
8271
8554
|
}
|
|
8555
|
+
/**
|
|
8556
|
+
* DrainClusterVirtualNode返回参数结构体
|
|
8557
|
+
*/
|
|
8558
|
+
export interface DrainClusterVirtualNodeResponse {
|
|
8559
|
+
/**
|
|
8560
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8561
|
+
*/
|
|
8562
|
+
RequestId?: string;
|
|
8563
|
+
}
|
|
8272
8564
|
/**
|
|
8273
8565
|
* DescribeVpcCniPodLimits返回参数结构体
|
|
8274
8566
|
*/
|
|
@@ -8373,6 +8665,19 @@ export interface PrometheusAlertRule {
|
|
|
8373
8665
|
*/
|
|
8374
8666
|
RuleState?: number;
|
|
8375
8667
|
}
|
|
8668
|
+
/**
|
|
8669
|
+
* 虚拟节点
|
|
8670
|
+
*/
|
|
8671
|
+
export interface VirtualNodeSpec {
|
|
8672
|
+
/**
|
|
8673
|
+
* 节点展示名称
|
|
8674
|
+
*/
|
|
8675
|
+
DisplayName: string;
|
|
8676
|
+
/**
|
|
8677
|
+
* 子网ID
|
|
8678
|
+
*/
|
|
8679
|
+
SubnetId: string;
|
|
8680
|
+
}
|
|
8376
8681
|
/**
|
|
8377
8682
|
* 集群网络相关的参数
|
|
8378
8683
|
*/
|
|
@@ -8481,24 +8786,13 @@ export interface ClusterExtraArgs {
|
|
|
8481
8786
|
Etcd?: Array<string>;
|
|
8482
8787
|
}
|
|
8483
8788
|
/**
|
|
8484
|
-
*
|
|
8789
|
+
* DeleteClusterVirtualNodePool返回参数结构体
|
|
8485
8790
|
*/
|
|
8486
|
-
export interface
|
|
8487
|
-
/**
|
|
8488
|
-
* 集群自定义参数
|
|
8489
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8490
|
-
*/
|
|
8491
|
-
ExtraArgs?: EdgeClusterExtraArgs;
|
|
8791
|
+
export interface DeleteClusterVirtualNodePoolResponse {
|
|
8492
8792
|
/**
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
Runtime?: string;
|
|
8497
|
-
/**
|
|
8498
|
-
* 集群kube-proxy转发模式,支持"iptables"和"ipvs",默认为iptables
|
|
8499
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8500
|
-
*/
|
|
8501
|
-
ProxyMode?: string;
|
|
8793
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8794
|
+
*/
|
|
8795
|
+
RequestId?: string;
|
|
8502
8796
|
}
|
|
8503
8797
|
/**
|
|
8504
8798
|
* CreateClusterEndpointVip返回参数结构体
|
|
@@ -9123,6 +9417,26 @@ export interface ModifyPrometheusAgentExternalLabelsRequest {
|
|
|
9123
9417
|
*/
|
|
9124
9418
|
ExternalLabels: Array<Label>;
|
|
9125
9419
|
}
|
|
9420
|
+
/**
|
|
9421
|
+
* 边缘容器集群高级配置
|
|
9422
|
+
*/
|
|
9423
|
+
export interface EdgeClusterAdvancedSettings {
|
|
9424
|
+
/**
|
|
9425
|
+
* 集群自定义参数
|
|
9426
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9427
|
+
*/
|
|
9428
|
+
ExtraArgs?: EdgeClusterExtraArgs;
|
|
9429
|
+
/**
|
|
9430
|
+
* 运行时类型,支持"docker"和"containerd",默认为docker
|
|
9431
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9432
|
+
*/
|
|
9433
|
+
Runtime?: string;
|
|
9434
|
+
/**
|
|
9435
|
+
* 集群kube-proxy转发模式,支持"iptables"和"ipvs",默认为iptables
|
|
9436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9437
|
+
*/
|
|
9438
|
+
ProxyMode?: string;
|
|
9439
|
+
}
|
|
9126
9440
|
/**
|
|
9127
9441
|
* prometheus一个抓取目标的信息
|
|
9128
9442
|
*/
|
|
@@ -10261,6 +10575,25 @@ export interface PrometheusInstanceOverview {
|
|
|
10261
10575
|
*/
|
|
10262
10576
|
BoundNormal: number;
|
|
10263
10577
|
}
|
|
10578
|
+
/**
|
|
10579
|
+
* DescribeClusterVirtualNode返回参数结构体
|
|
10580
|
+
*/
|
|
10581
|
+
export interface DescribeClusterVirtualNodeResponse {
|
|
10582
|
+
/**
|
|
10583
|
+
* 节点列表
|
|
10584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10585
|
+
*/
|
|
10586
|
+
Nodes?: Array<VirtualNode>;
|
|
10587
|
+
/**
|
|
10588
|
+
* 节点总数
|
|
10589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10590
|
+
*/
|
|
10591
|
+
TotalCount?: number;
|
|
10592
|
+
/**
|
|
10593
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10594
|
+
*/
|
|
10595
|
+
RequestId?: string;
|
|
10596
|
+
}
|
|
10264
10597
|
/**
|
|
10265
10598
|
* master节点缩容参数
|
|
10266
10599
|
*/
|