tencentcloud-sdk-nodejs-thpc 4.0.1052 → 4.1.2

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.
Files changed (40) hide show
  1. package/README.md +18 -4
  2. package/es/index.js +1 -0
  3. package/es/services/index.js +1 -0
  4. package/es/services/thpc/index.js +8 -0
  5. package/es/services/thpc/v20211109/index.js +6 -0
  6. package/es/services/thpc/v20211109/thpc_client.js +18 -0
  7. package/es/services/thpc/v20211109/thpc_models.js +0 -0
  8. package/es/services/thpc/v20220401/index.js +6 -0
  9. package/es/services/thpc/v20220401/thpc_client.js +54 -0
  10. package/es/services/thpc/v20220401/thpc_models.js +0 -0
  11. package/es/services/thpc/v20230321/index.js +6 -0
  12. package/es/services/thpc/v20230321/thpc_client.js +75 -0
  13. package/es/services/thpc/v20230321/thpc_models.js +0 -0
  14. package/package.json +24 -8
  15. package/tencentcloud/services/thpc/v20211109/index.js +2 -1
  16. package/tencentcloud/services/thpc/v20211109/thpc_client.js +2 -1
  17. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +2 -5
  18. package/tencentcloud/services/thpc/v20220401/index.js +2 -1
  19. package/tencentcloud/services/thpc/v20220401/thpc_client.js +2 -1
  20. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -8
  21. package/tencentcloud/services/thpc/v20230321/index.js +2 -1
  22. package/tencentcloud/services/thpc/v20230321/thpc_client.js +2 -1
  23. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +2 -12
  24. package/index.d.ts +0 -2
  25. package/index.js +0 -6
  26. package/prettier.config.js +0 -38
  27. package/src/index.ts +0 -1
  28. package/src/services/index.ts +0 -1
  29. package/src/services/thpc/index.ts +0 -9
  30. package/src/services/thpc/v20211109/index.ts +0 -6
  31. package/src/services/thpc/v20211109/thpc_client.ts +0 -96
  32. package/src/services/thpc/v20211109/thpc_models.ts +0 -596
  33. package/src/services/thpc/v20220401/index.ts +0 -6
  34. package/src/services/thpc/v20220401/thpc_client.ts +0 -259
  35. package/src/services/thpc/v20220401/thpc_models.ts +0 -1389
  36. package/src/services/thpc/v20230321/index.ts +0 -6
  37. package/src/services/thpc/v20230321/thpc_client.ts +0 -358
  38. package/src/services/thpc/v20230321/thpc_models.ts +0 -2209
  39. package/tsconfig.json +0 -33
  40. package/typings/index.d.ts +0 -2
package/README.md CHANGED
@@ -52,10 +52,24 @@ npm install tencentcloud-sdk-nodejs --save
52
52
 
53
53
  ## 通过源码包安装
54
54
 
