@alicloud/sae20190506 2.5.6 → 2.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/client.js +12 -0
  2. package/dist/client.js.map +1 -1
  3. package/dist/models/CreateApplicationRequest.d.ts +1 -0
  4. package/dist/models/CreateApplicationRequest.js +2 -0
  5. package/dist/models/CreateApplicationRequest.js.map +1 -1
  6. package/dist/models/CreateApplicationShrinkRequest.d.ts +1 -0
  7. package/dist/models/CreateApplicationShrinkRequest.js +2 -0
  8. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  9. package/dist/models/DeployApplicationRequest.d.ts +1 -0
  10. package/dist/models/DeployApplicationRequest.js +2 -0
  11. package/dist/models/DeployApplicationRequest.js.map +1 -1
  12. package/dist/models/DeployApplicationShrinkRequest.d.ts +1 -0
  13. package/dist/models/DeployApplicationShrinkRequest.js +2 -0
  14. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  15. package/dist/models/DescribeApplicationConfigRequest.d.ts +2 -2
  16. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +448 -0
  17. package/dist/models/DescribeApplicationConfigResponseBody.js +2 -0
  18. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  19. package/dist/models/DescribeInstanceLogRequest.d.ts +1 -1
  20. package/dist/models/DescribeInstanceLogResponseBody.d.ts +26 -18
  21. package/dist/models/DescribeInstanceLogResponseBody.js.map +1 -1
  22. package/dist/models/UpdateAppModeRequest.d.ts +2 -0
  23. package/dist/models/UpdateAppModeRequest.js +4 -0
  24. package/dist/models/UpdateAppModeRequest.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +16 -0
  27. package/src/models/CreateApplicationRequest.ts +3 -0
  28. package/src/models/CreateApplicationShrinkRequest.ts +3 -0
  29. package/src/models/DeployApplicationRequest.ts +3 -0
  30. package/src/models/DeployApplicationShrinkRequest.ts +3 -0
  31. package/src/models/DescribeApplicationConfigRequest.ts +2 -2
  32. package/src/models/DescribeApplicationConfigResponseBody.ts +450 -0
  33. package/src/models/DescribeInstanceLogRequest.ts +1 -1
  34. package/src/models/DescribeInstanceLogResponseBody.ts +26 -18
  35. package/src/models/UpdateAppModeRequest.ts +6 -0
@@ -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
  /**
@@ -432,7 +769,11 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
432
769
  envs?: string;
433
770
  gpuCount?: string;
434
771
  gpuType?: string;
772
+ html?: string;
435
773
  /**
774
+ * @remarks
775
+ * The ID of the corresponding secret dictionary.
776
+ *
436
777
  * @example
437
778
  * 10
438
779
  */
@@ -445,6 +786,10 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
445
786
  * docker.io/library/nginx:1.14.2
446
787
  */
447
788
  imageUrl?: string;
789
+ /**
790
+ * @remarks
791
+ * Initialize container configuration.
792
+ */
448
793
  initContainersConfig?: DescribeApplicationConfigResponseBodyDataInitContainersConfig[];
449
794
  isStateful?: boolean;
450
795
  /**
@@ -550,11 +895,44 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
550
895
  */
551
896
  memory?: number;
552
897
  /**
898
+ * @remarks
899
+ * The Nacos registry. Valid values:
900
+ *
901
+ * * **0**: SAE built-in Nacos registry
902
+ * * **1**: self-managed Nacos registry
903
+ * * **2** : MSE Nacos registry
904
+ *
553
905
  * @example
554
906
  * "0"
555
907
  */
556
908
  microRegistration?: string;
909
+ /**
910
+ * @remarks
911
+ * The configuration of registration center. Takes effect only the type of registration center is MSE enterprise Nacos.
912
+ *
913
+ * @example
914
+ * {\\"instanceId\\":\\"mse-cn-1ls43******\\",\\"namespace\\":\\"62ee12fb-c279-4da4-be96-21**********\\"}
915
+ */
557
916
  microRegistrationConfig?: string;
917
+ /**
918
+ * @remarks
919
+ * Configure microservices governance
920
+ *
921
+ * enable: Whether to enable microservices governance
922
+ *
923
+ * - true: Enable
924
+ * - false: Disable
925
+ *
926
+ * mseLosslessRule: Configure lossless online/offline deployment
927
+ *
928
+ * - delayTime: Delay duration (unit: seconds)
929
+ * - enable: Whether to enable lossless deployment. Set to "true" to enable; set to "false" to disable.
930
+ * - notice: Whether to enable notifications. Set to "true" to enable; set to "false" to disable.
931
+ * - warmupTime: Small-traffic warm-up duration (unit: seconds)
932
+ *
933
+ * @example
934
+ * {\\"Enable\\":true,\\"MseLosslessRule\\":{\\"enable\\":true,\\"notice\\":true,\\"delayTime\\":10,\\"warmupTime\\":120,\\"funcType\\":2,\\"aligned\\":false,\\"related\\":false,\\"lossLessDetail\\":false}}
935
+ */
558
936
  microserviceEngineConfig?: string;
559
937
  /**
560
938
  * @remarks
@@ -604,6 +982,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
604
982
  */
605
983
  mseApplicationId?: string;
606
984
  /**
985
+ * @remarks
986
+ * The application name of SAE service registered in MSE.
987
+ *
607
988
  * @example
608
989
  * cn-shenzhen-alb-demo-5c****
609
990
  */
