@alicloud/sae20190506 2.5.8 → 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 +59 -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/CreateJobRequest.d.ts +2 -0
- package/dist/models/CreateJobRequest.js +4 -0
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBody.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 +69 -0
- package/src/models/CreateApplicationRequest.ts +3 -0
- package/src/models/CreateApplicationShrinkRequest.ts +3 -0
- package/src/models/CreateJobRequest.ts +6 -0
- package/src/models/DescribeApplicationConfigResponseBody.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
package/src/client.ts
CHANGED
|
@@ -505,6 +505,10 @@ export default class Client extends OpenApi {
|
|
|
505
505
|
query["GpuConfig"] = request.gpuConfig;
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
+
if (!$dara.isNull(request.headlessPvtzDiscoverySvc)) {
|
|
509
|
+
query["HeadlessPvtzDiscoverySvc"] = request.headlessPvtzDiscoverySvc;
|
|
510
|
+
}
|
|
511
|
+
|
|
508
512
|
if (!$dara.isNull(request.html)) {
|
|
509
513
|
query["Html"] = request.html;
|
|
510
514
|
}
|
|
@@ -1156,6 +1160,10 @@ export default class Client extends OpenApi {
|
|
|
1156
1160
|
query["BackoffLimit"] = request.backoffLimit;
|
|
1157
1161
|
}
|
|
1158
1162
|
|
|
1163
|
+
if (!$dara.isNull(request.bestEffortType)) {
|
|
1164
|
+
query["BestEffortType"] = request.bestEffortType;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1159
1167
|
if (!$dara.isNull(request.command)) {
|
|
1160
1168
|
query["Command"] = request.command;
|
|
1161
1169
|
}
|
|
@@ -1220,6 +1228,10 @@ export default class Client extends OpenApi {
|
|
|
1220
1228
|
query["NamespaceId"] = request.namespaceId;
|
|
1221
1229
|
}
|
|
1222
1230
|
|
|
1231
|
+
if (!$dara.isNull(request.nasConfigs)) {
|
|
1232
|
+
query["NasConfigs"] = request.nasConfigs;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1223
1235
|
if (!$dara.isNull(request.nasId)) {
|
|
1224
1236
|
query["NasId"] = request.nasId;
|
|
1225
1237
|
}
|
|
@@ -3092,6 +3104,51 @@ export default class Client extends OpenApi {
|
|
|
3092
3104
|
return await this.describeApplicationInstancesWithOptions(request, headers, runtime);
|
|
3093
3105
|
}
|
|
3094
3106
|
|
|
3107
|
+
/**
|
|
3108
|
+
* @param request - DescribeApplicationMseServiceRequest
|
|
3109
|
+
* @param headers - map
|
|
3110
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3111
|
+
* @returns DescribeApplicationMseServiceResponse
|
|
3112
|
+
*/
|
|
3113
|
+
async describeApplicationMseServiceWithOptions(request: $_model.DescribeApplicationMseServiceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationMseServiceResponse> {
|
|
3114
|
+
request.validate();
|
|
3115
|
+
let query : {[key: string ]: any} = { };
|
|
3116
|
+
if (!$dara.isNull(request.appId)) {
|
|
3117
|
+
query["AppId"] = request.appId;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
if (!$dara.isNull(request.enableAhas)) {
|
|
3121
|
+
query["EnableAhas"] = request.enableAhas;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3125
|
+
headers: headers,
|
|
3126
|
+
query: OpenApiUtil.query(query),
|
|
3127
|
+
});
|
|
3128
|
+
let params = new $OpenApiUtil.Params({
|
|
3129
|
+
action: "DescribeApplicationMseService",
|
|
3130
|
+
version: "2019-05-06",
|
|
3131
|
+
protocol: "HTTPS",
|
|
3132
|
+
pathname: `/pop/v1/sam/app/applicationMseService`,
|
|
3133
|
+
method: "GET",
|
|
3134
|
+
authType: "AK",
|
|
3135
|
+
style: "ROA",
|
|
3136
|
+
reqBodyType: "json",
|
|
3137
|
+
bodyType: "json",
|
|
3138
|
+
});
|
|
3139
|
+
return $dara.cast<$_model.DescribeApplicationMseServiceResponse>(await this.callApi(params, req, runtime), new $_model.DescribeApplicationMseServiceResponse({}));
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* @param request - DescribeApplicationMseServiceRequest
|
|
3144
|
+
* @returns DescribeApplicationMseServiceResponse
|
|
3145
|
+
*/
|
|
3146
|
+
async describeApplicationMseService(request: $_model.DescribeApplicationMseServiceRequest): Promise<$_model.DescribeApplicationMseServiceResponse> {
|
|
3147
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3148
|
+
let headers : {[key: string ]: string} = { };
|
|
3149
|
+
return await this.describeApplicationMseServiceWithOptions(request, headers, runtime);
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3095
3152
|
/**
|
|
3096
3153
|
* Queries the Network Load Balancer (NLB) instances bound to an application and their listeners.
|
|
3097
3154
|
*
|
|
@@ -3471,6 +3528,10 @@ export default class Client extends OpenApi {
|
|
|
3471
3528
|
async describeConfigurationPriceWithOptions(request: $_model.DescribeConfigurationPriceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeConfigurationPriceResponse> {
|
|
3472
3529
|
request.validate();
|
|
3473
3530
|
let query : {[key: string ]: any} = { };
|
|
3531
|
+
if (!$dara.isNull(request.bestEffortType)) {
|
|
3532
|
+
query["BestEffortType"] = request.bestEffortType;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3474
3535
|
if (!$dara.isNull(request.cpu)) {
|
|
3475
3536
|
query["Cpu"] = request.cpu;
|
|
3476
3537
|
}
|
|
@@ -8252,6 +8313,10 @@ export default class Client extends OpenApi {
|
|
|
8252
8313
|
query["BackoffLimit"] = request.backoffLimit;
|
|
8253
8314
|
}
|
|
8254
8315
|
|
|
8316
|
+
if (!$dara.isNull(request.bestEffortType)) {
|
|
8317
|
+
query["BestEffortType"] = request.bestEffortType;
|
|
8318
|
+
}
|
|
8319
|
+
|
|
8255
8320
|
if (!$dara.isNull(request.command)) {
|
|
8256
8321
|
query["Command"] = request.command;
|
|
8257
8322
|
}
|
|
@@ -8304,6 +8369,10 @@ export default class Client extends OpenApi {
|
|
|
8304
8369
|
query["MountHost"] = request.mountHost;
|
|
8305
8370
|
}
|
|
8306
8371
|
|
|
8372
|
+
if (!$dara.isNull(request.nasConfigs)) {
|
|
8373
|
+
query["NasConfigs"] = request.nasConfigs;
|
|
8374
|
+
}
|
|
8375
|
+
|
|
8307
8376
|
if (!$dara.isNull(request.nasId)) {
|
|
8308
8377
|
query["NasId"] = request.nasId;
|
|
8309
8378
|
}
|
|
@@ -268,6 +268,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
268
268
|
*/
|
|
269
269
|
envs?: string;
|
|
270
270
|
gpuConfig?: string;
|
|
271
|
+
headlessPvtzDiscoverySvc?: string;
|
|
271
272
|
html?: string;
|
|
272
273
|
/**
|
|
273
274
|
* @remarks
|
|
@@ -868,6 +869,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
868
869
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
869
870
|
envs: 'Envs',
|
|
870
871
|
gpuConfig: 'GpuConfig',
|
|
872
|
+
headlessPvtzDiscoverySvc: 'HeadlessPvtzDiscoverySvc',
|
|
871
873
|
html: 'Html',
|
|
872
874
|
imagePullSecrets: 'ImagePullSecrets',
|
|
873
875
|
imageUrl: 'ImageUrl',
|
|
@@ -952,6 +954,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
952
954
|
enableSidecarResourceIsolated: 'boolean',
|
|
953
955
|
envs: 'string',
|
|
954
956
|
gpuConfig: 'string',
|
|
957
|
+
headlessPvtzDiscoverySvc: 'string',
|
|
955
958
|
html: 'string',
|
|
956
959
|
imagePullSecrets: 'string',
|
|
957
960
|
imageUrl: 'string',
|
|
@@ -266,6 +266,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
266
266
|
*/
|
|
267
267
|
envs?: string;
|
|
268
268
|
gpuConfig?: string;
|
|
269
|
+
headlessPvtzDiscoverySvc?: string;
|
|
269
270
|
html?: string;
|
|
270
271
|
/**
|
|
271
272
|
* @remarks
|
|
@@ -866,6 +867,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
866
867
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
867
868
|
envs: 'Envs',
|
|
868
869
|
gpuConfig: 'GpuConfig',
|
|
870
|
+
headlessPvtzDiscoverySvc: 'HeadlessPvtzDiscoverySvc',
|
|
869
871
|
html: 'Html',
|
|
870
872
|
imagePullSecrets: 'ImagePullSecrets',
|
|
871
873
|
imageUrl: 'ImageUrl',
|
|
@@ -950,6 +952,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
950
952
|
enableSidecarResourceIsolated: 'boolean',
|
|
951
953
|
envs: 'string',
|
|
952
954
|
gpuConfig: 'string',
|
|
955
|
+
headlessPvtzDiscoverySvc: 'string',
|
|
953
956
|
html: 'string',
|
|
954
957
|
imagePullSecrets: 'string',
|
|
955
958
|
imageUrl: 'string',
|
|
@@ -56,6 +56,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
56
56
|
* 3
|
|
57
57
|
*/
|
|
58
58
|
backoffLimit?: number;
|
|
59
|
+
bestEffortType?: string;
|
|
59
60
|
/**
|
|
60
61
|
* @remarks
|
|
61
62
|
* The command that is used to start the image. The command must be an existing executable object in the container. Sample statements:
|
|
@@ -263,6 +264,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
263
264
|
* cn-beijing:test
|
|
264
265
|
*/
|
|
265
266
|
namespaceId?: string;
|
|
267
|
+
nasConfigs?: string;
|
|
266
268
|
/**
|
|
267
269
|
* @remarks
|
|
268
270
|
* The ID of the Apsara File Storage NAS file system. After the application is created, you may want to call other operations to manage the application. If you do not want to change the NAS configurations in these subsequent operations, you can omit the **NasId** parameter in the requests. If you want to unmount the NAS file system, you must set the **NasId** values in the subsequent requests to an empty string ("").
|
|
@@ -554,6 +556,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
554
556
|
appName: 'AppName',
|
|
555
557
|
autoConfig: 'AutoConfig',
|
|
556
558
|
backoffLimit: 'BackoffLimit',
|
|
559
|
+
bestEffortType: 'BestEffortType',
|
|
557
560
|
command: 'Command',
|
|
558
561
|
commandArgs: 'CommandArgs',
|
|
559
562
|
concurrencyPolicy: 'ConcurrencyPolicy',
|
|
@@ -572,6 +575,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
572
575
|
mountDesc: 'MountDesc',
|
|
573
576
|
mountHost: 'MountHost',
|
|
574
577
|
namespaceId: 'NamespaceId',
|
|
578
|
+
nasConfigs: 'NasConfigs',
|
|
575
579
|
nasId: 'NasId',
|
|
576
580
|
ossAkId: 'OssAkId',
|
|
577
581
|
ossAkSecret: 'OssAkSecret',
|
|
@@ -613,6 +617,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
613
617
|
appName: 'string',
|
|
614
618
|
autoConfig: 'boolean',
|
|
615
619
|
backoffLimit: 'number',
|
|
620
|
+
bestEffortType: 'string',
|
|
616
621
|
command: 'string',
|
|
617
622
|
commandArgs: 'string',
|
|
618
623
|
concurrencyPolicy: 'string',
|
|
@@ -631,6 +636,7 @@ export class CreateJobRequest extends $dara.Model {
|
|
|
631
636
|
mountDesc: 'string',
|
|
632
637
|
mountHost: 'string',
|
|
633
638
|
namespaceId: 'string',
|
|
639
|
+
nasConfigs: 'string',
|
|
634
640
|
nasId: 'string',
|
|
635
641
|
ossAkId: 'string',
|
|
636
642
|
ossAkSecret: 'string',
|
|
@@ -768,6 +768,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
768
768
|
* 495fc79c-ae61-4600-866d-a09d68******
|
|
769
769
|
*/
|
|
770
770
|
clusterId?: string;
|
|
771
|
+
cmsServiceId?: string;
|
|
771
772
|
/**
|
|
772
773
|
* @remarks
|
|
773
774
|
* The command that is used to start the image. The command must be an existing executable object in the container. Example:
|
|
@@ -945,6 +946,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
945
946
|
envs?: string;
|
|
946
947
|
gpuCount?: string;
|
|
947
948
|
gpuType?: string;
|
|
949
|
+
headlessPvtzDiscovery?: string;
|
|
948
950
|
html?: string;
|
|
949
951
|
/**
|
|
950
952
|
* @remarks
|
|
@@ -1561,6 +1563,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1561
1563
|
baseAppId: 'BaseAppId',
|
|
1562
1564
|
batchWaitTime: 'BatchWaitTime',
|
|
1563
1565
|
clusterId: 'ClusterId',
|
|
1566
|
+
cmsServiceId: 'CmsServiceId',
|
|
1564
1567
|
command: 'Command',
|
|
1565
1568
|
commandArgs: 'CommandArgs',
|
|
1566
1569
|
configMapMountDesc: 'ConfigMapMountDesc',
|
|
@@ -1579,6 +1582,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1579
1582
|
envs: 'Envs',
|
|
1580
1583
|
gpuCount: 'GpuCount',
|
|
1581
1584
|
gpuType: 'GpuType',
|
|
1585
|
+
headlessPvtzDiscovery: 'HeadlessPvtzDiscovery',
|
|
1582
1586
|
html: 'Html',
|
|
1583
1587
|
imagePullSecrets: 'ImagePullSecrets',
|
|
1584
1588
|
imageUrl: 'ImageUrl',
|
|
@@ -1655,6 +1659,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1655
1659
|
baseAppId: 'string',
|
|
1656
1660
|
batchWaitTime: 'number',
|
|
1657
1661
|
clusterId: 'string',
|
|
1662
|
+
cmsServiceId: 'string',
|
|
1658
1663
|
command: 'string',
|
|
1659
1664
|
commandArgs: 'string',
|
|
1660
1665
|
configMapMountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataConfigMapMountDesc },
|
|
@@ -1673,6 +1678,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1673
1678
|
envs: 'string',
|
|
1674
1679
|
gpuCount: 'string',
|
|
1675
1680
|
gpuType: 'string',
|
|
1681
|
+
headlessPvtzDiscovery: 'string',
|
|
1676
1682
|
html: 'string',
|
|
1677
1683
|
imagePullSecrets: 'string',
|
|
1678
1684
|
imageUrl: 'string',
|
|
@@ -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 DescribeApplicationMseServiceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* f7730764-d88f-4b9a-8d8e-cd8efbfe****
|
|
12
|
+
*/
|
|
13
|
+
appId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* true
|
|
20
|
+
*/
|
|
21
|
+
enableAhas?: boolean;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
appId: 'AppId',
|
|
25
|
+
enableAhas: 'EnableAhas',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
appId: 'string',
|
|
32
|
+
enableAhas: 'boolean',
|
|
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 { DescribeApplicationMseServiceResponseBody } from "./DescribeApplicationMseServiceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationMseServiceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeApplicationMseServiceResponseBody;
|
|
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: DescribeApplicationMseServiceResponseBody,
|
|
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,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';
|