@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
@@ -63,9 +63,37 @@ export class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc extends
63
63
  }
64
64
 
65
65
  export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * ConfigMap ID。
69
+ *
70
+ * @example
71
+ * 1
72
+ */
66
73
  configMapId?: number;
74
+ /**
75
+ * @remarks
76
+ * The name of the ConfigMap.
77
+ *
78
+ * @example
79
+ * test
80
+ */
67
81
  configMapName?: string;
82
+ /**
83
+ * @remarks
84
+ * The key.
85
+ *
86
+ * @example
87
+ * k1
88
+ */
68
89
  key?: string;
90
+ /**
91
+ * @remarks
92
+ * The mount path.
93
+ *
94
+ * @example
95
+ * /tmp
96
+ */
69
97
  mountPath?: string;
70
98
  static names(): { [key: string]: string } {
71
99
  return {
@@ -95,11 +123,74 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfig
95
123
  }
96
124
 
97
125
  export class DescribeApplicationConfigResponseBodyDataInitContainersConfig extends $dara.Model {
126
+ /**
127
+ * @remarks
128
+ * The command that is used to start the image. The command must be an existing executable object in the container. Sample statements:
129
+ *
130
+ * command:
131
+ * - echo
132
+ * - abc
133
+ * - >
134
+ * - file0
135
+ *
136
+ * In this example, the Command parameter is set to `Command="echo", CommandArgs=["abc", ">", "file0"]`.
137
+ *
138
+ * @example
139
+ * /bin/sh
140
+ */
98
141
  command?: string;
142
+ /**
143
+ * @remarks
144
+ * 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:
145
+ *
146
+ * `["a","b"]`
147
+ *
148
+ * 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.
149
+ *
150
+ * @example
151
+ * ["a","b"]
152
+ */
99
153
  commandArgs?: string;
154
+ /**
155
+ * @remarks
156
+ * The information of ConfigMap.
157
+ */
100
158
  configMapMountDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc[];
159
+ /**
160
+ * @remarks
161
+ * 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:
162
+ *
163
+ * * Customize
164
+ *
165
+ * * **name**: the name of the environment variable.
166
+ * * **value**: the value of the environment variable.
167
+ *
168
+ * * Reference ConfigMap
169
+ *
170
+ * * **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`.
171
+ * * **valueFrom**: the reference of the environment variable. Set the value to `configMapRef`.
172
+ * * **configMapId**: the ConfigMap ID.
173
+ * * **key**: the key. If you want to reference all keys, do not configure this parameter.
174
+ *
175
+ * @example
176
+ * [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
177
+ */
101
178
  envs?: string;
179
+ /**
180
+ * @remarks
181
+ * The image URL of the initialized container.
182
+ *
183
+ * @example
184
+ * registry.cn-shenzhen.aliyuncs.com/sae-serverless-demo/sae-demo:microservice-java-provider-v1.0
185
+ */
102
186
  imageUrl?: string;
187
+ /**
188
+ * @remarks
189
+ * The name of the initialized container.
190
+ *
191
+ * @example
192
+ * init-container
193
+ */
103
194
  name?: string;
104
195
  static names(): { [key: string]: string } {
105
196
  return {
@@ -239,9 +330,37 @@ export class DescribeApplicationConfigResponseBodyDataOssMountDescs extends $dar
239
330
  }
240
331
 
241
332
  export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $dara.Model {
333
+ /**
334
+ * @remarks
335
+ * The key to Base64 encode values.
336
+ *
337
+ * @example
338
+ * task-center
339
+ */
242
340
  key?: string;
341
+ /**
342
+ * @remarks
343
+ * The mount path.
344
+ *
345
+ * @example
346
+ * /opt/www/runtime/logs
347
+ */
243
348
  mountPath?: string;
349
+ /**
350
+ * @remarks
351
+ * The secret ID of the instance.
352
+ *
353
+ * @example
354
+ * 520
355
+ */
244
356
  secretId?: number;
357
+ /**
358
+ * @remarks
359
+ * The name of the secret.
360
+ *
361
+ * @example
362
+ * dummy-name-opaque-894
363
+ */
245
364
  secretName?: string;
246
365
  static names(): { [key: string]: string } {
247
366
  return {
@@ -271,9 +390,37 @@ export class DescribeApplicationConfigResponseBodyDataSecretMountDesc extends $d
271
390
  }
272
391
 
273
392
  export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigConfigMapMountDesc extends $dara.Model {
393
+ /**
394
+ * @remarks
395
+ * The ConfigMap ID.
396
+ *
397
+ * @example
398
+ * 7361
399
+ */
274
400
  configMapId?: number;
401
+ /**
402
+ * @remarks
403
+ * The ConfigMap name.
404
+ *
405
+ * @example
406
+ * ConfigMap-test
407
+ */
275
408
  configMapName?: string;
409
+ /**
410
+ * @remarks
411
+ * The ConfigMap key
412
+ *
413
+ * @example
414
+ * key
415
+ */
276
416
  key?: string;
417
+ /**
418
+ * @remarks
419
+ * The mount path.
420
+ *
421
+ * @example
422
+ * /mnt/test
423
+ */
277
424
  mountPath?: string;
278
425
  static names(): { [key: string]: string } {
279
426
  return {
@@ -303,7 +450,21 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigCon
303
450
  }
304
451
 
305
452
  export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmptyDirDesc extends $dara.Model {
453
+ /**
454
+ * @remarks
455
+ * Mount path of the data volume within the container.
456
+ *
457
+ * @example
458
+ * /mnt/cache
459
+ */
306
460
  mountPath?: string;
461
+ /**
462
+ * @remarks
463
+ * The name of the shared temporary storage.
464
+ *
465
+ * @example
466
+ * sidecar-container
467
+ */
307
468
  name?: string;
308
469
  static names(): { [key: string]: string } {
309
470
  return {
@@ -329,15 +490,110 @@ export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmp
329
490
  }
330
491
 
331
492
  export class DescribeApplicationConfigResponseBodyDataSidecarContainersConfig extends $dara.Model {
493
+ /**
494
+ * @remarks
495
+ * 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.
496
+ *
497
+ * @example
498
+ * cri-fhzlneorxala66ip
499
+ */
332
500
  acrInstanceId?: string;
501
+ /**
502
+ * @remarks
503
+ * The command that is used to start the image. The command must be an existing executable object in the container. Sample statements:
504
+ *
505
+ * command:
506
+ * - echo
507
+ * - abc
508
+ * - >
509
+ * - file0
510
+ *
511
+ * In this example, the Command parameter is set to `Command="echo", CommandArgs=["abc", ">", "file0"]`.
512
+ *
513
+ * @example
514
+ * /bin/sh
515
+ */
333
516
  command?: string;
517
+ /**
518
+ * @remarks
519
+ * 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:
520
+ *
521
+ * `["a","b"]`
522
+ *
523
+ * 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.
524
+ *
525
+ * @example
526
+ * [\\"-c\\",\\"echo \\\\\\"test\\\\\\" > /home/nas/test.log && sleep 10000000s\\"]
527
+ */
334
528
  commandArgs?: string;
529
+ /**
530
+ * @remarks
531
+ * 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.
532
+ *
533
+ * * **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.
534
+ * * **key**: the key.
535
+ *
536
+ * > You can use the `sae-sys-configmap-all` key to mount all keys.
537
+ *
538
+ * * **mountPath**: the mount path in the container.
539
+ */
335
540
  configMapMountDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigConfigMapMountDesc[];
541
+ /**
542
+ * @remarks
543
+ * Set the CPU resource limit of the primary container that can be used by Sidecar container.
544
+ *
545
+ * @example
546
+ * 500
547
+ */
336
548
  cpu?: number;
549
+ /**
550
+ * @remarks
551
+ * Shared temporary storage mounted to the primary container and the Sidecar container.
552
+ */
337
553
  emptyDirDesc?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfigEmptyDirDesc[];
554
+ /**
555
+ * @remarks
556
+ * 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:
557
+ *
558
+ * * Customize
559
+ *
560
+ * * **name**: the name of the environment variable.
561
+ * * **value**: the value of the environment variable.
562
+ *
563
+ * * Reference ConfigMap
564
+ *
565
+ * * **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`.
566
+ * * **valueFrom**: the reference of the environment variable. Set the value to `configMapRef`.
567
+ * * **configMapId**: the ConfigMap ID.
568
+ * * **key**: the key. If you want to reference all keys, do not configure this parameter.
569
+ *
570
+ * @example
571
+ * [{\\"name\\":\\"k1\\",\\"value\\":\\"c8e3a815-e5d3-4adf-abb3-98b106a607c4\\"}]
572
+ */
338
573
  envs?: string;
574
+ /**
575
+ * @remarks
576
+ * The URL of the image.
577
+ *
578
+ * @example
579
+ * registry.cn-beijing.aliyuncs.com/sae-dev-test/nginx:stable
580
+ */
339
581
  imageUrl?: string;
582
+ /**
583
+ * @remarks
584
+ * Set the memory limit of the primary container that can be used by Sidecar container.
585
+ *
586
+ * @example
587
+ * 1024
588
+ */
340
589
  memory?: number;
590
+ /**
591
+ * @remarks
592
+ * The container name.
593
+ *
594
+ * @example
595
+ * test
596
+ */
341
597
  name?: string;
342
598
  static names(): { [key: string]: string } {
343
599
  return {
@@ -444,6 +700,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
444
700
  /**
445
701
  * @remarks
446
702
  * The description of the application.
703
+ *
704
+ * @example
705
+ * The application description.
447
706
  */
448
707
  appDescription?: string;
449
708
  /**
@@ -485,6 +744,13 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
485
744
  * true
486
745
  */
487
746
  associateEip?: boolean;
747
+ /**
748
+ * @remarks
749
+ * The base app ID.
750
+ *
751
+ * @example
752
+ * 8c573618-8d72-4407-baf4-f7b64b******
753
+ */
488
754
  baseAppId?: string;
489
755
  /**
490
756
  * @remarks
@@ -494,6 +760,13 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
494
760
  * 10
495
761
  */
496
762
  batchWaitTime?: number;
763
+ /**
764
+ * @remarks
765
+ * The cluster ID.
766
+ *
767
+ * @example
768
+ * 495fc79c-ae61-4600-866d-a09d68******
769
+ */
497
770
  clusterId?: string;
498
771
  /**
499
772
  * @remarks
@@ -558,8 +831,39 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
558
831
  * [{"hostName":"test.host.name","ip":"0.0.0.0"}]
559
832
  */
560
833
  customHostAlias?: string;
834
+ /**
835
+ * @remarks
836
+ * The type of custom image. Set to empty string if using pre-built image.
837
+ *
838
+ * - internet: public network image.
839
+ *
840
+ * - intranet: private network image.
841
+ *
842
+ * @example
843
+ * internet
844
+ */
561
845
  customImageNetworkType?: string;
846
+ /**
847
+ * @remarks
848
+ * The disk size. Unit: GB.
849
+ *
850
+ * @example
851
+ * 20
852
+ */
562
853
  diskSize?: number;
854
+ /**
855
+ * @remarks
856
+ * The version of .NET.
857
+ *
858
+ * - .NET 3.1
859
+ * - .NET 5.0
860
+ * - .NET 6.0
861
+ * - .NET 7.0
862
+ * - .NET 8.0
863
+ *
864
+ * @example
865
+ * .NET 8.0
866
+ */
563
867
  dotnet?: string;
564
868
  /**
565
869
  * @remarks
@@ -580,6 +884,17 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
580
884
  * true
581
885
  */
582
886
  enableAhas?: string;
887
+ /**
888
+ * @remarks
889
+ * Enable CPU Burst.
890
+ *
891
+ * - true: enable
892
+ *
893
+ * - false: disable
894
+ *
895
+ * @example
896
+ * true
897
+ */
583
898
  enableCpuBurst?: string;
584
899
  /**
585
900
  * @remarks
@@ -592,7 +907,29 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
592
907
  * false
593
908
  */
594
909
  enableGreyTagRoute?: boolean;
910
+ /**
911
+ * @remarks
912
+ * Enable idle mode.
913
+ *
914
+ * - true: enable
915
+ *
916
+ * - false: disable
917
+ *
918
+ * @example
919
+ * false
920
+ */
595
921
  enableIdle?: boolean;
922
+ /**
923
+ * @remarks
924
+ * Enable new ARMS feature.
925
+ *
926
+ * - true: enable
927
+ *
928
+ * - false: disable
929
+ *
930
+ * @example
931
+ * false
932
+ */
596
933
  enableNewArms?: boolean;
597
934
  enablePrometheus?: boolean;
598
935
  /**
@@ -608,7 +945,11 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
608
945
  envs?: string;
609
946
  gpuCount?: string;
610
947
  gpuType?: string;
948
+ html?: string;
611
949
  /**
950
+ * @remarks
951
+ * The ID of the corresponding secret dictionary.
952
+ *
612
953
  * @example
613
954
  * 10
614
955
  */
@@ -621,6 +962,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
621
962
  * docker.io/library/nginx:1.14.2
622
963
  */
623
964
  imageUrl?: string;
965
+ /**
966
+ * @remarks
967
+ * Initialize container configuration.
968
+ */
624
969
  initContainersConfig?: DescribeApplicationConfigResponseBodyDataInitContainersConfig[];
625
970
  isStateful?: boolean;
626
971
  /**
@@ -726,11 +1071,44 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
726
1071
  */
727
1072
  memory?: number;
728
1073
  /**
1074
+ * @remarks
1075
+ * The Nacos registry. Valid values:
1076
+ *
1077
+ * * **0**: SAE built-in Nacos registry
1078
+ * * **1**: self-managed Nacos registry
1079
+ * * **2** : MSE Nacos registry
1080
+ *
729
1081
  * @example
730
1082
  * "0"
731
1083
  */
732
1084
  microRegistration?: string;
1085
+ /**
1086
+ * @remarks
1087
+ * The configuration of registration center. Takes effect only the type of registration center is MSE enterprise Nacos.
1088
+ *
1089
+ * @example
1090
+ * {\\"instanceId\\":\\"mse-cn-1ls43******\\",\\"namespace\\":\\"62ee12fb-c279-4da4-be96-21**********\\"}
1091
+ */
733
1092
  microRegistrationConfig?: string;
1093
+ /**
1094
+ * @remarks
1095
+ * Configure microservices governance
1096
+ *
1097
+ * enable: Whether to enable microservices governance
1098
+ *
1099
+ * - true: Enable
1100
+ * - false: Disable
1101
+ *
1102
+ * mseLosslessRule: Configure lossless online/offline deployment
1103
+ *
1104
+ * - delayTime: Delay duration (unit: seconds)
1105
+ * - enable: Whether to enable lossless deployment. Set to "true" to enable; set to "false" to disable.
1106
+ * - notice: Whether to enable notifications. Set to "true" to enable; set to "false" to disable.
1107
+ * - warmupTime: Small-traffic warm-up duration (unit: seconds)
1108
+ *
1109
+ * @example
1110
+ * {\\"Enable\\":true,\\"MseLosslessRule\\":{\\"enable\\":true,\\"notice\\":true,\\"delayTime\\":10,\\"warmupTime\\":120,\\"funcType\\":2,\\"aligned\\":false,\\"related\\":false,\\"lossLessDetail\\":false}}
1111
+ */
734
1112
  microserviceEngineConfig?: string;
735
1113
  /**
736
1114
  * @remarks
@@ -780,6 +1158,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
780
1158
  */
781
1159
  mseApplicationId?: string;
782
1160
  /**
1161
+ * @remarks
1162
+ * The application name of SAE service registered in MSE.
1163
+ *
783
1164
  * @example
784
1165
  * cn-shenzhen-alb-demo-5c****
785
1166
  */
@@ -793,6 +1174,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
793
1174
  */
794
1175
  namespaceId?: string;
795
1176
  /**
1177
+ * @remarks
1178
+ * The configurations for mounting the NAS file system.
1179
+ *
796
1180
  * @example
797
1181
  * [{"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"}]
798
1182
  */
@@ -805,7 +1189,27 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
805
1189
  * AKSN89**
806
1190
  */
807
1191
  nasId?: string;
1192
+ /**
1193
+ * @remarks
1194
+ * The SAE application edition.
1195
+ *
1196
+ * - lite: The lightweight edition.
1197
+ * - std: The standard edition.
1198
+ * - pro: The professional edition.
1199
+ *
1200
+ * @example
1201
+ * pro
1202
+ */
808
1203
  newSaeVersion?: string;
1204
+ /**
1205
+ * @remarks
1206
+ * The name of the RAM role used to authenticate the user identity.
1207
+ *
1208
+ * > 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).
1209
+ *
1210
+ * @example
1211
+ * sae-test
1212
+ */
809
1213
  oidcRoleName?: string;
810
1214
  /**
811
1215
  * @remarks
@@ -870,6 +1274,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
870
1274
  */
871
1275
  packageVersion?: string;
872
1276
  /**
1277
+ * @remarks
1278
+ * The version of PHP supporting PHP deployment packages. Image is not supported.
1279
+ *
873
1280
  * @example
874
1281
  * PHP-FPM 7.0
875
1282
  */
@@ -929,16 +1336,25 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
929
1336
  */
930
1337
  programmingLanguage?: string;
931
1338
  /**
1339
+ * @remarks
1340
+ * Enable K8s Service discovery and registration.
1341
+ *
932
1342
  * @example
933
1343
  * {"serviceName":"bwm-poc-sc-gateway-cn-beijing-front","namespaceId":"cn-beijing:front","portAndProtocol":{"18012":"TCP"},"enable":true}
934
1344
  */
935
1345
  pvtzDiscovery?: string;
936
1346
  /**
1347
+ * @remarks
1348
+ * The Python environment. PYTHON 3.9.15 is supported.
1349
+ *
937
1350
  * @example
938
1351
  * PYTHON 3.9.15
939
1352
  */
940
1353
  python?: string;
941
1354
  /**
1355
+ * @remarks
1356
+ * 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.
1357
+ *
942
1358
  * @example
943
1359
  * Flask==2.0
944
1360
  */
@@ -969,7 +1385,18 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
969
1385
  * 2
970
1386
  */
971
1387
  replicas?: number;
1388
+ /**
1389
+ * @remarks
1390
+ * The type of the resource. Set the value to `application`.
1391
+ *
1392
+ * @example
1393
+ * application
1394
+ */
972
1395
  resourceType?: string;
1396
+ /**
1397
+ * @remarks
1398
+ * Secret mount description.
1399
+ */
973
1400
  secretMountDesc?: DescribeApplicationConfigResponseBodyDataSecretMountDesc[];
974
1401
  /**
975
1402
  * @remarks
@@ -984,6 +1411,10 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
984
1411
  * The canary tag configured for the application.
985
1412
  */
986
1413
  serviceTags?: { [key: string]: string };
1414
+ /**
1415
+ * @remarks
1416
+ * The configuration of the Sidecar container.
1417
+ */
987
1418
  sidecarContainersConfig?: DescribeApplicationConfigResponseBodyDataSidecarContainersConfig[];
988
1419
  /**
989
1420
  * @remarks
@@ -1006,7 +1437,21 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1006
1437
  * [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
1007
1438
  */
1008
1439
  slsConfigs?: string;
1440
+ /**
1441
+ * @remarks
1442
+ * Enable startup probe.
1443
+ *
1444
+ * @example
1445
+ * {\\"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\\"]}}
1446
+ */
1009
1447
  startupProbe?: string;
1448
+ /**
1449
+ * @remarks
1450
+ * Configuration of K8s Service discovery and registration, and full-chain gray-release feature.
1451
+ *
1452
+ * @example
1453
+ * {\\"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\\"}
1454
+ */
1010
1455
  swimlanePvtzDiscovery?: string;
1011
1456
  /**
1012
1457
  * @remarks
@@ -1134,6 +1579,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1134
1579
  envs: 'Envs',
1135
1580
  gpuCount: 'GpuCount',
1136
1581
  gpuType: 'GpuType',
1582
+ html: 'Html',
1137
1583
  imagePullSecrets: 'ImagePullSecrets',
1138
1584
  imageUrl: 'ImageUrl',
1139
1585
  initContainersConfig: 'InitContainersConfig',
@@ -1227,6 +1673,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1227
1673
  envs: 'string',
1228
1674
  gpuCount: 'string',
1229
1675
  gpuType: 'string',
1676
+ html: 'string',
1230
1677
  imagePullSecrets: 'string',
1231
1678
  imageUrl: 'string',
1232
1679
  initContainersConfig: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataInitContainersConfig },
@@ -1348,6 +1795,9 @@ export class DescribeApplicationConfigResponseBody extends $dara.Model {
1348
1795
  *
1349
1796
  * * If the call is successful, the **ErrorCode** parameter is not returned.
1350
1797
  * * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
1798
+ *
1799
+ * @example
1800
+ * Null
1351
1801
  */
1352
1802
  errorCode?: string;
1353
1803
  /**
@@ -13,7 +13,7 @@ export class DescribeInstanceLogRequest extends $dara.Model {
13
13
  containerId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the request.
16
+ * The instance ID.
17
17
  *
18
18
  * This parameter is required.
19
19
  *