tencentcloud-sdk-nodejs-tke 4.0.786 → 4.0.788

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,4 +1,8 @@
1
1
  export declare const tke: {
2
+ v20220501: {
3
+ Client: typeof import("./v20220501/tke_client").Client;
4
+ Models: typeof import("./v20220501/tke_models");
5
+ };
2
6
  v20180525: {
3
7
  Client: typeof import("./v20180525/tke_client").Client;
4
8
  Models: typeof import("./v20180525/tke_models");
@@ -1,7 +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");
4
5
  const v20180525_1 = require("./v20180525");
5
6
  exports.tke = {
7
+ v20220501: v20220501_1.v20220501,
6
8
  v20180525: v20180525_1.v20180525,
7
9
  };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./tke_models";
2
+ import { Client } from "./tke_client";
3
+ export declare const v20220501: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20220501 = void 0;
4
+ const Models = require("./tke_models");
5
+ const tke_client_1 = require("./tke_client");
6
+ exports.v20220501 = {
7
+ Client: tke_client_1.Client,
8
+ Models: Models,
9
+ };
@@ -0,0 +1,17 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ import { DescribeNodePoolsResponse, DescribeClusterInstancesResponse, DescribeClusterInstancesRequest, DescribeNodePoolsRequest } from "./tke_models";
3
+ /**
4
+ * tke client
5
+ * @class
6
+ */
7
+ export declare class Client extends TencentCloudCommon.AbstractClient {
8
+ constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
+ /**
10
+ * 查询集群下节点实例信息
11
+ */
12
+ DescribeClusterInstances(req: DescribeClusterInstancesRequest, cb?: (error: string, rep: DescribeClusterInstancesResponse) => void): Promise<DescribeClusterInstancesResponse>;
13
+ /**
14
+ * 查询 TKE 节点池列表
15
+ */
16
+ DescribeNodePools(req: DescribeNodePoolsRequest, cb?: (error: string, rep: DescribeNodePoolsResponse) => void): Promise<DescribeNodePoolsResponse>;
17
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ /**
23
+ * tke client
24
+ * @class
25
+ */
26
+ class Client extends TencentCloudCommon.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("tke.tencentcloudapi.com", "2022-05-01", clientConfig);
29
+ }
30
+ /**
31
+ * 查询集群下节点实例信息
32
+ */
33
+ async DescribeClusterInstances(req, cb) {
34
+ return this.request("DescribeClusterInstances", req, cb);
35
+ }
36
+ /**
37
+ * 查询 TKE 节点池列表
38
+ */
39
+ async DescribeNodePools(req, cb) {
40
+ return this.request("DescribeNodePools", req, cb);
41
+ }
42
+ }
43
+ exports.Client = Client;