tencentcloud-sdk-nodejs 4.1.303 → 4.1.305

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 (81) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/apm/v20210622/apm_client.js +3 -0
  3. package/es/services/cynosdb/v20190107/cynosdb_client.js +3 -0
  4. package/es/services/ioa/v20220601/ioa_client.js +3 -0
  5. package/es/services/mps/v20190612/mps_client.js +16 -4
  6. package/es/services/postgres/v20170312/postgres_client.js +16 -4
  7. package/es/services/sms/v20210111/sms_client.js +7 -4
  8. package/es/services/tcb/v20180608/tcb_client.js +10 -7
  9. package/es/services/teo/v20220901/teo_client.js +3 -0
  10. package/es/services/thpc/v20230321/thpc_client.js +38 -11
  11. package/es/services/trtc/v20190722/trtc_client.js +33 -12
  12. package/es/services/vod/v20180717/vod_client.js +26 -8
  13. package/package.json +1 -1
  14. package/tencentcloud/common/sdk_version.d.ts +1 -1
  15. package/tencentcloud/common/sdk_version.js +1 -1
  16. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  17. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  18. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +125 -57
  19. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +48 -34
  20. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +23 -27
  21. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +8 -0
  22. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
  23. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +2 -0
  24. package/tencentcloud/services/clb/v20180317/clb_client.js +2 -0
  25. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +117 -1
  26. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
  27. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  28. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  29. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +36 -5
  30. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +17 -22
  31. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +9 -5
  32. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +70 -105
  33. package/tencentcloud/services/ess/v20201111/ess_client.js +70 -105
  34. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +13 -42
  35. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +23 -22
  36. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +23 -22
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -37
  38. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +5 -1
  39. package/tencentcloud/services/ioa/v20220601/ioa_client.js +6 -0
  40. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +127 -28
  41. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +92 -57
  42. package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -17
  43. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +27 -23
  44. package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +36 -2
  45. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +21 -5
  46. package/tencentcloud/services/mps/v20190612/mps_client.js +30 -6
  47. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +440 -308
  48. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +33 -25
  49. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +23 -7
  50. package/tencentcloud/services/postgres/v20170312/postgres_client.js +32 -8
  51. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +282 -98
  52. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +55 -13
  53. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +11 -7
  54. package/tencentcloud/services/sms/v20210111/sms_client.js +14 -8
  55. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +93 -9
  56. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +14 -10
  57. package/tencentcloud/services/tcb/v20180608/tcb_client.js +19 -13
  58. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +31 -0
  59. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +13 -23
  60. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +4 -4
  61. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +4 -4
  62. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +44 -32
  63. package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +46 -3
  64. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -1
  65. package/tencentcloud/services/teo/v20220901/teo_client.js +6 -0
  66. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +140 -0
  67. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +9 -0
  68. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +51 -15
  69. package/tencentcloud/services/thpc/v20230321/thpc_client.js +74 -20
  70. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +625 -224
  71. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +67 -25
  72. package/tencentcloud/services/trtc/v20190722/trtc_client.js +86 -30
  73. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +282 -186
  74. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +48 -18
  75. package/tencentcloud/services/vod/v20180717/vod_client.js +63 -21
  76. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1294 -358
  77. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -0
  78. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -0
  79. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +100 -93
  80. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
  81. package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +24 -143
@@ -250,6 +250,35 @@ export interface ModifyClusterDeletionProtectionResponse {
250
250
  */
251
251
  RequestId?: string;
252
252
  }
253
+ /**
254
+ * 扩容方式配置,定义用什么创建节点。
255
+ */
256
+ export interface ExpansionPolicy {
257
+ /**
258
+ * <p>扩容方式。可选值:LAUNCH_TEMPLATE(启动模板)、MULTI_CARD(多卡型混扩)。</p>
259
+ */
260
+ ExpansionMode?: string;
261
+ /**
262
+ * <p>启动模板 ID 列表,最多 10 个。ExpansionMode=LAUNCH_TEMPLATE 时使用。</p>
263
+ 注意:此字段可能返回 null,表示取不到有效值。
264
+ */
265
+ LaunchTemplateIds?: Array<string>;
266
+ /**
267
+ * <p>参考实例 ID,根据已有实例配置生成启动模板。</p>
268
+ 注意:此字段可能返回 null,表示取不到有效值。
269
+ */
270
+ ReferenceInstanceId?: string;
271
+ /**
272
+ * <p>启动模板扩容覆盖配置。ExpansionMode=MULTI_CARD 时使用。</p>
273
+ 注意:此字段可能返回 null,表示取不到有效值。
274
+ */
275
+ TemplateOverrides?: TemplateOverrides;
276
+ /**
277
+ * <p>候选规格排序策略。</p>
278
+ 注意:此字段可能返回 null,表示取不到有效值。
279
+ */
280
+ ExpansionPriority?: ExpansionPriority;
281
+ }
253
282
  /**
254
283
  * CreateWorkspaces返回参数结构体
255
284
  */
@@ -301,6 +330,19 @@ export interface ModifyWorkspacesRenewFlagRequest {
301
330
  */
302
331
  RenewFlag: string;
303
332
  }
333
+ /**
334
+ * DescribeQueueAutoScalingOverview请求参数结构体
335
+ */
336
+ export interface DescribeQueueAutoScalingOverviewRequest {
337
+ /**
338
+ * 集群 ID。
339
+ */
340
+ ClusterId: string;
341
+ /**
342
+ * 队列名称列表。不传则返回所有队列的弹性伸缩概览信息。
343
+ */
344
+ QueueNames?: Array<string>;
345
+ }
304
346
  /**
305
347
  * ModifyNodeAttribute返回参数结构体
306
348
  */
@@ -310,6 +352,19 @@ export interface ModifyNodeAttributeResponse {
310
352
  */
311
353
  RequestId?: string;
312
354
  }