55
- 1. 前往 [GitHub 仓库](https://github.com/tencentcloud/tencentcloud-sdk-nodejs) 或者 [Gitee 仓库](https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs) 下载源码压缩包。
56
- 2. 解压源码包到您项目合适的位置,例如 `sdk/tencentcloud-sdk-nodejs`。
57
- 3. 执行 `npm install ./sdk/tencentcloud-sdk-nodejs`。
58
- 4. 使用 `require("tencentcloud-sdk-nodejs")` 的方式引入 SDK,具体可参考示例。
55
+ 1. clone 代码到本地:
56
+ ```
57
+ git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
58
+ # 或者
59
+ git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
60
+ ```
61
+ 2. 在项目根目录执行以下命令完成构建:
62
+ ```
63
+ npm install && npm run build
64
+ ```
65
+ 3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
66
+ ```
67
+ npm pack
68
+ ```
69
+ 4. 安装包到你的项目里:
70
+ ```
71
+ npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
72
+ ```
59
73
 
60
74
  # 示例
61
75
 
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./services";
@@ -0,0 +1 @@
1
+ export { thpc } from "./thpc";
@@ -0,0 +1,8 @@
1
+ import { v20211109 } from "./v20211109";
2
+ import { v20220401 } from "./v20220401";
3
+ import { v20230321 } from "./v20230321";
4
+ export const thpc = {
5
+ v20211109: v20211109,
6
+ v20220401: v20220401,
7
+ v20230321: v20230321,
8
+ };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./thpc_models";
2
+ import { Client } from "./thpc_client";
3
+ export const v20211109 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1,18 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("thpc.tencentcloudapi.com", "2021-11-09", clientConfig);
5
+ }
6
+ async DeleteCluster(req, cb) {
7
+ return this.request("DeleteCluster", req, cb);
8
+ }
9
+ async DescribeClusters(req, cb) {
10
+ return this.request("DescribeClusters", req, cb);
11
+ }
12
+ async BindAutoScalingGroup(req, cb) {
13
+ return this.request("BindAutoScalingGroup", req, cb);
14
+ }
15
+ async CreateCluster(req, cb) {
16
+ return this.request("CreateCluster", req, cb);
17
+ }
18
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ import * as Models from "./thpc_models";
2
+ import { Client } from "./thpc_client";
3
+ export const v20220401 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1,54 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("thpc.tencentcloudapi.com", "2022-04-01", clientConfig);
5
+ }
6
+ async DescribeClusterStorageOption(req, cb) {
7
+ return this.request("DescribeClusterStorageOption", req, cb);
8
+ }
9
+ async DeleteNodes(req, cb) {
10
+ return this.request("DeleteNodes", req, cb);
11
+ }
12
+ async BindAutoScalingGroup(req, cb) {
13
+ return this.request("BindAutoScalingGroup", req, cb);
14
+ }
15
+ async CreateCluster(req, cb) {
16
+ return this.request("CreateCluster", req, cb);
17
+ }
18
+ async DeleteCluster(req, cb) {
19
+ return this.request("DeleteCluster", req, cb);
20
+ }
21
+ async SetAutoScalingConfiguration(req, cb) {
22
+ return this.request("SetAutoScalingConfiguration", req, cb);
23
+ }
24
+ async AddQueue(req, cb) {
25
+ return this.request("AddQueue", req, cb);
26
+ }
27
+ async DescribeNodes(req, cb) {
28
+ return this.request("DescribeNodes", req, cb);
29
+ }
30
+ async DeleteQueue(req, cb) {
31
+ return this.request("DeleteQueue", req, cb);
32
+ }
33
+ async DeleteClusterStorageOption(req, cb) {
34
+ return this.request("DeleteClusterStorageOption", req, cb);
35
+ }
36
+ async AddNodes(req, cb) {
37
+ return this.request("AddNodes", req, cb);
38
+ }
39
+ async DescribeAutoScalingConfiguration(req, cb) {
40
+ return this.request("DescribeAutoScalingConfiguration", req, cb);
41
+ }
42
+ async DescribeClusters(req, cb) {
43
+ return this.request("DescribeClusters", req, cb);
44
+ }
45
+ async AddClusterStorageOption(req, cb) {
46
+ return this.request("AddClusterStorageOption", req, cb);
47
+ }
48
+ async DescribeClusterActivities(req, cb) {
49
+ return this.request("DescribeClusterActivities", req, cb);
50
+ }
51
+ async DescribeQueues(req, cb) {
52
+ return this.request("DescribeQueues", req, cb);
53
+ }
54
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ import * as Models from "./thpc_models";
2
+ import { Client } from "./thpc_client";
3
+ export const v20230321 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };
@@ -0,0 +1,75 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ export class Client extends TencentCloudCommon.AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("thpc.tencentcloudapi.com", "2023-03-21", clientConfig);
5
+ }
6
+ async DeleteNodes(req, cb) {
7
+ return this.request("DeleteNodes", req, cb);
8
+ }
9
+ async TerminateWorkspaces(req, cb) {
10
+ return this.request("TerminateWorkspaces", req, cb);
11
+ }
12
+ async ModifyWorkspacesAttribute(req, cb) {
13
+ return this.request("ModifyWorkspacesAttribute", req, cb);
14
+ }
15
+ async CreateCluster(req, cb) {
16
+ return this.request("CreateCluster", req, cb);
17
+ }
18
+ async CreateWorkspaces(req, cb) {
19
+ return this.request("CreateWorkspaces", req, cb);
20
+ }
21
+ async DescribeQueues(req, cb) {
22
+ return this.request("DescribeQueues", req, cb);
23
+ }
24
+ async AddNodes(req, cb) {
25
+ return this.request("AddNodes", req, cb);
26
+ }
27
+ async DetachNodes(req, cb) {
28
+ return this.request("DetachNodes", req, cb);
29
+ }
30
+ async DeleteCluster(req, cb) {
31
+ return this.request("DeleteCluster", req, cb);
32
+ }
33
+ async DeleteClusterStorageOption(req, cb) {
34
+ return this.request("DeleteClusterStorageOption", req, cb);
35
+ }
36
+ async DescribeWorkspaces(req, cb) {
37
+ return this.request("DescribeWorkspaces", req, cb);
38
+ }
39
+ async DescribeNodes(req, cb) {
40
+ return this.request("DescribeNodes", req, cb);
41
+ }
42
+ async DescribeClusters(req, cb) {
43
+ return this.request("DescribeClusters", req, cb);
44
+ }
45
+ async SetAutoScalingConfiguration(req, cb) {
46
+ return this.request("SetAutoScalingConfiguration", req, cb);
47
+ }
48
+ async AddQueue(req, cb) {
49
+ return this.request("AddQueue", req, cb);
50
+ }
51
+ async DescribeInitNodeScripts(req, cb) {
52
+ return this.request("DescribeInitNodeScripts", req, cb);
53
+ }
54
+ async AttachNodes(req, cb) {
55
+ return this.request("AttachNodes", req, cb);
56
+ }
57
+ async DescribeAutoScalingConfiguration(req, cb) {
58
+ return this.request("DescribeAutoScalingConfiguration", req, cb);
59
+ }
60
+ async DescribeClusterActivities(req, cb) {
61
+ return this.request("DescribeClusterActivities", req, cb);
62
+ }
63
+ async DescribeClusterStorageOption(req, cb) {
64
+ return this.request("DescribeClusterStorageOption", req, cb);
65
+ }
66
+ async ModifyInitNodeScripts(req, cb) {
67
+ return this.request("ModifyInitNodeScripts", req, cb);
68
+ }
69
+ async AddClusterStorageOption(req, cb) {
70
+ return this.request("AddClusterStorageOption", req, cb);
71
+ }
72
+ async DeleteQueue(req, cb) {
73
+ return this.request("DeleteQueue", req, cb);
74
+ }
75
+ }
File without changes
package/package.json CHANGED
@@ -1,16 +1,25 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-thpc",
3
- "version": "4.0.1052",
4
- "description": "Tencent Cloud API NODEJS SDK",
5
- "main": "tencentcloud/index.js",
3
+ "version": "4.1.2",
4
+ "description": "腾讯云 API NODEJS SDK",
5
+ "main": "./tencentcloud/index.js",
6
+ "module": "./es/index.js",
7
+ "types": "./tencentcloud/index.d.ts",
6
8
  "scripts": {
7
9
  "test": "mocha -t 10000",
8
- "build": "tsc",
9
- "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"
10
+ "build": "concurrently 'npm:build:cjs' 'npm:build:es'",
11
+ "build:cjs": "tsc -p tsconfig.json",
12
+ "build:es": "tsc -p tsconfig.es.json",
13
+ "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
14
+ "clean": "rimraf tencentcloud es"
10
15
  },
