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