@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.
Files changed (43) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +23 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +232 -333
  5. package/dist/models/CreateApplicationRequest.js +29 -1
  6. package/dist/models/CreateApplicationRequest.js.map +1 -1
  7. package/dist/models/CreateApplicationResponseBody.d.ts +14 -21
  8. package/dist/models/CreateApplicationResponseBody.js.map +1 -1
  9. package/dist/models/CreateApplicationShrinkRequest.d.ts +217 -333
  10. package/dist/models/CreateApplicationShrinkRequest.js +2 -0
  11. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  12. package/dist/models/DeployApplicationRequest.d.ts +261 -382
  13. package/dist/models/DeployApplicationRequest.js +29 -1
  14. package/dist/models/DeployApplicationRequest.js.map +1 -1
  15. package/dist/models/DeployApplicationResponseBody.d.ts +20 -27
  16. package/dist/models/DeployApplicationResponseBody.js.map +1 -1
  17. package/dist/models/DeployApplicationShrinkRequest.d.ts +246 -382
  18. package/dist/models/DeployApplicationShrinkRequest.js +2 -0
  19. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  20. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +299 -404
  21. package/dist/models/DescribeApplicationConfigResponseBody.js +29 -1
  22. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  23. package/dist/models/ListApplicationsRequest.d.ts +42 -61
  24. package/dist/models/ListApplicationsRequest.js +2 -0
  25. package/dist/models/ListApplicationsRequest.js.map +1 -1
  26. package/dist/models/ListApplicationsResponseBody.d.ts +77 -101
  27. package/dist/models/ListApplicationsResponseBody.js +2 -0
  28. package/dist/models/ListApplicationsResponseBody.js.map +1 -1
  29. package/dist/models/model.d.ts +3 -0
  30. package/dist/models/model.js +37 -31
  31. package/dist/models/model.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/client.ts +28 -8
  34. package/src/models/CreateApplicationRequest.ts +252 -334
  35. package/src/models/CreateApplicationResponseBody.ts +14 -21
  36. package/src/models/CreateApplicationShrinkRequest.ts +220 -334
  37. package/src/models/DeployApplicationRequest.ts +281 -383
  38. package/src/models/DeployApplicationResponseBody.ts +20 -27
  39. package/src/models/DeployApplicationShrinkRequest.ts +249 -383
  40. package/src/models/DescribeApplicationConfigResponseBody.ts +319 -405
  41. package/src/models/ListApplicationsRequest.ts +44 -61
  42. package/src/models/ListApplicationsResponseBody.ts +79 -101
  43. 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 type of the SAE application.
16
+ * The Serverless App Engine (SAE) application type.
17
17
  *
18
- * - **micro_service**
19
- *
20
- * - **web**
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 field to filter applications by. Valid values:
39
- *
40
- * - **appName**: The application name.
36
+ * The dimension by which to filter applications. Valid values:
41
37
  *
42
- * - **appIds**: The application ID.
43
- *
44
- * - **slbIps**: The SLB IP address.
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 value for the field specified by `FieldType`. This can be an application name, application ID, SLB IP address, or instance IP address.
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
- * Filters applications by whether they are stateful. Set this parameter to `true` to return only stateful applications, or to `false` to return only stateless applications.
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 edition of the application:
76
- *
77
- * - `lite`: Lite
70
+ * The application version. Valid values:
78
71
  *
79
- * - `std`: Standard
80
- *
81
- * - `pro`: Pro
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 the applications by. Valid values:
87
- *
88
- * - **runnings**: Sorts the applications by the current instance count.
79
+ * The field by which to sort applications. Valid values:
89
80
  *
90
- * - **instances**: Sorts the applications by the target instance count.
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 to return per page. Valid values: 0 to 10000.
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
- * The sort order. Valid values:
107
- *
108
- * - **true**: Sorts the results in ascending order.
109
- *
110
- * - **false**: Sorts the results in descending order.
111
- *
112
- * 1. ****
113
- *
114
- * 2. ****
115
- *
116
- * 3. ****
117
- *
118
- * 4. ****
119
- *
120
- * 5. ****
121
- *
122
- * 6. ****
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
- * Filters applications by tags. The tags are specified as a JSON string that contains an array of key-value pairs.
141
- *
142
- * - **key**: The tag key, which can be 1 to 128 characters in length.
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
- * This parameter is case-sensitive. An application is returned only if it matches all specified tags. On a resource, a tag key can have only one tag value.
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
- * The tag key and tag value cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
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
  };