@alicloud/sae20190506 2.5.6 → 2.5.7
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.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeApplicationConfigRequest.d.ts +2 -2
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +447 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceLogRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceLogResponseBody.d.ts +26 -18
- package/dist/models/DescribeInstanceLogResponseBody.js.map +1 -1
- package/dist/models/UpdateAppModeRequest.d.ts +2 -0
- package/dist/models/UpdateAppModeRequest.js +4 -0
- package/dist/models/UpdateAppModeRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/models/DescribeApplicationConfigRequest.ts +2 -2
- package/src/models/DescribeApplicationConfigResponseBody.ts +447 -0
- package/src/models/DescribeInstanceLogRequest.ts +1 -1
- package/src/models/DescribeInstanceLogResponseBody.ts +26 -18
- package/src/models/UpdateAppModeRequest.ts +6 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeApplicationConfigRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The app id.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class DescribeApplicationConfigRequest extends $dara.Model {
|
|
|
12
12
|
appId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* The version id.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 0026ff7f-2b57-4127-bdd0-9bf202bb****
|
|
@@ -44,9 +44,37 @@ export declare class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
export declare class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* ConfigMap ID。
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* 1
|
|
53
|
+
*/
|
|
47
54
|
configMapId?: number;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The name of the ConfigMap.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* test
|
|
61
|
+
*/
|
|
48
62
|
configMapName?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The key.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* k1
|
|
69
|
+
*/
|
|
49
70
|
key?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The mount path.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* /tmp
|
|
77
|
+
*/
|
|
50
78
|
mountPath?: string;
|
|
51
79
|
static names(): {
|
|
52
80
|
[key: string]: string;
|
|
@@ -60,11 +88,74 @@ export declare class DescribeApplicationConfigResponseBodyDataInitContainersConf
|
|
|
60
88
|
});
|
|
61
89
|
}
|
|
62
90
|
export declare class DescribeApplicationConfigResponseBodyDataInitContainersConfig extends $dara.Model {
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The command that is used to start the image. The command must be an existing executable object in the container. Sample statements:
|
|
94
|
+
*
|
|
95
|
+
* command:
|
|
96
|
+
* - echo
|
|
97
|
+
* - abc
|
|
98
|
+
* - >
|
|
99
|
+
* - file0
|
|
100
|
+
*
|
|
101
|
+
* In this example, the Command parameter is set to `Command="echo", CommandArgs=["abc", ">", "file0"]`.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* /bin/sh
|
|
105
|
+
*/
|
|
63
106
|
command?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The parameters of the image startup command. The CommandArgs parameter specifies the parameters that are required for the **Command** parameter. You can specify the name in one of the following formats:
|
|
110
|
+
*
|
|
111
|
+
* `["a","b"]`
|
|
112
|
+
*
|
|
113
|
+
* In the preceding example, the CommandArgs parameter is set to `CommandArgs=["abc", ">", "file0"]`. The data type of `["abc", ">", "file0"]` must be an array of strings in the JSON format. This parameter is optional.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ["a","b"]
|
|
117
|
+
*/
|
|
64
118
|
commandArgs?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The information of ConfigMap.
|
|
122
|
+
*/
|
|
65
123
|
configMapMountDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc[];
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The environment variables. You can configure custom environment variables or reference a ConfigMap. If you want to reference a ConfigMap, you must first create a ConfigMap. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Take note of the following rules:
|
|
127
|
+
*
|
|
128
|
+
* * Customize
|
|
129
|
+
*
|
|
130
|
+
* * **name**: the name of the environment variable.
|
|
131
|
+
* * **value**: the value of the environment variable.
|
|
132
|
+
*
|
|
133
|
+
* * Reference ConfigMap
|
|
134
|
+
*
|
|
135
|
+
* * **name**: the name of the environment variable. You can reference one or all keys. If you want to reference all keys, specify `sae-sys-configmap-all-<ConfigMap name>`. Example: `sae-sys-configmap-all-test1`.
|
|
136
|
+
* * **valueFrom**: the reference of the environment variable. Set the value to `configMapRef`.
|
|
137
|
+
* * **configMapId**: the ConfigMap ID.
|
|
138
|
+
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
|
|
142
|
+
*/
|
|
66
143
|
envs?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The image URL of the initialized container.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* registry.cn-shenzhen.aliyuncs.com/sae-serverless-demo/sae-demo:microservice-java-provider-v1.0
|
|
150
|
+
*/
|
|
67
151
|
imageUrl?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* The name of the initialized container.
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* init-container
|
|
158
|
+
*/
|
|
68
159
|
name?: string;
|
|
69
160
|
static names(): {
|
|
70
161
|
[key: string]: string;
|
|
@@ -153,9 +244,37 @@ export declare class DescribeApplicationConfigResponseBodyDataOssMountDescs exte
|
|
|
153
244
|
});
|
|
154
245
|
}
|
|
155
246
|
export declare class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $dara.Model {
|
|
247
|
+
/**
|
|
248
|
+
* @remarks
|
|
249
|
+
* The key to Base64 encode values.
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* task-center
|
|
253
|
+
*/
|
|
156
254
|
key?: string;
|
|
255
|
+
/**
|
|
256
|
+
* @remarks
|
|
257
|
+
* The mount path.
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* /opt/www/runtime/logs
|
|
261
|
+
*/
|
|
157
262
|
mountPath?: string;
|
|
263
|
+
/**
|
|
264
|
+
* @remarks
|
|
265
|
+
* The secret ID of the instance.
|
|
266
|
+
*
|
|
267
|
+
* @example
|
|
268
|
+
* 520
|
|
269
|
+
*/
|
|
158
270
|
secretId?: number;
|
|
271
|
+
/**
|
|
272
|
+
* @remarks
|
|
273
|
+
* The name of the secret.
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* dummy-name-opaque-894
|
|
277
|
+
*/
|
|
159
278
|
secretName?: string;
|
|
160
279
|
static names(): {
|
|
161
280
|
[key: string]: string;
|
|
@@ -169,9 +288,37 @@ export declare class DescribeApplicationConfigResponseBodyDataSecretMountDesc ex
|
|
|
169
288
|
});
|
|
170
289
|
}
|
|
171
290
|
export declare class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigConfigMapMountDesc extends $dara.Model {
|
|
291
|
+
/**
|
|
292
|
+
* @remarks
|
|
293
|
+
* The ConfigMap ID.
|
|
294
|
+
*
|
|
295
|
+
* @example
|
|
296
|
+
* 7361
|
|
297
|
+
*/
|
|
172
298
|
configMapId?: number;
|
|
299
|
+
/**
|
|
300
|
+
* @remarks
|
|
301
|
+
* The ConfigMap name.
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* ConfigMap-test
|
|
305
|
+
*/
|
|
173
306
|
configMapName?: string;
|
|
307
|
+
/**
|
|
308
|
+
* @remarks
|
|
309
|
+
* The ConfigMap key
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
* key
|
|
313
|
+
*/
|
|
174
314
|
key?: string;
|
|
315
|
+
/**
|
|
316
|
+
* @remarks
|
|
317
|
+
* The mount path.
|
|
318
|
+
*
|
|
319
|
+
* @example
|
|
320
|
+
* /mnt/test
|
|
321
|
+
*/
|
|
175
322
|
mountPath?: string;
|
|
176
323
|
static names(): {
|
|
177
324
|
[key: string]: string;
|
|
@@ -185,7 +332,21 @@ export declare class DescribeApplicationConfigResponseBodyDataSidecarContainersC
|
|
|
185
332
|
});
|
|
186
333
|
}
|
|
187
334
|
export declare class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmptyDirDesc extends $dara.Model {
|
|
335
|
+
/**
|
|
336
|
+
* @remarks
|
|
337
|
+
* Mount path of the data volume within the container.
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* /mnt/cache
|
|
341
|
+
*/
|
|
188
342
|
mountPath?: string;
|
|
343
|
+
/**
|
|
344
|
+
* @remarks
|
|
345
|
+
* The name of the shared temporary storage.
|
|
346
|
+
*
|
|
347
|
+
* @example
|
|
348
|
+
* sidecar-container
|
|
349
|
+
*/
|
|
189
350
|
name?: string;
|
|
190
351
|
static names(): {
|
|
191
352
|
[key: string]: string;
|
|
@@ -199,15 +360,110 @@ export declare class DescribeApplicationConfigResponseBodyDataSidecarContainersC
|
|
|
199
360
|
});
|
|
200
361
|
}
|
|
201
362
|
export declare class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig extends $dara.Model {
|
|
363
|
+
/**
|
|
364
|
+
* @remarks
|
|
365
|
+
* The ID of Container Registry Enterprise Edition instance. This parameter is required when the **ImageUrl** parameter is set to the URL of an image in an ACR Enterprise Edition instance.
|
|
366
|
+
*
|
|
367
|
+
* @example
|
|
368
|
+
* cri-fhzlneorxala66ip
|
|
369
|
+
*/
|
|
202
370
|
acrInstanceId?: string;
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The command that is used to start the image. The command must be an existing executable object in the container. Sample statements:
|
|
374
|
+
*
|
|
375
|
+
* command:
|
|
376
|
+
* - echo
|
|
377
|
+
* - abc
|
|
378
|
+
* - >
|
|
379
|
+
* - file0
|
|
380
|
+
*
|
|
381
|
+
* In this example, the Command parameter is set to `Command="echo", CommandArgs=["abc", ">", "file0"]`.
|
|
382
|
+
*
|
|
383
|
+
* @example
|
|
384
|
+
* /bin/sh
|
|
385
|
+
*/
|
|
203
386
|
command?: string;
|
|
387
|
+
/**
|
|
388
|
+
* @remarks
|
|
389
|
+
* The parameters of the image startup command. The CommandArgs parameter specifies the parameters that are required for the **Command** parameter. You can specify the name in one of the following formats:
|
|
390
|
+
*
|
|
391
|
+
* `["a","b"]`
|
|
392
|
+
*
|
|
393
|
+
* In the preceding example, the CommandArgs parameter is set to `CommandArgs=["abc", ">", "file0"]`. The data type of `["abc", ">", "file0"]` must be an array of strings in the JSON format. This parameter is optional.
|
|
394
|
+
*
|
|
395
|
+
* @example
|
|
396
|
+
* [\\"-c\\",\\"echo \\\\\\"test\\\\\\" > /home/nas/test.log && sleep 10000000s\\"]
|
|
397
|
+
*/
|
|
204
398
|
commandArgs?: string;
|
|
399
|
+
/**
|
|
400
|
+
* @remarks
|
|
401
|
+
* The description of the **ConfigMap** instance mounted to the application. Use configurations created on the Configuration Items page to configure containers. The following table describes the parameters that are used in the preceding statements.
|
|
402
|
+
*
|
|
403
|
+
* * **congfigMapId**: the ID of the ConfigMap instance. You can call the [ListNamespacedConfigMaps](https://help.aliyun.com/document_detail/176917.html) operation to obtain the ID.
|
|
404
|
+
* * **key**: the key.
|
|
405
|
+
*
|
|
406
|
+
* > You can use the `sae-sys-configmap-all` key to mount all keys.
|
|
407
|
+
*
|
|
408
|
+
* * **mountPath**: the mount path in the container.
|
|
409
|
+
*/
|
|
205
410
|
configMapMountDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigConfigMapMountDesc[];
|
|
411
|
+
/**
|
|
412
|
+
* @remarks
|
|
413
|
+
* Set the CPU resource limit of the primary container that can be used by Sidecar container.
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* 500
|
|
417
|
+
*/
|
|
206
418
|
cpu?: number;
|
|
419
|
+
/**
|
|
420
|
+
* @remarks
|
|
421
|
+
* Shared temporary storage mounted to the primary container and the Sidecar container.
|
|
422
|
+
*/
|
|
207
423
|
emptyDirDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmptyDirDesc[];
|
|
424
|
+
/**
|
|
425
|
+
* @remarks
|
|
426
|
+
* The environment variables. You can configure custom environment variables or reference a ConfigMap. If you want to reference a ConfigMap, you must first create a ConfigMap. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Take note of the following rules:
|
|
427
|
+
*
|
|
428
|
+
* * Customize
|
|
429
|
+
*
|
|
430
|
+
* * **name**: the name of the environment variable.
|
|
431
|
+
* * **value**: the value of the environment variable.
|
|
432
|
+
*
|
|
433
|
+
* * Reference ConfigMap
|
|
434
|
+
*
|
|
435
|
+
* * **name**: the name of the environment variable. You can reference one or all keys. If you want to reference all keys, specify `sae-sys-configmap-all-<ConfigMap name>`. Example: `sae-sys-configmap-all-test1`.
|
|
436
|
+
* * **valueFrom**: the reference of the environment variable. Set the value to `configMapRef`.
|
|
437
|
+
* * **configMapId**: the ConfigMap ID.
|
|
438
|
+
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
439
|
+
*
|
|
440
|
+
* @example
|
|
441
|
+
* [{\\"name\\":\\"k1\\",\\"value\\":\\"c8e3a815-e5d3-4adf-abb3-98b106a607c4\\"}]
|
|
442
|
+
*/
|
|
208
443
|
envs?: string;
|
|
444
|
+
/**
|
|
445
|
+
* @remarks
|
|
446
|
+
* The URL of the image.
|
|
447
|
+
*
|
|
448
|
+
* @example
|
|
449
|
+
* registry.cn-beijing.aliyuncs.com/sae-dev-test/nginx:stable
|
|
450
|
+
*/
|
|
209
451
|
imageUrl?: string;
|
|
452
|
+
/**
|
|
453
|
+
* @remarks
|
|
454
|
+
* Set the memory limit of the primary container that can be used by Sidecar container.
|
|
455
|
+
*
|
|
456
|
+
* @example
|
|
457
|
+
* 1024
|
|
458
|
+
*/
|
|
210
459
|
memory?: number;
|
|
460
|
+
/**
|
|
461
|
+
* @remarks
|
|
462
|
+
* The container name.
|
|
463
|
+
*
|
|
464
|
+
* @example
|
|
465
|
+
* test
|
|
466
|
+
*/
|
|
211
467
|
name?: string;
|
|
212
468
|
static names(): {
|
|
213
469
|
[key: string]: string;
|
|
@@ -268,6 +524,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
268
524
|
/**
|
|
269
525
|
* @remarks
|
|
270
526
|
* The description of the application.
|
|
527
|
+
*
|
|
528
|
+
* @example
|
|
529
|
+
* The application description.
|
|
271
530
|
*/
|
|
272
531
|
appDescription?: string;
|
|
273
532
|
/**
|
|
@@ -309,6 +568,13 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
309
568
|
* true
|
|
310
569
|
*/
|
|
311
570
|
associateEip?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* @remarks
|
|
573
|
+
* The base app ID.
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* 8c573618-8d72-4407-baf4-f7b64b******
|
|
577
|
+
*/
|
|
312
578
|
baseAppId?: string;
|
|
313
579
|
/**
|
|
314
580
|
* @remarks
|
|
@@ -318,6 +584,13 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
318
584
|
* 10
|
|
319
585
|
*/
|
|
320
586
|
batchWaitTime?: number;
|
|
587
|
+
/**
|
|
588
|
+
* @remarks
|
|
589
|
+
* The cluster ID.
|
|
590
|
+
*
|
|
591
|
+
* @example
|
|
592
|
+
* 495fc79c-ae61-4600-866d-a09d68******
|
|
593
|
+
*/
|
|
321
594
|
clusterId?: string;
|
|
322
595
|
/**
|
|
323
596
|
* @remarks
|
|
@@ -382,8 +655,39 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
382
655
|
* [{"hostName":"test.host.name","ip":"0.0.0.0"}]
|
|
383
656
|
*/
|
|
384
657
|
customHostAlias?: string;
|
|
658
|
+
/**
|
|
659
|
+
* @remarks
|
|
660
|
+
* The type of custom image. Set to empty string if using pre-built image.
|
|
661
|
+
*
|
|
662
|
+
* - internet: public network image.
|
|
663
|
+
*
|
|
664
|
+
* - intranet: private network image.
|
|
665
|
+
*
|
|
666
|
+
* @example
|
|
667
|
+
* internet
|
|
668
|
+
*/
|
|
385
669
|
customImageNetworkType?: string;
|
|
670
|
+
/**
|
|
671
|
+
* @remarks
|
|
672
|
+
* The disk size. Unit: GB.
|
|
673
|
+
*
|
|
674
|
+
* @example
|
|
675
|
+
* 20
|
|
676
|
+
*/
|
|
386
677
|
diskSize?: number;
|
|
678
|
+
/**
|
|
679
|
+
* @remarks
|
|
680
|
+
* The version of .NET.
|
|
681
|
+
*
|
|
682
|
+
* - .NET 3.1
|
|
683
|
+
* - .NET 5.0
|
|
684
|
+
* - .NET 6.0
|
|
685
|
+
* - .NET 7.0
|
|
686
|
+
* - .NET 8.0
|
|
687
|
+
*
|
|
688
|
+
* @example
|
|
689
|
+
* .NET 8.0
|
|
690
|
+
*/
|
|
387
691
|
dotnet?: string;
|
|
388
692
|
/**
|
|
389
693
|
* @remarks
|
|
@@ -404,6 +708,17 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
404
708
|
* true
|
|
405
709
|
*/
|
|
406
710
|
enableAhas?: string;
|
|
711
|
+
/**
|
|
712
|
+
* @remarks
|
|
713
|
+
* Enable CPU Burst.
|
|
714
|
+
*
|
|
715
|
+
* - true: enable
|
|
716
|
+
*
|
|
717
|
+
* - false: disable
|
|
718
|
+
*
|
|
719
|
+
* @example
|
|
720
|
+
* true
|
|
721
|
+
*/
|
|
407
722
|
enableCpuBurst?: string;
|
|
408
723
|
/**
|
|
409
724
|
* @remarks
|
|
@@ -416,7 +731,29 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
416
731
|
* false
|
|
417
732
|
*/
|
|
418
733
|
enableGreyTagRoute?: boolean;
|
|
734
|
+
/**
|
|
735
|
+
* @remarks
|
|
736
|
+
* Enable idle mode.
|
|
737
|
+
*
|
|
738
|
+
* - true: enable
|
|
739
|
+
*
|
|
740
|
+
* - false: disable
|
|
741
|
+
*
|
|
742
|
+
* @example
|
|
743
|
+
* false
|
|
744
|
+
*/
|
|
419
745
|
enableIdle?: boolean;
|
|
746
|
+
/**
|
|
747
|
+
* @remarks
|
|
748
|
+
* Enable new ARMS feature.
|
|
749
|
+
*
|
|
750
|
+
* - true: enable
|
|
751
|
+
*
|
|
752
|
+
* - false: disable
|
|
753
|
+
*
|
|
754
|
+
* @example
|
|
755
|
+
* false
|
|
756
|
+
*/
|
|
420
757
|
enableNewArms?: boolean;
|
|
421
758
|
enablePrometheus?: boolean;
|
|
422
759
|
/**
|
|
@@ -433,6 +770,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
433
770
|
gpuCount?: string;
|
|
434
771
|
gpuType?: string;
|
|
435
772
|
/**
|
|
773
|
+
* @remarks
|
|
774
|
+
* The ID of the corresponding secret dictionary.
|
|
775
|
+
*
|
|
436
776
|
* @example
|
|
437
777
|
* 10
|
|
438
778
|
*/
|
|
@@ -445,6 +785,10 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
445
785
|
* docker.io/library/nginx:1.14.2
|
|
446
786
|
*/
|
|
447
787
|
imageUrl?: string;
|
|
788
|
+
/**
|
|
789
|
+
* @remarks
|
|
790
|
+
* Initialize container configuration.
|
|
791
|
+
*/
|
|
448
792
|
initContainersConfig?: DescribeApplicationConfigResponseBodyDataInitContainersConfig[];
|
|
449
793
|
isStateful?: boolean;
|
|
450
794
|
/**
|
|
@@ -550,11 +894,44 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
550
894
|
*/
|
|
551
895
|
memory?: number;
|
|
552
896
|
/**
|
|
897
|
+
* @remarks
|
|
898
|
+
* The Nacos registry. Valid values:
|
|
899
|
+
*
|
|
900
|
+
* * **0**: SAE built-in Nacos registry
|
|
901
|
+
* * **1**: self-managed Nacos registry
|
|
902
|
+
* * **2** : MSE Nacos registry
|
|
903
|
+
*
|
|
553
904
|
* @example
|
|
554
905
|
* "0"
|
|
555
906
|
*/
|
|
556
907
|
microRegistration?: string;
|
|
908
|
+
/**
|
|
909
|
+
* @remarks
|
|
910
|
+
* The configuration of registration center. Takes effect only the type of registration center is MSE enterprise Nacos.
|
|
911
|
+
*
|
|
912
|
+
* @example
|
|
913
|
+
* {\\"instanceId\\":\\"mse-cn-1ls43******\\",\\"namespace\\":\\"62ee12fb-c279-4da4-be96-21**********\\"}
|
|
914
|
+
*/
|
|
557
915
|
microRegistrationConfig?: string;
|
|
916
|
+
/**
|
|
917
|
+
* @remarks
|
|
918
|
+
* Configure microservices governance
|
|
919
|
+
*
|
|
920
|
+
* enable: Whether to enable microservices governance
|
|
921
|
+
*
|
|
922
|
+
* - true: Enable
|
|
923
|
+
* - false: Disable
|
|
924
|
+
*
|
|
925
|
+
* mseLosslessRule: Configure lossless online/offline deployment
|
|
926
|
+
*
|
|
927
|
+
* - delayTime: Delay duration (unit: seconds)
|
|
928
|
+
* - enable: Whether to enable lossless deployment. Set to "true" to enable; set to "false" to disable.
|
|
929
|
+
* - notice: Whether to enable notifications. Set to "true" to enable; set to "false" to disable.
|
|
930
|
+
* - warmupTime: Small-traffic warm-up duration (unit: seconds)
|
|
931
|
+
*
|
|
932
|
+
* @example
|
|
933
|
+
* {\\"Enable\\":true,\\"MseLosslessRule\\":{\\"enable\\":true,\\"notice\\":true,\\"delayTime\\":10,\\"warmupTime\\":120,\\"funcType\\":2,\\"aligned\\":false,\\"related\\":false,\\"lossLessDetail\\":false}}
|
|
934
|
+
*/
|
|
558
935
|
microserviceEngineConfig?: string;
|
|
559
936
|
/**
|
|
560
937
|
* @remarks
|
|
@@ -604,6 +981,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
604
981
|
*/
|
|
605
982
|
mseApplicationId?: string;
|
|
606
983
|
/**
|
|
984
|
+
* @remarks
|
|
985
|
+
* The application name of SAE service registered in MSE.
|
|
986
|
+
*
|
|
607
987
|
* @example
|
|
608
988
|
* cn-shenzhen-alb-demo-5c****
|
|
609
989
|
*/
|
|
@@ -617,6 +997,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
617
997
|
*/
|
|
618
998
|
namespaceId?: string;
|
|
619
999
|
/**
|
|
1000
|
+
* @remarks
|
|
1001
|
+
* The configurations for mounting the NAS file system.
|
|
1002
|
+
*
|
|
620
1003
|
* @example
|
|
621
1004
|
* [{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}]
|
|
622
1005
|
*/
|
|
@@ -629,7 +1012,27 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
629
1012
|
* AKSN89**
|
|
630
1013
|
*/
|
|
631
1014
|
nasId?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* @remarks
|
|
1017
|
+
* The SAE application edition.
|
|
1018
|
+
*
|
|
1019
|
+
* - lite: The lightweight edition.
|
|
1020
|
+
* - std: The standard edition.
|
|
1021
|
+
* - pro: The professional edition.
|
|
1022
|
+
*
|
|
1023
|
+
* @example
|
|
1024
|
+
* pro
|
|
1025
|
+
*/
|
|
632
1026
|
newSaeVersion?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* @remarks
|
|
1029
|
+
* The name of the RAM role used to authenticate the user identity.
|
|
1030
|
+
*
|
|
1031
|
+
* > You need to create an OpenID Connect (OIDC) identity provider (IdP) and an identity provider (IdP) for role-based single sign-on (SSO) in advance. For more information, see [Creates an OpenID Connect (OIDC) identity provider (IdP)](https://help.aliyun.com/document_detail/2331022.html) and [Creates an identity provider (IdP) for role-based single sign-on (SSO)](https://help.aliyun.com/document_detail/2331016.html).
|
|
1032
|
+
*
|
|
1033
|
+
* @example
|
|
1034
|
+
* sae-test
|
|
1035
|
+
*/
|
|
633
1036
|
oidcRoleName?: string;
|
|
634
1037
|
/**
|
|
635
1038
|
* @remarks
|
|
@@ -694,6 +1097,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
694
1097
|
*/
|
|
695
1098
|
packageVersion?: string;
|
|
696
1099
|
/**
|
|
1100
|
+
* @remarks
|
|
1101
|
+
* The version of PHP supporting PHP deployment packages. Image is not supported.
|
|
1102
|
+
*
|
|
697
1103
|
* @example
|
|
698
1104
|
* PHP-FPM 7.0
|
|
699
1105
|
*/
|
|
@@ -753,16 +1159,25 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
753
1159
|
*/
|
|
754
1160
|
programmingLanguage?: string;
|
|
755
1161
|
/**
|
|
1162
|
+
* @remarks
|
|
1163
|
+
* Enable K8s Service discovery and registration.
|
|
1164
|
+
*
|
|
756
1165
|
* @example
|
|
757
1166
|
* {"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true}
|
|
758
1167
|
*/
|
|
759
1168
|
pvtzDiscovery?: string;
|
|
760
1169
|
/**
|
|
1170
|
+
* @remarks
|
|
1171
|
+
* The Python environment. PYTHON 3.9.15 is supported.
|
|
1172
|
+
*
|
|
761
1173
|
* @example
|
|
762
1174
|
* PYTHON 3.9.15
|
|
763
1175
|
*/
|
|
764
1176
|
python?: string;
|
|
765
1177
|
/**
|
|
1178
|
+
* @remarks
|
|
1179
|
+
* The configurations for installing custom module dependencies. By default, the dependencies defined by the requirements.txt file in the root directory are installed. If no software package is configured, you can specify dependencies based on your business requirements.
|
|
1180
|
+
*
|
|
766
1181
|
* @example
|
|
767
1182
|
* Flask==2.0
|
|
768
1183
|
*/
|
|
@@ -793,7 +1208,18 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
793
1208
|
* 2
|
|
794
1209
|
*/
|
|
795
1210
|
replicas?: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* @remarks
|
|
1213
|
+
* The type of the resource. Set the value to `application`.
|
|
1214
|
+
*
|
|
1215
|
+
* @example
|
|
1216
|
+
* application
|
|
1217
|
+
*/
|
|
796
1218
|
resourceType?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* @remarks
|
|
1221
|
+
* Secret mount description.
|
|
1222
|
+
*/
|
|
797
1223
|
secretMountDesc?: DescribeApplicationConfigResponseBodyDataSecretMountDesc[];
|
|
798
1224
|
/**
|
|
799
1225
|
* @remarks
|
|
@@ -810,6 +1236,10 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
810
1236
|
serviceTags?: {
|
|
811
1237
|
[key: string]: string;
|
|
812
1238
|
};
|
|
1239
|
+
/**
|
|
1240
|
+
* @remarks
|
|
1241
|
+
* The configuration of the Sidecar container.
|
|
1242
|
+
*/
|
|
813
1243
|
sidecarContainersConfig?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfig[];
|
|
814
1244
|
/**
|
|
815
1245
|
* @remarks
|
|
@@ -832,7 +1262,21 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
|
|
|
832
1262
|
* [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
|
|
833
1263
|
*/
|
|
834
1264
|
slsConfigs?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* @remarks
|
|
1267
|
+
* Enable startup probe.
|
|
1268
|
+
*
|
|
1269
|
+
* @example
|
|
1270
|
+
* {\\"exec\\":{\\"command\\":[\\"/bin/sh\\",\\"-c\\",\\"#!Note: If microservice config is enabled, the application will be automatically injected with the prestop configuration for lossless offline. If you delete this prestop configuration, lossless offline will not be effective.\\\\n echo stop > /tmp/prestop; /home/admin/.tools/curl http://127.0.0.1:54199/offline; sleep 30\\"]}}
|
|
1271
|
+
*/
|
|
835
1272
|
startupProbe?: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* @remarks
|
|
1275
|
+
* Configuration of K8s Service discovery and registration, and full-chain gray-release feature.
|
|
1276
|
+
*
|
|
1277
|
+
* @example
|
|
1278
|
+
* {\\"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\\"}
|
|
1279
|
+
*/
|
|
836
1280
|
swimlanePvtzDiscovery?: string;
|
|
837
1281
|
/**
|
|
838
1282
|
* @remarks
|
|
@@ -966,6 +1410,9 @@ export declare class DescribeApplicationConfigResponseBody extends $dara.Model {
|
|
|
966
1410
|
*
|
|
967
1411
|
* * If the call is successful, the **ErrorCode** parameter is not returned.
|
|
968
1412
|
* * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
|
|
1413
|
+
*
|
|
1414
|
+
* @example
|
|
1415
|
+
* Null
|
|
969
1416
|
*/
|
|
970
1417
|
errorCode?: string;
|
|
971
1418
|
/**
|