@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
@@ -4,10 +4,39 @@ import { InitContainerConfig } from "./InitContainerConfig";
4
4
  import { SidecarContainerConfig } from "./SidecarContainerConfig";
5
5
 
6
6
 
7
+ export class CreateApplicationRequestRaspConfig extends $dara.Model {
8
+ enableRasp?: boolean;
9
+ raspAppKey?: string;
10
+ raspAppName?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ enableRasp: 'EnableRasp',
14
+ raspAppKey: 'RaspAppKey',
15
+ raspAppName: 'RaspAppName',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ enableRasp: 'boolean',
22
+ raspAppKey: 'string',
23
+ raspAppName: 'string',
24
+ };
25
+ }
26
+
27
+ validate() {
28
+ super.validate();
29
+ }
30
+
31
+ constructor(map?: { [key: string]: any }) {
32
+ super(map);
33
+ }
34
+ }
35
+
7
36
  export class CreateApplicationRequest extends $dara.Model {
8
37
  /**
9
38
  * @remarks
10
- * The ARN of the RAM role required to pull images across Alibaba Cloud accounts. For more information, see [Authorize cross-account access using a RAM role](https://help.aliyun.com/document_detail/223585.html).
39
+ * The ARN of the RAM role required for cross-account image pulling. For more information, see [Grant permissions across Alibaba Cloud accounts by using a RAM role](https://help.aliyun.com/document_detail/223585.html).
11
40
  *
12
41
  * @example
13
42
  * acs:ram::123456789012****:role/adminrole
@@ -15,7 +44,7 @@ export class CreateApplicationRequest extends $dara.Model {
15
44
  acrAssumeRoleArn?: string;
16
45
  /**
17
46
  * @remarks
18
- * The Container Registry Enterprise Edition (ACR Enterprise Edition) instance ID. This parameter is required when **ImageUrl** is a Container Registry Enterprise Edition image.
47
+ * The instance ID of the Container Registry Enterprise instance. This parameter is required when **ImageUrl** is set to a Container Registry Enterprise Edition image.
19
48
  *
20
49
  * @example
21
50
  * cri-xxxxxx
@@ -31,7 +60,7 @@ export class CreateApplicationRequest extends $dara.Model {
31
60
  agentVersion?: string;
32
61
  /**
33
62
  * @remarks
34
- * The application description. It cannot exceed 1024 characters.
63
+ * The application description. The description can be up to 1024 characters in length.
35
64
  *
36
65
  * @example
37
66
  * This is a test description.
@@ -39,7 +68,7 @@ export class CreateApplicationRequest extends $dara.Model {
39
68
  appDescription?: string;
40
69
  /**
41
70
  * @remarks
42
- * The application name. It can contain digits, letters, and hyphens (-). It must start with a letter and cannot end with a hyphen (-). The name cannot exceed 36 characters.
71
+ * The application name. The name can contain digits, letters, and hyphens (-). The name must start with a letter and cannot end with a hyphen (-). The name can be up to 36 characters in length.
43
72
  *
44
73
  * This parameter is required.
45
74
  *
@@ -49,7 +78,7 @@ export class CreateApplicationRequest extends $dara.Model {
49
78
  appName?: string;
50
79
  /**
51
80
  * @remarks
52
- * Select micro_service for a microservice application.
81
+ * Set this parameter to micro_service to create a microservice application.
53
82
  *
54
83
  * @example
55
84
  * micro_service
@@ -57,11 +86,10 @@ export class CreateApplicationRequest extends $dara.Model {
57
86
  appSource?: string;
58
87
  /**
59
88
  * @remarks
60
- * Whether to bind an Elastic IP address (EIP). Valid values:
61
- *
62
- * - **true**: Bind.
89
+ * Specifies whether to associate an EIP. Valid values:
63
90
  *
64
- * - **false**: Do not bind.
91
+ * - **true**: associate an EIP.
92
+ * - **false**: do not associate an EIP.
65
93
  *
66
94
  * @example
67
95
  * true
@@ -69,13 +97,12 @@ export class CreateApplicationRequest extends $dara.Model {
69
97
  associateEip?: boolean;
70
98
  /**
71
99
  * @remarks
72
- * Whether to automatically configure the network environment. Valid values:
73
- *
74
- * - **true**: SAE automatically configures the network environment when creating an application. The values of **NamespaceId**, **VpcId**, **vSwitchId**, and **SecurityGroupId** are ignored.
100
+ * Specifies whether to automatically configure the network environment. Valid values:
75
101
  *
76
- * - **false**: SAE manually configures the network environment when creating an application.
102
+ * - **true**: SAE automatically configures the network environment when the application is created. The values of **NamespaceId**, **VpcId**, **vSwitchId**, and **SecurityGroupId** are ignored.
103
+ * - **false**: SAE manually configures the network environment when the application is created.
77
104
  *
78
- * > If you select **true**, other **NamespaceId** values passed are ignored.
105
+ * > If this parameter is set to **true**, any other **NamespaceId** value that is passed is ignored.
79
106
  *
80
107
  * @example
81
108
  * true
@@ -91,7 +118,7 @@ export class CreateApplicationRequest extends $dara.Model {
91
118
  baseAppId?: string;
92
119
  /**
93
120
  * @remarks
94
- * The image start command. This command must be an executable object that exists in the container. Example:
121
+ * The command that is used to start the image. The command must be an executable object in the container. Example:
95
122
  *
96
123
  * ```
97
124
  * command:
@@ -100,12 +127,10 @@ export class CreateApplicationRequest extends $dara.Model {
100
127
  * - >
101
128
  * - file0
102
129
  * ```
130
+ * In the preceding example, `Command="echo", CommandArgs=["abc", ">", "file0"]`.
103
131
  *
104
- * Based on the example, Command="echo" and `CommandArgs=["abc", ">", "file0"]`.
105
132
  *
106
- * >Notice:
107
- *
108
- * This option is required when PackageType is DotnetZip.
133
+ * >Notice: This parameter is required when PackageType is set to DotnetZip.
109
134
  *
110
135
  * @example
111
136
  * echo
@@ -113,12 +138,12 @@ export class CreateApplicationRequest extends $dara.Model {
113
138
  command?: string;
114
139
  /**
115
140
  * @remarks
116
- * The image start command parameters. These are the parameters required by the **Command** parameter. Format:
141
+ * The arguments of the image startup command. These are the arguments required by the startup command specified in **Command**. Format:
117
142
  *
118
143
  * `["a","b"]`
119
144
  *
120
- * In the example, `CommandArgs=["abc", ">", "file0"]`. Convert `["abc", ">", "file0"]` to a string type, with the format as a JSON array. If this parameter is not needed, do not specify it.
121
- * >Notice: This option is required when PackageType is DotnetZip.
145
+ * In the preceding example, `CommandArgs=["abc", ">", "file0"]`, where `["abc", ">", "file0"]` must be converted to the String type. The internal format is a JSON array. If this parameter is not required, leave it empty.
146
+ * >Notice: This parameter is required when PackageType is set to DotnetZip.
122
147
  *
123
148
  * @example
124
149
  * ["a","b"]
@@ -126,15 +151,14 @@ export class CreateApplicationRequest extends $dara.Model {
126
151
  commandArgs?: string;
127
152
  /**
128
153
  * @remarks
129
- * The **ConfigMap** mount description. Use configuration items created on the namespace configuration item page to inject configuration information into the container. Parameter description:
130
- *
131
- * - **configMapId**: The ConfigMap instance ID. Obtain it by calling the [ListNamespacedConfigMaps](https://help.aliyun.com/document_detail/176917.html) API operation.
154
+ * The **ConfigMap** mount description. Use a ConfigMap created on the namespace configuration items page to inject configuration information into the container. Parameter description:
132
155
  *
133
- * - **key**: The key value.
156
+ * - **configMapId**: the ConfigMap instance ID. You can obtain the ID by invoking the [ListNamespacedConfigMaps](https://help.aliyun.com/document_detail/176917.html) operation.
157
+ * - **key**: the key.
134
158
  *
135
159
  * > You can mount all keys by passing the `sae-sys-configmap-all` parameter.
136
160
  *
137
- * - **mountPath**: The mount path.
161
+ * - **mountPath**: the mount path.
138
162
  *
139
163
  * @example
140
164
  * [{"configMapId":16,"key":"test","mountPath":"/tmp"}]
@@ -142,20 +166,14 @@ export class CreateApplicationRequest extends $dara.Model {
142
166
  configMapMountDesc?: string;
143
167
  /**
144
168
  * @remarks
145
- * The CPU required for each instance, in millicores. It cannot be 0. Currently, only the following defined specifications are supported:
169
+ * The CPU specifications required for each instance, in millicores. This parameter cannot be set to 0. Only the following defined specifications are supported:
146
170
  *
147
171
  * - **500**
148
- *
149
172
  * - **1000**
150
- *
151
173
  * - **2000**
152
- *
153
174
  * - **4000**
154
- *
155
175
  * - **8000**
156
- *
157
176
  * - **16000**
158
- *
159
177
  * - **32000**
160
178
  *
161
179
  * @example
@@ -164,11 +182,10 @@ export class CreateApplicationRequest extends $dara.Model {
164
182
  cpu?: number;
165
183
  /**
166
184
  * @remarks
167
- * Custom Host mapping within the container. Valid values:
168
- *
169
- * - **hostName**: The domain name or hostname.
185
+ * The custom host mapping in the container. Valid values:
170
186
  *
171
- * - **ip**: The IP address.
187
+ * - **hostName**: the domain name or hostname.
188
+ * - **ip**: the IP address.
172
189
  *
173
190
  * @example
174
191
  * [{"hostName":"samplehost","ip":"127.0.0.1"}]
@@ -176,11 +193,10 @@ export class CreateApplicationRequest extends $dara.Model {
176
193
  customHostAlias?: string;
177
194
  /**
178
195
  * @remarks
179
- * The custom image type. If it is not a custom image, set it to an empty string:
196
+ * The custom image type. Set this parameter to an empty string if the image is not a custom image:
180
197
  *
181
- * - internet: Public network image.
182
- *
183
- * - intranet: Private network image.
198
+ * - internet: public image
199
+ * - intranet: private image
184
200
  *
185
201
  * @example
186
202
  * internet
@@ -188,11 +204,10 @@ export class CreateApplicationRequest extends $dara.Model {
188
204
  customImageNetworkType?: string;
189
205
  /**
190
206
  * @remarks
191
- * Whether to deploy immediately. Valid values:
192
- *
193
- * - **true**: Default value. Deploy immediately.
207
+ * Specifies whether to immediately deploy the application. Valid values:
194
208
  *
195
- * - **false**: Deploy later.
209
+ * - **true**: default value. The application is deployed immediately.
210
+ * - **false**: the application is deployed later.
196
211
  *
197
212
  * @example
198
213
  * true
@@ -208,16 +223,12 @@ export class CreateApplicationRequest extends $dara.Model {
208
223
  diskSize?: number;
209
224
  /**
210
225
  * @remarks
211
- * The version number of the .NET framework:
226
+ * The version of the .NET framework:
212
227
  *
213
228
  * - .NET 3.1
214
- *
215
229
  * - .NET 5.0
216
- *
217
230
  * - .NET 6.0
218
- *
219
231
  * - .NET 7.0
220
- *
221
232
  * - .NET 8.0
222
233
  *
223
234
  * @example
@@ -226,7 +237,7 @@ export class CreateApplicationRequest extends $dara.Model {
226
237
  dotnet?: string;
227
238
  /**
228
239
  * @remarks
229
- * The application runtime environment version in the HSF framework, such as the Ali-Tomcat container.
240
+ * The version of the application runtime environment in the HSF framework, such as the Ali-Tomcat container.
230
241
  *
231
242
  * @example
232
243
  * 3.5.3
@@ -234,7 +245,7 @@ export class CreateApplicationRequest extends $dara.Model {
234
245
  edasContainerVersion?: string;
235
246
  /**
236
247
  * @remarks
237
- * Shared temporary storage configuration.
248
+ * The shared ephemeral storage configuration.
238
249
  *
239
250
  * @example
240
251
  * [{\\"name\\":\\"workdir\\",\\"mountPath\\":\\"/usr/local/tomcat/webapps\\"}]
@@ -242,11 +253,10 @@ export class CreateApplicationRequest extends $dara.Model {
242
253
  emptyDirDesc?: string;
243
254
  /**
244
255
  * @remarks
245
- * Whether to enable the CPU Burst feature:
256
+ * Specifies whether to enable the CPU Burst feature:
246
257
  *
247
- * - true: Enable.
248
- *
249
- * - false: Do not enable.
258
+ * - true: Enabled.
259
+ * - false: Disabled.
250
260
  *
251
261
  * @example
252
262
  * true
@@ -254,11 +264,9 @@ export class CreateApplicationRequest extends $dara.Model {
254
264
  enableCpuBurst?: boolean;
255
265
  /**
256
266
  * @remarks
257
- * Enable application monitoring for non-Java applications based on eBPF technology. Valid values:
258
- *
259
- * - **true**: Enable.
260
- *
261
- * - **false**: Disable. Default value.
267
+ * Specifies whether to enable application monitoring for non-Java applications based on eBPF technology. Valid values:
268
+ * - **true**: enabled.
269
+ * - **false**: disabled. This is the default value.
262
270
  *
263
271
  * @example
264
272
  * false
@@ -266,7 +274,7 @@ export class CreateApplicationRequest extends $dara.Model {
266
274
  enableEbpf?: string;
267
275
  /**
268
276
  * @remarks
269
- * Whether to reuse the namespace Agent version configuration.
277
+ * Specifies whether to reuse the namespace agent version configuration.
270
278
  *
271
279
  * @example
272
280
  * true
@@ -274,7 +282,7 @@ export class CreateApplicationRequest extends $dara.Model {
274
282
  enableNamespaceAgentVersion?: boolean;
275
283
  /**
276
284
  * @remarks
277
- * Whether to reuse the namespace SLS log configuration.
285
+ * Specifies whether to reuse the namespace SLS log configuration.
278
286
  *
279
287
  * @example
280
288
  * true
@@ -282,11 +290,10 @@ export class CreateApplicationRequest extends $dara.Model {
282
290
  enableNamespaceSlsConfig?: boolean;
283
291
  /**
284
292
  * @remarks
285
- * Whether to enable new ARMS features:
293
+ * Specifies whether to enable the new ARMS feature:
286
294
  *
287
- * - true: Enable.
288
- *
289
- * - false: Do not enable.
295
+ * - true: Enabled.
296
+ * - false: Disabled.
290
297
  *
291
298
  * @example
292
299
  * false
@@ -294,7 +301,7 @@ export class CreateApplicationRequest extends $dara.Model {
294
301
  enableNewArms?: boolean;
295
302
  /**
296
303
  * @remarks
297
- * Whether to enable Prometheus custom metric collection.
304
+ * Specifies whether to enable Prometheus custom metric collection.
298
305
  *
299
306
  * @example
300
307
  * false
@@ -302,11 +309,10 @@ export class CreateApplicationRequest extends $dara.Model {
302
309
  enablePrometheus?: boolean;
303
310
  /**
304
311
  * @remarks
305
- * Whether to enable Sidecar resource isolation:
306
- *
307
- * - true: Enable isolation.
312
+ * Specifies whether to enable sidecar resource isolation:
308
313
  *
309
- * - false: Do not enable isolation.
314
+ * - true: Isolated.
315
+ * - false: Not isolated.
310
316
  *
311
317
  * @example
312
318
  * true
@@ -314,23 +320,15 @@ export class CreateApplicationRequest extends $dara.Model {
314
320
  enableSidecarResourceIsolated?: boolean;
315
321
  /**
316
322
  * @remarks
317
- * Container environment variable parameters. Support custom configurations or referencing configuration items. To reference a configuration item, create a ConfigMap instance first. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Valid values:
318
- *
323
+ * The container environment variable parameters. You can customize environment variables or reference a ConfigMap. To reference a ConfigMap, create a ConfigMap instance first. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Valid values:
319
324
  * - Custom configuration
320
- *
321
- * - **name**: The environment variable name.
322
- *
323
- * - **value**: The environment variable value. This has a higher priority than valueFrom.
324
- *
325
- * - Reference configuration item (valueFrom)
326
- *
327
- * - **name**: The environment variable name. You can reference a single key or all keys. To reference all keys, enter `sae-sys-configmap-all-<configuration item name>`, for example, `sae-sys-configmap-all-test1`.
328
- *
329
- * - **valueFrom**: The environment variable reference. Set this to `configMapRef`.
330
- *
331
- * - **configMapId**: The configuration item ID.
332
- *
333
- * - **key**: The key. If you reference all key-values, do not set this field.
325
+ * - **name**: the name of the environment variable.
326
+ * - **value**: the value of the environment variable. This takes priority over valueFrom.
327
+ * - Reference a ConfigMap (valueFrom)
328
+ * - **name**: the name of the environment variable. You can reference a single key or all keys. To reference all keys, enter `sae-sys-configmap-all-<ConfigMap name>`, such as `sae-sys-configmap-all-test1`.
329
+ * - **valueFrom**: the environment variable reference. Set the value to `configMapRef`.
330
+ * - **configMapId**: the ConfigMap ID.
331
+ * - **key**: the key. If you reference all keys, do not set this field.
334
332
  *
335
333
  * @example
336
334
  * [
@@ -362,11 +360,9 @@ export class CreateApplicationRequest extends $dara.Model {
362
360
  gpuConfig?: string;
363
361
  /**
364
362
  * @remarks
365
- * K8s Headless Service service discovery.
366
- *
367
- * - serviceName: The service name.
368
- *
369
- * - namespaceId: The namespace ID.
363
+ * The K8s Headless Service-based service registration and discovery.
364
+ * - serviceName: the service name.
365
+ * - namespaceId: the namespace ID.
370
366
  *
371
367
  * @example
372
368
  * {\\"serviceName\\":\\"leaf-test-headless\\",\\"namespaceId\\":\\"cn-zhangjiakou:prod\\"}
@@ -375,15 +371,10 @@ export class CreateApplicationRequest extends $dara.Model {
375
371
  /**
376
372
  * @remarks
377
373
  * The Nginx version.
378
- *
379
374
  * - nginx 1.20
380
- *
381
375
  * - nginx 1.22
382
- *
383
376
  * - nginx 1.24
384
- *
385
377
  * - nginx 1.26
386
- *
387
378
  * - nginx 1.28
388
379
  *
389
380
  * @example
@@ -392,7 +383,7 @@ export class CreateApplicationRequest extends $dara.Model {
392
383
  html?: string;
393
384
  /**
394
385
  * @remarks
395
- * The ID of the corresponding secret.
386
+ * The corresponding secret ID.
396
387
  *
397
388
  * @example
398
389
  * 10
@@ -400,7 +391,7 @@ export class CreateApplicationRequest extends $dara.Model {
400
391
  imagePullSecrets?: string;
401
392
  /**
402
393
  * @remarks
403
- * The image address. This parameter is required when **Package Type** is **Image**.
394
+ * The image address. This parameter is required when **Package Type** is set to **Image**.
404
395
  *
405
396
  * @example
406
397
  * registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1
@@ -408,17 +399,17 @@ export class CreateApplicationRequest extends $dara.Model {
408
399
  imageUrl?: string;
409
400
  /**
410
401
  * @remarks
411
- * Initialization container configuration.
402
+ * The init container configuration.
412
403
  */
413
404
  initContainersConfig?: InitContainerConfig[];
414
405
  /**
415
406
  * @remarks
416
- * Whether it is a stateful application.
407
+ * Specifies whether the application is stateful.
417
408
  */
418
409
  isStateful?: boolean;
419
410
  /**
420
411
  * @remarks
421
- * JAR package startup parameters for the application. The application\\"s default start command is: `$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs`
412
+ * The arguments for starting the JAR package application. The default startup command for the application: `$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs`
422
413
  *
423
414
  * @example
424
415
  * custom-args
@@ -426,7 +417,7 @@ export class CreateApplicationRequest extends $dara.Model {
426
417
  jarStartArgs?: string;
427
418
  /**
428
419
  * @remarks
429
- * JAR package startup options for the application. The application\\"s default start command is: `$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs`
420
+ * The options for starting the JAR package application. The default startup command for the application: `$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs`
430
421
  *
431
422
  * @example
432
423
  * -Xms4G -Xmx4G
@@ -434,21 +425,16 @@ export class CreateApplicationRequest extends $dara.Model {
434
425
  jarStartOptions?: string;
435
426
  /**
436
427
  * @remarks
437
- * The JDK version that the deployment package depends on. Supported versions:
428
+ * The JDK version on which the deployment package depends. Valid values:
438
429
  *
439
430
  * - **Open JDK 8**
440
- *
441
431
  * - **Open JDK 7**
442
- *
443
432
  * - **Dragonwell 11**
444
- *
445
433
  * - **Dragonwell 8**
446
- *
447
434
  * - **openjdk-8u191-jdk-alpine3.9**
448
- *
449
435
  * - **openjdk-7u201-jdk-alpine3.9**
450
436
  *
451
- * This parameter is not supported when **Package Type** is **Image**.
437
+ * This parameter is not supported when **Package Type** is set to **Image**.
452
438
  *
453
439
  * @example
454
440
  * Open JDK 8
@@ -456,13 +442,11 @@ export class CreateApplicationRequest extends $dara.Model {
456
442
  jdk?: string;
457
443
  /**
458
444
  * @remarks
459
- * The summary configuration for collecting logs to Kafka. Valid values:
460
- *
461
- * - **kafkaEndpoint**: The service registration address for the Kafka API.
462
- *
463
- * - **kafkaInstanceId**: The Kafka instance ID.
445
+ * The summary of configurations for log collection to Kafka. Valid values:
464
446
  *
465
- * - **kafkaConfigs**: The summary configuration for single or multiple logs. For valid values, see the **kafkaConfigs** request parameter in this topic.
447
+ * - **kafkaEndpoint**: the service registration address of the Kafka API.
448
+ * - **kafkaInstanceId**: the Kafka instance ID.
449
+ * - **kafkaConfigs**: the summary of configurations for one or more log entries. For more information about the valid values, see the **kafkaConfigs** request parameter in this topic.
466
450
  *
467
451
  * @example
468
452
  * {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}
@@ -471,35 +455,25 @@ export class CreateApplicationRequest extends $dara.Model {
471
455
  labels?: { [key: string]: string };
472
456
  /**
473
457
  * @remarks
474
- * Container health check. Containers that fail the health check are shut down and recovered. Supported methods:
458
+ * The container health check. Containers that fail the health check are shutdown and recovered. The following methods are supported:
475
459
  *
476
- * - **exec**: For example, `{"exec":{"command":["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}`
460
+ * - **exec**: for example, `{"exec":{"command":["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}`
461
+ * - **httpGet**: for example, `{"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
462
+ * - **tcpSocket**: for example, `{"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
477
463
  *
478
- * - **httpGet**: For example, `{"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
479
- *
480
- * - **tcpSocket**: For example, `{"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
481
- *
482
- * > Select only one method for the health check.
464
+ * > You can use only one method for health checks.
483
465
  *
484
466
  * Parameter description:
485
467
  *
486
- * - **exec.command**: Set the health check command.
487
- *
488
- * - **httpGet.path**: The access path.
489
- *
468
+ * - **exec.command**: the health check command.
469
+ * - **httpGet.path**: the access path.
490
470
  * - **httpGet.scheme**: **HTTP** or **HTTPS**.
491
- *
492
- * - **httpGet.isContainKeyWord**: **true** means the keyword is included, **false** means the keyword is not included. If this field is missing, advanced features are not used.
493
- *
494
- * - **httpGet.keyWord**: The custom keyword. Do not omit the **isContainKeyWord** field when using it.
495
- *
496
- * - **tcpSocket.port**: The port for TCP connection detection.
497
- *
498
- * - **initialDelaySeconds**: Set the health check delay detection time. Default is 10 seconds.
499
- *
500
- * - **periodSeconds**: Set the health check period. Default is 30 seconds.
501
- *
502
- * - **timeoutSeconds**: Set the health check timeout duration. Default is 1 second. If you set it to 0 or do not set it, the default timeout is 1 second.
471
+ * - **httpGet.isContainKeyWord**: **true** indicates that the keyword is included. **false** indicates that the keyword is not included. If this field is missing, the advanced feature is not used.
472
+ * - **httpGet.keyWord**: the custom keyword. The **isContainKeyWord** field must be present when this field is used.
473
+ * - **tcpSocket.port**: the port for TCP connection detection.
474
+ * - **initialDelaySeconds**: the health check delay detection time. Default value: 10. Unit: seconds.
475
+ * - **periodSeconds**: the health check period. Default value: 30. Unit: seconds.
476
+ * - **timeoutSeconds**: the health check timeout period. Default value: 1. Unit: seconds. If this parameter is set to 0 or is not set, the default timeout period is 1 second.
503
477
  *
504
478
  * @example
505
479
  * {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
@@ -508,27 +482,17 @@ export class CreateApplicationRequest extends $dara.Model {
508
482
  lokiConfigs?: string;
509
483
  /**
510
484
  * @remarks
511
- * The memory required for each instance, in MB. It cannot be 0. It has a one-to-one correspondence with CPU. Currently, only the following defined specifications are supported:
512
- *
513
- * - **1024**: Corresponds to 500 millicores and 1000 millicores CPU.
514
- *
515
- * - **2048**: Corresponds to 500, 1000 millicores, and 2000 millicores CPU.
516
- *
517
- * - **4096**: Corresponds to 1000, 2000 millicores, and 4000 millicores CPU.
518
- *
519
- * - **8192**: Corresponds to 2000, 4000 millicores, and 8000 millicores CPU.
520
- *
521
- * - **12288**: Corresponds to 12000 millicores CPU.
522
- *
523
- * - **16384**: Corresponds to 4000, 8000 millicores, and 16000 millicores CPU.
524
- *
525
- * - **24576**: Corresponds to 12000 millicores CPU.
526
- *
527
- * - **32768**: Corresponds to 16000 millicores CPU.
528
- *
529
- * - **65536**: Corresponds to 8000, 16000, and 32000 millicores CPU.
530
- *
531
- * - **131072**: Corresponds to 32000 millicores CPU.
485
+ * The memory required for each instance, in MB. This parameter cannot be set to 0. The memory has a one-to-one mapping with CPU. Only the following defined specifications are supported:
486
+ * - **1024**: corresponds to 500 and 1000 millicores of CPU.
487
+ * - **2048**: corresponds to 500, 1000, and 2000 millicores of CPU.
488
+ * - **4096**: corresponds to 1000, 2000, and 4000 millicores of CPU.
489
+ * - **8192**: corresponds to 2000, 4000, and 8000 millicores of CPU.
490
+ * - **12288**: corresponds to 12000 millicores of CPU.
491
+ * - **16384**: corresponds to 4000, 8000, and 16000 millicores of CPU.
492
+ * - **24576**: corresponds to 12000 millicores of CPU.
493
+ * - **32768**: corresponds to 16000 millicores of CPU.
494
+ * - **65536**: corresponds to 8000, 16000, and 32000 millicores of CPU.
495
+ * - **131072**: corresponds to 32000 millicores of CPU.
532
496
  *
533
497
  * @example
534
498
  * 1024
@@ -536,13 +500,10 @@ export class CreateApplicationRequest extends $dara.Model {
536
500
  memory?: number;
537
501
  /**
538
502
  * @remarks
539
- * Select the Nacos registry. Valid values:
540
- *
503
+ * Specifies the Nacos registry. Valid values:
541
504
  * - **0**: SAE built-in Nacos.
542
- *
543
- * - **1**: User-managed Nacos.
544
- *
545
- * - **2**: MSE Professional Edition Nacos.
505
+ * - **1**: self-managed Nacos.
506
+ * - **2**: MSE commercial edition Nacos.
546
507
  *
547
508
  * @example
548
509
  * "0"
@@ -550,7 +511,7 @@ export class CreateApplicationRequest extends $dara.Model {
550
511
  microRegistration?: string;
551
512
  /**
552
513
  * @remarks
553
- * The registry configuration information.
514
+ * The registry configuration.
554
515
  *
555
516
  * @example
556
517
  * {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
@@ -558,23 +519,23 @@ export class CreateApplicationRequest extends $dara.Model {
558
519
  microRegistrationConfig?: string;
559
520
  /**
560
521
  * @remarks
561
- * Configure microservice administration features.
522
+ * Configures the microservice governance feature.
562
523
  *
563
- * - Whether to enable microservice administration (enable):
524
+ * - Specifies whether to enable microservice governance (enable):
564
525
  *
565
- * - true: Enable.
526
+ * - true: Enabled.
566
527
  *
567
- * - false: Do not enable.
528
+ * - false: Disabled.
568
529
  *
569
- * - Configure graceful start and graceful shutdown (mseLosslessRule):
530
+ * - Configures lossless online/offline (mseLosslessRule):
570
531
  *
571
- * - delayTime: The delay time.
532
+ * - delayTime: the delay time.
572
533
  *
573
- * - enable: Whether to enable the graceful start feature. true means enabled, false means not enabled.
534
+ * - enable: specifies whether to enable the lossless online feature. true indicates enabled. false indicates disabled.
574
535
  *
575
- * - notice: Whether to enable the notification feature. true means enabled, false means enabled.
536
+ * - notice: specifies whether to enable the notification feature. true indicates enabled. false indicates disabled.
576
537
  *
577
- * - warmupTime: The duration of traffic prefetch, in seconds.
538
+ * - warmupTime: the warm-up duration for traffic ramping, in seconds.
578
539
  *
579
540
  * @example
580
541
  * {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
@@ -582,7 +543,7 @@ export class CreateApplicationRequest extends $dara.Model {
582
543
  microserviceEngineConfig?: string;
583
544
  /**
584
545
  * @remarks
585
- * Do not configure this field; configure **NasConfigs** instead. The NAS mount description. If the configuration has not changed during deployment, you do not need to set this parameter (that is, the request does not need to include the **MountDesc** field). To clear the NAS configuration, set the value of this field to an empty string in the request (that is, the value of the **MountDesc** field in the request is "").
546
+ * We recommend that you do not set this parameter. Set **NasConfigs** instead. The NAS mount description. If the configuration does not change during deployment, you do not need to set this parameter (that is, the **MountDesc** field does not need to be included in the request). To clear the NAS configuration, set the value of this field to an empty string (that is, set the value of the **MountDesc** field to "" in the request).
586
547
  *
587
548
  * @example
588
549
  * [{mountPath: "/tmp", nasPath: "/"}]
@@ -590,7 +551,7 @@ export class CreateApplicationRequest extends $dara.Model {
590
551
  mountDesc?: string;
591
552
  /**
592
553
  * @remarks
593
- * Do not configure this field; configure **NasConfigs** instead. The NAS mount target within the application VPC. If the configuration has not changed during deployment, you do not need to set this parameter (that is, the request does not need to include the **MountHost** field). To clear the NAS configuration, set the value of this field to an empty string in the request (that is, the value of the **MountHost** field in the request is "").
554
+ * We recommend that you do not set this parameter. Set **NasConfigs** instead. The mount target of the NAS file system in the VPC of the application. If the configuration does not change during deployment, you do not need to set this parameter (that is, the **MountHost** field does not need to be included in the request). To clear the NAS configuration, set the value of this field to an empty string (that is, set the value of the **MountHost** field to "" in the request).
594
555
  *
595
556
  * @example
596
557
  * example.com
@@ -598,7 +559,8 @@ export class CreateApplicationRequest extends $dara.Model {
598
559
  mountHost?: string;
599
560
  /**
600
561
  * @remarks
601
- * The SAE namespace ID. Only namespaces with names consisting of lowercase letters and hyphens (-) are supported. The name must start with a letter. Obtain the namespace by calling the [DescribeNamespaceList](https://help.aliyun.com/document_detail/126547.html) API operation.
562
+ * The SAE namespace ID. Only namespaces whose names contain lowercase letters and hyphens (-) are supported. The name must start with a letter.
563
+ * You can obtain namespaces by calling the [DescribeNamespaceList](https://help.aliyun.com/document_detail/126547.html) operation.
602
564
  *
603
565
  * @example
604
566
  * cn-beijing:test
@@ -606,17 +568,13 @@ export class CreateApplicationRequest extends $dara.Model {
606
568
  namespaceId?: string;
607
569
  /**
608
570
  * @remarks
609
- * The configuration for mounting NAS. Valid values:
610
- *
611
- * - **mountPath**: The container mount path.
612
- *
613
- * - **readOnly**: If the value is **false**, it indicates read and write permission.
614
- *
615
- * - **nasId**: The NAS ID.
571
+ * The NAS mount configuration. Valid values:
616
572
  *
617
- * - **mountDomain**: The container mount target address. For more information, see [DescribeMountTargets](https://help.aliyun.com/document_detail/62626.html).
618
- *
619
- * - **nasPath**: The relative file directory of NAS.
573
+ * - **mountPath**: the container mount path.
574
+ * - **readOnly**: set to **false** to grant read and write permission.
575
+ * - **nasId**: the NAS ID.
576
+ * - **mountDomain**: the container mount target address. For more information, see [DescribeMountTargets](https://help.aliyun.com/document_detail/62626.html).
577
+ * - **nasPath**: the NAS relative file directory.
620
578
  *
621
579
  * @example
622
580
  * [{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}]
@@ -624,9 +582,9 @@ export class CreateApplicationRequest extends $dara.Model {
624
582
  nasConfigs?: string;
625
583
  /**
626
584
  * @remarks
627
- * Do not configure this field; configure **NasConfigs** instead. The ID of the mounted NAS. It must be in the same region as the cluster. It must have available mount target creation quotas, or its mount target must already be on a vSwitch within the VPC. If you do not specify this parameter and the **mountDescs** field exists, the system automatically purchases a NAS and mounts it to a vSwitch within the VPC by default.
585
+ * We recommend that you do not set this parameter. Set **NasConfigs** instead. The ID of the mounted NAS file system. The NAS file system must be in the same region as the cluster. The NAS file system must have available mount target creation quota, or its mount target must already be on a vSwitch in the VPC. If this parameter is left empty and the **mountDescs** field exists, a NAS file system is automatically purchased and mounted to a vSwitch in the VPC.
628
586
  *
629
- * If the configuration has not changed during deployment, you do not need to set this parameter (that is, the request does not need to include the **NASId** field). To clear the NAS configuration, set the value of this field to an empty string in the request (that is, the value of the **NASId** field in the request is "").
587
+ * If the configuration does not change during deployment, you do not need to set this parameter (that is, the **NASId** field does not need to be included in the request). To clear the NAS configuration, set the value of this field to an empty string (that is, set the value of the **NASId** field to "" in the request).
630
588
  *
631
589
  * @example
632
590
  * KSAK****
@@ -636,10 +594,8 @@ export class CreateApplicationRequest extends $dara.Model {
636
594
  * @remarks
637
595
  * The application version:
638
596
  *
639
- * - lite: Lightweight Edition
640
- *
597
+ * - lite: Lite Edition
641
598
  * - std: Standard Edition
642
- *
643
599
  * - pro: Professional Edition
644
600
  *
645
601
  * @example
@@ -648,9 +604,8 @@ export class CreateApplicationRequest extends $dara.Model {
648
604
  newSaeVersion?: string;
649
605
  /**
650
606
  * @remarks
651
- * Set the identity authentication service RAM role.
652
- *
653
- * > Create an OpenID Connect (OIDC) identity provider and an identity provider role in the same region beforehand. For more information, see<props="china">[Create an OIDC identity provider](https://help.aliyun.com/zh/ram/developer-reference/api-ims-2019-08-15-createoidcprovider?spm=a2c4g.11186623.help-menu-28625.d_4_1_0_3_2_7.7f0443efmdpxa3) and[Create a role SSO identity provider](https://help.aliyun.com/zh/ram/developer-reference/api-ims-2019-08-15-createsamlprovider?spm=a2c4g.11186623.help-menu-28625.d_4_1_0_3_2_2.632244b1s8QbQt)<props="intl">[Create an OIDC identity provider](https://www.alibabacloud.com/help/zh/ram/developer-reference/api-ims-2019-08-15-createoidcprovider) and[Create a role SSO identity provider](https://www.alibabacloud.com/help/zh/ram/developer-reference/api-ims-2019-08-15-createsamlprovider).
607
+ * Specifies the RAM role for identity authentication.
608
+ * > Create an OIDC identity provider and an identity provider role in the same region in advance. For more information, see <props="china">[CreateOIDCProvider](https://www.alibabacloud.com/help/en/ram/developer-reference/api-ims-2019-08-15-createoidcprovider) and [CreateSAMLProvider](https://www.alibabacloud.com/help/en/ram/developer-reference/api-ims-2019-08-15-createsamlprovider)<props="intl">[CreateOIDCProvider](https://www.alibabacloud.com/help/zh/ram/developer-reference/api-ims-2019-08-15-createoidcprovider) and [CreateSAMLProvider](https://www.alibabacloud.com/help/zh/ram/developer-reference/api-ims-2019-08-15-createsamlprovider).
654
609
  *
655
610
  * @example
656
611
  * sae-test
@@ -674,19 +629,14 @@ export class CreateApplicationRequest extends $dara.Model {
674
629
  ossAkSecret?: string;
675
630
  /**
676
631
  * @remarks
677
- * OSS mount description. Parameter description:
678
- *
679
- * - **bucketName**: The Bucket name.
680
- *
681
- * - **bucketPath**: The directory or OSS object you created in OSS. If the OSS mount directory does not exist, an exception is triggered.
682
- *
683
- * - **mountPath**: The container path in SAE. If the path exists, it is overwritten. If the path does not exist, it is created.
684
- *
685
- * - **readOnly**: Whether the container path has read permission for the mounted directory resource. Valid values:
686
- *
687
- * - **true**: Read-only permission.
632
+ * The OSS mount description. Parameter description:
688
633
  *
689
- * - **false**: Read and write permission.
634
+ * - **bucketName**: the bucket name.
635
+ * - **bucketPath**: the folder or object that you created in OSS. If the OSS mount folder does not exist, an exception is triggered.
636
+ * - **mountPath**: the container path in SAE. If the path already exists, it is an overwrite relationship. If the path does not exist, it is created.
637
+ * - **readOnly**: specifies whether the container path has read-only permission on the mounted folder resources. Valid values:
638
+ * - **true**: read-only permission.
639
+ * - **false**: read and write permission.
690
640
  *
691
641
  * @example
692
642
  * [{"bucketName": "oss-bucket", "bucketPath": "data/user.data", "mountPath": "/usr/data/user.data", "readOnly": true}]
@@ -694,47 +644,30 @@ export class CreateApplicationRequest extends $dara.Model {
694
644
  ossMountDescs?: string;
695
645
  /**
696
646
  * @remarks
697
- * The application package type. Valid values:
698
- *
699
- * - If you deploy with Java, supported types are **FatJar**, **War**, and **Image**.
700
- *
701
- * - If you deploy with PHP, supported types are:
702
- *
703
- * - **PhpZip**
704
- *
705
- * - **IMAGE_PHP_5_4**
706
- *
707
- * - **IMAGE_PHP_5_4_ALPINE**
708
- *
709
- * - **IMAGE_PHP_5_5**
710
- *
711
- * - **IMAGE_PHP_5_5_ALPINE**
712
- *
713
- * - **IMAGE_PHP_5_6**
714
- *
715
- * - **IMAGE_PHP_5_6_ALPINE**
716
- *
717
- * - **IMAGE_PHP_7_0**
718
- *
719
- * - **IMAGE_PHP_7_0_ALPINE**
720
- *
721
- * - **IMAGE_PHP_7_1**
722
- *
723
- * - **IMAGE_PHP_7_1_ALPINE**
724
- *
725
- * - **IMAGE_PHP_7_2**
726
- *
727
- * - **IMAGE_PHP_7_2_ALPINE**
728
- *
729
- * - **IMAGE_PHP_7_3**
730
- *
731
- * - **IMAGE_PHP_7_3_ALPINE**
732
- *
733
- * - If you deploy with Python, supported types are **PythonZip** and **Image**.
734
- *
735
- * - If you deploy with .NET Core, supported types are **DotnetZip** and **Image**.
736
- *
737
- * > When you select DotnetZip, Dotnet is the version number of the .NET Core environment. Supported versions are .NET 3.1, .NET 5.0, .NET 6.0, .NET 7.0, and .NET 8.0. The Dotnet, Command, and CommandArgs options are required.
647
+ * The type of the application deployment package. Valid values:
648
+ *
649
+ * - If you use Java for deployment, **FatJar**, **War**, and **Image** are supported.
650
+ * - If you use PHP for deployment, the following types are supported:
651
+ * - **PhpZip**
652
+ * - **IMAGE_PHP_5_4**
653
+ * - **IMAGE_PHP_5_4_ALPINE**
654
+ * - **IMAGE_PHP_5_5**
655
+ * - **IMAGE_PHP_5_5_ALPINE**
656
+ * - **IMAGE_PHP_5_6**
657
+ * - **IMAGE_PHP_5_6_ALPINE**
658
+ * - **IMAGE_PHP_7_0**
659
+ * - **IMAGE_PHP_7_0_ALPINE**
660
+ * - **IMAGE_PHP_7_1**
661
+ * - **IMAGE_PHP_7_1_ALPINE**
662
+ * - **IMAGE_PHP_7_2**
663
+ * - **IMAGE_PHP_7_2_ALPINE**
664
+ * - **IMAGE_PHP_7_3**
665
+ * - **IMAGE_PHP_7_3_ALPINE**
666
+ * - If you use Python for deployment, **PythonZip** and **Image** are supported.
667
+ *
668
+ * - If you use .NET Core for deployment, **DotnetZip** and **Image** are supported.
669
+ * >
670
+ * > When DotnetZip is selected, Dotnet specifies the version of the .NET Core runtime. .NET 3.1, .NET 5.0, .NET 6.0, .NET 7.0, and .NET 8.0 are supported. The Dotnet, Command, and CommandArgs parameters are required.
738
671
  *
739
672
  * This parameter is required.
740
673
  *
@@ -744,7 +677,7 @@ export class CreateApplicationRequest extends $dara.Model {
744
677
  packageType?: string;
745
678
  /**
746
679
  * @remarks
747
- * The URL of the deployment package. This parameter is required when **Package Type** is **FatJar**, **War**, or **PythonZip**.
680
+ * The address of the deployment package. This parameter is required when **Package Type** is set to **FatJar**, **War**, or **PythonZip**.
748
681
  *
749
682
  * @example
750
683
  * http://myoss.oss-cn-****.aliyuncs.com/my-buc/2019-06-30/****.jar
@@ -752,7 +685,7 @@ export class CreateApplicationRequest extends $dara.Model {
752
685
  packageUrl?: string;
753
686
  /**
754
687
  * @remarks
755
- * The version number of the deployment package. This parameter is required when **Package Type** is **FatJar**, **War**, or **PythonZip**.
688
+ * The version of the deployment package. This parameter is required when **Package Type** is set to **FatJar**, **War**, or **PythonZip**.
756
689
  *
757
690
  * @example
758
691
  * 1.0.0
@@ -760,7 +693,7 @@ export class CreateApplicationRequest extends $dara.Model {
760
693
  packageVersion?: string;
761
694
  /**
762
695
  * @remarks
763
- * The PHP version that the PHP deployment package depends on. Images do not support this.
696
+ * The PHP version on which the deployment package depends. Not supported for images.
764
697
  *
765
698
  * @example
766
699
  * PHP-FPM 7.0
@@ -768,7 +701,8 @@ export class CreateApplicationRequest extends $dara.Model {
768
701
  php?: string;
769
702
  /**
770
703
  * @remarks
771
- * The mount path for PHP application monitoring. Ensure that the PHP server loads the configuration file from this path. You do not need to focus on the configuration content; SAE automatically renders the correct configuration file.
704
+ * The mount path for PHP application monitoring. Make sure that the PHP server loads the configuration file from this path.
705
+ * You do not need to manage the configuration content. SAE automatically renders the correct configuration file.
772
706
  *
773
707
  * @example
774
708
  * /usr/local/etc/php/conf.d/arms.ini
@@ -784,7 +718,7 @@ export class CreateApplicationRequest extends $dara.Model {
784
718
  phpConfig?: string;
785
719
  /**
786
720
  * @remarks
787
- * The mount path for PHP application startup configuration. Ensure that the PHP server uses this configuration file to start.
721
+ * The mount path for the PHP application startup configuration. Make sure that the PHP server uses this configuration file to start.
788
722
  *
789
723
  * @example
790
724
  * /usr/local/etc/php/php.ini
@@ -792,7 +726,7 @@ export class CreateApplicationRequest extends $dara.Model {
792
726
  phpConfigLocation?: string;
793
727
  /**
794
728
  * @remarks
795
- * The script to execute after the container starts. A script is triggered immediately after the container is created. Format: `{"exec":{"command":["cat","/etc/group"]}}`
729
+ * The script that is run after the container is started. A script is triggered and run immediately after the container is created. Format: `{"exec":{"command":["cat","/etc/group"]}}`
796
730
  *
797
731
  * @example
798
732
  * {"exec":{"command":["cat","/etc/group"]}}
@@ -800,7 +734,7 @@ export class CreateApplicationRequest extends $dara.Model {
800
734
  postStart?: string;
801
735
  /**
802
736
  * @remarks
803
- * The script to execute before the container stops. A script is triggered before the container is deleted. Format: `{"exec":{"command":["cat","/etc/group"]}}`
737
+ * The script that is run before the container is stopped. A script is triggered and run before the container is deleted. Format: `{"exec":{"command":["cat","/etc/group"]}}`
804
738
  *
805
739
  * @example
806
740
  * {"exec":{"command":["cat","/etc/group"]}}
@@ -808,17 +742,13 @@ export class CreateApplicationRequest extends $dara.Model {
808
742
  preStop?: string;
809
743
  /**
810
744
  * @remarks
811
- * The technology stack language for creating the application. Valid values:
812
- *
813
- * - **java**: Java language.
814
- *
815
- * - **php**: PHP language.
745
+ * The programming language of the technology stack used to create the application. Valid values:
816
746
  *
817
- * - **python**: Python language.
818
- *
819
- * - **dotnet**: .NET Core language.
820
- *
821
- * - **other**: Multi-language, such as C++, Go, and Node.js.
747
+ * - **java**: Java.
748
+ * - **php**: PHP.
749
+ * - **python**: Python.
750
+ * - **dotnet**: .NET Core.
751
+ * - **other**: multiple languages, such as C++, Go, and Node.js.
822
752
  *
823
753
  * @example
824
754
  * java
@@ -826,17 +756,13 @@ export class CreateApplicationRequest extends $dara.Model {
826
756
  programmingLanguage?: string;
827
757
  /**
828
758
  * @remarks
829
- * Enable K8s Service service discovery. Valid values:
830
- *
831
- * - **serviceName**: The service name. Format: `custom-namespace ID`. The suffix `-namespace ID` cannot be customized; specify it based on the application\\"s namespace. For example, if you select the default namespace in the China (Beijing) region, it is `-cn-beijing-default`.
832
- *
833
- * - **namespaceId**: The namespace ID.
759
+ * Enables K8s Service-based service registration and discovery. Valid values:
834
760
  *
835
- * - **portProtocols**: The port and protocol. The port range is [1, 65535]. Supported protocols are **TCP** and **UDP**.
836
- *
837
- * - portAndProtocol: The port and protocol. The port range is [1, 65535]. Supported protocols are TCP and **UDP**. **portProtocols** is recommended. If **portProtocols** is set, only **portProtocols** takes effect.
838
- *
839
- * - **enable**: Enable K8s Service service discovery.
761
+ * - **serviceName**: the service name. Format: `custom name-namespace ID`. The suffix `-namespace ID` cannot be customized and must be set based on the namespace of the application. For example, if you select the default namespace in the China (Beijing) region, the suffix is `-cn-beijing-default`.
762
+ * - **namespaceId**: the namespace ID.
763
+ * - **portProtocols**: the port and protocol. Valid port values: [1,65535]. Valid protocol values: **TCP** and **UDP**.
764
+ * - **portAndProtocol**: the port and protocol. Valid port values: [1,65535]. Valid protocol values: **TCP** and **UDP**. **portProtocols is recommended. If portProtocols is set, only portProtocols takes effect**.
765
+ * - **enable**: enables K8s Service-based service registration and discovery.
840
766
  *
841
767
  * @example
842
768
  * {"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true,"portProtocols":[{"port":18012,"protocol":"TCP"}]}
@@ -844,7 +770,7 @@ export class CreateApplicationRequest extends $dara.Model {
844
770
  pvtzDiscoverySvc?: string;
845
771
  /**
846
772
  * @remarks
847
- * The Python environment. Supports **PYTHON 3.9.15**.
773
+ * The Python environment. **PYTHON 3.9.15** is supported.
848
774
  *
849
775
  * @example
850
776
  * PYTHON 3.9.15
@@ -852,17 +778,18 @@ export class CreateApplicationRequest extends $dara.Model {
852
778
  python?: string;
853
779
  /**
854
780
  * @remarks
855
- * Custom installation of module dependencies. By default, the system installs dependencies defined in requirements.txt in the root directory. If you do not configure or customize packages, you can specify the dependencies to install.
781
+ * The custom installation module dependencies. By default, the dependencies defined in the requirements.txt file in the root folder are installed. If the file is not configured or you need custom packages, specify the dependencies to install.
856
782
  *
857
783
  * @example
858
784
  * Flask==2.0
859
785
  */
860
786
  pythonModules?: string;
787
+ raspConfig?: CreateApplicationRequestRaspConfig;
861
788
  /**
862
789
  * @remarks
863
- * Application startup status check. Containers that fail multiple health checks are shut down and restarted. Containers that do not pass the health check will not receive SLB traffic. Supported methods are **exec**, **httpGet**, and **tcpSocket**. For examples, see the **Liveness** parameter.
790
+ * The application startup status check. Containers that fail multiple health checks are shut down and restarted. Containers that do not pass the health check do not receive SLB traffic. The **exec**, **httpGet**, and **tcpSocket** methods are supported. For specific examples, see the **Liveness** parameter.
864
791
  *
865
- * > Select only one method for the health check.
792
+ * > You can use only one method for health checks.
866
793
  *
867
794
  * @example
868
795
  * {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
@@ -880,7 +807,7 @@ export class CreateApplicationRequest extends $dara.Model {
880
807
  replicas?: number;
881
808
  /**
882
809
  * @remarks
883
- * The resource type. Supports NULL (default), default, and haiguang (Haiguang server) types.
810
+ * The resource type. Valid values: NULL (default), default, and haiguang (Hygon server).
884
811
  *
885
812
  * @example
886
813
  * NULL
@@ -888,10 +815,9 @@ export class CreateApplicationRequest extends $dara.Model {
888
815
  resourceType?: string;
889
816
  /**
890
817
  * @remarks
891
- * The SAE version. Supported versions:
818
+ * The SAE version. Valid values:
892
819
  *
893
820
  * - **v1**
894
- *
895
821
  * - **v2**
896
822
  *
897
823
  * @example
@@ -900,15 +826,14 @@ export class CreateApplicationRequest extends $dara.Model {
900
826
  saeVersion?: string;
901
827
  /**
902
828
  * @remarks
903
- * The **Secret** mount description. Use secrets created on the namespace secret page to inject secret information into the container. Parameter description:
829
+ * The **Secret** mount description. Use a secret created on the namespace secrets page to inject sensitive information into the container. Parameter description:
904
830
  *
905
- * - **secretId**: The secret instance ID. Obtain it by calling the ListSecrets API operation.
906
- *
907
- * - **key**: The key value.
831
+ * - **secretId**: the secret instance ID. You can obtain the ID by calling the ListSecrets operation.
832
+ * - **key**: the key.
908
833
  *
909
834
  * > You can mount all keys by passing the `sae-sys-secret-all` parameter.
910
835
  *
911
- * - **mountPath**: The mount path.
836
+ * - **mountPath**: the mount path.
912
837
  *
913
838
  * @example
914
839
  * [{“secretId":10,”key":"test","mountPath":"/tmp"}]
@@ -924,7 +849,7 @@ export class CreateApplicationRequest extends $dara.Model {
924
849
  securityGroupId?: string;
925
850
  /**
926
851
  * @remarks
927
- * The grayscale tags for application configuration.
852
+ * The canary release tags configured for the application.
928
853
  *
929
854
  * @example
930
855
  * {\\"alicloud.service.tag\\":\\"g1\\"}
@@ -932,32 +857,27 @@ export class CreateApplicationRequest extends $dara.Model {
932
857
  serviceTags?: string;
933
858
  /**
934
859
  * @remarks
935
- * Container configuration information.
860
+ * The sidecar container configuration.
936
861
  */
937
862
  sidecarContainersConfig?: SidecarContainerConfig[];
938
863
  /**
939
864
  * @remarks
940
- * The configuration for collecting logs to Simple Log Service (SLS).
941
- *
942
- * - Use SLS resources automatically created by SAE: `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`.
865
+ * The configurations for log collection to Simple Log Service.
943
866
  *
867
+ * - Use SLS resources that are automatically created by SAE: `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`.
944
868
  * - Use custom SLS resources: `[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]`.
945
869
  *
946
870
  * Parameter description:
947
871
  *
948
- * - **projectName**: The name of the Project on SLS.
949
- *
950
- * - **logDir**: The log path.
951
- *
952
- * - **logType**: The log type. **stdout** indicates container standard output logs; you can set only one such entry. If you do not set this, the system collects file logs.
953
- *
954
- * - **logstoreName**: The name of the Logstore on SLS.
955
- *
956
- * - **logtailName**: The name of the Logtail on SLS. If you do not specify this, the system creates a new Logtail.
872
+ * - **projectName**: the Project name in Simple Log Service.
873
+ * - **logDir**: the log path.
874
+ * - **logType**: the log type. **stdout** indicates container standard output logs. You can configure only one entry for this type. If this parameter is not set, file logs are collected.
875
+ * - **logstoreName**: the Logstore name in Simple Log Service.
876
+ * - **logtailName**: the Logtail name in Simple Log Service. If this parameter is not specified, a new Logtail is created.
957
877
  *
958
- * If the SLS collection configuration has not changed during multiple deployments, you do not need to set this parameter (that is, the request does not need to include the **SlsConfigs** field). If you no longer need the SLS collection feature, set the value of this field to an empty string in the request (that is, the value of the **SlsConfigs** field in the request is "").
878
+ * If the SLS collection configuration does not change during multiple deployments, you do not need to set this parameter (that is, the **SlsConfigs** field does not need to be included in the request). If you no longer need the SLS collection feature, set the value of this field to an empty string (that is, set the value of the **SlsConfigs** field to "" in the request).
959
879
  *
960
- * > Projects automatically created with an application are deleted when the application is deleted. Therefore, when selecting an existing Project, do not select a Project automatically created by SAE.
880
+ * > Projects that are automatically created with the application are deleted when the application is deleted. Therefore, do not select a project that is automatically created by SAE when you select an existing project.
961
881
  *
962
882
  * @example
963
883
  * [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
@@ -965,20 +885,18 @@ export class CreateApplicationRequest extends $dara.Model {
965
885
  slsConfigs?: string;
966
886
  /**
967
887
  * @remarks
968
- * SLS log tags.
888
+ * sls log tags
969
889
  */
970
890
  slsLogEnvTags?: string;
971
891
  /**
972
892
  * @remarks
973
- * Enable application startup probes.
893
+ * Enables the application startup probe.
974
894
  *
975
- * - Successful check: Indicates that the application started successfully. If you configured Liveness and Readiness checks, the system performs Liveness and Readiness checks after the application starts successfully.
976
- *
977
- * - Failed check: Indicates that the application failed to start. The system reports an exception and automatically restarts the application.
978
- *
979
- * > * Supported methods are exec, httpGet, and tcpSocket. For examples, see the Liveness parameter.
980
- * >
981
- * > * Select only one method for the health check.
895
+ * - Check succeeded: indicates that the application started successfully. If you configured Liveness and Readiness checks, they are performed after the application starts successfully.
896
+ * - Check failed: indicates that the application failed to start. An exception is reported and the application is automatically restarted.
897
+ * >
898
+ * > - The exec, httpGet, and tcpSocket methods are supported. For specific examples, see the Liveness parameter.
899
+ * > - You can use only one method for health checks.
982
900
  *
983
901
  * @example
984
902
  * {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
@@ -986,7 +904,7 @@ export class CreateApplicationRequest extends $dara.Model {
986
904
  startupProbe?: string;
987
905
  /**
988
906
  * @remarks
989
- * The graceful shutdown timeout duration. Default is 30 seconds. Valid values are 1 to 300.
907
+ * The timeout period for graceful shutdown. Default value: 30. Unit: seconds. Valid values: 1 to 300.
990
908
  *
991
909
  * @example
992
910
  * 30
@@ -994,7 +912,7 @@ export class CreateApplicationRequest extends $dara.Model {
994
912
  terminationGracePeriodSeconds?: number;
995
913
  /**
996
914
  * @remarks
997
- * The time zone. Default is **Asia/Shanghai**.
915
+ * The time zone. Default value: **Asia/Shanghai**.
998
916
  *
999
917
  * @example
1000
918
  * Asia/Shanghai
@@ -1002,17 +920,13 @@ export class CreateApplicationRequest extends $dara.Model {
1002
920
  timezone?: string;
1003
921
  /**
1004
922
  * @remarks
1005
- * Tomcat file configuration. Set to "" or "{}" to delete the configuration:
1006
- *
1007
- * - **port**: The port range is 1024 to 65535. Ports less than 1024 require root permissions to operate. Because the container is configured with Admin permissions, specify a port greater than 1024. If you do not configure this, the default is 8080.
1008
- *
1009
- * - **contextPath**: The access path. Default is the root directory "/".
923
+ * The Tomcat configuration. Set this parameter to "" or "{}" to delete the configuration:
1010
924
  *
1011
- * - **maxThreads**: Configure the connection pool size. Default is 400.
1012
- *
1013
- * - uriEncoding: The encoding format for Tomcat, including **UTF-8**, **ISO-8859-1**, **GBK**, and **GB2312**. If you do not set this, the default is **ISO-8859-1**.
1014
- *
1015
- * - **useBodyEncodingForUri**: Whether to use **BodyEncoding for URL**. Default is **true**.
925
+ * - **port**: the port number. Valid values: 1024 to 65535. Ports less than 1024 require root permissions. Because the container is configured with admin permissions, specify a port greater than 1024. Default value: 8080.
926
+ * - **contextPath**: the access path. Default value: root directory "/".
927
+ * - **maxThreads**: the maximum number of connections in the connection pool. Default value: 400.
928
+ * - **uriEncoding**: the encoding format of Tomcat. Valid values: **UTF-8**, **ISO-8859-1**, **GBK**, and **GB2312**. Default value: **ISO-8859-1**.
929
+ * - **useBodyEncodingForUri**: specifies whether to use **BodyEncoding for URL**. Default value: **true**.
1016
930
  *
1017
931
  * @example
1018
932
  * {"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true}
@@ -1020,7 +934,7 @@ export class CreateApplicationRequest extends $dara.Model {
1020
934
  tomcatConfig?: string;
1021
935
  /**
1022
936
  * @remarks
1023
- * The virtual switch (vSwitch) where the application instance\\"s Elastic Network Interface (ENI) is located. This vSwitch must be within the specified VPC. This vSwitch also has a binding relationship with the SAE namespace. If you do not specify this parameter, the system uses the vSwitch ID bound to the namespace by default.
937
+ * The vSwitch where the elastic network interface controller (NIC) of the application instance resides. The vSwitch must be in the specified VPC. The vSwitch also has a binding relationship with the SAE namespace. If you leave this parameter empty, the vSwitch attached to the namespace is used by default.
1024
938
  *
1025
939
  * @example
1026
940
  * vsw-bp12mw1f8k3jgygk9****
@@ -1028,7 +942,7 @@ export class CreateApplicationRequest extends $dara.Model {
1028
942
  vSwitchId?: string;
1029
943
  /**
1030
944
  * @remarks
1031
- * The VPC corresponding to the SAE namespace. In SAE, a namespace can only correspond to one VPC, and you cannot change it. The first time you create an SAE application in a namespace, a binding relationship forms. Multiple namespaces can correspond to one VPC. If you do not specify this parameter, the system uses the VPC ID bound to the namespace by default.
945
+ * The VPC that corresponds to the SAE namespace. In SAE, a namespace can correspond to only one VPC, and the mapping cannot be modified. The binding relationship is established when the first SAE application is created in the namespace. Multiple namespaces can correspond to the same VPC. If you leave this parameter empty, the VPC bound to the namespace is used by default.
1032
946
  *
1033
947
  * @example
1034
948
  * vpc-bp1aevy8sofi8mh1q****
@@ -1036,7 +950,7 @@ export class CreateApplicationRequest extends $dara.Model {
1036
950
  vpcId?: string;
1037
951
  /**
1038
952
  * @remarks
1039
- * Set the startup command for WAR package deployed applications. The procedure is the same as configuring the startup command for image deployments. For more information, see [Set the startup command](https://help.aliyun.com/document_detail/96677.html).
953
+ * The startup command for deploying a WAR package application. The configuration procedure is the same as that for the startup command of an image deployment. For more information, see [Configure a startup command](https://help.aliyun.com/document_detail/96677.html).
1040
954
  *
1041
955
  * @example
1042
956
  * CATALINA_OPTS=\\"$CATALINA_OPTS $Options\\" catalina.sh run
@@ -1044,13 +958,12 @@ export class CreateApplicationRequest extends $dara.Model {
1044
958
  warStartOptions?: string;
1045
959
  /**
1046
960
  * @remarks
1047
- * The Tomcat version that the WebContainer deployment package depends on. Supported versions:
961
+ * The version of Tomcat on which the WebContainer deployment package depends. Valid values:
1048
962
  *
1049
963
  * - **apache-tomcat-7.0.91**
1050
- *
1051
964
  * - **apache-tomcat-8.5.42**
1052
965
  *
1053
- * This parameter is not supported when **Package Type** is **Image**.
966
+ * This parameter is not supported when **Package Type** is set to **Image**.
1054
967
  *
1055
968
  * @example
1056
969
  * apache-tomcat-7.0.91
@@ -1127,6 +1040,7 @@ export class CreateApplicationRequest extends $dara.Model {
1127
1040
  pvtzDiscoverySvc: 'PvtzDiscoverySvc',
1128
1041
  python: 'Python',
1129
1042
  pythonModules: 'PythonModules',
1043
+ raspConfig: 'RaspConfig',
1130
1044
  readiness: 'Readiness',
1131
1045
  replicas: 'Replicas',
1132
1046
  resourceType: 'ResourceType',
@@ -1219,6 +1133,7 @@ export class CreateApplicationRequest extends $dara.Model {
1219
1133
  pvtzDiscoverySvc: 'string',
1220
1134
  python: 'string',
1221
1135
  pythonModules: 'string',
1136
+ raspConfig: CreateApplicationRequestRaspConfig,
1222
1137
  readiness: 'string',
1223
1138
  replicas: 'number',
1224
1139
  resourceType: 'string',
@@ -1247,6 +1162,9 @@ export class CreateApplicationRequest extends $dara.Model {
1247
1162
  if(this.labels) {
1248
1163
  $dara.Model.validateMap(this.labels);
1249
1164
  }
1165
+ if(this.raspConfig && typeof (this.raspConfig as any).validate === 'function') {
1166
+ (this.raspConfig as any).validate();
1167
+ }
1250
1168
  if(Array.isArray(this.sidecarContainersConfig)) {
1251
1169
  $dara.Model.validateArray(this.sidecarContainersConfig);
1252
1170
  }