tencentcloud-sdk-nodejs-thpc 4.1.2 → 4.1.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-thpc",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -10,6 +10,7 @@
10
10
  "build": "concurrently 'npm:build:cjs' 'npm:build:es'",
11
11
  "build:cjs": "tsc -p tsconfig.json",
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
+ "build:slim": "node ./scripts/build_slim.js",
13
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
14
15
  "clean": "rimraf tencentcloud es"
15
16
  },
@@ -53,6 +54,7 @@
53
54
  "babel-eslint": "^10.0.2",
54
55
  "chai": "^4.2.0",
55
56
  "concurrently": "^6.5.1",
57
+ "esbuild": "^0.25.0",
56
58
  "eslint": "^6.8.0",
57
59
  "eslint-plugin-react": "^7.17.0",
58
60
  "mocha": "^8.4.0",
@@ -95,7 +95,6 @@ export interface ClusterOverview {
95
95
  export interface QueueOverview {
96
96
  /**
97
97
  * 队列名称。
98
- 注意:此字段可能返回 null,表示取不到有效值。
99
98
  */
100
99
  QueueName?: string;
101
100
  }
@@ -107,6 +107,10 @@ export interface NodeOverview {
107
107
  注意:此字段可能返回 null,表示取不到有效值。
108
108
  */
109
109
  NodeId?: string;
110
+ /**
111
+ * 节点的工作状态
112
+ */
113
+ NodeAllocateState?: string;
110
114
  }
111
115
  /**
112
116
  * DescribeInitNodeScripts请求参数结构体
@@ -450,12 +454,10 @@ export interface DescribeClustersRequest {
450
454
  export interface TagSpecification {
451
455
  /**
452
456
  * 标签绑定的资源类型
453
- 注意:此字段可能返回 null,表示取不到有效值。
454
457
  */
455
458
  ResourceType: string;
456
459
  /**
457
460
  * 标签对列表
458
- 注意:此字段可能返回 null,表示取不到有效值。
459
461
  */
460
462
  Tags: Array<Tag>;
461
463
  }
@@ -541,7 +543,6 @@ export interface QueueConfigOverview {
541
543
  ExpansionNodeConfigs?: Array<ExpansionNodeConfigOverview>;
542
544
  /**
543
545
  * 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
544
- 注意:此字段可能返回 null,表示取不到有效值。
545
546
  */
546
547
  DesiredIdleNodeCapacity?: number;
547
548
  /**
@@ -551,19 +552,16 @@ export interface QueueConfigOverview {
551
552
  /**
552
553
  * 扩容比例。默认值:100。取值范围:1~100。
553
554
  如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
554
- 注意:此字段可能返回 null,表示取不到有效值。
555
555
  */
556
556
  ScaleOutRatio?: number;
557
557
  /**
558
558
  * 比例扩容阈值。默认值:0。取值范围:0~200。
559
559
  当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
560
560
  此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
561
- 注意:此字段可能返回 null,表示取不到有效值。
562
561
  */
563
562
  ScaleOutNodeThreshold?: number;
564
563
  /**
565
564
  * 每轮扩容最大节点个数。
566
- 注意:此字段可能返回 null,表示取不到有效值。
567
565
  */
568
566
  MaxNodesPerCycle?: number;
569
567
  /**
@@ -572,7 +570,6 @@ export interface QueueConfigOverview {
572
570
 
573
571
  - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
574
572
  - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
575
- 注意:此字段可能返回 null,表示取不到有效值。
576
573
  */
577
574
  ScaleUpMemRatio?: number;
578
575
  }
@@ -639,7 +636,6 @@ export interface DeleteClusterStorageOptionRequest {
639
636
  export interface RunMonitorServiceEnabled {
640
637
  /**
641
638
  * 是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
642
- 注意:此字段可能返回 null,表示取不到有效值。
643
639
  */
644
640
  Enabled?: boolean;
645
641
  }
@@ -836,7 +832,6 @@ export interface DataDisk {
836
832
  export interface QueueOverview {
837
833
  /**
838
834
  * 队列名称。
839
- 注意:此字段可能返回 null,表示取不到有效值。
840
835
  */
841
836
  QueueName?: string;
842
837
  }
@@ -859,17 +854,14 @@ export interface LoginSettings {
859
854
  export interface EnhancedService {
860
855
  /**
861
856
  * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
862
- 注意:此字段可能返回 null,表示取不到有效值。
863
857
  */
864
858
  SecurityService?: RunSecurityServiceEnabled;
865
859
  /**
866
860
  * 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
867
- 注意:此字段可能返回 null,表示取不到有效值。
868
861
  */
869
862
  MonitorService?: RunMonitorServiceEnabled;
870
863
  /**
871
864
  * 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
872
- 注意:此字段可能返回 null,表示取不到有效值。
873
865
  */
874
866
  AutomationService?: RunAutomationServiceEnabled;
875
867
  }
@@ -1127,12 +1119,10 @@ export interface NodeScript {
1127
1119
  /**
1128
1120
  * 节点执行脚本获取地址。
1129
1121
  目前仅支持cos地址。地址最大长度:255。
1130
- 注意:此字段可能返回 null,表示取不到有效值。
1131
1122
  */
1132
1123
  ScriptPath: string;
1133
1124
  /**
1134
1125
  * 脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
1135
- 注意:此字段可能返回 null,表示取不到有效值。
1136
1126
  */
1137
1127
  Timeout?: number;
1138
1128
  }
@@ -2017,12 +2007,10 @@ export interface GooseFSxOption {
2017
2007
  export interface SpacePlacement {
2018
2008
  /**
2019
2009
  * 可用区
2020
- 注意:此字段可能返回 null,表示取不到有效值。
2021
2010
  */
2022
2011
  Zone: string;
2023
2012
  /**
2024
2013
  * 项目,默认是0
2025
- 注意:此字段可能返回 null,表示取不到有效值。
2026
2014
  */
2027
2015
  ProjectId?: number;
2028
2016
  }