@@ -617,6 +998,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
617
998
  */
618
999
  namespaceId?: string;
619
1000
  /**
1001
+ * @remarks
1002
+ * The configurations for mounting the NAS file system.
1003
+ *
620
1004
  * @example
621
1005
  * [{"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
1006
  */
@@ -629,7 +1013,27 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
629
1013
  * AKSN89**
630
1014
  */
631
1015
  nasId?: string;
1016
+ /**
1017
+ * @remarks
1018
+ * The SAE application edition.
1019
+ *
1020
+ * - lite: The lightweight edition.
1021
+ * - std: The standard edition.
1022
+ * - pro: The professional edition.
1023
+ *
1024
+ * @example
1025
+ * pro
1026
+ */
632
1027
  newSaeVersion?: string;
1028
+ /**
1029
+ * @remarks
1030
+ * The name of the RAM role used to authenticate the user identity.
1031
+ *
1032
+ * > 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).
1033
+ *
1034
+ * @example
1035
+ * sae-test
1036
+ */
633
1037
  oidcRoleName?: string;
634
1038
  /**
635
1039
  * @remarks
@@ -694,6 +1098,9 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
694
1098
  */
695
1099
  packageVersion?: string;
696
1100
  /**
1101
+ * @remarks
1102
+ * The version of PHP supporting PHP deployment packages. Image is not supported.
1103
+ *
697
1104
  * @example
698
1105
  * PHP-FPM 7.0
699
1106
  */
@@ -753,16 +1160,25 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
753
1160
  */
754
1161
  programmingLanguage?: string;
755
1162
  /**
1163
+ * @remarks
1164
+ * Enable K8s Service discovery and registration.
1165
+ *
756
1166
  * @example
757
1167
  * {"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true}
758
1168
  */
759
1169
  pvtzDiscovery?: string;
760
1170
  /**
1171
+ * @remarks
1172
+ * The Python environment. PYTHON 3.9.15 is supported.
1173
+ *
761
1174
  * @example
762
1175
  * PYTHON 3.9.15
763
1176
  */
764
1177
  python?: string;
765
1178
  /**
1179
+ * @remarks
1180
+ * 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.
1181
+ *
766
1182
  * @example
767
1183
  * Flask==2.0
768
1184
  */
@@ -793,7 +1209,18 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
793
1209
  * 2
794
1210
  */
795
1211
  replicas?: number;
1212
+ /**
1213
+ * @remarks
1214
+ * The type of the resource. Set the value to `application`.
1215
+ *
1216
+ * @example
1217
+ * application
1218
+ */
796
1219
  resourceType?: string;
1220
+ /**
1221
+ * @remarks
1222
+ * Secret mount description.
1223
+ */
797
1224
  secretMountDesc?: DescribeApplicationConfigResponseBodyDataSecretMountDesc[];
798
1225
  /**
799
1226
  * @remarks
@@ -810,6 +1237,10 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
810
1237
  serviceTags?: {
811
1238
  [key: string]: string;
812
1239
  };
1240
+ /**
1241
+ * @remarks
1242
+ * The configuration of the Sidecar container.
1243
+ */
813
1244
  sidecarContainersConfig?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfig[];
814
1245
  /**
815
1246
  * @remarks
@@ -832,7 +1263,21 @@ export declare class DescribeApplicationConfigResponseBodyData extends $dara.Mod
832
1263
  * [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
833
1264
  */
834
1265
  slsConfigs?: string;
1266
+ /**
1267
+ * @remarks
1268
+ * Enable startup probe.
1269
+ *
1270
+ * @example
1271
+ * {\\"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\\"]}}
1272
+ */
835
1273
  startupProbe?: string;
1274
+ /**
1275
+ * @remarks
1276
+ * Configuration of K8s Service discovery and registration, and full-chain gray-release feature.
1277
+ *
1278
+ * @example
1279
+ * {\\"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\\"}
1280
+ */
836
1281
  swimlanePvtzDiscovery?: string;
837
1282
  /**
838
1283
  * @remarks
@@ -966,6 +1411,9 @@ export declare class DescribeApplicationConfigResponseBody extends $dara.Model {
966
1411
  *
967
1412
  * * If the call is successful, the **ErrorCode** parameter is not returned.
968
1413
  * * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
1414
+ *
1415
+ * @example
1416
+ * Null
969
1417
  */
970
1418
  errorCode?: string;
971
1419
  /**
@@ -330,6 +330,7 @@ class DescribeApplicationConfigResponseBodyData extends $dara.Model {
330
330
  envs: 'Envs',
331
331
  gpuCount: 'GpuCount',
332
332
  gpuType: 'GpuType',
333
+ html: 'Html',
333
334
  imagePullSecrets: 'ImagePullSecrets',
334
335
  imageUrl: 'ImageUrl',
335
336
  initContainersConfig: 'InitContainersConfig',
@@ -422,6 +423,7 @@ class DescribeApplicationConfigResponseBodyData extends $dara.Model {
422
423
  envs: 'string',
423
424
  gpuCount: 'string',
424
425
  gpuType: 'string',
426
+ html: 'string',
425
427
  imagePullSecrets: 'string',
426
428
  imageUrl: 'string',
427
429
  initContainersConfig: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataInitContainersConfig },