@alicloud/sae20190506 2.5.3 → 2.5.5
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 +36 -20
- package/dist/client.js +48 -20
- package/dist/client.js.map +1 -1
- package/dist/models/BatchStartApplicationsRequest.d.ts +1 -4
- package/dist/models/BatchStartApplicationsRequest.js.map +1 -1
- package/dist/models/BatchStopApplicationsRequest.d.ts +3 -1
- package/dist/models/BatchStopApplicationsRequest.js.map +1 -1
- package/dist/models/BindSlbRequest.d.ts +20 -0
- package/dist/models/BindSlbRequest.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +127 -3
- package/dist/models/CreateApplicationRequest.js +4 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +127 -3
- package/dist/models/CreateApplicationShrinkRequest.js +4 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +4 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretRequestSecretData.d.ts +9 -0
- package/dist/models/CreateSecretRequestSecretData.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +4 -0
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DeleteApplicationScalingRuleResponseBody.d.ts +39 -0
- package/dist/models/DeleteApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +196 -0
- package/dist/models/DeployApplicationRequest.js +2 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +196 -0
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBodyData.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.js.map +1 -1
- package/dist/models/DescribeApplicationGroupsRequest.d.ts +3 -3
- package/dist/models/DescribeApplicationGroupsResponseBody.d.ts +12 -12
- package/dist/models/DescribeApplicationGroupsResponseBodyData.d.ts +12 -12
- package/dist/models/DescribeApplicationInstancesRequest.d.ts +11 -0
- package/dist/models/DescribeApplicationInstancesRequest.js.map +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBodyData.d.ts +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstances.d.ts +26 -0
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstances.js.map +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.d.ts +21 -0
- package/dist/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.js.map +1 -1
- package/dist/models/DescribeNamespaceListRequest.d.ts +3 -3
- package/dist/models/DescribeNamespaceListResponseBody.d.ts +1 -1
- package/dist/models/DisableApplicationScalingRuleResponseBody.d.ts +39 -0
- package/dist/models/DisableApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/GetApplicationResponseBodyApplication.d.ts +1 -0
- package/dist/models/GetApplicationResponseBodyApplication.js +2 -0
- package/dist/models/GetApplicationResponseBodyApplication.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +1 -0
- package/dist/models/ListApplicationsRequest.js +2 -0
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListJobsResponseBodyDataApplications.d.ts +1 -0
- package/dist/models/ListJobsResponseBodyDataApplications.js +2 -0
- package/dist/models/ListJobsResponseBodyDataApplications.js.map +1 -1
- package/dist/models/OpenSaeServiceResponseBody.d.ts +2 -2
- package/dist/models/RescaleApplicationVerticallyRequest.d.ts +31 -3
- package/dist/models/RescaleApplicationVerticallyRequest.js.map +1 -1
- package/dist/models/RescaleApplicationVerticallyResponseBody.d.ts +14 -14
- package/dist/models/RescaleApplicationVerticallyResponseBodyData.d.ts +1 -1
- package/dist/models/RestartApplicationRequest.d.ts +10 -0
- package/dist/models/RestartApplicationRequest.js.map +1 -1
- package/dist/models/SuspendJobRequest.d.ts +4 -1
- package/dist/models/SuspendJobRequest.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +11 -4
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/TagResourcesResponseBody.d.ts +21 -15
- package/dist/models/TagResourcesResponseBody.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +8 -5
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +15 -12
- package/dist/models/UntagResourcesResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +52 -20
- package/src/models/BatchStartApplicationsRequest.ts +1 -4
- package/src/models/BatchStopApplicationsRequest.ts +3 -1
- package/src/models/BindSlbRequest.ts +20 -0
- package/src/models/CreateApplicationRequest.ts +131 -3
- package/src/models/CreateApplicationShrinkRequest.ts +131 -3
- package/src/models/CreateSecretRequest.ts +4 -0
- package/src/models/CreateSecretRequestSecretData.ts +9 -0
- package/src/models/CreateSecretShrinkRequest.ts +4 -0
- package/src/models/DeleteApplicationScalingRuleResponseBody.ts +39 -0
- package/src/models/DeployApplicationRequest.ts +198 -0
- package/src/models/DeployApplicationShrinkRequest.ts +198 -0
- package/src/models/DescribeApplicationConfigResponseBodyData.ts +6 -0
- package/src/models/DescribeApplicationGroupsRequest.ts +3 -3
- package/src/models/DescribeApplicationGroupsResponseBody.ts +12 -12
- package/src/models/DescribeApplicationGroupsResponseBodyData.ts +12 -12
- package/src/models/DescribeApplicationInstancesRequest.ts +11 -0
- package/src/models/DescribeApplicationInstancesResponseBody.ts +1 -1
- package/src/models/DescribeApplicationInstancesResponseBodyData.ts +1 -1
- package/src/models/DescribeApplicationInstancesResponseBodyDataInstances.ts +26 -0
- package/src/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.ts +21 -0
- package/src/models/DescribeNamespaceListRequest.ts +3 -3
- package/src/models/DescribeNamespaceListResponseBody.ts +1 -1
- package/src/models/DisableApplicationScalingRuleResponseBody.ts +39 -0
- package/src/models/GetApplicationResponseBodyApplication.ts +3 -0
- package/src/models/ListApplicationsRequest.ts +3 -0
- package/src/models/ListJobsResponseBodyDataApplications.ts +3 -0
- package/src/models/OpenSaeServiceResponseBody.ts +2 -2
- package/src/models/RescaleApplicationVerticallyRequest.ts +31 -3
- package/src/models/RescaleApplicationVerticallyResponseBody.ts +14 -14
- package/src/models/RescaleApplicationVerticallyResponseBodyData.ts +1 -1
- package/src/models/RestartApplicationRequest.ts +10 -0
- package/src/models/SuspendJobRequest.ts +4 -1
- package/src/models/TagResourcesRequest.ts +11 -4
- package/src/models/TagResourcesResponseBody.ts +21 -15
- package/src/models/UntagResourcesRequest.ts +8 -5
- package/src/models/UntagResourcesResponseBody.ts +15 -12
|
@@ -113,6 +113,18 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
113
113
|
*/
|
|
114
114
|
configMapMountDesc?: string;
|
|
115
115
|
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:
|
|
118
|
+
*
|
|
119
|
+
* * **500**
|
|
120
|
+
* * **1000**
|
|
121
|
+
* * **2000**
|
|
122
|
+
* * **4000**
|
|
123
|
+
* * **8000**
|
|
124
|
+
* * **12000**
|
|
125
|
+
* * **16000**
|
|
126
|
+
* * **32000**
|
|
127
|
+
*
|
|
116
128
|
* @example
|
|
117
129
|
* 1000
|
|
118
130
|
*/
|
|
@@ -129,6 +141,13 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
129
141
|
*/
|
|
130
142
|
customHostAlias?: string;
|
|
131
143
|
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* Custom image type. To it to empty string to use pre-built image.
|
|
146
|
+
*
|
|
147
|
+
* - internet: Public network image
|
|
148
|
+
*
|
|
149
|
+
* - intranet: Private network image
|
|
150
|
+
*
|
|
132
151
|
* @example
|
|
133
152
|
* internet
|
|
134
153
|
*/
|
|
@@ -145,6 +164,15 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
145
164
|
*/
|
|
146
165
|
deploy?: string;
|
|
147
166
|
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The version of .NET
|
|
169
|
+
*
|
|
170
|
+
* - .NET 3.1
|
|
171
|
+
* - .NET 5.0
|
|
172
|
+
* - .NET 6.0
|
|
173
|
+
* - .NET 7.0
|
|
174
|
+
* - .NET 8.0
|
|
175
|
+
*
|
|
148
176
|
* @example
|
|
149
177
|
* .NET 3.1
|
|
150
178
|
*/
|
|
@@ -169,6 +197,13 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
169
197
|
*/
|
|
170
198
|
enableAhas?: string;
|
|
171
199
|
/**
|
|
200
|
+
* @remarks
|
|
201
|
+
* Enable CPU Burst.
|
|
202
|
+
*
|
|
203
|
+
* true: enable
|
|
204
|
+
*
|
|
205
|
+
* false: disable
|
|
206
|
+
*
|
|
172
207
|
* @example
|
|
173
208
|
* true
|
|
174
209
|
*/
|
|
@@ -185,11 +220,26 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
185
220
|
*/
|
|
186
221
|
enableGreyTagRoute?: boolean;
|
|
187
222
|
/**
|
|
223
|
+
* @remarks
|
|
224
|
+
* Enable new ARMS features.
|
|
225
|
+
*
|
|
226
|
+
* - true: enable
|
|
227
|
+
*
|
|
228
|
+
* - false: disable
|
|
229
|
+
*
|
|
188
230
|
* @example
|
|
189
231
|
* true
|
|
190
232
|
*/
|
|
191
233
|
enableNewArms?: boolean;
|
|
234
|
+
enablePrometheus?: boolean;
|
|
192
235
|
/**
|
|
236
|
+
* @remarks
|
|
237
|
+
* Enable Sidecar resource isolation.
|
|
238
|
+
*
|
|
239
|
+
* true: enable
|
|
240
|
+
*
|
|
241
|
+
* false: disable
|
|
242
|
+
*
|
|
193
243
|
* @example
|
|
194
244
|
* true
|
|
195
245
|
*/
|
|
@@ -210,6 +260,13 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
210
260
|
* * **configMapId**: the ConfigMap ID.
|
|
211
261
|
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
212
262
|
*
|
|
263
|
+
* * Reference secret dictionary
|
|
264
|
+
*
|
|
265
|
+
* * **name**: the name of the environment variable. You can reference one or all keys. If you want to reference all keys, specify `sae-sys-secret-all-<Secret dictionary name>`. Example: `sae-sys-secret-all-test1`.
|
|
266
|
+
* * **valueFrom**: the reference of the environment variable. Set the value to `secretRef`.
|
|
267
|
+
* * **secretId**: the secret dictionary ID.
|
|
268
|
+
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
269
|
+
*
|
|
213
270
|
* @example
|
|
214
271
|
* [{"name":"envtmp","value":"0"}]
|
|
215
272
|
*/
|
|
@@ -231,6 +288,10 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
231
288
|
* registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1
|
|
232
289
|
*/
|
|
233
290
|
imageUrl?: string;
|
|
291
|
+
/**
|
|
292
|
+
* @remarks
|
|
293
|
+
* Initialize container configuration.
|
|
294
|
+
*/
|
|
234
295
|
initContainersConfig?: InitContainerConfig[];
|
|
235
296
|
/**
|
|
236
297
|
* @remarks
|
|
@@ -304,6 +365,20 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
304
365
|
*/
|
|
305
366
|
liveness?: string;
|
|
306
367
|
/**
|
|
368
|
+
* @remarks
|
|
369
|
+
* The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:
|
|
370
|
+
*
|
|
371
|
+
* * This parameter is set to **1024** if the Cpu parameter is set to 500 or 1000.
|
|
372
|
+
* * This parameter is set to **2048** if the Cpu parameter is set to 500, 1000, or 2000.
|
|
373
|
+
* * This parameter is set to **4096** if the Cpu parameter is set to 1000, 2000, or 4000.
|
|
374
|
+
* * This parameter is set to **8192** if the Cpu parameter is set to 2000, 4000, or 8,000.
|
|
375
|
+
* * This parameter is set to **12288** if the Cpu parameter is set to 12000.
|
|
376
|
+
* * This parameter is set to **16384** if the Cpu parameter is set to 4000, 8000, or 16000.
|
|
377
|
+
* * This parameter is set to **24576** if the Cpu parameter is set to 12000.
|
|
378
|
+
* * This parameter is set to **32768** if the Cpu parameter is set to 16000.
|
|
379
|
+
* * This parameter is set to **65536** if the Cpu parameter is set to 8000, 16000, or 32000.
|
|
380
|
+
* * This parameter is set to **131072** if the Cpu parameter is set to 32000.
|
|
381
|
+
*
|
|
307
382
|
* @example
|
|
308
383
|
* 1024
|
|
309
384
|
*/
|
|
@@ -321,11 +396,45 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
321
396
|
*/
|
|
322
397
|
microRegistration?: string;
|
|
323
398
|
/**
|
|
399
|
+
* @remarks
|
|
400
|
+
* Select the edition of Nacos.
|
|
401
|
+
*
|
|
402
|
+
* - 0: SAE built-in Nacos. Unable to get the configuration of SAE built-in Nacos.
|
|
403
|
+
*
|
|
404
|
+
* - 1: Self-built Nacos from users.
|
|
405
|
+
*
|
|
406
|
+
* - 2: MSE enterprise Nacos.
|
|
407
|
+
*
|
|
324
408
|
* @example
|
|
325
409
|
* {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
|
|
326
410
|
*/
|
|
327
411
|
microRegistrationConfig?: string;
|
|
328
412
|
/**
|
|
413
|
+
* @remarks
|
|
414
|
+
* Configure Microservices Governance
|
|
415
|
+
*
|
|
416
|
+
* Whether to enable microservices governance (enable):
|
|
417
|
+
* - true: Enable
|
|
418
|
+
* - false: Disable
|
|
419
|
+
*
|
|
420
|
+
* Configure lossless online/offline deployment (mseLosslessRule):
|
|
421
|
+
*
|
|
422
|
+
* delayTime: Delay duration (unit: seconds)
|
|
423
|
+
*
|
|
424
|
+
* enable: Whether to enable lossless deployment
|
|
425
|
+
*
|
|
426
|
+
* - true: Enable
|
|
427
|
+
*
|
|
428
|
+
* - false: Disable
|
|
429
|
+
*
|
|
430
|
+
* notice: Whether to enable notifications
|
|
431
|
+
*
|
|
432
|
+
* - true: Enable
|
|
433
|
+
*
|
|
434
|
+
* - false: Disable
|
|
435
|
+
*
|
|
436
|
+
* warmupTime: Small-traffic warm-up duration (unit: seconds)
|
|
437
|
+
*
|
|
329
438
|
* @example
|
|
330
439
|
* {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
|
|
331
440
|
*/
|
|
@@ -395,6 +504,15 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
395
504
|
*/
|
|
396
505
|
nasId?: string;
|
|
397
506
|
/**
|
|
507
|
+
* @remarks
|
|
508
|
+
* SAE edition.
|
|
509
|
+
*
|
|
510
|
+
* - lite: the lightweight edition.
|
|
511
|
+
*
|
|
512
|
+
* - std: the standard edition.
|
|
513
|
+
*
|
|
514
|
+
* - pro: the professional edition.
|
|
515
|
+
*
|
|
398
516
|
* @example
|
|
399
517
|
* pro
|
|
400
518
|
*/
|
|
@@ -445,6 +563,28 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
445
563
|
*/
|
|
446
564
|
ossMountDescs?: string;
|
|
447
565
|
/**
|
|
566
|
+
* @remarks
|
|
567
|
+
* The package type.
|
|
568
|
+
*
|
|
569
|
+
* When using Java, FatJar, War and Image are supported.
|
|
570
|
+
* When using Python, PythonZip and Image are supported.
|
|
571
|
+
* When using PHP, the followings are supported:
|
|
572
|
+
* - PhpZip
|
|
573
|
+
* - IMAGE_PHP_5_4
|
|
574
|
+
* - IMAGE_PHP_5_4_ALPINE
|
|
575
|
+
* - IMAGE_PHP_5_5
|
|
576
|
+
* - IMAGE_PHP_5_5_ALPINE
|
|
577
|
+
* - IMAGE_PHP_5_6
|
|
578
|
+
* - IMAGE_PHP_5_6_ALPINE
|
|
579
|
+
* - IMAGE_PHP_7_0
|
|
580
|
+
* - IMAGE_PHP_7_0_ALPINE
|
|
581
|
+
* - IMAGE_PHP_7_1
|
|
582
|
+
* - IMAGE_PHP_7_1_ALPINE
|
|
583
|
+
* - IMAGE_PHP_7_2
|
|
584
|
+
* - IMAGE_PHP_7_2_ALPINE
|
|
585
|
+
* - IMAGE_PHP_7_3
|
|
586
|
+
* - IMAGE_PHP_7_3_ALPINE
|
|
587
|
+
*
|
|
448
588
|
* @example
|
|
449
589
|
* FatJar
|
|
450
590
|
*/
|
|
@@ -466,6 +606,9 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
466
606
|
*/
|
|
467
607
|
packageVersion?: string;
|
|
468
608
|
/**
|
|
609
|
+
* @remarks
|
|
610
|
+
* The dependent PHP version of PHP package. Image is not supported.
|
|
611
|
+
*
|
|
469
612
|
* @example
|
|
470
613
|
* PHP-FPM 7.0
|
|
471
614
|
*/
|
|
@@ -550,21 +693,40 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
550
693
|
*/
|
|
551
694
|
readiness?: string;
|
|
552
695
|
/**
|
|
696
|
+
* @remarks
|
|
697
|
+
* The number of instances.
|
|
698
|
+
*
|
|
553
699
|
* @example
|
|
554
700
|
* 1
|
|
555
701
|
*/
|
|
556
702
|
replicas?: number;
|
|
557
703
|
/**
|
|
704
|
+
* @remarks
|
|
705
|
+
* Secret Mount Description
|
|
706
|
+
* Use the secret dictionaries created in the Namespace Secret Dictionary page to inject information into containers. Parameter descriptions are as follows:
|
|
707
|
+
*
|
|
708
|
+
* - secretId: Secret instance ID. Obtain via the ListSecrets interface.
|
|
709
|
+
*
|
|
710
|
+
* - key: Key-value pair. Note: Set the parameter sae-sys-secret-all to mount all keys.
|
|
711
|
+
*
|
|
712
|
+
* - mountPath: Mount path.
|
|
713
|
+
*
|
|
558
714
|
* @example
|
|
559
715
|
* [{“secretId":10,”key":"test","mountPath":"/tmp"}]
|
|
560
716
|
*/
|
|
561
717
|
secretMountDesc?: string;
|
|
562
718
|
/**
|
|
719
|
+
* @remarks
|
|
720
|
+
* Security group ID.
|
|
721
|
+
*
|
|
563
722
|
* @example
|
|
564
723
|
* sg-wz969ngg2e49q5i4****
|
|
565
724
|
*/
|
|
566
725
|
securityGroupId?: string;
|
|
567
726
|
/**
|
|
727
|
+
* @remarks
|
|
728
|
+
* The gray-release tag of the application.
|
|
729
|
+
*
|
|
568
730
|
* @example
|
|
569
731
|
* {\\"alicloud.service.tag\\":\\"g1\\"}
|
|
570
732
|
*/
|
|
@@ -598,10 +760,41 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
598
760
|
*/
|
|
599
761
|
slsConfigs?: string;
|
|
600
762
|
/**
|
|
763
|
+
* @remarks
|
|
764
|
+
* Check Failure: Indicates that the application failed to start. The system will report the exception and automatically restart it.
|
|
765
|
+
*
|
|
766
|
+
* Note:
|
|
767
|
+
*
|
|
768
|
+
* Supports exec, httpGet, and tcpSocket methods. For specific examples, see Liveness Parameters.
|
|
769
|
+
* Only one method can be selected for health checks.
|
|
770
|
+
*
|
|
601
771
|
* @example
|
|
602
772
|
* {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
|
|
603
773
|
*/
|
|
604
774
|
startupProbe?: string;
|
|
775
|
+
/**
|
|
776
|
+
* @remarks
|
|
777
|
+
* Configure K8s Service-based Service Registration/Discovery and Full-Chain Grayscale Capabilities
|
|
778
|
+
*
|
|
779
|
+
* - enable: Whether to enable full-link grayscale based on K8s Service (set to "true" to enable; set to "false" to disable).
|
|
780
|
+
*
|
|
781
|
+
* - namespaceId: Namespace ID
|
|
782
|
+
*
|
|
783
|
+
* - portAndProtocol: Listener port and protocol. Format: {"Port:Protocol Type":"Container Port"}
|
|
784
|
+
* - portProtocols: Define service ports and protocols
|
|
785
|
+
* port: Port
|
|
786
|
+
* protocol: Protocol
|
|
787
|
+
* targetPort: Container port
|
|
788
|
+
*
|
|
789
|
+
* - pvtzDiscoveryName: Service discovery name
|
|
790
|
+
*
|
|
791
|
+
* - serviceId: Service ID
|
|
792
|
+
*
|
|
793
|
+
* - serviceName: Service name
|
|
794
|
+
*
|
|
795
|
+
* @example
|
|
796
|
+
* {\\"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\\"}
|
|
797
|
+
*/
|
|
605
798
|
swimlanePvtzDiscoverySvc?: string;
|
|
606
799
|
/**
|
|
607
800
|
* @remarks
|
|
@@ -658,6 +851,9 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
658
851
|
*/
|
|
659
852
|
updateStrategy?: string;
|
|
660
853
|
/**
|
|
854
|
+
* @remarks
|
|
855
|
+
* The ID of the vSwitch, where the EIP of the application instances resides. The vSwitch must reside in the VPC above.
|
|
856
|
+
*
|
|
661
857
|
* @example
|
|
662
858
|
* vsw-bp12mw1f8k3jgygk9****
|
|
663
859
|
*/
|
|
@@ -705,6 +901,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
705
901
|
enableCpuBurst: 'EnableCpuBurst',
|
|
706
902
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
707
903
|
enableNewArms: 'EnableNewArms',
|
|
904
|
+
enablePrometheus: 'EnablePrometheus',
|
|
708
905
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
709
906
|
envs: 'Envs',
|
|
710
907
|
gpuConfig: 'GpuConfig',
|
|
@@ -784,6 +981,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
784
981
|
enableCpuBurst: 'boolean',
|
|
785
982
|
enableGreyTagRoute: 'boolean',
|
|
786
983
|
enableNewArms: 'boolean',
|
|
984
|
+
enablePrometheus: 'boolean',
|
|
787
985
|
enableSidecarResourceIsolated: 'boolean',
|
|
788
986
|
envs: 'string',
|
|
789
987
|
gpuConfig: 'string',
|
|
@@ -111,6 +111,18 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
111
111
|
*/
|
|
112
112
|
configMapMountDesc?: string;
|
|
113
113
|
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:
|
|
116
|
+
*
|
|
117
|
+
* * **500**
|
|
118
|
+
* * **1000**
|
|
119
|
+
* * **2000**
|
|
120
|
+
* * **4000**
|
|
121
|
+
* * **8000**
|
|
122
|
+
* * **12000**
|
|
123
|
+
* * **16000**
|
|
124
|
+
* * **32000**
|
|
125
|
+
*
|
|
114
126
|
* @example
|
|
115
127
|
* 1000
|
|
116
128
|
*/
|
|
@@ -127,6 +139,13 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
127
139
|
*/
|
|
128
140
|
customHostAlias?: string;
|
|
129
141
|
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* Custom image type. To it to empty string to use pre-built image.
|
|
144
|
+
*
|
|
145
|
+
* - internet: Public network image
|
|
146
|
+
*
|
|
147
|
+
* - intranet: Private network image
|
|
148
|
+
*
|
|
130
149
|
* @example
|
|
131
150
|
* internet
|
|
132
151
|
*/
|
|
@@ -143,6 +162,15 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
143
162
|
*/
|
|
144
163
|
deploy?: string;
|
|
145
164
|
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The version of .NET
|
|
167
|
+
*
|
|
168
|
+
* - .NET 3.1
|
|
169
|
+
* - .NET 5.0
|
|
170
|
+
* - .NET 6.0
|
|
171
|
+
* - .NET 7.0
|
|
172
|
+
* - .NET 8.0
|
|
173
|
+
*
|
|
146
174
|
* @example
|
|
147
175
|
* .NET 3.1
|
|
148
176
|
*/
|
|
@@ -167,6 +195,13 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
167
195
|
*/
|
|
168
196
|
enableAhas?: string;
|
|
169
197
|
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* Enable CPU Burst.
|
|
200
|
+
*
|
|
201
|
+
* true: enable
|
|
202
|
+
*
|
|
203
|
+
* false: disable
|
|
204
|
+
*
|
|
170
205
|
* @example
|
|
171
206
|
* true
|
|
172
207
|
*/
|
|
@@ -183,11 +218,26 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
183
218
|
*/
|
|
184
219
|
enableGreyTagRoute?: boolean;
|
|
185
220
|
/**
|
|
221
|
+
* @remarks
|
|
222
|
+
* Enable new ARMS features.
|
|
223
|
+
*
|
|
224
|
+
* - true: enable
|
|
225
|
+
*
|
|
226
|
+
* - false: disable
|
|
227
|
+
*
|
|
186
228
|
* @example
|
|
187
229
|
* true
|
|
188
230
|
*/
|
|
189
231
|
enableNewArms?: boolean;
|
|
232
|
+
enablePrometheus?: boolean;
|
|
190
233
|
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* Enable Sidecar resource isolation.
|
|
236
|
+
*
|
|
237
|
+
* true: enable
|
|
238
|
+
*
|
|
239
|
+
* false: disable
|
|
240
|
+
*
|
|
191
241
|
* @example
|
|
192
242
|
* true
|
|
193
243
|
*/
|
|
@@ -208,6 +258,13 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
208
258
|
* * **configMapId**: the ConfigMap ID.
|
|
209
259
|
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
210
260
|
*
|
|
261
|
+
* * Reference secret dictionary
|
|
262
|
+
*
|
|
263
|
+
* * **name**: the name of the environment variable. You can reference one or all keys. If you want to reference all keys, specify `sae-sys-secret-all-<Secret dictionary name>`. Example: `sae-sys-secret-all-test1`.
|
|
264
|
+
* * **valueFrom**: the reference of the environment variable. Set the value to `secretRef`.
|
|
265
|
+
* * **secretId**: the secret dictionary ID.
|
|
266
|
+
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
267
|
+
*
|
|
211
268
|
* @example
|
|
212
269
|
* [{"name":"envtmp","value":"0"}]
|
|
213
270
|
*/
|
|
@@ -229,6 +286,10 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
229
286
|
* registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1
|
|
230
287
|
*/
|
|
231
288
|
imageUrl?: string;
|
|
289
|
+
/**
|
|
290
|
+
* @remarks
|
|
291
|
+
* Initialize container configuration.
|
|
292
|
+
*/
|
|
232
293
|
initContainersConfigShrink?: string;
|
|
233
294
|
/**
|
|
234
295
|
* @remarks
|
|
@@ -302,6 +363,20 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
302
363
|
*/
|
|
303
364
|
liveness?: string;
|
|
304
365
|
/**
|
|
366
|
+
* @remarks
|
|
367
|
+
* The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:
|
|
368
|
+
*
|
|
369
|
+
* * This parameter is set to **1024** if the Cpu parameter is set to 500 or 1000.
|
|
370
|
+
* * This parameter is set to **2048** if the Cpu parameter is set to 500, 1000, or 2000.
|
|
371
|
+
* * This parameter is set to **4096** if the Cpu parameter is set to 1000, 2000, or 4000.
|
|
372
|
+
* * This parameter is set to **8192** if the Cpu parameter is set to 2000, 4000, or 8,000.
|
|
373
|
+
* * This parameter is set to **12288** if the Cpu parameter is set to 12000.
|
|
374
|
+
* * This parameter is set to **16384** if the Cpu parameter is set to 4000, 8000, or 16000.
|
|
375
|
+
* * This parameter is set to **24576** if the Cpu parameter is set to 12000.
|
|
376
|
+
* * This parameter is set to **32768** if the Cpu parameter is set to 16000.
|
|
377
|
+
* * This parameter is set to **65536** if the Cpu parameter is set to 8000, 16000, or 32000.
|
|
378
|
+
* * This parameter is set to **131072** if the Cpu parameter is set to 32000.
|
|
379
|
+
*
|
|
305
380
|
* @example
|
|
306
381
|
* 1024
|
|
307
382
|
*/
|
|
@@ -319,11 +394,45 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
319
394
|
*/
|
|
320
395
|
microRegistration?: string;
|
|
321
396
|
/**
|
|
397
|
+
* @remarks
|
|
398
|
+
* Select the edition of Nacos.
|
|
399
|
+
*
|
|
400
|
+
* - 0: SAE built-in Nacos. Unable to get the configuration of SAE built-in Nacos.
|
|
401
|
+
*
|
|
402
|
+
* - 1: Self-built Nacos from users.
|
|
403
|
+
*
|
|
404
|
+
* - 2: MSE enterprise Nacos.
|
|
405
|
+
*
|
|
322
406
|
* @example
|
|
323
407
|
* {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
|
|
324
408
|
*/
|
|
325
409
|
microRegistrationConfig?: string;
|
|
326
410
|
/**
|
|
411
|
+
* @remarks
|
|
412
|
+
* Configure Microservices Governance
|
|
413
|
+
*
|
|
414
|
+
* Whether to enable microservices governance (enable):
|
|
415
|
+
* - true: Enable
|
|
416
|
+
* - false: Disable
|
|
417
|
+
*
|
|
418
|
+
* Configure lossless online/offline deployment (mseLosslessRule):
|
|
419
|
+
*
|
|
420
|
+
* delayTime: Delay duration (unit: seconds)
|
|
421
|
+
*
|
|
422
|
+
* enable: Whether to enable lossless deployment
|
|
423
|
+
*
|
|
424
|
+
* - true: Enable
|
|
425
|
+
*
|
|
426
|
+
* - false: Disable
|
|
427
|
+
*
|
|
428
|
+
* notice: Whether to enable notifications
|
|
429
|
+
*
|
|
430
|
+
* - true: Enable
|
|
431
|
+
*
|
|
432
|
+
* - false: Disable
|
|
433
|
+
*
|
|
434
|
+
* warmupTime: Small-traffic warm-up duration (unit: seconds)
|
|
435
|
+
*
|
|
327
436
|
* @example
|
|
328
437
|
* {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
|
|
329
438
|
*/
|
|
@@ -393,6 +502,15 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
393
502
|
*/
|
|
394
503
|
nasId?: string;
|
|
395
504
|
/**
|
|
505
|
+
* @remarks
|
|
506
|
+
* SAE edition.
|
|
507
|
+
*
|
|
508
|
+
* - lite: the lightweight edition.
|
|
509
|
+
*
|
|
510
|
+
* - std: the standard edition.
|
|
511
|
+
*
|
|
512
|
+
* - pro: the professional edition.
|
|
513
|
+
*
|
|
396
514
|
* @example
|
|
397
515
|
* pro
|
|
398
516
|
*/
|
|
@@ -443,6 +561,28 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
443
561
|
*/
|
|
444
562
|
ossMountDescs?: string;
|
|
445
563
|
/**
|
|
564
|
+
* @remarks
|
|
565
|
+
* The package type.
|
|
566
|
+
*
|
|
567
|
+
* When using Java, FatJar, War and Image are supported.
|
|
568
|
+
* When using Python, PythonZip and Image are supported.
|
|
569
|
+
* When using PHP, the followings are supported:
|
|
570
|
+
* - PhpZip
|
|
571
|
+
* - IMAGE_PHP_5_4
|
|
572
|
+
* - IMAGE_PHP_5_4_ALPINE
|
|
573
|
+
* - IMAGE_PHP_5_5
|
|
574
|
+
* - IMAGE_PHP_5_5_ALPINE
|
|
575
|
+
* - IMAGE_PHP_5_6
|
|
576
|
+
* - IMAGE_PHP_5_6_ALPINE
|
|
577
|
+
* - IMAGE_PHP_7_0
|
|
578
|
+
* - IMAGE_PHP_7_0_ALPINE
|
|
579
|
+
* - IMAGE_PHP_7_1
|
|
580
|
+
* - IMAGE_PHP_7_1_ALPINE
|
|
581
|
+
* - IMAGE_PHP_7_2
|
|
582
|
+
* - IMAGE_PHP_7_2_ALPINE
|
|
583
|
+
* - IMAGE_PHP_7_3
|
|
584
|
+
* - IMAGE_PHP_7_3_ALPINE
|
|
585
|
+
*
|
|
446
586
|
* @example
|
|
447
587
|
* FatJar
|
|
448
588
|
*/
|
|
@@ -464,6 +604,9 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
464
604
|
*/
|
|
465
605
|
packageVersion?: string;
|
|
466
606
|
/**
|
|
607
|
+
* @remarks
|
|
608
|
+
* The dependent PHP version of PHP package. Image is not supported.
|
|
609
|
+
*
|
|
467
610
|
* @example
|
|
468
611
|
* PHP-FPM 7.0
|
|
469
612
|
*/
|
|
@@ -548,21 +691,40 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
548
691
|
*/
|
|
549
692
|
readiness?: string;
|
|
550
693
|
/**
|
|
694
|
+
* @remarks
|
|
695
|
+
* The number of instances.
|
|
696
|
+
*
|
|
551
697
|
* @example
|
|
552
698
|
* 1
|
|
553
699
|
*/
|
|
554
700
|
replicas?: number;
|
|
555
701
|
/**
|
|
702
|
+
* @remarks
|
|
703
|
+
* Secret Mount Description
|
|
704
|
+
* Use the secret dictionaries created in the Namespace Secret Dictionary page to inject information into containers. Parameter descriptions are as follows:
|
|
705
|
+
*
|
|
706
|
+
* - secretId: Secret instance ID. Obtain via the ListSecrets interface.
|
|
707
|
+
*
|
|
708
|
+
* - key: Key-value pair. Note: Set the parameter sae-sys-secret-all to mount all keys.
|
|
709
|
+
*
|
|
710
|
+
* - mountPath: Mount path.
|
|
711
|
+
*
|
|
556
712
|
* @example
|
|
557
713
|
* [{“secretId":10,”key":"test","mountPath":"/tmp"}]
|
|
558
714
|
*/
|
|
559
715
|
secretMountDesc?: string;
|
|
560
716
|
/**
|
|
717
|
+
* @remarks
|
|
718
|
+
* Security group ID.
|
|
719
|
+
*
|
|
561
720
|
* @example
|
|
562
721
|
* sg-wz969ngg2e49q5i4****
|
|
563
722
|
*/
|
|
564
723
|
securityGroupId?: string;
|
|
565
724
|
/**
|
|
725
|
+
* @remarks
|
|
726
|
+
* The gray-release tag of the application.
|
|
727
|
+
*
|
|
566
728
|
* @example
|
|
567
729
|
* {\\"alicloud.service.tag\\":\\"g1\\"}
|
|
568
730
|
*/
|
|
@@ -596,10 +758,41 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
596
758
|
*/
|
|
597
759
|
slsConfigs?: string;
|
|
598
760
|
/**
|
|
761
|
+
* @remarks
|
|
762
|
+
* Check Failure: Indicates that the application failed to start. The system will report the exception and automatically restart it.
|
|
763
|
+
*
|
|
764
|
+
* Note:
|
|
765
|
+
*
|
|
766
|
+
* Supports exec, httpGet, and tcpSocket methods. For specific examples, see Liveness Parameters.
|
|
767
|
+
* Only one method can be selected for health checks.
|
|
768
|
+
*
|
|
599
769
|
* @example
|
|
600
770
|
* {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
|
|
601
771
|
*/
|
|
602
772
|
startupProbe?: string;
|
|
773
|
+
/**
|
|
774
|
+
* @remarks
|
|
775
|
+
* Configure K8s Service-based Service Registration/Discovery and Full-Chain Grayscale Capabilities
|
|
776
|
+
*
|
|
777
|
+
* - enable: Whether to enable full-link grayscale based on K8s Service (set to "true" to enable; set to "false" to disable).
|
|
778
|
+
*
|
|
779
|
+
* - namespaceId: Namespace ID
|
|
780
|
+
*
|
|
781
|
+
* - portAndProtocol: Listener port and protocol. Format: {"Port:Protocol Type":"Container Port"}
|
|
782
|
+
* - portProtocols: Define service ports and protocols
|
|
783
|
+
* port: Port
|
|
784
|
+
* protocol: Protocol
|
|
785
|
+
* targetPort: Container port
|
|
786
|
+
*
|
|
787
|
+
* - pvtzDiscoveryName: Service discovery name
|
|
788
|
+
*
|
|
789
|
+
* - serviceId: Service ID
|
|
790
|
+
*
|
|
791
|
+
* - serviceName: Service name
|
|
792
|
+
*
|
|
793
|
+
* @example
|
|
794
|
+
* {\\"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\\"}
|
|
795
|
+
*/
|
|
603
796
|
swimlanePvtzDiscoverySvc?: string;
|
|
604
797
|
/**
|
|
605
798
|
* @remarks
|
|
@@ -656,6 +849,9 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
656
849
|
*/
|
|
657
850
|
updateStrategy?: string;
|
|
658
851
|
/**
|
|
852
|
+
* @remarks
|
|
853
|
+
* The ID of the vSwitch, where the EIP of the application instances resides. The vSwitch must reside in the VPC above.
|
|
854
|
+
*
|
|
659
855
|
* @example
|
|
660
856
|
* vsw-bp12mw1f8k3jgygk9****
|
|
661
857
|
*/
|
|
@@ -703,6 +899,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
703
899
|
enableCpuBurst: 'EnableCpuBurst',
|
|
704
900
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
705
901
|
enableNewArms: 'EnableNewArms',
|
|
902
|
+
enablePrometheus: 'EnablePrometheus',
|
|
706
903
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
707
904
|
envs: 'Envs',
|
|
708
905
|
gpuConfig: 'GpuConfig',
|
|
@@ -782,6 +979,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
782
979
|
enableCpuBurst: 'boolean',
|
|
783
980
|
enableGreyTagRoute: 'boolean',
|
|
784
981
|
enableNewArms: 'boolean',
|
|
982
|
+
enablePrometheus: 'boolean',
|
|
785
983
|
enableSidecarResourceIsolated: 'boolean',
|
|
786
984
|
envs: 'string',
|
|
787
985
|
gpuConfig: 'string',
|