@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.
Files changed (111) hide show
  1. package/dist/client.d.ts +36 -20
  2. package/dist/client.js +48 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchStartApplicationsRequest.d.ts +1 -4
  5. package/dist/models/BatchStartApplicationsRequest.js.map +1 -1
  6. package/dist/models/BatchStopApplicationsRequest.d.ts +3 -1
  7. package/dist/models/BatchStopApplicationsRequest.js.map +1 -1
  8. package/dist/models/BindSlbRequest.d.ts +20 -0
  9. package/dist/models/BindSlbRequest.js.map +1 -1
  10. package/dist/models/CreateApplicationRequest.d.ts +127 -3
  11. package/dist/models/CreateApplicationRequest.js +4 -0
  12. package/dist/models/CreateApplicationRequest.js.map +1 -1
  13. package/dist/models/CreateApplicationShrinkRequest.d.ts +127 -3
  14. package/dist/models/CreateApplicationShrinkRequest.js +4 -0
  15. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  16. package/dist/models/CreateSecretRequest.d.ts +4 -0
  17. package/dist/models/CreateSecretRequest.js.map +1 -1
  18. package/dist/models/CreateSecretRequestSecretData.d.ts +9 -0
  19. package/dist/models/CreateSecretRequestSecretData.js.map +1 -1
  20. package/dist/models/CreateSecretShrinkRequest.d.ts +4 -0
  21. package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
  22. package/dist/models/DeleteApplicationScalingRuleResponseBody.d.ts +39 -0
  23. package/dist/models/DeleteApplicationScalingRuleResponseBody.js.map +1 -1
  24. package/dist/models/DeployApplicationRequest.d.ts +196 -0
  25. package/dist/models/DeployApplicationRequest.js +2 -0
  26. package/dist/models/DeployApplicationRequest.js.map +1 -1
  27. package/dist/models/DeployApplicationShrinkRequest.d.ts +196 -0
  28. package/dist/models/DeployApplicationShrinkRequest.js +2 -0
  29. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  30. package/dist/models/DescribeApplicationConfigResponseBodyData.d.ts +2 -0
  31. package/dist/models/DescribeApplicationConfigResponseBodyData.js +4 -0
  32. package/dist/models/DescribeApplicationConfigResponseBodyData.js.map +1 -1
  33. package/dist/models/DescribeApplicationGroupsRequest.d.ts +3 -3
  34. package/dist/models/DescribeApplicationGroupsResponseBody.d.ts +12 -12
  35. package/dist/models/DescribeApplicationGroupsResponseBodyData.d.ts +12 -12
  36. package/dist/models/DescribeApplicationInstancesRequest.d.ts +11 -0
  37. package/dist/models/DescribeApplicationInstancesRequest.js.map +1 -1
  38. package/dist/models/DescribeApplicationInstancesResponseBody.d.ts +1 -1
  39. package/dist/models/DescribeApplicationInstancesResponseBodyData.d.ts +1 -1
  40. package/dist/models/DescribeApplicationInstancesResponseBodyDataInstances.d.ts +26 -0
  41. package/dist/models/DescribeApplicationInstancesResponseBodyDataInstances.js.map +1 -1
  42. package/dist/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.d.ts +21 -0
  43. package/dist/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.js.map +1 -1
  44. package/dist/models/DescribeNamespaceListRequest.d.ts +3 -3
  45. package/dist/models/DescribeNamespaceListResponseBody.d.ts +1 -1
  46. package/dist/models/DisableApplicationScalingRuleResponseBody.d.ts +39 -0
  47. package/dist/models/DisableApplicationScalingRuleResponseBody.js.map +1 -1
  48. package/dist/models/GetApplicationResponseBodyApplication.d.ts +1 -0
  49. package/dist/models/GetApplicationResponseBodyApplication.js +2 -0
  50. package/dist/models/GetApplicationResponseBodyApplication.js.map +1 -1
  51. package/dist/models/ListApplicationsRequest.d.ts +1 -0
  52. package/dist/models/ListApplicationsRequest.js +2 -0
  53. package/dist/models/ListApplicationsRequest.js.map +1 -1
  54. package/dist/models/ListJobsResponseBodyDataApplications.d.ts +1 -0
  55. package/dist/models/ListJobsResponseBodyDataApplications.js +2 -0
  56. package/dist/models/ListJobsResponseBodyDataApplications.js.map +1 -1
  57. package/dist/models/OpenSaeServiceResponseBody.d.ts +2 -2
  58. package/dist/models/RescaleApplicationVerticallyRequest.d.ts +31 -3
  59. package/dist/models/RescaleApplicationVerticallyRequest.js.map +1 -1
  60. package/dist/models/RescaleApplicationVerticallyResponseBody.d.ts +14 -14
  61. package/dist/models/RescaleApplicationVerticallyResponseBodyData.d.ts +1 -1
  62. package/dist/models/RestartApplicationRequest.d.ts +10 -0
  63. package/dist/models/RestartApplicationRequest.js.map +1 -1
  64. package/dist/models/SuspendJobRequest.d.ts +4 -1
  65. package/dist/models/SuspendJobRequest.js.map +1 -1
  66. package/dist/models/TagResourcesRequest.d.ts +11 -4
  67. package/dist/models/TagResourcesRequest.js.map +1 -1
  68. package/dist/models/TagResourcesResponseBody.d.ts +21 -15
  69. package/dist/models/TagResourcesResponseBody.js.map +1 -1
  70. package/dist/models/UntagResourcesRequest.d.ts +8 -5
  71. package/dist/models/UntagResourcesRequest.js.map +1 -1
  72. package/dist/models/UntagResourcesResponseBody.d.ts +15 -12
  73. package/dist/models/UntagResourcesResponseBody.js.map +1 -1
  74. package/package.json +1 -1
  75. package/src/client.ts +52 -20
  76. package/src/models/BatchStartApplicationsRequest.ts +1 -4
  77. package/src/models/BatchStopApplicationsRequest.ts +3 -1
  78. package/src/models/BindSlbRequest.ts +20 -0
  79. package/src/models/CreateApplicationRequest.ts +131 -3
  80. package/src/models/CreateApplicationShrinkRequest.ts +131 -3
  81. package/src/models/CreateSecretRequest.ts +4 -0
  82. package/src/models/CreateSecretRequestSecretData.ts +9 -0
  83. package/src/models/CreateSecretShrinkRequest.ts +4 -0
  84. package/src/models/DeleteApplicationScalingRuleResponseBody.ts +39 -0
  85. package/src/models/DeployApplicationRequest.ts +198 -0
  86. package/src/models/DeployApplicationShrinkRequest.ts +198 -0
  87. package/src/models/DescribeApplicationConfigResponseBodyData.ts +6 -0
  88. package/src/models/DescribeApplicationGroupsRequest.ts +3 -3
  89. package/src/models/DescribeApplicationGroupsResponseBody.ts +12 -12
  90. package/src/models/DescribeApplicationGroupsResponseBodyData.ts +12 -12
  91. package/src/models/DescribeApplicationInstancesRequest.ts +11 -0
  92. package/src/models/DescribeApplicationInstancesResponseBody.ts +1 -1
  93. package/src/models/DescribeApplicationInstancesResponseBodyData.ts +1 -1
  94. package/src/models/DescribeApplicationInstancesResponseBodyDataInstances.ts +26 -0
  95. package/src/models/DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus.ts +21 -0
  96. package/src/models/DescribeNamespaceListRequest.ts +3 -3
  97. package/src/models/DescribeNamespaceListResponseBody.ts +1 -1
  98. package/src/models/DisableApplicationScalingRuleResponseBody.ts +39 -0
  99. package/src/models/GetApplicationResponseBodyApplication.ts +3 -0
  100. package/src/models/ListApplicationsRequest.ts +3 -0
  101. package/src/models/ListJobsResponseBodyDataApplications.ts +3 -0
  102. package/src/models/OpenSaeServiceResponseBody.ts +2 -2
  103. package/src/models/RescaleApplicationVerticallyRequest.ts +31 -3
  104. package/src/models/RescaleApplicationVerticallyResponseBody.ts +14 -14
  105. package/src/models/RescaleApplicationVerticallyResponseBodyData.ts +1 -1
  106. package/src/models/RestartApplicationRequest.ts +10 -0
  107. package/src/models/SuspendJobRequest.ts +4 -1
  108. package/src/models/TagResourcesRequest.ts +11 -4
  109. package/src/models/TagResourcesResponseBody.ts +21 -15
  110. package/src/models/UntagResourcesRequest.ts +8 -5
  111. package/src/models/UntagResourcesResponseBody.ts +15 -12
