tencentcloud-sdk-nodejs-emr 4.0.705 → 4.0.707

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.
@@ -533,6 +533,21 @@ export interface Step {
533
533
  */
534
534
  User?: string;
535
535
  }
536
+ /**
537
+ * 键值对,主要用来做Filter
538
+ */
539
+ export interface KeyValue {
540
+ /**
541
+ * 键
542
+ 注意:此字段可能返回 null,表示取不到有效值。
543
+ */
544
+ Key: string;
545
+ /**
546
+ * 值
547
+ 注意:此字段可能返回 null,表示取不到有效值。
548
+ */
549
+ Value: string;
550
+ }
536
551
  /**
537
552
  * DescribeEmrApplicationStatics请求参数结构体
538
553
  */
@@ -904,6 +919,21 @@ export interface ClusterInstancesInfo {
904
919
  */
905
920
  IsCvmReplace: boolean;
906
921
  }
922
+ /**
923
+ * 子网信息
924
+ */
925
+ export interface SubnetInfo {
926
+ /**
927
+ * 子网信息(名字)
928
+ 注意:此字段可能返回 null,表示取不到有效值。
929
+ */
930
+ SubnetName?: string;
931
+ /**
932
+ * 子网信息(ID)
933
+ 注意:此字段可能返回 null,表示取不到有效值。
934
+ */
935
+ SubnetId?: string;
936
+ }
907
937
  /**
908
938
  * ScaleOutInstance请求参数结构体
909
939
  */
@@ -2021,6 +2051,57 @@ export interface TerminateInstanceRequest {
2021
2051
  */
2022
2052
  ResourceIds?: Array<string>;
2023
2053
  }
2054
+ /**
2055
+ * 弹性扩缩容记录
2056
+ */
2057
+ export interface AutoScaleRecord {
2058
+ /**
2059
+ * 扩缩容规则名。
2060
+ */
2061
+ StrategyName?: string;
2062
+ /**
2063
+ * "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。
2064
+ */
2065
+ ScaleAction?: string;
2066
+ /**
2067
+ * 取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。
2068
+ */
2069
+ ActionStatus?: string;
2070
+ /**
2071
+ * 流程触发时间。
2072
+ */
2073
+ ActionTime?: string;
2074
+ /**
2075
+ * 扩缩容相关描述信息。
2076
+ */
2077
+ ScaleInfo?: string;
2078
+ /**
2079
+ * 只在ScaleAction为SCALE_OUT时有效。
2080
+ */
2081
+ ExpectScaleNum?: number;
2082
+ /**
2083
+ * 流程结束时间。
2084
+ */
2085
+ EndTime?: string;
2086
+ /**
2087
+ * 策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩
2088
+ */
2089
+ StrategyType?: number;
2090
+ /**
2091
+ * 扩容时所使用规格信息。
2092
+ */
2093
+ SpecInfo?: string;
2094
+ /**
2095
+ * 补偿扩容,0表示不开启,1表示开启
2096
+ 注意:此字段可能返回 null,表示取不到有效值。
2097
+ */
2098
+ CompensateFlag?: number;
2099
+ /**
2100
+ * 补偿次数
2101
+ 注意:此字段可能返回 null,表示取不到有效值。
2102
+ */
2103
+ CompensateCount?: number;
2104
+ }
2024
2105
  /**
2025
2106
  * 流程作业资源描述
2026
2107
  */
@@ -2728,41 +2809,29 @@ export interface ScaleOutNodeConfig {
2728
2809
  NodeCount: number;
2729
2810
  }
2730
2811
  /**
2731
- * 强制修改标签
2812
+ * DeleteUserManagerUserList请求参数结构体
2732
2813
  */
