@alicloud/sae20190506 1.24.4 → 1.24.6
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 +51 -30
- package/dist/client.js +41 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +94 -33
package/dist/client.d.ts
CHANGED
|
@@ -624,6 +624,7 @@ export declare class CreateWebCustomDomainInput extends $tea.Model {
|
|
|
624
624
|
* HTTP
|
|
625
625
|
*/
|
|
626
626
|
protocol?: string;
|
|
627
|
+
routeConfig?: RouteConfig;
|
|
627
628
|
webCertConfig?: WebCertConfig;
|
|
628
629
|
webTLSConfig?: WebTLSConfig;
|
|
629
630
|
webWAFConfig?: WebWAFConfig;
|
|
@@ -2314,6 +2315,7 @@ export declare class UpdateWebCustomDomainInput extends $tea.Model {
|
|
|
2314
2315
|
* HTTP
|
|
2315
2316
|
*/
|
|
2316
2317
|
protocol?: string;
|
|
2318
|
+
routeConfig?: RouteConfig;
|
|
2317
2319
|
webCertConfig?: WebCertConfig;
|
|
2318
2320
|
webTLSConfig?: WebTLSConfig;
|
|
2319
2321
|
webWAFConfig?: WebWAFConfig;
|
|
@@ -2605,11 +2607,6 @@ export declare class WebCertConfig extends $tea.Model {
|
|
|
2605
2607
|
});
|
|
2606
2608
|
}
|
|
2607
2609
|
export declare class WebCustomDomain extends $tea.Model {
|
|
2608
|
-
/**
|
|
2609
|
-
* @example
|
|
2610
|
-
* 123xxxxxx
|
|
2611
|
-
*/
|
|
2612
|
-
accountId?: string;
|
|
2613
2610
|
/**
|
|
2614
2611
|
* @example
|
|
2615
2612
|
* 2023-03-30T08:02:19Z
|
|
@@ -2636,9 +2633,15 @@ export declare class WebCustomDomain extends $tea.Model {
|
|
|
2636
2633
|
* HTTP
|
|
2637
2634
|
*/
|
|
2638
2635
|
protocol?: string;
|
|
2636
|
+
routeConfig?: RouteConfig;
|
|
2639
2637
|
webCertConfig?: WebCertConfig;
|
|
2640
2638
|
webTLSConfig?: WebTLSConfig;
|
|
2641
2639
|
webWAFConfig?: WebWAFConfig;
|
|
2640
|
+
/**
|
|
2641
|
+
* @example
|
|
2642
|
+
* 123xxxxxx
|
|
2643
|
+
*/
|
|
2644
|
+
accountId?: string;
|
|
2642
2645
|
static names(): {
|
|
2643
2646
|
[key: string]: string;
|
|
2644
2647
|
};
|
|
@@ -3713,6 +3716,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
3713
3716
|
*/
|
|
3714
3717
|
edasContainerVersion?: string;
|
|
3715
3718
|
enableEbpf?: string;
|
|
3719
|
+
enableNewArms?: boolean;
|
|
3716
3720
|
/**
|
|
3717
3721
|
* @remarks
|
|
3718
3722
|
* [{"name":"envtmp","value":"0"}]
|
|
@@ -4136,6 +4140,7 @@ export declare class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
4136
4140
|
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
4137
4141
|
*/
|
|
4138
4142
|
appId?: string;
|
|
4143
|
+
enableIdle?: boolean;
|
|
4139
4144
|
/**
|
|
4140
4145
|
* @example
|
|
4141
4146
|
* -1
|
|
@@ -4244,6 +4249,8 @@ export declare class CreateApplicationScalingRuleResponse extends $tea.Model {
|
|
|
4244
4249
|
export declare class CreateConfigMapRequest extends $tea.Model {
|
|
4245
4250
|
/**
|
|
4246
4251
|
* @remarks
|
|
4252
|
+
* The ConfigMap data.
|
|
4253
|
+
*
|
|
4247
4254
|
* This parameter is required.
|
|
4248
4255
|
*
|
|
4249
4256
|
* @example
|
|
@@ -4251,13 +4258,20 @@ export declare class CreateConfigMapRequest extends $tea.Model {
|
|
|
4251
4258
|
*/
|
|
4252
4259
|
data?: string;
|
|
4253
4260
|
/**
|
|
4261
|
+
* @remarks
|
|
4262
|
+
* The key-value pairs of the ConfigMap in the JSON format. Format:
|
|
4263
|
+
*
|
|
4264
|
+
* {"Data":"{"k1":"v1", "k2":"v2"}"}
|
|
4265
|
+
*
|
|
4266
|
+
* 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).
|
|
4267
|
+
*
|
|
4254
4268
|
* @example
|
|
4255
4269
|
* test-desc
|
|
4256
4270
|
*/
|
|
4257
4271
|
description?: string;
|
|
4258
4272
|
/**
|
|
4259
4273
|
* @remarks
|
|
4260
|
-
*
|
|
4274
|
+
* The name of the ConfigMap. The name can contain digits, letters, and underscores (_). The name must start with a letter.
|
|
4261
4275
|
*
|
|
4262
4276
|
* This parameter is required.
|
|
4263
4277
|
*
|
|
@@ -4267,7 +4281,7 @@ export declare class CreateConfigMapRequest extends $tea.Model {
|
|
|
4267
4281
|
name?: string;
|
|
4268
4282
|
/**
|
|
4269
4283
|
* @remarks
|
|
4270
|
-
* The ID of the
|
|
4284
|
+
* The ID of the namespace to which the ConfigMap instance belongs.
|
|
4271
4285
|
*
|
|
4272
4286
|
* This parameter is required.
|
|
4273
4287
|
*
|
|
@@ -4288,10 +4302,7 @@ export declare class CreateConfigMapRequest extends $tea.Model {
|
|
|
4288
4302
|
export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
4289
4303
|
/**
|
|
4290
4304
|
* @remarks
|
|
4291
|
-
*
|
|
4292
|
-
*
|
|
4293
|
-
* * **true**: The instance was created.
|
|
4294
|
-
* * **false**: The call failed to be created.
|
|
4305
|
+
* Empty
|
|
4295
4306
|
*
|
|
4296
4307
|
* @example
|
|
4297
4308
|
* 200
|
|
@@ -4299,22 +4310,23 @@ export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
|
4299
4310
|
code?: string;
|
|
4300
4311
|
/**
|
|
4301
4312
|
* @remarks
|
|
4302
|
-
* The ID
|
|
4313
|
+
* The trace ID that is used to query the details of the request.
|
|
4303
4314
|
*/
|
|
4304
4315
|
data?: CreateConfigMapResponseBodyData;
|
|
4305
4316
|
/**
|
|
4306
4317
|
* @remarks
|
|
4307
|
-
* The
|
|
4318
|
+
* The ID of the ConfigMap that was created.
|
|
4308
4319
|
*
|
|
4309
|
-
*
|
|
4310
|
-
*
|
|
4311
|
-
*
|
|
4312
|
-
* *
|
|
4320
|
+
* @example
|
|
4321
|
+
* The error code. Valid values:
|
|
4322
|
+
*
|
|
4323
|
+
* * If the call is successful, the **ErrorCode** parameter is not returned.
|
|
4324
|
+
* * If the call fails, the **ErrorCode** parameter is returned. For more information, see the **Error codes** section in this topic.
|
|
4313
4325
|
*/
|
|
4314
4326
|
errorCode?: string;
|
|
4315
4327
|
/**
|
|
4316
4328
|
* @remarks
|
|
4317
|
-
* The
|
|
4329
|
+
* The request ID.
|
|
4318
4330
|
*
|
|
4319
4331
|
* @example
|
|
4320
4332
|
* success
|
|
@@ -4322,20 +4334,28 @@ export declare class CreateConfigMapResponseBody extends $tea.Model {
|
|
|
4322
4334
|
message?: string;
|
|
4323
4335
|
/**
|
|
4324
4336
|
* @remarks
|
|
4325
|
-
* The returned
|
|
4337
|
+
* The returned data.
|
|
4326
4338
|
*
|
|
4327
4339
|
* @example
|
|
4328
4340
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
4329
4341
|
*/
|
|
4330
4342
|
requestId?: string;
|
|
4331
4343
|
/**
|
|
4344
|
+
* @remarks
|
|
4345
|
+
* The HTTP status code. Valid values:
|
|
4346
|
+
*
|
|
4347
|
+
* * **2xx**: The call was successful.
|
|
4348
|
+
* * **3xx**: The call was redirected.
|
|
4349
|
+
* * **4xx**: The call failed.
|
|
4350
|
+
* * **5xx**: A server error occurred.
|
|
4351
|
+
*
|
|
4332
4352
|
* @example
|
|
4333
4353
|
* true
|
|
4334
4354
|
*/
|
|
4335
4355
|
success?: boolean;
|
|
4336
4356
|
/**
|
|
4337
4357
|
* @remarks
|
|
4338
|
-
* The returned
|
|
4358
|
+
* The returned message.
|
|
4339
4359
|
*
|
|
4340
4360
|
* @example
|
|
4341
4361
|
* 0a98a02315955564772843261e****
|
|
@@ -6874,6 +6894,7 @@ export declare class DeployApplicationRequest extends $tea.Model {
|
|
|
6874
6894
|
* false
|
|
6875
6895
|
*/
|
|
6876
6896
|
enableGreyTagRoute?: boolean;
|
|
6897
|
+
enableNewArms?: boolean;
|
|
6877
6898
|
/**
|
|
6878
6899
|
* @remarks
|
|
6879
6900
|
* The environment variables. You can configure custom environment variables or reference a ConfigMap. If you want to reference a ConfigMap, you must first create a ConfigMap. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Take note of the following rules:
|
|
@@ -10713,7 +10734,7 @@ export declare class DescribeWebCustomDomainResponse extends $tea.Model {
|
|
|
10713
10734
|
[key: string]: string;
|
|
10714
10735
|
};
|
|
10715
10736
|
statusCode?: number;
|
|
10716
|
-
body?:
|
|
10737
|
+
body?: WebCustomDomain;
|
|
10717
10738
|
static names(): {
|
|
10718
10739
|
[key: string]: string;
|
|
10719
10740
|
};
|
|
@@ -13970,9 +13991,6 @@ export declare class ListWebCustomDomainsRequest extends $tea.Model {
|
|
|
13970
13991
|
*/
|
|
13971
13992
|
limit?: number;
|
|
13972
13993
|
/**
|
|
13973
|
-
* @remarks
|
|
13974
|
-
* This parameter is required.
|
|
13975
|
-
*
|
|
13976
13994
|
* @example
|
|
13977
13995
|
* cn-hangzhou
|
|
13978
13996
|
*/
|
|
@@ -16106,6 +16124,7 @@ export declare class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
16106
16124
|
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
16107
16125
|
*/
|
|
16108
16126
|
appId?: string;
|
|
16127
|
+
enableIdle?: boolean;
|
|
16109
16128
|
/**
|
|
16110
16129
|
* @remarks
|
|
16111
16130
|
* The percentage of the minimum number of available instances. Take note of the following rules:
|
|
@@ -18828,6 +18847,7 @@ export declare class CreateApplicationScalingRuleResponseBodyData extends $tea.M
|
|
|
18828
18847
|
* 1616642248938
|
|
18829
18848
|
*/
|
|
18830
18849
|
createTime?: number;
|
|
18850
|
+
enableIdle?: boolean;
|
|
18831
18851
|
/**
|
|
18832
18852
|
* @example
|
|
18833
18853
|
* 1641882854484
|
|
@@ -18868,10 +18888,7 @@ export declare class CreateApplicationScalingRuleResponseBodyData extends $tea.M
|
|
|
18868
18888
|
export declare class CreateConfigMapResponseBodyData extends $tea.Model {
|
|
18869
18889
|
/**
|
|
18870
18890
|
* @remarks
|
|
18871
|
-
* The returned
|
|
18872
|
-
*
|
|
18873
|
-
* * If the call is successful, the **ErrorCode** parameter is not returned.
|
|
18874
|
-
* * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
|
|
18891
|
+
* The returned result.
|
|
18875
18892
|
*
|
|
18876
18893
|
* @example
|
|
18877
18894
|
* 1
|
|
@@ -19692,6 +19709,7 @@ export declare class DescribeApplicationConfigResponseBodyData extends $tea.Mode
|
|
|
19692
19709
|
*/
|
|
19693
19710
|
enableGreyTagRoute?: boolean;
|
|
19694
19711
|
enableIdle?: boolean;
|
|
19712
|
+
enableNewArms?: boolean;
|
|
19695
19713
|
/**
|
|
19696
19714
|
* @remarks
|
|
19697
19715
|
* The environment variables. Variable description:
|
|
@@ -20976,6 +20994,7 @@ export declare class DescribeApplicationScalingRuleResponseBodyData extends $tea
|
|
|
20976
20994
|
* 1624329843790
|
|
20977
20995
|
*/
|
|
20978
20996
|
createTime?: number;
|
|
20997
|
+
enableIdle?: boolean;
|
|
20979
20998
|
/**
|
|
20980
20999
|
* @remarks
|
|
20981
21000
|
* The time when the auto scaling policy was last disabled.
|
|
@@ -21490,6 +21509,7 @@ export declare class DescribeApplicationScalingRulesResponseBodyDataApplicationS
|
|
|
21490
21509
|
* 1616642248938
|
|
21491
21510
|
*/
|
|
21492
21511
|
createTime?: number;
|
|
21512
|
+
enableIdle?: boolean;
|
|
21493
21513
|
/**
|
|
21494
21514
|
* @remarks
|
|
21495
21515
|
* The time when the auto scaling policy was last disabled.
|
|
@@ -28024,6 +28044,7 @@ export declare class UpdateApplicationScalingRuleResponseBodyData extends $tea.M
|
|
|
28024
28044
|
* 1616642248938
|
|
28025
28045
|
*/
|
|
28026
28046
|
createTime?: number;
|
|
28047
|
+
enableIdle?: boolean;
|
|
28027
28048
|
/**
|
|
28028
28049
|
* @remarks
|
|
28029
28050
|
* The time when the auto scaling policy was last disabled.
|
|
@@ -28407,7 +28428,7 @@ export default class Client extends OpenApi {
|
|
|
28407
28428
|
*/
|
|
28408
28429
|
createApplicationScalingRule(request: CreateApplicationScalingRuleRequest): Promise<CreateApplicationScalingRuleResponse>;
|
|
28409
28430
|
/**
|
|
28410
|
-
*
|
|
28431
|
+
* Create a ConfigMap in a namespace.
|
|
28411
28432
|
*
|
|
28412
28433
|
* @param request - CreateConfigMapRequest
|
|
28413
28434
|
* @param headers - map
|
|
@@ -28418,7 +28439,7 @@ export default class Client extends OpenApi {
|
|
|
28418
28439
|
[key: string]: string;
|
|
28419
28440
|
}, runtime: $Util.RuntimeOptions): Promise<CreateConfigMapResponse>;
|
|
28420
28441
|
/**
|
|
28421
|
-
*
|
|
28442
|
+
* Create a ConfigMap in a namespace.
|
|
28422
28443
|
*
|
|
28423
28444
|
* @param request - CreateConfigMapRequest
|
|
28424
28445
|
* @returns CreateConfigMapResponse
|
package/dist/client.js
CHANGED
|
@@ -731,6 +731,7 @@ class CreateWebCustomDomainInput extends $tea.Model {
|
|
|
731
731
|
defaultForwardingAppName: 'DefaultForwardingAppName',
|
|
732
732
|
domainName: 'DomainName',
|
|
733
733
|
protocol: 'Protocol',
|
|
734
|
+
routeConfig: 'RouteConfig',
|
|
734
735
|
webCertConfig: 'WebCertConfig',
|
|
735
736
|
webTLSConfig: 'WebTLSConfig',
|
|
736
737
|
webWAFConfig: 'WebWAFConfig',
|
|
@@ -741,6 +742,7 @@ class CreateWebCustomDomainInput extends $tea.Model {
|
|
|
741
742
|
defaultForwardingAppName: 'string',
|
|
742
743
|
domainName: 'string',
|
|
743
744
|
protocol: 'string',
|
|
745
|
+
routeConfig: RouteConfig,
|
|
744
746
|
webCertConfig: WebCertConfig,
|
|
745
747
|
webTLSConfig: WebTLSConfig,
|
|
746
748
|
webWAFConfig: WebWAFConfig,
|
|
@@ -2866,6 +2868,7 @@ class UpdateWebCustomDomainInput extends $tea.Model {
|
|
|
2866
2868
|
return {
|
|
2867
2869
|
defaultForwardingAppName: 'DefaultForwardingAppName',
|
|
2868
2870
|
protocol: 'Protocol',
|
|
2871
|
+
routeConfig: 'RouteConfig',
|
|
2869
2872
|
webCertConfig: 'WebCertConfig',
|
|
2870
2873
|
webTLSConfig: 'WebTLSConfig',
|
|
2871
2874
|
webWAFConfig: 'WebWAFConfig',
|
|
@@ -2875,6 +2878,7 @@ class UpdateWebCustomDomainInput extends $tea.Model {
|
|
|
2875
2878
|
return {
|
|
2876
2879
|
defaultForwardingAppName: 'string',
|
|
2877
2880
|
protocol: 'string',
|
|
2881
|
+
routeConfig: RouteConfig,
|
|
2878
2882
|
webCertConfig: WebCertConfig,
|
|
2879
2883
|
webTLSConfig: WebTLSConfig,
|
|
2880
2884
|
webWAFConfig: WebWAFConfig,
|
|
@@ -3262,30 +3266,32 @@ exports.WebCertConfig = WebCertConfig;
|
|
|
3262
3266
|
class WebCustomDomain extends $tea.Model {
|
|
3263
3267
|
static names() {
|
|
3264
3268
|
return {
|
|
3265
|
-
accountId: 'AccountId',
|
|
3266
3269
|
createdTime: 'CreatedTime',
|
|
3267
3270
|
defaultForwardingAppName: 'DefaultForwardingAppName',
|
|
3268
3271
|
domainName: 'DomainName',
|
|
3269
3272
|
lastModifiedTime: 'LastModifiedTime',
|
|
3270
3273
|
namespaceId: 'NamespaceId',
|
|
3271
3274
|
protocol: 'Protocol',
|
|
3275
|
+
routeConfig: 'RouteConfig',
|
|
3272
3276
|
webCertConfig: 'WebCertConfig',
|
|
3273
3277
|
webTLSConfig: 'WebTLSConfig',
|
|
3274
3278
|
webWAFConfig: 'WebWAFConfig',
|
|
3279
|
+
accountId: 'accountId',
|
|
3275
3280
|
};
|
|
3276
3281
|
}
|
|
3277
3282
|
static types() {
|
|
3278
3283
|
return {
|
|
3279
|
-
accountId: 'string',
|
|
3280
3284
|
createdTime: 'string',
|
|
3281
3285
|
defaultForwardingAppName: 'string',
|
|
3282
3286
|
domainName: 'string',
|
|
3283
3287
|
lastModifiedTime: 'string',
|
|
3284
3288
|
namespaceId: 'string',
|
|
3285
3289
|
protocol: 'string',
|
|
3290
|
+
routeConfig: RouteConfig,
|
|
3286
3291
|
webCertConfig: WebCertConfig,
|
|
3287
3292
|
webTLSConfig: WebTLSConfig,
|
|
3288
3293
|
webWAFConfig: WebWAFConfig,
|
|
3294
|
+
accountId: 'string',
|
|
3289
3295
|
};
|
|
3290
3296
|
}
|
|
3291
3297
|
constructor(map) {
|
|
@@ -3990,6 +3996,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
3990
3996
|
deploy: 'Deploy',
|
|
3991
3997
|
edasContainerVersion: 'EdasContainerVersion',
|
|
3992
3998
|
enableEbpf: 'EnableEbpf',
|
|
3999
|
+
enableNewArms: 'EnableNewArms',
|
|
3993
4000
|
envs: 'Envs',
|
|
3994
4001
|
imagePullSecrets: 'ImagePullSecrets',
|
|
3995
4002
|
imageUrl: 'ImageUrl',
|
|
@@ -4055,6 +4062,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
4055
4062
|
deploy: 'boolean',
|
|
4056
4063
|
edasContainerVersion: 'string',
|
|
4057
4064
|
enableEbpf: 'string',
|
|
4065
|
+
enableNewArms: 'boolean',
|
|
4058
4066
|
envs: 'string',
|
|
4059
4067
|
imagePullSecrets: 'string',
|
|
4060
4068
|
imageUrl: 'string',
|
|
@@ -4159,6 +4167,7 @@ class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
4159
4167
|
static names() {
|
|
4160
4168
|
return {
|
|
4161
4169
|
appId: 'AppId',
|
|
4170
|
+
enableIdle: 'EnableIdle',
|
|
4162
4171
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
4163
4172
|
minReadyInstances: 'MinReadyInstances',
|
|
4164
4173
|
scalingRuleEnable: 'ScalingRuleEnable',
|
|
@@ -4171,6 +4180,7 @@ class CreateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
4171
4180
|
static types() {
|
|
4172
4181
|
return {
|
|
4173
4182
|
appId: 'string',
|
|
4183
|
+
enableIdle: 'boolean',
|
|
4174
4184
|
minReadyInstanceRatio: 'number',
|
|
4175
4185
|
minReadyInstances: 'number',
|
|
4176
4186
|
scalingRuleEnable: 'boolean',
|
|
@@ -5580,6 +5590,7 @@ class DeployApplicationRequest extends $tea.Model {
|
|
|
5580
5590
|
edasContainerVersion: 'EdasContainerVersion',
|
|
5581
5591
|
enableAhas: 'EnableAhas',
|
|
5582
5592
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
5593
|
+
enableNewArms: 'EnableNewArms',
|
|
5583
5594
|
envs: 'Envs',
|
|
5584
5595
|
imagePullSecrets: 'ImagePullSecrets',
|
|
5585
5596
|
imageUrl: 'ImageUrl',
|
|
@@ -5644,6 +5655,7 @@ class DeployApplicationRequest extends $tea.Model {
|
|
|
5644
5655
|
edasContainerVersion: 'string',
|
|
5645
5656
|
enableAhas: 'string',
|
|
5646
5657
|
enableGreyTagRoute: 'boolean',
|
|
5658
|
+
enableNewArms: 'boolean',
|
|
5647
5659
|
envs: 'string',
|
|
5648
5660
|
imagePullSecrets: 'string',
|
|
5649
5661
|
imageUrl: 'string',
|
|
@@ -7751,7 +7763,7 @@ class DescribeWebCustomDomainResponse extends $tea.Model {
|
|
|
7751
7763
|
return {
|
|
7752
7764
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7753
7765
|
statusCode: 'number',
|
|
7754
|
-
body:
|
|
7766
|
+
body: WebCustomDomain,
|
|
7755
7767
|
};
|
|
7756
7768
|
}
|
|
7757
7769
|
constructor(map) {
|
|
@@ -10769,6 +10781,7 @@ class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
10769
10781
|
static names() {
|
|
10770
10782
|
return {
|
|
10771
10783
|
appId: 'AppId',
|
|
10784
|
+
enableIdle: 'EnableIdle',
|
|
10772
10785
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
10773
10786
|
minReadyInstances: 'MinReadyInstances',
|
|
10774
10787
|
scalingRuleMetric: 'ScalingRuleMetric',
|
|
@@ -10779,6 +10792,7 @@ class UpdateApplicationScalingRuleRequest extends $tea.Model {
|
|
|
10779
10792
|
static types() {
|
|
10780
10793
|
return {
|
|
10781
10794
|
appId: 'string',
|
|
10795
|
+
enableIdle: 'boolean',
|
|
10782
10796
|
minReadyInstanceRatio: 'number',
|
|
10783
10797
|
minReadyInstances: 'number',
|
|
10784
10798
|
scalingRuleMetric: 'string',
|
|
@@ -12508,6 +12522,7 @@ class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
12508
12522
|
return {
|
|
12509
12523
|
appId: 'AppId',
|
|
12510
12524
|
createTime: 'CreateTime',
|
|
12525
|
+
enableIdle: 'EnableIdle',
|
|
12511
12526
|
lastDisableTime: 'LastDisableTime',
|
|
12512
12527
|
metric: 'Metric',
|
|
12513
12528
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
@@ -12521,6 +12536,7 @@ class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
12521
12536
|
return {
|
|
12522
12537
|
appId: 'string',
|
|
12523
12538
|
createTime: 'number',
|
|
12539
|
+
enableIdle: 'boolean',
|
|
12524
12540
|
lastDisableTime: 'number',
|
|
12525
12541
|
metric: CreateApplicationScalingRuleResponseBodyDataMetric,
|
|
12526
12542
|
scaleRuleEnabled: 'boolean',
|
|
@@ -12951,6 +12967,7 @@ class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
12951
12967
|
enableAhas: 'EnableAhas',
|
|
12952
12968
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
12953
12969
|
enableIdle: 'EnableIdle',
|
|
12970
|
+
enableNewArms: 'EnableNewArms',
|
|
12954
12971
|
envs: 'Envs',
|
|
12955
12972
|
imagePullSecrets: 'ImagePullSecrets',
|
|
12956
12973
|
imageUrl: 'ImageUrl',
|
|
@@ -13023,6 +13040,7 @@ class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
13023
13040
|
enableAhas: 'string',
|
|
13024
13041
|
enableGreyTagRoute: 'boolean',
|
|
13025
13042
|
enableIdle: 'boolean',
|
|
13043
|
+
enableNewArms: 'boolean',
|
|
13026
13044
|
envs: 'string',
|
|
13027
13045
|
imagePullSecrets: 'string',
|
|
13028
13046
|
imageUrl: 'string',
|
|
@@ -13418,6 +13436,7 @@ class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
13418
13436
|
return {
|
|
13419
13437
|
appId: 'AppId',
|
|
13420
13438
|
createTime: 'CreateTime',
|
|
13439
|
+
enableIdle: 'EnableIdle',
|
|
13421
13440
|
lastDisableTime: 'LastDisableTime',
|
|
13422
13441
|
metric: 'Metric',
|
|
13423
13442
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
@@ -13433,6 +13452,7 @@ class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
13433
13452
|
return {
|
|
13434
13453
|
appId: 'string',
|
|
13435
13454
|
createTime: 'number',
|
|
13455
|
+
enableIdle: 'boolean',
|
|
13436
13456
|
lastDisableTime: 'number',
|
|
13437
13457
|
metric: DescribeApplicationScalingRuleResponseBodyDataMetric,
|
|
13438
13458
|
minReadyInstanceRatio: 'number',
|
|
@@ -13660,6 +13680,7 @@ class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules ext
|
|
|
13660
13680
|
return {
|
|
13661
13681
|
appId: 'AppId',
|
|
13662
13682
|
createTime: 'CreateTime',
|
|
13683
|
+
enableIdle: 'EnableIdle',
|
|
13663
13684
|
lastDisableTime: 'LastDisableTime',
|
|
13664
13685
|
metric: 'Metric',
|
|
13665
13686
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
@@ -13675,6 +13696,7 @@ class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRules ext
|
|
|
13675
13696
|
return {
|
|
13676
13697
|
appId: 'string',
|
|
13677
13698
|
createTime: 'number',
|
|
13699
|
+
enableIdle: 'boolean',
|
|
13678
13700
|
lastDisableTime: 'number',
|
|
13679
13701
|
metric: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetric,
|
|
13680
13702
|
minReadyInstanceRatio: 'number',
|
|
@@ -16700,6 +16722,7 @@ class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
16700
16722
|
return {
|
|
16701
16723
|
appId: 'AppId',
|
|
16702
16724
|
createTime: 'CreateTime',
|
|
16725
|
+
enableIdle: 'EnableIdle',
|
|
16703
16726
|
lastDisableTime: 'LastDisableTime',
|
|
16704
16727
|
metric: 'Metric',
|
|
16705
16728
|
scaleRuleEnabled: 'ScaleRuleEnabled',
|
|
@@ -16713,6 +16736,7 @@ class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
|
|
|
16713
16736
|
return {
|
|
16714
16737
|
appId: 'string',
|
|
16715
16738
|
createTime: 'number',
|
|
16739
|
+
enableIdle: 'boolean',
|
|
16716
16740
|
lastDisableTime: 'number',
|
|
16717
16741
|
metric: UpdateApplicationScalingRuleResponseBodyDataMetric,
|
|
16718
16742
|
scaleRuleEnabled: 'boolean',
|
|
@@ -17185,6 +17209,9 @@ class Client extends openapi_client_1.default {
|
|
|
17185
17209
|
if (!tea_util_1.default.isUnset(request.enableEbpf)) {
|
|
17186
17210
|
query["EnableEbpf"] = request.enableEbpf;
|
|
17187
17211
|
}
|
|
17212
|
+
if (!tea_util_1.default.isUnset(request.enableNewArms)) {
|
|
17213
|
+
query["EnableNewArms"] = request.enableNewArms;
|
|
17214
|
+
}
|
|
17188
17215
|
if (!tea_util_1.default.isUnset(request.envs)) {
|
|
17189
17216
|
query["Envs"] = request.envs;
|
|
17190
17217
|
}
|
|
@@ -17381,6 +17408,9 @@ class Client extends openapi_client_1.default {
|
|
|
17381
17408
|
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
17382
17409
|
query["AppId"] = request.appId;
|
|
17383
17410
|
}
|
|
17411
|
+
if (!tea_util_1.default.isUnset(request.enableIdle)) {
|
|
17412
|
+
query["EnableIdle"] = request.enableIdle;
|
|
17413
|
+
}
|
|
17384
17414
|
if (!tea_util_1.default.isUnset(request.minReadyInstanceRatio)) {
|
|
17385
17415
|
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
17386
17416
|
}
|
|
@@ -17438,7 +17468,7 @@ class Client extends openapi_client_1.default {
|
|
|
17438
17468
|
return await this.createApplicationScalingRuleWithOptions(request, headers, runtime);
|
|
17439
17469
|
}
|
|
17440
17470
|
/**
|
|
17441
|
-
*
|
|
17471
|
+
* Create a ConfigMap in a namespace.
|
|
17442
17472
|
*
|
|
17443
17473
|
* @param request - CreateConfigMapRequest
|
|
17444
17474
|
* @param headers - map
|
|
@@ -17480,7 +17510,7 @@ class Client extends openapi_client_1.default {
|
|
|
17480
17510
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateConfigMapResponse({}));
|
|
17481
17511
|
}
|
|
17482
17512
|
/**
|
|
17483
|
-
*
|
|
17513
|
+
* Create a ConfigMap in a namespace.
|
|
17484
17514
|
*
|
|
17485
17515
|
* @param request - CreateConfigMapRequest
|
|
17486
17516
|
* @returns CreateConfigMapResponse
|
|
@@ -18579,6 +18609,9 @@ class Client extends openapi_client_1.default {
|
|
|
18579
18609
|
if (!tea_util_1.default.isUnset(request.enableGreyTagRoute)) {
|
|
18580
18610
|
query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
|
|
18581
18611
|
}
|
|
18612
|
+
if (!tea_util_1.default.isUnset(request.enableNewArms)) {
|
|
18613
|
+
query["EnableNewArms"] = request.enableNewArms;
|
|
18614
|
+
}
|
|
18582
18615
|
if (!tea_util_1.default.isUnset(request.envs)) {
|
|
18583
18616
|
query["Envs"] = request.envs;
|
|
18584
18617
|
}
|
|
@@ -22559,6 +22592,9 @@ class Client extends openapi_client_1.default {
|
|
|
22559
22592
|
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
22560
22593
|
query["AppId"] = request.appId;
|
|
22561
22594
|
}
|
|
22595
|
+
if (!tea_util_1.default.isUnset(request.enableIdle)) {
|
|
22596
|
+
query["EnableIdle"] = request.enableIdle;
|
|
22597
|
+
}
|
|
22562
22598
|
if (!tea_util_1.default.isUnset(request.minReadyInstanceRatio)) {
|
|
22563
22599
|
query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
|
|
22564
22600
|
}
|