tencentcloud-sdk-nodejs-thpc 4.0.546 → 4.0.548

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
  * 符合条件的集群活动信息。
@@ -292,8 +364,9 @@ export interface ClusterActivity {
292
364
  */
293
365
  ActivityId: string;
294
366
  /**
295
- * 集群活动类型。
296
- */
367
+ * 集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群<br><li>RemoveNodesFromCluster:从集群移除实例<br><li>TerminateNodes:销毁实例<br><li>MountStorageOption:增加挂载选项并进行挂载<br><li>UmountStorageOption:删除集群挂载存储选项并解挂载
368
+
369
+ */
297
370
  ActivityType: string;
298
371
  /**
299
372
  * 集群活动状态。取值范围:<br><li>PENDING:等待运行<br><li>RUNNING:运行中<br><li>SUCCESSFUL:活动成功<br><li>PARTIALLY_SUCCESSFUL:活动部分成功<br><li>FAILED:活动失败
@@ -332,39 +405,6 @@ export interface ClusterActivity {
332
405
  */
333
406
  EndTime: string;
334
407
  }
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
408
  /**
369
409
  * CreateCluster返回参数结构体
370
410
  */
@@ -379,6 +419,23 @@ export interface CreateClusterResponse {
379
419
  */
380
420
  RequestId?: string;
381
421
  }
422
+ /**
423
+ * DescribeQueues请求参数结构体
424
+ */
425
+ export interface DescribeQueuesRequest {
426
+ /**
427
+ * 集群ID。
428
+ */
429
+ ClusterId: string;
430
+ /**
431
+ * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
432
+ */
433
+ Offset?: number;
434
+ /**
435
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
436
+ */
437
+ Limit?: number;
438
+ }
382
439
  /**
383
440
  * SetAutoScalingConfiguration返回参数结构体
384
441
  */
@@ -474,6 +531,15 @@ export interface CreateClusterRequest {
474
531
  */
475
532
  AutoScalingType?: string;
476
533
  }
534
+ /**
535
+ * AddQueue返回参数结构体
536
+ */
537
+ export interface AddQueueResponse {
538
+ /**
539
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
540
+ */
541
+ RequestId?: string;
542
+ }
477
543
  /**
478
544
  * DescribeClusterStorageOption返回参数结构体
479
545
  */
@@ -487,6 +553,23 @@ export interface DescribeClusterStorageOptionResponse {
487
553
  */
488
554
  RequestId?: string;
489
555
  }
556
+ /**
557
+ * DescribeQueues返回参数结构体
558
+ */
559
+ export interface DescribeQueuesResponse {
560
+ /**
561
+ * 队列概览信息列表。
562
+ */
563
+ QueueSet?: Array<QueueOverview>;
564
+ /**
565
+ * 符合条件的节点数量。
566
+ */
567
+ TotalCount?: number;
568
+ /**
569
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
570
+ */
571
+ RequestId?: string;
572
+ }
490
573
  /**
491
574
  * GooseFS存储选项概览信息。
492
575
  */
@@ -504,6 +587,51 @@ export interface GooseFSOptionOverview {
504
587
  */
505
588
  Masters: Array<string>;
506
589
  }
590
+ /**
591
+ * 扩容队列配置。
592
+ */
593
+ export interface QueueConfig {
594
+ /**
595
+ * 队列名称。
596
+ */
597
+ QueueName: string;
598
+ /**
599
+ * 队列中弹性节点数量最小值。取值范围0~200。
600
+ */
601
+ MinSize?: number;
602
+ /**
603
+ * 队列中弹性节点数量最大值。取值范围0~200。
604
+ */
605
+ MaxSize?: number;
606
+ /**
607
+ * 是否开启自动扩容。
608
+ */
609
+ EnableAutoExpansion?: boolean;
610
+ /**
611
+ * 是否开启自动缩容。
612
+ */
613
+ EnableAutoShrink?: boolean;
614
+ /**
615
+ * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
616
+ */
617
+ ImageId?: string;
618
+ /**
619
+ * 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
620
+ */
621
+ SystemDisk?: SystemDisk;
622
+ /**
623
+ * 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
624
+ */
625
+ DataDisks?: Array<DataDisk>;
626
+ /**
627
+ * 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
628
+ */
629
+ InternetAccessible?: InternetAccessible;
630
+ /**
631
+ * 扩容节点配置信息。
632
+ */
633
+ ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
634
+ }
507
635
  /**
508
636
  * 描述了实例的计费模式
509
637
  */
