tencentcloud-sdk-nodejs-thpc 4.0.519 → 4.0.521

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.
@@ -1,3 +1,37 @@
1
+ /**
2
+ * DescribeAutoScalingConfiguration返回参数结构体
3
+ */
4
+ export interface DescribeAutoScalingConfigurationResponse {
5
+ /**
6
+ * 集群ID。
7
+ */
8
+ ClusterId?: string;
9
+ /**
10
+ * 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。
11
+ */
12
+ ExpansionBusyTime?: number;
13
+ /**
14
+ * 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。
15
+ */
16
+ ShrinkIdleTime?: number;
17
+ /**
18
+ * 扩容队列配置概览列表。
19
+ */
20
+ QueueConfigs?: Array<QueueConfigOverview>;
21
+ /**
22
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
23
+ */
24
+ RequestId?: string;
25
+ }
26
+ /**
27
+ * DescribeClusterStorageOption请求参数结构体
28
+ */
29
+ export interface DescribeClusterStorageOptionRequest {
30
+ /**
31
+ * 集群ID。
32
+ */
33
+ ClusterId: string;
34
+ }
1
35
  /**
2
36
  * 集群概览信息。
3
37
  */
@@ -128,6 +162,19 @@ export interface AddClusterStorageOptionResponse {
128
162
  */
129
163
  RequestId?: string;
130
164
  }
165
+ /**
166
+ * 集群存储选项概览信息。
167
+ */
168
+ export interface StorageOptionOverview {
169
+ /**
170
+ * CFS存储选项概览信息列表。
171
+ */
172
+ CFSOptions: Array<CFSOptionOverview>;
173
+ /**
174
+ * GooseFS存储选项概览信息列表。
175
+ */
176
+ GooseFSOptions: Array<GooseFSOptionOverview>;
177
+ }
131
178
  /**
132
179
  * DeleteCluster返回参数结构体
133
180
  */
