tencentcloud-sdk-nodejs-thpc 4.0.691 → 4.0.693

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.
@@ -432,6 +432,15 @@ export interface CreateClusterResponse {
432
432
  */
433
433
  RequestId?: string;
434
434
  }
435
+ /**
436
+ * 描述了 “云安全” 服务相关的信息。
437
+ */
438
+ export interface RunSecurityServiceEnabled {
439
+ /**
440
+ * 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>TRUE:表示开启云安全服务<br><li>FALSE:表示不开启云安全服务<br><br>默认取值:TRUE。
441
+ */
442
+ Enabled?: boolean;
443
+ }
435
444
  /**
436
445
  * DescribeQueues请求参数结构体
437
446
  */
@@ -609,76 +618,24 @@ export interface GooseFSOptionOverview {
609
618
  Masters: Array<string>;
610
619
  }
611
620
  /**
612
- * 扩容队列配置。
621
+ * 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
613
622
  */
614
- export interface QueueConfig {
615
- /**
616
- * 队列名称。
617
- */
618
- QueueName: string;
619
- /**
620
- * 队列中弹性节点数量最小值。默认值:0。取值范围:0~200。
621
- */
622
- MinSize?: number;
623
- /**
624
- * 队列中弹性节点数量最大值。默认值:10。取值范围:0~200。
625
- */
626
- MaxSize?: number;
627
- /**
628
- * 是否开启自动扩容。
629
- */
630
- EnableAutoExpansion?: boolean;
631
- /**
632
- * 是否开启自动缩容。
633
- */
634
- EnableAutoShrink?: boolean;
635
- /**
636
- * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
637
- */
638
- ImageId?: string;
639
- /**
640
- * 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
641
- */
642
- SystemDisk?: SystemDisk;
643
- /**
644
- * 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
645
- */
646
- DataDisks?: Array<DataDisk>;
623
+ export interface EnhancedService {
647
624
  /**
648
- * 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
649
- */
650
- InternetAccessible?: InternetAccessible;
651
- /**
652
- * 扩容节点配置信息。
653
- */
654
- ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
655
- /**
656
- * 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
657
- */
658
- DesiredIdleNodeCapacity?: number;
659
- /**
660
- * 扩容比例。默认值:100。取值范围:1~100。
661
- 如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
662
- */
663
- ScaleOutRatio?: number;
664
- /**
665
- * 比例扩容阈值。默认值:0。取值范围:0~200。
666
- 当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
667
- 此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
625
+ * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
626
+ 注意:此字段可能返回 null,表示取不到有效值。
668
627
  */
669
- ScaleOutNodeThreshold?: number;
628
+ SecurityService?: RunSecurityServiceEnabled;
670
629
  /**
671
- * 每轮扩容最大节点个数。默认值:100。取值范围:1~100。
630
+ * 开启云监控服务。若不指定该参数,则默认开启云监控服务。
631
+ 注意:此字段可能返回 null,表示取不到有效值。
672
632
  */
673
- MaxNodesPerCycle?: number;
633
+ MonitorService?: RunMonitorServiceEnabled;
674
634
  /**
675
- * 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
676
- 针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
677
-
678
- - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
679
- - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
635
+ * 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,默认开启云自动化助手服务。
636
+ 注意:此字段可能返回 null,表示取不到有效值。
680
637
  */
681
- ScaleUpMemRatio?: number;
638
+ AutomationService?: RunAutomationServiceEnabled;
682
639
  }
683
640
  /**
684
641
  * 描述了实例的计费模式
@@ -912,6 +869,15 @@ export interface GooseFSOption {
912
869
  */
913
870
  Masters: Array<string>;
914
871
  }
872
+ /**
873
+ * 描述了 “云自动化助手” 服务相关的信息。
874
+ */
875
+ export interface RunAutomationServiceEnabled {
876
+ /**
877
+ * 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:TRUE。
878
+ */
879
+ Enabled?: boolean;
880
+ }
915
881
  /**
916
882
  * DescribeClusterActivities请求参数结构体
917
883
  */
@@ -1116,6 +1082,16 @@ export interface GooseFSxOption {
1116
1082
  */
1117
1083
  LocalPath: string;
1118
1084
  }
