tencentcloud-sdk-nodejs-thpc 4.0.545 → 4.0.547

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.
@@ -89,6 +89,16 @@ export interface ClusterOverview {
89
89
  */
90
90
  VpcId: string;
91
91
  }
92
+ /**
93
+ * 队列信息概览。
94
+ */
95
+ export interface QueueOverview {
96
+ /**
97
+ * 队列名称。
98
+ 注意:此字段可能返回 null,表示取不到有效值。
99
+ */
100
+ QueueName?: string;
101
+ }
92
102
  /**
93
103
  * DescribeClusters请求参数结构体
94
104
  */
@@ -136,13 +146,65 @@ export interface SetAutoScalingConfigurationRequest {
136
146
  DryRun?: boolean;
137
147
  }
138
148
  /**
139
- * 描述了实例登录相关配置与信息。
149
+ * 节点概览信息。
140
150
  */
141
- export interface LoginSettings {
151
+ export interface NodeOverview {
142
152
  /**
143
- * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
153
+ * 节点实例ID。
154
+ 注意:此字段可能返回 null,表示取不到有效值。
155
+ */
156
+ InstanceId?: string;
157
+ /**
158
+ * 节点所在可用区信息。
159
+ 注意:此字段可能返回 null,表示取不到有效值。
160
+ */
161
+ Zone?: string;
162
+ /**
163
+ * 节点状态。<br><li>SUBMITTED:已完成提交。<br><li>CREATING:创建中。<br><li>CREATED:完成创建。<br><li>INITING:初始化中。<br><li>INIT_FAILED:初始化失败。<br><li>RUNNING:运行中。<br><li>DELETING:销毁中。
164
+ 注意:此字段可能返回 null,表示取不到有效值。
165
+ */
166
+ NodeState?: string;
167
+ /**
168
+ * 镜像ID。
169
+ 注意:此字段可能返回 null,表示取不到有效值。
170
+ */
171
+ ImageId?: string;
172
+ /**
173
+ * 节点所属队列名称。
174
+ 注意:此字段可能返回 null,表示取不到有效值。
175
+ */
176
+ QueueName?: string;
177
+ /**
178
+ * 节点角色。<br><li>Manager:管控节点。<br><li>Compute:计算节点。<br><li>Login:登录节点。<br><li>ManagerBackup:备用管控节点。
179
+ 注意:此字段可能返回 null,表示取不到有效值。
180
+ */
181
+ NodeRole?: string;
182
+ /**
183
+ * 节点类型。<br><li>STATIC:静态节点。<br><li>DYNAMIC:弹性节点。
184
+ 注意:此字段可能返回 null,表示取不到有效值。
185
+ */
186
+ NodeType?: string;
187
+ }
188
+ /**
189
+ * DescribeNodes请求参数结构体
190
+ */
191
+ export interface DescribeNodesRequest {
192
+ /**
193
+ * 集群ID。
144
194
  */
145
- Password?: string;
195
+ ClusterId: string;
196
+ /**
197
+ * <li><strong>queue-name</strong></li> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"><li><strong>node-role</strong></li> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"><li><strong>node-type</strong></li> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
198
+ */
199
+ Filters?: Array<Filter>;
200
+ /**
201
+ * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
202
+ */
203
+ Offset?: number;
204
+ /**
205
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
206
+ */
207
+ Limit?: number;
146
208
  }
147
209
  /**
148
210
  * DeleteNodes返回参数结构体
@@ -235,49 +297,59 @@ export interface NodeActivity {
235
297
  NodeActivityStatusReason: string;
236
298
  }
237
299
  /**
238
- * 扩容队列配置。
300
+ * 描述了实例的抽象位置
239
301
  */
240
- export interface QueueConfig {
241
- /**
242
- * 队列名称。
243
- */
244
- QueueName: string;
245
- /**
246
- * 队列中弹性节点数量最小值。取值范围0~200。
247
- */
248
- MinSize?: number;
302
+ export interface Placement {
249
303
  /**
250
- * 队列中弹性节点数量最大值。取值范围0~200。
304
+ * 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
251
305
  */
252
- MaxSize?: number;
306
+ Zone: string;
307
+ }
308
+ /**
309
+ * AddQueue请求参数结构体
310
+ */
311
+ export interface AddQueueRequest {
253
312
  /**
254
- * 是否开启自动扩容。
313
+ * 集群ID。
255
314
  */
256
- EnableAutoExpansion?: boolean;
315
+ ClusterId: string;
257
316
  /**
258
- * 是否开启自动缩容。
317
+ * 队列名称。<br><li>最多支持32个字符。
259
318
  */
260
- EnableAutoShrink?: boolean;
319
+ QueueName: string;
320
+ }
321
+ /**
322
+ * 登录节点概览。
323
+ */
324
+ export interface LoginNodeOverview {
261
325
  /**
262
- * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
326
+ * 登录节点ID
263
327
  */
264
- ImageId?: string;
328
+ NodeId: string;
329
+ }
330
+ /**
331
+ * 描述CFS文件系统版本和挂载信息
332
+ */
333
+ export interface CFSOption {
265
334
  /**
266
- * 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
335
+ * 文件系统本地挂载路径。
267
336
  */
268
- SystemDisk?: SystemDisk;
337
+ LocalPath: string;
269
338
  /**
270
- * 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
339
+ * 文件系统远程挂载ip及路径。
271
340
  */
272
- DataDisks?: Array<DataDisk>;
341
+ RemotePath: string;
273
342
  /**
274
- * 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps
275
- */
276
- InternetAccessible?: InternetAccessible;
343
+ * 文件系统协议类型,默认值NFS 3.0
344
+ <li>NFS 3.0。
345
+ <li>NFS 4.0。
346
+ <li>TURBO。
347
+ */
348
+ Protocol?: string;
277
349
  /**
278
- * 扩容节点配置信息。
350
+ * 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
279
351
  */
280
- ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
352
+ StorageType?: string;
281
353
  }
282
354
  /**
283
355
  * 符合条件的集群活动信息。
@@ -332,39 +404,6 @@ export interface ClusterActivity {
332
404
  */
333
405
  EndTime: string;
334
406
  }
335
- /**
336
- * 登录节点概览。
337
- */
338
- export interface LoginNodeOverview {
339
- /**
340
- * 登录节点ID。
341
- */
342
- NodeId: string;
343
- }
344
- /**
345
- * 描述CFS文件系统版本和挂载信息
346
- */
347
- export interface CFSOption {
348
- /**
349
- * 文件系统本地挂载路径。
350
- */
351
- LocalPath: string;
352
- /**
353
- * 文件系统远程挂载ip及路径。
354
- */
355
- RemotePath: string;
356
- /**
357
- * 文件系统协议类型,默认值NFS 3.0。
358
- <li>NFS 3.0。
359
- <li>NFS 4.0。
360
- <li>TURBO。
361
- */
362
- Protocol?: string;
363
- /**
364
- * 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
365
- */
366
- StorageType?: string;
367
- }
368
407
  /**
369
408
  * CreateCluster返回参数结构体
370
409
  */
@@ -379,6 +418,23 @@ export interface CreateClusterResponse {
379
418
  */
380
419
  RequestId?: string;
381
420
  }
421
+ /**
422
+ * DescribeQueues请求参数结构体
423
+ */
424
+ export interface DescribeQueuesRequest {
425
+ /**
426
+ * 集群ID。
427
+ */
428
+ ClusterId: string;
429
+ /**
430
+ * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
431
+ */
432
+ Offset?: number;
433
+ /**
434
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
435
+ */
436
+ Limit?: number;
437
+ }
382
438
  /**
383
439
  * SetAutoScalingConfiguration返回参数结构体
384
440
  */
@@ -474,6 +530,15 @@ export interface CreateClusterRequest {
474
530
  */
475
531
  AutoScalingType?: string;
476
532
  }
533
+ /**
534
+ * AddQueue返回参数结构体
535
+ */
536
+ export interface AddQueueResponse {
537
+ /**
538
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
539
+ */
540
+ RequestId?: string;
541
+ }
477
542
  /**
478
543
  * DescribeClusterStorageOption返回参数结构体
479
544
  */
@@ -487,6 +552,23 @@ export interface DescribeClusterStorageOptionResponse {
487
552
  */
488
553
  RequestId?: string;
489
554
  }
555
+ /**
556
+ * DescribeQueues返回参数结构体
557
+ */
558
+ export interface DescribeQueuesResponse {
559
+ /**
560
+ * 队列概览信息列表。
561
+ */
562
+ QueueSet?: Array<QueueOverview>;
563
+ /**
564
+ * 符合条件的节点数量。
565
+ */
566
+ TotalCount?: number;
567
+ /**
568
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
569
+ */
570
+ RequestId?: string;
571
+ }
490
572
  /**
491
573
  * GooseFS存储选项概览信息。
492
574
  */
@@ -504,6 +586,51 @@ export interface GooseFSOptionOverview {
504
586
  */
505
587
  Masters: Array<string>;
506
588
  }
589
+ /**
590
+ * 扩容队列配置。
591
+ */
592
+ export interface QueueConfig {
593
+ /**
594
+ * 队列名称。
595
+ */
596
+ QueueName: string;
597
+ /**
598
+ * 队列中弹性节点数量最小值。取值范围0~200。
599
+ */
600
+ MinSize?: number;
601
+ /**
602
+ * 队列中弹性节点数量最大值。取值范围0~200。
603
+ */
604
+ MaxSize?: number;
605
+ /**
606
+ * 是否开启自动扩容。
607
+ */
608
+ EnableAutoExpansion?: boolean;
609
+ /**
610
+ * 是否开启自动缩容。
611
+ */
612
+ EnableAutoShrink?: boolean;
613
+ /**
614
+ * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
615
+ */
616
+ ImageId?: string;
617
+ /**
618
+ * 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
619
+ */
620
+ SystemDisk?: SystemDisk;
621
+ /**
622
+ * 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
623
+ */
624
+ DataDisks?: Array<DataDisk>;
625
+ /**
626
+ * 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
627
+ */
628
+ InternetAccessible?: InternetAccessible;
629
+ /**
630
+ * 扩容节点配置信息。
631
+ */
632
+ ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
633
+ }
507
634
  /**
508
635
  * 描述了实例的计费模式
509
636
  */
@@ -668,13 +795,30 @@ export interface SystemDisk {
668
795
  DiskSize?: number;
669
796
  }
670
797
  /**
671
- * 描述了实例的抽象位置
798
+ * 描述了实例登录相关配置与信息。
672
799
  */
673
- export interface Placement {
800
+ export interface LoginSettings {
674
801
  /**
675
- * 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
802
+ * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
676
803
  */
677
- Zone: string;
804
+ Password?: string;
805
+ }
806
+ /**
807
+ * 描述GooseFS挂载信息
808
+ */
809
+ export interface GooseFSOption {
810
+ /**
811
+ * 文件系统本地挂载路径。
812
+ */
813
+ LocalPath: string;
814
+ /**
815
+ * 文件系统远程挂载路径。
816
+ */
817
+ RemotePath: string;
818
+ /**
819
+ * 文件系统master的ip和端口。
820
+ */
821
+ Masters: Array<string>;
678
822
  }
679
823
  /**
680
824
  * DescribeClusterActivities请求参数结构体
@@ -693,6 +837,36 @@ export interface DescribeClusterActivitiesRequest {
693
837
  */
694
838
  Limit?: number;
695
839
  }
840
+ /**
841
+ * DeleteQueue请求参数结构体
842
+ */
843
+ export interface DeleteQueueRequest {
844
+ /**
845
+ * 集群ID。
846
+ */
847
+ ClusterId: string;
848
+ /**
849
+ * 队列名称。<br><li>最多支持32个字符。
850
+ */
851
+ QueueName: string;
852
+ }
853
+ /**
854
+ * >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
855
+ > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
856
+ > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
857
+ */
858
+ export interface Filter {
859
+ /**
860
+ * 需要过滤的字段。
861
+ 注意:此字段可能返回 null,表示取不到有效值。
862
+ */
863
+ Name: string;
864
+ /**
865
+ * 字段的过滤值。
866
+ 注意:此字段可能返回 null,表示取不到有效值。
867
+ */
868
+ Values: Array<string>;
869
+ }
696
870
  /**
697
871
  * AddNodes请求参数结构体
698
872
  */
@@ -1084,21 +1258,21 @@ export interface DeleteClusterStorageOptionResponse {
1084
1258
  RequestId?: string;
1085
1259
  }
1086
1260
  /**
1087
- * 描述GooseFS挂载信息
1261
+ * DescribeNodes返回参数结构体
1088
1262
  */
1089
- export interface GooseFSOption {
1263
+ export interface DescribeNodesResponse {
1090
1264
  /**
1091
- * 文件系统本地挂载路径。
1265
+ * 节点概览信息列表。
1092
1266
  */
1093
- LocalPath: string;
1267
+ NodeSet?: Array<NodeOverview>;
1094
1268
  /**
1095
- * 文件系统远程挂载路径。
1269
+ * 符合条件的节点数量。
1096
1270
  */
1097
- RemotePath: string;
1271
+ TotalCount?: number;
1098
1272
  /**
1099
- * 文件系统master的ip和端口。
1273
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1100
1274
  */
1101
- Masters: Array<string>;
1275
+ RequestId?: string;
1102
1276
  }
1103
1277
  /**
1104
1278
  * DescribeClusterActivities返回参数结构体
@@ -1130,6 +1304,15 @@ export interface DataDisk {
1130
1304
  */
1131
1305
  DiskType?: string;
1132
1306
  }
1307
+ /**
1308
+ * DeleteQueue返回参数结构体
1309
+ */
1310
+ export interface DeleteQueueResponse {
1311
+ /**
1312
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1313
+ */
1314
+ RequestId?: string;
1315
+ }
1133
1316
  /**
1134
1317
  * AddNodes返回参数结构体
1135
1318
  */