tencentcloud-sdk-nodejs-tke 4.1.255 → 4.1.257

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.
@@ -63,6 +63,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
63
63
  async ModifyNodePool(req, cb) {
64
64
  return this.request("ModifyNodePool", req, cb);
65
65
  }
66
+ async DescribeNodePoolsElasticityStrength(req, cb) {
67
+ return this.request("DescribeNodePoolsElasticityStrength", req, cb);
68
+ }
66
69
  async StopMachines(req, cb) {
67
70
  return this.request("StopMachines", req, cb);
68
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tke",
3
- "version": "4.1.255",
3
+ "version": "4.1.257",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, DescribeGPUInfoResponse, DescribeClusterMachinesResponse, DeleteClusterMachinesRequest, RebootMachinesRequest, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, ModifyHealthCheckPolicyResponse, StopMachinesResponse, DescribeClustersRequest, CreateHealthCheckPolicyRequest, DescribeZoneInstanceConfigInfosResponse, StartMachinesRequest, ModifyNodePoolRequest, ModifyClusterMachineResponse, SetMachineLoginRequest, ModifyNodePoolResponse, DescribeHealthCheckTemplateRequest, DescribeClustersResponse, CreateNodePoolResponse, ModifyHealthCheckPolicyRequest, StartMachinesResponse, DeleteClusterMachinesResponse, DeleteNodePoolResponse, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, DescribeGPUInfoRequest, DeleteNodePoolRequest, SetMachineLoginResponse, DescribeZoneInstanceConfigInfosRequest, DescribeClusterMachinesRequest, DeleteHealthCheckPolicyRequest, DescribeNodePoolsResponse, ScaleNodePoolResponse, ModifyClusterMachineRequest, DescribeHealthCheckPoliciesResponse, RebootMachinesResponse, StopMachinesRequest, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, ScaleNodePoolRequest, CreateHealthCheckPolicyResponse } from "./tke_models";
2
+ import { DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, DescribeGPUInfoResponse, DescribeClusterMachinesResponse, DeleteClusterMachinesRequest, RebootMachinesRequest, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, ModifyHealthCheckPolicyResponse, StopMachinesResponse, DescribeClustersRequest, CreateHealthCheckPolicyRequest, DescribeZoneInstanceConfigInfosResponse, StartMachinesRequest, ModifyNodePoolRequest, ModifyClusterMachineResponse, SetMachineLoginRequest, ModifyNodePoolResponse, DescribeHealthCheckTemplateRequest, DescribeClustersResponse, CreateNodePoolResponse, ModifyHealthCheckPolicyRequest, StartMachinesResponse, DescribeNodePoolsElasticityStrengthResponse, DeleteClusterMachinesResponse, DeleteNodePoolResponse, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, DescribeGPUInfoRequest, DeleteNodePoolRequest, SetMachineLoginResponse, DescribeZoneInstanceConfigInfosRequest, DescribeNodePoolsElasticityStrengthRequest, DescribeClusterMachinesRequest, DeleteHealthCheckPolicyRequest, DescribeNodePoolsResponse, ScaleNodePoolResponse, ModifyClusterMachineRequest, DescribeHealthCheckPoliciesResponse, RebootMachinesResponse, StopMachinesRequest, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, ScaleNodePoolRequest, CreateHealthCheckPolicyResponse } from "./tke_models";
3
3
  /**
4
4
  * tke client
5
5
  * @class
@@ -91,6 +91,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
91
91
  * 更新 TKE 节点池
92
92
  */
93
93
  ModifyNodePool(req: ModifyNodePoolRequest, cb?: (error: string, rep: ModifyNodePoolResponse) => void): Promise<ModifyNodePoolResponse>;
