@alicloud/sae20190506 2.9.0 → 2.9.1
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 +16 -14
- package/dist/client.js +31 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +3 -0
- package/dist/models/CreateApplicationRequest.js +6 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
- package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
- package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
- package/dist/models/CreateApplicationShrinkRequest.js +6 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateIngressRequest.d.ts +30 -26
- package/dist/models/CreateIngressRequest.js.map +1 -1
- package/dist/models/CreateIngressResponseBody.d.ts +15 -15
- package/dist/models/CreateSecretRequest.d.ts +12 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretResponseBody.d.ts +40 -0
- package/dist/models/CreateSecretResponseBody.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +2 -0
- package/dist/models/DeployApplicationRequest.js +4 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js +4 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
- package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
- package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
- package/dist/models/GetWebshellTokenRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBody.d.ts +43 -1
- package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
- package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
- package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
- package/dist/models/UpdateIngressRequest.d.ts +12 -12
- package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
- package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
- package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -14
- package/src/models/CreateApplicationRequest.ts +9 -0
- package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
- package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
- package/src/models/CreateApplicationShrinkRequest.ts +9 -0
- package/src/models/CreateIngressRequest.ts +30 -26
- package/src/models/CreateIngressResponseBody.ts +15 -15
- package/src/models/CreateSecretRequest.ts +12 -0
- package/src/models/CreateSecretResponseBody.ts +40 -0
- package/src/models/CreateSecretShrinkRequest.ts +12 -0
- package/src/models/DeployApplicationRequest.ts +6 -0
- package/src/models/DeployApplicationShrinkRequest.ts +6 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
- package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
- package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
- package/src/models/GetWebshellTokenRequest.ts +6 -2
- package/src/models/GetWebshellTokenResponseBody.ts +43 -1
- package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
- package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
- package/src/models/UpdateIngressRequest.ts +12 -12
- package/src/models/UpdateIngressResponseBody.ts +11 -11
- package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
|
@@ -4,31 +4,69 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateApplicationScalingRuleResponseBodyDataMetricMetrics extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The limit on the metric.
|
|
9
|
+
*
|
|
10
|
+
* * The limit on the CPU utilization. Unit: percentage.
|
|
11
|
+
* * The limit on the memory usage. Unit: percentage.
|
|
12
|
+
* * The limit on the queries per second (QPS). Unit: seconds.
|
|
13
|
+
* * The limit on the response time. Unit: milliseconds.
|
|
14
|
+
* * The limit on the average number of active TCP connections per second.
|
|
15
|
+
* * The limit on the QPS of the Internet-facing SLB instance.
|
|
16
|
+
* * The limit on the response time of the Internet-facing SLB instance. Unit: milliseconds.
|
|
17
|
+
* * The limit on the QPS of the internal-facing SLB instance.
|
|
18
|
+
* * The limit on the response time of the internal-facing SLB instance. Unit: milliseconds.
|
|
19
|
+
*
|
|
7
20
|
* @example
|
|
8
21
|
* 20
|
|
9
22
|
*/
|
|
10
23
|
metricTargetAverageUtilization?: number;
|
|
11
24
|
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The metric that is used to trigger the auto scaling policy. Valid values:
|
|
27
|
+
*
|
|
28
|
+
* * **CPU**: the CPU utilization.
|
|
29
|
+
* * **MEMORY**: the memory usage.
|
|
30
|
+
* * **QPS**: the average QPS within 1 minute per Java application instance.
|
|
31
|
+
* * **RT**: the average response time of all API operations within 1 minute in the Java application.
|
|
32
|
+
* * **tcpActiveConn**: the average number of active TCP connections within 30 seconds per instance.
|
|
33
|
+
* * **SLB_QPS**: the average QPS of the Internet-facing SLB instance within 15 seconds per instance.
|
|
34
|
+
* * **SLB_RT**: the average response time of the Internet-facing SLB instance within 15 seconds.
|
|
35
|
+
* * **INTRANET_SLB_QPS**: the average QPS of the internal-facing SLB instance within 15 seconds per instance.
|
|
36
|
+
* * **INTRANET_SLB_RT**: the average response time of the internal-facing SLB instance within 15 seconds.
|
|
37
|
+
*
|
|
12
38
|
* @example
|
|
13
39
|
* CPU
|
|
14
40
|
*/
|
|
15
41
|
metricType?: string;
|
|
16
42
|
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The ID of the SLB instance.
|
|
45
|
+
*
|
|
17
46
|
* @example
|
|
18
47
|
* lb-xxx
|
|
19
48
|
*/
|
|
20
49
|
slbId?: string;
|
|
21
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The Logstore that stores the SLB access logs.
|
|
53
|
+
*
|
|
22
54
|
* @example
|
|
23
55
|
* test
|
|
24
56
|
*/
|
|
25
57
|
slbLogstore?: string;
|
|
26
58
|
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The project that stores the SLB access logs.
|
|
61
|
+
*
|
|
27
62
|
* @example
|
|
28
63
|
* test
|
|
29
64
|
*/
|
|
30
65
|
slbProject?: string;
|
|
31
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The port number of the SLB instance.
|
|
69
|
+
*
|
|
32
70
|
* @example
|
|
33
71
|
* 80
|
|
34
72
|
*/
|
|
@@ -66,12 +104,22 @@ export class CreateApplicationScalingRuleResponseBodyDataMetricMetrics extends $
|
|
|
66
104
|
|
|
67
105
|
export class CreateApplicationScalingRuleResponseBodyDataMetric extends $dara.Model {
|
|
68
106
|
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The maximum number of Elastic Compute Service (ECS) instances supported by the node pool.
|
|
109
|
+
*
|
|
69
110
|
* @example
|
|
70
111
|
* 3
|
|
71
112
|
*/
|
|
72
113
|
maxReplicas?: number;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The metrics that are used to trigger the auto scaling policy.
|
|
117
|
+
*/
|
|
73
118
|
metrics?: CreateApplicationScalingRuleResponseBodyDataMetricMetrics[];
|
|
74
119
|
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The minimum number of instances.
|
|
122
|
+
*
|
|
75
123
|
* @example
|
|
76
124
|
* 1
|
|
77
125
|
*/
|
|
@@ -106,21 +154,33 @@ export class CreateApplicationScalingRuleResponseBodyDataMetric extends $dara.Mo
|
|
|
106
154
|
|
|
107
155
|
export class CreateApplicationScalingRuleResponseBodyDataTimerSchedules extends $dara.Model {
|
|
108
156
|
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The point in time. Format: **Hour:Minute**.
|
|
159
|
+
*
|
|
109
160
|
* @example
|
|
110
161
|
* 08:00
|
|
111
162
|
*/
|
|
112
163
|
atTime?: string;
|
|
113
164
|
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The maximum number of instances.
|
|
167
|
+
*
|
|
114
168
|
* @example
|
|
115
169
|
* 10
|
|
116
170
|
*/
|
|
117
171
|
maxReplicas?: number;
|
|
118
172
|
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The minimum number of instances.
|
|
175
|
+
*
|
|
119
176
|
* @example
|
|
120
177
|
* 5
|
|
121
178
|
*/
|
|
122
179
|
minReplicas?: number;
|
|
123
180
|
/**
|
|
181
|
+
* @remarks
|
|
182
|
+
* The expected number of instances.
|
|
183
|
+
*
|
|
124
184
|
* @example
|
|
125
185
|
* 3
|
|
126
186
|
*/
|
|
@@ -154,20 +214,53 @@ export class CreateApplicationScalingRuleResponseBodyDataTimerSchedules extends
|
|
|
154
214
|
|
|
155
215
|
export class CreateApplicationScalingRuleResponseBodyDataTimer extends $dara.Model {
|
|
156
216
|
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The start date of the validity period of the scheduled auto scaling policy.
|
|
219
|
+
*
|
|
220
|
+
* * **null** (default): If you set **BeginDate** and **EndDate** to null, the scheduled auto scaling policy can always be triggered.
|
|
221
|
+
* * If the two parameters are set to specific dates, the scheduled auto scaling policy can be triggered during the period between the two dates. For example, if **BeginDate** is set to 2021-03-25 and **EndDate** is set to 2021-04-25, the auto scaling policy is valid for one month.
|
|
222
|
+
*
|
|
157
223
|
* @example
|
|
158
224
|
* 2021-03-25
|
|
159
225
|
*/
|
|
160
226
|
beginDate?: string;
|
|
161
227
|
/**
|
|
228
|
+
* @remarks
|
|
229
|
+
* The end date of the validity period of the scheduled auto scaling policy.
|
|
230
|
+
*
|
|
231
|
+
* * **null** (default): If you set **BeginDate** and **EndDate** to null, the scheduled auto scaling policy can always be triggered.
|
|
232
|
+
* * If the two parameters are set to specific dates, the scheduled auto scaling policy can be triggered during the period between the two dates. For example, if **BeginDate** is set to 2021-03-25 and **EndDate** is set to 2021-04-25, the auto scaling policy is valid for one month.
|
|
233
|
+
*
|
|
162
234
|
* @example
|
|
163
235
|
* 2021-04-25
|
|
164
236
|
*/
|
|
165
237
|
endDate?: string;
|
|
166
238
|
/**
|
|
239
|
+
* @remarks
|
|
240
|
+
* The days on which the scheduled auto scaling policy takes effect. Valid values:
|
|
241
|
+
*
|
|
242
|
+
* * **\\* \\* \\***: The scheduled auto scaling policy is executed at a specified point in time every day.
|
|
243
|
+
*
|
|
244
|
+
* * **\\* \\* Fri,Mon**: The scheduled auto scaling policy is executed at a specified point in time on one or more days every week. The time must be in GMT+8. Valid values:
|
|
245
|
+
*
|
|
246
|
+
* * **Sun**: Sunday
|
|
247
|
+
* * **Mon**: Monday
|
|
248
|
+
* * **Tue**: Tuesday
|
|
249
|
+
* * **Wed**: Wednesday
|
|
250
|
+
* * **Thu**: Thursday
|
|
251
|
+
* * **Fri**: Friday
|
|
252
|
+
* * **Sat**: Saturday
|
|
253
|
+
*
|
|
254
|
+
* * **1,2,3,28,31 \\* \\***: The scheduled auto scaling policy is executed at a specified point in time on one or more dates of each month. Valid values: 1 to 31. If a month does not have the 31st day, the auto scaling policy is executed on the specified days other than the 31st day.
|
|
255
|
+
*
|
|
167
256
|
* @example
|
|
168
257
|
* * * *
|
|
169
258
|
*/
|
|
170
259
|
period?: string;
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The points in time at which the auto scaling policy is triggered within one day.
|
|
263
|
+
*/
|
|
171
264
|
schedules?: CreateApplicationScalingRuleResponseBodyDataTimerSchedules[];
|
|
172
265
|
static names(): { [key: string]: string } {
|
|
173
266
|
return {
|
|
@@ -201,39 +294,75 @@ export class CreateApplicationScalingRuleResponseBodyDataTimer extends $dara.Mod
|
|
|
201
294
|
|
|
202
295
|
export class CreateApplicationScalingRuleResponseBodyData extends $dara.Model {
|
|
203
296
|
/**
|
|
297
|
+
* @remarks
|
|
298
|
+
* null
|
|
299
|
+
*
|
|
204
300
|
* @example
|
|
205
301
|
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
206
302
|
*/
|
|
207
303
|
appId?: string;
|
|
208
304
|
/**
|
|
305
|
+
* @remarks
|
|
306
|
+
* null null
|
|
307
|
+
*
|
|
209
308
|
* @example
|
|
210
309
|
* 1616642248938
|
|
211
310
|
*/
|
|
212
311
|
createTime?: number;
|
|
213
312
|
enableIdle?: boolean;
|
|
214
313
|
/**
|
|
314
|
+
* @remarks
|
|
315
|
+
* null
|
|
316
|
+
*
|
|
215
317
|
* @example
|
|
216
318
|
* 1641882854484
|
|
217
319
|
*/
|
|
218
320
|
lastDisableTime?: number;
|
|
321
|
+
/**
|
|
322
|
+
* @remarks
|
|
323
|
+
* The details of the metric-based auto scaling policy.
|
|
324
|
+
*/
|
|
219
325
|
metric?: CreateApplicationScalingRuleResponseBodyDataMetric;
|
|
220
326
|
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* null null
|
|
329
|
+
*
|
|
330
|
+
* * **null**
|
|
331
|
+
* * **null**
|
|
332
|
+
*
|
|
221
333
|
* @example
|
|
222
334
|
* true
|
|
223
335
|
*/
|
|
224
336
|
scaleRuleEnabled?: boolean;
|
|
225
337
|
/**
|
|
338
|
+
* @remarks
|
|
339
|
+
* The name of the auto scaling policy.
|
|
340
|
+
*
|
|
226
341
|
* @example
|
|
227
342
|
* test
|
|
228
343
|
*/
|
|
229
344
|
scaleRuleName?: string;
|
|
230
345
|
/**
|
|
346
|
+
* @remarks
|
|
347
|
+
* null null
|
|
348
|
+
*
|
|
349
|
+
* * **null**
|
|
350
|
+
* * **metric**: a metric-based auto scaling policy.
|
|
351
|
+
* * **mix**: a hybrid auto scaling policy.
|
|
352
|
+
*
|
|
231
353
|
* @example
|
|
232
354
|
* timing
|
|
233
355
|
*/
|
|
234
356
|
scaleRuleType?: string;
|
|
357
|
+
/**
|
|
358
|
+
* @remarks
|
|
359
|
+
* The details of the scheduled auto scaling policy.
|
|
360
|
+
*/
|
|
235
361
|
timer?: CreateApplicationScalingRuleResponseBodyDataTimer;
|
|
236
362
|
/**
|
|
363
|
+
* @remarks
|
|
364
|
+
* null null
|
|
365
|
+
*
|
|
237
366
|
* @example
|
|
238
367
|
* 1616642248938
|
|
239
368
|
*/
|
|
@@ -285,28 +414,65 @@ export class CreateApplicationScalingRuleResponseBodyData extends $dara.Model {
|
|
|
285
414
|
|
|
286
415
|
export class CreateApplicationScalingRuleResponseBody extends $dara.Model {
|
|
287
416
|
/**
|
|
417
|
+
* @remarks
|
|
418
|
+
* The HTTP status code or the error code. Valid values:
|
|
419
|
+
*
|
|
420
|
+
* * **2xx**: The request was successful.
|
|
421
|
+
* * **3xx**: The request was redirected.
|
|
422
|
+
* * **4xx**: The request failed.
|
|
423
|
+
* * **5xx**: A server error occurred.
|
|
424
|
+
*
|
|
288
425
|
* @example
|
|
289
426
|
* 200
|
|
290
427
|
*/
|
|
291
428
|
code?: string;
|
|
429
|
+
/**
|
|
430
|
+
* @remarks
|
|
431
|
+
* The returned result.
|
|
432
|
+
*/
|
|
292
433
|
data?: CreateApplicationScalingRuleResponseBodyData;
|
|
434
|
+
/**
|
|
435
|
+
* @remarks
|
|
436
|
+
* The status code. Value values:
|
|
437
|
+
*
|
|
438
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
439
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
440
|
+
*/
|
|
293
441
|
errorCode?: string;
|
|
294
442
|
/**
|
|
443
|
+
* @remarks
|
|
444
|
+
* The message returned. The following limits are imposed on the ID:
|
|
445
|
+
*
|
|
446
|
+
* * If the request was successful, **success** is returned.
|
|
447
|
+
* * An error code is returned when a request failed.
|
|
448
|
+
*
|
|
295
449
|
* @example
|
|
296
450
|
* success
|
|
297
451
|
*/
|
|
298
452
|
message?: string;
|
|
299
453
|
/**
|
|
454
|
+
* @remarks
|
|
455
|
+
* Request ID.
|
|
456
|
+
*
|
|
300
457
|
* @example
|
|
301
458
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
302
459
|
*/
|
|
303
460
|
requestId?: string;
|
|
304
461
|
/**
|
|
462
|
+
* @remarks
|
|
463
|
+
* Indicates whether the application instances were restarted. Valid values:
|
|
464
|
+
*
|
|
465
|
+
* * **true**: The application instances were restarted.
|
|
466
|
+
* * **false**: The application instances failed to be restarted.
|
|
467
|
+
*
|
|
305
468
|
* @example
|
|
306
469
|
* true
|
|
307
470
|
*/
|
|
308
471
|
success?: boolean;
|
|
309
472
|
/**
|
|
473
|
+
* @remarks
|
|
474
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
475
|
+
*
|
|
310
476
|
* @example
|
|
311
477
|
* 0a98a02315955564772843261e****
|
|
312
478
|
*/
|
|
@@ -19,6 +19,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
19
19
|
* cri-xxxxxx
|
|
20
20
|
*/
|
|
21
21
|
acrInstanceId?: string;
|
|
22
|
+
agentVersion?: string;
|
|
22
23
|
/**
|
|
23
24
|
* @remarks
|
|
24
25
|
* The description of the template. The description cannot exceed 1,024 characters in length.
|
|
@@ -223,6 +224,8 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
223
224
|
* false
|
|
224
225
|
*/
|
|
225
226
|
enableEbpf?: string;
|
|
227
|
+
enableNamespaceAgentVersion?: boolean;
|
|
228
|
+
enableNamespaceSlsConfig?: boolean;
|
|
226
229
|
/**
|
|
227
230
|
* @remarks
|
|
228
231
|
* Indicates whether to enable the new ARMS feature:
|
|
@@ -845,6 +848,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
845
848
|
return {
|
|
846
849
|
acrAssumeRoleArn: 'AcrAssumeRoleArn',
|
|
847
850
|
acrInstanceId: 'AcrInstanceId',
|
|
851
|
+
agentVersion: 'AgentVersion',
|
|
848
852
|
appDescription: 'AppDescription',
|
|
849
853
|
appName: 'AppName',
|
|
850
854
|
appSource: 'AppSource',
|
|
@@ -864,6 +868,8 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
864
868
|
emptyDirDesc: 'EmptyDirDesc',
|
|
865
869
|
enableCpuBurst: 'EnableCpuBurst',
|
|
866
870
|
enableEbpf: 'EnableEbpf',
|
|
871
|
+
enableNamespaceAgentVersion: 'EnableNamespaceAgentVersion',
|
|
872
|
+
enableNamespaceSlsConfig: 'EnableNamespaceSlsConfig',
|
|
867
873
|
enableNewArms: 'EnableNewArms',
|
|
868
874
|
enablePrometheus: 'EnablePrometheus',
|
|
869
875
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
@@ -931,6 +937,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
931
937
|
return {
|
|
932
938
|
acrAssumeRoleArn: 'string',
|
|
933
939
|
acrInstanceId: 'string',
|
|
940
|
+
agentVersion: 'string',
|
|
934
941
|
appDescription: 'string',
|
|
935
942
|
appName: 'string',
|
|
936
943
|
appSource: 'string',
|
|
@@ -950,6 +957,8 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
950
957
|
emptyDirDesc: 'string',
|
|
951
958
|
enableCpuBurst: 'boolean',
|
|
952
959
|
enableEbpf: 'string',
|
|
960
|
+
enableNamespaceAgentVersion: 'boolean',
|
|
961
|
+
enableNamespaceSlsConfig: 'boolean',
|
|
953
962
|
enableNewArms: 'boolean',
|
|
954
963
|
enablePrometheus: 'boolean',
|
|
955
964
|
enableSidecarResourceIsolated: 'boolean',
|
|
@@ -6,11 +6,11 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
6
6
|
addressType?: string;
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The ID of the
|
|
9
|
+
* The ID of the **CLB** certificate. Valid values:
|
|
10
10
|
*
|
|
11
11
|
* * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
|
|
12
12
|
*
|
|
13
|
-
* For more information about how to
|
|
13
|
+
* For more information about how to use SSL certificate IDs for CLB, see [Manage certificates (CLB)](https://help.aliyun.com/document_detail/90792.html).
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 188077086902****_176993d****_181437****_108724****
|
|
@@ -18,10 +18,10 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
18
18
|
certId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The ID of the multi-certificate **ALB**. Valid values:
|
|
22
22
|
*
|
|
23
|
-
* * If
|
|
24
|
-
* * The ID of the SSL certificate
|
|
23
|
+
* * If the **LoadBalanceType** is **alb**, use this field to configure multiple certificates for HTTPS listeners. Separate multiple certificate IDs with commas (,).
|
|
24
|
+
* * The ID of the SSL certificate used by ALB must be obtained from the digital certificate product. For example, in the configuration `756***-cn-hangzhou`, the `756***` is the certificate ID obtained from the product page, and the `-cn-hangzhou` is a fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 87***35-cn-hangzhou,812***3-cn-hangzhou
|
|
@@ -30,9 +30,12 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
30
30
|
corsConfig?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* The default forwarding rule. Forwards traffic to a specified application through a specified port based on the IP address. The following table describes the parameters.
|
|
34
|
+
*
|
|
35
|
+
* * **appId**: the ID of the application.
|
|
36
|
+
* * **containerPort**: The port of the application instance.
|
|
37
|
+
*
|
|
38
|
+
* > All requests that do not match or satisfy **Rules** forwarding rules are forwarded to the specified application.
|
|
36
39
|
*
|
|
37
40
|
* This parameter is required.
|
|
38
41
|
*
|
|
@@ -42,7 +45,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
42
45
|
defaultRule?: string;
|
|
43
46
|
/**
|
|
44
47
|
* @remarks
|
|
45
|
-
*
|
|
48
|
+
* The name of the routing rule.
|
|
46
49
|
*
|
|
47
50
|
* @example
|
|
48
51
|
* ingress-for-sae-test
|
|
@@ -56,7 +59,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
56
59
|
enableXForwardedForSlbPort?: boolean;
|
|
57
60
|
/**
|
|
58
61
|
* @remarks
|
|
59
|
-
*
|
|
62
|
+
* Specifies the connection idle timeout period. Unit: seconds. Valid values: 1 to 60. If there is no access request within the timeout period, the SLB will temporarily interrupt the current connection until the next request comes to re-establish a new connection.
|
|
60
63
|
*
|
|
61
64
|
* @example
|
|
62
65
|
* 15
|
|
@@ -64,8 +67,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
64
67
|
idleTimeout?: number;
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
|
-
*
|
|
68
|
-
* Valid values: 1 to 65535.
|
|
70
|
+
* The SLB listening port. This port cannot be occupied.
|
|
69
71
|
*
|
|
70
72
|
* This parameter is required.
|
|
71
73
|
*
|
|
@@ -75,8 +77,10 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
75
77
|
listenerPort?: number;
|
|
76
78
|
/**
|
|
77
79
|
* @remarks
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
+
* The request forwarding protocol. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* * **HTTP**: suitable for applications that need to identify data content.
|
|
83
|
+
* * **HTTPS**: suitable for applications that require encrypted transmission.
|
|
80
84
|
*
|
|
81
85
|
* @example
|
|
82
86
|
* HTTP
|
|
@@ -84,10 +88,10 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
84
88
|
listenerProtocol?: string;
|
|
85
89
|
/**
|
|
86
90
|
* @remarks
|
|
87
|
-
*
|
|
91
|
+
* SLB the type of the SLB instance. It depends on the type that you entered when you created the routing rule and cannot be changed when you update it. Valid values:
|
|
88
92
|
*
|
|
89
|
-
* * **clb
|
|
90
|
-
* * **alb
|
|
93
|
+
* * **clb**: traditional SLB CLB (formerly SLB).
|
|
94
|
+
* * **alb**: Applied SLB ALB.
|
|
91
95
|
*
|
|
92
96
|
* @example
|
|
93
97
|
* clb
|
|
@@ -96,7 +100,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
96
100
|
loadBalancerEdition?: string;
|
|
97
101
|
/**
|
|
98
102
|
* @remarks
|
|
99
|
-
* The ID of the namespace where the application
|
|
103
|
+
* The ID of the namespace where the application resides. Currently, cross-namespace applications are not supported.
|
|
100
104
|
*
|
|
101
105
|
* This parameter is required.
|
|
102
106
|
*
|
|
@@ -106,7 +110,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
106
110
|
namespaceId?: string;
|
|
107
111
|
/**
|
|
108
112
|
* @remarks
|
|
109
|
-
*
|
|
113
|
+
* Specifies the request timeout period. Unit: seconds. Valid values: 1 to 180. If the backend server does not respond within the timeout period, the SLB abandons the wait and returns an HTTP 504 error code to the client.
|
|
110
114
|
*
|
|
111
115
|
* @example
|
|
112
116
|
* 3
|
|
@@ -114,16 +118,16 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
114
118
|
requestTimeout?: number;
|
|
115
119
|
/**
|
|
116
120
|
* @remarks
|
|
117
|
-
* The forwarding
|
|
121
|
+
* The forwarding rule. Forwards traffic to a specified application through a specified port based on the domain name and request path. The following table describes the parameters.
|
|
118
122
|
*
|
|
119
123
|
* * **appId**: the ID of the application.
|
|
120
|
-
* * **containerPort**:
|
|
124
|
+
* * **containerPort**: The port of the application instance.
|
|
121
125
|
* * **domain**: the domain name.
|
|
122
126
|
* * **path**: the request path.
|
|
123
|
-
* * **backendProtocol**:
|
|
124
|
-
* * **rewritePath**: the
|
|
127
|
+
* * **backendProtocol**: The backend service protocol. Valid values: http, https, and grpc. Default value: http.
|
|
128
|
+
* * **rewritePath**: Rewrite the path.
|
|
125
129
|
*
|
|
126
|
-
* >
|
|
130
|
+
* > Only ALB allows you to set the RewritePath feature. CLB does not support this feature.
|
|
127
131
|
*
|
|
128
132
|
* This parameter is required.
|
|
129
133
|
*
|
|
@@ -133,7 +137,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
133
137
|
rules?: string;
|
|
134
138
|
/**
|
|
135
139
|
* @remarks
|
|
136
|
-
* The ID of
|
|
140
|
+
* The ID of the security policy instance.
|
|
137
141
|
*
|
|
138
142
|
* @example
|
|
139
143
|
* sp-bp1bpn0kn9****
|
|
@@ -143,7 +147,7 @@ export class CreateIngressRequest extends $dara.Model {
|
|
|
143
147
|
* @remarks
|
|
144
148
|
* The Server Load Balancer (SLB) instance that is used by the routing rule.
|
|
145
149
|
*
|
|
146
|
-
* >
|
|
150
|
+
* > SLB SLB instances include CLB instances and ALB instances.
|
|
147
151
|
*
|
|
148
152
|
* @example
|
|
149
153
|
* lb-uf6hucc7inlqrtcq5****
|
|
@@ -35,11 +35,11 @@ export class CreateIngressResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class CreateIngressResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The HTTP status code. Valid values:
|
|
38
|
+
* The HTTP status code or the error code. Valid values:
|
|
39
39
|
*
|
|
40
|
-
* * **2xx**: The
|
|
41
|
-
* * **3xx**: The
|
|
42
|
-
* * **4xx**: The
|
|
40
|
+
* * **2xx**: The request was successful.
|
|
41
|
+
* * **3xx**: The request was redirected.
|
|
42
|
+
* * **4xx**: The request failed.
|
|
43
43
|
* * **5xx**: A server error occurred.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
@@ -48,15 +48,15 @@ export class CreateIngressResponseBody extends $dara.Model {
|
|
|
48
48
|
code?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Responses.
|
|
52
52
|
*/
|
|
53
53
|
data?: CreateIngressResponseBodyData;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Error code. Valid values:
|
|
57
57
|
*
|
|
58
|
-
* *
|
|
59
|
-
* *
|
|
58
|
+
* * If the request is successful, no **ErrorCode** fields are returned.
|
|
59
|
+
* * Request failed: **ErrorCode** fields are returned. For more information, see **Error codes**.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* success
|
|
@@ -64,10 +64,10 @@ export class CreateIngressResponseBody extends $dara.Model {
|
|
|
64
64
|
errorCode?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
*
|
|
67
|
+
* Additional information. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* *
|
|
70
|
-
* *
|
|
69
|
+
* * The error message returned because the request is normal and **success** is returned.
|
|
70
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* success
|
|
@@ -83,10 +83,10 @@ export class CreateIngressResponseBody extends $dara.Model {
|
|
|
83
83
|
requestId?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* Indicates whether the
|
|
86
|
+
* Indicates whether the routing rule was created. Valid values:
|
|
87
87
|
*
|
|
88
|
-
* * **true**: The
|
|
89
|
-
* * **false**: The
|
|
88
|
+
* * **true**: The ConfigMap was created.
|
|
89
|
+
* * **false**: The ConfigMap failed to be created.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* true
|
|
@@ -94,7 +94,7 @@ export class CreateIngressResponseBody extends $dara.Model {
|
|
|
94
94
|
success?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The ID of the trace.
|
|
97
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* 0a98a02315955564772843261e****
|
|
@@ -58,6 +58,8 @@ export class CreateSecretRequest extends $dara.Model {
|
|
|
58
58
|
secretData?: CreateSecretRequestSecretData;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
+
* The Secret name. The name can contain digits, letters, and underscores (_). The name must start with a letter.
|
|
62
|
+
*
|
|
61
63
|
* This parameter is required.
|
|
62
64
|
*
|
|
63
65
|
* @example
|
|
@@ -66,6 +68,16 @@ export class CreateSecretRequest extends $dara.Model {
|
|
|
66
68
|
secretName?: string;
|
|
67
69
|
/**
|
|
68
70
|
* @remarks
|
|
71
|
+
* The supported Secret type. Valid values:
|
|
72
|
+
*
|
|
73
|
+
* * **kubernetes.io/dockerconfigjson**: the Secret for the username and password of the image repository. The Secret is used for authentication when images are pulled during application deployment.
|
|
74
|
+
*
|
|
75
|
+
* Valid values:
|
|
76
|
+
*
|
|
77
|
+
* * Opaque
|
|
78
|
+
* * kubernetes.io/dockerconfigjson
|
|
79
|
+
* * kubernetes.io/tls
|
|
80
|
+
*
|
|
69
81
|
* This parameter is required.
|
|
70
82
|
*
|
|
71
83
|
* @example
|