tencentcloud-sdk-nodejs-tke 4.0.571 → 4.0.583
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 +2200 -0
- package/SERVICE_CHANGELOG.md +2000 -136
- package/package.json +1 -1
- package/products.md +74 -71
- package/src/services/tke/v20180525/tke_client.ts +12 -0
- package/src/services/tke/v20180525/tke_models.ts +67 -12
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +59 -12
|
@@ -567,6 +567,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
567
567
|
async CreateEKSCluster(req, cb) {
|
|
568
568
|
return this.request("CreateEKSCluster", req, cb);
|
|
569
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* 对集群的Kubeconfig信息进行更新
|
|
572
|
+
*/
|
|
573
|
+
async UpdateClusterKubeconfig(req, cb) {
|
|
574
|
+
return this.request("UpdateClusterKubeconfig", req, cb);
|
|
575
|
+
}
|
|
570
576
|
/**
|
|
571
577
|
* 本接口查询当前用户和地域在指定可用区下的机型可支持的最大 TKE VPC-CNI 网络模式的 Pod 数量
|
|
572
578
|
*/
|
|
@@ -233,6 +233,11 @@ export interface DescribePrometheusInstancesOverviewRequest {
|
|
|
233
233
|
* ServiceAccount认证相关配置
|
|
234
234
|
*/
|
|
235
235
|
export interface ServiceAccountAuthenticationOptions {
|
|
236
|
+
/**
|
|
237
|
+
* 使用TKE默认issuer和jwksuri
|
|
238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
239
|
+
*/
|
|
240
|
+
UseTKEDefault?: boolean;
|
|
236
241
|
/**
|
|
237
242
|
* service-account-issuer
|
|
238
243
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2198,7 +2203,7 @@ export interface AddExistedInstancesRequest {
|
|
|
2198
2203
|
*/
|
|
2199
2204
|
InstanceAdvancedSettingsOverrides?: Array<InstanceAdvancedSettings>;
|
|
2200
2205
|
/**
|
|
2201
|
-
*
|
|
2206
|
+
* 节点镜像
|
|
2202
2207
|
*/
|
|
2203
2208
|
ImageId?: string;
|
|
2204
2209
|
}
|
|
@@ -4485,7 +4490,7 @@ export interface Cluster {
|
|
|
4485
4490
|
*/
|
|
4486
4491
|
TagSpecification: Array<TagSpecification>;
|
|
4487
4492
|
/**
|
|
4488
|
-
* 集群状态 (
|
|
4493
|
+
* 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
|
|
4489
4494
|
*/
|
|
4490
4495
|
ClusterStatus: string;
|
|
4491
4496
|
/**
|
|
@@ -4547,6 +4552,11 @@ export interface Cluster {
|
|
|
4547
4552
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4548
4553
|
*/
|
|
4549
4554
|
RuntimeVersion: string;
|
|
4555
|
+
/**
|
|
4556
|
+
* 集群当前etcd数量
|
|
4557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4558
|
+
*/
|
|
4559
|
+
ClusterEtcdNodeNum: number;
|
|
4550
4560
|
}
|
|
4551
4561
|
/**
|
|
4552
4562
|
* DescribeClusterEndpointStatus返回参数结构体
|
|
@@ -4592,22 +4602,22 @@ export interface AddExistedInstancesResponse {
|
|
|
4592
4602
|
* 失败的节点ID
|
|
4593
4603
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4594
4604
|
*/
|
|
4595
|
-
FailedInstanceIds
|
|
4605
|
+
FailedInstanceIds?: Array<string>;
|
|
4596
4606
|
/**
|
|
4597
4607
|
* 成功的节点ID
|
|
4598
4608
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4599
4609
|
*/
|
|
4600
|
-
SuccInstanceIds
|
|
4610
|
+
SuccInstanceIds?: Array<string>;
|
|
4601
4611
|
/**
|
|
4602
4612
|
* 超时未返回出来节点的ID(可能失败,也可能成功)
|
|
4603
4613
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4604
4614
|
*/
|
|
4605
|
-
TimeoutInstanceIds
|
|
4615
|
+
TimeoutInstanceIds?: Array<string>;
|
|
4606
4616
|
/**
|
|
4607
4617
|
* 失败的节点的失败原因
|
|
4608
4618
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4609
4619
|
*/
|
|
4610
|
-
FailedReasons
|
|
4620
|
+
FailedReasons?: Array<string>;
|
|
4611
4621
|
/**
|
|
4612
4622
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4613
4623
|
*/
|
|
@@ -5714,22 +5724,22 @@ export interface DescribeClusterReleasesResponse {
|
|
|
5714
5724
|
* 数量限制
|
|
5715
5725
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5716
5726
|
*/
|
|
5717
|
-
Limit
|
|
5727
|
+
Limit?: number;
|
|
5718
5728
|
/**
|
|
5719
5729
|
* 偏移量
|
|
5720
5730
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5721
5731
|
*/
|
|
5722
|
-
Offset
|
|
5732
|
+
Offset?: number;
|
|
5723
5733
|
/**
|
|
5724
5734
|
* 已安装应用列表
|
|
5725
5735
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5726
5736
|
*/
|
|
5727
|
-
ReleaseSet
|
|
5737
|
+
ReleaseSet?: Array<Release>;
|
|
5728
5738
|
/**
|
|
5729
5739
|
* 已安装应用总数量
|
|
5730
5740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5731
5741
|
*/
|
|
5732
|
-
Total
|
|
5742
|
+
Total?: number;
|
|
5733
5743
|
/**
|
|
5734
5744
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5735
5745
|
*/
|
|
@@ -6452,6 +6462,10 @@ export interface DescribeClusterReleasesRequest {
|
|
|
6452
6462
|
* 页偏移量
|
|
6453
6463
|
*/
|
|
6454
6464
|
Offset?: number;
|
|
6465
|
+
/**
|
|
6466
|
+
* 集群类型, 目前支持传入 tke, eks, tkeedge, external
|
|
6467
|
+
*/
|
|
6468
|
+
ClusterType?: string;
|
|
6455
6469
|
/**
|
|
6456
6470
|
* helm Release 安装的namespace
|
|
6457
6471
|
*/
|
|
@@ -7198,12 +7212,12 @@ export interface DescribeClusterVirtualNodePoolsResponse {
|
|
|
7198
7212
|
* 节点池总数
|
|
7199
7213
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7200
7214
|
*/
|
|
7201
|
-
TotalCount
|
|
7215
|
+
TotalCount: number;
|
|
7202
7216
|
/**
|
|
7203
7217
|
* 虚拟节点池列表
|
|
7204
7218
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7205
7219
|
*/
|
|
7206
|
-
NodePoolSet
|
|
7220
|
+
NodePoolSet: Array<VirtualNodePool>;
|
|
7207
7221
|
/**
|
|
7208
7222
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7209
7223
|
*/
|
|
@@ -8783,6 +8797,12 @@ export interface ClusterNetworkSettings {
|
|
|
8783
8797
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8784
8798
|
*/
|
|
8785
8799
|
Ipv6ServiceCIDR: string;
|
|
8800
|
+
/**
|
|
8801
|
+
* 集群Cilium Mode配置
|
|
8802
|
+
- clusterIP
|
|
8803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8804
|
+
*/
|
|
8805
|
+
CiliumMode: string;
|
|
8786
8806
|
}
|
|
8787
8807
|
/**
|
|
8788
8808
|
* DescribeImages返回参数结构体
|
|
@@ -9192,6 +9212,19 @@ export interface ClusterInternalLB {
|
|
|
9192
9212
|
*/
|
|
9193
9213
|
SubnetId?: string;
|
|
9194
9214
|
}
|
|
9215
|
+
/**
|
|
9216
|
+
* UpdateClusterKubeconfig请求参数结构体
|
|
9217
|
+
*/
|
|
9218
|
+
export interface UpdateClusterKubeconfigRequest {
|
|
9219
|
+
/**
|
|
9220
|
+
* 集群ID
|
|
9221
|
+
*/
|
|
9222
|
+
ClusterId: string;
|
|
9223
|
+
/**
|
|
9224
|
+
* 子账户Uin列表,传空默认为调用此接口的SubUin
|
|
9225
|
+
*/
|
|
9226
|
+
SubAccounts?: Array<string>;
|
|
9227
|
+
}
|
|
9195
9228
|
/**
|
|
9196
9229
|
* DescribePrometheusGlobalConfig请求参数结构体
|
|
9197
9230
|
*/
|
|
@@ -10087,6 +10120,20 @@ export interface ClusterAdvancedSettings {
|
|
|
10087
10120
|
*/
|
|
10088
10121
|
QGPUShareEnable?: boolean;
|
|
10089
10122
|
}
|
|
10123
|
+
/**
|
|
10124
|
+
* UpdateClusterKubeconfig返回参数结构体
|
|
10125
|
+
*/
|
|
10126
|
+
export interface UpdateClusterKubeconfigResponse {
|
|
10127
|
+
/**
|
|
10128
|
+
* 已更新的子账户Uin列表
|
|
10129
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10130
|
+
*/
|
|
10131
|
+
UpdatedSubAccounts?: Array<string>;
|
|
10132
|
+
/**
|
|
10133
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10134
|
+
*/
|
|
10135
|
+
RequestId?: string;
|
|
10136
|
+
}
|
|
10090
10137
|
/**
|
|
10091
10138
|
* ForwardApplicationRequestV3返回参数结构体
|
|
10092
10139
|
*/
|