tencentcloud-sdk-nodejs-tke 4.0.849 → 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,10 +1,10 @@
1
1
  export declare const tke: {
2
- v20220501: {
3
- Client: typeof import("./v20220501/tke_client").Client;
4
- Models: typeof import("./v20220501/tke_models");
5
- };
6
2
  v20180525: {
7
3
  Client: typeof import("./v20180525/tke_client").Client;
8
4
  Models: typeof import("./v20180525/tke_models");
9
5
  };
6
+ v20220501: {
7
+ Client: typeof import("./v20220501/tke_client").Client;
8
+ Models: typeof import("./v20220501/tke_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tke = void 0;
4
- const v20220501_1 = require("./v20220501");
5
4
  const v20180525_1 = require("./v20180525");
5
+ const v20220501_1 = require("./v20220501");
6
6
  exports.tke = {
7
- v20220501: v20220501_1.v20220501,
8
7
  v20180525: v20180525_1.v20180525,
8
+ v20220501: v20220501_1.v20220501,
9
9
  };
@@ -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;