tencentcloud-sdk-nodejs-thpc 4.1.1 → 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.1",
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
  }
@@ -372,7 +371,6 @@ export interface ClusterActivity {
372
371
  ActivityStatus?: string;
373
372
  /**
374
373
  * 集群活动状态码。
375
- 注意:此字段可能返回 null,表示取不到有效值。
376
374
  */
377
375
  ActivityStatusCode?: string;
378
376
  /**
@@ -394,12 +392,10 @@ export interface ClusterActivity {
394
392
  RelatedNodeActivitySet?: Array<NodeActivity>;
395
393
  /**
396
394
  * 集群活动开始时间。
397
- 注意:此字段可能返回 null,表示取不到有效值。
398
395
  */
399
396
  StartTime?: string;
400
397
  /**
401
398
  * 集群活动结束时间。
402
- 注意:此字段可能返回 null,表示取不到有效值。
403
399
  */
404
400
  EndTime?: string;
405
401
  }
@@ -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
  /**
@@ -108,6 +107,10 @@ export interface NodeOverview {
108
107
  注意:此字段可能返回 null,表示取不到有效值。
109
108
  */
110
109
  NodeId?: string;
110
+ /**
111
+ * 节点的工作状态
112
+ */
113
+ NodeAllocateState?: string;
111
114
  }
112
115
  /**
113
116
  * DescribeInitNodeScripts请求参数结构体
@@ -451,12 +454,10 @@ export interface DescribeClustersRequest {
451
454
  export interface TagSpecification {
452
455
  /**
453
456
  * 标签绑定的资源类型
454
- 注意:此字段可能返回 null,表示取不到有效值。
455
457
  */
456
458
  ResourceType: string;
457
459
  /**
458
460
  * 标签对列表
459
- 注意:此字段可能返回 null,表示取不到有效值。
460
461
  */
461
462
  Tags: Array<Tag>;
462
463
  }
@@ -542,7 +543,6 @@ export interface QueueConfigOverview {
542
543
  ExpansionNodeConfigs?: Array<ExpansionNodeConfigOverview>;
543
544
  /**
544
545
  * 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
545
- 注意:此字段可能返回 null,表示取不到有效值。
546
546
  */
547
547
  DesiredIdleNodeCapacity?: number;
548
548
  /**
@@ -552,19 +552,16 @@ export interface QueueConfigOverview {
552
552
  /**
553
553
  * 扩容比例。默认值:100。取值范围:1~100。
554
554
  如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
555
- 注意:此字段可能返回 null,表示取不到有效值。
556
555
  */
557
556
  ScaleOutRatio?: number;
558
557
  /**
559
558
  * 比例扩容阈值。默认值:0。取值范围:0~200。
560
559
  当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
561
560
  此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
562
- 注意:此字段可能返回 null,表示取不到有效值。
563
561
  */
564
562
  ScaleOutNodeThreshold?: number;
565
563
  /**
566
564
  * 每轮扩容最大节点个数。
567
- 注意:此字段可能返回 null,表示取不到有效值。
568
565
  */
569
566
  MaxNodesPerCycle?: number;
570
567
  /**
@@ -573,7 +570,6 @@ export interface QueueConfigOverview {
573
570
 
574
571
  - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
575
572
  - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
576
- 注意:此字段可能返回 null,表示取不到有效值。
577
573
  */
578
574
  ScaleUpMemRatio?: number;
579
575
  }
@@ -640,7 +636,6 @@ export interface DeleteClusterStorageOptionRequest {
640
636
  export interface RunMonitorServiceEnabled {
641
637
  /**
642
638
  * 是否开启[腾讯云可观测平台](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启腾讯云可观测平台服务</li><br><li>FALSE:表示不开启腾讯云可观测平台服务</li><br><br>默认取值:TRUE。
643
- 注意:此字段可能返回 null,表示取不到有效值。
644
639
  */
645
640
  Enabled?: boolean;
646
641
  }
@@ -700,12 +695,10 @@ export interface ExpansionNodeConfigOverview {
700
695
  export interface GooseFSxOptionOverview {
701
696
  /**
702
697
  * 文件系统master的ip和端口列表。
703
- 注意:此字段可能返回 null,表示取不到有效值。
704
698
  */
705
699
  Masters?: Array<string>;
706
700
  /**
707
701
  * 文件系统的本地挂载路径。GooseFSx目前只支持挂载在/goosefsx/{文件系统ID}_proxy/目录下。
708
- 注意:此字段可能返回 null,表示取不到有效值。
709
702
  */
710
703
  LocalPath?: string;
711
704
  }
@@ -839,7 +832,6 @@ export interface DataDisk {
839
832
  export interface QueueOverview {
840
833
  /**
841
834
  * 队列名称。
842
- 注意:此字段可能返回 null,表示取不到有效值。
843
835
  */
844
836
  QueueName?: string;
845
837
  }
@@ -862,17 +854,14 @@ export interface LoginSettings {
862
854
  export interface EnhancedService {
863
855
  /**
864
856
  * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
865
- 注意:此字段可能返回 null,表示取不到有效值。
866
857
  */
867
858
  SecurityService?: RunSecurityServiceEnabled;
868
859
  /**
869
860
  * 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
870
- 注意:此字段可能返回 null,表示取不到有效值。
871
861
  */
872
862
  MonitorService?: RunMonitorServiceEnabled;
873
863
  /**
874
864
  * 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
875
- 注意:此字段可能返回 null,表示取不到有效值。
876
865
  */
877
866
  AutomationService?: RunAutomationServiceEnabled;
878
867
  }
@@ -907,7 +896,6 @@ export interface ClusterActivity {
907
896
  ActivityStatus?: string;
908
897
  /**
909
898
  * 集群活动状态码。
910
- 注意:此字段可能返回 null,表示取不到有效值。
911
899
  */
912
900
  ActivityStatusCode?: string;
913
901
  /**
@@ -929,12 +917,10 @@ export interface ClusterActivity {
929
917
  RelatedNodeActivitySet?: Array<NodeActivity>;
930
918
  /**
931
919
  * 集群活动开始时间。
932
- 注意:此字段可能返回 null,表示取不到有效值。
933
920
  */
934
921
  StartTime?: string;
935
922
  /**
936
923
  * 集群活动结束时间。
937
- 注意:此字段可能返回 null,表示取不到有效值。
938
924
  */
939
925
  EndTime?: string;
940
926
  }
@@ -1133,12 +1119,10 @@ export interface NodeScript {
1133
1119
  /**
1134
1120
  * 节点执行脚本获取地址。
1135
1121
  目前仅支持cos地址。地址最大长度:255。
1136
- 注意:此字段可能返回 null,表示取不到有效值。
1137
1122
  */
1138
1123
  ScriptPath: string;
1139
1124
  /**
1140
1125
  * 脚本执行超时时间(包含拉取脚本的时间)。单位秒,默认值:30。取值范围:10~1200。
1141
- 注意:此字段可能返回 null,表示取不到有效值。
1142
1126
  */
1143
1127
  Timeout?: number;
1144
1128
  }
@@ -2023,12 +2007,10 @@ export interface GooseFSxOption {
2023
2007
  export interface SpacePlacement {
2024
2008
  /**
2025
2009
  * 可用区
2026
- 注意:此字段可能返回 null,表示取不到有效值。
2027
2010
  */
2028
2011
  Zone: string;
2029
2012
  /**
2030
2013
  * 项目,默认是0
2031
- 注意:此字段可能返回 null,表示取不到有效值。
2032
2014
  */
2033
2015
  ProjectId?: number;
2034
2016
  }