@@ -31,7 +31,7 @@ export class CreateApplicationRequest extends $dara.Model {
31
31
  appDescription?: string;
32
32
  /**
33
33
  * @remarks
34
- * test
34
+ * The name of the application. The name can contain digits, letters, and hyphens (-). The name must start with a letter and cannot end with a hyphen (-). It cannot exceed 36 characters in length.
35
35
  *
36
36
  * This parameter is required.
37
37
  *
@@ -39,6 +39,13 @@ export class CreateApplicationRequest extends $dara.Model {
39
39
  * test
40
40
  */
41
41
  appName?: string;
42
+ /**
43
+ * @remarks
44
+ * Select micro_service, which is the application.
45
+ *
46
+ * @example
47
+ * micro_service
48
+ */
42
49
  appSource?: string;
43
50
  /**
44
51
  * @remarks
@@ -50,12 +57,24 @@ export class CreateApplicationRequest extends $dara.Model {
50
57
  associateEip?: boolean;
51
58
  /**
52
59
  * @remarks
53
- * true
60
+ * Specifies whether to automatically configure the network environment. Valid values:
61
+ *
62
+ * * **true**: SAE automatically configures the network environment when you create the application. If you set this parameter to true, the values of the **NamespaceId**, **VpcId**, **vSwitchId**, and **SecurityGroupId** parameters are ignored.
63
+ * * **false**: SAE configures the network environment based on your settings when you create the application.
64
+ *
65
+ * > If you select **true**, other **NamespaceId** will be ignored.
54
66
  *
55
67
  * @example
56
68
  * true
57
69
  */
58
70
  autoConfig?: boolean;
71
+ /**
72
+ * @remarks
73
+ * The ID of the basic application.
74
+ *
75
+ * @example
76
+ * ee99cce6-1c8e-4bfa-96c3-3e2fa9de8a41
77
+ */
59
78
  baseAppId?: string;
60
79
  /**
61
80
  * @remarks
@@ -97,6 +116,10 @@ export class CreateApplicationRequest extends $dara.Model {
97
116
  * [{"hostName":"samplehost","ip":"127.0.0.1"}]
98
117
  */
99
118
  customHostAlias?: string;
119
+ /**
120
+ * @example
121
+ * internet
122
+ */
100
123
  customImageNetworkType?: string;
101
124
  /**
102
125
  * @remarks
@@ -106,7 +129,24 @@ export class CreateApplicationRequest extends $dara.Model {
106
129
  * true
107
130
  */
108
131
  deploy?: boolean;
132
+ /**
133
+ * @example
134
+ * 50
135
+ */
109
136
  diskSize?: number;
137
+ /**
138
+ * @remarks
139
+ * . NET Framework version number:
140
+ *
141
+ * * .NET 3.1
142
+ * * .NET 5.0
143
+ * * .NET 6.0
144
+ * * .NET 7.0
145
+ * * .NET 8.0
146
+ *
147
+ * @example
148
+ * .NET 3.1
149
+ */
110
150
  dotnet?: string;
111
151
  /**
112
152
  * @remarks
@@ -116,13 +156,48 @@ export class CreateApplicationRequest extends $dara.Model {
116
156
  * 3.5.3
117
157
  */
118
158
  edasContainerVersion?: string;
159
+ /**
160
+ * @example
161
+ * true
162
+ */
119
163
  enableCpuBurst?: boolean;
164
+ /**
165
+ * @example
166
+ * false
167
+ */
120
168
  enableEbpf?: string;
169
+ /**
170
+ * @remarks
171
+ * Indicates whether to enable the new ARMS feature:
172
+ *
173
+ * * true: enables this parameter.
174
+ * * false: disables this parameter.
175
+ *
176
+ * @example
177
+ * false
178
+ */
121
179
  enableNewArms?: boolean;
180
+ enablePrometheus?: boolean;
181
+ /**
182
+ * @example
183
+ * true
184
+ */
122
185
  enableSidecarResourceIsolated?: boolean;
123
186
  /**
124
187
  * @remarks
125
- * [{"name":"envtmp","value":"0"}]
188
+ * The environment variables. You can configure custom environment variables or reference a ConfigMap. Before you can reference a ConfigMap, you must create a ConfigMap. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Valid values:
189
+ *
190
+ * * Custom configuration
191
+ *
192
+ * * **name**: the name of the environment variable.
193
+ * * **value**: the value of the environment variable. The priority of the custom configuration is higher than valueFrom.
194
+ *
195
+ * * Reference a ConfigMap (valueFrom)
196
+ *
197
+ * * **name**: the name of the environment variable. You can reference one or all keys. To reference all keys, specify `sae-sys-configmap-all-<ConfigMap name>`. Example: `sae-sys-configmap-all-test1`.
198
+ * * **valueFrom**: the reference of the environment variable. Valid value: `configMapRef`.
199
+ * * **configMapId**: the ID of the ConfigMap.
200
+ * * **key**: the key. If you want to reference all key values, you do not need to configure this parameter.
126
201
  *
127
202
  * @example
128
203
  * [{"name":"envtmp","value":"0"}]
@@ -143,6 +218,7 @@ export class CreateApplicationRequest extends $dara.Model {
143
218
  */
144
219
  imageUrl?: string;
145
220
  initContainersConfig?: InitContainerConfig[];
221
+ isStateful?: boolean;
146
222
  /**
147
223
  * @remarks
148
224
  * custom-args
@@ -193,7 +269,18 @@ export class CreateApplicationRequest extends $dara.Model {
193
269
  * "0"
194
270
  */
195
271
  microRegistration?: string;
272
+ /**
273
+ * @remarks
274
+ * The Registry configurations.
275
+ *
276
+ * @example
277
+ * {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
278
+ */
196
279
  microRegistrationConfig?: string;
280
+ /**
281
+ * @example
282
+ * {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
283
+ */
197
284
  microserviceEngineConfig?: string;
198
285
  /**
199
286
  * @remarks
@@ -232,7 +319,15 @@ export class CreateApplicationRequest extends $dara.Model {
232
319
  * KSAK****
233
320
  */
234
321
  nasId?: string;
322
+ /**
323
+ * @example
324
+ * pro
325
+ */
235
326
  newSaeVersion?: string;
327
+ /**
328
+ * @example
329
+ * sae-test
330
+ */
236
331
  oidcRoleName?: string;
237
332
  /**
238
333
  * @remarks
@@ -367,8 +462,26 @@ export class CreateApplicationRequest extends $dara.Model {
367
462
  * 1
368
463
  */
369
464
  replicas?: number;
465
+ /**
466
+ * @example
467
+ * UNLL
468
+ */
370
469
  resourceType?: string;
470
+ /**
471
+ * @remarks
472
+ * The SAE version. Supported versions:
473
+ *
474
+ * * **v1**
475
+ * * **v2**
476
+ *
477
+ * @example
478
+ * v1
479
+ */
371
480
  saeVersion?: string;
481
+ /**
482
+ * @example
483
+ * [{“secretId":10,”key":"test","mountPath":"/tmp"}]
484
+ */
372
485
  secretMountDesc?: string;
373
486
  /**
374
487
  * @remarks
@@ -378,6 +491,13 @@ export class CreateApplicationRequest extends $dara.Model {
378
491
  * sg-wz969ngg2e49q5i4****
379
492
  */
380
493
  securityGroupId?: string;
494
+ /**
495
+ * @remarks
496
+ * The canary tag configured for the application.
497
+ *
498
+ * @example
499
+ * {\\"alicloud.service.tag\\":\\"g1\\"}
500
+ */
381
501
  serviceTags?: string;
382
502
  sidecarContainersConfig?: SidecarContainerConfig[];
383
503
  /**
@@ -388,6 +508,10 @@ export class CreateApplicationRequest extends $dara.Model {
388
508
  * [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
389
509
  */
390
510
  slsConfigs?: string;
511
+ /**
512
+ * @example
513
+ * {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
514
+ */
391
515
  startupProbe?: string;
392
516
  /**
393
517
  * @remarks
@@ -468,12 +592,14 @@ export class CreateApplicationRequest extends $dara.Model {
468
592
  enableCpuBurst: 'EnableCpuBurst',
469
593
  enableEbpf: 'EnableEbpf',
470
594
  enableNewArms: 'EnableNewArms',
595
+ enablePrometheus: 'EnablePrometheus',
471
596
  enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
472
597
  envs: 'Envs',
473
598
  gpuConfig: 'GpuConfig',
474
599
  imagePullSecrets: 'ImagePullSecrets',
475
600
  imageUrl: 'ImageUrl',
476
601
  initContainersConfig: 'InitContainersConfig',
602
+ isStateful: 'IsStateful',
477
603
  jarStartArgs: 'JarStartArgs',
478
604
  jarStartOptions: 'JarStartOptions',
479
605
  jdk: 'Jdk',
@@ -549,12 +675,14 @@ export class CreateApplicationRequest extends $dara.Model {
549
675
  enableCpuBurst: 'boolean',
550
676
  enableEbpf: 'string',
551
677
  enableNewArms: 'boolean',
678
+ enablePrometheus: 'boolean',
552
679
  enableSidecarResourceIsolated: 'boolean',
553
680
  envs: 'string',
554
681
  gpuConfig: 'string',
555
682
  imagePullSecrets: 'string',
556
683
  imageUrl: 'string',
557
684
  initContainersConfig: { 'type': 'array', 'itemType': InitContainerConfig },
685
+ isStateful: 'boolean',
558
686
  jarStartArgs: 'string',
559
687
  jarStartOptions: 'string',
560
688
  jdk: 'string',
@@ -29,7 +29,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
29
29
  appDescription?: string;
30
30
  /**
31
31
  * @remarks
32
- * test
32
+ * The name of the application. The name can contain digits, letters, and hyphens (-). The name must start with a letter and cannot end with a hyphen (-). It cannot exceed 36 characters in length.
33
33
  *
34
34
  * This parameter is required.
35
35
  *
@@ -37,6 +37,13 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
37
37
  * test
38
38
  */
39
39
  appName?: string;
40
+ /**
41
+ * @remarks
42
+ * Select micro_service, which is the application.
43
+ *
44
+ * @example
45
+ * micro_service
46
+ */
40
47
  appSource?: string;
41
48
  /**
42
49
  * @remarks
@@ -48,12 +55,24 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
48
55
  associateEip?: boolean;
49
56
  /**
50
57
  * @remarks
51
- * true
58
+ * Specifies whether to automatically configure the network environment. Valid values:
59
+ *
60
+ * * **true**: SAE automatically configures the network environment when you create the application. If you set this parameter to true, the values of the **NamespaceId**, **VpcId**, **vSwitchId**, and **SecurityGroupId** parameters are ignored.
61
+ * * **false**: SAE configures the network environment based on your settings when you create the application.
62
+ *
63
+ * > If you select **true**, other **NamespaceId** will be ignored.
52
64
  *
53
65
  * @example
54
66
  * true
55
67
  */
56
68
  autoConfig?: boolean;
69
+ /**
70
+ * @remarks
71
+ * The ID of the basic application.
72
+ *
73
+ * @example
74
+ * ee99cce6-1c8e-4bfa-96c3-3e2fa9de8a41
75
+ */
57
76
  baseAppId?: string;
58
77
  /**
59
78
  * @remarks
@@ -95,6 +114,10 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
95
114
  * [{"hostName":"samplehost","ip":"127.0.0.1"}]
96
115
  */
97
116
  customHostAlias?: string;
117
+ /**
118
+ * @example
119
+ * internet
120
+ */
98
121
  customImageNetworkType?: string;
99
122
  /**
100
123
  * @remarks
@@ -104,7 +127,24 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
104
127
  * true
105
128
  */
106
129
  deploy?: boolean;
130
+ /**
131
+ * @example
132
+ * 50
133
+ */
107
134
  diskSize?: number;
135
+ /**
136
+ * @remarks
137
+ * . NET Framework version number:
138
+ *
139
+ * * .NET 3.1
140
+ * * .NET 5.0
141
+ * * .NET 6.0
142
+ * * .NET 7.0
143
+ * * .NET 8.0
144
+ *
145
+ * @example
146
+ * .NET 3.1
147
+ */
108
148
  dotnet?: string;
109
149
  /**
110
150
  * @remarks
@@ -114,13 +154,48 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
114
154
  * 3.5.3
115
155
  */
116
156
  edasContainerVersion?: string;
157
+ /**
158
+ * @example
159
+ * true
160
+ */
117
161
  enableCpuBurst?: boolean;
162
+ /**
163
+ * @example
164
+ * false
165
+ */
118
166
  enableEbpf?: string;
167
+ /**
168
+ * @remarks
169
+ * Indicates whether to enable the new ARMS feature:
170
+ *
171
+ * * true: enables this parameter.
172
+ * * false: disables this parameter.
173
+ *
174
+ * @example
175
+ * false
176
+ */
119
177
  enableNewArms?: boolean;
178
+ enablePrometheus?: boolean;
179
+ /**
180
+ * @example
181
+ * true
182
+ */
120
183
  enableSidecarResourceIsolated?: boolean;
121
184
  /**
122
185
  * @remarks
123
- * [{"name":"envtmp","value":"0"}]
186
+ * The environment variables. You can configure custom environment variables or reference a ConfigMap. Before you can reference a ConfigMap, you must create a ConfigMap. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Valid values:
187
+ *
188
+ * * Custom configuration
189
+ *
190
+ * * **name**: the name of the environment variable.
191
+ * * **value**: the value of the environment variable. The priority of the custom configuration is higher than valueFrom.
192
+ *
193
+ * * Reference a ConfigMap (valueFrom)
194
+ *
195
+ * * **name**: the name of the environment variable. You can reference one or all keys. To reference all keys, specify `sae-sys-configmap-all-<ConfigMap name>`. Example: `sae-sys-configmap-all-test1`.
196
+ * * **valueFrom**: the reference of the environment variable. Valid value: `configMapRef`.
197
+ * * **configMapId**: the ID of the ConfigMap.
198
+ * * **key**: the key. If you want to reference all key values, you do not need to configure this parameter.
124
199
  *
125
200
  * @example
126
201
  * [{"name":"envtmp","value":"0"}]
@@ -141,6 +216,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
141
216
  */
142
217
  imageUrl?: string;
143
218
  initContainersConfigShrink?: string;
219
+ isStateful?: boolean;
144
220
  /**
145
221
  * @remarks
146
222
  * custom-args
@@ -191,7 +267,18 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
191
267
  * "0"
192
268
  */
193
269
  microRegistration?: string;
270
+ /**
271
+ * @remarks
272
+ * The Registry configurations.
273
+ *
274
+ * @example
275
+ * {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
276
+ */
194
277
  microRegistrationConfig?: string;
278
+ /**
279
+ * @example
280
+ * {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
281
+ */
195
282
  microserviceEngineConfig?: string;
196
283
  /**
197
284
  * @remarks
@@ -230,7 +317,15 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
230
317
  * KSAK****
231
318
  */
232
319
  nasId?: string;
320
+ /**
321
+ * @example
322
+ * pro
323
+ */
233
324
  newSaeVersion?: string;
325
+ /**
326
+ * @example
327
+ * sae-test
328
+ */
234
329
  oidcRoleName?: string;
235
330
  /**
236
331
  * @remarks
@@ -365,8 +460,26 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
365
460
  * 1
366
461
  */
367
462
  replicas?: number;
463
+ /**
464
+ * @example
465
+ * UNLL
466
+ */
368
467
  resourceType?: string;
468
+ /**
469
+ * @remarks
470
+ * The SAE version. Supported versions:
471
+ *
472
+ * * **v1**
473
+ * * **v2**
474
+ *
475
+ * @example
476
+ * v1
477
+ */
369
478
  saeVersion?: string;
479
+ /**
480
+ * @example
481
+ * [{“secretId":10,”key":"test","mountPath":"/tmp"}]
482
+ */
370
483
  secretMountDesc?: string;
371
484
  /**
372
485
  * @remarks
@@ -376,6 +489,13 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
376
489
  * sg-wz969ngg2e49q5i4****
377
490
  */
378
491
  securityGroupId?: string;
492
+ /**
493
+ * @remarks
494
+ * The canary tag configured for the application.
495
+ *
496
+ * @example
497
+ * {\\"alicloud.service.tag\\":\\"g1\\"}
498
+ */
379
499
  serviceTags?: string;
380
500
  sidecarContainersConfigShrink?: string;
381
501
  /**
@@ -386,6 +506,10 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
386
506
  * [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
387
507
  */
388
508
  slsConfigs?: string;
509
+ /**
510
+ * @example
511
+ * {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
512
+ */
389
513
  startupProbe?: string;
390
514
  /**
391
515
  * @remarks
@@ -466,12 +590,14 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
466
590
  enableCpuBurst: 'EnableCpuBurst',
467
591
  enableEbpf: 'EnableEbpf',
468
592
  enableNewArms: 'EnableNewArms',
593
+ enablePrometheus: 'EnablePrometheus',
469
594
  enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
470
595
  envs: 'Envs',
471
596
  gpuConfig: 'GpuConfig',
472
597
  imagePullSecrets: 'ImagePullSecrets',
473
598
  imageUrl: 'ImageUrl',
474
599
  initContainersConfigShrink: 'InitContainersConfig',
600
+ isStateful: 'IsStateful',
475
601
  jarStartArgs: 'JarStartArgs',
476
602
  jarStartOptions: 'JarStartOptions',
477
603
  jdk: 'Jdk',
@@ -547,12 +673,14 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
547
673
  enableCpuBurst: 'boolean',
548
674
  enableEbpf: 'string',
549
675
  enableNewArms: 'boolean',
676
+ enablePrometheus: 'boolean',
550
677
  enableSidecarResourceIsolated: 'boolean',
551
678
  envs: 'string',
552
679
  gpuConfig: 'string',
553
680
  imagePullSecrets: 'string',
554
681
  imageUrl: 'string',
555
682
  initContainersConfigShrink: 'string',
683
+ isStateful: 'boolean',
556
684
  jarStartArgs: 'string',
557
685
  jarStartOptions: 'string',
558
686
  jdk: 'string',
@@ -6,6 +6,8 @@ import { CreateSecretRequestSecretData } from "./CreateSecretRequestSecretData";
6
6
  export class CreateSecretRequest extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
+ * The ID of the namespace where the Secret resides. If the namespace is the default namespace, you need to only enter the region ID, such as `cn-beijing`.
10
+ *
9
11
  * This parameter is required.
10
12
  *
11
13
  * @example
@@ -14,6 +16,8 @@ export class CreateSecretRequest extends $dara.Model {
14
16
  namespaceId?: string;
15
17
  /**
16
18
  * @remarks
19
+ * The Secret data.
20
+ *
17
21
  * This parameter is required.
18
22
  */
19
23
  secretData?: CreateSecretRequestSecretData;
@@ -5,7 +5,16 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateSecretRequestSecretData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The information about the key-value pairs of the Secret. This parameter is required. The following formats are supported:
9
+ *
10
+ * {"Data":"{"k1":"v1", "k2":"v2"}"}
11
+ *
12
+ * k specifies a key and v specifies a value.
13
+ *
8
14
  * This parameter is required.
15
+ *
16
+ * @example
17
+ * {".dockerconfigjson":"eyJhdXRocyI6eyJyZWdpc3RyeS12cGMuY24tYmVpamluZy5hbGl5dW5jcy5jb20iOnsidXNlcm5hbWUiOiJ1c2VybmFtZSIsInBhc3N3b3JkIjoicGFzc3dvcmQiLCJhdXRoIjoiZFhObGNtNWhiV1U2Y0dGemMzZHZjbVE9In0sInJlZ2lzdHJ5LmNuLWJlaWppbmcuYWxpeXVuY3MuY29tIjp7InVzZXJuYW1lIjoidXNlcm5hbWUiLCJwYXNzd29yZCI6InBhc3N3b3JkIiwiYXV0aCI6ImRYTmxjbTVoYldVNmNHRnpjM2R2Y21RPSJ9fX0="}
9
18
  */
10
19
  secretData?: string;
11
20
  static names(): { [key: string]: string } {
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateSecretShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The ID of the namespace where the Secret resides. If the namespace is the default namespace, you need to only enter the region ID, such as `cn-beijing`.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class CreateSecretShrinkRequest extends $dara.Model {
13
15
  namespaceId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The Secret data.
19
+ *
16
20
  * This parameter is required.
17
21
  */
18
22
  secretDataShrink?: string;
@@ -3,14 +3,53 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DeleteApplicationScalingRuleResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The HTTP status code. Valid values:
9
+ *
10
+ * * **2xx**: The request was successful.
11
+ * * **3xx**: The request was redirected.
12
+ * * **4xx**: The request failed.
13
+ * * **5xx**: A server error occurred.
14
+ *
15
+ * @example
16
+ * 200
17
+ */
6
18
  code?: string;
19
+ /**
20
+ * @remarks
21
+ * The error code. Valid values:
22
+ *
23
+ * * If the request was successful, **ErrorCode** is not returned.
24
+ * * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** section of this topic.
25
+ */
7
26
  errorCode?: string;
27
+ /**
28
+ * @remarks
29
+ * The message returned. Valid values:
30
+ *
31
+ * * If the request was successful, **success** is returned.
32
+ * * If the request failed, an error code is returned.
33
+ *
34
+ * @example
35
+ * success
36
+ */
8
37
  message?: string;
9
38
  /**
10
39
  * @example
11
40
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
12
41
  */
13
42
  requestId?: string;
43
+ /**
44
+ * @remarks
45
+ * Indicates whether the auto scaling policy was deleted. Valid values:
46
+ *
47
+ * * **true**: The policy was deleted.
48
+ * * **false**: The policy failed to be deleted.
49
+ *
50
+ * @example
51
+ * true
52
+ */
14
53
  success?: boolean;
15
54
  /**
16
55
  * @example