tencentcloud-sdk-nodejs-emr 4.0.343 → 4.0.346
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.
- package/CHANGELOG.md +498 -0
- package/SERVICE_CHANGELOG.md +441 -41
- package/package.json +1 -1
- package/products.md +26 -26
- package/src/services/emr/v20190103/emr_client.ts +147 -108
- package/src/services/emr/v20190103/emr_models.ts +349 -57
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +51 -39
- package/tencentcloud/services/emr/v20190103/emr_client.js +75 -57
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +298 -52
|
@@ -28,16 +28,58 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
super("emr.tencentcloudapi.com", "2019-01-03", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 销毁EMR实例。此接口仅支持弹性MapReduce正式计费版本。
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async TerminateInstance(req, cb) {
|
|
34
|
+
return this.request("TerminateInstance", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 变配询价
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async InquiryPriceUpdateInstance(req, cb) {
|
|
40
|
+
return this.request("InquiryPriceUpdateInstance", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 批量导出用户
|
|
44
|
+
*/
|
|
45
|
+
async DescribeUsersForUserManager(req, cb) {
|
|
46
|
+
return this.request("DescribeUsersForUserManager", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 续费询价。
|
|
50
|
+
*/
|
|
51
|
+
async InquiryPriceRenewInstance(req, cb) {
|
|
52
|
+
return this.request("InquiryPriceRenewInstance", req, cb);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 查询流程任务
|
|
56
|
+
*/
|
|
57
|
+
async DescribeJobFlow(req, cb) {
|
|
58
|
+
return this.request("DescribeJobFlow", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 集群续费询价。
|
|
62
|
+
*/
|
|
63
|
+
async InquirePriceRenewEmr(req, cb) {
|
|
64
|
+
return this.request("InquirePriceRenewEmr", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 扩容询价. 当扩容时候,请通过该接口查询价格。
|
|
68
|
+
*/
|
|
69
|
+
async InquiryPriceScaleOutInstance(req, cb) {
|
|
70
|
+
return this.request("InquiryPriceScaleOutInstance", req, cb);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 获取账户的CVM配额
|
|
74
|
+
*/
|
|
75
|
+
async DescribeCvmQuota(req, cb) {
|
|
76
|
+
return this.request("DescribeCvmQuota", req, cb);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 实例扩容
|
|
80
|
+
*/
|
|
81
|
+
async ScaleOutInstance(req, cb) {
|
|
82
|
+
return this.request("ScaleOutInstance", req, cb);
|
|
41
83
|
}
|
|
42
84
|
/**
|
|
43
85
|
* 查询EMR实例
|
|
@@ -46,16 +88,22 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
88
|
return this.request("DescribeInstances", req, cb);
|
|
47
89
|
}
|
|
48
90
|
/**
|
|
49
|
-
*
|
|
91
|
+
* 创建流程作业
|
|
50
92
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
93
|
+
async RunJobFlow(req, cb) {
|
|
94
|
+
return this.request("RunJobFlow", req, cb);
|
|
53
95
|
}
|
|
54
96
|
/**
|
|
55
|
-
*
|
|
97
|
+
* 新增用户列表(用户管理)
|
|
56
98
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
99
|
+
async AddUsersForUserManager(req, cb) {
|
|
100
|
+
return this.request("AddUsersForUserManager", req, cb);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* 预付费集群隔离后续费资源查询
|
|
104
|
+
*/
|
|
105
|
+
async DescribeInstanceRenewNodes(req, cb) {
|
|
106
|
+
return this.request("DescribeInstanceRenewNodes", req, cb);
|
|
59
107
|
}
|
|
60
108
|
/**
|
|
61
109
|
* 修改了yarn的资源调度器,点击部署生效
|
|
@@ -64,10 +112,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
64
112
|
return this.request("ModifyResourceScheduler", req, cb);
|
|
65
113
|
}
|
|
66
114
|
/**
|
|
67
|
-
*
|
|
115
|
+
* EMR同步TKE中POD状态
|
|
68
116
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
117
|
+
async SyncPodState(req, cb) {
|
|
118
|
+
return this.request("SyncPodState", req, cb);
|
|
71
119
|
}
|
|
72
120
|
/**
|
|
73
121
|
* 创建EMR集群实例
|
|
@@ -75,36 +123,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
75
123
|
async CreateInstance(req, cb) {
|
|
76
124
|
return this.request("CreateInstance", req, cb);
|
|
77
125
|
}
|
|
78
|
-
/**
|
|
79
|
-
* 刷新动态资源池
|
|
80
|
-
*/
|
|
81
|
-
async ModifyResourcePools(req, cb) {
|
|
82
|
-
return this.request("ModifyResourcePools", req, cb);
|
|
83
|
-
}
|
|
84
126
|
/**
|
|
85
127
|
* 创建实例询价
|
|
86
128
|
*/
|
|
87
129
|
async InquiryPriceCreateInstance(req, cb) {
|
|
88
130
|
return this.request("InquiryPriceCreateInstance", req, cb);
|
|
89
131
|
}
|
|
90
|
-
/**
|
|
91
|
-
* 集群续费询价。
|
|
92
|
-
*/
|
|
93
|
-
async InquirePriceRenewEmr(req, cb) {
|
|
94
|
-
return this.request("InquirePriceRenewEmr", req, cb);
|
|
95
|
-
}
|
|
96
132
|
/**
|
|
97
133
|
* 获取yarn资源调度页面的数据
|
|
98
134
|
*/
|
|
99
135
|
async DescribeResourceSchedule(req, cb) {
|
|
100
136
|
return this.request("DescribeResourceSchedule", req, cb);
|
|
101
137
|
}
|
|
102
|
-
/**
|
|
103
|
-
* 扩容询价. 当扩容时候,请通过该接口查询价格。
|
|
104
|
-
*/
|
|
105
|
-
async InquiryPriceScaleOutInstance(req, cb) {
|
|
106
|
-
return this.request("InquiryPriceScaleOutInstance", req, cb);
|
|
107
|
-
}
|
|
108
138
|
/**
|
|
109
139
|
* 修改yarn资源调度的资源配置
|
|
110
140
|
*/
|
|
@@ -112,40 +142,28 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
112
142
|
return this.request("ModifyResourceScheduleConfig", req, cb);
|
|
113
143
|
}
|
|
114
144
|
/**
|
|
115
|
-
*
|
|
116
|
-
*/
|
|
117
|
-
async DescribeJobFlow(req, cb) {
|
|
118
|
-
return this.request("DescribeJobFlow", req, cb);
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* 获取账户的CVM配额
|
|
122
|
-
*/
|
|
123
|
-
async DescribeCvmQuota(req, cb) {
|
|
124
|
-
return this.request("DescribeCvmQuota", req, cb);
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* EMR同步TKE中POD状态
|
|
145
|
+
* 缩容Task节点
|
|
128
146
|
*/
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
147
|
+
async TerminateTasks(req, cb) {
|
|
148
|
+
return this.request("TerminateTasks", req, cb);
|
|
131
149
|
}
|
|
132
150
|
/**
|
|
133
|
-
*
|
|
151
|
+
* 查询硬件节点信息
|
|
134
152
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
153
|
+
async DescribeClusterNodes(req, cb) {
|
|
154
|
+
return this.request("DescribeClusterNodes", req, cb);
|
|
137
155
|
}
|
|
138
156
|
/**
|
|
139
|
-
*
|
|
157
|
+
* EMR集群实例列表查询
|
|
140
158
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
159
|
+
async DescribeInstancesList(req, cb) {
|
|
160
|
+
return this.request("DescribeInstancesList", req, cb);
|
|
143
161
|
}
|
|
144
162
|
/**
|
|
145
|
-
*
|
|
163
|
+
* 刷新动态资源池
|
|
146
164
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
165
|
+
async ModifyResourcePools(req, cb) {
|
|
166
|
+
return this.request("ModifyResourcePools", req, cb);
|
|
149
167
|
}
|
|
150
168
|
}
|
|
151
169
|
exports.Client = Client;
|
|
@@ -135,34 +135,6 @@ export interface PodVolume {
|
|
|
135
135
|
*/
|
|
136
136
|
HostVolume?: HostVolumeContext;
|
|
137
137
|
}
|
|
138
|
-
/**
|
|
139
|
-
* DescribeClusterNodes返回参数结构体
|
|
140
|
-
*/
|
|
141
|
-
export interface DescribeClusterNodesResponse {
|
|
142
|
-
/**
|
|
143
|
-
* 查询到的节点总数
|
|
144
|
-
*/
|
|
145
|
-
TotalCnt: number;
|
|
146
|
-
/**
|
|
147
|
-
* 节点详细信息列表
|
|
148
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
149
|
-
*/
|
|
150
|
-
NodeList: Array<NodeHardwareInfo>;
|
|
151
|
-
/**
|
|
152
|
-
* 用户所有的标签键列表
|
|
153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
154
|
-
*/
|
|
155
|
-
TagKeys: Array<string>;
|
|
156
|
-
/**
|
|
157
|
-
* 资源类型列表
|
|
158
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
159
|
-
*/
|
|
160
|
-
HardwareResourceTypeList: Array<string>;
|
|
161
|
-
/**
|
|
162
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
163
|
-
*/
|
|
164
|
-
RequestId?: string;
|
|
165
|
-
}
|
|
166
138
|
/**
|
|
167
139
|
* SyncPodState返回参数结构体
|
|
168
140
|
*/
|
|
@@ -713,6 +685,136 @@ export interface Tag {
|
|
|
713
685
|
*/
|
|
714
686
|
TagValue?: string;
|
|
715
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* 集群列表返回示例
|
|
690
|
+
*/
|
|
691
|
+
export interface EmrListInstance {
|
|
692
|
+
/**
|
|
693
|
+
* 集群ID
|
|
694
|
+
*/
|
|
695
|
+
ClusterId: string;
|
|
696
|
+
/**
|
|
697
|
+
* 状态描述
|
|
698
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
699
|
+
*/
|
|
700
|
+
StatusDesc: string;
|
|
701
|
+
/**
|
|
702
|
+
* 集群名字
|
|
703
|
+
*/
|
|
704
|
+
ClusterName: string;
|
|
705
|
+
/**
|
|
706
|
+
* 集群地域
|
|
707
|
+
*/
|
|
708
|
+
ZoneId: number;
|
|
709
|
+
/**
|
|
710
|
+
* 用户APPID
|
|
711
|
+
*/
|
|
712
|
+
AppId: number;
|
|
713
|
+
/**
|
|
714
|
+
* 创建时间
|
|
715
|
+
*/
|
|
716
|
+
AddTime: string;
|
|
717
|
+
/**
|
|
718
|
+
* 运行时间
|
|
719
|
+
*/
|
|
720
|
+
RunTime: string;
|
|
721
|
+
/**
|
|
722
|
+
* 集群IP
|
|
723
|
+
*/
|
|
724
|
+
MasterIp: string;
|
|
725
|
+
/**
|
|
726
|
+
* 集群版本
|
|
727
|
+
*/
|
|
728
|
+
EmrVersion: string;
|
|
729
|
+
/**
|
|
730
|
+
* 集群计费类型
|
|
731
|
+
*/
|
|
732
|
+
ChargeType: number;
|
|
733
|
+
/**
|
|
734
|
+
* emr ID
|
|
735
|
+
*/
|
|
736
|
+
Id: number;
|
|
737
|
+
/**
|
|
738
|
+
* 产品ID
|
|
739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
740
|
+
*/
|
|
741
|
+
ProductId: number;
|
|
742
|
+
/**
|
|
743
|
+
* 项目ID
|
|
744
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
745
|
+
*/
|
|
746
|
+
ProjectId: number;
|
|
747
|
+
/**
|
|
748
|
+
* 区域
|
|
749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
750
|
+
*/
|
|
751
|
+
RegionId: number;
|
|
752
|
+
/**
|
|
753
|
+
* 子网ID
|
|
754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
|
+
*/
|
|
756
|
+
SubnetId: number;
|
|
757
|
+
/**
|
|
758
|
+
* 网络ID
|
|
759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
|
+
*/
|
|
761
|
+
VpcId: number;
|
|
762
|
+
/**
|
|
763
|
+
* 地区
|
|
764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
765
|
+
*/
|
|
766
|
+
Zone: string;
|
|
767
|
+
/**
|
|
768
|
+
* 状态码
|
|
769
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
770
|
+
*/
|
|
771
|
+
Status: number;
|
|
772
|
+
/**
|
|
773
|
+
* 实例标签
|
|
774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
775
|
+
*/
|
|
776
|
+
Tags: Array<Tag>;
|
|
777
|
+
/**
|
|
778
|
+
* 告警信息
|
|
779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
780
|
+
*/
|
|
781
|
+
AlarmInfo: string;
|
|
782
|
+
/**
|
|
783
|
+
* 是否是woodpecker集群
|
|
784
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
785
|
+
*/
|
|
786
|
+
IsWoodpeckerCluster: number;
|
|
787
|
+
/**
|
|
788
|
+
* Vpc中文
|
|
789
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
790
|
+
*/
|
|
791
|
+
VpcName: string;
|
|
792
|
+
/**
|
|
793
|
+
* 子网中文
|
|
794
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
795
|
+
*/
|
|
796
|
+
SubnetName: string;
|
|
797
|
+
/**
|
|
798
|
+
* 字符串VpcId
|
|
799
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
800
|
+
*/
|
|
801
|
+
UniqVpcId: string;
|
|
802
|
+
/**
|
|
803
|
+
* 字符串子网
|
|
804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
805
|
+
*/
|
|
806
|
+
UniqSubnetId: string;
|
|
807
|
+
/**
|
|
808
|
+
* 集群类型
|
|
809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
810
|
+
*/
|
|
811
|
+
ClusterClass: string;
|
|
812
|
+
/**
|
|
813
|
+
* 是否为跨AZ集群
|
|
814
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
815
|
+
*/
|
|
816
|
+
IsMultiZoneCluster: boolean;
|
|
817
|
+
}
|
|
716
818
|
/**
|
|
717
819
|
* ModifyResourceScheduleConfig返回参数结构体
|
|
718
820
|
*/
|
|
@@ -844,6 +946,23 @@ export interface VPCSettings {
|
|
|
844
946
|
*/
|
|
845
947
|
SubnetId: string;
|
|
846
948
|
}
|
|
949
|
+
/**
|
|
950
|
+
* DescribeInstancesList返回参数结构体
|
|
951
|
+
*/
|
|
952
|
+
export interface DescribeInstancesListResponse {
|
|
953
|
+
/**
|
|
954
|
+
* 符合条件的实例总数。
|
|
955
|
+
*/
|
|
956
|
+
TotalCnt: number;
|
|
957
|
+
/**
|
|
958
|
+
* 集群实例列表
|
|
959
|
+
*/
|
|
960
|
+
InstancesList: Array<EmrListInstance>;
|
|
961
|
+
/**
|
|
962
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
963
|
+
*/
|
|
964
|
+
RequestId?: string;
|
|
965
|
+
}
|
|
847
966
|
/**
|
|
848
967
|
* DescribeInstanceRenewNodes请求参数结构体
|
|
849
968
|
*/
|
|
@@ -1011,6 +1130,19 @@ export interface InquiryPriceCreateInstanceResponse {
|
|
|
1011
1130
|
*/
|
|
1012
1131
|
RequestId?: string;
|
|
1013
1132
|
}
|
|
1133
|
+
/**
|
|
1134
|
+
* TerminateInstance请求参数结构体
|
|
1135
|
+
*/
|
|
1136
|
+
export interface TerminateInstanceRequest {
|
|
1137
|
+
/**
|
|
1138
|
+
* 实例ID。
|
|
1139
|
+
*/
|
|
1140
|
+
InstanceId: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* 销毁节点ID。该参数为预留参数,用户无需配置。
|
|
1143
|
+
*/
|
|
1144
|
+
ResourceIds?: Array<string>;
|
|
1145
|
+
}
|
|
1014
1146
|
/**
|
|
1015
1147
|
* 流程作业资源描述
|
|
1016
1148
|
*/
|
|
@@ -1208,6 +1340,15 @@ export interface PodParameter {
|
|
|
1208
1340
|
*/
|
|
1209
1341
|
Parameter: string;
|
|
1210
1342
|
}
|
|
1343
|
+
/**
|
|
1344
|
+
* DescribeUsersForUserManager请求参数结构体
|
|
1345
|
+
*/
|
|
1346
|
+
export interface DescribeUsersForUserManagerRequest {
|
|
1347
|
+
/**
|
|
1348
|
+
* 是否需要keytab文件的信息,仅对开启kerberos的集群有效,默认为false
|
|
1349
|
+
*/
|
|
1350
|
+
NeedKeytabInfo?: boolean;
|
|
1351
|
+
}
|
|
1211
1352
|
/**
|
|
1212
1353
|
* 集群续费实例信息
|
|
1213
1354
|
*/
|
|
@@ -1297,17 +1438,26 @@ export interface SearchItem {
|
|
|
1297
1438
|
SearchValue: string;
|
|
1298
1439
|
}
|
|
1299
1440
|
/**
|
|
1300
|
-
*
|
|
1441
|
+
* 各个可用区的参数信息
|
|
1301
1442
|
*/
|
|
1302
|
-
export interface
|
|
1443
|
+
export interface MultiZoneSetting {
|
|
1303
1444
|
/**
|
|
1304
|
-
|
|
1445
|
+
* "master"、"standby"、"third-party"
|
|
1446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1447
|
+
*/
|
|
1448
|
+
ZoneTag?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* 无
|
|
1305
1451
|
*/
|
|
1306
|
-
|
|
1452
|
+
VPCSettings?: VPCSettings;
|
|
1307
1453
|
/**
|
|
1308
|
-
*
|
|
1454
|
+
* 无
|
|
1309
1455
|
*/
|
|
1310
|
-
|
|
1456
|
+
Placement?: Placement;
|
|
1457
|
+
/**
|
|
1458
|
+
* 无
|
|
1459
|
+
*/
|
|
1460
|
+
ResourceSpec?: NewResourceSpec;
|
|
1311
1461
|
}
|
|
1312
1462
|
/**
|
|
1313
1463
|
* TerminateInstance返回参数结构体
|
|
@@ -2011,17 +2161,33 @@ export interface InquiryPriceUpdateInstanceRequest {
|
|
|
2011
2161
|
Currency?: string;
|
|
2012
2162
|
}
|
|
2013
2163
|
/**
|
|
2014
|
-
*
|
|
2164
|
+
* DescribeInstancesList请求参数结构体
|
|
2015
2165
|
*/
|
|
2016
|
-
export interface
|
|
2166
|
+
export interface DescribeInstancesListRequest {
|
|
2017
2167
|
/**
|
|
2018
|
-
*
|
|
2168
|
+
* 集群筛选策略。取值范围:<li>clusterList:表示查询除了已销毁集群之外的集群列表。</li><li>monitorManage:表示查询除了已销毁、创建中以及创建失败的集群之外的集群列表。</li><li>cloudHardwareManage/componentManage:目前这两个取值为预留取值,暂时和monitorManage表示同样的含义。</li>
|
|
2019
2169
|
*/
|
|
2020
|
-
|
|
2170
|
+
DisplayStrategy: string;
|
|
2021
2171
|
/**
|
|
2022
|
-
*
|
|
2172
|
+
* 页编号,默认值为0,表示第一页。
|
|
2023
2173
|
*/
|
|
2024
|
-
|
|
2174
|
+
Offset?: number;
|
|
2175
|
+
/**
|
|
2176
|
+
* 每页返回数量,默认值为10,最大值为100。
|
|
2177
|
+
*/
|
|
2178
|
+
Limit?: number;
|
|
2179
|
+
/**
|
|
2180
|
+
* 排序字段。取值范围:<li>clusterId:表示按照实例ID排序。</li><li>addTime:表示按照实例创建时间排序。</li><li>status:表示按照实例的状态码排序。</li>
|
|
2181
|
+
*/
|
|
2182
|
+
OrderField?: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* 按照OrderField升序或者降序进行排序。取值范围:<li>0:表示降序。</li><li>1:表示升序。</li>默认值为0。
|
|
2185
|
+
*/
|
|
2186
|
+
Asc?: number;
|
|
2187
|
+
/**
|
|
2188
|
+
* 自定义查询
|
|
2189
|
+
*/
|
|
2190
|
+
Filters?: Array<Filters>;
|
|
2025
2191
|
}
|
|
2026
2192
|
/**
|
|
2027
2193
|
* 资源详情
|
|
@@ -2123,6 +2289,15 @@ export interface DescribeInstancesResponse {
|
|
|
2123
2289
|
*/
|
|
2124
2290
|
RequestId?: string;
|
|
2125
2291
|
}
|
|
2292
|
+
/**
|
|
2293
|
+
* DescribeUsersForUserManager返回参数结构体
|
|
2294
|
+
*/
|
|
2295
|
+
export interface DescribeUsersForUserManagerResponse {
|
|
2296
|
+
/**
|
|
2297
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2298
|
+
*/
|
|
2299
|
+
RequestId?: string;
|
|
2300
|
+
}
|
|
2126
2301
|
/**
|
|
2127
2302
|
* InquiryPriceRenewInstance请求参数结构体
|
|
2128
2303
|
*/
|
|
@@ -2288,6 +2463,15 @@ export interface MultiDiskMC {
|
|
|
2288
2463
|
*/
|
|
2289
2464
|
Volume?: number;
|
|
2290
2465
|
}
|
|
2466
|
+
/**
|
|
2467
|
+
* AddUsersForUserManager请求参数结构体
|
|
2468
|
+
*/
|
|
2469
|
+
export interface AddUsersForUserManagerRequest {
|
|
2470
|
+
/**
|
|
2471
|
+
* 用户信息列表
|
|
2472
|
+
*/
|
|
2473
|
+
UserManagerUserList: Array<UserInfoForUserManager>;
|
|
2474
|
+
}
|
|
2291
2475
|
/**
|
|
2292
2476
|
* 用户自建Hive-MetaDB信息
|
|
2293
2477
|
*/
|
|
@@ -2403,26 +2587,32 @@ export interface InquiryPriceCreateInstanceRequest {
|
|
|
2403
2587
|
MultiZoneSettings?: Array<MultiZoneSetting>;
|
|
2404
2588
|
}
|
|
2405
2589
|
/**
|
|
2406
|
-
*
|
|
2590
|
+
* DescribeClusterNodes返回参数结构体
|
|
2407
2591
|
*/
|
|
2408
|
-
export interface
|
|
2592
|
+
export interface DescribeClusterNodesResponse {
|
|
2409
2593
|
/**
|
|
2410
|
-
|
|
2594
|
+
* 查询到的节点总数
|
|
2595
|
+
*/
|
|
2596
|
+
TotalCnt: number;
|
|
2597
|
+
/**
|
|
2598
|
+
* 节点详细信息列表
|
|
2411
2599
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2412
2600
|
*/
|
|
2413
|
-
|
|
2601
|
+
NodeList: Array<NodeHardwareInfo>;
|
|
2414
2602
|
/**
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2603
|
+
* 用户所有的标签键列表
|
|
2604
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2605
|
+
*/
|
|
2606
|
+
TagKeys: Array<string>;
|
|
2418
2607
|
/**
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2608
|
+
* 资源类型列表
|
|
2609
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2610
|
+
*/
|
|
2611
|
+
HardwareResourceTypeList: Array<string>;
|
|
2422
2612
|
/**
|
|
2423
|
-
*
|
|
2613
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2424
2614
|
*/
|
|
2425
|
-
|
|
2615
|
+
RequestId?: string;
|
|
2426
2616
|
}
|
|
2427
2617
|
/**
|
|
2428
2618
|
* ModifyResourceScheduleConfig请求参数结构体
|
|
@@ -2441,6 +2631,27 @@ export interface ModifyResourceScheduleConfigRequest {
|
|
|
2441
2631
|
*/
|
|
2442
2632
|
Value: string;
|
|
2443
2633
|
}
|
|
2634
|
+
/**
|
|
2635
|
+
* 添加的用户信息列表
|
|
2636
|
+
*/
|
|
2637
|
+
export interface UserInfoForUserManager {
|
|
2638
|
+
/**
|
|
2639
|
+
* 用户名
|
|
2640
|
+
*/
|
|
2641
|
+
UserName: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* 用户所属的组
|
|
2644
|
+
*/
|
|
2645
|
+
UserGroup: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* 密码
|
|
2648
|
+
*/
|
|
2649
|
+
PassWord: string;
|
|
2650
|
+
/**
|
|
2651
|
+
* 备注
|
|
2652
|
+
*/
|
|
2653
|
+
ReMark?: string;
|
|
2654
|
+
}
|
|
2444
2655
|
/**
|
|
2445
2656
|
* POD浮动规格
|
|
2446
2657
|
*/
|
|
@@ -2717,6 +2928,19 @@ export interface Resource {
|
|
|
2717
2928
|
*/
|
|
2718
2929
|
DiskNum?: number;
|
|
2719
2930
|
}
|
|
2931
|
+
/**
|
|
2932
|
+
* Emr集群列表实例自定义查询过滤
|
|
2933
|
+
*/
|
|
2934
|
+
export interface Filters {
|
|
2935
|
+
/**
|
|
2936
|
+
* 字段名称
|
|
2937
|
+
*/
|
|
2938
|
+
Name: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* 过滤字段值
|
|
2941
|
+
*/
|
|
2942
|
+
Values: Array<string>;
|
|
2943
|
+
}
|
|
2720
2944
|
/**
|
|
2721
2945
|
* InquirePriceRenewEmr请求参数结构体
|
|
2722
2946
|
*/
|
|
@@ -2839,6 +3063,15 @@ export interface ShortNodeInfo {
|
|
|
2839
3063
|
*/
|
|
2840
3064
|
NodeSize?: number;
|
|
2841
3065
|
}
|
|
3066
|
+
/**
|
|
3067
|
+
* AddUsersForUserManager返回参数结构体
|
|
3068
|
+
*/
|
|
3069
|
+
export interface AddUsersForUserManagerResponse {
|
|
3070
|
+
/**
|
|
3071
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3072
|
+
*/
|
|
3073
|
+
RequestId?: string;
|
|
3074
|
+
}
|
|
2842
3075
|
/**
|
|
2843
3076
|
* 节点硬件信息
|
|
2844
3077
|
*/
|
|
@@ -3086,6 +3319,19 @@ export interface JobFlowResource {
|
|
|
3086
3319
|
*/
|
|
3087
3320
|
DiskGroups: Array<DiskGroup>;
|
|
3088
3321
|
}
|
|
3322
|
+
/**
|
|
3323
|
+
* ModifyResourcePools请求参数结构体
|
|
3324
|
+
*/
|
|
3325
|
+
export interface ModifyResourcePoolsRequest {
|
|
3326
|
+
/**
|
|
3327
|
+
* emr集群id
|
|
3328
|
+
*/
|
|
3329
|
+
InstanceId: string;
|
|
3330
|
+
/**
|
|
3331
|
+
* 标识是fair还是capacity
|
|
3332
|
+
*/
|
|
3333
|
+
Key: string;
|
|
3334
|
+
}
|
|
3089
3335
|
/**
|
|
3090
3336
|
* DescribeJobFlow返回参数结构体
|
|
3091
3337
|
*/
|