@alicloud/sae20190506 2.10.0 → 2.10.2
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/ListApplicationsResponseBody.d.ts +2 -0
- package/dist/models/ListApplicationsResponseBody.js +4 -0
- package/dist/models/ListApplicationsResponseBody.js.map +1 -1
- package/dist/models/ResumeTrafficRequest.d.ts +23 -0
- package/dist/models/ResumeTrafficRequest.js +60 -0
- package/dist/models/ResumeTrafficRequest.js.map +1 -0
- package/dist/models/ResumeTrafficResponse.d.ts +19 -0
- package/dist/models/ResumeTrafficResponse.js +69 -0
- package/dist/models/ResumeTrafficResponse.js.map +1 -0
- package/dist/models/ResumeTrafficResponseBody.d.ts +65 -0
- package/dist/models/ResumeTrafficResponseBody.js +94 -0
- package/dist/models/ResumeTrafficResponseBody.js.map +1 -0
- package/dist/models/SuspendTrafficRequest.d.ts +23 -0
- package/dist/models/SuspendTrafficRequest.js +60 -0
- package/dist/models/SuspendTrafficRequest.js.map +1 -0
- package/dist/models/SuspendTrafficResponse.d.ts +19 -0
- package/dist/models/SuspendTrafficResponse.js +69 -0
- package/dist/models/SuspendTrafficResponse.js.map +1 -0
- package/dist/models/SuspendTrafficResponseBody.d.ts +65 -0
- package/dist/models/SuspendTrafficResponseBody.js +94 -0
- package/dist/models/SuspendTrafficResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +29 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +98 -0
- package/src/models/ListApplicationsResponseBody.ts +6 -0
- package/src/models/ResumeTrafficRequest.ts +38 -0
- package/src/models/ResumeTrafficResponse.ts +40 -0
- package/src/models/ResumeTrafficResponseBody.ts +105 -0
- package/src/models/SuspendTrafficRequest.ts +38 -0
- package/src/models/SuspendTrafficResponse.ts +40 -0
- package/src/models/SuspendTrafficResponseBody.ts +105 -0
- package/src/models/model.ts +8 -0
|
@@ -168,6 +168,7 @@ export class ListApplicationsResponseBodyDataApplicationsChildren extends $dara.
|
|
|
168
168
|
* cn-beijing
|
|
169
169
|
*/
|
|
170
170
|
regionId?: string;
|
|
171
|
+
resourceType?: string;
|
|
171
172
|
/**
|
|
172
173
|
* @remarks
|
|
173
174
|
* The number of instances in running state.
|
|
@@ -215,6 +216,7 @@ export class ListApplicationsResponseBodyDataApplicationsChildren extends $dara.
|
|
|
215
216
|
newSaeVersion: 'NewSaeVersion',
|
|
216
217
|
programmingLanguage: 'ProgrammingLanguage',
|
|
217
218
|
regionId: 'RegionId',
|
|
219
|
+
resourceType: 'ResourceType',
|
|
218
220
|
runningInstances: 'RunningInstances',
|
|
219
221
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
220
222
|
scaleRuleType: 'ScaleRuleType',
|
|
@@ -240,6 +242,7 @@ export class ListApplicationsResponseBodyDataApplicationsChildren extends $dara.
|
|
|
240
242
|
newSaeVersion: 'string',
|
|
241
243
|
programmingLanguage: 'string',
|
|
242
244
|
regionId: 'string',
|
|
245
|
+
resourceType: 'string',
|
|
243
246
|
runningInstances: 'number',
|
|
244
247
|
scaleRuleEnabled: 'boolean',
|
|
245
248
|
scaleRuleType: 'string',
|
|
@@ -493,6 +496,7 @@ export class ListApplicationsResponseBodyDataApplications extends $dara.Model {
|
|
|
493
496
|
* cn-beijing
|
|
494
497
|
*/
|
|
495
498
|
regionId?: string;
|
|
499
|
+
resourceType?: string;
|
|
496
500
|
/**
|
|
497
501
|
* @remarks
|
|
498
502
|
* The number of running instances.
|
|
@@ -535,6 +539,7 @@ export class ListApplicationsResponseBodyDataApplications extends $dara.Model {
|
|
|
535
539
|
packageUrl: 'PackageUrl',
|
|
536
540
|
programmingLanguage: 'ProgrammingLanguage',
|
|
537
541
|
regionId: 'RegionId',
|
|
542
|
+
resourceType: 'ResourceType',
|
|
538
543
|
runningInstances: 'RunningInstances',
|
|
539
544
|
tags: 'Tags',
|
|
540
545
|
vpcId: 'VpcId',
|
|
@@ -565,6 +570,7 @@ export class ListApplicationsResponseBodyDataApplications extends $dara.Model {
|
|
|
565
570
|
packageUrl: 'string',
|
|
566
571
|
programmingLanguage: 'string',
|
|
567
572
|
regionId: 'string',
|
|
573
|
+
resourceType: 'string',
|
|
568
574
|
runningInstances: 'number',
|
|
569
575
|
tags: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsTags },
|
|
570
576
|
vpcId: 'string',
|
|
@@ -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 ResumeTrafficRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 017f39b8-dfa4-4e16-a84b-1dcee4b1****
|
|
9
|
+
*/
|
|
10
|
+
appId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* c-668727a8-17d86664-41e5bb******,c-668727a8-17d86664-7e4958******
|
|
14
|
+
*/
|
|
15
|
+
instanceIds?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
appId: 'AppId',
|
|
19
|
+
instanceIds: 'InstanceIds',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
appId: 'string',
|
|
26
|
+
instanceIds: 'string',
|
|
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 { ResumeTrafficResponseBody } from "./ResumeTrafficResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ResumeTrafficResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ResumeTrafficResponseBody;
|
|
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: ResumeTrafficResponseBody,
|
|
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,105 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ResumeTrafficResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* succeed in handling request
|
|
9
|
+
*/
|
|
10
|
+
msg?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* True
|
|
14
|
+
*/
|
|
15
|
+
success?: boolean;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
msg: 'msg',
|
|
19
|
+
success: 'success',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
msg: 'string',
|
|
26
|
+
success: 'boolean',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class ResumeTrafficResponseBody extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* 200
|
|
43
|
+
*/
|
|
44
|
+
code?: string;
|
|
45
|
+
data?: ResumeTrafficResponseBodyData;
|
|
46
|
+
errorCode?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* success
|
|
50
|
+
*/
|
|
51
|
+
message?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Id of the request
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
58
|
+
*/
|
|
59
|
+
requestId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* True
|
|
63
|
+
*/
|
|
64
|
+
success?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* ac1a0b2215622920113732501e****
|
|
68
|
+
*/
|
|
69
|
+
traceId?: string;
|
|
70
|
+
static names(): { [key: string]: string } {
|
|
71
|
+
return {
|
|
72
|
+
code: 'Code',
|
|
73
|
+
data: 'Data',
|
|
74
|
+
errorCode: 'ErrorCode',
|
|
75
|
+
message: 'Message',
|
|
76
|
+
requestId: 'RequestId',
|
|
77
|
+
success: 'Success',
|
|
78
|
+
traceId: 'TraceId',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static types(): { [key: string]: any } {
|
|
83
|
+
return {
|
|
84
|
+
code: 'string',
|
|
85
|
+
data: ResumeTrafficResponseBodyData,
|
|
86
|
+
errorCode: 'string',
|
|
87
|
+
message: 'string',
|
|
88
|
+
requestId: 'string',
|
|
89
|
+
success: 'string',
|
|
90
|
+
traceId: 'string',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
validate() {
|
|
95
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
96
|
+
(this.data as any).validate();
|
|
97
|
+
}
|
|
98
|
+
super.validate();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -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 SuspendTrafficRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* d700e680-aa4d-4ec1-afc2-6566b5ff****
|
|
9
|
+
*/
|
|
10
|
+
appId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* c-668727a8-17d86664-41e5bb******,c-668727a8-17d86664-7e4958******
|
|
14
|
+
*/
|
|
15
|
+
instanceIds?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
appId: 'AppId',
|
|
19
|
+
instanceIds: 'InstanceIds',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
appId: 'string',
|
|
26
|
+
instanceIds: 'string',
|
|
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 { SuspendTrafficResponseBody } from "./SuspendTrafficResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SuspendTrafficResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SuspendTrafficResponseBody;
|
|
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: SuspendTrafficResponseBody,
|
|
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,105 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SuspendTrafficResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* success
|
|
9
|
+
*/
|
|
10
|
+
msg?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* True
|
|
14
|
+
*/
|
|
15
|
+
success?: boolean;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
msg: 'msg',
|
|
19
|
+
success: 'success',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
msg: 'string',
|
|
26
|
+
success: 'boolean',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class SuspendTrafficResponseBody extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* 200
|
|
43
|
+
*/
|
|
44
|
+
code?: string;
|
|
45
|
+
data?: SuspendTrafficResponseBodyData;
|
|
46
|
+
errorCode?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* success
|
|
50
|
+
*/
|
|
51
|
+
message?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Id of the request
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* B4D805CA-926D-41B1-8E63-7AD0C1ED****
|
|
58
|
+
*/
|
|
59
|
+
requestId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* true
|
|
63
|
+
*/
|
|
64
|
+
success?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* 0a98a02315955564772843261e****
|
|
68
|
+
*/
|
|
69
|
+
traceId?: string;
|
|
70
|
+
static names(): { [key: string]: string } {
|
|
71
|
+
return {
|
|
72
|
+
code: 'Code',
|
|
73
|
+
data: 'Data',
|
|
74
|
+
errorCode: 'ErrorCode',
|
|
75
|
+
message: 'Message',
|
|
76
|
+
requestId: 'RequestId',
|
|
77
|
+
success: 'Success',
|
|
78
|
+
traceId: 'TraceId',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static types(): { [key: string]: any } {
|
|
83
|
+
return {
|
|
84
|
+
code: 'string',
|
|
85
|
+
data: SuspendTrafficResponseBodyData,
|
|
86
|
+
errorCode: 'string',
|
|
87
|
+
message: 'string',
|
|
88
|
+
requestId: 'string',
|
|
89
|
+
success: 'string',
|
|
90
|
+
traceId: 'string',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
validate() {
|
|
95
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
96
|
+
(this.data as any).validate();
|
|
97
|
+
}
|
|
98
|
+
super.validate();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -264,9 +264,11 @@ export { RescaleApplicationResponseBodyData } from './RescaleApplicationResponse
|
|
|
264
264
|
export { RescaleApplicationVerticallyResponseBodyData } from './RescaleApplicationVerticallyResponseBody';
|
|
265
265
|
export { RestartApplicationResponseBodyData } from './RestartApplicationResponseBody';
|
|
266
266
|
export { RestartInstancesResponseBodyData } from './RestartInstancesResponseBody';
|
|
267
|
+
export { ResumeTrafficResponseBodyData } from './ResumeTrafficResponseBody';
|
|
267
268
|
export { RollbackApplicationResponseBodyData } from './RollbackApplicationResponseBody';
|
|
268
269
|
export { StartApplicationResponseBodyData } from './StartApplicationResponseBody';
|
|
269
270
|
export { StopApplicationResponseBodyData } from './StopApplicationResponseBody';
|
|
271
|
+
export { SuspendTrafficResponseBodyData } from './SuspendTrafficResponseBody';
|
|
270
272
|
export { UnbindNlbResponseBodyData } from './UnbindNlbResponseBody';
|
|
271
273
|
export { UnbindSlbResponseBodyData } from './UnbindSlbResponseBody';
|
|
272
274
|
export { UpdateApplicationScalingRuleResponseBodyDataMetricMetrics } from './UpdateApplicationScalingRuleResponseBody';
|
|
@@ -783,6 +785,9 @@ export { RestartApplicationResponse } from './RestartApplicationResponse';
|
|
|
783
785
|
export { RestartInstancesRequest } from './RestartInstancesRequest';
|
|
784
786
|
export { RestartInstancesResponseBody } from './RestartInstancesResponseBody';
|
|
785
787
|
export { RestartInstancesResponse } from './RestartInstancesResponse';
|
|
788
|
+
export { ResumeTrafficRequest } from './ResumeTrafficRequest';
|
|
789
|
+
export { ResumeTrafficResponseBody } from './ResumeTrafficResponseBody';
|
|
790
|
+
export { ResumeTrafficResponse } from './ResumeTrafficResponse';
|
|
786
791
|
export { RollbackApplicationRequest } from './RollbackApplicationRequest';
|
|
787
792
|
export { RollbackApplicationResponseBody } from './RollbackApplicationResponseBody';
|
|
788
793
|
export { RollbackApplicationResponse } from './RollbackApplicationResponse';
|
|
@@ -799,6 +804,9 @@ export { StopWebApplicationResponse } from './StopWebApplicationResponse';
|
|
|
799
804
|
export { SuspendJobRequest } from './SuspendJobRequest';
|
|
800
805
|
export { SuspendJobResponseBody } from './SuspendJobResponseBody';
|
|
801
806
|
export { SuspendJobResponse } from './SuspendJobResponse';
|
|
807
|
+
export { SuspendTrafficRequest } from './SuspendTrafficRequest';
|
|
808
|
+
export { SuspendTrafficResponseBody } from './SuspendTrafficResponseBody';
|
|
809
|
+
export { SuspendTrafficResponse } from './SuspendTrafficResponse';
|
|
802
810
|
export { TagResourcesRequest } from './TagResourcesRequest';
|
|
803
811
|
export { TagResourcesResponseBody } from './TagResourcesResponseBody';
|
|
804
812
|
export { TagResourcesResponse } from './TagResourcesResponse';
|