@alicloud/emr-serverless-spark20230808 1.17.0 → 1.18.0
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/dist/client.d.ts +36 -0
- package/dist/client.js +90 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetRunConfigurationRequest.d.ts +18 -0
- package/dist/models/GetRunConfigurationRequest.js +58 -0
- package/dist/models/GetRunConfigurationRequest.js.map +1 -0
- package/dist/models/GetRunConfigurationResponse.d.ts +19 -0
- package/dist/models/GetRunConfigurationResponse.js +69 -0
- package/dist/models/GetRunConfigurationResponse.js.map +1 -0
- package/dist/models/GetRunConfigurationResponseBody.d.ts +104 -0
- package/dist/models/GetRunConfigurationResponseBody.js +140 -0
- package/dist/models/GetRunConfigurationResponseBody.js.map +1 -0
- package/dist/models/ListCatalogsResponseBody.d.ts +5 -0
- package/dist/models/ListCatalogsResponseBody.js +2 -0
- package/dist/models/ListCatalogsResponseBody.js.map +1 -1
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +2 -0
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js +6 -0
- package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListLivyComputeSessionsRequest.d.ts +28 -0
- package/dist/models/ListLivyComputeSessionsRequest.js +62 -0
- package/dist/models/ListLivyComputeSessionsRequest.js.map +1 -0
- package/dist/models/ListLivyComputeSessionsResponse.d.ts +19 -0
- package/dist/models/ListLivyComputeSessionsResponse.js +69 -0
- package/dist/models/ListLivyComputeSessionsResponse.js.map +1 -0
- package/dist/models/ListLivyComputeSessionsResponseBody.d.ts +106 -0
- package/dist/models/ListLivyComputeSessionsResponseBody.js +108 -0
- package/dist/models/ListLivyComputeSessionsResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +27 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +98 -0
- package/src/models/GetRunConfigurationRequest.ts +31 -0
- package/src/models/GetRunConfigurationResponse.ts +40 -0
- package/src/models/GetRunConfigurationResponseBody.ts +171 -0
- package/src/models/ListCatalogsResponseBody.ts +7 -0
- package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +7 -0
- package/src/models/ListLivyComputeSessionsRequest.ts +45 -0
- package/src/models/ListLivyComputeSessionsResponse.ts +40 -0
- package/src/models/ListLivyComputeSessionsResponseBody.ts +160 -0
- package/src/models/model.ts +10 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetRunConfigurationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
regionId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
regionId: 'regionId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
regionId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetRunConfigurationResponseBody } from "./GetRunConfigurationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetRunConfigurationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetRunConfigurationResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetRunConfigurationResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { Tag } from "./Tag";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* 应用配置文件名。 应用配置文件名。 ```spark-defaults.conf```
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* spark-defaults.conf
|
|
13
|
+
*/
|
|
14
|
+
configFileName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* 配置项键。 配置项键。 ```dfs.namenode.checkpoint.period```
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* spark.driver.cores
|
|
21
|
+
*/
|
|
22
|
+
configItemKey?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* 配置项值。 配置项值。 ```3600s```
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* 2
|
|
29
|
+
*/
|
|
30
|
+
configItemValue?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
configFileName: 'configFileName',
|
|
34
|
+
configItemKey: 'configItemKey',
|
|
35
|
+
configItemValue: 'configItemValue',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
configFileName: 'string',
|
|
42
|
+
configItemKey: 'string',
|
|
43
|
+
configItemValue: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export class GetRunConfigurationResponseBodyRunConfigurationLogConfig extends $dara.Model {
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* INFO
|
|
60
|
+
*/
|
|
61
|
+
logLevel?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* oss://test
|
|
65
|
+
*/
|
|
66
|
+
logPath?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
logLevel: 'LogLevel',
|
|
70
|
+
logPath: 'LogPath',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
logLevel: 'string',
|
|
77
|
+
logPath: 'string',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
constructor(map?: { [key: string]: any }) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export class GetRunConfigurationResponseBodyRunConfiguration extends $dara.Model {
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* 应用配置项
|
|
94
|
+
*/
|
|
95
|
+
applicationConfigs?: GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs[];
|
|
96
|
+
logConfig?: GetRunConfigurationResponseBodyRunConfigurationLogConfig;
|
|
97
|
+
/**
|
|
98
|
+
* @remarks
|
|
99
|
+
* 运行配置。
|
|
100
|
+
*/
|
|
101
|
+
runtimeConfigs?: Tag[];
|
|
102
|
+
static names(): { [key: string]: string } {
|
|
103
|
+
return {
|
|
104
|
+
applicationConfigs: 'applicationConfigs',
|
|
105
|
+
logConfig: 'logConfig',
|
|
106
|
+
runtimeConfigs: 'runtimeConfigs',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
static types(): { [key: string]: any } {
|
|
111
|
+
return {
|
|
112
|
+
applicationConfigs: { 'type': 'array', 'itemType': GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs },
|
|
113
|
+
logConfig: GetRunConfigurationResponseBodyRunConfigurationLogConfig,
|
|
114
|
+
runtimeConfigs: { 'type': 'array', 'itemType': Tag },
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
validate() {
|
|
119
|
+
if(Array.isArray(this.applicationConfigs)) {
|
|
120
|
+
$dara.Model.validateArray(this.applicationConfigs);
|
|
121
|
+
}
|
|
122
|
+
if(this.logConfig && typeof (this.logConfig as any).validate === 'function') {
|
|
123
|
+
(this.logConfig as any).validate();
|
|
124
|
+
}
|
|
125
|
+
if(Array.isArray(this.runtimeConfigs)) {
|
|
126
|
+
$dara.Model.validateArray(this.runtimeConfigs);
|
|
127
|
+
}
|
|
128
|
+
super.validate();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
constructor(map?: { [key: string]: any }) {
|
|
132
|
+
super(map);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export class GetRunConfigurationResponseBody extends $dara.Model {
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* 请求ID。
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
143
|
+
*/
|
|
144
|
+
requestId?: string;
|
|
145
|
+
runConfiguration?: GetRunConfigurationResponseBodyRunConfiguration;
|
|
146
|
+
static names(): { [key: string]: string } {
|
|
147
|
+
return {
|
|
148
|
+
requestId: 'requestId',
|
|
149
|
+
runConfiguration: 'runConfiguration',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static types(): { [key: string]: any } {
|
|
154
|
+
return {
|
|
155
|
+
requestId: 'string',
|
|
156
|
+
runConfiguration: GetRunConfigurationResponseBodyRunConfiguration,
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
validate() {
|
|
161
|
+
if(this.runConfiguration && typeof (this.runConfiguration as any).validate === 'function') {
|
|
162
|
+
(this.runConfiguration as any).validate();
|
|
163
|
+
}
|
|
164
|
+
super.validate();
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
constructor(map?: { [key: string]: any }) {
|
|
168
|
+
super(map);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* alias
|
|
9
|
+
*/
|
|
10
|
+
alias?: string;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* regionId。
|
|
@@ -48,6 +53,7 @@ export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
|
|
|
48
53
|
workspaceId?: string;
|
|
49
54
|
static names(): { [key: string]: string } {
|
|
50
55
|
return {
|
|
56
|
+
alias: 'alias',
|
|
51
57
|
catalogId: 'catalogId',
|
|
52
58
|
catalogProvider: 'catalogProvider',
|
|
53
59
|
catalogType: 'catalogType',
|
|
@@ -62,6 +68,7 @@ export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
|
|
|
62
68
|
|
|
63
69
|
static types(): { [key: string]: any } {
|
|
64
70
|
return {
|
|
71
|
+
alias: 'string',
|
|
65
72
|
catalogId: 'string',
|
|
66
73
|
catalogProvider: 'string',
|
|
67
74
|
catalogType: 'string',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
import { RunLog } from "./RunLog";
|
|
4
|
+
import { Tag } from "./Tag";
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.Model {
|
|
@@ -88,6 +89,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
88
89
|
* STARTING
|
|
89
90
|
*/
|
|
90
91
|
state?: string;
|
|
92
|
+
tags?: Tag[];
|
|
91
93
|
/**
|
|
92
94
|
* @remarks
|
|
93
95
|
* The total number of CPU cores allocated to the job multiplied by the running duration (seconds).
|
|
@@ -115,6 +117,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
115
117
|
runLog: 'runLog',
|
|
116
118
|
startTime: 'startTime',
|
|
117
119
|
state: 'state',
|
|
120
|
+
tags: 'tags',
|
|
118
121
|
vcoreSeconds: 'vcoreSeconds',
|
|
119
122
|
webUI: 'webUI',
|
|
120
123
|
};
|
|
@@ -134,6 +137,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
134
137
|
runLog: RunLog,
|
|
135
138
|
startTime: 'string',
|
|
136
139
|
state: 'string',
|
|
140
|
+
tags: { 'type': 'array', 'itemType': Tag },
|
|
137
141
|
vcoreSeconds: 'number',
|
|
138
142
|
webUI: 'string',
|
|
139
143
|
};
|
|
@@ -143,6 +147,9 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
|
|
|
143
147
|
if(this.runLog && typeof (this.runLog as any).validate === 'function') {
|
|
144
148
|
(this.runLog as any).validate();
|
|
145
149
|
}
|
|
150
|
+
if(Array.isArray(this.tags)) {
|
|
151
|
+
$dara.Model.validateArray(this.tags);
|
|
152
|
+
}
|
|
146
153
|
super.validate();
|
|
147
154
|
}
|
|
148
155
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLivyComputeSessionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
pageNum?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
pageNum: 'pageNum',
|
|
24
|
+
pageSize: 'pageSize',
|
|
25
|
+
regionId: 'regionId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
pageNum: 'number',
|
|
32
|
+
pageSize: 'number',
|
|
33
|
+
regionId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLivyComputeSessionsResponseBody } from "./ListLivyComputeSessionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeSessionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLivyComputeSessionsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListLivyComputeSessionsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLivyComputeSessionsResponseBodySessions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* lc-xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
computeId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1768213240000
|
|
14
|
+
*/
|
|
15
|
+
createTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 322.5
|
|
19
|
+
*/
|
|
20
|
+
cuHours?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1768213240000
|
|
24
|
+
*/
|
|
25
|
+
endTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* null
|
|
29
|
+
*/
|
|
30
|
+
info?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 1098888
|
|
34
|
+
*/
|
|
35
|
+
mbSeconds?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* test_session
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* root_queue
|
|
44
|
+
*/
|
|
45
|
+
queue?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* livy-xxxxxx
|
|
49
|
+
*/
|
|
50
|
+
sessionId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* {
|
|
54
|
+
* "proxyUser": "test",
|
|
55
|
+
* "conf": {
|
|
56
|
+
* "spark.driver.cores": 1
|
|
57
|
+
* }
|
|
58
|
+
* }
|
|
59
|
+
*/
|
|
60
|
+
sparkConf?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* running
|
|
64
|
+
*/
|
|
65
|
+
state?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* 343
|
|
69
|
+
*/
|
|
70
|
+
vcoreSeconds?: number;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* http://emr-spark-ui-cn-hangzhou.data.aliyun.com
|
|
74
|
+
*/
|
|
75
|
+
webUI?: string;
|
|
76
|
+
static names(): { [key: string]: string } {
|
|
77
|
+
return {
|
|
78
|
+
computeId: 'computeId',
|
|
79
|
+
createTime: 'createTime',
|
|
80
|
+
cuHours: 'cuHours',
|
|
81
|
+
endTime: 'endTime',
|
|
82
|
+
info: 'info',
|
|
83
|
+
mbSeconds: 'mbSeconds',
|
|
84
|
+
name: 'name',
|
|
85
|
+
queue: 'queue',
|
|
86
|
+
sessionId: 'sessionId',
|
|
87
|
+
sparkConf: 'sparkConf',
|
|
88
|
+
state: 'state',
|
|
89
|
+
vcoreSeconds: 'vcoreSeconds',
|
|
90
|
+
webUI: 'webUI',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
computeId: 'string',
|
|
97
|
+
createTime: 'number',
|
|
98
|
+
cuHours: 'number',
|
|
99
|
+
endTime: 'number',
|
|
100
|
+
info: 'string',
|
|
101
|
+
mbSeconds: 'number',
|
|
102
|
+
name: 'string',
|
|
103
|
+
queue: 'string',
|
|
104
|
+
sessionId: 'string',
|
|
105
|
+
sparkConf: 'string',
|
|
106
|
+
state: 'string',
|
|
107
|
+
vcoreSeconds: 'number',
|
|
108
|
+
webUI: 'string',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
validate() {
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export class ListLivyComputeSessionsResponseBody extends $dara.Model {
|
|
122
|
+
/**
|
|
123
|
+
* @example
|
|
124
|
+
* 8FAA8EEC-3026-5D15-8733-4E2A3DD970A1
|
|
125
|
+
*/
|
|
126
|
+
requestId?: string;
|
|
127
|
+
sessions?: ListLivyComputeSessionsResponseBodySessions[];
|
|
128
|
+
/**
|
|
129
|
+
* @example
|
|
130
|
+
* 10
|
|
131
|
+
*/
|
|
132
|
+
totalCount?: number;
|
|
133
|
+
static names(): { [key: string]: string } {
|
|
134
|
+
return {
|
|
135
|
+
requestId: 'requestId',
|
|
136
|
+
sessions: 'sessions',
|
|
137
|
+
totalCount: 'totalCount',
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
static types(): { [key: string]: any } {
|
|
142
|
+
return {
|
|
143
|
+
requestId: 'string',
|
|
144
|
+
sessions: { 'type': 'array', 'itemType': ListLivyComputeSessionsResponseBodySessions },
|
|
145
|
+
totalCount: 'number',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
validate() {
|
|
150
|
+
if(Array.isArray(this.sessions)) {
|
|
151
|
+
$dara.Model.validateArray(this.sessions);
|
|
152
|
+
}
|
|
153
|
+
super.validate();
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
constructor(map?: { [key: string]: any }) {
|
|
157
|
+
super(map);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -40,6 +40,9 @@ export { GetLivyComputeResponseBodyDataAutoStopConfiguration } from './GetLivyCo
|
|
|
40
40
|
export { GetLivyComputeResponseBodyData } from './GetLivyComputeResponseBody';
|
|
41
41
|
export { GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration } from './GetLivyComputeTokenResponseBody';
|
|
42
42
|
export { GetLivyComputeTokenResponseBodyData } from './GetLivyComputeTokenResponseBody';
|
|
43
|
+
export { GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs } from './GetRunConfigurationResponseBody';
|
|
44
|
+
export { GetRunConfigurationResponseBodyRunConfigurationLogConfig } from './GetRunConfigurationResponseBody';
|
|
45
|
+
export { GetRunConfigurationResponseBodyRunConfiguration } from './GetRunConfigurationResponseBody';
|
|
43
46
|
export { GetSessionClusterResponseBodySessionClusterApplicationConfigs } from './GetSessionClusterResponseBody';
|
|
44
47
|
export { GetSessionClusterResponseBodySessionClusterAutoStartConfiguration } from './GetSessionClusterResponseBody';
|
|
45
48
|
export { GetSessionClusterResponseBodySessionClusterAutoStopConfiguration } from './GetSessionClusterResponseBody';
|
|
@@ -63,6 +66,7 @@ export { ListKyuubiTokenResponseBodyDataTokens } from './ListKyuubiTokenResponse
|
|
|
63
66
|
export { ListKyuubiTokenResponseBodyData } from './ListKyuubiTokenResponseBody';
|
|
64
67
|
export { ListLivyComputeResponseBodyDataLivyComputes } from './ListLivyComputeResponseBody';
|
|
65
68
|
export { ListLivyComputeResponseBodyData } from './ListLivyComputeResponseBody';
|
|
69
|
+
export { ListLivyComputeSessionsResponseBodySessions } from './ListLivyComputeSessionsResponseBody';
|
|
66
70
|
export { ListLivyComputeTokenResponseBodyDataTokens } from './ListLivyComputeTokenResponseBody';
|
|
67
71
|
export { ListLivyComputeTokenResponseBodyData } from './ListLivyComputeTokenResponseBody';
|
|
68
72
|
export { ListLogContentsResponseBodyListLogContentContents } from './ListLogContentsResponseBody';
|
|
@@ -188,6 +192,9 @@ export { GetLivyComputeResponse } from './GetLivyComputeResponse';
|
|
|
188
192
|
export { GetLivyComputeTokenRequest } from './GetLivyComputeTokenRequest';
|
|
189
193
|
export { GetLivyComputeTokenResponseBody } from './GetLivyComputeTokenResponseBody';
|
|
190
194
|
export { GetLivyComputeTokenResponse } from './GetLivyComputeTokenResponse';
|
|
195
|
+
export { GetRunConfigurationRequest } from './GetRunConfigurationRequest';
|
|
196
|
+
export { GetRunConfigurationResponseBody } from './GetRunConfigurationResponseBody';
|
|
197
|
+
export { GetRunConfigurationResponse } from './GetRunConfigurationResponse';
|
|
191
198
|
export { GetSessionClusterRequest } from './GetSessionClusterRequest';
|
|
192
199
|
export { GetSessionClusterResponseBody } from './GetSessionClusterResponseBody';
|
|
193
200
|
export { GetSessionClusterResponse } from './GetSessionClusterResponse';
|
|
@@ -222,6 +229,9 @@ export { ListKyuubiTokenResponse } from './ListKyuubiTokenResponse';
|
|
|
222
229
|
export { ListLivyComputeRequest } from './ListLivyComputeRequest';
|
|
223
230
|
export { ListLivyComputeResponseBody } from './ListLivyComputeResponseBody';
|
|
224
231
|
export { ListLivyComputeResponse } from './ListLivyComputeResponse';
|
|
232
|
+
export { ListLivyComputeSessionsRequest } from './ListLivyComputeSessionsRequest';
|
|
233
|
+
export { ListLivyComputeSessionsResponseBody } from './ListLivyComputeSessionsResponseBody';
|
|
234
|
+
export { ListLivyComputeSessionsResponse } from './ListLivyComputeSessionsResponse';
|
|
225
235
|
export { ListLivyComputeTokenRequest } from './ListLivyComputeTokenRequest';
|
|
226
236
|
export { ListLivyComputeTokenResponseBody } from './ListLivyComputeTokenResponseBody';
|
|
227
237
|
export { ListLivyComputeTokenResponse } from './ListLivyComputeTokenResponse';
|