11
16
  "engines": {
12
17
  "node": ">=10"
13
18
  },
19
+ "files": [
20
+ "tencentcloud",
21
+ "es"
22
+ ],
14
23
  "keywords": [
15
24
  "tencentcloudapi",
16
25
  "tencentcloud",
@@ -22,7 +31,7 @@
22
31
  "author": "tencentcloudapi",
23
32
  "license": "Apache-2.0",
24
33
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
34
+ "tencentcloud-sdk-nodejs-common": "*",
26
35
  "tslib": "1.13.0"
27
36
  },
28
37
  "directories": {
@@ -35,14 +44,21 @@
35
44
  },
36
45
  "devDependencies": {
37
46
  "@types/form-data": "^2.5.0",
47
+ "@types/json-bigint": "^1.0.1",
38
48
  "@types/node": "^14.0.26",
39
49
  "@types/node-fetch": "^2.5.7",
50
+ "@types/uuid": "^9.0.8",
40
51
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
52
  "@typescript-eslint/parser": "^2.34.0",
53
+ "babel-eslint": "^10.0.2",
42
54
  "chai": "^4.2.0",
55
+ "concurrently": "^6.5.1",
43
56
  "eslint": "^6.8.0",
44
- "mocha": "^8.1.1",
57
+ "eslint-plugin-react": "^7.17.0",
58
+ "mocha": "^8.4.0",
59
+ "prettier": "^2.3.0",
60
+ "rimraf": "^5.0.10",
45
61
  "ts-node": "^8.10.2",
46
62
  "typescript": "^3.9.7"
47
63
  }
