@alicloud/sae20190506 2.5.9 → 2.6.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 +14 -0
- package/dist/client.js +56 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateJobRequest.d.ts +2 -0
- package/dist/models/CreateJobRequest.js +4 -0
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/DescribeApplicationMseServiceRequest.d.ts +29 -0
- package/dist/models/DescribeApplicationMseServiceRequest.js +60 -0
- package/dist/models/DescribeApplicationMseServiceRequest.js.map +1 -0
- package/dist/models/DescribeApplicationMseServiceResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationMseServiceResponse.js +69 -0
- package/dist/models/DescribeApplicationMseServiceResponse.js.map +1 -0
- package/dist/models/DescribeApplicationMseServiceResponseBody.d.ts +56 -0
- package/dist/models/DescribeApplicationMseServiceResponseBody.js +98 -0
- package/dist/models/DescribeApplicationMseServiceResponseBody.js.map +1 -0
- package/dist/models/DescribeConfigurationPriceRequest.d.ts +1 -0
- package/dist/models/DescribeConfigurationPriceRequest.js +2 -0
- package/dist/models/DescribeConfigurationPriceRequest.js.map +1 -1
- package/dist/models/DescribeJobResponseBody.d.ts +1 -0
- package/dist/models/DescribeJobResponseBody.js +2 -0
- package/dist/models/DescribeJobResponseBody.js.map +1 -1
- package/dist/models/UpdateJobRequest.d.ts +2 -0
- package/dist/models/UpdateJobRequest.js +4 -0
- package/dist/models/UpdateJobRequest.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 +65 -0
- package/src/models/CreateJobRequest.ts +6 -0
- package/src/models/DescribeApplicationMseServiceRequest.ts +44 -0
- package/src/models/DescribeApplicationMseServiceResponse.ts +40 -0
- package/src/models/DescribeApplicationMseServiceResponseBody.ts +100 -0
- package/src/models/DescribeConfigurationPriceRequest.ts +3 -0
- package/src/models/DescribeJobResponseBody.ts +3 -0
- package/src/models/UpdateJobRequest.ts +6 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApplicationMseServiceResponseBodyData extends $dara.Model {
|
|
6
|
+
mseAppId?: string;
|
|
7
|
+
mseAppName?: string;
|
|
8
|
+
mseAppNameSpace?: string;
|
|
9
|
+
status?: string;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
mseAppId: 'MseAppId',
|
|
13
|
+
mseAppName: 'MseAppName',
|
|
14
|
+
mseAppNameSpace: 'MseAppNameSpace',
|
|
15
|
+
status: 'Status',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
mseAppId: 'string',
|
|
22
|
+
mseAppName: 'string',
|
|
23
|
+
mseAppNameSpace: 'string',
|
|
24
|
+
status: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export class DescribeApplicationMseServiceResponseBody extends $dara.Model {
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 200
|
|
41
|
+
*/
|
|
42
|
+
code?: string;
|
|
43
|
+
data?: DescribeApplicationMseServiceResponseBodyData;
|
|
44
|
+
errorCode?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* success
|
|
48
|
+
*/
|
|
49
|
+
message?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* B4D805CA-926D-41B1-8E63-7AD0C1ED****
|
|
53
|
+
*/
|
|
54
|
+
requestId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* true
|
|
58
|
+
*/
|
|
59
|
+
success?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 0a98a02315955564772843261e****
|
|
63
|
+
*/
|
|
64
|
+
traceId?: string;
|
|
65
|
+
static names(): { [key: string]: string } {
|
|
66
|
+
return {
|
|
67
|
+
code: 'Code',
|
|
68
|
+
data: 'Data',
|
|
69
|
+
errorCode: 'ErrorCode',
|
|
70
|
+
message: 'Message',
|
|
71
|
+
requestId: 'RequestId',
|
|
72
|
+
success: 'Success',
|
|
73
|
+
traceId: 'TraceId',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
code: 'string',
|
|
80
|
+
data: DescribeApplicationMseServiceResponseBodyData,
|
|
81
|
+
errorCode: 'string',
|
|
82
|
+
message: 'string',
|
|
83
|
+
requestId: 'string',
|
|
84
|
+
success: 'boolean',
|
|
85
|
+
traceId: 'string',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
validate() {
|
|
90
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
91
|
+
(this.data as any).validate();
|
|
92
|
+
}
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
constructor(map?: { [key: string]: any }) {
|
|
97
|
+
super(map);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeConfigurationPriceRequest extends $dara.Model {
|
|
6
|
+
bestEffortType?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:
|
|
@@ -58,6 +59,7 @@ export class DescribeConfigurationPriceRequest extends $dara.Model {
|
|
|
58
59
|
workload?: string;
|
|
59
60
|
static names(): { [key: string]: string } {
|
|
60
61
|
return {
|
|
62
|
+
bestEffortType: 'BestEffortType',
|
|
61
63
|
cpu: 'Cpu',
|
|
62
64
|
memory: 'Memory',
|
|
63
65
|
newSaeVersion: 'NewSaeVersion',
|
|
@@ -68,6 +70,7 @@ export class DescribeConfigurationPriceRequest extends $dara.Model {
|
|
|
68
70
|
|
|
69
71
|
static types(): { [key: string]: any } {
|
|
70
72
|
return {
|
|
73
|
+
bestEffortType: 'string',
|
|
71
74
|
cpu: 'number',
|
|
72
75
|
memory: 'number',
|
|
73
76
|
newSaeVersion: 'string',
|
|
@@ -254,6 +254,7 @@ export class DescribeJobResponseBodyData extends $dara.Model {
|
|
|
254
254
|
* 3
|
|
255
255
|
*/
|
|
256
256
|
backoffLimit?: number;
|
|
257
|
+
bestEffortType?: string;
|
|
257
258
|
/**
|
|
258
259
|
* @remarks
|
|
259
260
|
* The command that is used to start the image. The command must be an existing executable object in the container. Example:
|
|
@@ -765,6 +766,7 @@ export class DescribeJobResponseBodyData extends $dara.Model {
|
|
|
765
766
|
appId: 'AppId',
|
|
766
767
|
appName: 'AppName',
|
|
767
768
|
backoffLimit: 'BackoffLimit',
|
|
769
|
+
bestEffortType: 'BestEffortType',
|
|
768
770
|
command: 'Command',
|
|
769
771
|
commandArgs: 'CommandArgs',
|
|
770
772
|
concurrencyPolicy: 'ConcurrencyPolicy',
|
|
@@ -829,6 +831,7 @@ export class DescribeJobResponseBodyData extends $dara.Model {
|
|
|
829
831
|
appId: 'string',
|
|
830
832
|
appName: 'string',
|
|
831
833
|
backoffLimit: 'number',
|
|
834
|
+
bestEffortType: 'string',
|
|
832
835
|
command: 'string',
|
|
833
836
|
commandArgs: 'string',
|
|
834
837
|
concurrencyPolicy: 'string',
|
|
@@ -37,6 +37,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
37
37
|
* 3
|
|
38
38
|
*/
|
|
39
39
|
backoffLimit?: number;
|
|
40
|
+
bestEffortType?: string;
|
|
40
41
|
/**
|
|
41
42
|
* @remarks
|
|
42
43
|
* The command that is used to start the image. The command must be an existing executable object in the container. Example:
|
|
@@ -197,6 +198,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
197
198
|
* 10d3b4bc9****.com
|
|
198
199
|
*/
|
|
199
200
|
mountHost?: string;
|
|
201
|
+
nasConfigs?: string;
|
|
200
202
|
/**
|
|
201
203
|
* @remarks
|
|
202
204
|
* The ID of the Apsara File Storage NAS file system. If you do not need to modify the NAS configurations when you deploy the application, configure **NasId** only in the first request. If you no longer need to use NAS, leave **NasId** empty in the request.
|
|
@@ -441,6 +443,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
441
443
|
acrInstanceId: 'AcrInstanceId',
|
|
442
444
|
appId: 'AppId',
|
|
443
445
|
backoffLimit: 'BackoffLimit',
|
|
446
|
+
bestEffortType: 'BestEffortType',
|
|
444
447
|
command: 'Command',
|
|
445
448
|
commandArgs: 'CommandArgs',
|
|
446
449
|
concurrencyPolicy: 'ConcurrencyPolicy',
|
|
@@ -456,6 +459,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
456
459
|
jdk: 'Jdk',
|
|
457
460
|
mountDesc: 'MountDesc',
|
|
458
461
|
mountHost: 'MountHost',
|
|
462
|
+
nasConfigs: 'NasConfigs',
|
|
459
463
|
nasId: 'NasId',
|
|
460
464
|
ossAkId: 'OssAkId',
|
|
461
465
|
ossAkSecret: 'OssAkSecret',
|
|
@@ -491,6 +495,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
491
495
|
acrInstanceId: 'string',
|
|
492
496
|
appId: 'string',
|
|
493
497
|
backoffLimit: 'number',
|
|
498
|
+
bestEffortType: 'string',
|
|
494
499
|
command: 'string',
|
|
495
500
|
commandArgs: 'string',
|
|
496
501
|
concurrencyPolicy: 'string',
|
|
@@ -506,6 +511,7 @@ export class UpdateJobRequest extends $dara.Model {
|
|
|
506
511
|
jdk: 'string',
|
|
507
512
|
mountDesc: 'string',
|
|
508
513
|
mountHost: 'string',
|
|
514
|
+
nasConfigs: 'string',
|
|
509
515
|
nasId: 'string',
|
|
510
516
|
ossAkId: 'string',
|
|
511
517
|
ossAkSecret: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -91,6 +91,7 @@ export { DescribeApplicationImageResponseBodyData } from './DescribeApplicationI
|
|
|
91
91
|
export { DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus } from './DescribeApplicationInstancesResponseBody';
|
|
92
92
|
export { DescribeApplicationInstancesResponseBodyDataInstances } from './DescribeApplicationInstancesResponseBody';
|
|
93
93
|
export { DescribeApplicationInstancesResponseBodyData } from './DescribeApplicationInstancesResponseBody';
|
|
94
|
+
export { DescribeApplicationMseServiceResponseBodyData } from './DescribeApplicationMseServiceResponseBody';
|
|
94
95
|
export { DescribeApplicationNlbsResponseBodyData } from './DescribeApplicationNlbsResponseBody';
|
|
95
96
|
export { DescribeApplicationScalingRuleResponseBodyDataMetricMetrics } from './DescribeApplicationScalingRuleResponseBody';
|
|
96
97
|
export { DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusCurrentMetrics } from './DescribeApplicationScalingRuleResponseBody';
|
|
@@ -552,6 +553,9 @@ export { DescribeApplicationImageResponse } from './DescribeApplicationImageResp
|
|
|
552
553
|
export { DescribeApplicationInstancesRequest } from './DescribeApplicationInstancesRequest';
|
|
553
554
|
export { DescribeApplicationInstancesResponseBody } from './DescribeApplicationInstancesResponseBody';
|
|
554
555
|
export { DescribeApplicationInstancesResponse } from './DescribeApplicationInstancesResponse';
|
|
556
|
+
export { DescribeApplicationMseServiceRequest } from './DescribeApplicationMseServiceRequest';
|
|
557
|
+
export { DescribeApplicationMseServiceResponseBody } from './DescribeApplicationMseServiceResponseBody';
|
|
558
|
+
export { DescribeApplicationMseServiceResponse } from './DescribeApplicationMseServiceResponse';
|
|
555
559
|
export { DescribeApplicationNlbsRequest } from './DescribeApplicationNlbsRequest';
|
|
556
560
|
export { DescribeApplicationNlbsResponseBody } from './DescribeApplicationNlbsResponseBody';
|
|
557
561
|
export { DescribeApplicationNlbsResponse } from './DescribeApplicationNlbsResponse';
|