1085
+ /**
1086
+ * 描述了 “云监控” 服务相关的信息。
1087
+ */
1088
+ export interface RunMonitorServiceEnabled {
1089
+ /**
1090
+ * 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE。
1091
+ 注意:此字段可能返回 null,表示取不到有效值。
1092
+ */
1093
+ Enabled?: boolean;
1094
+ }
1119
1095
  /**
1120
1096
  * 扩容队列配置概览。
1121
1097
  */
@@ -1270,6 +1246,82 @@ export interface GooseFSxOptionOverview {
1270
1246
  */
1271
1247
  LocalPath?: string;
1272
1248
  }
1249
+ /**
1250
+ * 扩容队列配置。
1251
+ */
1252
+ export interface QueueConfig {
1253
+ /**
1254
+ * 队列名称。
1255
+ */
1256
+ QueueName: string;
1257
+ /**
1258
+ * 队列中弹性节点数量最小值。默认值:0。取值范围:0~200。
1259
+ */
1260
+ MinSize?: number;
1261
+ /**
1262
+ * 队列中弹性节点数量最大值。默认值:10。取值范围:0~200。
1263
+ */
1264
+ MaxSize?: number;
1265
+ /**
1266
+ * 是否开启自动扩容。
1267
+ */
1268
+ EnableAutoExpansion?: boolean;
1269
+ /**
1270
+ * 是否开启自动缩容。
1271
+ */
1272
+ EnableAutoShrink?: boolean;
1273
+ /**
1274
+ * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
1275
+ */
1276
+ ImageId?: string;
1277
+ /**
1278
+ * 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
1279
+ */
1280
+ SystemDisk?: SystemDisk;
1281
+ /**
1282
+ * 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
1283
+ */
1284
+ DataDisks?: Array<DataDisk>;
1285
+ /**
1286
+ * 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
1287
+ */
1288
+ InternetAccessible?: InternetAccessible;
1289
+ /**
1290
+ * 扩容节点配置信息。
1291
+ */
1292
+ ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
1293
+ /**
1294
+ * 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
1295
+ */
1296
+ DesiredIdleNodeCapacity?: number;
1297
+ /**
1298
+ * 扩容比例。默认值:100。取值范围:1~100。
1299
+ 如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
1300
+ */
1301
+ ScaleOutRatio?: number;
1302
+ /**
1303
+ * 比例扩容阈值。默认值:0。取值范围:0~200。
1304
+ 当作业负载需要扩容节点数量大于此值,当前扩容轮次按照ScaleOutRatio配置的比例进行扩容。当作业负载需要扩容节点数量小于此值,当前扩容轮次扩容当前作业负载所需数量的节点。
1305
+ 此参数配合ScaleOutRatio参数进行使用,用于比例扩容场景下,在作业负载所需节点数量较小时,加快收敛速度。
1306
+ */
1307
+ ScaleOutNodeThreshold?: number;
1308
+ /**
1309
+ * 每轮扩容最大节点个数。默认值:100。取值范围:1~100。
1310
+ */
1311
+ MaxNodesPerCycle?: number;
1312
+ /**
1313
+ * 扩容过程中,作业的内存在匹配实例机型时增大比例(不会影响作业提交的内存大小,只影响匹配计算过程)。<br/>
1314
+ 针对场景:由于实例机型的总内存会大于实例内部的可用内存,16GB内存规格的实例,实例操作系统内的可用内存只有约14.9GB内存。假设此时提交一个需要15GB内存的作业,
1315
+
1316
+ - 当ScaleUpMemRatio=0时,会匹配到16GB内存规格的实例,但是由于操作系统内的可用内存为14.9GB小于作业所需的15GB,扩容出来的实例作业无法运行起来。
1317
+ - 当ScaleUpMemRatio=10时,匹配实例规格会按照15*(1+10%)=16.5GB来进行实例规格匹配,则不会匹配到16GB的实例,而是更大内存规格的实例来保证作业能够被运行起来。
1318
+ */
1319
+ ScaleUpMemRatio?: number;
1320
+ /**
1321
+ * 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务、自动化助手服务。
1322
+ */
1323
+ EnhancedService?: EnhancedService;
1324
+ }
1273
1325
  /**
1274
1326
  * DescribeAutoScalingConfiguration请求参数结构体
1275
1327
  */