tencentcloud-sdk-nodejs-tke 4.0.786 → 4.0.787
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/package.json +1 -1
- package/products.md +12 -12
- package/src/services/tke/index.ts +2 -0
- package/src/services/tke/v20220501/index.ts +6 -0
- package/src/services/tke/v20220501/tke_client.ts +76 -0
- package/src/services/tke/v20220501/tke_models.ts +795 -0
- package/tencentcloud/services/tke/index.d.ts +4 -0
- package/tencentcloud/services/tke/index.js +2 -0
- package/tencentcloud/services/tke/v20220501/index.d.ts +6 -0
- package/tencentcloud/services/tke/v20220501/index.js +9 -0
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +17 -0
- package/tencentcloud/services/tke/v20220501/tke_client.js +43 -0
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +753 -0
- package/tencentcloud/services/tke/v20220501/tke_models.js +18 -0
|
@@ -3,4 +3,8 @@ export declare const tke: {
|
|
|
3
3
|
Client: typeof import("./v20180525/tke_client").Client;
|
|
4
4
|
Models: typeof import("./v20180525/tke_models");
|
|
5
5
|
};
|
|
6
|
+
v20220501: {
|
|
7
|
+
Client: typeof import("./v20220501/tke_client").Client;
|
|
8
|
+
Models: typeof import("./v20220501/tke_models");
|
|
9
|
+
};
|
|
6
10
|
};
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tke = void 0;
|
|
4
4
|
const v20180525_1 = require("./v20180525");
|
|
5
|
+
const v20220501_1 = require("./v20220501");
|
|
5
6
|
exports.tke = {
|
|
6
7
|
v20180525: v20180525_1.v20180525,
|
|
8
|
+
v20220501: v20220501_1.v20220501,
|
|
7
9
|
};
|
|
@@ -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;
|