48
- }
64
+ }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.v20211109 = void 0;
4
- const Models = require("./thpc_models");
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./thpc_models"));
5
6
  const thpc_client_1 = require("./thpc_client");
6
7
  exports.v20211109 = {
7
8
  Client: thpc_client_1.Client,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  /* eslint-disable @typescript-eslint/no-unused-vars */
5
6
  /*
6
7
  * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
@@ -18,7 +19,7 @@ exports.Client = void 0;
18
19
  * specific language governing permissions and limitations
19
20
  * under the License.
20
21
  */
21
- const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
22
23
  /**
23
24
  * thpc client
24
25
  * @class
@@ -263,7 +263,6 @@ export interface Tag {
263
263
  export interface CreateClusterResponse {
264
264
  /**
265
265
  * 集群ID。
266
- 注意:此字段可能返回 null,表示取不到有效值。
267
266
  */
268
267
  ClusterId?: string;
269
268
  /**
@@ -286,9 +285,8 @@ export interface BindAutoScalingGroupResponse {
286
285
  export interface ManagerNodeOverview {
287
286
  /**
288
287
  * 管控节点ID。
289
- 注意:此字段可能返回 null,表示取不到有效值。
290
288
  */
291
- NodeId: string;
289
+ NodeId?: string;
292
290
  }
293
291
  /**
294
292
  * 管控节点信息
@@ -338,9 +336,8 @@ export interface DeleteClusterRequest {
338
336
  export interface ComputeNodeOverview {
339
337
  /**
340
338
  * 计算节点ID。
341
- 注意:此字段可能返回 null,表示取不到有效值。
342
339
  */
343
- NodeId: string;
340
+ NodeId?: string;
344
341
  }
345
342
  /**
346
343
  * 描述了操作系统所在块设备即系统盘的信息
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.v20220401 = void 0;
4
- const Models = require("./thpc_models");
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./thpc_models"));
5
6
  const thpc_client_1 = require("./thpc_client");
6
7
  exports.v20220401 = {
7
8
  Client: thpc_client_1.Client,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  /* eslint-disable @typescript-eslint/no-unused-vars */
5
6
  /*
6
7
  * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
@@ -18,7 +19,7 @@ exports.Client = void 0;
18
19
  * specific language governing permissions and limitations
19
20
  * under the License.
20
21
  */
21
- const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
22
23
  /**
23
24
  * thpc client
24
25
  * @class
@@ -372,7 +372,6 @@ export interface ClusterActivity {
372
372
  ActivityStatus?: string;
373
373
  /**
374
374
  * 集群活动状态码。
375
- 注意:此字段可能返回 null,表示取不到有效值。
376
375
  */
377
376
  ActivityStatusCode?: string;
378
377
  /**
@@ -394,12 +393,10 @@ export interface ClusterActivity {
394
393
  RelatedNodeActivitySet?: Array<NodeActivity>;
395
394
  /**
396
395
  * 集群活动开始时间。
397
- 注意:此字段可能返回 null,表示取不到有效值。
398
396
  */
