tencentcloud-sdk-nodejs-tke 4.0.850 → 4.0.851

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.
@@ -1,17 +1,29 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DescribeClusterInstancesRequest, DescribeNodePoolsRequest } from "./tke_models";
2
+ import { CreateNodePoolResponse, DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DeleteNodePoolResponse, ModifyNodePoolRequest, DescribeClusterInstancesRequest, ModifyNodePoolResponse, CreateNodePoolRequest, DescribeNodePoolsRequest, DeleteNodePoolRequest } from "./tke_models";
3
3
  /**
4
4
  * tke client
5
5
  * @class
6
6
  */
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
- /**
10
- * 查询集群下节点实例信息
11
- */
12
- DescribeClusterInstances(req: DescribeClusterInstancesRequest, cb?: (error: string, rep: DescribeClusterInstancesResponse) => void): Promise<DescribeClusterInstancesResponse>;
13
9
  /**
14
10
  * 查询 TKE 节点池列表
15
11
  */
16
12
  DescribeNodePools(req: DescribeNodePoolsRequest, cb?: (error: string, rep: DescribeNodePoolsResponse) => void): Promise<DescribeNodePoolsResponse>;
13
+ /**
14
+ * 创建 TKE 节点池
15
+ */
16
+ CreateNodePool(req: CreateNodePoolRequest, cb?: (error: string, rep: CreateNodePoolResponse) => void): Promise<CreateNodePoolResponse>;
17
+ /**
18
+ * 删除 TKE 节点池
19
+ */
20
+ DeleteNodePool(req: DeleteNodePoolRequest, cb?: (error: string, rep: DeleteNodePoolResponse) => void): Promise<DeleteNodePoolResponse>;
21
+ /**
22
+ * 更新 TKE 节点池
23
+ */
24
+ ModifyNodePool(req: ModifyNodePoolRequest, cb?: (error: string, rep: ModifyNodePoolResponse) => void): Promise<ModifyNodePoolResponse>;
25
+ /**
26
+ * 查询集群下节点实例信息
27
+ */
28
+ DescribeClusterInstances(req: DescribeClusterInstancesRequest, cb?: (error: string, rep: DescribeClusterInstancesResponse) => void): Promise<DescribeClusterInstancesResponse>;
17
29
  }
@@ -27,17 +27,35 @@ class Client extends TencentCloudCommon.AbstractClient {
27
27
  constructor(clientConfig) {
28
28
  super("tke.tencentcloudapi.com", "2022-05-01", clientConfig);
29
29
  }
30
- /**
31
- * 查询集群下节点实例信息
32
- */
33
- async DescribeClusterInstances(req, cb) {
34
- return this.request("DescribeClusterInstances", req, cb);
35
- }
36
30
  /**
37
31
  * 查询 TKE 节点池列表
38
32
  */
39
33
  async DescribeNodePools(req, cb) {
40
34
  return this.request("DescribeNodePools", req, cb);
41
35
  }
36
+ /**
37
+ * 创建 TKE 节点池
38
+ */
39
+ async CreateNodePool(req, cb) {
40
+ return this.request("CreateNodePool", req, cb);
41
+ }
42
+ /**
43
+ * 删除 TKE 节点池
44
+ */
45
+ async DeleteNodePool(req, cb) {
46
+ return this.request("DeleteNodePool", req, cb);
47
+ }
48
+ /**
49
+ * 更新 TKE 节点池
50
+ */
51
+ async ModifyNodePool(req, cb) {
52
+ return this.request("ModifyNodePool", req, cb);
53
+ }
54
+ /**
55
+ * 查询集群下节点实例信息
56
+ */
57
+ async DescribeClusterInstances(req, cb) {
58
+ return this.request("DescribeClusterInstances", req, cb);
59
+ }
42
60
  }
43
61
  exports.Client = Client;