@alicloud/sae20190506 2.2.0 → 2.3.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 +18 -0
- package/dist/client.js +51 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +1 -0
- package/dist/models/CreateApplicationRequest.js +2 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/CreateApplicationShrinkRequest.js +2 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DeleteInstancesRequest.d.ts +29 -0
- package/dist/models/DeleteInstancesRequest.js +60 -0
- package/dist/models/DeleteInstancesRequest.js.map +1 -0
- package/dist/models/DeleteInstancesResponse.d.ts +19 -0
- package/dist/models/DeleteInstancesResponse.js +69 -0
- package/dist/models/DeleteInstancesResponse.js.map +1 -0
- package/dist/models/DeleteInstancesResponseBody.d.ts +41 -0
- package/dist/models/DeleteInstancesResponseBody.js +74 -0
- package/dist/models/DeleteInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteInstancesResponseBodyData.d.ts +18 -0
- package/dist/models/DeleteInstancesResponseBodyData.js +58 -0
- package/dist/models/DeleteInstancesResponseBodyData.js.map +1 -0
- package/dist/models/DeployApplicationRequest.d.ts +1 -0
- package/dist/models/DeployApplicationRequest.js +2 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/PriceEstimateFeature.d.ts +26 -0
- package/dist/models/PriceEstimateFeature.js +15 -0
- package/dist/models/PriceEstimateFeature.js.map +1 -1
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.d.ts +2 -0
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.js +4 -0
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +24 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -0
- package/src/models/CreateApplicationRequest.ts +3 -0
- package/src/models/CreateApplicationShrinkRequest.ts +3 -0
- package/src/models/DeleteInstancesRequest.ts +44 -0
- package/src/models/DeleteInstancesResponse.ts +40 -0
- package/src/models/DeleteInstancesResponseBody.ts +69 -0
- package/src/models/DeleteInstancesResponseBodyData.ts +31 -0
- package/src/models/DeployApplicationRequest.ts +3 -0
- package/src/models/DeployApplicationShrinkRequest.ts +3 -0
- package/src/models/PriceEstimateFeature.ts +41 -0
- package/src/models/QueryResourceStaticsResponseBodyDataSummary.ts +6 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteInstancesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 017f39b8-dfa4-4e16-a84b-1dcee4b1****
|
|
12
|
+
*/
|
|
13
|
+
appId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* demo-aaed579c-1f8a-431e-8705-97d18e91c7b4******
|
|
20
|
+
*/
|
|
21
|
+
instanceIds?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
appId: 'AppId',
|
|
25
|
+
instanceIds: 'InstanceIds',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
appId: 'string',
|
|
32
|
+
instanceIds: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteInstancesResponseBody } from "./DeleteInstancesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteInstancesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteInstancesResponseBody;
|
|
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: DeleteInstancesResponseBody,
|
|
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,69 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteInstancesResponseBodyData } from "./DeleteInstancesResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteInstancesResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 200
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
data?: DeleteInstancesResponseBodyData;
|
|
13
|
+
errorCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* success
|
|
17
|
+
*/
|
|
18
|
+
message?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* true
|
|
27
|
+
*/
|
|
28
|
+
success?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 0a981dd515966966104121683d****
|
|
32
|
+
*/
|
|
33
|
+
traceId?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
code: 'Code',
|
|
37
|
+
data: 'Data',
|
|
38
|
+
errorCode: 'ErrorCode',
|
|
39
|
+
message: 'Message',
|
|
40
|
+
requestId: 'RequestId',
|
|
41
|
+
success: 'Success',
|
|
42
|
+
traceId: 'TraceId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static types(): { [key: string]: any } {
|
|
47
|
+
return {
|
|
48
|
+
code: 'string',
|
|
49
|
+
data: DeleteInstancesResponseBodyData,
|
|
50
|
+
errorCode: 'string',
|
|
51
|
+
message: 'string',
|
|
52
|
+
requestId: 'string',
|
|
53
|
+
success: 'boolean',
|
|
54
|
+
traceId: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
60
|
+
(this.data as any).validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -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 DeleteInstancesResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 01db03d3-3ee9-48b3-b3d0-dfce2d88****
|
|
9
|
+
*/
|
|
10
|
+
changeOrderId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
changeOrderId: 'ChangeOrderId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
changeOrderId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -214,6 +214,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
214
214
|
* [{"name":"envtmp","value":"0"}]
|
|
215
215
|
*/
|
|
216
216
|
envs?: string;
|
|
217
|
+
gpuConfig?: string;
|
|
217
218
|
/**
|
|
218
219
|
* @remarks
|
|
219
220
|
* The ID of the corresponding Secret.
|
|
@@ -693,6 +694,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
693
694
|
enableNewArms: 'EnableNewArms',
|
|
694
695
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
695
696
|
envs: 'Envs',
|
|
697
|
+
gpuConfig: 'GpuConfig',
|
|
696
698
|
imagePullSecrets: 'ImagePullSecrets',
|
|
697
699
|
imageUrl: 'ImageUrl',
|
|
698
700
|
initContainersConfig: 'InitContainersConfig',
|
|
@@ -770,6 +772,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
770
772
|
enableNewArms: 'boolean',
|
|
771
773
|
enableSidecarResourceIsolated: 'boolean',
|
|
772
774
|
envs: 'string',
|
|
775
|
+
gpuConfig: 'string',
|
|
773
776
|
imagePullSecrets: 'string',
|
|
774
777
|
imageUrl: 'string',
|
|
775
778
|
initContainersConfig: { 'type': 'array', 'itemType': InitContainerConfig },
|
|
@@ -212,6 +212,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
212
212
|
* [{"name":"envtmp","value":"0"}]
|
|
213
213
|
*/
|
|
214
214
|
envs?: string;
|
|
215
|
+
gpuConfig?: string;
|
|
215
216
|
/**
|
|
216
217
|
* @remarks
|
|
217
218
|
* The ID of the corresponding Secret.
|
|
@@ -691,6 +692,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
691
692
|
enableNewArms: 'EnableNewArms',
|
|
692
693
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
693
694
|
envs: 'Envs',
|
|
695
|
+
gpuConfig: 'GpuConfig',
|
|
694
696
|
imagePullSecrets: 'ImagePullSecrets',
|
|
695
697
|
imageUrl: 'ImageUrl',
|
|
696
698
|
initContainersConfigShrink: 'InitContainersConfig',
|
|
@@ -768,6 +770,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
768
770
|
enableNewArms: 'boolean',
|
|
769
771
|
enableSidecarResourceIsolated: 'boolean',
|
|
770
772
|
envs: 'string',
|
|
773
|
+
gpuConfig: 'string',
|
|
771
774
|
imagePullSecrets: 'string',
|
|
772
775
|
imageUrl: 'string',
|
|
773
776
|
initContainersConfigShrink: 'string',
|
|
@@ -27,6 +27,17 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
27
27
|
* Request/Always
|
|
28
28
|
*/
|
|
29
29
|
cpuStrategy?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* L1
|
|
33
|
+
*/
|
|
34
|
+
cpuUtilLevel?: string;
|
|
35
|
+
cpuUtilMetrics?: number[];
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* true
|
|
39
|
+
*/
|
|
40
|
+
enableCpuIdle?: boolean;
|
|
30
41
|
/**
|
|
31
42
|
* @remarks
|
|
32
43
|
* This parameter is required.
|
|
@@ -35,6 +46,11 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
35
46
|
* Test/Production
|
|
36
47
|
*/
|
|
37
48
|
envType?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* 30
|
|
52
|
+
*/
|
|
53
|
+
ephemeralStorageGiB?: number;
|
|
38
54
|
/**
|
|
39
55
|
* @example
|
|
40
56
|
* 3
|
|
@@ -93,6 +109,11 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
93
109
|
* 1
|
|
94
110
|
*/
|
|
95
111
|
minInstanceCount?: number;
|
|
112
|
+
/**
|
|
113
|
+
* @example
|
|
114
|
+
* std
|
|
115
|
+
*/
|
|
116
|
+
newSaeVersion?: string;
|
|
96
117
|
/**
|
|
97
118
|
* @example
|
|
98
119
|
* 0
|
|
@@ -111,12 +132,21 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
111
132
|
* cn-hangzhou
|
|
112
133
|
*/
|
|
113
134
|
regionId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* haiguang
|
|
138
|
+
*/
|
|
139
|
+
resourceType?: string;
|
|
114
140
|
static names(): { [key: string]: string } {
|
|
115
141
|
return {
|
|
116
142
|
appType: 'AppType',
|
|
117
143
|
cpuCore: 'CpuCore',
|
|
118
144
|
cpuStrategy: 'CpuStrategy',
|
|
145
|
+
cpuUtilLevel: 'CpuUtilLevel',
|
|
146
|
+
cpuUtilMetrics: 'CpuUtilMetrics',
|
|
147
|
+
enableCpuIdle: 'EnableCpuIdle',
|
|
119
148
|
envType: 'EnvType',
|
|
149
|
+
ephemeralStorageGiB: 'EphemeralStorageGiB',
|
|
120
150
|
highLoadInstanceCount: 'HighLoadInstanceCount',
|
|
121
151
|
highLoadQps: 'HighLoadQps',
|
|
122
152
|
highLoadSeconds: 'HighLoadSeconds',
|
|
@@ -128,9 +158,11 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
128
158
|
maxInstanceCount: 'MaxInstanceCount',
|
|
129
159
|
memoryGiB: 'MemoryGiB',
|
|
130
160
|
minInstanceCount: 'MinInstanceCount',
|
|
161
|
+
newSaeVersion: 'NewSaeVersion',
|
|
131
162
|
noneLoadInstanceCount: 'NoneLoadInstanceCount',
|
|
132
163
|
noneLoadSeconds: 'NoneLoadSeconds',
|
|
133
164
|
regionId: 'RegionId',
|
|
165
|
+
resourceType: 'ResourceType',
|
|
134
166
|
};
|
|
135
167
|
}
|
|
136
168
|
|
|
@@ -139,7 +171,11 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
139
171
|
appType: 'string',
|
|
140
172
|
cpuCore: 'number',
|
|
141
173
|
cpuStrategy: 'string',
|
|
174
|
+
cpuUtilLevel: 'string',
|
|
175
|
+
cpuUtilMetrics: { 'type': 'array', 'itemType': 'number' },
|
|
176
|
+
enableCpuIdle: 'boolean',
|
|
142
177
|
envType: 'string',
|
|
178
|
+
ephemeralStorageGiB: 'number',
|
|
143
179
|
highLoadInstanceCount: 'number',
|
|
144
180
|
highLoadQps: 'number',
|
|
145
181
|
highLoadSeconds: 'number',
|
|
@@ -151,13 +187,18 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
151
187
|
maxInstanceCount: 'number',
|
|
152
188
|
memoryGiB: 'number',
|
|
153
189
|
minInstanceCount: 'number',
|
|
190
|
+
newSaeVersion: 'string',
|
|
154
191
|
noneLoadInstanceCount: 'number',
|
|
155
192
|
noneLoadSeconds: 'number',
|
|
156
193
|
regionId: 'string',
|
|
194
|
+
resourceType: 'string',
|
|
157
195
|
};
|
|
158
196
|
}
|
|
159
197
|
|
|
160
198
|
validate() {
|
|
199
|
+
if(Array.isArray(this.cpuUtilMetrics)) {
|
|
200
|
+
$dara.Model.validateArray(this.cpuUtilMetrics);
|
|
201
|
+
}
|
|
161
202
|
super.validate();
|
|
162
203
|
}
|
|
163
204
|
|
|
@@ -14,6 +14,8 @@ export class QueryResourceStaticsResponseBodyDataSummary extends $dara.Model {
|
|
|
14
14
|
cpu?: number;
|
|
15
15
|
cu?: number;
|
|
16
16
|
ephemeralStorage?: number;
|
|
17
|
+
gpuA10?: number;
|
|
18
|
+
gpuPpu810e?: number;
|
|
17
19
|
idleCpu?: number;
|
|
18
20
|
/**
|
|
19
21
|
* @remarks
|
|
@@ -29,6 +31,8 @@ export class QueryResourceStaticsResponseBodyDataSummary extends $dara.Model {
|
|
|
29
31
|
cpu: 'Cpu',
|
|
30
32
|
cu: 'Cu',
|
|
31
33
|
ephemeralStorage: 'EphemeralStorage',
|
|
34
|
+
gpuA10: 'GpuA10',
|
|
35
|
+
gpuPpu810e: 'GpuPpu810e',
|
|
32
36
|
idleCpu: 'IdleCpu',
|
|
33
37
|
memory: 'Memory',
|
|
34
38
|
};
|
|
@@ -40,6 +44,8 @@ export class QueryResourceStaticsResponseBodyDataSummary extends $dara.Model {
|
|
|
40
44
|
cpu: 'number',
|
|
41
45
|
cu: 'number',
|
|
42
46
|
ephemeralStorage: 'number',
|
|
47
|
+
gpuA10: 'number',
|
|
48
|
+
gpuPpu810e: 'number',
|
|
43
49
|
idleCpu: 'number',
|
|
44
50
|
memory: 'number',
|
|
45
51
|
};
|
package/src/models/model.ts
CHANGED
|
@@ -68,6 +68,7 @@ export { DeleteApplicationResponseBodyData } from './DeleteApplicationResponseBo
|
|
|
68
68
|
export { DeleteConfigMapResponseBodyData } from './DeleteConfigMapResponseBodyData';
|
|
69
69
|
export { DeleteGreyTagRouteResponseBodyData } from './DeleteGreyTagRouteResponseBodyData';
|
|
70
70
|
export { DeleteIngressResponseBodyData } from './DeleteIngressResponseBodyData';
|
|
71
|
+
export { DeleteInstancesResponseBodyData } from './DeleteInstancesResponseBodyData';
|
|
71
72
|
export { DeleteSecretResponseBodyData } from './DeleteSecretResponseBodyData';
|
|
72
73
|
export { DeployApplicationResponseBodyData } from './DeployApplicationResponseBodyData';
|
|
73
74
|
export { DescribeAppServiceDetailResponseBodyDataMethodsParameterDefinitions } from './DescribeAppServiceDetailResponseBodyDataMethodsParameterDefinitions';
|
|
@@ -503,6 +504,9 @@ export { DeleteHistoryJobResponse } from './DeleteHistoryJobResponse';
|
|
|
503
504
|
export { DeleteIngressRequest } from './DeleteIngressRequest';
|
|
504
505
|
export { DeleteIngressResponseBody } from './DeleteIngressResponseBody';
|
|
505
506
|
export { DeleteIngressResponse } from './DeleteIngressResponse';
|
|
507
|
+
export { DeleteInstancesRequest } from './DeleteInstancesRequest';
|
|
508
|
+
export { DeleteInstancesResponseBody } from './DeleteInstancesResponseBody';
|
|
509
|
+
export { DeleteInstancesResponse } from './DeleteInstancesResponse';
|
|
506
510
|
export { DeleteJobRequest } from './DeleteJobRequest';
|
|
507
511
|
export { DeleteJobResponseBody } from './DeleteJobResponseBody';
|
|
508
512
|
export { DeleteJobResponse } from './DeleteJobResponse';
|