@alicloud/sae20190506 1.24.5 → 1.24.7
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 +34 -23
- package/dist/client.js +40 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +78 -23
package/dist/client.d.ts
CHANGED
|
@@ -227,6 +227,7 @@ export declare class Application extends $tea.Model {
|
|
|
227
227
|
namespaceName?: string;
|
|
228
228
|
nasConfig?: NASConfig;
|
|
229
229
|
ossMountConfig?: OSSMountConfig;
|
|
230
|
+
programmingLanguage?: string;
|
|
230
231
|
runtime?: string;
|
|
231
232
|
scaleConfig?: ScaleConfig;
|
|
232
233
|
slsConfig?: SLSConfig;
|
|
@@ -479,6 +480,7 @@ export declare class CreateApplicationInput extends $tea.Model {
|
|
|
479
480
|
customRuntimeConfig?: CustomRuntimeConfig;
|
|
480
481
|
description?: string;
|
|
481
482
|
diskSize?: number;
|
|
483
|
+
enableAppMetric?: boolean;
|
|
482
484
|
environmentVariables?: {
|
|
483
485
|
[key: string]: string;
|
|
484
486
|
};
|
|
@@ -500,6 +502,7 @@ export declare class CreateApplicationInput extends $tea.Model {
|
|
|
500
502
|
namespaceID?: string;
|
|
501
503
|
nasConfig?: NASConfig;
|
|
502
504
|
ossMountConfig?: OSSMountConfig;
|
|
505
|
+
programmingLanguage?: string;
|
|
503
506
|
runtime?: string;
|
|
504
507
|
scaleConfig?: ScaleConfig;
|
|
505
508
|
slsConfig?: SLSConfig;
|
|
@@ -2163,8 +2166,10 @@ export declare class UpdateApplicationInput extends $tea.Model {
|
|
|
2163
2166
|
livenessProbe?: Probe;
|
|
2164
2167
|
logConfig?: LogConfig;
|
|
2165
2168
|
memorySize?: number;
|
|
2169
|
+
namespaceID?: string;
|
|
2166
2170
|
nasConfig?: NASConfig;
|
|
2167
2171
|
ossMountConfig?: OSSMountConfig;
|
|
2172
|
+
programmingLanguage?: string;
|
|
2168
2173
|
runtime?: string;
|
|
2169
2174
|
scaleConfig?: ScaleConfig;
|
|
2170
2175
|
slsConfig?: SLSConfig;
|
|
@@ -4140,6 +4145,7 @@ export declare class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
4140
4145
|
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
4141
4146
|
*/
|
|
4142
4147
|
appId?: string;
|
|
4148
|
+
enableIdle?: boolean;
|
|
4143
4149
|
/**
|
|
4144
4150
|
* @example
|
|
4145
4151
|
* -1
|
|
@@ -4248,11 +4254,7 @@ export declare class CreateApplicationScalingRuleResponse extends $tea.Model {
|
|
|
4248
4254
|
export declare class CreateConfigMapRequest extends $tea.Model {
|
|
4249
4255
|
/**
|
|
4250
4256
|
* @remarks
|
|
4251
|
-
* The
|
|
4252
|
-
*
|
|
4253
|
-
* {"Data":"{"k1":"v1", "k2":"v2"}"}
|
|
4254
|
-
*
|
|
4255
|
-
* k specifies a key and v specifies a value. For more information, see [Manage a Kubernetes ConfigMap](https://help.aliyun.com/document_detail/171326.html).
|
|
4257
|
+
* The ConfigMap data.
|
|
4256
4258
|
*
|
|
4257
4259
|
* This parameter is required.
|
|
4258
4260
|
*
|
|
@@ -4262,7 +4264,11 @@ export declare class CreateConfigMapRequest extends $tea.Model {
|
|
|
4262
4264
|
data?: string;
|
|
4263
4265
|
/**
|
|
4264
4266
|
* @remarks
|
|
4265
|
-
* The
|
|
4267
|
+
* The key-value pairs of the ConfigMap in the JSON format. Format:
|
|
4268
|
+
*
|
|
4269
|
+
* {"Data":"{"k1":"v1", "k2":"v2"}"}
|
|
4270
|
+
*
|
|
4271
|
+
* k specifies a key and v specifies a value. For more information, see [Manage a Kubernetes ConfigMap](https://help.aliyun.com/document_detail/171326.html).
|
|
4266
4272
|
*
|
|
4267
4273
|
* @example
|
|
4268
4274
|
* test-desc
|
|
@@ -4301,12 +4307,7 @@ export declare class CreateConfigMapRequest extends $tea.Model {
|
|
|
4301
4307
|
export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
4302
4308
|
/**
|
|
4303
4309
|
* @remarks
|
|
4304
|
-
*
|
|
4305
|
-
*
|
|
4306
|
-
* * **2xx**: The call was successful.
|
|
4307
|
-
* * **3xx**: The call was redirected.
|
|
4308
|
-
* * **4xx**: The call failed.
|
|
4309
|
-
* * **5xx**: A server error occurred.
|
|
4310
|
+
* Empty
|
|
4310
4311
|
*
|
|
4311
4312
|
* @example
|
|
4312
4313
|
* 200
|
|
@@ -4314,23 +4315,23 @@ export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
|
4314
4315
|
code?: string;
|
|
4315
4316
|
/**
|
|
4316
4317
|
* @remarks
|
|
4317
|
-
* The
|
|
4318
|
+
* The trace ID that is used to query the details of the request.
|
|
4318
4319
|
*/
|
|
4319
4320
|
data?: CreateConfigMapResponseBodyData;
|
|
4320
4321
|
/**
|
|
4321
4322
|
* @remarks
|
|
4323
|
+
* The ID of the ConfigMap that was created.
|
|
4324
|
+
*
|
|
4325
|
+
* @example
|
|
4322
4326
|
* The error code. Valid values:
|
|
4323
4327
|
*
|
|
4324
4328
|
* * If the call is successful, the **ErrorCode** parameter is not returned.
|
|
4325
4329
|
* * If the call fails, the **ErrorCode** parameter is returned. For more information, see the **Error codes** section in this topic.
|
|
4326
|
-
*
|
|
4327
|
-
* @example
|
|
4328
|
-
* Empty
|
|
4329
4330
|
*/
|
|
4330
4331
|
errorCode?: string;
|
|
4331
4332
|
/**
|
|
4332
4333
|
* @remarks
|
|
4333
|
-
* The
|
|
4334
|
+
* The request ID.
|
|
4334
4335
|
*
|
|
4335
4336
|
* @example
|
|
4336
4337
|
* success
|
|
@@ -4338,7 +4339,7 @@ export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
|
4338
4339
|
message?: string;
|
|
4339
4340
|
/**
|
|
4340
4341
|
* @remarks
|
|
4341
|
-
* The
|
|
4342
|
+
* The returned data.
|
|
4342
4343
|
*
|
|
4343
4344
|
* @example
|
|
4344
4345
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
@@ -4346,10 +4347,12 @@ export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
|
4346
4347
|
requestId?: string;
|
|
4347
4348
|
/**
|
|
4348
4349
|
* @remarks
|
|
4349
|
-
*
|
|
4350
|
+
* The HTTP status code. Valid values:
|
|
4350
4351
|
*
|
|
4351
|
-
* * **
|
|
4352
|
-
* * **
|
|
4352
|
+
* * **2xx**: The call was successful.
|
|
4353
|
+
* * **3xx**: The call was redirected.
|
|
4354
|
+
* * **4xx**: The call failed.
|
|
4355
|
+
* * **5xx**: A server error occurred.
|
|
4353
4356
|
*
|
|
4354
4357
|
* @example
|
|
4355
4358
|
* true
|
|
@@ -4357,7 +4360,7 @@ export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
|
4357
4360
|
success?: boolean;
|
|
4358
4361
|
/**
|
|
4359
4362
|
* @remarks
|
|
4360
|
-
* The
|
|
4363
|
+
* The returned message.
|
|
4361
4364
|
*
|
|
4362
4365
|
* @example
|
|
4363
4366
|
* 0a98a02315955564772843261e****
|
|
@@ -4555,6 +4558,7 @@ export declare class CreateIngressRequest extends $tea.Model {
|
|
|
4555
4558
|
* ingress-for-sae-test
|
|
4556
4559
|
*/
|
|
4557
4560
|
description?: string;
|
|
4561
|
+
idleTimeout?: number;
|
|
4558
4562
|
/**
|
|
4559
4563
|
* @remarks
|
|
4560
4564
|
* This parameter is required.
|
|
@@ -16126,6 +16130,7 @@ export declare class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
16126
16130
|
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
16127
16131
|
*/
|
|
16128
16132
|
appId?: string;
|
|
16133
|
+
enableIdle?: boolean;
|
|
16129
16134
|
/**
|
|
16130
16135
|
* @remarks
|
|
16131
16136
|
* The percentage of the minimum number of available instances. Take note of the following rules:
|
|
@@ -16715,6 +16720,7 @@ export declare class UpdateIngressRequest extends $tea.Model {
|
|
|
16715
16720
|
* ingress-sae-test
|
|
16716
16721
|
*/
|
|
16717
16722
|
description?: string;
|
|
16723
|
+
idleTimeout?: number;
|
|
16718
16724
|
/**
|
|
16719
16725
|
* @remarks
|
|
16720
16726
|
* This parameter is required.
|
|
@@ -18848,6 +18854,7 @@ export declare class CreateApplicationScalingRuleResponseBodyData extends $tea.M
|
|
|
18848
18854
|
* 1616642248938
|
|
18849
18855
|
*/
|
|
18850
18856
|
createTime?: number;
|
|
18857
|
+
enableIdle?: boolean;
|
|
18851
18858
|
/**
|
|
18852
18859
|
* @example
|
|
18853
18860
|
* 1641882854484
|
|
@@ -18888,7 +18895,7 @@ export declare class CreateApplicationScalingRuleResponseBodyData extends $tea.M
|
|
|
18888
18895
|
export declare class CreateConfigMapResponseBodyData extends $tea.Model {
|
|
18889
18896
|
/**
|
|
18890
18897
|
* @remarks
|
|
18891
|
-
* The
|
|
18898
|
+
* The returned result.
|
|
18892
18899
|
*
|
|
18893
18900
|
* @example
|
|
18894
18901
|
* 1
|
|
@@ -20994,6 +21001,7 @@ export declare class DescribeApplicationScalingRuleResponseBodyData extends $tea
|
|
|
20994
21001
|
* 1624329843790
|
|
20995
21002
|
*/
|
|
20996
21003
|
createTime?: number;
|
|
21004
|
+
enableIdle?: boolean;
|
|
20997
21005
|
/**
|
|
20998
21006
|
* @remarks
|
|
20999
21007
|
* The time when the auto scaling policy was last disabled.
|
|
@@ -21508,6 +21516,7 @@ export declare class DescribeApplicationScalingRulesResponseBodyDataApplicationS
|
|
|
21508
21516
|
* 1616642248938
|
|
21509
21517
|
*/
|
|
21510
21518
|
createTime?: number;
|
|
21519
|
+
enableIdle?: boolean;
|
|
21511
21520
|
/**
|
|
21512
21521
|
* @remarks
|
|
21513
21522
|
* The time when the auto scaling policy was last disabled.
|
|
@@ -23190,6 +23199,7 @@ export declare class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
23190
23199
|
* 87
|
|
23191
23200
|
*/
|
|
23192
23201
|
id?: number;
|
|
23202
|
+
idleTimeout?: number;
|
|
23193
23203
|
/**
|
|
23194
23204
|
* @remarks
|
|
23195
23205
|
* The default rule.
|
|
@@ -28042,6 +28052,7 @@ export declare class UpdateApplicationScalingRuleResponseBodyData extends $tea.M
|
|
|
28042
28052
|
* 1616642248938
|
|
28043
28053
|
*/
|
|
28044
28054
|
createTime?: number;
|
|
28055
|
+
enableIdle?: boolean;
|
|
28045
28056
|
/**
|
|
28046
28057
|
* @remarks
|
|
28047
28058
|
* The time when the auto scaling policy was last disabled.
|
package/dist/client.js
CHANGED
|
@@ -216,6 +216,7 @@ class Application extends $tea.Model {
|
|
|
216
216
|
namespaceName: 'namespaceName',
|
|
217
217
|
nasConfig: 'nasConfig',
|
|
218
218
|
ossMountConfig: 'ossMountConfig',
|
|
219
|
+
programmingLanguage: 'programmingLanguage',
|
|
219
220
|
runtime: 'runtime',
|
|
220
221
|
scaleConfig: 'scaleConfig',
|
|
221
222
|
slsConfig: 'slsConfig',
|
|
@@ -272,6 +273,7 @@ class Application extends $tea.Model {
|
|
|
272
273
|
namespaceName: 'string',
|
|
273
274
|
nasConfig: NASConfig,
|
|
274
275
|
ossMountConfig: OSSMountConfig,
|
|
276
|
+
programmingLanguage: 'string',
|
|
275
277
|
runtime: 'string',
|
|
276
278
|
scaleConfig: ScaleConfig,
|
|
277
279
|
slsConfig: SLSConfig,
|
|
@@ -536,6 +538,7 @@ class CreateApplicationInput extends $tea.Model {
|
|
|
536
538
|
customRuntimeConfig: 'customRuntimeConfig',
|
|
537
539
|
description: 'description',
|
|
538
540
|
diskSize: 'diskSize',
|
|
541
|
+
enableAppMetric: 'enableAppMetric',
|
|
539
542
|
environmentVariables: 'environmentVariables',
|
|
540
543
|
gpuMemorySize: 'gpuMemorySize',
|
|
541
544
|
handler: 'handler',
|
|
@@ -555,6 +558,7 @@ class CreateApplicationInput extends $tea.Model {
|
|
|
555
558
|
namespaceID: 'namespaceID',
|
|
556
559
|
nasConfig: 'nasConfig',
|
|
557
560
|
ossMountConfig: 'ossMountConfig',
|
|
561
|
+
programmingLanguage: 'programmingLanguage',
|
|
558
562
|
runtime: 'runtime',
|
|
559
563
|
scaleConfig: 'scaleConfig',
|
|
560
564
|
slsConfig: 'slsConfig',
|
|
@@ -578,6 +582,7 @@ class CreateApplicationInput extends $tea.Model {
|
|
|
578
582
|
customRuntimeConfig: CustomRuntimeConfig,
|
|
579
583
|
description: 'string',
|
|
580
584
|
diskSize: 'number',
|
|
585
|
+
enableAppMetric: 'boolean',
|
|
581
586
|
environmentVariables: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
582
587
|
gpuMemorySize: 'number',
|
|
583
588
|
handler: 'string',
|
|
@@ -597,6 +602,7 @@ class CreateApplicationInput extends $tea.Model {
|
|
|
597
602
|
namespaceID: 'string',
|
|
598
603
|
nasConfig: NASConfig,
|
|
599
604
|
ossMountConfig: OSSMountConfig,
|
|
605
|
+
programmingLanguage: 'string',
|
|
600
606
|
runtime: 'string',
|
|
601
607
|
scaleConfig: ScaleConfig,
|
|
602
608
|
slsConfig: SLSConfig,
|
|
@@ -2655,8 +2661,10 @@ class UpdateApplicationInput extends $tea.Model {
|
|
|
2655
2661
|
livenessProbe: 'livenessProbe',
|
|
2656
2662
|
logConfig: 'logConfig',
|
|
2657
2663
|
memorySize: 'memorySize',
|
|
2664
|
+
namespaceID: 'namespaceID',
|
|
2658
2665
|
nasConfig: 'nasConfig',
|
|
2659
2666
|
ossMountConfig: 'ossMountConfig',
|
|
2667
|
+
programmingLanguage: 'programmingLanguage',
|
|
2660
2668
|
runtime: 'runtime',
|
|
2661
2669
|
scaleConfig: 'scaleConfig',
|
|
2662
2670
|
slsConfig: 'slsConfig',
|
|
@@ -2697,8 +2705,10 @@ class UpdateApplicationInput extends $tea.Model {
|
|
|
2697
2705
|
livenessProbe: Probe,
|
|
2698
2706
|
logConfig: LogConfig,
|
|
2699
2707
|
memorySize: 'number',
|
|
2708
|
+
namespaceID: 'string',
|
|
2700
2709
|
nasConfig: NASConfig,
|
|
2701
2710
|
ossMountConfig: OSSMountConfig,
|
|
2711
|
+
programmingLanguage: 'string',
|
|
2702
2712
|
runtime: 'string',
|
|
2703
2713
|
scaleConfig: ScaleConfig,
|
|
2704
2714
|
slsConfig: SLSConfig,
|
|
@@ -4167,6 +4177,7 @@ class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
4167
4177
|
static names() {
|
|
4168
4178
|
return {
|
|
4169
4179
|
appId: 'AppId',
|
|
4180
|
+
enableIdle: 'EnableIdle',
|
|
4170
4181
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
4171
4182
|
minReadyInstances: 'MinReadyInstances',
|
|
4172
4183
|
scalingRuleEnable: 'ScalingRuleEnable',
|
|
@@ -4179,6 +4190,7 @@ class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
4179
4190
|
static types() {
|
|
4180
4191
|
return {
|
|
4181
4192
|
appId: 'string',
|
|
4193
|
+
enableIdle: 'boolean',
|
|
4182
4194
|
minReadyInstanceRatio: 'number',
|
|
4183
4195
|
minReadyInstances: 'number',
|
|
4184
4196
|
scalingRuleEnable: 'boolean',
|
|
@@ -4392,6 +4404,7 @@ class CreateIngressRequest extends $tea.Model {
|
|
|
4392
4404
|
certIds: 'CertIds',
|
|
4393
4405
|
defaultRule: 'DefaultRule',
|
|
4394
4406
|
description: 'Description',
|
|
4407
|
+
idleTimeout: 'IdleTimeout',
|
|
4395
4408
|
listenerPort: 'ListenerPort',
|
|
4396
4409
|
listenerProtocol: 'ListenerProtocol',
|
|
4397
4410
|
loadBalanceType: 'LoadBalanceType',
|
|
@@ -4408,6 +4421,7 @@ class CreateIngressRequest extends $tea.Model {
|
|
|
4408
4421
|
certIds: 'string',
|
|
4409
4422
|
defaultRule: 'string',
|
|
4410
4423
|
description: 'string',
|
|
4424
|
+
idleTimeout: 'number',
|
|
4411
4425
|
listenerPort: 'number',
|
|
4412
4426
|
listenerProtocol: 'string',
|
|
4413
4427
|
loadBalanceType: 'string',
|
|
@@ -10779,6 +10793,7 @@ class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
10779
10793
|
static names() {
|
|
10780
10794
|
return {
|
|
10781
10795
|
appId: 'AppId',
|
|
10796
|
+
enableIdle: 'EnableIdle',
|
|
10782
10797
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
10783
10798
|
minReadyInstances: 'MinReadyInstances',
|
|
10784
10799
|
scalingRuleMetric: 'ScalingRuleMetric',
|
|
@@ -10789,6 +10804,7 @@ class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
10789
10804
|
static types() {
|
|
10790
10805
|
return {
|
|
10791
10806
|
appId: 'string',
|
|
10807
|
+
enableIdle: 'boolean',
|
|
10792
10808
|
minReadyInstanceRatio: 'number',
|
|
10793
10809
|
minReadyInstances: 'number',
|
|
10794
10810
|
scalingRuleMetric: 'string',
|
|
@@ -11060,6 +11076,7 @@ class UpdateIngressRequest extends $tea.Model {
|
|
|
11060
11076
|
certIds: 'CertIds',
|
|
11061
11077
|
defaultRule: 'DefaultRule',
|
|
11062
11078
|
description: 'Description',
|
|
11079
|
+
idleTimeout: 'IdleTimeout',
|
|
11063
11080
|
ingressId: 'IngressId',
|
|
11064
11081
|
listenerPort: 'ListenerPort',
|
|
11065
11082
|
listenerProtocol: 'ListenerProtocol',
|
|
@@ -11075,6 +11092,7 @@ class UpdateIngressRequest extends $tea.Model {
|
|
|
11075
11092
|
certIds: 'string',
|
|
11076
11093
|
defaultRule: 'string',
|
|
11077
11094
|
description: 'string',
|
|
11095
|
+
idleTimeout: 'number',
|
|
11078
11096
|
ingressId: 'number',
|
|
11079
11097
|
listenerPort: 'string',
|
|
11080
11098
|
listenerProtocol: 'string',
|
|
@@ -12518,6 +12536,7 @@ class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
12518
12536
|
return {
|
|
12519
12537
|
appId: 'AppId',
|
|
12520
12538
|
createTime: 'CreateTime',
|
|
12539
|
+
enableIdle: 'EnableIdle',
|
|
12521
12540
|
lastDisableTime: 'LastDisableTime',
|
|
12522
12541
|
metric: 'Metric',
|
|
12523
12542
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
@@ -12531,6 +12550,7 @@ class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
12531
12550
|
return {
|
|
12532
12551
|
appId: 'string',
|
|
12533
12552
|
createTime: 'number',
|
|
12553
|
+
enableIdle: 'boolean',
|
|
12534
12554
|
lastDisableTime: 'number',
|
|
12535
12555
|
metric: CreateApplicationScalingRuleResponseBodyDataMetric,
|
|
12536
12556
|
scaleRuleEnabled: 'boolean',
|
|
@@ -13430,6 +13450,7 @@ class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
13430
13450
|
return {
|
|
13431
13451
|
appId: 'AppId',
|
|
13432
13452
|
createTime: 'CreateTime',
|
|
13453
|
+
enableIdle: 'EnableIdle',
|
|
13433
13454
|
lastDisableTime: 'LastDisableTime',
|
|
13434
13455
|
metric: 'Metric',
|
|
13435
13456
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
@@ -13445,6 +13466,7 @@ class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
13445
13466
|
return {
|
|
13446
13467
|
appId: 'string',
|
|
13447
13468
|
createTime: 'number',
|
|
13469
|
+
enableIdle: 'boolean',
|
|
13448
13470
|
lastDisableTime: 'number',
|
|
13449
13471
|
metric: DescribeApplicationScalingRuleResponseBodyDataMetric,
|
|
13450
13472
|
minReadyInstanceRatio: 'number',
|
|
@@ -13672,6 +13694,7 @@ class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules ext
|
|
|
13672
13694
|
return {
|
|
13673
13695
|
appId: 'AppId',
|
|
13674
13696
|
createTime: 'CreateTime',
|
|
13697
|
+
enableIdle: 'EnableIdle',
|
|
13675
13698
|
lastDisableTime: 'LastDisableTime',
|
|
13676
13699
|
metric: 'Metric',
|
|
13677
13700
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
@@ -13687,6 +13710,7 @@ class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules ext
|
|
|
13687
13710
|
return {
|
|
13688
13711
|
appId: 'string',
|
|
13689
13712
|
createTime: 'number',
|
|
13713
|
+
enableIdle: 'boolean',
|
|
13690
13714
|
lastDisableTime: 'number',
|
|
13691
13715
|
metric: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetric,
|
|
13692
13716
|
minReadyInstanceRatio: 'number',
|
|
@@ -14527,6 +14551,7 @@ class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
14527
14551
|
defaultRule: 'DefaultRule',
|
|
14528
14552
|
description: 'Description',
|
|
14529
14553
|
id: 'Id',
|
|
14554
|
+
idleTimeout: 'IdleTimeout',
|
|
14530
14555
|
listenerPort: 'ListenerPort',
|
|
14531
14556
|
listenerProtocol: 'ListenerProtocol',
|
|
14532
14557
|
loadBalanceType: 'LoadBalanceType',
|
|
@@ -14546,6 +14571,7 @@ class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
14546
14571
|
defaultRule: DescribeIngressResponseBodyDataDefaultRule,
|
|
14547
14572
|
description: 'string',
|
|
14548
14573
|
id: 'number',
|
|
14574
|
+
idleTimeout: 'number',
|
|
14549
14575
|
listenerPort: 'number',
|
|
14550
14576
|
listenerProtocol: 'string',
|
|
14551
14577
|
loadBalanceType: 'string',
|
|
@@ -16712,6 +16738,7 @@ class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
16712
16738
|
return {
|
|
16713
16739
|
appId: 'AppId',
|
|
16714
16740
|
createTime: 'CreateTime',
|
|
16741
|
+
enableIdle: 'EnableIdle',
|
|
16715
16742
|
lastDisableTime: 'LastDisableTime',
|
|
16716
16743
|
metric: 'Metric',
|
|
16717
16744
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
@@ -16725,6 +16752,7 @@ class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
16725
16752
|
return {
|
|
16726
16753
|
appId: 'string',
|
|
16727
16754
|
createTime: 'number',
|
|
16755
|
+
enableIdle: 'boolean',
|
|
16728
16756
|
lastDisableTime: 'number',
|
|
16729
16757
|
metric: UpdateApplicationScalingRuleResponseBodyDataMetric,
|
|
16730
16758
|
scaleRuleEnabled: 'boolean',
|
|
@@ -17396,6 +17424,9 @@ class Client extends openapi_client_1.default {
|
|
|
17396
17424
|
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
17397
17425
|
query["AppId"] = request.appId;
|
|
17398
17426
|
}
|
|
17427
|
+
if (!tea_util_1.default.isUnset(request.enableIdle)) {
|
|
17428
|
+
query["EnableIdle"] = request.enableIdle;
|
|
17429
|
+
}
|
|
17399
17430
|
if (!tea_util_1.default.isUnset(request.minReadyInstanceRatio)) {
|
|
17400
17431
|
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
17401
17432
|
}
|
|
@@ -17591,6 +17622,9 @@ class Client extends openapi_client_1.default {
|
|
|
17591
17622
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
17592
17623
|
query["Description"] = request.description;
|
|
17593
17624
|
}
|
|
17625
|
+
if (!tea_util_1.default.isUnset(request.idleTimeout)) {
|
|
17626
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
17627
|
+
}
|
|
17594
17628
|
if (!tea_util_1.default.isUnset(request.listenerPort)) {
|
|
17595
17629
|
query["ListenerPort"] = request.listenerPort;
|
|
17596
17630
|
}
|
|
@@ -22577,6 +22611,9 @@ class Client extends openapi_client_1.default {
|
|
|
22577
22611
|
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
22578
22612
|
query["AppId"] = request.appId;
|
|
22579
22613
|
}
|
|
22614
|
+
if (!tea_util_1.default.isUnset(request.enableIdle)) {
|
|
22615
|
+
query["EnableIdle"] = request.enableIdle;
|
|
22616
|
+
}
|
|
22580
22617
|
if (!tea_util_1.default.isUnset(request.minReadyInstanceRatio)) {
|
|
22581
22618
|
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
22582
22619
|
}
|
|
@@ -22790,6 +22827,9 @@ class Client extends openapi_client_1.default {
|
|
|
22790
22827
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
22791
22828
|
query["Description"] = request.description;
|
|
22792
22829
|
}
|
|
22830
|
+
if (!tea_util_1.default.isUnset(request.idleTimeout)) {
|
|
22831
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
22832
|
+
}
|
|
22793
22833
|
if (!tea_util_1.default.isUnset(request.ingressId)) {
|
|
22794
22834
|
query["IngressId"] = request.ingressId;
|
|
22795
22835
|
}
|