tencentcloud-sdk-nodejs-tke 4.1.117 → 4.1.126

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/README.md CHANGED
@@ -62,6 +62,8 @@ npm install tencentcloud-sdk-slim-nodejs --save
62
62
 
63
63
  1. clone 代码到本地:
64
64
  ```
65
+ git clone https://cnb.cool/tencent/cloud/api/sdk/tencentcloud-sdk-nodejs
66
+ # 或者
65
67
  git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
66
68
  # 或者
67
69
  git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
@@ -135,7 +137,7 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
135
137
  // ...
136
138
  ```
137
139
 
138
- 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts)。
140
+ 实例化 `Client` 的入参支持 `clientConfig`,数据结构和说明详见 [ClientConfig](src/common/interface.ts)。
139
141
 
140
142
  ## Common Client
141
143
 
@@ -143,17 +145,17 @@ const CvmClient = tencentcloud.cvm.v20170312.Client
143
145
 
144
146
  **注意,您必须明确知道您调用的接口所需参数,否则可能会调用失败。**
145
147
 
146
- 详细使用请参阅示例:[使用 Common Client 进行调用](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples/common)
148
+ 详细使用请参阅示例:[使用 Common Client 进行调用](examples/common)
147
149
 
148
150
  ## 更多示例
149
151
 
150
- 请参考 [examples](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/tree/master/examples) 目录。
152
+ 请参考 [examples](examples) 目录。
151
153
 
152
154
  # 相关配置
153
155
 
154
156
  ## 代理
155
157
 
156
- 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](https://github.com/TencentCloud/tencentcloud-sdk-nodejs/blob/master/src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
158
+ 如果是有代理的环境下,需要配置代理,请在创建 Client 时传入 [profile.httpProfile.proxy](src/common/interface.ts#L78) 参数,或设置系统环境变量 `http_proxy` ,否则可能无法正常调用,抛出连接超时的异常。
157
159
 
158
160
  # 凭证管理
159
161
 
@@ -1,6 +1,6 @@
1
- import { v20220501 } from "./v20220501";
2
1
  import { v20180525 } from "./v20180525";
2
+ import { v20220501 } from "./v20220501";
3
3
  export const tke = {
4
- v20220501: v20220501,
5
4
  v20180525: v20180525,
5
+ v20220501: v20220501,
6
6
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tke",
3
- "version": "4.1.117",
3
+ "version": "4.1.126",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
13
  "build:slim": "node ./scripts/build_slim.js",
14
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
- "clean": "rimraf tencentcloud es"
15
+ "clean": "rimraf tencentcloud es",
16
+ "test:common": "vitest run"
16
17
  },
17
18
  "engines": {
18
19
  "node": ">=10"
@@ -44,9 +45,9 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
+ "@types/ini": "^4.1.1",
48
49
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
50
+ "@types/node": "^18.0.0",
50
51
  "@types/node-fetch": "^2.5.7",
51
52
  "@types/uuid": "^9.0.8",
52
53
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +62,7 @@
61
62
  "prettier": "^2.3.0",
62
63
  "rimraf": "^5.0.10",
63
64
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
65
+ "typescript": "^5.9.2",
66
+ "vitest": "2.1.9"
65
67
  }
66
68
  }
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.tke = void 0;
3
4
  var tke_1 = require("./tke");
4
5
  Object.defineProperty(exports, "tke", { enumerable: true, get: function () { return tke_1.tke; } });
@@ -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
  };