399
397
  StartTime?: string;
400
398
  /**
401
399
  * 集群活动结束时间。
402
- 注意:此字段可能返回 null,表示取不到有效值。
403
400
  */
404
401
  EndTime?: string;
405
402
  }
@@ -409,7 +406,6 @@ export interface ClusterActivity {
409
406
  export interface CreateClusterResponse {
410
407
  /**
411
408
  * 集群ID。
412
- 注意:此字段可能返回 null,表示取不到有效值。
413
409
  */
414
410
  ClusterId?: string;
415
411
  /**
@@ -708,9 +704,8 @@ export interface BindAutoScalingGroupResponse {
708
704
  export interface ManagerNodeOverview {
709
705
  /**
710
706
  * 管控节点ID。
711
- 注意:此字段可能返回 null,表示取不到有效值。
712
707
  */
713
- NodeId: string;
708
+ NodeId?: string;
714
709
  }
715
710
  /**
716
711
  * 管控节点信息
@@ -760,9 +755,8 @@ export interface DeleteClusterRequest {
760
755
  export interface ComputeNodeOverview {
761
756
  /**
762
757
  * 计算节点ID。
763
- 注意:此字段可能返回 null,表示取不到有效值。
764
758
  */
765
- NodeId: string;
759
+ NodeId?: string;
766
760
  }
767
761
  /**
768
762
  * 描述了操作系统所在块设备即系统盘的信息
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.v20230321 = void 0;
4
- const Models = require("./thpc_models");
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./thpc_models"));
5
6
  const thpc_client_1 = require("./thpc_client");
6
7
  exports.v20230321 = {
7
8
  Client: thpc_client_1.Client,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Client = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  /* eslint-disable @typescript-eslint/no-unused-vars */
5
6
  /*
6
7
  * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
@@ -18,7 +19,7 @@ exports.Client = void 0;
18
19
  * specific language governing permissions and limitations
19
20
  * under the License.
20
21
  */
21
- const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
22
23
  /**
23
24
  * thpc client
24
25
  * @class
@@ -28,7 +28,6 @@ export interface ClusterOverview {
28
28
  SchedulerType?: string;
29
29
  /**
30
30
  * 集群调度器版本。
31
- 注意:此字段可能返回 null,表示取不到有效值。
32
31
  */
33
32
  SchedulerVersion?: string;
34
33
  /**
@@ -225,9 +224,8 @@ export interface SpaceVirtualPrivateCloud {
225
224
  export interface ManagerNodeOverview {
226
225
  /**
227
226
  * 管控节点ID。
228
- 注意:此字段可能返回 null,表示取不到有效值。
229
227
  */
230
- NodeId: string;
228
+ NodeId?: string;
231
229
  }
232
230
  /**
233
231
  * DeleteCluster请求参数结构体
@@ -701,12 +699,10 @@ export interface ExpansionNodeConfigOverview {
701
699
  export interface GooseFSxOptionOverview {
702
700
  /**
703
701
  * 文件系统master的ip和端口列表。
704
- 注意:此字段可能返回 null,表示取不到有效值。
705
702
  */
706
703
  Masters?: Array<string>;
707
704
  /**
708
705
  * 文件系统的本地挂载路径。GooseFSx目前只支持挂载在/goosefsx/{文件系统ID}_proxy/目录下。
709
- 注意:此字段可能返回 null,表示取不到有效值。
710
706
  */
711
707
  LocalPath?: string;
712
708
  }