2733
- export interface ModifyResourceTags {
2734
- /**
2735
- * 集群id 或者 cvm id
2736
- */
2737
- ResourceId: string;
2738
- /**
2739
- * 资源6段式表达式
2740
- */
2741
- Resource: string;
2742
- /**
2743
- * 资源前缀
2744
- */
2745
- ResourcePrefix: string;
2814
+ export interface DeleteUserManagerUserListRequest {
2746
2815
  /**
2747
- * ap-beijing
2816
+ * 集群实例ID
2748
2817
  */
2749
- ResourceRegion: string;
2818
+ InstanceId: string;
2750
2819
  /**
2751
- * emr
2820
+ * 集群用户名列表
2752
2821
  */
2753
- ServiceType: string;
2822
+ UserNameList?: Array<string>;
2754
2823
  /**
2755
- * 删除的标签列表
2824
+ * tke/eks集群id,容器集群传
2756
2825
  */
2757
- DeleteTags?: Array<Tag>;
2826
+ TkeClusterId?: string;
2758
2827
  /**
2759
- * 添加的标签列表
2828
+ * 默认空,容器版传"native"
2760
2829
  */
2761
- AddTags?: Array<Tag>;
2830
+ DisplayStrategy?: string;
2762
2831
  /**
2763
- * 修改的标签列表
2832
+ * 用户组
2764
2833
  */
2765
- ModifyTags?: Array<Tag>;
2834
+ UserGroupList?: Array<UserAndGroup>;
2766
2835
  }
2767
2836
  /**
2768
2837
  * 价格详情
@@ -3053,19 +3122,21 @@ export interface CreateClusterResponse {
3053
3122
  RequestId?: string;
3054
3123
  }
3055
3124
  /**
3056
- * 子网信息
3125
+ * DescribeAutoScaleRecords返回参数结构体
3057
3126
  */
3058
- export interface SubnetInfo {
3127
+ export interface DescribeAutoScaleRecordsResponse {
3059
3128
  /**
3060
- * 子网信息(名字)
3061
- 注意:此字段可能返回 null,表示取不到有效值。
3129
+ * 总扩缩容记录数。
3062
3130
  */
3063
- SubnetName?: string;
3131
+ TotalCount?: number;
3064
3132
  /**
3065
- * 子网信息(ID)
3066
- 注意:此字段可能返回 null,表示取不到有效值。
3133
+ * 记录列表。
3067
3134
  */
3068
- SubnetId?: string;
3135
+ RecordList?: Array<AutoScaleRecord>;
3136
+ /**
3137
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3138
+ */
3139
+ RequestId?: string;
3069
3140
  }
3070
3141
  /**
3071
3142
  * DescribeCvmQuota返回参数结构体
@@ -4377,6 +4448,29 @@ export interface PodState {
4377
4448
  */
4378
4449
  Memory: number;
4379
4450
  }
4451
+ /**
4452
+ * ScaleOutCluster返回参数结构体
4453
+ */
4454
+ export interface ScaleOutClusterResponse {
4455
+ /**
4456
+ * 实例ID。
4457
+ */
4458
+ InstanceId?: string;
4459
+ /**
4460
+ * 客户端Token。
4461
+ 注意:此字段可能返回 null,表示取不到有效值。
4462
+ */
4463
+ ClientToken?: string;
4464
+ /**
4465
+ * 扩容流程ID。
4466
+ 注意:此字段可能返回 null,表示取不到有效值。
4467
+ */
4468
+ FlowId?: number;
4469
+ /**
4470
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4471
+ */
4472
+ RequestId?: string;
4473
+ }
4380
4474
  /**
4381
4475
  * 共用组件信息
4382
4476
  */
@@ -4690,29 +4784,41 @@ export interface InquirePriceRenewEmrRequest {
4690
4784
  Currency?: string;
4691
4785
  }
4692
4786
  /**
4693
- * DeleteUserManagerUserList请求参数结构体
4787
+ * 强制修改标签
4694
4788
  */
4695
- export interface DeleteUserManagerUserListRequest {
4789
+ export interface ModifyResourceTags {
4696
4790
  /**
4697
- * 集群实例ID
4791
+ * 集群id 或者 cvm id
4698
4792
  */
4699
- InstanceId: string;
4793
+ ResourceId: string;
4700
4794
  /**
4701
- * 集群用户名列表
4795
+ * 资源6段式表达式
4702
4796
  */
4703
- UserNameList?: Array<string>;
4797
+ Resource: string;
4704
4798
  /**
4705
- * tke/eks集群id,容器集群传
4799
+ * 资源前缀
4706
4800
  */
4707
- TkeClusterId?: string;
4801
+ ResourcePrefix: string;
4708
4802
  /**
4709
- * 默认空,容器版传"native"
4803
+ * ap-beijing
4710
4804
  */
4711
- DisplayStrategy?: string;
4805
+ ResourceRegion: string;
4712
4806
  /**
4713
- * 用户组
4807
+ * emr
4714
4808
  */
4715
- UserGroupList?: Array<UserAndGroup>;
4809
+ ServiceType: string;
4810
+ /**
4811
+ * 删除的标签列表
4812
+ */
4813
+ DeleteTags?: Array<Tag>;
4814
+ /**
4815
+ * 添加的标签列表
4816
+ */
4817
+ AddTags?: Array<Tag>;
4818
+ /**
4819
+ * 修改的标签列表
4820
+ */
4821
+ ModifyTags?: Array<Tag>;
4716
4822
  }
4717
4823
  /**
4718
4824
  * DescribeImpalaQueries返回参数结构体
@@ -5213,27 +5319,25 @@ export interface ServiceBasicRestartInfo {
5213
5319
  ComponentInfoList?: Array<ComponentBasicRestartInfo>;
5214
5320
  }
5215
5321
  /**
5216
- * ScaleOutCluster返回参数结构体
5322
+ * DescribeAutoScaleRecords请求参数结构体
5217
5323
  */
5218
- export interface ScaleOutClusterResponse {
5324
+ export interface DescribeAutoScaleRecordsRequest {
5219
5325
  /**
5220
5326
  * 实例ID。
5221
5327
  */
5222
- InstanceId?: string;
5328
+ InstanceId: string;
5223
5329
  /**
5224
- * 客户端Token。
5225
- 注意:此字段可能返回 null,表示取不到有效值。
5330
+ * 记录过滤参数,目前仅能为“StartTime”,“EndTime”和“StrategyName”。StartTime和EndTime支持2006-01-02 15:04:05 或者2006/01/02 15:04:05的时间格式
5226
5331
  */
5227
- ClientToken?: string;
5332
+ Filters?: Array<KeyValue>;
5228
5333
  /**
5229
- * 扩容流程ID。
5230
- 注意:此字段可能返回 null,表示取不到有效值。
5334
+ * 分页参数。
5231
5335
  */
5232
- FlowId?: number;
5336
+ Offset?: number;
5233
5337
  /**
5234
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5338
+ * 分页参数。最大支持100
5235
5339
  */
5236
- RequestId?: string;
5340
+ Limit?: number;
5237
5341
  }
5238
5342
  /**
5239
5343
  * 机器资源描述。