tencentcloud-sdk-nodejs-tke 4.0.781 → 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.
@@ -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
  };
@@ -367,7 +367,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
367
367
  */
368
368
  DescribeAddonValues(req: DescribeAddonValuesRequest, cb?: (error: string, rep: DescribeAddonValuesResponse) => void): Promise<DescribeAddonValuesResponse>;
369
369
  /**
370
- * 给GR集群增加可用的ClusterCIDR
370
+ * 给GR集群增加可用的ClusterCIDR(开白才能使用此功能,如需要请联系我们)
371
371
  */
372
372
  AddClusterCIDR(req: AddClusterCIDRRequest, cb?: (error: string, rep: AddClusterCIDRResponse) => void): Promise<AddClusterCIDRResponse>;
373
373
  /**
@@ -568,7 +568,7 @@ class Client extends TencentCloudCommon.AbstractClient {
568
568
  return this.request("DescribeAddonValues", req, cb);
569
569
  }
570
570
  /**
571
- * 给GR集群增加可用的ClusterCIDR
571
+ * 给GR集群增加可用的ClusterCIDR(开白才能使用此功能,如需要请联系我们)
572
572
  */
573
573
  async AddClusterCIDR(req, cb) {
574
574
  return this.request("AddClusterCIDR", req, cb);
@@ -7783,22 +7783,22 @@ export interface DescribeClusterPendingReleasesResponse {
7783
7783
  * 正在安装中应用列表
7784
7784
  注意:此字段可能返回 null,表示取不到有效值。
7785
7785
  */
7786
- ReleaseSet: Array<PendingRelease>;
7786
+ ReleaseSet?: Array<PendingRelease>;
7787
7787
  /**
7788
7788
  * 每页返回数量限制
7789
7789
  注意:此字段可能返回 null,表示取不到有效值。
7790
7790
  */
7791
- Limit: number;
7791
+ Limit?: number;
7792
7792
  /**
7793
7793
  * 页偏移量
7794
7794
  注意:此字段可能返回 null,表示取不到有效值。
7795
7795
  */
7796
- Offset: number;
7796
+ Offset?: number;
7797
7797
  /**
7798
7798
  * 总数量
7799
7799
  注意:此字段可能返回 null,表示取不到有效值。
7800
7800
  */
7801
- Total: number;
7801
+ Total?: number;
7802
7802
  /**
7803
7803
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7804
7804
  */
@@ -11807,7 +11807,7 @@ export interface ForwardApplicationRequestV3Response {
11807
11807
  /**
11808
11808
  * 请求集群addon后返回的数据
11809
11809
  */
11810
- ResponseBody: string;
11810
+ ResponseBody?: string;
11811
11811
  /**
11812
11812
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11813
11813
  */
@@ -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;