@alicloud/sae20190506 2.12.3 → 2.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +8 -8
- package/dist/client.js +23 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +232 -333
- package/dist/models/CreateApplicationRequest.js +29 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +14 -21
- package/dist/models/CreateApplicationResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +217 -333
- package/dist/models/CreateApplicationShrinkRequest.js +2 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +261 -382
- package/dist/models/DeployApplicationRequest.js +29 -1
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationResponseBody.d.ts +20 -27
- package/dist/models/DeployApplicationResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +246 -382
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +299 -404
- package/dist/models/DescribeApplicationConfigResponseBody.js +29 -1
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +42 -61
- package/dist/models/ListApplicationsRequest.js +2 -0
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListApplicationsResponseBody.d.ts +77 -101
- package/dist/models/ListApplicationsResponseBody.js +2 -0
- package/dist/models/ListApplicationsResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +37 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +28 -8
- package/src/models/CreateApplicationRequest.ts +252 -334
- package/src/models/CreateApplicationResponseBody.ts +14 -21
- package/src/models/CreateApplicationShrinkRequest.ts +220 -334
- package/src/models/DeployApplicationRequest.ts +281 -383
- package/src/models/DeployApplicationResponseBody.ts +20 -27
- package/src/models/DeployApplicationShrinkRequest.ts +249 -383
- package/src/models/DescribeApplicationConfigResponseBody.ts +319 -405
- package/src/models/ListApplicationsRequest.ts +44 -61
- package/src/models/ListApplicationsResponseBody.ts +79 -101
- package/src/models/model.ts +3 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* ConfigMap ID。
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -13,7 +13,7 @@ export class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc extends
|
|
|
13
13
|
configMapId?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name
|
|
16
|
+
* The ConfigMap name.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* test
|
|
@@ -21,7 +21,7 @@ export class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc extends
|
|
|
21
21
|
configMapName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The ConfigMap key-value pair.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* k1
|
|
@@ -29,7 +29,7 @@ export class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc extends
|
|
|
29
29
|
key?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The mount path
|
|
32
|
+
* The container mount path.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* /tmp
|
|
@@ -70,7 +70,7 @@ export class DescribeApplicationConfigResponseBodyDataEmptyDirDesc extends $dara
|
|
|
70
70
|
mountPath?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The
|
|
73
|
+
* The temporary storage name.
|
|
74
74
|
*/
|
|
75
75
|
name?: string;
|
|
76
76
|
static names(): { [key: string]: string } {
|
|
@@ -99,7 +99,7 @@ export class DescribeApplicationConfigResponseBodyDataEmptyDirDesc extends $dara
|
|
|
99
99
|
export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc extends $dara.Model {
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
*
|
|
102
|
+
* ConfigMap ID。
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* 1
|
|
@@ -107,7 +107,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfig
|
|
|
107
107
|
configMapId?: number;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* The name
|
|
110
|
+
* The ConfigMap name.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* test
|
|
@@ -115,7 +115,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfig
|
|
|
115
115
|
configMapName?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The
|
|
118
|
+
* The ConfigMap key-value pair.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* k1
|
|
@@ -123,7 +123,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfig
|
|
|
123
123
|
key?: string;
|
|
124
124
|
/**
|
|
125
125
|
* @remarks
|
|
126
|
-
* The mount path
|
|
126
|
+
* The container mount path.
|
|
127
127
|
*
|
|
128
128
|
* @example
|
|
129
129
|
* /tmp
|
|
@@ -159,12 +159,12 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfig
|
|
|
159
159
|
export class DescribeApplicationConfigResponseBodyDataInitContainersConfigEmptyDirDesc extends $dara.Model {
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
* The path
|
|
162
|
+
* The mount path of the data volume in the container.
|
|
163
163
|
*/
|
|
164
164
|
mountPath?: string;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
* The
|
|
167
|
+
* The temporary storage name.
|
|
168
168
|
*/
|
|
169
169
|
name?: string;
|
|
170
170
|
static names(): { [key: string]: string } {
|
|
@@ -203,12 +203,12 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigSecret
|
|
|
203
203
|
mountPath?: string;
|
|
204
204
|
/**
|
|
205
205
|
* @remarks
|
|
206
|
-
* The
|
|
206
|
+
* The Secret instance ID.
|
|
207
207
|
*/
|
|
208
208
|
secretId?: number;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The
|
|
211
|
+
* The Secret instance name.
|
|
212
212
|
*/
|
|
213
213
|
secretName?: string;
|
|
214
214
|
static names(): { [key: string]: string } {
|
|
@@ -241,7 +241,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigSecret
|
|
|
241
241
|
export class DescribeApplicationConfigResponseBodyDataInitContainersConfig extends $dara.Model {
|
|
242
242
|
/**
|
|
243
243
|
* @remarks
|
|
244
|
-
* The startup command
|
|
244
|
+
* The image startup command. This command must be an executable object that exists in the container. Example:
|
|
245
245
|
*
|
|
246
246
|
* ```
|
|
247
247
|
* command:
|
|
@@ -250,7 +250,6 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
250
250
|
* - >
|
|
251
251
|
* - file0
|
|
252
252
|
* ```
|
|
253
|
-
*
|
|
254
253
|
* Based on the preceding example, `Command="echo", CommandArgs=["abc", ">", "file0"]`.
|
|
255
254
|
*
|
|
256
255
|
* @example
|
|
@@ -259,11 +258,11 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
259
258
|
command?: string;
|
|
260
259
|
/**
|
|
261
260
|
* @remarks
|
|
262
|
-
* The arguments
|
|
261
|
+
* The arguments for the image startup command. These are the arguments required by the startup command **Command**. Format:
|
|
263
262
|
*
|
|
264
263
|
* `["a","b"]`
|
|
265
264
|
*
|
|
266
|
-
* In the preceding example, `CommandArgs=["abc", ">", "file0"]
|
|
265
|
+
* In the preceding example, `CommandArgs=["abc", ">", "file0"]`, where `["abc", ">", "file0"]` must be converted to the String type and the internal format is a JSON array. If this parameter is not required, leave it empty.
|
|
267
266
|
*
|
|
268
267
|
* @example
|
|
269
268
|
* ["a","b"]
|
|
@@ -271,7 +270,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
271
270
|
commandArgs?: string;
|
|
272
271
|
/**
|
|
273
272
|
* @remarks
|
|
274
|
-
* The
|
|
273
|
+
* The ConfigMap information.
|
|
275
274
|
*/
|
|
276
275
|
configMapMountDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc[];
|
|
277
276
|
/**
|
|
@@ -281,33 +280,20 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
281
280
|
emptyDirDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigEmptyDirDesc[];
|
|
282
281
|
/**
|
|
283
282
|
* @remarks
|
|
284
|
-
* The environment
|
|
285
|
-
*
|
|
283
|
+
* The container environment variable parameters. You can customize environment variables or reference ConfigMap instances. To reference a ConfigMap instance, create a ConfigMap instance first. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Valid values:
|
|
286
284
|
* - Custom configuration
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
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>`, for example, `sae-sys-configmap-all-test1`.
|
|
295
|
-
*
|
|
296
|
-
* - **valueFrom**: The reference of the environment variable. Set the value to `configMapRef`.
|
|
297
|
-
*
|
|
298
|
-
* - **configMapId**: The ID of the ConfigMap.
|
|
299
|
-
*
|
|
300
|
-
* - **key**: The key. If you want to reference all keys, do not specify this parameter.
|
|
301
|
-
*
|
|
285
|
+
* - **name**: the name of the environment variable.
|
|
286
|
+
* - **value**: the value of the environment variable. This takes priority over valueFrom.
|
|
287
|
+
* - Reference a ConfigMap instance (valueFrom)
|
|
288
|
+
* - **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`.
|
|
289
|
+
* - **valueFrom**: the reference of the environment variable. Set the value to `configMapRef`.
|
|
290
|
+
* - **configMapId**: the ID of the ConfigMap instance.
|
|
291
|
+
* - **key**: the key. Do not set this field if you want to reference all keys.
|
|
302
292
|
* - Reference a secret (valueFrom)
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
* - **secretId**: The ID of the secret.
|
|
309
|
-
*
|
|
310
|
-
* - **key**: The key. If you want to reference all keys, do not specify this parameter.
|
|
293
|
+
* - **name**: the name of the environment variable. You can reference a single key or all keys. To reference all keys, enter `sae-sys-secret-all-<secret name>`, such as `sae-sys-secret-all-test1`.
|
|
294
|
+
* - **valueFrom**: the reference of the environment variable. Set the value to `secretRef`.
|
|
295
|
+
* - **secretId**: the ID of the secret.
|
|
296
|
+
* - **key**: the key. Do not set this field if you want to reference all keys.
|
|
311
297
|
*
|
|
312
298
|
* @example
|
|
313
299
|
* [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
|
|
@@ -315,7 +301,8 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
315
301
|
envs?: string;
|
|
316
302
|
/**
|
|
317
303
|
* @remarks
|
|
318
|
-
* The
|
|
304
|
+
* The image URL used by the init container.
|
|
305
|
+
* [_single.resp.200.props.Data.InitContainersConfig.items.Env
|
|
319
306
|
*
|
|
320
307
|
* @example
|
|
321
308
|
* registry.cn-shenzhen.aliyuncs.com/sae-serverless-demo/sae-demo:microservice-java-provider-v1.0
|
|
@@ -323,7 +310,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
323
310
|
imageUrl?: string;
|
|
324
311
|
/**
|
|
325
312
|
* @remarks
|
|
326
|
-
* The
|
|
313
|
+
* The init container name.
|
|
327
314
|
*
|
|
328
315
|
* @example
|
|
329
316
|
* init-container
|
|
@@ -331,7 +318,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
331
318
|
name?: string;
|
|
332
319
|
/**
|
|
333
320
|
* @remarks
|
|
334
|
-
* The
|
|
321
|
+
* The Secret mount description.
|
|
335
322
|
*/
|
|
336
323
|
secretMountDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigSecretMountDesc[];
|
|
337
324
|
static names(): { [key: string]: string } {
|
|
@@ -381,7 +368,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
381
368
|
export class DescribeApplicationConfigResponseBodyDataMountDesc extends $dara.Model {
|
|
382
369
|
/**
|
|
383
370
|
* @remarks
|
|
384
|
-
* The mount path
|
|
371
|
+
* The container mount path.
|
|
385
372
|
*
|
|
386
373
|
* @example
|
|
387
374
|
* /tmp
|
|
@@ -389,7 +376,7 @@ export class DescribeApplicationConfigResponseBodyDataMountDesc extends $dara.Mo
|
|
|
389
376
|
mountPath?: string;
|
|
390
377
|
/**
|
|
391
378
|
* @remarks
|
|
392
|
-
* The
|
|
379
|
+
* The NAS relative file directory.
|
|
393
380
|
*
|
|
394
381
|
* @example
|
|
395
382
|
* /
|
|
@@ -429,7 +416,7 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $dar
|
|
|
429
416
|
bucketName?: string;
|
|
430
417
|
/**
|
|
431
418
|
* @remarks
|
|
432
|
-
* The directory or object that you created in OSS.
|
|
419
|
+
* The directory or OSS object that you created in OSS. If the OSS mount directory does not exist, an exception is triggered.
|
|
433
420
|
*
|
|
434
421
|
* @example
|
|
435
422
|
* data/user.data
|
|
@@ -437,7 +424,7 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $dar
|
|
|
437
424
|
bucketPath?: string;
|
|
438
425
|
/**
|
|
439
426
|
* @remarks
|
|
440
|
-
* The path
|
|
427
|
+
* The container path in SAE. If the path already exists, it is overwritten. If the path does not exist, it is created.
|
|
441
428
|
*
|
|
442
429
|
* @example
|
|
443
430
|
* /usr/data/user.data
|
|
@@ -445,11 +432,10 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $dar
|
|
|
445
432
|
mountPath?: string;
|
|
446
433
|
/**
|
|
447
434
|
* @remarks
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
* - **true**: The read-only permission.
|
|
435
|
+
* Indicates whether the container path has read-only permission to the mounted directory resources. Valid values:
|
|
451
436
|
*
|
|
452
|
-
* - **
|
|
437
|
+
* - **true**: Read-only permission.
|
|
438
|
+
* - **false**: Read and write permission.
|
|
453
439
|
*
|
|
454
440
|
* @example
|
|
455
441
|
* true
|
|
@@ -482,10 +468,39 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $dar
|
|
|
482
468
|
}
|
|
483
469
|
}
|
|
484
470
|
|
|
471
|
+
export class DescribeApplicationConfigResponseBodyDataRaspConfig extends $dara.Model {
|
|
472
|
+
enableRasp?: boolean;
|
|
473
|
+
raspAppKey?: string;
|
|
474
|
+
raspAppName?: string;
|
|
475
|
+
static names(): { [key: string]: string } {
|
|
476
|
+
return {
|
|
477
|
+
enableRasp: 'EnableRasp',
|
|
478
|
+
raspAppKey: 'RaspAppKey',
|
|
479
|
+
raspAppName: 'RaspAppName',
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
static types(): { [key: string]: any } {
|
|
484
|
+
return {
|
|
485
|
+
enableRasp: 'boolean',
|
|
486
|
+
raspAppKey: 'string',
|
|
487
|
+
raspAppName: 'string',
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
validate() {
|
|
492
|
+
super.validate();
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
constructor(map?: { [key: string]: any }) {
|
|
496
|
+
super(map);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
485
500
|
export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $dara.Model {
|
|
486
501
|
/**
|
|
487
502
|
* @remarks
|
|
488
|
-
* The key
|
|
503
|
+
* The key with Base64-encoded data value.
|
|
489
504
|
*
|
|
490
505
|
* @example
|
|
491
506
|
* task-center
|
|
@@ -501,7 +516,7 @@ export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $d
|
|
|
501
516
|
mountPath?: string;
|
|
502
517
|
/**
|
|
503
518
|
* @remarks
|
|
504
|
-
* The
|
|
519
|
+
* The queried Secret instance ID.
|
|
505
520
|
*
|
|
506
521
|
* @example
|
|
507
522
|
* 520
|
|
@@ -509,7 +524,7 @@ export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $d
|
|
|
509
524
|
secretId?: number;
|
|
510
525
|
/**
|
|
511
526
|
* @remarks
|
|
512
|
-
* The
|
|
527
|
+
* The Secret instance name.
|
|
513
528
|
*
|
|
514
529
|
* @example
|
|
515
530
|
* dummy-name-opaque-894
|
|
@@ -545,7 +560,7 @@ export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $d
|
|
|
545
560
|
export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigConfigMapMountDesc extends $dara.Model {
|
|
546
561
|
/**
|
|
547
562
|
* @remarks
|
|
548
|
-
* The
|
|
563
|
+
* The ConfigMap instance ID.
|
|
549
564
|
*
|
|
550
565
|
* @example
|
|
551
566
|
* 7361
|
|
@@ -553,7 +568,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigCon
|
|
|
553
568
|
configMapId?: number;
|
|
554
569
|
/**
|
|
555
570
|
* @remarks
|
|
556
|
-
* The name
|
|
571
|
+
* The ConfigMap name.
|
|
557
572
|
*
|
|
558
573
|
* @example
|
|
559
574
|
* ConfigMap-test
|
|
@@ -561,7 +576,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigCon
|
|
|
561
576
|
configMapName?: string;
|
|
562
577
|
/**
|
|
563
578
|
* @remarks
|
|
564
|
-
* The key
|
|
579
|
+
* The ConfigMap key.
|
|
565
580
|
*
|
|
566
581
|
* @example
|
|
567
582
|
* key
|
|
@@ -569,7 +584,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigCon
|
|
|
569
584
|
key?: string;
|
|
570
585
|
/**
|
|
571
586
|
* @remarks
|
|
572
|
-
* The mount path
|
|
587
|
+
* The container mount path.
|
|
573
588
|
*
|
|
574
589
|
* @example
|
|
575
590
|
* /mnt/test
|
|
@@ -605,7 +620,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigCon
|
|
|
605
620
|
export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmptyDirDesc extends $dara.Model {
|
|
606
621
|
/**
|
|
607
622
|
* @remarks
|
|
608
|
-
* The path
|
|
623
|
+
* The mount path of the data volume in the container.
|
|
609
624
|
*
|
|
610
625
|
* @example
|
|
611
626
|
* /mnt/cache
|
|
@@ -613,7 +628,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmp
|
|
|
613
628
|
mountPath?: string;
|
|
614
629
|
/**
|
|
615
630
|
* @remarks
|
|
616
|
-
* The
|
|
631
|
+
* The temporary storage name.
|
|
617
632
|
*
|
|
618
633
|
* @example
|
|
619
634
|
* sidecar-container
|
|
@@ -645,7 +660,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmp
|
|
|
645
660
|
export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigSecretMountDesc extends $dara.Model {
|
|
646
661
|
/**
|
|
647
662
|
* @remarks
|
|
648
|
-
* The key
|
|
663
|
+
* The key with Base64-encoded data value.
|
|
649
664
|
*/
|
|
650
665
|
key?: string;
|
|
651
666
|
/**
|
|
@@ -655,12 +670,12 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigSec
|
|
|
655
670
|
mountPath?: string;
|
|
656
671
|
/**
|
|
657
672
|
* @remarks
|
|
658
|
-
* The
|
|
673
|
+
* The Secret instance ID.
|
|
659
674
|
*/
|
|
660
675
|
secretId?: number;
|
|
661
676
|
/**
|
|
662
677
|
* @remarks
|
|
663
|
-
* The
|
|
678
|
+
* The Secret instance name.
|
|
664
679
|
*/
|
|
665
680
|
secretName?: string;
|
|
666
681
|
static names(): { [key: string]: string } {
|
|
@@ -693,7 +708,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigSec
|
|
|
693
708
|
export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig extends $dara.Model {
|
|
694
709
|
/**
|
|
695
710
|
* @remarks
|
|
696
|
-
* The
|
|
711
|
+
* The ACR Enterprise instance ID. This parameter is required when **ImageUrl** is from ACR Enterprise Edition.
|
|
697
712
|
*
|
|
698
713
|
* @example
|
|
699
714
|
* cri-fhzlneorxala66ip
|
|
@@ -701,7 +716,7 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
701
716
|
acrInstanceId?: string;
|
|
702
717
|
/**
|
|
703
718
|
* @remarks
|
|
704
|
-
* The startup command
|
|
719
|
+
* The image startup command. This command must be an executable object that exists in the container. Example:
|
|
705
720
|
*
|
|
706
721
|
* ```
|
|
707
722
|
* command:
|
|
@@ -710,7 +725,6 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
710
725
|
* - >
|
|
711
726
|
* - file0
|
|
712
727
|
* ```
|
|
713
|
-
*
|
|
714
728
|
* Based on the preceding example, `Command="echo", CommandArgs=["abc", ">", "file0"]`.
|
|
715
729
|
*
|
|
716
730
|
* @example
|
|
@@ -719,11 +733,11 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
719
733
|
command?: string;
|
|
720
734
|
/**
|
|
721
735
|
* @remarks
|
|
722
|
-
* The arguments
|
|
736
|
+
* The arguments for the image startup command. These are the arguments required by the startup command **Command**. Format:
|
|
723
737
|
*
|
|
724
738
|
* `["a","b"]`
|
|
725
739
|
*
|
|
726
|
-
* In the preceding example, `CommandArgs=["abc", ">", "file0"]
|
|
740
|
+
* In the preceding example, `CommandArgs=["abc", ">", "file0"]`, where `["abc", ">", "file0"]` must be converted to the String type and the internal format is a JSON array. If this parameter is not required, leave it empty.
|
|
727
741
|
*
|
|
728
742
|
* @example
|
|
729
743
|
* [\\"-c\\",\\"echo \\\\\\"test\\\\\\" > /home/nas/test.log && sleep 10000000s\\"]
|
|
@@ -731,22 +745,17 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
731
745
|
commandArgs?: string;
|
|
732
746
|
/**
|
|
733
747
|
* @remarks
|
|
734
|
-
* The
|
|
735
|
-
*
|
|
736
|
-
* - **
|
|
737
|
-
*
|
|
738
|
-
* - **key**: The key.
|
|
739
|
-
*
|
|
740
|
-
* > You can pass the `sae-sys-configmap-all` parameter to mount all keys.
|
|
741
|
-
*
|
|
748
|
+
* The ConfigMap mount description. Use the configuration items created on the namespace configuration page to inject configuration information into the container. Parameter descriptions:
|
|
749
|
+
* - **configMapId**: The ConfigMap instance ID. You can obtain this ID by calling the [ListNamespacedConfigMaps](https://help.aliyun.com/document_detail/176917.html) operation.
|
|
750
|
+
* - **key**: The key-value pair.
|
|
751
|
+
* > You can mount all keys by passing the `sae-sys-configmap-all` parameter.
|
|
742
752
|
* - **mountPath**: The mount path.
|
|
743
|
-
*
|
|
744
|
-
* - **ConfigMapName**: The name of the ConfigMap.
|
|
753
|
+
* - **ConfigMapName**: The ConfigMap name.
|
|
745
754
|
*/
|
|
746
755
|
configMapMountDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigConfigMapMountDesc[];
|
|
747
756
|
/**
|
|
748
757
|
* @remarks
|
|
749
|
-
* The maximum CPU resources that the sidecar container can use
|
|
758
|
+
* The maximum CPU resources of the primary container that the sidecar container can use.
|
|
750
759
|
*
|
|
751
760
|
* @example
|
|
752
761
|
* 500
|
|
@@ -754,28 +763,20 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
754
763
|
cpu?: number;
|
|
755
764
|
/**
|
|
756
765
|
* @remarks
|
|
757
|
-
* The shared temporary storage.
|
|
766
|
+
* The shared temporary storage. Sets a temporary storage directory and mounts it to the primary container and sidecar container.
|
|
758
767
|
*/
|
|
759
768
|
emptyDirDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmptyDirDesc[];
|
|
760
769
|
/**
|
|
761
770
|
* @remarks
|
|
762
|
-
* The environment
|
|
763
|
-
*
|
|
771
|
+
* The container environment variable parameters. Custom values or references to configuration items are supported. 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:
|
|
764
772
|
* - Custom configuration
|
|
765
|
-
*
|
|
766
|
-
*
|
|
767
|
-
*
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
* - **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>`, for example, `sae-sys-configmap-all-test1`.
|
|
773
|
-
*
|
|
774
|
-
* - **valueFrom**: The reference of the environment variable. Set the value to `configMapRef`.
|
|
775
|
-
*
|
|
776
|
-
* - **configMapId**: The ID of the ConfigMap.
|
|
777
|
-
*
|
|
778
|
-
* - **key**: The key. If you want to reference all keys, do not specify this parameter.
|
|
773
|
+
* - **name**: The environment variable name.
|
|
774
|
+
* - **value**: The environment variable value. This value takes precedence over valueFrom.
|
|
775
|
+
* - Reference to a configuration item (valueFrom)
|
|
776
|
+
* - **name**: The environment variable name. 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`.
|
|
777
|
+
* - **valueFrom**: The environment variable reference. Set the value to `configMapRef`.
|
|
778
|
+
* - **configMapId**: The ConfigMap ID.
|
|
779
|
+
* - **key**: The key. If all keys are referenced, do not set this field.
|
|
779
780
|
*
|
|
780
781
|
* @example
|
|
781
782
|
* [{\\"name\\":\\"k1\\",\\"value\\":\\"c8e3a815-e5d3-4adf-abb3-98b106a607c4\\"}]
|
|
@@ -791,12 +792,12 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
791
792
|
imageUrl?: string;
|
|
792
793
|
/**
|
|
793
794
|
* @remarks
|
|
794
|
-
* The health check
|
|
795
|
+
* The container health check.
|
|
795
796
|
*/
|
|
796
797
|
liveness?: string;
|
|
797
798
|
/**
|
|
798
799
|
* @remarks
|
|
799
|
-
* The maximum memory resources that the sidecar container can use
|
|
800
|
+
* The maximum memory resources of the primary container that the sidecar container can use.
|
|
800
801
|
*
|
|
801
802
|
* @example
|
|
802
803
|
* 1024
|
|
@@ -810,16 +811,24 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig ex
|
|
|
810
811
|
* test
|
|
811
812
|
*/
|
|
812
813
|
name?: string;
|
|
814
|
+
/**
|
|
815
|
+
* @remarks
|
|
816
|
+
* The script that is run after the container starts.
|
|
817
|
+
*/
|
|
813
818
|
postStart?: string;
|
|
819
|
+
/**
|
|
820
|
+
* @remarks
|
|
821
|
+
* The script that is run before the container stops.
|
|
822
|
+
*/
|
|
814
823
|
preStop?: string;
|
|
815
824
|
/**
|
|
816
825
|
* @remarks
|
|
817
|
-
* The
|
|
826
|
+
* The application startup status check.
|
|
818
827
|
*/
|
|
819
828
|
readiness?: string;
|
|
820
829
|
/**
|
|
821
830
|
* @remarks
|
|
822
|
-
* The
|
|
831
|
+
* The Secret mount description.
|
|
823
832
|
*/
|
|
824
833
|
secretMountDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigSecretMountDesc[];
|
|
825
834
|
static names(): { [key: string]: string } {
|
|
@@ -923,7 +932,7 @@ export class DescribeApplicationConfigResponseBodyDataTags extends $dara.Model {
|
|
|
923
932
|
export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
924
933
|
/**
|
|
925
934
|
* @remarks
|
|
926
|
-
* The
|
|
935
|
+
* The ARN of the RAM role required for pulling images across accounts. For more information, see [Pull Alibaba Cloud images across accounts](https://help.aliyun.com/document_detail/190675.html) and [Grant cross-account permissions by using RAM roles](https://help.aliyun.com/document_detail/223585.html).
|
|
927
936
|
*
|
|
928
937
|
* @example
|
|
929
938
|
* acs:ram::123456789012****:role/adminrole
|
|
@@ -931,7 +940,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
931
940
|
acrAssumeRoleArn?: string;
|
|
932
941
|
/**
|
|
933
942
|
* @remarks
|
|
934
|
-
* The
|
|
943
|
+
* The ACR Enterprise instance ID.
|
|
935
944
|
*
|
|
936
945
|
* @example
|
|
937
946
|
* cri-xxxxxx
|
|
@@ -944,7 +953,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
944
953
|
agentVersion?: string;
|
|
945
954
|
/**
|
|
946
955
|
* @remarks
|
|
947
|
-
* The
|
|
956
|
+
* The ALB gateway ReadinessGate configuration.
|
|
948
957
|
*/
|
|
949
958
|
albIngressReadinessGate?: string;
|
|
950
959
|
/**
|
|
@@ -973,7 +982,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
973
982
|
appName?: string;
|
|
974
983
|
/**
|
|
975
984
|
* @remarks
|
|
976
|
-
* The
|
|
985
|
+
* The SAE application type.
|
|
977
986
|
*
|
|
978
987
|
* - micro_service
|
|
979
988
|
*
|
|
@@ -987,11 +996,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
987
996
|
appSource?: string;
|
|
988
997
|
/**
|
|
989
998
|
* @remarks
|
|
990
|
-
* Specifies whether to
|
|
991
|
-
*
|
|
992
|
-
* - **true**: Bind an EIP.
|
|
999
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
993
1000
|
*
|
|
994
|
-
* - **
|
|
1001
|
+
* - **true**: Associated.
|
|
1002
|
+
* - **false**: Not associated.
|
|
995
1003
|
*
|
|
996
1004
|
* @example
|
|
997
1005
|
* true
|
|
@@ -1007,7 +1015,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1007
1015
|
baseAppId?: string;
|
|
1008
1016
|
/**
|
|
1009
1017
|
* @remarks
|
|
1010
|
-
* The
|
|
1018
|
+
* The wait time between batches during a phased release, in seconds.
|
|
1011
1019
|
*
|
|
1012
1020
|
* @example
|
|
1013
1021
|
* 10
|
|
@@ -1023,12 +1031,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1023
1031
|
clusterId?: string;
|
|
1024
1032
|
/**
|
|
1025
1033
|
* @remarks
|
|
1026
|
-
* The
|
|
1034
|
+
* The CloudMonitor service ID.
|
|
1027
1035
|
*/
|
|
1028
1036
|
cmsServiceId?: string;
|
|
1029
1037
|
/**
|
|
1030
1038
|
* @remarks
|
|
1031
|
-
* The startup command
|
|
1039
|
+
* The image startup command. This command must be an executable object that exists in the container. Example:
|
|
1032
1040
|
*
|
|
1033
1041
|
* ```
|
|
1034
1042
|
* command:
|
|
@@ -1037,7 +1045,6 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1037
1045
|
* - >
|
|
1038
1046
|
* - file0
|
|
1039
1047
|
* ```
|
|
1040
|
-
*
|
|
1041
1048
|
* Based on the preceding example, `Command="echo", CommandArgs=["abc", ">", "file0"]`.
|
|
1042
1049
|
*
|
|
1043
1050
|
* @example
|
|
@@ -1046,11 +1053,11 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1046
1053
|
command?: string;
|
|
1047
1054
|
/**
|
|
1048
1055
|
* @remarks
|
|
1049
|
-
* The arguments
|
|
1056
|
+
* The arguments for the image startup command. These are the arguments required by the startup command **Command**. Format:
|
|
1050
1057
|
*
|
|
1051
1058
|
* `["a","b"]`
|
|
1052
1059
|
*
|
|
1053
|
-
* In the example
|
|
1060
|
+
* In the example for the **Command** parameter, `CommandArgs=["abc", ">", "file0"]`, where `["abc", ">", "file0"]` must be converted to the String type and the internal format is a JSON array. If this parameter is not required, leave it empty.
|
|
1054
1061
|
*
|
|
1055
1062
|
* @example
|
|
1056
1063
|
* ["a","b"]
|
|
@@ -1058,25 +1065,19 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1058
1065
|
commandArgs?: string;
|
|
1059
1066
|
/**
|
|
1060
1067
|
* @remarks
|
|
1061
|
-
* The
|
|
1068
|
+
* The ConfigMap information.
|
|
1062
1069
|
*/
|
|
1063
1070
|
configMapMountDesc?: DescribeApplicationConfigResponseBodyDataConfigMapMountDesc[];
|
|
1064
1071
|
/**
|
|
1065
1072
|
* @remarks
|
|
1066
|
-
* The CPU required by each instance
|
|
1073
|
+
* The CPU required by each instance, in millicores. This value cannot be 0. Only the following defined specifications are supported:
|
|
1067
1074
|
*
|
|
1068
1075
|
* - **500**
|
|
1069
|
-
*
|
|
1070
1076
|
* - **1000**
|
|
1071
|
-
*
|
|
1072
1077
|
* - **2000**
|
|
1073
|
-
*
|
|
1074
1078
|
* - **4000**
|
|
1075
|
-
*
|
|
1076
1079
|
* - **8000**
|
|
1077
|
-
*
|
|
1078
1080
|
* - **16000**
|
|
1079
|
-
*
|
|
1080
1081
|
* - **32000**
|
|
1081
1082
|
*
|
|
1082
1083
|
* @example
|
|
@@ -1085,10 +1086,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1085
1086
|
cpu?: number;
|
|
1086
1087
|
/**
|
|
1087
1088
|
* @remarks
|
|
1088
|
-
* The custom mapping
|
|
1089
|
+
* The custom host mapping in the container. Valid values:
|
|
1089
1090
|
*
|
|
1090
1091
|
* - **hostName**: The domain name or hostname.
|
|
1091
|
-
*
|
|
1092
1092
|
* - **ip**: The IP address.
|
|
1093
1093
|
*
|
|
1094
1094
|
* @example
|
|
@@ -1097,11 +1097,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1097
1097
|
customHostAlias?: string;
|
|
1098
1098
|
/**
|
|
1099
1099
|
* @remarks
|
|
1100
|
-
* The type of the custom image. If
|
|
1100
|
+
* The type of the custom image. If the image is not a custom image, set this parameter to an empty string. Valid values:
|
|
1101
1101
|
*
|
|
1102
|
-
* - internet:
|
|
1103
|
-
*
|
|
1104
|
-
* - intranet: a private image
|
|
1102
|
+
* - internet: public image
|
|
1103
|
+
* - intranet: internal image
|
|
1105
1104
|
*
|
|
1106
1105
|
* @example
|
|
1107
1106
|
* internet
|
|
@@ -1117,7 +1116,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1117
1116
|
deploymentName?: string;
|
|
1118
1117
|
/**
|
|
1119
1118
|
* @remarks
|
|
1120
|
-
* The disk storage size
|
|
1119
|
+
* The disk storage size, in GB.
|
|
1121
1120
|
*
|
|
1122
1121
|
* @example
|
|
1123
1122
|
* 20
|
|
@@ -1125,16 +1124,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1125
1124
|
diskSize?: number;
|
|
1126
1125
|
/**
|
|
1127
1126
|
* @remarks
|
|
1128
|
-
* The
|
|
1127
|
+
* The .NET framework version:
|
|
1129
1128
|
*
|
|
1130
1129
|
* - .NET 3.1
|
|
1131
|
-
*
|
|
1132
1130
|
* - .NET 5.0
|
|
1133
|
-
*
|
|
1134
1131
|
* - .NET 6.0
|
|
1135
|
-
*
|
|
1136
1132
|
* - .NET 7.0
|
|
1137
|
-
*
|
|
1138
1133
|
* - .NET 8.0
|
|
1139
1134
|
*
|
|
1140
1135
|
* @example
|
|
@@ -1143,7 +1138,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1143
1138
|
dotnet?: string;
|
|
1144
1139
|
/**
|
|
1145
1140
|
* @remarks
|
|
1146
|
-
* The version of the application runtime environment in the
|
|
1141
|
+
* The version of the application runtime environment in the HSF framework, such as the Ali-Tomcat container.
|
|
1147
1142
|
*
|
|
1148
1143
|
* @example
|
|
1149
1144
|
* 3.5.3
|
|
@@ -1156,11 +1151,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1156
1151
|
emptyDirDesc?: DescribeApplicationConfigResponseBodyDataEmptyDirDesc[];
|
|
1157
1152
|
/**
|
|
1158
1153
|
* @remarks
|
|
1159
|
-
* Specifies whether to
|
|
1154
|
+
* Specifies whether to connect to Application High Availability Service (AHAS). Valid values:
|
|
1160
1155
|
*
|
|
1161
|
-
* - **true**:
|
|
1162
|
-
*
|
|
1163
|
-
* - **false**: Disable AHAS.
|
|
1156
|
+
* - **true**: Connected to AHAS.
|
|
1157
|
+
* - **false**: Not connected to AHAS.
|
|
1164
1158
|
*
|
|
1165
1159
|
* @example
|
|
1166
1160
|
* true
|
|
@@ -1168,11 +1162,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1168
1162
|
enableAhas?: string;
|
|
1169
1163
|
/**
|
|
1170
1164
|
* @remarks
|
|
1171
|
-
* Specifies whether to enable the CPU
|
|
1172
|
-
*
|
|
1173
|
-
* - true: Enable
|
|
1165
|
+
* Specifies whether to enable the CPU Burst feature. Valid values:
|
|
1174
1166
|
*
|
|
1175
|
-
* -
|
|
1167
|
+
* - true: Enabled.
|
|
1168
|
+
* - false: Not enabled.
|
|
1176
1169
|
*
|
|
1177
1170
|
* @example
|
|
1178
1171
|
* true
|
|
@@ -1180,11 +1173,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1180
1173
|
enableCpuBurst?: string;
|
|
1181
1174
|
/**
|
|
1182
1175
|
* @remarks
|
|
1183
|
-
* Specifies whether to enable the canary release rule. This rule
|
|
1176
|
+
* Specifies whether to enable the traffic canary release rule. This rule applies only to applications that use the Spring Cloud and Dubbo frameworks. Valid values:
|
|
1184
1177
|
*
|
|
1185
|
-
* - **true**:
|
|
1186
|
-
*
|
|
1187
|
-
* - **false**: Disable the canary release rule.
|
|
1178
|
+
* - **true**: Enabled.
|
|
1179
|
+
* - **false**: Disabled.
|
|
1188
1180
|
*
|
|
1189
1181
|
* @example
|
|
1190
1182
|
* false
|
|
@@ -1192,11 +1184,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1192
1184
|
enableGreyTagRoute?: boolean;
|
|
1193
1185
|
/**
|
|
1194
1186
|
* @remarks
|
|
1195
|
-
* Specifies whether to enable
|
|
1196
|
-
*
|
|
1197
|
-
* - true: Enable
|
|
1187
|
+
* Specifies whether to enable idle mode. Valid values:
|
|
1198
1188
|
*
|
|
1199
|
-
* -
|
|
1189
|
+
* - true: Enabled.
|
|
1190
|
+
* - false: Disabled.
|
|
1200
1191
|
*
|
|
1201
1192
|
* @example
|
|
1202
1193
|
* false
|
|
@@ -1204,16 +1195,15 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1204
1195
|
enableIdle?: boolean;
|
|
1205
1196
|
/**
|
|
1206
1197
|
* @remarks
|
|
1207
|
-
*
|
|
1198
|
+
* Indicates whether the namespace agent version configuration is reused.
|
|
1208
1199
|
*/
|
|
1209
1200
|
enableNamespaceAgentVersion?: boolean;
|
|
1210
1201
|
/**
|
|
1211
1202
|
* @remarks
|
|
1212
|
-
* Specifies whether to enable the new ARMS feature:
|
|
1213
|
-
*
|
|
1214
|
-
* - true: Enable
|
|
1203
|
+
* Specifies whether to enable the new ARMS feature. Valid values:
|
|
1215
1204
|
*
|
|
1216
|
-
* -
|
|
1205
|
+
* - true: Enabled.
|
|
1206
|
+
* - false: Not enabled.
|
|
1217
1207
|
*
|
|
1218
1208
|
* @example
|
|
1219
1209
|
* false
|
|
@@ -1221,28 +1211,20 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1221
1211
|
enableNewArms?: boolean;
|
|
1222
1212
|
/**
|
|
1223
1213
|
* @remarks
|
|
1224
|
-
*
|
|
1214
|
+
* Indicates whether Prometheus custom metric collection is enabled.
|
|
1225
1215
|
*/
|
|
1226
1216
|
enablePrometheus?: boolean;
|
|
1227
1217
|
/**
|
|
1228
1218
|
* @remarks
|
|
1229
|
-
* The environment
|
|
1230
|
-
*
|
|
1219
|
+
* The container environment variable parameters. Custom values or references to configuration items are supported. 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:
|
|
1231
1220
|
* - Custom configuration
|
|
1232
|
-
*
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1235
|
-
*
|
|
1236
|
-
*
|
|
1237
|
-
*
|
|
1238
|
-
*
|
|
1239
|
-
* - **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>`, for example, `sae-sys-configmap-all-test1`.
|
|
1240
|
-
*
|
|
1241
|
-
* - **valueFrom**: The reference of the environment variable. Set the value to `configMapRef`.
|
|
1242
|
-
*
|
|
1243
|
-
* - **configMapId**: The ID of the ConfigMap.
|
|
1244
|
-
*
|
|
1245
|
-
* - **key**: The key. If you want to reference all keys, do not specify this parameter.
|
|
1221
|
+
* - **name**: The environment variable name.
|
|
1222
|
+
* - **value**: The environment variable value.
|
|
1223
|
+
* - Reference to a configuration item
|
|
1224
|
+
* - **name**: The environment variable name. 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`.
|
|
1225
|
+
* - **valueFrom**: The environment variable reference. Set the value to `configMapRef`.
|
|
1226
|
+
* - **configMapId**: The ConfigMap ID.
|
|
1227
|
+
* - **key**: The key. If all keys are referenced, do not set this field.
|
|
1246
1228
|
*
|
|
1247
1229
|
* @example
|
|
1248
1230
|
* [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
|
|
@@ -1255,7 +1237,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1255
1237
|
gpuCount?: string;
|
|
1256
1238
|
/**
|
|
1257
1239
|
* @remarks
|
|
1258
|
-
* The GPU
|
|
1240
|
+
* The GPU type.
|
|
1259
1241
|
*/
|
|
1260
1242
|
gpuType?: string;
|
|
1261
1243
|
headlessPvtzDiscovery?: string;
|
|
@@ -1263,7 +1245,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1263
1245
|
idleHour?: string;
|
|
1264
1246
|
/**
|
|
1265
1247
|
* @remarks
|
|
1266
|
-
* The
|
|
1248
|
+
* The corresponding secret ID.
|
|
1267
1249
|
*
|
|
1268
1250
|
* @example
|
|
1269
1251
|
* 10
|
|
@@ -1271,7 +1253,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1271
1253
|
imagePullSecrets?: string;
|
|
1272
1254
|
/**
|
|
1273
1255
|
* @remarks
|
|
1274
|
-
* The URL
|
|
1256
|
+
* The image URL. This parameter is required when **Package Type** is set to **Image**.
|
|
1275
1257
|
*
|
|
1276
1258
|
* @example
|
|
1277
1259
|
* docker.io/library/nginx:1.14.2
|
|
@@ -1279,17 +1261,17 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1279
1261
|
imageUrl?: string;
|
|
1280
1262
|
/**
|
|
1281
1263
|
* @remarks
|
|
1282
|
-
* The
|
|
1264
|
+
* The init container configuration.
|
|
1283
1265
|
*/
|
|
1284
1266
|
initContainersConfig?: DescribeApplicationConfigResponseBodyDataInitContainersConfig[];
|
|
1285
1267
|
/**
|
|
1286
1268
|
* @remarks
|
|
1287
|
-
*
|
|
1269
|
+
* Indicates whether the application is stateful.
|
|
1288
1270
|
*/
|
|
1289
1271
|
isStateful?: boolean;
|
|
1290
1272
|
/**
|
|
1291
1273
|
* @remarks
|
|
1292
|
-
* The arguments for starting the JAR package. The default startup command
|
|
1274
|
+
* 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`
|
|
1293
1275
|
*
|
|
1294
1276
|
* @example
|
|
1295
1277
|
* start
|
|
@@ -1297,7 +1279,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1297
1279
|
jarStartArgs?: string;
|
|
1298
1280
|
/**
|
|
1299
1281
|
* @remarks
|
|
1300
|
-
* The options for starting the JAR package. The default startup command
|
|
1282
|
+
* 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`
|
|
1301
1283
|
*
|
|
1302
1284
|
* @example
|
|
1303
1285
|
* -Dtest=true
|
|
@@ -1305,18 +1287,13 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1305
1287
|
jarStartOptions?: string;
|
|
1306
1288
|
/**
|
|
1307
1289
|
* @remarks
|
|
1308
|
-
* The version
|
|
1290
|
+
* The JDK version on which the deployment package depends. Valid values:
|
|
1309
1291
|
*
|
|
1310
1292
|
* - **Open JDK 8**
|
|
1311
|
-
*
|
|
1312
1293
|
* - **Open JDK 7**
|
|
1313
|
-
*
|
|
1314
1294
|
* - **Dragonwell 11**
|
|
1315
|
-
*
|
|
1316
1295
|
* - **Dragonwell 8**
|
|
1317
|
-
*
|
|
1318
1296
|
* - **openjdk-8u191-jdk-alpine3.9**
|
|
1319
|
-
*
|
|
1320
1297
|
* - **openjdk-7u201-jdk-alpine3.9**
|
|
1321
1298
|
*
|
|
1322
1299
|
* This parameter is not supported when **Package Type** is set to **Image**.
|
|
@@ -1327,13 +1304,11 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1327
1304
|
jdk?: string;
|
|
1328
1305
|
/**
|
|
1329
1306
|
* @remarks
|
|
1330
|
-
* The
|
|
1307
|
+
* The summary of log collection configurations for Kafka. Valid values:
|
|
1331
1308
|
*
|
|
1332
1309
|
* - **kafkaEndpoint**: The endpoint of the Kafka API.
|
|
1333
|
-
*
|
|
1334
|
-
* - **
|
|
1335
|
-
*
|
|
1336
|
-
* - **kafkaConfigs**: The configurations of one or more logs. For more information about the example and parameters, see the **kafkaConfigs** request parameter in this topic.
|
|
1310
|
+
* - **kafkaInstanceId**: The Kafka instance ID.
|
|
1311
|
+
* - **kafkaConfigs**: The configuration summary for one or more log entries. For example values and parameter descriptions, see the **kafkaConfigs** request parameter in this topic.
|
|
1337
1312
|
*
|
|
1338
1313
|
* @example
|
|
1339
1314
|
* {"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"}]}
|
|
@@ -1346,35 +1321,25 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1346
1321
|
labels?: { [key: string]: string };
|
|
1347
1322
|
/**
|
|
1348
1323
|
* @remarks
|
|
1349
|
-
* The
|
|
1350
|
-
*
|
|
1351
|
-
* - **exec**: example: `{"exec":{"command":["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}`
|
|
1324
|
+
* The container health check settings. Containers that fail the health check are shut down and recovered. The following methods are supported:
|
|
1352
1325
|
*
|
|
1353
|
-
* - **
|
|
1326
|
+
* - **exec**: For example, `{"exec":{"command":["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}`
|
|
1327
|
+
* - **httpGet**: For example, `{"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
|
|
1328
|
+
* - **tcpSocket**: For example, `{"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
|
|
1354
1329
|
*
|
|
1355
|
-
*
|
|
1330
|
+
* > You can select only one method for health checks.
|
|
1356
1331
|
*
|
|
1357
|
-
*
|
|
1358
|
-
*
|
|
1359
|
-
* The parameters are described as follows:
|
|
1360
|
-
*
|
|
1361
|
-
* - **exec.command**: The command that is used for the health check.
|
|
1362
|
-
*
|
|
1363
|
-
* - **httpGet.path**: The request path.
|
|
1332
|
+
* Parameter descriptions:
|
|
1364
1333
|
*
|
|
1334
|
+
* - **exec.command**: The health check command.
|
|
1335
|
+
* - **httpGet.path**: The access path.
|
|
1365
1336
|
* - **httpGet.scheme**: **HTTP** or **HTTPS**.
|
|
1366
|
-
*
|
|
1367
|
-
* - **httpGet.
|
|
1368
|
-
*
|
|
1369
|
-
* - **
|
|
1370
|
-
*
|
|
1371
|
-
* - **
|
|
1372
|
-
*
|
|
1373
|
-
* - **initialDelaySeconds**: The delay for the health check. Default value: 10. Unit: seconds.
|
|
1374
|
-
*
|
|
1375
|
-
* - **periodSeconds**: The interval for the health check. Default value: 30. Unit: seconds.
|
|
1376
|
-
*
|
|
1377
|
-
* - **timeoutSeconds**: The timeout period for the health check. Default value: 1. Unit: seconds. If you set this parameter to 0 or do not specify this parameter, the default value is used.
|
|
1337
|
+
* - **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.
|
|
1338
|
+
* - **httpGet.keyWord**: The custom keyword. The **isContainKeyWord** field must be present when this parameter is used.
|
|
1339
|
+
* - **tcpSocket.port**: The port for TCP connection detection.
|
|
1340
|
+
* - **initialDelaySeconds**: The initial delay for the health check. Default value: 10. Unit: seconds.
|
|
1341
|
+
* - **periodSeconds**: The health check period. Default value: 30. Unit: seconds.
|
|
1342
|
+
* - **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.
|
|
1378
1343
|
*
|
|
1379
1344
|
* @example
|
|
1380
1345
|
* {"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":3}
|
|
@@ -1382,42 +1347,32 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1382
1347
|
liveness?: string;
|
|
1383
1348
|
/**
|
|
1384
1349
|
* @remarks
|
|
1385
|
-
*
|
|
1350
|
+
* LokiConfigs
|
|
1386
1351
|
*/
|
|
1387
1352
|
lokiConfigs?: string;
|
|
1388
1353
|
/**
|
|
1389
1354
|
* @remarks
|
|
1390
|
-
* The
|
|
1355
|
+
* The Peak Volume instance ratio.
|
|
1391
1356
|
*/
|
|
1392
1357
|
maxSurgeInstanceRatio?: number;
|
|
1393
1358
|
/**
|
|
1394
1359
|
* @remarks
|
|
1395
|
-
* The
|
|
1360
|
+
* The Peak Volume of instances.
|
|
1396
1361
|
*/
|
|
1397
1362
|
maxSurgeInstances?: number;
|
|
1398
1363
|
/**
|
|
1399
1364
|
* @remarks
|
|
1400
|
-
* The memory required by each instance
|
|
1401
|
-
*
|
|
1402
|
-
* - **
|
|
1403
|
-
*
|
|
1404
|
-
* - **
|
|
1405
|
-
*
|
|
1406
|
-
* - **
|
|
1407
|
-
*
|
|
1408
|
-
* - **
|
|
1409
|
-
*
|
|
1410
|
-
* - **
|
|
1411
|
-
*
|
|
1412
|
-
* - **16384**: corresponds to 4,000, 8,000, and 16,000 millicores.
|
|
1413
|
-
*
|
|
1414
|
-
* - **24576**: corresponds to 12,000 millicores.
|
|
1415
|
-
*
|
|
1416
|
-
* - **32768**: corresponds to 16,000 millicores.
|
|
1417
|
-
*
|
|
1418
|
-
* - **65536**: corresponds to 8,000, 16,000, and 32,000 millicores.
|
|
1419
|
-
*
|
|
1420
|
-
* - **131072**: corresponds to 32,000 millicores.
|
|
1365
|
+
* The memory size required by each instance, in MB. This value cannot be 0. The memory size has a one-to-one mapping with CPU. Only the following defined specifications are supported:
|
|
1366
|
+
* - **1024**: Corresponds to 500 millicores and 1000 millicores of CPU.
|
|
1367
|
+
* - **2048**: Corresponds to 500, 1000, and 2000 millicores of CPU.
|
|
1368
|
+
* - **4096**: Corresponds to 1000, 2000, and 4000 millicores of CPU.
|
|
1369
|
+
* - **8192**: Corresponds to 2000, 4000, and 8000 millicores of CPU.
|
|
1370
|
+
* - **12288**: Corresponds to 12000 millicores of CPU.
|
|
1371
|
+
* - **16384**: Corresponds to 4000, 8000, and 16000 millicores of CPU.
|
|
1372
|
+
* - **24576**: Corresponds to 12000 millicores of CPU.
|
|
1373
|
+
* - **32768**: Corresponds to 16000 millicores of CPU.
|
|
1374
|
+
* - **65536**: Corresponds to 8000, 16000, and 32000 millicores of CPU.
|
|
1375
|
+
* - **131072**: Corresponds to 32000 millicores of CPU.
|
|
1421
1376
|
*
|
|
1422
1377
|
* @example
|
|
1423
1378
|
* 2048
|
|
@@ -1426,12 +1381,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1426
1381
|
/**
|
|
1427
1382
|
* @remarks
|
|
1428
1383
|
* The Nacos registry. Valid values:
|
|
1429
|
-
*
|
|
1430
1384
|
* - **0**: SAE built-in Nacos.
|
|
1431
|
-
*
|
|
1432
|
-
* - **
|
|
1433
|
-
*
|
|
1434
|
-
* - **2**: MSE Nacos.
|
|
1385
|
+
* - **1**: Self-managed Nacos.
|
|
1386
|
+
* - **2**: MSE commercial edition Nacos.
|
|
1435
1387
|
*
|
|
1436
1388
|
* @example
|
|
1437
1389
|
* "0"
|
|
@@ -1439,7 +1391,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1439
1391
|
microRegistration?: string;
|
|
1440
1392
|
/**
|
|
1441
1393
|
* @remarks
|
|
1442
|
-
* The configuration
|
|
1394
|
+
* The registry configuration. This parameter takes effect only when the registry type is MSE Nacos Enterprise Edition.
|
|
1443
1395
|
*
|
|
1444
1396
|
* @example
|
|
1445
1397
|
* {\\"instanceId\\":\\"mse-cn-1ls43******\\",\\"namespace\\":\\"62ee12fb-c279-4da4-be96-21**********\\"}
|
|
@@ -1447,23 +1399,23 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1447
1399
|
microRegistrationConfig?: string;
|
|
1448
1400
|
/**
|
|
1449
1401
|
* @remarks
|
|
1450
|
-
* The
|
|
1402
|
+
* The microservice governance configuration.
|
|
1451
1403
|
*
|
|
1452
1404
|
* - Specifies whether to enable microservice governance (enable):
|
|
1453
1405
|
*
|
|
1454
|
-
*
|
|
1406
|
+
* - true: enabled
|
|
1455
1407
|
*
|
|
1456
|
-
* - false:
|
|
1408
|
+
* - false: disabled
|
|
1457
1409
|
*
|
|
1458
|
-
* -
|
|
1410
|
+
* - Lossless rolling update configuration (mseLosslessRule):
|
|
1459
1411
|
*
|
|
1460
|
-
* - delayTime:
|
|
1412
|
+
* - delayTime: the delay time.
|
|
1461
1413
|
*
|
|
1462
|
-
* - enable:
|
|
1414
|
+
* - enable: specifies whether to enable the lossless online feature. true indicates enabled. false indicates disabled.
|
|
1463
1415
|
*
|
|
1464
|
-
* - notice:
|
|
1416
|
+
* - notice: specifies whether to enable the notification feature. true indicates enabled. false indicates disabled.
|
|
1465
1417
|
*
|
|
1466
|
-
* - warmupTime:
|
|
1418
|
+
* - warmupTime: the warm-up duration for traffic ramping, in seconds.
|
|
1467
1419
|
*
|
|
1468
1420
|
* @example
|
|
1469
1421
|
* {\\"Enable\\":true,\\"MseLosslessRule\\":{\\"enable\\":true,\\"notice\\":true,\\"delayTime\\":10,\\"warmupTime\\":120,\\"funcType\\":2,\\"aligned\\":false,\\"related\\":false,\\"lossLessDetail\\":false}}
|
|
@@ -1471,13 +1423,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1471
1423
|
microserviceEngineConfig?: string;
|
|
1472
1424
|
/**
|
|
1473
1425
|
* @remarks
|
|
1474
|
-
* The
|
|
1475
|
-
*
|
|
1476
|
-
* - -1: The default value. This value indicates that the percentage is not used. If you do not specify this parameter, the system uses the default value **-1**.
|
|
1426
|
+
* The minimum percentage of available instances. Valid values:
|
|
1477
1427
|
*
|
|
1478
|
-
* -
|
|
1428
|
+
* - **-1**: The default value, which indicates that the percentage is not used. If this parameter is not specified, the system uses **-1** by default.
|
|
1429
|
+
* - **0~100**: The unit is percentage, rounded up. For example, if set to **50**%, and the current number of instances is 5, the minimum number of available instances is 3.
|
|
1479
1430
|
*
|
|
1480
|
-
* >
|
|
1431
|
+
* > When both **MinReadyInstance** and **MinReadyInstanceRatio** are specified and the value of **MinReadyInstanceRatio** is not **-1**, the **MinReadyInstanceRatio** parameter takes precedence. For example, if **MinReadyInstances** is set to **5** and **MinReadyInstanceRatio** is set to **50**, the system uses **MinReadyInstanceRatio** to calculate the minimum number of available instances.
|
|
1481
1432
|
*
|
|
1482
1433
|
* @example
|
|
1483
1434
|
* -1
|
|
@@ -1485,13 +1436,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1485
1436
|
minReadyInstanceRatio?: number;
|
|
1486
1437
|
/**
|
|
1487
1438
|
* @remarks
|
|
1488
|
-
* The minimum number of
|
|
1439
|
+
* The minimum number of available instances. Valid values:
|
|
1489
1440
|
*
|
|
1490
|
-
* - If
|
|
1441
|
+
* - If set to **0**, the application interrupts services during the upgrade process.
|
|
1442
|
+
* - If set to **-1**, the system-recommended value is used, which is 25% of the current number of instances. If the current number of instances is 5, 5 × 25% = 1.25, which is rounded up to 2.
|
|
1491
1443
|
*
|
|
1492
|
-
*
|
|
1493
|
-
*
|
|
1494
|
-
* > We recommend that you set the minimum number of ready instances to a value of 1 or greater to ensure that the application is not interrupted during a rolling update.
|
|
1444
|
+
* > Set the minimum number of available instances to ≥ 1 for each rolling deployment to avoid service interruptions.
|
|
1495
1445
|
*
|
|
1496
1446
|
* @example
|
|
1497
1447
|
* 1
|
|
@@ -1499,12 +1449,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1499
1449
|
minReadyInstances?: number;
|
|
1500
1450
|
/**
|
|
1501
1451
|
* @remarks
|
|
1502
|
-
* The mount description.
|
|
1452
|
+
* The mount description information.
|
|
1503
1453
|
*/
|
|
1504
1454
|
mountDesc?: DescribeApplicationConfigResponseBodyDataMountDesc[];
|
|
1505
1455
|
/**
|
|
1506
1456
|
* @remarks
|
|
1507
|
-
* The mount
|
|
1457
|
+
* The mount point of NAS within the application VPC. If the configuration has not changed 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 in the request (that is, set the value of the **MountHost** field to "").
|
|
1508
1458
|
*
|
|
1509
1459
|
* @example
|
|
1510
1460
|
* example.com
|
|
@@ -1512,7 +1462,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1512
1462
|
mountHost?: string;
|
|
1513
1463
|
/**
|
|
1514
1464
|
* @remarks
|
|
1515
|
-
* The ID
|
|
1465
|
+
* The application ID on the Microservices Engine (MSE) side.
|
|
1516
1466
|
*
|
|
1517
1467
|
* @example
|
|
1518
1468
|
* xxxxxxx@xxxxx
|
|
@@ -1520,7 +1470,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1520
1470
|
mseApplicationId?: string;
|
|
1521
1471
|
/**
|
|
1522
1472
|
* @remarks
|
|
1523
|
-
* The name
|
|
1473
|
+
* The application name after the SAE service is registered with MSE.
|
|
1524
1474
|
*
|
|
1525
1475
|
* @example
|
|
1526
1476
|
* cn-shenzhen-alb-demo-5c****
|
|
@@ -1536,7 +1486,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1536
1486
|
namespaceId?: string;
|
|
1537
1487
|
/**
|
|
1538
1488
|
* @remarks
|
|
1539
|
-
* The
|
|
1489
|
+
* The NAS mount configurations.
|
|
1540
1490
|
*
|
|
1541
1491
|
* @example
|
|
1542
1492
|
* [{"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"}]
|
|
@@ -1544,7 +1494,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1544
1494
|
nasConfigs?: string;
|
|
1545
1495
|
/**
|
|
1546
1496
|
* @remarks
|
|
1547
|
-
*
|
|
1497
|
+
* NAS ID。
|
|
1548
1498
|
*
|
|
1549
1499
|
* @example
|
|
1550
1500
|
* AKSN****
|
|
@@ -1552,12 +1502,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1552
1502
|
nasId?: string;
|
|
1553
1503
|
/**
|
|
1554
1504
|
* @remarks
|
|
1555
|
-
* The application version.
|
|
1556
|
-
*
|
|
1557
|
-
* - lite: Lightweight Edition
|
|
1505
|
+
* The application version. Valid values:
|
|
1558
1506
|
*
|
|
1507
|
+
* - lite: Lite Edition
|
|
1559
1508
|
* - std: Standard Edition
|
|
1560
|
-
*
|
|
1561
1509
|
* - pro: Professional Edition
|
|
1562
1510
|
*
|
|
1563
1511
|
* @example
|
|
@@ -1567,8 +1515,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1567
1515
|
/**
|
|
1568
1516
|
* @remarks
|
|
1569
1517
|
* The RAM role for identity authentication.
|
|
1570
|
-
*
|
|
1571
|
-
* > You must create an OpenID Connect (OIDC) identity provider (IdP) and a RAM role for the IdP in the same region beforehand. For more information, see [Create an OIDC IdP](https://help.aliyun.com/document_detail/2331022.html) and [Create a RAM role for a trusted IdP](https://help.aliyun.com/document_detail/2331016.html).
|
|
1518
|
+
* > Create an OIDC identity provider and an identity provider role in the same region in advance. For more information, see [Create an OIDC identity provider](https://help.aliyun.com/document_detail/2331022.html) and [Create a role for SSO identity provider](https://help.aliyun.com/document_detail/2331016.html).
|
|
1572
1519
|
*
|
|
1573
1520
|
* @example
|
|
1574
1521
|
* sae-test
|
|
@@ -1576,7 +1523,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1576
1523
|
oidcRoleName?: string;
|
|
1577
1524
|
/**
|
|
1578
1525
|
* @remarks
|
|
1579
|
-
* The AccessKey ID
|
|
1526
|
+
* The AccessKey ID for OSS read/write operations.
|
|
1580
1527
|
*
|
|
1581
1528
|
* @example
|
|
1582
1529
|
* xxxxxx
|
|
@@ -1584,7 +1531,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1584
1531
|
ossAkId?: string;
|
|
1585
1532
|
/**
|
|
1586
1533
|
* @remarks
|
|
1587
|
-
* The AccessKey
|
|
1534
|
+
* The AccessKey Secret for OSS read/write operations.
|
|
1588
1535
|
*
|
|
1589
1536
|
* @example
|
|
1590
1537
|
* xxxxxx
|
|
@@ -1592,46 +1539,30 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1592
1539
|
ossAkSecret?: string;
|
|
1593
1540
|
/**
|
|
1594
1541
|
* @remarks
|
|
1595
|
-
* The
|
|
1542
|
+
* The OSS mount description.
|
|
1596
1543
|
*/
|
|
1597
1544
|
ossMountDescs?: DescribeApplicationConfigResponseBodyDataOssMountDescs[];
|
|
1598
1545
|
/**
|
|
1599
1546
|
* @remarks
|
|
1600
|
-
* The
|
|
1601
|
-
*
|
|
1602
|
-
* - If you deploy the application using Java, valid values are **FatJar**, **War**, and **Image**.
|
|
1603
|
-
*
|
|
1604
|
-
* - If you deploy the application using PHP, the following values are supported:
|
|
1547
|
+
* The application package type. Valid values:
|
|
1605
1548
|
*
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1608
|
-
*
|
|
1609
|
-
*
|
|
1610
|
-
*
|
|
1611
|
-
*
|
|
1612
|
-
*
|
|
1613
|
-
*
|
|
1614
|
-
*
|
|
1615
|
-
*
|
|
1616
|
-
*
|
|
1617
|
-
*
|
|
1618
|
-
*
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1624
|
-
* - **IMAGE_PHP_7_1**
|
|
1625
|
-
*
|
|
1626
|
-
* - **IMAGE_PHP_7_1_ALPINE**
|
|
1627
|
-
*
|
|
1628
|
-
* - **IMAGE_PHP_7_2**
|
|
1629
|
-
*
|
|
1630
|
-
* - **IMAGE_PHP_7_2_ALPINE**
|
|
1631
|
-
*
|
|
1632
|
-
* - **IMAGE_PHP_7_3**
|
|
1633
|
-
*
|
|
1634
|
-
* - **IMAGE_PHP_7_3_ALPINE**
|
|
1549
|
+
* - When you deploy with Java, **FatJar**, **War**, and **Image** are supported.
|
|
1550
|
+
* - When you deploy with PHP, the following types are supported:
|
|
1551
|
+
* - **PhpZip**
|
|
1552
|
+
* - **IMAGE_PHP_5_4**
|
|
1553
|
+
* - **IMAGE_PHP_5_4_ALPINE**
|
|
1554
|
+
* - **IMAGE_PHP_5_5**
|
|
1555
|
+
* - **IMAGE_PHP_5_5_ALPINE**
|
|
1556
|
+
* - **IMAGE_PHP_5_6**
|
|
1557
|
+
* - **IMAGE_PHP_5_6_ALPINE**
|
|
1558
|
+
* - **IMAGE_PHP_7_0**
|
|
1559
|
+
* - **IMAGE_PHP_7_0_ALPINE**
|
|
1560
|
+
* - **IMAGE_PHP_7_1**
|
|
1561
|
+
* - **IMAGE_PHP_7_1_ALPINE**
|
|
1562
|
+
* - **IMAGE_PHP_7_2**
|
|
1563
|
+
* - **IMAGE_PHP_7_2_ALPINE**
|
|
1564
|
+
* - **IMAGE_PHP_7_3**
|
|
1565
|
+
* - **IMAGE_PHP_7_3_ALPINE**
|
|
1635
1566
|
*
|
|
1636
1567
|
* @example
|
|
1637
1568
|
* War
|
|
@@ -1639,11 +1570,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1639
1570
|
packageType?: string;
|
|
1640
1571
|
/**
|
|
1641
1572
|
* @remarks
|
|
1642
|
-
* The
|
|
1643
|
-
*
|
|
1644
|
-
* - You cannot download the package from this URL. Call the \\`GetPackageVersionAccessableUrl\\` operation to obtain a download URL that is valid for 10 minutes.
|
|
1573
|
+
* The deployment package URL. If your deployment package is uploaded through SAE, note the following:
|
|
1645
1574
|
*
|
|
1646
|
-
* -
|
|
1575
|
+
* - This URL cannot be used for direct download. Use the GetPackageVersionAccessableUrl operation to obtain a downloadable URL (valid for 10 minutes).
|
|
1576
|
+
* - SAE retains the package for a maximum of 90 days. After 90 days, the URL is no longer returned and the package is no longer available for download.
|
|
1647
1577
|
*/
|
|
1648
1578
|
packageUrl?: string;
|
|
1649
1579
|
/**
|
|
@@ -1656,7 +1586,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1656
1586
|
packageVersion?: string;
|
|
1657
1587
|
/**
|
|
1658
1588
|
* @remarks
|
|
1659
|
-
* The PHP version
|
|
1589
|
+
* The PHP version on which the PHP deployment package depends. Images are not supported.
|
|
1660
1590
|
*
|
|
1661
1591
|
* @example
|
|
1662
1592
|
* PHP-FPM 7.0
|
|
@@ -1664,9 +1594,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1664
1594
|
php?: string;
|
|
1665
1595
|
/**
|
|
1666
1596
|
* @remarks
|
|
1667
|
-
* The mount path
|
|
1597
|
+
* The mount path for PHP application monitoring. Make sure that the PHP server loads the configuration file from this path.
|
|
1668
1598
|
*
|
|
1669
|
-
*
|
|
1599
|
+
* You do not need to manage the configuration content. SAE automatically renders the correct configuration file.
|
|
1670
1600
|
*
|
|
1671
1601
|
* @example
|
|
1672
1602
|
* /usr/local/etc/php/conf.d/arms.ini
|
|
@@ -1682,7 +1612,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1682
1612
|
phpConfig?: string;
|
|
1683
1613
|
/**
|
|
1684
1614
|
* @remarks
|
|
1685
|
-
* The mount path of the PHP application startup configuration
|
|
1615
|
+
* The mount path of the PHP application startup configuration. Make sure that the PHP server uses this configuration file for startup.
|
|
1686
1616
|
*
|
|
1687
1617
|
* @example
|
|
1688
1618
|
* /usr/local/etc/php/php.ini
|
|
@@ -1690,7 +1620,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1690
1620
|
phpConfigLocation?: string;
|
|
1691
1621
|
/**
|
|
1692
1622
|
* @remarks
|
|
1693
|
-
* The script that
|
|
1623
|
+
* The script that is run after the container starts. A script is triggered immediately after the container is created. Format: `{"exec":{"command":["cat","/etc/group"\\]}}`
|
|
1694
1624
|
*
|
|
1695
1625
|
* @example
|
|
1696
1626
|
* {"exec":{"command":["cat","/etc/group"]}}
|
|
@@ -1698,7 +1628,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1698
1628
|
postStart?: string;
|
|
1699
1629
|
/**
|
|
1700
1630
|
* @remarks
|
|
1701
|
-
* The script that
|
|
1631
|
+
* The script that is run before the container stops. A script is triggered before the container is deleted. Format: `{"exec":{"command":["cat","/etc/group"\\]}}`
|
|
1702
1632
|
*
|
|
1703
1633
|
* @example
|
|
1704
1634
|
* {"exec":{"command":["cat","/etc/group"]}}
|
|
@@ -1706,13 +1636,11 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1706
1636
|
preStop?: string;
|
|
1707
1637
|
/**
|
|
1708
1638
|
* @remarks
|
|
1709
|
-
* The programming language of the application. Valid values:
|
|
1639
|
+
* The programming language of the technology stack used to create the application. Valid values:
|
|
1710
1640
|
*
|
|
1711
|
-
* - **java**: Java
|
|
1712
|
-
*
|
|
1713
|
-
* - **
|
|
1714
|
-
*
|
|
1715
|
-
* - **other**: other languages, such as Python, C++, Go, .NET, and Node.js.
|
|
1641
|
+
* - **java**: Java.
|
|
1642
|
+
* - **php**: PHP.
|
|
1643
|
+
* - **other**: Other languages, such as Python, C++, Go, .NET, and Node.js.
|
|
1716
1644
|
*
|
|
1717
1645
|
* @example
|
|
1718
1646
|
* java
|
|
@@ -1720,7 +1648,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1720
1648
|
programmingLanguage?: string;
|
|
1721
1649
|
/**
|
|
1722
1650
|
* @remarks
|
|
1723
|
-
* Enables service registration and discovery
|
|
1651
|
+
* Enables K8s Service-based service registration and discovery.
|
|
1724
1652
|
*
|
|
1725
1653
|
* @example
|
|
1726
1654
|
* { "serviceName": "bwm-poc-sc-gateway-cn-beijing-front", "namespaceId": "cn-beijing:front", "portAndProtocol": { "18012": "TCP" }, "portProtocols": [ { "port": "18012", "protocol": "TCP" } ], "enable": true }
|
|
@@ -1736,17 +1664,18 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1736
1664
|
python?: string;
|
|
1737
1665
|
/**
|
|
1738
1666
|
* @remarks
|
|
1739
|
-
* The
|
|
1667
|
+
* The custom installation module dependencies. By default, the dependencies defined in the requirements.txt file in the root directory are installed. If no dependencies are configured or custom packages are needed, you can specify the dependencies to install.
|
|
1740
1668
|
*
|
|
1741
1669
|
* @example
|
|
1742
1670
|
* Flask==2.0
|
|
1743
1671
|
*/
|
|
1744
1672
|
pythonModules?: string;
|
|
1673
|
+
raspConfig?: DescribeApplicationConfigResponseBodyDataRaspConfig[];
|
|
1745
1674
|
/**
|
|
1746
1675
|
* @remarks
|
|
1747
|
-
* The
|
|
1676
|
+
* 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.
|
|
1748
1677
|
*
|
|
1749
|
-
* > You can
|
|
1678
|
+
* > You can select only one method for health checks.
|
|
1750
1679
|
*
|
|
1751
1680
|
* @example
|
|
1752
1681
|
* {"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":5}
|
|
@@ -1778,12 +1707,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1778
1707
|
resourceType?: string;
|
|
1779
1708
|
/**
|
|
1780
1709
|
* @remarks
|
|
1781
|
-
* The
|
|
1710
|
+
* The Secret mount description.
|
|
1782
1711
|
*/
|
|
1783
1712
|
secretMountDesc?: DescribeApplicationConfigResponseBodyDataSecretMountDesc[];
|
|
1784
1713
|
/**
|
|
1785
1714
|
* @remarks
|
|
1786
|
-
* The
|
|
1715
|
+
* The security group ID.
|
|
1787
1716
|
*
|
|
1788
1717
|
* @example
|
|
1789
1718
|
* sg-wz969ngg2e49q5i4****
|
|
@@ -1791,35 +1720,30 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1791
1720
|
securityGroupId?: string;
|
|
1792
1721
|
/**
|
|
1793
1722
|
* @remarks
|
|
1794
|
-
* The canary release tags
|
|
1723
|
+
* The canary release tags configured for the application.
|
|
1795
1724
|
*/
|
|
1796
1725
|
serviceTags?: { [key: string]: string };
|
|
1797
1726
|
/**
|
|
1798
1727
|
* @remarks
|
|
1799
|
-
* The
|
|
1728
|
+
* The sidecar container configuration.
|
|
1800
1729
|
*/
|
|
1801
1730
|
sidecarContainersConfig?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfig[];
|
|
1802
1731
|
/**
|
|
1803
1732
|
* @remarks
|
|
1804
|
-
* The
|
|
1805
|
-
*
|
|
1806
|
-
* - To use an SLS resource that is automatically created by SAE: `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`.
|
|
1733
|
+
* The settings for log collection to Simple Log Service (SLS).
|
|
1807
1734
|
*
|
|
1808
|
-
* - To use
|
|
1735
|
+
* - To use SLS resources that are automatically created by Serverless App Engine (SAE): `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`.
|
|
1736
|
+
* - To use custom SLS resources: `[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]`.
|
|
1809
1737
|
*
|
|
1810
|
-
*
|
|
1811
|
-
*
|
|
1812
|
-
* - **projectName**: The name of the SLS project.
|
|
1738
|
+
* Parameter descriptions:
|
|
1813
1739
|
*
|
|
1740
|
+
* - **projectName**: The name of the project in SLS.
|
|
1814
1741
|
* - **logDir**: The log path.
|
|
1815
|
-
*
|
|
1816
|
-
* - **logType**: The log type. **stdout** indicates the standard output log of the container. You can specify only one log of this type. If you do not specify this parameter, file logs are collected.
|
|
1817
|
-
*
|
|
1742
|
+
* - **logType**: The log type. **stdout** indicates container standard output logs. You can set only one stdout entry. If this parameter is not set, file logs are collected.
|
|
1818
1743
|
* - **logstoreName**: The name of the Logstore in SLS.
|
|
1744
|
+
* - **logtailName**: The name of the Logtail in SLS. If this parameter is not specified, a new Logtail is created through automatic creation.
|
|
1819
1745
|
*
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1822
|
-
* If you do not change the log collection configuration during a deployment, you do not need to specify this parameter. If you no longer need to use the log collection feature, set this parameter to an empty string ("") in the request.
|
|
1746
|
+
* If the SLS collection configuration has not changed 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 in the request (that is, set the value of the **SlsConfigs** field to "").
|
|
1823
1747
|
*
|
|
1824
1748
|
* @example
|
|
1825
1749
|
* [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
|
|
@@ -1827,7 +1751,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1827
1751
|
slsConfigs?: string;
|
|
1828
1752
|
/**
|
|
1829
1753
|
* @remarks
|
|
1830
|
-
*
|
|
1754
|
+
* sls log env tags
|
|
1831
1755
|
*/
|
|
1832
1756
|
slsLogEnvTags?: string;
|
|
1833
1757
|
/**
|
|
@@ -1840,7 +1764,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1840
1764
|
startupProbe?: string;
|
|
1841
1765
|
/**
|
|
1842
1766
|
* @remarks
|
|
1843
|
-
*
|
|
1767
|
+
* Configures K8s Service-based service registration and discovery with end-to-end canary release.
|
|
1844
1768
|
*
|
|
1845
1769
|
* @example
|
|
1846
1770
|
* {\\"enable\\":\\"false\\",\\"namespaceId\\":\\"cn-beijing:test\\",\\"portAndProtocol\\":{\\"2000:TCP\\":\\"18081\\"},\\"portProtocols\\":[{\\"port\\":2000,\\"protocol\\":\\"TCP\\",\\"targetPort\\":18081}],\\"pvtzDiscoveryName\\":\\"cn-beijing-1421801774382676\\",\\"serviceId\\":\\"3513\\",\\"serviceName\\":\\"demo-gray.test\\"}
|
|
@@ -1848,12 +1772,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1848
1772
|
swimlanePvtzDiscovery?: string;
|
|
1849
1773
|
/**
|
|
1850
1774
|
* @remarks
|
|
1851
|
-
* The
|
|
1775
|
+
* The tag information.
|
|
1852
1776
|
*/
|
|
1853
1777
|
tags?: DescribeApplicationConfigResponseBodyDataTags[];
|
|
1854
1778
|
/**
|
|
1855
1779
|
* @remarks
|
|
1856
|
-
* The timeout period
|
|
1780
|
+
* The graceful shutdown timeout period. Default value: 30. Unit: seconds. Valid values: 1 to 300.
|
|
1857
1781
|
*
|
|
1858
1782
|
* @example
|
|
1859
1783
|
* 10
|
|
@@ -1869,16 +1793,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1869
1793
|
timezone?: string;
|
|
1870
1794
|
/**
|
|
1871
1795
|
* @remarks
|
|
1872
|
-
* The Tomcat configuration.
|
|
1873
|
-
*
|
|
1874
|
-
* - **port**: The port number. The port number can range from 1024 to 65535. A port number smaller than 1024 requires the root permission to be operated. Because the container is configured with the administrator permission, specify a port number that is greater than 1024. If you do not configure this parameter, the default port 8080 is used.
|
|
1875
|
-
*
|
|
1876
|
-
* - **contextPath**: The access path. The default value is the root directory "/".
|
|
1796
|
+
* The Tomcat configuration. Set this parameter to "" or "{}" to delete the configuration:
|
|
1877
1797
|
*
|
|
1798
|
+
* - **port**: The port number. Valid values: 1024 to 65535. Ports smaller than 1024 require root permissions. Because the container is configured with admin permissions, specify a port greater than 1024. Default value: 8080.
|
|
1799
|
+
* - **contextPath**: The access path. Default value: root directory "/".
|
|
1878
1800
|
* - **maxThreads**: The maximum number of connections in the connection pool. Default value: 400.
|
|
1879
|
-
*
|
|
1880
|
-
* - **uriEncoding**: The URI encoding scheme of Tomcat. Valid values: **UTF-8**, **ISO-8859-1**, **GBK**, and **GB2312**. If you do not set this parameter, the default value **ISO-8859-1** is used.
|
|
1881
|
-
*
|
|
1801
|
+
* - **uriEncoding**: The encoding format of Tomcat. Valid values: **UTF-8**, **ISO-8859-1**, **GBK**, and **GB2312**. Default value: **ISO-8859-1**.
|
|
1882
1802
|
* - **useBodyEncoding**: Specifies whether to use **BodyEncoding for URL**. Default value: **true**.
|
|
1883
1803
|
*
|
|
1884
1804
|
* @example
|
|
@@ -1887,27 +1807,22 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1887
1807
|
tomcatConfig?: string;
|
|
1888
1808
|
/**
|
|
1889
1809
|
* @remarks
|
|
1890
|
-
* The deployment policy.
|
|
1891
|
-
*
|
|
1892
|
-
* - Canary release of one instance, phased release in two batches, automatic batching, and a 1-minute interval between batches: `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}`
|
|
1893
|
-
*
|
|
1894
|
-
* - Canary release of one instance and phased release in two batches with manual batching: `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}`
|
|
1895
|
-
*
|
|
1896
|
-
* - Phased release in two batches, automatic batching, and a 0-minute interval between batches: `{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}`
|
|
1897
|
-
*
|
|
1898
|
-
* The parameters are described as follows:
|
|
1810
|
+
* The deployment policy. When the minimum number of available instances is 1, the value of the **UpdateStrategy** field is "". When the minimum number of available instances is greater than 1, examples are as follows:
|
|
1899
1811
|
*
|
|
1900
|
-
* -
|
|
1812
|
+
* - Canary release of 1 instance + 2 subsequent batches + automatic batching + 1-minute batch interval: `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}`
|
|
1813
|
+
*
|
|
1814
|
+
* - Canary release of 1 instance + 2 subsequent batches + manual batching: `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}`
|
|
1901
1815
|
*
|
|
1902
|
-
* -
|
|
1816
|
+
* - 2 batches + automatic batching + 0-minute batch interval: `{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}`
|
|
1903
1817
|
*
|
|
1904
|
-
*
|
|
1818
|
+
* Parameter descriptions:
|
|
1905
1819
|
*
|
|
1906
|
-
*
|
|
1907
|
-
*
|
|
1908
|
-
*
|
|
1909
|
-
*
|
|
1910
|
-
*
|
|
1820
|
+
* - **type**: The release policy type. Valid values: **GrayBatchUpdate** (grayscale batch release) and **BatchUpdate** (batch release).
|
|
1821
|
+
* - **batchUpdate**: The batch release policy.
|
|
1822
|
+
* - **batch**: The number of release batches.
|
|
1823
|
+
* - **releaseType**: The processing method between batches. Valid values: **auto** (automatic) and **manual** (manual).
|
|
1824
|
+
* - **batchWaitTime**: The interval between deployments within a batch, in seconds.
|
|
1825
|
+
* - **grayUpdate**: The remaining batches after grayscale release. This parameter is required when **type** is set to **GrayBatchUpdate**.
|
|
1911
1826
|
*
|
|
1912
1827
|
* @example
|
|
1913
1828
|
* {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}
|
|
@@ -1915,7 +1830,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1915
1830
|
updateStrategy?: string;
|
|
1916
1831
|
/**
|
|
1917
1832
|
* @remarks
|
|
1918
|
-
*
|
|
1833
|
+
* vSwitch ID。
|
|
1919
1834
|
*
|
|
1920
1835
|
* @example
|
|
1921
1836
|
* vsw-2ze559r1z1bpwqxwp****
|
|
@@ -1923,7 +1838,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1923
1838
|
vSwitchId?: string;
|
|
1924
1839
|
/**
|
|
1925
1840
|
* @remarks
|
|
1926
|
-
*
|
|
1841
|
+
* VPC ID。
|
|
1927
1842
|
*
|
|
1928
1843
|
* @example
|
|
1929
1844
|
* vpc-2ze0i263cnn311nvj****
|
|
@@ -1931,7 +1846,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1931
1846
|
vpcId?: string;
|
|
1932
1847
|
/**
|
|
1933
1848
|
* @remarks
|
|
1934
|
-
* The options for
|
|
1849
|
+
* The startup options for the WAR package application. The default startup command for the application: `java $JAVA_OPTS $CATALINA_OPTS -Options org.apache.catalina.startup.Bootstrap "$@" start`.
|
|
1935
1850
|
*
|
|
1936
1851
|
* @example
|
|
1937
1852
|
* custom-option
|
|
@@ -1939,10 +1854,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1939
1854
|
warStartOptions?: string;
|
|
1940
1855
|
/**
|
|
1941
1856
|
* @remarks
|
|
1942
|
-
* The Tomcat version
|
|
1857
|
+
* The Tomcat version on which the deployment package depends. Valid values:
|
|
1943
1858
|
*
|
|
1944
1859
|
* - **apache-tomcat-7.0.91**
|
|
1945
|
-
*
|
|
1946
1860
|
* - **apache-tomcat-8.5.42**
|
|
1947
1861
|
*
|
|
1948
1862
|
* This parameter is not supported when **Package Type** is set to **Image**.
|
|
@@ -2034,6 +1948,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
2034
1948
|
pvtzDiscovery: 'PvtzDiscovery',
|
|
2035
1949
|
python: 'Python',
|
|
2036
1950
|
pythonModules: 'PythonModules',
|
|
1951
|
+
raspConfig: 'RaspConfig',
|
|
2037
1952
|
readiness: 'Readiness',
|
|
2038
1953
|
regionId: 'RegionId',
|
|
2039
1954
|
replicas: 'Replicas',
|
|
@@ -2141,6 +2056,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
2141
2056
|
pvtzDiscovery: 'string',
|
|
2142
2057
|
python: 'string',
|
|
2143
2058
|
pythonModules: 'string',
|
|
2059
|
+
raspConfig: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataRaspConfig },
|
|
2144
2060
|
readiness: 'string',
|
|
2145
2061
|
regionId: 'string',
|
|
2146
2062
|
replicas: 'number',
|
|
@@ -2184,6 +2100,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
2184
2100
|
if(Array.isArray(this.ossMountDescs)) {
|
|
2185
2101
|
$dara.Model.validateArray(this.ossMountDescs);
|
|
2186
2102
|
}
|
|
2103
|
+
if(Array.isArray(this.raspConfig)) {
|
|
2104
|
+
$dara.Model.validateArray(this.raspConfig);
|
|
2105
|
+
}
|
|
2187
2106
|
if(Array.isArray(this.secretMountDesc)) {
|
|
2188
2107
|
$dara.Model.validateArray(this.secretMountDesc);
|
|
2189
2108
|
}
|
|
@@ -2207,15 +2126,12 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
2207
2126
|
export class DescribeApplicationConfigResponseBody extends $dara.Model {
|
|
2208
2127
|
/**
|
|
2209
2128
|
* @remarks
|
|
2210
|
-
* The
|
|
2211
|
-
*
|
|
2212
|
-
* - **2xx**: The request is successful.
|
|
2129
|
+
* The API status or POP error code. Valid values:
|
|
2213
2130
|
*
|
|
2214
|
-
* - **
|
|
2215
|
-
*
|
|
2216
|
-
* - **4xx**:
|
|
2217
|
-
*
|
|
2218
|
-
* - **5xx**: A server error occurs.
|
|
2131
|
+
* - **2xx**: success.
|
|
2132
|
+
* - **3xx**: redirection.
|
|
2133
|
+
* - **4xx**: request error.
|
|
2134
|
+
* - **5xx**: server error.
|
|
2219
2135
|
*
|
|
2220
2136
|
* @example
|
|
2221
2137
|
* 200
|
|
@@ -2223,21 +2139,20 @@ export class DescribeApplicationConfigResponseBody extends $dara.Model {
|
|
|
2223
2139
|
code?: string;
|
|
2224
2140
|
/**
|
|
2225
2141
|
* @remarks
|
|
2226
|
-
* The information
|
|
2142
|
+
* The application information.
|
|
2227
2143
|
*/
|
|
2228
2144
|
data?: DescribeApplicationConfigResponseBodyData;
|
|
2229
2145
|
/**
|
|
2230
2146
|
* @remarks
|
|
2231
|
-
* The error code.
|
|
2147
|
+
* The error code. Valid values:
|
|
2232
2148
|
*
|
|
2233
|
-
* -
|
|
2234
|
-
*
|
|
2235
|
-
* - If the request fails, this parameter is returned. For more information, see the "Error codes" section in this topic.
|
|
2149
|
+
* - If the request is successful, the **ErrorCode** field is not returned.
|
|
2150
|
+
* - If the request fails, the **ErrorCode** field is returned. For more information, see the **Error codes** section in this topic.
|
|
2236
2151
|
*/
|
|
2237
2152
|
errorCode?: string;
|
|
2238
2153
|
/**
|
|
2239
2154
|
* @remarks
|
|
2240
|
-
* The additional information
|
|
2155
|
+
* The additional information about the call result.
|
|
2241
2156
|
*
|
|
2242
2157
|
* @example
|
|
2243
2158
|
* success
|
|
@@ -2253,11 +2168,10 @@ export class DescribeApplicationConfigResponseBody extends $dara.Model {
|
|
|
2253
2168
|
requestId?: string;
|
|
2254
2169
|
/**
|
|
2255
2170
|
* @remarks
|
|
2256
|
-
* Indicates whether the application configuration
|
|
2257
|
-
*
|
|
2258
|
-
* - **true**: The configuration was retrieved.
|
|
2171
|
+
* Indicates whether the application configuration information is retrieved. Valid values:
|
|
2259
2172
|
*
|
|
2260
|
-
* - **
|
|
2173
|
+
* - **true**: Retrieved.
|
|
2174
|
+
* - **false**: Failed to retrieve.
|
|
2261
2175
|
*
|
|
2262
2176
|
* @example
|
|
2263
2177
|
* true
|
|
@@ -2265,7 +2179,7 @@ export class DescribeApplicationConfigResponseBody extends $dara.Model {
|
|
|
2265
2179
|
success?: boolean;
|
|
2266
2180
|
/**
|
|
2267
2181
|
* @remarks
|
|
2268
|
-
* The trace ID
|
|
2182
|
+
* The trace ID, which is used to query the details of a call.
|
|
2269
2183
|
*
|
|
2270
2184
|
* @example
|
|
2271
2185
|
* ac1a0b2215622246421415014e****
|