@@ -2117,7 +2117,7 @@ export interface ModifyClusterAttributeResponse {
2117
2117
  /**
2118
2118
  * DescribeOSImages请求参数结构体
2119
2119
  */
2120
- export declare type DescribeOSImagesRequest = null;
2120
+ export type DescribeOSImagesRequest = null;
2121
2121
  /**
2122
2122
  * CreateEksLogConfig请求参数结构体
2123
2123
  */
@@ -2781,7 +2781,7 @@ export interface DescribeClusterNodePoolsRequest {
2781
2781
  /**
2782
2782
  * DescribeClusterRouteTables请求参数结构体
2783
2783
  */
2784
- export declare type DescribeClusterRouteTablesRequest = null;
2784
+ export type DescribeClusterRouteTablesRequest = null;
2785
2785
  /**
2786
2786
  * DeleteClusterRoute请求参数结构体
2787
2787
  */
@@ -2921,7 +2921,7 @@ export interface DescribeClusterReleaseHistoryResponse {
2921
2921
  /**
2922
2922
  * DescribeImages请求参数结构体
2923
2923
  */
2924
- export declare type DescribeImagesRequest = null;
2924
+ export type DescribeImagesRequest = null;
2925
2925
  /**
2926
2926
  * UninstallEdgeLogAgent返回参数结构体
2927
2927
  */
@@ -3750,6 +3750,8 @@ export interface BackupStorageLocation {
3750
3750
  Path?: string;
3751
3751
  /**
3752
3752
  * 存储仓库状态
3753
+ - Available: 可用
3754
+ - Unavailable: 不可用
3753
3755
  */
3754
3756
  State?: string;
3755
3757
  /**
@@ -5140,7 +5142,7 @@ export interface RegionInstance {
5140
5142
  */
5141
5143
  RegionId?: number;
5142
5144
  /**
5143
- * 地域状态
5145
+ * 地域状态\n- alluser: 所有用户可见
5144
5146
  */
5145
5147
  Status?: string;
5146
5148
  /**
@@ -6030,6 +6032,10 @@ export interface RemoveNodeFromNodePoolRequest {
6030
6032
  export interface DescribeEncryptionStatusResponse {
6031
6033
  /**
6032
6034
  * 加密状态
6035
+ - Opening: 开启中
6036
+ - Opened: 已开启
6037
+ - Closing: 关闭中
6038
+ - Closed: 已关闭
6033
6039
  */
6034
6040
  Status?: string;
6035
6041
  /**
@@ -6166,7 +6172,7 @@ export interface Filter {
6166
6172
  */
6167
6173
  export interface KMSConfiguration {
6168
6174
  /**
6169
- * kms id
6175
+ * kms id,可以在密钥管理控制台获取
6170
6176
  */
6171
6177
  KeyId?: string;
6172
6178
  /**
@@ -6674,7 +6680,10 @@ export interface ClusterAdvancedSettings {
6674
6680
  */
6675
6681
  KubeProxyMode?: string;
6676
6682
  /**
6677
- * 集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR
6683
+ * 集群网络类型,默认为GR。
6684
+ - GR: 全局路由
6685
+ - VPC-CNI: VPC-CNI模式
6686
+ - CiliumOverlay: CiliumOverlay模式
6678
6687
  */
6679
6688
  NetworkType?: string;
6680
6689
  /**
@@ -7447,7 +7456,7 @@ export interface VersionInstance {
7447
7456
  */
7448
7457
  Version?: string;
7449
7458
  /**
7450
- * Remark
7459
+ * 备注
7451
7460
  */
7452
7461
  Remark?: string;
7453
7462
  }
@@ -10229,7 +10238,7 @@ export interface Release {
10229
10238
  /**
10230
10239
  * DescribeEKSContainerInstanceRegions请求参数结构体
10231
10240
  */
10232
- export declare type DescribeEKSContainerInstanceRegionsRequest = null;
10241
+ export type DescribeEKSContainerInstanceRegionsRequest = null;
10233
10242
  /**
10234
10243
  * DescribeECMInstances请求参数结构体
10235
10244
  */
@@ -11102,7 +11111,7 @@ export interface DescribeEdgeCVMInstancesResponse {
11102
11111
  /**
11103
11112
  * DescribeRegions请求参数结构体
11104
11113
  */
11105
- export declare type DescribeRegionsRequest = null;
11114
+ export type DescribeRegionsRequest = null;
11106
11115
  /**
11107
11116
  * ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体
11108
11117
  */
@@ -11521,7 +11530,7 @@ export interface DescribePrometheusClusterAgentsResponse {
11521
11530
  /**
11522
11531
  * DescribeVersions请求参数结构体
11523
11532
  */
11524
- export declare type DescribeVersionsRequest = null;
11533
+ export type DescribeVersionsRequest = null;
11525
11534
  /**
11526
11535
  * DescribePrometheusTemp请求参数结构体
11527
11536
  */
@@ -1653,7 +1653,7 @@ export interface StopMachinesResponse {
1653
1653
  /**
1654
1654
  * DescribeHealthCheckTemplate请求参数结构体
1655
1655
  */
1656
- export declare type DescribeHealthCheckTemplateRequest = null;
1656
+ export type DescribeHealthCheckTemplateRequest = null;
1657
1657
  /**
1658
1658
  * DescribeHealthCheckPolicies返回参数结构体
1659
1659
  */