94
+ /**
95
+ * 查询节点池健康度相关信息
96
+ */
97
+ DescribeNodePoolsElasticityStrength(req?: DescribeNodePoolsElasticityStrengthRequest, cb?: (error: string, rep: DescribeNodePoolsElasticityStrengthResponse) => void): Promise<DescribeNodePoolsElasticityStrengthResponse>;
94
98
  /**
95
99
  * 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
96
100
 
@@ -153,6 +153,12 @@ class Client extends TencentCloudCommon.AbstractClient {
153
153
  async ModifyNodePool(req, cb) {
154
154
  return this.request("ModifyNodePool", req, cb);
155
155
  }
156
+ /**
157
+ * 查询节点池健康度相关信息
158
+ */
159
+ async DescribeNodePoolsElasticityStrength(req, cb) {
160
+ return this.request("DescribeNodePoolsElasticityStrength", req, cb);
161
+ }
156
162
  /**
157
163
  * 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
158
164
 
@@ -70,6 +70,10 @@ export interface CreateNativeNodePoolParam {
70
70
  * <p>期望节点数</p>
71
71
  */
72
72
  Replicas?: number;
73
+ /**
74
+ * <p>机型和GPU配置相关信息</p>
75
+ */
76
+ GPUConfigs?: Array<GPUConfig>;
73
77
  /**
74
78
  * <p>公网带宽设置</p>
75
79
  */
@@ -1236,14 +1240,21 @@ export interface Disk {
1236
1240
  */
1237
1241
  export type DescribeHealthCheckTemplateRequest = null;
1238
1242
  /**
1239
- * 节点自定义参数
1243
+ * 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云主机实例。
1240
1244
  */
1241
- export interface InstanceExtraArgs {
1245
+ export interface TagSpecification {
1242
1246
  /**
1243
- * kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
1247
+ * 标签绑定的资源类型,当前支持类型:
1248
+ 1.cluster:集群相关接口,TagSpecification 的 ResourceType 传参为 cluster
1249
+ 2.machine:节点池相关接口,如:CreateNodePool, DescribeNodePools 等,TagSpecification 的 ResourceType 传参为 machine
1244
1250
  注意:此字段可能返回 null,表示取不到有效值。
1245
1251
  */
1246
- Kubelet?: Array<string>;
1252
+ ResourceType?: string;
1253
+ /**
1254
+ * 标签对列表
1255
+ 注意:此字段可能返回 null,表示取不到有效值。
1256
+ */
1257
+ Tags?: Array<Tag>;
1247
1258
  }
1248
1259
  /**
1249
1260
  * DescribeClusters返回参数结构体
@@ -1492,21 +1503,23 @@ export interface RegularNodePoolInfo {
1492
1503
  InstanceAdvancedSettings?: InstanceAdvancedSettings;
1493
1504
  }
1494
1505
  /**
1495
- * 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云主机实例。
1506
+ * 节点自定义参数
1496
1507
  */
1497
- export interface TagSpecification {
1508
+ export interface InstanceExtraArgs {
1498
1509
  /**
1499
- * 标签绑定的资源类型,当前支持类型:
1500
- 1.cluster:集群相关接口,TagSpecification 的 ResourceType 传参为 cluster
1501
- 2.machine:节点池相关接口,如:CreateNodePool, DescribeNodePools 等,TagSpecification 的 ResourceType 传参为 machine
1510
+ * kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
1502
1511
  注意:此字段可能返回 null,表示取不到有效值。
1503
1512
  */
1504
- ResourceType?: string;
1513
+ Kubelet?: Array<string>;
1514
+ }
1515
+ /**
1516
+ * DescribeNodePoolsElasticityStrength返回参数结构体
1517
+ */
1518
+ export interface DescribeNodePoolsElasticityStrengthResponse {
1505
1519
  /**
1506
- * 标签对列表
1507
- 注意:此字段可能返回 null,表示取不到有效值。
1520
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1508
1521
  */
1509
- Tags?: Array<Tag>;
1522
+ RequestId?: string;
1510
1523
  }
1511
1524
  /**
1512
1525
  * DeleteClusterMachines返回参数结构体
@@ -1798,6 +1811,10 @@ export interface Cluster {
1798
1811
  */
1799
1812
  VpcId?: string;
1800
1813
  }
1814
+ /**
1815
+ * DescribeNodePoolsElasticityStrength请求参数结构体
1816
+ */
1817
+ export type DescribeNodePoolsElasticityStrengthRequest = null;
1801
1818
  /**
1802
1819
  * 第三方节点池信息
1803
1820
  */