@@ -803,7 +799,6 @@ export interface DescribeClusterActivitiesResponse {
803
799
  export interface DescribeInitNodeScriptsResponse {
804
800
  /**
805
801
  * 节点初始化脚本列表。
806
- 注意:此字段可能返回 null,表示取不到有效值。
807
802
  */
808
803
  InitNodeScriptSet?: Array<NodeScript>;
809
804
  /**
@@ -909,7 +904,6 @@ export interface ClusterActivity {
909
904
  ActivityStatus?: string;
910
905
  /**
911
906
  * 集群活动状态码。
912
- 注意:此字段可能返回 null,表示取不到有效值。
913
907
  */
914
908
  ActivityStatusCode?: string;
915
909
  /**
@@ -931,12 +925,10 @@ export interface ClusterActivity {
931
925
  RelatedNodeActivitySet?: Array<NodeActivity>;
932
926
  /**
933
927
  * 集群活动开始时间。
934
- 注意:此字段可能返回 null,表示取不到有效值。
935
928
  */
936
929
  StartTime?: string;
937
930
  /**
938
931
  * 集群活动结束时间。
939
- 注意:此字段可能返回 null,表示取不到有效值。
940
932
  */
941
933
  EndTime?: string;
942
934
  }
@@ -963,7 +955,6 @@ export interface DescribeQueuesResponse {
963
955
  export interface CreateClusterResponse {
964
956
  /**
965
957
  * 集群ID。
966
- 注意:此字段可能返回 null,表示取不到有效值。
967
958
  */
968
959
  ClusterId?: string;
969
960
  /**
@@ -1757,9 +1748,8 @@ export interface SpaceSystemDisk {
1757
1748
  export interface ComputeNodeOverview {
1758
1749
  /**
1759
1750
  * 计算节点ID。
1760
- 注意:此字段可能返回 null,表示取不到有效值。
1761
1751
  */
1762
- NodeId: string;
1752
+ NodeId?: string;
1763
1753
  }
1764
1754
  /**
1765
1755
  * 扩容队列配置。
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import * as tencentcloud from './tencentcloud';
2
- export default tencentcloud;
package/index.js DELETED
@@ -1,6 +0,0 @@
1
- 'use strict'
2
- Object.defineProperty(exports, '__esModule', { value: true })
3
- const tslib_1 = require('tslib')
4
- const tencentcloud = tslib_1.__importStar(require('./tencentcloud'))
5
- exports.default = tencentcloud
6
- //# sourceMappingURL=index.js.map
@@ -1,38 +0,0 @@
1
- // prettier.config.js
2
- module.exports = {
3
- // 一行最多 100 字符
4
- printWidth: 100,
5
- // 使用 4 个空格缩进
6
- tabWidth: 2,
7
- // 不使用缩进符,而使用空格
8
- useTabs: false,
9
- // 行尾需要有分号
10
- semi: false,
11
- // 使用单引号
12
- singleQuote: false,
13
- // 对象的 key 仅在必要时用引号
14
- quoteProps: "as-needed",
15
- // jsx 不使用单引号,而使用双引号
16
- jsxSingleQuote: false,
17
- // 末尾不需要逗号
18
- trailingComma: "es5",
19
- // 大括号内的首尾需要空格
20
- bracketSpacing: true,
21
- // jsx 标签的反尖括号需要换行
22
- jsxBracketSameLine: false,
23
- // 箭头函数,只有一个参数的时候,也需要括号
24
- arrowParens: "always",
25
- // 每个文件格式化的范围是文件的全部内容
26
- rangeStart: 0,
27
- rangeEnd: Infinity,
28
- // 不需要写文件开头的 @prettier
29
- requirePragma: false,
30
- // 不需要自动在文件开头插入 @prettier
31
- insertPragma: false,
32
- // 使用默认的折行标准
33
- proseWrap: "preserve",
34
- // 根据显示样式决定 html 要不要折行
35
- htmlWhitespaceSensitivity: "css",
36
- // 换行符使用 lf
37
- endOfLine: "lf",
38
- }
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./services"
@@ -1 +0,0 @@
1
- export { thpc } from "./thpc"
@@ -1,9 +0,0 @@
1
- import { v20211109 } from "./v20211109"
2
- import { v20220401 } from "./v20220401"
3
- import { v20230321 } from "./v20230321"
4
-
5
- export const thpc = {
6
- v20211109: v20211109,
7
- v20220401: v20220401,
8
- v20230321: v20230321,
9
- }
@@ -1,6 +0,0 @@
1
- import * as Models from "./thpc_models"
2
- import { Client } from "./thpc_client"
3
- export const v20211109 = {
4
- Client: Client,
5
- Models: Models,
6
- }