@@ -668,13 +796,30 @@ export interface SystemDisk {
668
796
  DiskSize?: number;
669
797
  }
670
798
  /**
671
- * 描述了实例的抽象位置
799
+ * 描述了实例登录相关配置与信息。
672
800
  */
673
- export interface Placement {
801
+ export interface LoginSettings {
674
802
  /**
675
- * 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
803
+ * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<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
804
  */
677
- Zone: string;
805
+ Password?: string;
806
+ }
807
+ /**
808
+ * 描述GooseFS挂载信息
809
+ */
810
+ export interface GooseFSOption {
811
+ /**
812
+ * 文件系统本地挂载路径。
813
+ */
814
+ LocalPath: string;
815
+ /**
816
+ * 文件系统远程挂载路径。
817
+ */
818
+ RemotePath: string;
819
+ /**
820
+ * 文件系统master的ip和端口。
821
+ */
822
+ Masters: Array<string>;
678
823
  }
679
824
  /**
680
825
  * DescribeClusterActivities请求参数结构体
@@ -693,6 +838,36 @@ export interface DescribeClusterActivitiesRequest {
693
838
  */
694
839
  Limit?: number;
695
840
  }
841
+ /**
842
+ * DeleteQueue请求参数结构体
843
+ */
844
+ export interface DeleteQueueRequest {
845
+ /**
846
+ * 集群ID。
847
+ */
848
+ ClusterId: string;
849
+ /**
850
+ * 队列名称。<br><li>最多支持32个字符。
851
+ */
852
+ QueueName: string;
853
+ }
854
+ /**
855
+ * >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
856
+ > * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
857
+ > * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
858
+ */
859
+ export interface Filter {
860
+ /**
861
+ * 需要过滤的字段。
862
+ 注意:此字段可能返回 null,表示取不到有效值。
863
+ */
864
+ Name: string;
865
+ /**
866
+ * 字段的过滤值。
867
+ 注意:此字段可能返回 null,表示取不到有效值。
868
+ */
869
+ Values: Array<string>;
870
+ }
696
871
  /**
697
872
  * AddNodes请求参数结构体
698
873
  */
@@ -1084,21 +1259,21 @@ export interface DeleteClusterStorageOptionResponse {
1084
1259
  RequestId?: string;
1085
1260
  }
1086
1261
  /**
1087
- * 描述GooseFS挂载信息
1262
+ * DescribeNodes返回参数结构体
1088
1263
  */
1089
- export interface GooseFSOption {
1264
+ export interface DescribeNodesResponse {
1090
1265
  /**
1091
- * 文件系统本地挂载路径。
1266
+ * 节点概览信息列表。
1092
1267
  */
1093
- LocalPath: string;
1268
+ NodeSet?: Array<NodeOverview>;
1094
1269
  /**
1095
- * 文件系统远程挂载路径。
1270
+ * 符合条件的节点数量。
1096
1271
  */
1097
- RemotePath: string;
1272
+ TotalCount?: number;
1098
1273
  /**
1099
- * 文件系统master的ip和端口。
1274
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1100
1275
  */
1101
- Masters: Array<string>;
1276
+ RequestId?: string;
1102
1277
  }
1103
1278
  /**
1104
1279
  * DescribeClusterActivities返回参数结构体
@@ -1130,6 +1305,15 @@ export interface DataDisk {
1130
1305
  */
1131
1306
  DiskType?: string;
1132
1307
  }
1308
+ /**
1309
+ * DeleteQueue返回参数结构体
1310
+ */
1311
+ export interface DeleteQueueResponse {
1312
+ /**
1313
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1314
+ */
1315
+ RequestId?: string;
1316
+ }
1133
1317
  /**
1134
1318
  * AddNodes返回参数结构体
1135
1319
  */