@alicloud/emr-serverless-spark20230808 1.11.0 → 1.12.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 +216 -0
- package/dist/client.js +623 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateLivyComputeRequest.d.ts +92 -0
- package/dist/models/CreateLivyComputeRequest.js +96 -0
- package/dist/models/CreateLivyComputeRequest.js.map +1 -0
- package/dist/models/CreateLivyComputeRequestAutoStartConfiguration.d.ts +18 -0
- package/dist/models/CreateLivyComputeRequestAutoStartConfiguration.js +58 -0
- package/dist/models/CreateLivyComputeRequestAutoStartConfiguration.js.map +1 -0
- package/dist/models/CreateLivyComputeRequestAutoStopConfiguration.d.ts +23 -0
- package/dist/models/CreateLivyComputeRequestAutoStopConfiguration.js +60 -0
- package/dist/models/CreateLivyComputeRequestAutoStopConfiguration.js.map +1 -0
- package/dist/models/CreateLivyComputeResponse.d.ts +19 -0
- package/dist/models/CreateLivyComputeResponse.js +69 -0
- package/dist/models/CreateLivyComputeResponse.js.map +1 -0
- package/dist/models/CreateLivyComputeResponseBody.d.ts +30 -0
- package/dist/models/CreateLivyComputeResponseBody.js +68 -0
- package/dist/models/CreateLivyComputeResponseBody.js.map +1 -0
- package/dist/models/CreateLivyComputeResponseBodyData.d.ts +18 -0
- package/dist/models/CreateLivyComputeResponseBodyData.js +58 -0
- package/dist/models/CreateLivyComputeResponseBodyData.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenRequest.d.ts +30 -0
- package/dist/models/CreateLivyComputeTokenRequest.js +68 -0
- package/dist/models/CreateLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.d.ts +23 -0
- package/dist/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.js +60 -0
- package/dist/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/CreateLivyComputeTokenResponse.js +69 -0
- package/dist/models/CreateLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenResponseBody.d.ts +30 -0
- package/dist/models/CreateLivyComputeTokenResponseBody.js +68 -0
- package/dist/models/CreateLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenResponseBodyData.d.ts +21 -0
- package/dist/models/CreateLivyComputeTokenResponseBodyData.js +58 -0
- package/dist/models/CreateLivyComputeTokenResponseBodyData.js.map +1 -0
- package/dist/models/CreateSessionClusterRequest.d.ts +3 -3
- package/dist/models/DeleteLivyComputeRequest.d.ts +18 -0
- package/dist/models/DeleteLivyComputeRequest.js +58 -0
- package/dist/models/DeleteLivyComputeRequest.js.map +1 -0
- package/dist/models/DeleteLivyComputeResponse.d.ts +19 -0
- package/dist/models/DeleteLivyComputeResponse.js +69 -0
- package/dist/models/DeleteLivyComputeResponse.js.map +1 -0
- package/dist/models/DeleteLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/DeleteLivyComputeResponseBody.js +62 -0
- package/dist/models/DeleteLivyComputeResponseBody.js.map +1 -0
- package/dist/models/DeleteLivyComputeTokenRequest.d.ts +18 -0
- package/dist/models/DeleteLivyComputeTokenRequest.js +58 -0
- package/dist/models/DeleteLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/DeleteLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/DeleteLivyComputeTokenResponse.js +69 -0
- package/dist/models/DeleteLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/DeleteLivyComputeTokenResponseBody.d.ts +28 -0
- package/dist/models/DeleteLivyComputeTokenResponseBody.js +62 -0
- package/dist/models/DeleteLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/GetLivyComputeRequest.d.ts +18 -0
- package/dist/models/GetLivyComputeRequest.js +58 -0
- package/dist/models/GetLivyComputeRequest.js.map +1 -0
- package/dist/models/GetLivyComputeResponse.d.ts +19 -0
- package/dist/models/GetLivyComputeResponse.js +69 -0
- package/dist/models/GetLivyComputeResponse.js.map +1 -0
- package/dist/models/GetLivyComputeResponseBody.d.ts +30 -0
- package/dist/models/GetLivyComputeResponseBody.js +68 -0
- package/dist/models/GetLivyComputeResponseBody.js.map +1 -0
- package/dist/models/GetLivyComputeResponseBodyData.d.ts +125 -0
- package/dist/models/GetLivyComputeResponseBodyData.js +104 -0
- package/dist/models/GetLivyComputeResponseBodyData.js.map +1 -0
- package/dist/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.d.ts +23 -0
- package/dist/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.js +60 -0
- package/dist/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.js.map +1 -0
- package/dist/models/GetLivyComputeTokenRequest.d.ts +18 -0
- package/dist/models/GetLivyComputeTokenRequest.js +58 -0
- package/dist/models/GetLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/GetLivyComputeTokenResponse.js +69 -0
- package/dist/models/GetLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponseBody.d.ts +30 -0
- package/dist/models/GetLivyComputeTokenResponseBody.js +68 -0
- package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponseBodyData.d.ts +53 -0
- package/dist/models/GetLivyComputeTokenResponseBodyData.js +76 -0
- package/dist/models/GetLivyComputeTokenResponseBodyData.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.d.ts +23 -0
- package/dist/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.js +60 -0
- package/dist/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.js.map +1 -0
- package/dist/models/GetSessionClusterResponseBody.d.ts +1 -1
- package/dist/models/GetTemplateRequest.d.ts +5 -0
- package/dist/models/GetTemplateRequest.js.map +1 -1
- package/dist/models/ListJobRunsResponseBodyJobRuns.d.ts +1 -1
- package/dist/models/ListLivyComputeRequest.d.ts +23 -0
- package/dist/models/ListLivyComputeRequest.js +60 -0
- package/dist/models/ListLivyComputeRequest.js.map +1 -0
- package/dist/models/ListLivyComputeResponse.d.ts +19 -0
- package/dist/models/ListLivyComputeResponse.js +69 -0
- package/dist/models/ListLivyComputeResponse.js.map +1 -0
- package/dist/models/ListLivyComputeResponseBody.d.ts +30 -0
- package/dist/models/ListLivyComputeResponseBody.js +68 -0
- package/dist/models/ListLivyComputeResponseBody.js.map +1 -0
- package/dist/models/ListLivyComputeResponseBodyData.d.ts +15 -0
- package/dist/models/ListLivyComputeResponseBodyData.js +62 -0
- package/dist/models/ListLivyComputeResponseBodyData.js.map +1 -0
- package/dist/models/ListLivyComputeResponseBodyDataLivyComputes.d.ts +58 -0
- package/dist/models/ListLivyComputeResponseBodyDataLivyComputes.js +74 -0
- package/dist/models/ListLivyComputeResponseBodyDataLivyComputes.js.map +1 -0
- package/dist/models/ListLivyComputeTokenRequest.d.ts +18 -0
- package/dist/models/ListLivyComputeTokenRequest.js +58 -0
- package/dist/models/ListLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/ListLivyComputeTokenResponse.js +69 -0
- package/dist/models/ListLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponseBody.d.ts +30 -0
- package/dist/models/ListLivyComputeTokenResponseBody.js +68 -0
- package/dist/models/ListLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponseBodyData.d.ts +15 -0
- package/dist/models/ListLivyComputeTokenResponseBodyData.js +62 -0
- package/dist/models/ListLivyComputeTokenResponseBodyData.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponseBodyDataTokens.d.ts +51 -0
- package/dist/models/ListLivyComputeTokenResponseBodyDataTokens.js +70 -0
- package/dist/models/ListLivyComputeTokenResponseBodyDataTokens.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenRequest.d.ts +30 -0
- package/dist/models/RefreshLivyComputeTokenRequest.js +68 -0
- package/dist/models/RefreshLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.d.ts +23 -0
- package/dist/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.js +60 -0
- package/dist/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/RefreshLivyComputeTokenResponse.js +69 -0
- package/dist/models/RefreshLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenResponseBody.d.ts +28 -0
- package/dist/models/RefreshLivyComputeTokenResponseBody.js +62 -0
- package/dist/models/RefreshLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/StartLivyComputeRequest.d.ts +18 -0
- package/dist/models/StartLivyComputeRequest.js +58 -0
- package/dist/models/StartLivyComputeRequest.js.map +1 -0
- package/dist/models/StartLivyComputeResponse.d.ts +19 -0
- package/dist/models/StartLivyComputeResponse.js +69 -0
- package/dist/models/StartLivyComputeResponse.js.map +1 -0
- package/dist/models/StartLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/StartLivyComputeResponseBody.js +62 -0
- package/dist/models/StartLivyComputeResponseBody.js.map +1 -0
- package/dist/models/StopLivyComputeRequest.d.ts +18 -0
- package/dist/models/StopLivyComputeRequest.js +58 -0
- package/dist/models/StopLivyComputeRequest.js.map +1 -0
- package/dist/models/StopLivyComputeResponse.d.ts +19 -0
- package/dist/models/StopLivyComputeResponse.js +69 -0
- package/dist/models/StopLivyComputeResponse.js.map +1 -0
- package/dist/models/StopLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/StopLivyComputeResponseBody.js +62 -0
- package/dist/models/StopLivyComputeResponseBody.js.map +1 -0
- package/dist/models/UpdateLivyComputeRequest.d.ts +88 -0
- package/dist/models/UpdateLivyComputeRequest.js +96 -0
- package/dist/models/UpdateLivyComputeRequest.js.map +1 -0
- package/dist/models/UpdateLivyComputeRequestAutoStartConfiguration.d.ts +18 -0
- package/dist/models/UpdateLivyComputeRequestAutoStartConfiguration.js +58 -0
- package/dist/models/UpdateLivyComputeRequestAutoStartConfiguration.js.map +1 -0
- package/dist/models/UpdateLivyComputeRequestAutoStopConfiguration.d.ts +23 -0
- package/dist/models/UpdateLivyComputeRequestAutoStopConfiguration.js +60 -0
- package/dist/models/UpdateLivyComputeRequestAutoStopConfiguration.js.map +1 -0
- package/dist/models/UpdateLivyComputeResponse.d.ts +19 -0
- package/dist/models/UpdateLivyComputeResponse.js +69 -0
- package/dist/models/UpdateLivyComputeResponse.js.map +1 -0
- package/dist/models/UpdateLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/UpdateLivyComputeResponseBody.js +62 -0
- package/dist/models/UpdateLivyComputeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +52 -0
- package/dist/models/model.js +109 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +696 -0
- package/src/models/CreateLivyComputeRequest.ts +141 -0
- package/src/models/CreateLivyComputeRequestAutoStartConfiguration.ts +31 -0
- package/src/models/CreateLivyComputeRequestAutoStopConfiguration.ts +38 -0
- package/src/models/CreateLivyComputeResponse.ts +40 -0
- package/src/models/CreateLivyComputeResponseBody.ts +52 -0
- package/src/models/CreateLivyComputeResponseBodyData.ts +31 -0
- package/src/models/CreateLivyComputeTokenRequest.ts +52 -0
- package/src/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.ts +38 -0
- package/src/models/CreateLivyComputeTokenResponse.ts +40 -0
- package/src/models/CreateLivyComputeTokenResponseBody.ts +52 -0
- package/src/models/CreateLivyComputeTokenResponseBodyData.ts +34 -0
- package/src/models/CreateSessionClusterRequest.ts +3 -3
- package/src/models/DeleteLivyComputeRequest.ts +31 -0
- package/src/models/DeleteLivyComputeResponse.ts +40 -0
- package/src/models/DeleteLivyComputeResponseBody.ts +45 -0
- package/src/models/DeleteLivyComputeTokenRequest.ts +31 -0
- package/src/models/DeleteLivyComputeTokenResponse.ts +40 -0
- package/src/models/DeleteLivyComputeTokenResponseBody.ts +45 -0
- package/src/models/GetLivyComputeRequest.ts +31 -0
- package/src/models/GetLivyComputeResponse.ts +40 -0
- package/src/models/GetLivyComputeResponseBody.ts +52 -0
- package/src/models/GetLivyComputeResponseBodyData.ts +183 -0
- package/src/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.ts +38 -0
- package/src/models/GetLivyComputeTokenRequest.ts +31 -0
- package/src/models/GetLivyComputeTokenResponse.ts +40 -0
- package/src/models/GetLivyComputeTokenResponseBody.ts +52 -0
- package/src/models/GetLivyComputeTokenResponseBodyData.ts +83 -0
- package/src/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.ts +38 -0
- package/src/models/GetSessionClusterResponseBody.ts +1 -1
- package/src/models/GetTemplateRequest.ts +5 -0
- package/src/models/ListJobRunsResponseBodyJobRuns.ts +1 -1
- package/src/models/ListLivyComputeRequest.ts +38 -0
- package/src/models/ListLivyComputeResponse.ts +40 -0
- package/src/models/ListLivyComputeResponseBody.ts +52 -0
- package/src/models/ListLivyComputeResponseBodyData.ts +31 -0
- package/src/models/ListLivyComputeResponseBodyDataLivyComputes.ts +87 -0
- package/src/models/ListLivyComputeTokenRequest.ts +31 -0
- package/src/models/ListLivyComputeTokenResponse.ts +40 -0
- package/src/models/ListLivyComputeTokenResponseBody.ts +52 -0
- package/src/models/ListLivyComputeTokenResponseBodyData.ts +31 -0
- package/src/models/ListLivyComputeTokenResponseBodyDataTokens.ts +76 -0
- package/src/models/RefreshLivyComputeTokenRequest.ts +52 -0
- package/src/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.ts +38 -0
- package/src/models/RefreshLivyComputeTokenResponse.ts +40 -0
- package/src/models/RefreshLivyComputeTokenResponseBody.ts +45 -0
- package/src/models/StartLivyComputeRequest.ts +31 -0
- package/src/models/StartLivyComputeResponse.ts +40 -0
- package/src/models/StartLivyComputeResponseBody.ts +45 -0
- package/src/models/StopLivyComputeRequest.ts +31 -0
- package/src/models/StopLivyComputeResponse.ts +40 -0
- package/src/models/StopLivyComputeResponseBody.ts +45 -0
- package/src/models/UpdateLivyComputeRequest.ts +137 -0
- package/src/models/UpdateLivyComputeRequestAutoStartConfiguration.ts +31 -0
- package/src/models/UpdateLivyComputeRequestAutoStopConfiguration.ts +38 -0
- package/src/models/UpdateLivyComputeResponse.ts +40 -0
- package/src/models/UpdateLivyComputeResponseBody.ts +45 -0
- package/src/models/model.ts +52 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLivyComputeRequestAutoStartConfiguration } from "./CreateLivyComputeRequestAutoStartConfiguration";
|
|
4
|
+
import { CreateLivyComputeRequestAutoStopConfiguration } from "./CreateLivyComputeRequestAutoStopConfiguration";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class CreateLivyComputeRequest extends $dara.Model {
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* Token
|
|
11
|
+
*/
|
|
12
|
+
authType?: string;
|
|
13
|
+
autoStartConfiguration?: CreateLivyComputeRequestAutoStartConfiguration;
|
|
14
|
+
autoStopConfiguration?: CreateLivyComputeRequestAutoStopConfiguration;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* 1
|
|
18
|
+
*/
|
|
19
|
+
cpuLimit?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* esr-4.3.0 (Spark 3.5.2, Scala 2.12)
|
|
23
|
+
*/
|
|
24
|
+
displayReleaseVersion?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @example
|
|
27
|
+
* true
|
|
28
|
+
*/
|
|
29
|
+
enablePublic?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* ev-ctfq0fem1hkhgv4hapng
|
|
33
|
+
*/
|
|
34
|
+
environmentId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* false
|
|
38
|
+
*/
|
|
39
|
+
fusion?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* {
|
|
43
|
+
* "sparkDefaultsConf": "spark.driver.cores 1\\nspark.driver.memory 4g\\nspark.executor.cores 1\\nspark.executor.memory 4g\\n",
|
|
44
|
+
* "sparkBlackListConf": "spark.driver.cores\\nspark.driver.memory",
|
|
45
|
+
* "livyConf": "livy.server.session.timeout 1h\\n",
|
|
46
|
+
* "livyClientConf": "livy.rsc.sql.num-rows 1000\\n"
|
|
47
|
+
* }
|
|
48
|
+
*/
|
|
49
|
+
livyServerConf?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* 0.8.0
|
|
53
|
+
*/
|
|
54
|
+
livyVersion?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 4Gi
|
|
58
|
+
*/
|
|
59
|
+
memoryLimit?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* testGateway
|
|
63
|
+
*/
|
|
64
|
+
name?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* test
|
|
68
|
+
*/
|
|
69
|
+
networkName?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* root_queue
|
|
73
|
+
*/
|
|
74
|
+
queueName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* esr-4.3.0 (Spark 3.5.2, Scala 2.12, Java Runtime)
|
|
78
|
+
*/
|
|
79
|
+
releaseVersion?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* cn-hangzhou
|
|
83
|
+
*/
|
|
84
|
+
regionId?: string;
|
|
85
|
+
static names(): { [key: string]: string } {
|
|
86
|
+
return {
|
|
87
|
+
authType: 'authType',
|
|
88
|
+
autoStartConfiguration: 'autoStartConfiguration',
|
|
89
|
+
autoStopConfiguration: 'autoStopConfiguration',
|
|
90
|
+
cpuLimit: 'cpuLimit',
|
|
91
|
+
displayReleaseVersion: 'displayReleaseVersion',
|
|
92
|
+
enablePublic: 'enablePublic',
|
|
93
|
+
environmentId: 'environmentId',
|
|
94
|
+
fusion: 'fusion',
|
|
95
|
+
livyServerConf: 'livyServerConf',
|
|
96
|
+
livyVersion: 'livyVersion',
|
|
97
|
+
memoryLimit: 'memoryLimit',
|
|
98
|
+
name: 'name',
|
|
99
|
+
networkName: 'networkName',
|
|
100
|
+
queueName: 'queueName',
|
|
101
|
+
releaseVersion: 'releaseVersion',
|
|
102
|
+
regionId: 'regionId',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
authType: 'string',
|
|
109
|
+
autoStartConfiguration: CreateLivyComputeRequestAutoStartConfiguration,
|
|
110
|
+
autoStopConfiguration: CreateLivyComputeRequestAutoStopConfiguration,
|
|
111
|
+
cpuLimit: 'string',
|
|
112
|
+
displayReleaseVersion: 'string',
|
|
113
|
+
enablePublic: 'boolean',
|
|
114
|
+
environmentId: 'string',
|
|
115
|
+
fusion: 'boolean',
|
|
116
|
+
livyServerConf: 'string',
|
|
117
|
+
livyVersion: 'string',
|
|
118
|
+
memoryLimit: 'string',
|
|
119
|
+
name: 'string',
|
|
120
|
+
networkName: 'string',
|
|
121
|
+
queueName: 'string',
|
|
122
|
+
releaseVersion: 'string',
|
|
123
|
+
regionId: 'string',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
validate() {
|
|
128
|
+
if(this.autoStartConfiguration && typeof (this.autoStartConfiguration as any).validate === 'function') {
|
|
129
|
+
(this.autoStartConfiguration as any).validate();
|
|
130
|
+
}
|
|
131
|
+
if(this.autoStopConfiguration && typeof (this.autoStopConfiguration as any).validate === 'function') {
|
|
132
|
+
(this.autoStopConfiguration as any).validate();
|
|
133
|
+
}
|
|
134
|
+
super.validate();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
constructor(map?: { [key: string]: any }) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -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 CreateLivyComputeRequestAutoStartConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
enable: 'enable',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
enable: 'boolean',
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateLivyComputeRequestAutoStopConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 300
|
|
14
|
+
*/
|
|
15
|
+
idleTimeoutMinutes?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
enable: 'enable',
|
|
19
|
+
idleTimeoutMinutes: 'idleTimeoutMinutes',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
enable: 'boolean',
|
|
26
|
+
idleTimeoutMinutes: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLivyComputeResponseBody } from "./CreateLivyComputeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateLivyComputeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateLivyComputeResponseBody;
|
|
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: CreateLivyComputeResponseBody,
|
|
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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLivyComputeResponseBodyData } from "./CreateLivyComputeResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateLivyComputeResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1000000
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
data?: CreateLivyComputeResponseBodyData;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ok
|
|
16
|
+
*/
|
|
17
|
+
message?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
21
|
+
*/
|
|
22
|
+
requestId?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
code: 'code',
|
|
26
|
+
data: 'data',
|
|
27
|
+
message: 'message',
|
|
28
|
+
requestId: 'requestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
code: 'string',
|
|
35
|
+
data: CreateLivyComputeResponseBodyData,
|
|
36
|
+
message: 'string',
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
43
|
+
(this.data as any).validate();
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -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 CreateLivyComputeResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* lc-i8xogcdfa4fk3yn1
|
|
9
|
+
*/
|
|
10
|
+
livyComputeId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
livyComputeId: 'livyComputeId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
livyComputeId: '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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLivyComputeTokenRequestAutoExpireConfiguration } from "./CreateLivyComputeTokenRequestAutoExpireConfiguration";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateLivyComputeTokenRequest extends $dara.Model {
|
|
7
|
+
autoExpireConfiguration?: CreateLivyComputeTokenRequestAutoExpireConfiguration;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* mytoken
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* gs3fy75w4o7hqe5s
|
|
16
|
+
*/
|
|
17
|
+
token?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* cn-hangzhou
|
|
21
|
+
*/
|
|
22
|
+
regionId?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
autoExpireConfiguration: 'autoExpireConfiguration',
|
|
26
|
+
name: 'name',
|
|
27
|
+
token: 'token',
|
|
28
|
+
regionId: 'regionId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
autoExpireConfiguration: CreateLivyComputeTokenRequestAutoExpireConfiguration,
|
|
35
|
+
name: 'string',
|
|
36
|
+
token: 'string',
|
|
37
|
+
regionId: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(this.autoExpireConfiguration && typeof (this.autoExpireConfiguration as any).validate === 'function') {
|
|
43
|
+
(this.autoExpireConfiguration as any).validate();
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateLivyComputeTokenRequestAutoExpireConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 7
|
|
14
|
+
*/
|
|
15
|
+
expireDays?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
enable: 'enable',
|
|
19
|
+
expireDays: 'expireDays',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
enable: 'boolean',
|
|
26
|
+
expireDays: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLivyComputeTokenResponseBody } from "./CreateLivyComputeTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateLivyComputeTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateLivyComputeTokenResponseBody;
|
|
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: CreateLivyComputeTokenResponseBody,
|
|
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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateLivyComputeTokenResponseBodyData } from "./CreateLivyComputeTokenResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateLivyComputeTokenResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1000000
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
data?: CreateLivyComputeTokenResponseBodyData;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ok
|
|
16
|
+
*/
|
|
17
|
+
message?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
21
|
+
*/
|
|
22
|
+
requestId?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
code: 'code',
|
|
26
|
+
data: 'data',
|
|
27
|
+
message: 'message',
|
|
28
|
+
requestId: 'requestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
code: 'string',
|
|
35
|
+
data: CreateLivyComputeTokenResponseBodyData,
|
|
36
|
+
message: 'string',
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
43
|
+
(this.data as any).validate();
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateLivyComputeTokenResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Token ID。
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* lctk-xxxxxxxx
|
|
12
|
+
*/
|
|
13
|
+
tokenId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
tokenId: 'tokenId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
tokenId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -13,10 +13,10 @@ export class CreateSessionClusterRequest extends $dara.Model {
|
|
|
13
13
|
applicationConfigs?: CreateSessionClusterRequestApplicationConfigs[];
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Specifies whether to enable automatic startup.
|
|
17
17
|
*
|
|
18
|
-
* *
|
|
19
|
-
* *
|
|
18
|
+
* * true
|
|
19
|
+
* * false
|
|
20
20
|
*/
|
|
21
21
|
autoStartConfiguration?: CreateSessionClusterRequestAutoStartConfiguration;
|
|
22
22
|
/**
|
|
@@ -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 DeleteLivyComputeRequest 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 { DeleteLivyComputeResponseBody } from "./DeleteLivyComputeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteLivyComputeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteLivyComputeResponseBody;
|
|
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: DeleteLivyComputeResponseBody,
|
|
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,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteLivyComputeResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1000000
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* ok
|
|
14
|
+
*/
|
|
15
|
+
message?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
code: 'code',
|
|
24
|
+
message: 'message',
|
|
25
|
+
requestId: 'requestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
code: 'string',
|
|
32
|
+
message: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|