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