@@ -431,11 +478,50 @@ export interface CreateClusterRequest {
431
478
  * DescribeClusterStorageOption返回参数结构体
432
479
  */
433
480
  export interface DescribeClusterStorageOptionResponse {
481
+ /**
482
+ * 集群存储选项信息概览。
483
+ */
484
+ StorageOption?: StorageOptionOverview;
434
485
  /**
435
486
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
436
487
  */
437
488
  RequestId?: string;
438
489
  }
490
+ /**
491
+ * GooseFS存储选项概览信息。
492
+ */
493
+ export interface GooseFSOptionOverview {
494
+ /**
495
+ * 文件系统本地挂载路径。
496
+ */
497
+ LocalPath: string;
498
+ /**
499
+ * 文件系统远程挂载路径。
500
+ */
501
+ RemotePath: string;
502
+ /**
503
+ * 文件系统master的ip和端口。
504
+ */
505
+ Masters: Array<string>;
506
+ }
507
+ /**
508
+ * 描述了实例的计费模式
509
+ */
510
+ export interface InstanceChargePrepaid {
511
+ /**
512
+ * 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
513
+ */
514
+ Period: number;
515
+ /**
516
+ * 自动续费标识。取值范围:
517
+ NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
518
+ NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
519
+ DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
520
+
521
+ 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
522
+ */
523
+ RenewFlag?: string;
524
+ }
439
525
  /**
440
526
  * 标签键值对。
441
527
  */
@@ -690,6 +776,30 @@ export interface AddNodesRequest {
690
776
  */
691
777
  DryRun?: boolean;
692
778
  }
779
+ /**
780
+ * CFS存储选项概览信息。
781
+ */
782
+ export interface CFSOptionOverview {
783
+ /**
784
+ * 文件系统本地挂载路径。
785
+ */
786
+ LocalPath: string;
787
+ /**
788
+ * 文件系统远程挂载ip及路径。
789
+ */
790
+ RemotePath: string;
791
+ /**
792
+ * 文件系统协议类型。
793
+ <li>NFS 3.0。
794
+ <li>NFS 4.0。
795
+ <li>TURBO。
796
+ */
797
+ Protocol: string;
798
+ /**
799
+ * 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
800
+ */
801
+ StorageType: string;
802
+ }
693
803
  /**
694
804
  * DeleteClusterStorageOption请求参数结构体
695
805
  */
@@ -716,6 +826,35 @@ export interface AddClusterStorageOptionRequest {
716
826
  */
717
827
  StorageOption: StorageOption;
718
828
  }
829
+ /**
830
+ * 扩容队列配置概览。
831
+ */
832
+ export interface QueueConfigOverview {
833
+ /**
834
+ * 队列名称。
835
+ */
836
+ QueueName?: string;
837
+ /**
838
+ * 队列中弹性节点数量最小值。取值范围0~200。
839
+ */
840
+ MinSize?: number;
841
+ /**
842
+ * 队列中弹性节点数量最大值。取值范围0~200。
843
+ */
844
+ MaxSize?: number;
845
+ /**
846
+ * 是否开启自动扩容。
847
+ */
848
+ EnableAutoExpansion?: boolean;
849
+ /**
850
+ * 是否开启自动缩容。
851
+ */
852
+ EnableAutoShrink?: boolean;
853
+ /**
854
+ * 扩容节点配置信息。
855
+ */
856
+ ExpansionNodeConfigs?: Array<ExpansionNodeConfigOverview>;
857
+ }
719
858
  /**
720
859
  * BindAutoScalingGroup请求参数结构体
721
860
  */
@@ -775,27 +914,59 @@ export interface VirtualPrivateCloud {
775
914
  SubnetId: string;
776
915
  }
777
916
  /**
778
- * 描述了实例的计费模式
917
+ * 扩容节点配置信息概览。
779
918
  */
780
- export interface InstanceChargePrepaid {
919
+ export interface ExpansionNodeConfigOverview {
781
920
  /**
782
- * 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
783
- */
784
- Period: number;
921
+ * 节点机型。
922
+ 注意:此字段可能返回 null,表示取不到有效值。
923
+ */
924
+ InstanceType?: string;
785
925
  /**
786
- * 自动续费标识。取值范围:
787
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
788
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
789
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
790
-
791
- 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
926
+ * 扩容实例所在的位置。
927
+ 注意:此字段可能返回 null,表示取不到有效值。
792
928
  */
793
- RenewFlag?: string;
929
+ Placement?: Placement;
930
+ /**
931
+ * 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。
932
+ 注意:此字段可能返回 null,表示取不到有效值。
933
+ */
934
+ InstanceChargeType?: string;
935
+ /**
936
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
937
+ 注意:此字段可能返回 null,表示取不到有效值。
938
+ */
939
+ InstanceChargePrepaid?: InstanceChargePrepaid;
940
+ /**
941
+ * 私有网络相关信息配置。
942
+ 注意:此字段可能返回 null,表示取不到有效值。
943
+ */
944
+ VirtualPrivateCloud?: VirtualPrivateCloud;
945
+ /**
946
+ * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。
947
+ 注意:此字段可能返回 null,表示取不到有效值。
948
+ */
949
+ ImageId?: string;
950
+ /**
951
+ * 公网带宽相关信息设置。
952
+ 注意:此字段可能返回 null,表示取不到有效值。
953
+ */
954
+ InternetAccessible?: InternetAccessible;
955
+ /**
956
+ * 节点系统盘配置信息。
957
+ 注意:此字段可能返回 null,表示取不到有效值。
958
+ */
959
+ SystemDisk?: SystemDisk;
960
+ /**
961
+ * 节点数据盘配置信息。
962
+ 注意:此字段可能返回 null,表示取不到有效值。
963
+ */
964
+ DataDisks?: Array<DataDisk>;
794
965
  }
795
966
  /**
796
- * DescribeClusterStorageOption请求参数结构体
967
+ * DescribeAutoScalingConfiguration请求参数结构体
797
968
  */
798
- export interface DescribeClusterStorageOptionRequest {
969
+ export interface DescribeAutoScalingConfigurationRequest {
799
970
  /**
800
971
  * 集群ID。
801
972
  */