355
+ /**
356
+ * DescribeInstanceFamilies请求参数结构体
357
+ */
358
+ export interface DescribeInstanceFamiliesRequest {
359
+ /**
360
+ * <p>集群 ID。</p>
361
+ */
362
+ ClusterId: string;
363
+ /**
364
+ * <p>GPU 厂商过滤条件。</p>
365
+ */
366
+ Vendor?: string;
367
+ }
313
368
  /**
314
369
  * 管控节点概览。
315
370
  */
@@ -370,9 +425,9 @@ export interface Task {
370
425
  Timeout?: number;
371
426
  }
372
427
  /**
373
- * TerminateWorkspaces返回参数结构体
428
+ * ModifyScheduledAction返回参数结构体
374
429
  */
375
- export interface TerminateWorkspacesResponse {
430
+ export interface ModifyScheduledActionResponse {
376
431
  /**
377
432
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
378
433
  */
@@ -500,25 +555,25 @@ export interface GooseFSOption {
500
555
  FileSystemId?: string;
501
556
  }
502
557
  /**
503
- * 集群存储选项概览信息。
558
+ * ModifyScheduledAction请求参数结构体
504
559
  */
505
- export interface StorageOptionOverview {
560
+ export interface ModifyScheduledActionRequest {
506
561
  /**
507
- * <p>CFS存储选项概览信息列表。</p>
562
+ * <p>定时伸缩任务 ID。</p>
508
563
  */
509
- CFSOptions?: Array<CFSOptionOverview>;
564
+ ScheduledActionId: string;
510
565
  /**
511
- * <p>GooseFS存储选项概览信息列表。</p>
566
+ * <p>定时伸缩任务名称。</p>
512
567
  */
513
- GooseFSOptions?: Array<GooseFSOptionOverview>;
568
+ ScheduledActionName?: string;
514
569
  /**
515
- * <p>GooseFSx存储选项概览信息列表。</p>
570
+ * <p>定时触发后队列期望节点数。</p>
516
571
  */
517
- GooseFSxOptions?: Array<GooseFSxOptionOverview>;
572
+ DesiredCapacity?: number;
518
573
  /**
519
- * <p>COS存储选项概览信息列表。</p>
574
+ * <p>任务状态。</p>
520
575
  */
521
- CosOptions?: Array<CosOptionOverview>;
576
+ Status?: string;
522
577
  }
523
578
  /**
524
579
  * DescribeJobsOverview请求参数结构体
@@ -686,6 +741,15 @@ export interface AddQueueRequest {
686
741
  */
687
742
  QueueName: string;
688
743
  }
744
+ /**
745
+ * DeleteScheduledAction请求参数结构体
746
+ */
747
+ export interface DeleteScheduledActionRequest {
748
+ /**
749
+ * <p>定时伸缩任务 ID 列表,最多 20 个。</p>
750
+ */
751
+ ScheduledActionIds: Array<string>;
752
+ }
689
753
  /**
690
754
  * 扩容队列配置概览。
691
755
  */
@@ -747,17 +811,28 @@ export interface QueueConfigOverview {
747
811
  ScaleUpMemRatio?: number;
748
812
  }
749
813
  /**
750
- * DeleteNodes请求参数结构体
814
+ * DescribeInstanceFamilies返回参数结构体
751
815
  */
752
- export interface DeleteNodesRequest {
816
+ export interface DescribeInstanceFamiliesResponse {
753
817
  /**
754
- * 集群ID。
818
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
755
819
  */
756
- ClusterId: string;
820
+ RequestId?: string;
821
+ }
822
+ /**
823
+ * 伸缩策略配置,定义队列的容量语义。
824
+ */
825
+ export interface ScalingPolicy {
757
826
  /**
758
- * 节点ID。
827
+ * <p>期望节点数。</p>
828
+ 注意:此字段可能返回 null,表示取不到有效值。
759
829
  */
760
- NodeIds: Array<string>;
830
+ DesiredCapacity?: number;
831
+ /**
832
+ * <p>伸缩单位。可选值:NODE(按节点)、GPU_CARD(按 GPU 卡)。</p>
833
+ 注意:此字段可能返回 null,表示取不到有效值。
834
+ */
835
+ ScalingUnit?: string;
761
836
  }
762
837
  /**
763
838
  * DescribeQueues返回参数结构体
@@ -820,6 +895,15 @@ export interface Job {
820
895
  */
821
896
  TaskDependencies?: Array<TaskDependence>;
822
897
  }
898
+ /**
899
+ * DescribeScheduledActions返回参数结构体
900
+ */
901
+ export interface DescribeScheduledActionsResponse {
902
+ /**
903
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
904
+ */
905
+ RequestId?: string;
906
+ }
823
907
  /**
824
908
  * ModifyWorkspacesRenewFlag返回参数结构体
825
909
  */
@@ -873,6 +957,31 @@ export interface GooseFSOptionOverview {
873
957
  */
874
958
  Masters?: Array<string>;
875
959
  }
960
+ /**
961
+ * 描述了工作空间的公网可访问性,声明了工作空间的公网使用计费模式,最大带宽等
962
+ */
963
+ export interface SpaceInternetAccessible {
964
+ /**
965
+ * 网络计费类型
966
+ 注意:此字段可能返回 null,表示取不到有效值。
967
+ */
968
+ InternetChargeType?: string;
969
+ /**
970
+ * 公网出带宽上限,默认为0
971
+ 注意:此字段可能返回 null,表示取不到有效值。
972
+ */
973
+ InternetMaxBandwidthOut?: number;
974
+ /**
975
+ * 是否分配公网IP
976
+ 注意:此字段可能返回 null,表示取不到有效值。
977
+ */
978
+ PublicIpAssigned?: boolean;
979
+ /**
980
+ * 带宽包ID
981
+ 注意:此字段可能返回 null,表示取不到有效值。
982
+ */
983
+ BandwidthPackageId?: string;
984
+ }
876
985
  /**
877
986
  * COS挂载信息
878
987
  */
@@ -890,6 +999,36 @@ export interface CosOption {
890
999
  */
891
1000
  MountParamsOption?: string;
892
1001
  }
1002
+ /**
1003
+ * DescribeJobs请求参数结构体
1004
+ */
1005
+ export interface DescribeJobsRequest {
1006
+ /**
1007
+ * 作业任务ID列表
1008
+ */
1009
+ JobIds?: Array<string>;
1010
+ /**
1011
+ * 过滤列表
1012
+ */
1013
+ Filters?: Array<Filter>;
1014
+ /**
1015
+ * 偏移量,默认为0。 关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
1016
+ */
1017
+ Offset?: number;
1018
+ /**
1019
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
1020
+ */
1021
+ Limit?: number;
1022
+ }
1023
+ /**
1024
+ * SetAutoScalingConfiguration返回参数结构体
1025
+ */
1026
+ export interface SetAutoScalingConfigurationResponse {
1027
+ /**
1028
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1029
+ */
1030
+ RequestId?: string;
1031
+ }
893
1032
  /**
894
1033
  * DeleteClusterStorageOption请求参数结构体
895
1034
  */
@@ -903,6 +1042,20 @@ export interface DeleteClusterStorageOptionRequest {
903
1042
  */
904
1043
  LocalPath: string;
905
1044
  }
1045
+ /**
1046
+ * ModifyClusterDeletionProtection请求参数结构体
1047
+ */
1048
+ export interface ModifyClusterDeletionProtectionRequest {
1049
+ /**
1050
+ * 集群ID。
1051
+ */
1052
+ ClusterId: string;
1053
+ /**
1054
+ * 集群删除保护开关。
1055
+ 可选值:<li>OFF:关闭集群删除保护。</li><li>ON:打开集群删除保护。</li>
1056
+ */
1057
+ DeletionProtection: string;
1058
+ }
906
1059
  /**
907
1060
  * 描述了 “腾讯云可观测平台” 服务相关的信息。
908
1061
  */
@@ -1122,6 +1275,16 @@ export interface ModifyWorkspacesAttributeResponse {
1122
1275
  */
1123
1276
  RequestId?: string;
1124
1277
  }
1278
+ /**
1279
+ * 候选计算资源规格排序策略。LARGE_FIRST/SMALL_FIRST 表示按规格大小选择候选资源,GPU 场景按卡数判断大小。
1280
+ */
1281
+ export interface ExpansionPriority {
1282
+ /**
1283
+ * <p>候选规格排序方式。可选值:LARGE_FIRST(大规格优先)、SMALL_FIRST(小规格优先)。</p>
1284
+ 注意:此字段可能返回 null,表示取不到有效值。
1285
+ */
1286
+ InstanceSpecPriority?: string;
1287
+ }
1125
1288
  /**
1126
1289
  * DescribeClusters返回参数结构体
1127
1290
  */
@@ -1157,93 +1320,17 @@ export interface DescribeClusterActivitiesResponse {
1157
1320
  RequestId?: string;
1158
1321
  }
1159
1322
  /**
1160
- * AddNodes请求参数结构体
1323
+ * DescribeInitNodeScripts返回参数结构体
1161
1324
  */
1162
- export interface AddNodesRequest {
1163
- /**
1164
- * <p>集群中实例所在的位置。</p>
1165
- */
1166
- Placement: Placement;
1167
- /**
1168
- * <p>集群ID。</p>
1169
- */
1170
- ClusterId: string;
1171
- /**
1172
- * <p>私有网络相关信息配置。</p>
1173
- */
1174
- VirtualPrivateCloud: VirtualPrivateCloud;
1175
- /**
1176
- * <p>添加节点数量。</p>
1177
- */
1178
- Count: number;
1179
- /**
1180
- * <p>指定有效的<a href="https://cloud.tencent.com/document/product/213/4940">镜像</a>ID,格式形如<code>img-xxx</code>。目前支持部分公有镜像和自定义镜像。公共镜像请参考<a href="https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F">镜像限制</a></p>
1181
- */
1182
- ImageId?: string;
1183
- /**
1184
- * <p>节点<a href="https://cloud.tencent.com/document/product/213/2180">计费类型</a>。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。</p>
1185
- */
1186
- InstanceChargeType?: string;
1187
- /**
1188
- * <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。</p>
1189
- */
1190
- InstanceChargePrepaid?: InstanceChargePrepaid;
1191
- /**
1192
- * <p>节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口<a href="https://cloud.tencent.com/document/api/213/15749">DescribeInstanceTypeConfigs</a>来获得最新的规格表或参见<a href="https://cloud.tencent.com/document/product/213/11518">实例规格</a>描述。</li></p>
1193
- */
1194
- InstanceType?: string;
1195
- /**
1196
- * <p>节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。</p>
1197
- */
1198
- SystemDisk?: SystemDisk;
1199
- /**
1200
- * <p>节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。</p>
1201
- */
1202
- DataDisks?: Array<DataDisk>;
1203
- /**
1204
- * <p>公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。</p>
1205
- */
1206
- InternetAccessible?: InternetAccessible;
1207
- /**
1208
- * <p>节点显示名称。<br>不指定节点显示名称则默认显示‘未命名’。<br>最多支持60个字符。</p>
1209
- */
1210
- InstanceName?: string;
1211
- /**
1212
- * <p>集群登录设置。</p>
1213
- */
1214
- LoginSettings?: LoginSettings;
1215
- /**
1216
- * <p>集群中实例所属安全组。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
1217
- */
1218
- SecurityGroupIds?: Array<string>;
1219
- /**
1220
- * <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。</p>
1221
- */
1222
- ClientToken?: string;
1223
- /**
1224
- * <p>队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li></p>
1225
- */
1226
- QueueName?: string;
1227
- /**
1228
- * <p>添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><li>Login:登录节点。</li></p>
1229
- */
1230
- NodeRole?: string;
1231
- /**
1232
- * <p>是否只预检此次请求。<br>true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。<br>如果检查不通过,则返回对应错误码;<br>如果检查通过,则返回RequestId.<br>false(默认):发送正常请求,通过检查后直接创建实例</p>
1233
- */
1234
- DryRun?: boolean;
1235
- /**
1236
- * <p>添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li></p>
1237
- */
1238
- NodeType?: string;
1325
+ export interface DescribeInitNodeScriptsResponse {
1239
1326
  /**
1240
- * <p>实例所属项目ID。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/651/78725">DescribeProject</a> 的返回值中的 projectId 字段来获取。不填为默认项目。</p>
1327
+ * 节点初始化脚本列表。
1241
1328
  */
1242
- ProjectId?: number;
1329
+ InitNodeScriptSet?: Array<NodeScript>;
1243
1330
  /**
1244
- * <p>要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。</p>
1331
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1245
1332
  */
1246
- ResourceType?: string;
1333
+ RequestId?: string;
1247
1334
  }
1248
1335
  /**
1249
1336
  * DeleteQueue返回参数结构体
@@ -1314,32 +1401,65 @@ export interface TaskDependence {
1314
1401
  EndTask: string;
1315
1402
  }
1316
1403
  /**
1317
- * 描述了实例的增强服务启用情况与其设置,如云安全,腾讯云可观测平台等实例 Agent
1404
+ * CreateScheduledAction请求参数结构体
1318
1405
  */
1319
- export interface EnhancedService {
1406
+ export interface CreateScheduledActionRequest {
1320
1407
  /**
1321
- * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
1408
+ * <p>集群 ID。</p>
1322
1409
  */
1323
- SecurityService?: RunSecurityServiceEnabled;
1410
+ ClusterId: string;
1324
1411
  /**
1325
- * 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
1412
+ * <p>队列名称。</p>
1326
1413
  */
1327
- MonitorService?: RunMonitorServiceEnabled;
1414
+ QueueName: string;
1328
1415
  /**
1329
- * 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
1416
+ * <p>定时伸缩任务名称。</p>
1330
1417
  */
1331
- AutomationService?: RunAutomationServiceEnabled;
1332
- }
1333
- /**
1334
- * 描述了 “云自动化助手” 服务相关的信息。
1335
- */
1336
- export interface RunAutomationServiceEnabled {
1418
+ ScheduledActionName: string;
1337
1419
  /**
1338
- * 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务</li><br><li>FALSE:表示不开启云自动化助手服务</li><br><br>默认取值:TRUE。
1420
+ * <p>定时伸缩任务生效起始时间,格式:YYYY-MM-DD HH:MM:SS。</p>
1339
1421
  */
1340
- Enabled?: boolean;
1341
- }
1342
- /**
1422
+ StartTime: string;
1423
+ /**
1424
+ * <p>定时触发后队列期望节点数。</p>
1425
+ */
1426
+ DesiredCapacity: number;
1427
+ /**
1428
+ * <p>定时伸缩任务生效结束时间,格式:YYYY-MM-DD HH:MM:SS。不传则永久有效。</p>
1429
+ */
1430
+ EndTime?: string;
1431
+ /**
1432
+ * <p>重复策略,遵循 cron 表达式格式。不传则只执行一次。</p>
1433
+ */
1434
+ Recurrence?: string;
1435
+ }
1436
+ /**
1437
+ * 描述了实例的增强服务启用情况与其设置,如云安全,腾讯云可观测平台等实例 Agent
1438
+ */
1439
+ export interface EnhancedService {
1440
+ /**
1441
+ * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
1442
+ */
1443
+ SecurityService?: RunSecurityServiceEnabled;
1444
+ /**
1445
+ * 开启腾讯云可观测平台服务。若不指定该参数,则默认开启腾讯云可观测平台服务。
1446
+ */
1447
+ MonitorService?: RunMonitorServiceEnabled;
1448
+ /**
1449
+ * 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
1450
+ */
1451
+ AutomationService?: RunAutomationServiceEnabled;
1452
+ }
1453
+ /**
1454
+ * 描述了 “云自动化助手” 服务相关的信息。
1455
+ */
1456
+ export interface RunAutomationServiceEnabled {
1457
+ /**
1458
+ * 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务</li><br><li>FALSE:表示不开启云自动化助手服务</li><br><br>默认取值:TRUE。
1459
+ */
1460
+ Enabled?: boolean;
1461
+ }
1462
+ /**
1343
1463
  * 符合条件的集群活动信息。
1344
1464
  */
1345
1465
  export interface ClusterActivity {
@@ -1423,6 +1543,27 @@ export interface CreateClusterResponse {
1423
1543
  */
1424
1544
  RequestId?: string;
1425
1545
  }
1546
+ /**
1547
+ * DescribeScheduledActions请求参数结构体
1548
+ */
1549
+ export interface DescribeScheduledActionsRequest {
1550
+ /**
1551
+ * <p>集群 ID。</p>
1552
+ */
1553
+ ClusterId: string;
1554
+ /**
1555
+ * <p>队列名称。</p>
1556
+ */
1557
+ QueueName?: string;
1558
+ /**
1559
+ * <p>定时伸缩任务 ID 列表。</p>
1560
+ */
1561
+ ScheduledActionIds?: Array<string>;
1562
+ /**
1563
+ * <p>任务状态过滤条件。</p>
1564
+ */
1565
+ Status?: string;
1566
+ }
1426
1567
  /**
1427
1568
  * 描述了 “云安全” 服务相关的信息。
1428
1569
  */
@@ -1450,13 +1591,97 @@ export interface DescribeQueuesRequest {
1450
1591
  Limit?: number;
1451
1592
  }
1452
1593
  /**
1453
- * SetAutoScalingConfiguration返回参数结构体
1594
+ * InquirePriceCreateWorkspaces请求参数结构体
1454
1595
  */
1455
- export interface SetAutoScalingConfigurationResponse {
1596
+ export interface InquirePriceCreateWorkspacesRequest {
1456
1597
  /**
1457
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1598
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
1458
1599
  */
1459
- RequestId?: string;
1600
+ ClientToken?: string;
1601
+ /**
1602
+ * 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目,所属宿主机(在专用宿主机上创建子机时指定)等属性。 <b>注:如果您不指定LaunchTemplate参数,则Placement为必选参数。若同时传递Placement和LaunchTemplate,则默认覆盖LaunchTemplate中对应的Placement的值。</b>
1603
+ */
1604
+ Placement?: SpacePlacement;
1605
+ /**
1606
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
1607
+ */
1608
+ SpaceChargePrepaid?: SpaceChargePrepaid;
1609
+ /**
1610
+ * 工作空间计费类型
1611
+ */
1612
+ SpaceChargeType?: string;
1613
+ /**
1614
+ * 工作空间规格
1615
+ */
1616
+ SpaceType?: string;
1617
+ /**
1618
+ * 镜像ID
1619
+ */
1620
+ ImageId?: string;
1621
+ /**
1622
+ * 工作空间系统盘信息
1623
+ */
1624
+ SystemDisk?: SpaceSystemDisk;
1625
+ /**
1626
+ * 工作空间数据盘信息
1627
+ */
1628
+ DataDisks?: Array<SpaceDataDisk>;
1629
+ /**
1630
+ * 私有网络相关信息
1631
+ */
1632
+ VirtualPrivateCloud?: SpaceVirtualPrivateCloud;
1633
+ /**
1634
+ * 公网带宽相关信息设置
1635
+ */
1636
+ InternetAccessible?: SpaceInternetAccessible;
1637
+ /**
1638
+ * 购买工作空间数量
1639
+ */
1640
+ SpaceCount?: number;
1641
+ /**
1642
+ * 工作空间显示名称
1643
+ */
1644
+ SpaceName?: string;
1645
+ /**
1646
+ * 工作空间登陆设置
1647
+ */
1648
+ LoginSettings?: LoginSettings;
1649
+ /**
1650
+ * 工作空间所属安全组
1651
+ */
1652
+ SecurityGroupIds?: Array<string>;
1653
+ /**
1654
+ * 增强服务
1655
+ */
1656
+ EnhancedService?: EnhancedService;
1657
+ /**
1658
+ * 是否只预检此次请求
1659
+ */
1660
+ DryRun?: boolean;
1661
+ /**
1662
+ * 提供给工作空间使用的用户数据
1663
+ */
1664
+ UserData?: string;
1665
+ /**
1666
+ * 置放群组id
1667
+ */
1668
+ DisasterRecoverGroupIds?: Array<string>;
1669
+ /**
1670
+ * 标签描述列表
1671
+ */
1672
+ TagSpecification?: Array<TagSpecification>;
1673
+ /**
1674
+ * 高性能计算集群ID
1675
+ */
1676
+ HpcClusterId?: string;
1677
+ /**
1678
+ * CAM角色名称
1679
+ */
1680
+ CamRoleName?: string;
1681
+ /**
1682
+ * 实例主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:主机名名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:主机名字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li><br><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server{R:3}`,购买1台时,实例主机名为`server3`;购买2台时,实例主机名分别为`server3`,`server4`。支持指定多个模式串`{R:x}`。</li><br><li>购买多台实例,如果不指定模式串,则在实例主机名添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server`,购买2台时,实例主机名分别为`server1`,`server2`。</li>
1683
+ */
1684
+ HostName?: string;
1460
1685
  }
1461
1686
  /**
1462
1687
  * CreateCluster请求参数结构体
@@ -1573,6 +1798,36 @@ export interface DescribeClusterStorageOptionResponse {
1573
1798
  */
1574
1799
  RequestId?: string;
1575
1800
  }
1801
+ /**
1802
+ * CreateScheduledAction返回参数结构体
1803
+ */
1804
+ export interface CreateScheduledActionResponse {
1805
+ /**
1806
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1807
+ */
1808
+ RequestId?: string;
1809
+ }
1810
+ /**
1811
+ * 集群存储选项概览信息。
1812
+ */
1813
+ export interface StorageOptionOverview {
1814
+ /**
1815
+ * <p>CFS存储选项概览信息列表。</p>
1816
+ */
1817
+ CFSOptions?: Array<CFSOptionOverview>;
1818
+ /**
1819
+ * <p>GooseFS存储选项概览信息列表。</p>
1820
+ */
1821
+ GooseFSOptions?: Array<GooseFSOptionOverview>;
1822
+ /**
1823
+ * <p>GooseFSx存储选项概览信息列表。</p>
1824
+ */
1825
+ GooseFSxOptions?: Array<GooseFSxOptionOverview>;
1826
+ /**
1827
+ * <p>COS存储选项概览信息列表。</p>
1828
+ */
1829
+ CosOptions?: Array<CosOptionOverview>;
1830
+ }
1576
1831
  /**
1577
1832
  * 描述节点执行脚本信息。
1578
1833
  */
@@ -1669,17 +1924,17 @@ export interface OutputRedirect {
1669
1924
  Options?: Array<string>;
1670
1925
  }
1671
1926
  /**
1672
- * ModifyWorkspacesAttribute请求参数结构体
1927
+ * DeleteQueue请求参数结构体
1673
1928
  */
1674
- export interface ModifyWorkspacesAttributeRequest {
1929
+ export interface DeleteQueueRequest {
1675
1930
  /**
1676
- * 工作空间列表
1931
+ * 集群ID。
1677
1932
  */
1678
- SpaceIds: Array<string>;
1933
+ ClusterId: string;
1679
1934
  /**
1680
- * 修改后的工作空间名称。可任意命名,但不得超过60个字符。
1935
+ * 队列名称。<br><li>最多支持32个字符。
1681
1936
  */
1682
- SpaceName?: string;
1937
+ QueueName: string;
1683
1938
  }
1684
1939
  /**
1685
1940
  * >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
@@ -1709,6 +1964,19 @@ export interface Docker {
1709
1964
  */
1710
1965
  RunArgs?: Array<string>;
1711
1966
  }
1967
+ /**
1968
+ * InquirePriceCreateWorkspaces返回参数结构体
1969
+ */
1970
+ export interface InquirePriceCreateWorkspacesResponse {
1971
+ /**
1972
+ * 该参数表示对应配置实例的价格
1973
+ */
1974
+ Price?: Price;
1975
+ /**
1976
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1977
+ */
1978
+ RequestId?: string;
1979
+ }
1712
1980
  /**
1713
1981
  * ModifyWorkspacesChargeType请求参数结构体
1714
1982
  */
@@ -1901,53 +2169,17 @@ export interface ComputeNode {
1901
2169
  ResourceType?: string;
1902
2170
  }
1903
2171
  /**
1904
- * 描述了单项的价格信息。
2172
+ * DeleteNodes请求参数结构体
1905
2173
  */
1906
- export interface ItemPrice {
1907
- /**
1908
- * 预支合计费用的原价,预付费模式使用,单位:元。
1909
- 注意:此字段可能返回 null,表示取不到有效值。
1910
- */
1911
- OriginalPrice?: number;
1912
- /**
1913
- * 预支合计费用的折扣价,预付费模式使用,单位:元。
1914
- 注意:此字段可能返回 null,表示取不到有效值。
1915
- */
1916
- DiscountPrice?: number;
1917
- /**
1918
- * 折扣,如20.0代表2折。
1919
- 注意:此字段可能返回 null,表示取不到有效值。
1920
- */
1921
- Discount?: number;
1922
- /**
1923
- * 后续合计费用的原价,后付费模式使用,单位:元。
1924
-
1925
- 如返回了其他时间区间项,如UnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
1926
- 注意:此字段可能返回 null,表示取不到有效值。
1927
- */
1928
- UnitPrice?: number;
1929
- /**
1930
- * 后续合计费用的折扣价,后付费模式使用,单位:元
1931
-
1932
- 如返回了其他时间区间项,如DiscountUnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
1933
- 注意:此字段可能返回 null,表示取不到有效值。
1934
- */
1935
- DiscountUnitPrice?: number;
2174
+ export interface DeleteNodesRequest {
1936
2175
  /**
1937
- * 后续计价单元,后付费模式使用,可取值范围:
1938
-
1939
- HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR):
1940
- GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
1941
- 注意:此字段可能返回 null,表示取不到有效值。
2176
+ * 集群ID。
1942
2177
  */
1943
- ChargeUnit?: string;
2178
+ ClusterId: string;
1944
2179
  /**
1945
- * 后续合计费用的折扣价,后付费模式使用,单位:元
1946
-
1947
- 如返回了其他时间区间项,如UnitPriceDiscount
1948
- float,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
2180
+ * 节点ID。
1949
2181
  */
1950
- UnitPriceDiscount?: number;
2182
+ NodeIds: Array<string>;
1951
2183
  }
1952
2184
  /**
1953
2185
  * DeleteClusterStorageOption返回参数结构体
@@ -1968,50 +2200,26 @@ export interface TerminateJobResponse {
1968
2200
  RequestId?: string;
1969
2201
  }
1970
2202
  /**
1971
- * 描述了工作空间的公网可访问性,声明了工作空间的公网使用计费模式,最大带宽等
2203
+ * DescribeQueueAutoScaling请求参数结构体
1972
2204
  */
1973
- export interface SpaceInternetAccessible {
1974
- /**
1975
- * 网络计费类型
1976
- 注意:此字段可能返回 null,表示取不到有效值。
1977
- */
1978
- InternetChargeType?: string;
1979
- /**
1980
- * 公网出带宽上限,默认为0
1981
- 注意:此字段可能返回 null,表示取不到有效值。
1982
- */
1983
- InternetMaxBandwidthOut?: number;
2205
+ export interface DescribeQueueAutoScalingRequest {
1984
2206
  /**
1985
- * 是否分配公网IP
1986
- 注意:此字段可能返回 null,表示取不到有效值。
2207
+ * 集群 ID。
1987
2208
  */
1988
- PublicIpAssigned?: boolean;
2209
+ ClusterId: string;
1989
2210
  /**
1990
- * 带宽包ID
1991
- 注意:此字段可能返回 null,表示取不到有效值。
2211
+ * 队列名称。不传则返回所有队列的弹性伸缩配置。
1992
2212
  */
1993
- BandwidthPackageId?: string;
2213
+ QueueName?: string;
1994
2214
  }
1995
2215
  /**
1996
- * DescribeJobs请求参数结构体
2216
+ * DescribeQueueAutoScaling返回参数结构体
1997
2217
  */
1998
- export interface DescribeJobsRequest {
2218
+ export interface DescribeQueueAutoScalingResponse {
1999
2219
  /**
2000
- * 作业任务ID列表
2001
- */
2002
- JobIds?: Array<string>;
2003
- /**
2004
- * 过滤列表
2005
- */
2006
- Filters?: Array<Filter>;
2007
- /**
2008
- * 偏移量,默认为0。 关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
2009
- */
2010
- Offset?: number;
2011
- /**
2012
- * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
2220
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2013
2221
  */
2014
- Limit?: number;
2222
+ RequestId?: string;
2015
2223
  }
2016
2224
  /**
2017
2225
  * GooseFSx存储选项概览信息。
@@ -2326,6 +2534,40 @@ export interface CreateWorkspacesRequest {
2326
2534
  */
2327
2535
  HostName?: string;
2328
2536
  }
2537
+ /**
2538
+ * 启动模板扩容覆盖配置。ExpansionMode=MULTI_CARD 时通过此对象指定机型族、卡数折算等覆盖参数。
2539
+ */
2540
+ export interface TemplateOverrides {
2541
+ /**
2542
+ * <p>候选机型族列表,最多 10 个。MULTI_CARD 模式的明确标志字段。</p>
2543
+ 注意:此字段可能返回 null,表示取不到有效值。
2544
+ */
2545
+ InstanceFamilies?: Array<string>;
2546
+ /**
2547
+ * <p>每节点 GPU 卡数。</p>
2548
+ 注意:此字段可能返回 null,表示取不到有效值。
2549
+ */
2550
+ GpuCountPerNode?: number;
2551
+ /**
2552
+ * <p>是否启用混合 GPU 卡数折算,默认 false。未传时保持已持久化的混卡开关。</p>
2553
+ 注意:此字段可能返回 null,表示取不到有效值。
2554
+ */
2555
+ EnableMixedGpuCount?: boolean;
2556
+ /**
2557
+ * <p>是否启用多可用区扩容。未传时保持已持久化的分区策略,局部更新不得覆盖。</p>
2558
+ 注意:此字段可能返回 null,表示取不到有效值。
2559
+ */
2560
+ EnableMultiZone?: boolean;
2561
+ }
2562
+ /**
2563
+ * DescribeQueueAutoScalingOverview返回参数结构体
2564
+ */
2565
+ export interface DescribeQueueAutoScalingOverviewResponse {
2566
+ /**
2567
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2568
+ */
2569
+ RequestId?: string;
2570
+ }
2329
2571
  /**
2330
2572
  * 工作空间系统盘配置
2331
2573
  */
@@ -2444,6 +2686,15 @@ export interface DescribeClusterActivitiesRequest {
2444
2686
  */
2445
2687
  Limit?: number;
2446
2688
  }
2689
+ /**
2690
+ * DeleteScheduledAction返回参数结构体
2691
+ */
2692
+ export interface DeleteScheduledActionResponse {
2693
+ /**
2694
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2695
+ */
2696
+ RequestId?: string;
2697
+ }
2447
2698
  /**
2448
2699
  * DescribeJobs返回参数结构体
2449
2700
  */
@@ -2462,31 +2713,93 @@ export interface DescribeJobsResponse {
2462
2713
  RequestId?: string;
2463
2714
  }
2464
2715
  /**
2465
- * ModifyClusterDeletionProtection请求参数结构体
2716
+ * AddNodes请求参数结构体
2466
2717
  */
2467
- export interface ModifyClusterDeletionProtectionRequest {
2718
+ export interface AddNodesRequest {
2468
2719
  /**
2469
- * 集群ID。
2720
+ * <p>集群中实例所在的位置。</p>
2721
+ */
2722
+ Placement: Placement;
2723
+ /**
2724
+ * <p>集群ID。</p>
2470
2725
  */
2471
2726
  ClusterId: string;
2472
2727
  /**
2473
- * 集群删除保护开关。
2474
- 可选值:<li>OFF:关闭集群删除保护。</li><li>ON:打开集群删除保护。</li>
2728
+ * <p>私有网络相关信息配置。</p>
2475
2729
  */
2476
- DeletionProtection: string;
2477
- }
2478
- /**
2479
- * DescribeInitNodeScripts返回参数结构体
2480
- */
2481
- export interface DescribeInitNodeScriptsResponse {
2730
+ VirtualPrivateCloud: VirtualPrivateCloud;
2482
2731
  /**
2483
- * 节点初始化脚本列表。
2732
+ * <p>添加节点数量。</p>
2484
2733
  */
2485
- InitNodeScriptSet?: Array<NodeScript>;
2734
+ Count: number;
2486
2735
  /**
2487
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2736
+ * <p>指定有效的<a href="https://cloud.tencent.com/document/product/213/4940">镜像</a>ID,格式形如<code>img-xxx</code>。目前支持部分公有镜像和自定义镜像。公共镜像请参考<a href="https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F">镜像限制</a></p>
2488
2737
  */
2489
- RequestId?: string;
2738
+ ImageId?: string;
2739
+ /**
2740
+ * <p>节点<a href="https://cloud.tencent.com/document/product/213/2180">计费类型</a>。<br><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>默认值:POSTPAID_BY_HOUR。</p>
2741
+ */
2742
+ InstanceChargeType?: string;
2743
+ /**
2744
+ * <p>预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。</p>
2745
+ */
2746
+ InstanceChargePrepaid?: InstanceChargePrepaid;
2747
+ /**
2748
+ * <p>节点机型。不同实例机型指定了不同的资源规格。<br><li>具体取值可通过调用接口<a href="https://cloud.tencent.com/document/api/213/15749">DescribeInstanceTypeConfigs</a>来获得最新的规格表或参见<a href="https://cloud.tencent.com/document/product/213/11518">实例规格</a>描述。</li></p>
2749
+ */
2750
+ InstanceType?: string;
2751
+ /**
2752
+ * <p>节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。</p>
2753
+ */
2754
+ SystemDisk?: SystemDisk;
2755
+ /**
2756
+ * <p>节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。</p>
2757
+ */
2758
+ DataDisks?: Array<DataDisk>;
2759
+ /**
2760
+ * <p>公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。</p>
2761
+ */
2762
+ InternetAccessible?: InternetAccessible;
2763
+ /**
2764
+ * <p>节点显示名称。<br>不指定节点显示名称则默认显示‘未命名’。<br>最多支持60个字符。</p>
2765
+ */
2766
+ InstanceName?: string;
2767
+ /**
2768
+ * <p>集群登录设置。</p>
2769
+ */
2770
+ LoginSettings?: LoginSettings;
2771
+ /**
2772
+ * <p>集群中实例所属安全组。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。</p>
2773
+ */
2774
+ SecurityGroupIds?: Array<string>;
2775
+ /**
2776
+ * <p>用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。</p>
2777
+ */
2778
+ ClientToken?: string;
2779
+ /**
2780
+ * <p>队列名称。不指定则为默认队列。<li>SLURM默认队列为:compute。</li></p>
2781
+ */
2782
+ QueueName?: string;
2783
+ /**
2784
+ * <p>添加节点角色。默认值:Compute<br><li>Compute:计算节点。</li><li>Login:登录节点。</li></p>
2785
+ */
2786
+ NodeRole?: string;
2787
+ /**
2788
+ * <p>是否只预检此次请求。<br>true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和云服务器库存。<br>如果检查不通过,则返回对应错误码;<br>如果检查通过,则返回RequestId.<br>false(默认):发送正常请求,通过检查后直接创建实例</p>
2789
+ */
2790
+ DryRun?: boolean;
2791
+ /**
2792
+ * <p>添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。</li><li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。</li></p>
2793
+ */
2794
+ NodeType?: string;
2795
+ /**
2796
+ * <p>实例所属项目ID。该参数可以通过调用 <a href="https://cloud.tencent.com/document/api/651/78725">DescribeProject</a> 的返回值中的 projectId 字段来获取。不填为默认项目。</p>
2797
+ */
2798
+ ProjectId?: number;
2799
+ /**
2800
+ * <p>要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。</p>
2801
+ */
2802
+ ResourceType?: string;
2490
2803
  }
2491
2804
  /**
2492
2805
  * CFS存储选项概览信息。
@@ -2517,17 +2830,17 @@ export interface CFSOptionOverview {
2517
2830
  MountOption?: string;
2518
2831
  }
2519
2832
  /**
2520
- * DeleteQueue请求参数结构体
2833
+ * ModifyWorkspacesAttribute请求参数结构体
2521
2834
  */
2522
- export interface DeleteQueueRequest {
2835
+ export interface ModifyWorkspacesAttributeRequest {
2523
2836
  /**
2524
- * 集群ID。
2837
+ * 工作空间列表
2525
2838
  */
2526
- ClusterId: string;
2839
+ SpaceIds: Array<string>;
2527
2840
  /**
2528
- * 队列名称。<br><li>最多支持32个字符。
2841
+ * 修改后的工作空间名称。可任意命名,但不得超过60个字符。
2529
2842
  */
2530
- QueueName: string;
2843
+ SpaceName?: string;
2531
2844
  }
2532
2845
  /**
2533
2846
  * AddClusterStorageOption请求参数结构体
@@ -2583,6 +2896,24 @@ export interface VirtualPrivateCloud {
2583
2896
  */
2584
2897
  SubnetId: string;
2585
2898
  }
2899
+ /**
2900
+ * SetQueueAutoScaling返回参数结构体
2901
+ */
2902
+ export interface SetQueueAutoScalingResponse {
2903
+ /**
2904
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2905
+ */
2906
+ RequestId?: string;
2907
+ }
2908
+ /**
2909
+ * TerminateWorkspaces返回参数结构体
2910
+ */
2911
+ export interface TerminateWorkspacesResponse {
2912
+ /**
2913
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2914
+ */
2915
+ RequestId?: string;
2916
+ }
2586
2917
  /**
2587
2918
  * DescribeAutoScalingConfiguration请求参数结构体
2588
2919
  */
@@ -2633,6 +2964,27 @@ export interface InternetAccessible {
2633
2964
  */
2634
2965
  InternetMaxBandwidthOut?: number;
2635
2966
  }
2967
+ /**
2968
+ * SetQueueAutoScaling请求参数结构体
2969
+ */
2970
+ export interface SetQueueAutoScalingRequest {
2971
+ /**
2972
+ * 集群 ID。
2973
+ */
2974
+ ClusterId: string;
2975
+ /**
2976
+ * 队列名称。
2977
+ */
2978
+ QueueName: string;
2979
+ /**
2980
+ * <p>伸缩容量策略,用于设置目标容量及容量单位。单独传入时仅更新容量相关配置,未传字段保持原值。</p>
2981
+ */
2982
+ ScalingPolicy?: ScalingPolicy;
2983
+ /**
2984
+ * <p>扩容策略,用于配置启动模板、机型族、GPU 卡数、规格优先级和多可用区等扩容方式。单独传入时仅更新扩容相关配置,未传字段保持原值。</p>
2985
+ */
2986
+ ExpansionPolicy?: ExpansionPolicy;
2987
+ }
2636
2988
  /**
2637
2989
  * 作业概览信息
2638
2990
  */
@@ -2728,3 +3080,52 @@ export interface InstanceChargePrepaid {
2728
3080
  */
2729
3081
  RenewFlag?: string;
2730
3082
  }
3083
+ /**
3084
+ * 描述了单项的价格信息。
3085
+ */
3086
+ export interface ItemPrice {
3087
+ /**
3088
+ * 预支合计费用的原价,预付费模式使用,单位:元。
3089
+ 注意:此字段可能返回 null,表示取不到有效值。
3090
+ */
3091
+ OriginalPrice?: number;
3092
+ /**
3093
+ * 预支合计费用的折扣价,预付费模式使用,单位:元。
3094
+ 注意:此字段可能返回 null,表示取不到有效值。
3095
+ */
3096
+ DiscountPrice?: number;
3097
+ /**
3098
+ * 折扣,如20.0代表2折。
3099
+ 注意:此字段可能返回 null,表示取不到有效值。
3100
+ */
3101
+ Discount?: number;
3102
+ /**
3103
+ * 后续合计费用的原价,后付费模式使用,单位:元。
3104
+
3105
+ 如返回了其他时间区间项,如UnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
3106
+ 注意:此字段可能返回 null,表示取不到有效值。
3107
+ */
3108
+ UnitPrice?: number;
3109
+ /**
3110
+ * 后续合计费用的折扣价,后付费模式使用,单位:元
3111
+
3112
+ 如返回了其他时间区间项,如DiscountUnitPriceSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
3113
+ 注意:此字段可能返回 null,表示取不到有效值。
3114
+ */
3115
+ DiscountUnitPrice?: number;
3116
+ /**
3117
+ * 后续计价单元,后付费模式使用,可取值范围:
3118
+
3119
+ HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR):
3120
+ GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
3121
+ 注意:此字段可能返回 null,表示取不到有效值。
3122
+ */
3123
+ ChargeUnit?: string;
3124
+ /**
3125
+ * 后续合计费用的折扣价,后付费模式使用,单位:元
3126
+
3127
+ 如返回了其他时间区间项,如UnitPriceDiscount
3128
+ float,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
3129
+ */
3130
+ UnitPriceDiscount?: number;
3131
+ }