@alicloud/sae20190506 2.12.3 → 2.12.4
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 +8 -8
- package/dist/client.js +23 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +232 -333
- package/dist/models/CreateApplicationRequest.js +29 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +14 -21
- package/dist/models/CreateApplicationResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +217 -333
- package/dist/models/CreateApplicationShrinkRequest.js +2 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +261 -382
- package/dist/models/DeployApplicationRequest.js +29 -1
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationResponseBody.d.ts +20 -27
- package/dist/models/DeployApplicationResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +246 -382
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +299 -404
- package/dist/models/DescribeApplicationConfigResponseBody.js +29 -1
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +42 -61
- package/dist/models/ListApplicationsRequest.js +2 -0
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListApplicationsResponseBody.d.ts +77 -101
- package/dist/models/ListApplicationsResponseBody.js +2 -0
- package/dist/models/ListApplicationsResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +37 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +28 -8
- package/src/models/CreateApplicationRequest.ts +252 -334
- package/src/models/CreateApplicationResponseBody.ts +14 -21
- package/src/models/CreateApplicationShrinkRequest.ts +220 -334
- package/src/models/DeployApplicationRequest.ts +281 -383
- package/src/models/DeployApplicationResponseBody.ts +20 -27
- package/src/models/DeployApplicationShrinkRequest.ts +249 -383
- package/src/models/DescribeApplicationConfigResponseBody.ts +319 -405
- package/src/models/ListApplicationsRequest.ts +44 -61
- package/src/models/ListApplicationsResponseBody.ts +79 -101
- package/src/models/model.ts +3 -0
|
@@ -13,13 +13,11 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
13
13
|
appName?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The Serverless App Engine (SAE) application type.
|
|
17
17
|
*
|
|
18
|
-
* - **micro_service
|
|
19
|
-
*
|
|
20
|
-
* - **
|
|
21
|
-
*
|
|
22
|
-
* - **job**
|
|
18
|
+
* - **micro_service.**
|
|
19
|
+
* - **web.**
|
|
20
|
+
* - **job.**
|
|
23
21
|
*
|
|
24
22
|
* @example
|
|
25
23
|
* micro_service
|
|
@@ -35,15 +33,12 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
35
33
|
currentPage?: number;
|
|
36
34
|
/**
|
|
37
35
|
* @remarks
|
|
38
|
-
* The
|
|
39
|
-
*
|
|
40
|
-
* - **appName**: The application name.
|
|
36
|
+
* The dimension by which to filter applications. Valid values:
|
|
41
37
|
*
|
|
42
|
-
* - **
|
|
43
|
-
*
|
|
44
|
-
* - **slbIps**:
|
|
45
|
-
*
|
|
46
|
-
* - **instanceIps**: The instance IP address.
|
|
38
|
+
* - **appName**: application name.
|
|
39
|
+
* - **appIds**: application ID.
|
|
40
|
+
* - **slbIps**: SLB IP address.
|
|
41
|
+
* - **instanceIps**: instance IP address.
|
|
47
42
|
*
|
|
48
43
|
* @example
|
|
49
44
|
* appName
|
|
@@ -51,7 +46,7 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
51
46
|
fieldType?: string;
|
|
52
47
|
/**
|
|
53
48
|
* @remarks
|
|
54
|
-
* The
|
|
49
|
+
* The application name, application ID, SLB IP address, or instance IP address of the target application.
|
|
55
50
|
*
|
|
56
51
|
* @example
|
|
57
52
|
* demo-app
|
|
@@ -59,7 +54,7 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
59
54
|
fieldValue?: string;
|
|
60
55
|
/**
|
|
61
56
|
* @remarks
|
|
62
|
-
*
|
|
57
|
+
* Specifies whether the application is stateful.
|
|
63
58
|
*/
|
|
64
59
|
isStateful?: string;
|
|
65
60
|
/**
|
|
@@ -72,22 +67,19 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
72
67
|
namespaceId?: string;
|
|
73
68
|
/**
|
|
74
69
|
* @remarks
|
|
75
|
-
* The
|
|
76
|
-
*
|
|
77
|
-
* - `lite`: Lite
|
|
70
|
+
* The application version. Valid values:
|
|
78
71
|
*
|
|
79
|
-
* -
|
|
80
|
-
*
|
|
81
|
-
* -
|
|
72
|
+
* - lite: Lite Edition
|
|
73
|
+
* - std: Standard Edition
|
|
74
|
+
* - pro: Professional Edition
|
|
82
75
|
*/
|
|
83
76
|
newSaeVersion?: string;
|
|
84
77
|
/**
|
|
85
78
|
* @remarks
|
|
86
|
-
* The field to sort
|
|
87
|
-
*
|
|
88
|
-
* - **runnings**: Sorts the applications by the current instance count.
|
|
79
|
+
* The field by which to sort applications. Valid values:
|
|
89
80
|
*
|
|
90
|
-
* - **
|
|
81
|
+
* - **runnings**: sorts by the current number target instances.
|
|
82
|
+
* - **instances**: sorts by the target number target instances.
|
|
91
83
|
*
|
|
92
84
|
* @example
|
|
93
85
|
* runnings
|
|
@@ -95,41 +87,32 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
95
87
|
orderBy?: string;
|
|
96
88
|
/**
|
|
97
89
|
* @remarks
|
|
98
|
-
* The number of entries
|
|
90
|
+
* The number of entries per page in a paging query. Valid values: [0,10000].
|
|
99
91
|
*
|
|
100
92
|
* @example
|
|
101
93
|
* 20
|
|
102
94
|
*/
|
|
103
95
|
pageSize?: number;
|
|
96
|
+
programmingLanguage?: string;
|
|
104
97
|
/**
|
|
105
98
|
* @remarks
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* 1.
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
* 7. ****
|
|
125
|
-
*
|
|
126
|
-
* 8. ****
|
|
127
|
-
*
|
|
128
|
-
* 9. ****
|
|
129
|
-
*
|
|
130
|
-
* 10. ****
|
|
131
|
-
*
|
|
132
|
-
* 11. ****
|
|
99
|
+
* Specifies whether to sort application instances by running status. If instances have the same status, they are sorted by instance ID. Valid values:
|
|
100
|
+
* - **true**: sorts in ascending order. Instances are arranged based on the startup sequence. For example, to reach the running state, an instance must go through steps such as starting the container, pulling the image, and initializing the instance.
|
|
101
|
+
* - **false**: sorts in descending order.
|
|
102
|
+
*
|
|
103
|
+
* The ascending order of instances is as follows:
|
|
104
|
+
*
|
|
105
|
+
* 1. **Error**: an error occurred during instance startup.
|
|
106
|
+
* 2. **CrashLoopBackOff**: the container failed to start, encountered an error during startup, and encountered an error again after restart.
|
|
107
|
+
* 3. **ErrImagePull**: an error occurred while pulling the container image for the instance.
|
|
108
|
+
* 4. **ImagePullBackOff**: the container image cannot be obtained.
|
|
109
|
+
* 5. **Pending**: the instance is waiting to be scheduled.
|
|
110
|
+
* 6. **Unknown**: an unknown exception occurred.
|
|
111
|
+
* 7. **Terminating**: the instance is being terminated.
|
|
112
|
+
* 8. **NotFound**: the instance cannot be found.
|
|
113
|
+
* 9. **PodInitializing**: the instance is being initialized.
|
|
114
|
+
* 10. **Init:0/1**: the instance is initializing.
|
|
115
|
+
* 11. **Running**: the instance is running.
|
|
133
116
|
*
|
|
134
117
|
* @example
|
|
135
118
|
* true
|
|
@@ -137,15 +120,13 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
137
120
|
reverse?: boolean;
|
|
138
121
|
/**
|
|
139
122
|
* @remarks
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
* - **
|
|
143
|
-
*
|
|
144
|
-
* - **value**: The tag value, which can be 1 to 128 characters in length.
|
|
123
|
+
* The tag key-value pairs. Valid values:
|
|
124
|
+
* - **key**: the tag key. The length must be in the range of [1,128].
|
|
125
|
+
* - **value**: the tag value. The length must be in the range of [1,128].
|
|
145
126
|
*
|
|
146
|
-
*
|
|
127
|
+
* Tags are case-sensitive. If you specify multiple tags, all specified tags are created and attached to the resource. Each tag key on the same resource can have only one tag value. If you add a tag key that already exists, the corresponding tag value is updated to the new value.
|
|
147
128
|
*
|
|
148
|
-
*
|
|
129
|
+
* Tags cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
149
130
|
*
|
|
150
131
|
* @example
|
|
151
132
|
* [{"key":"key","value":"value"}]
|
|
@@ -163,6 +144,7 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
163
144
|
newSaeVersion: 'NewSaeVersion',
|
|
164
145
|
orderBy: 'OrderBy',
|
|
165
146
|
pageSize: 'PageSize',
|
|
147
|
+
programmingLanguage: 'ProgrammingLanguage',
|
|
166
148
|
reverse: 'Reverse',
|
|
167
149
|
tags: 'Tags',
|
|
168
150
|
};
|
|
@@ -180,6 +162,7 @@ export class ListApplicationsRequest extends $dara.Model {
|
|
|
180
162
|
newSaeVersion: 'string',
|
|
181
163
|
orderBy: 'string',
|
|
182
164
|
pageSize: 'number',
|
|
165
|
+
programmingLanguage: 'string',
|
|
183
166
|
reverse: 'boolean',
|
|
184
167
|
tags: 'string',
|
|
185
168
|
};
|