@alicloud/sae20190506 1.24.6 → 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 +8 -0
- package/dist/client.js +22 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +32 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -306,6 +306,7 @@ export class Application extends $tea.Model {
|
|
|
306
306
|
namespaceName?: string;
|
|
307
307
|
nasConfig?: NASConfig;
|
|
308
308
|
ossMountConfig?: OSSMountConfig;
|
|
309
|
+
programmingLanguage?: string;
|
|
309
310
|
runtime?: string;
|
|
310
311
|
scaleConfig?: ScaleConfig;
|
|
311
312
|
slsConfig?: SLSConfig;
|
|
@@ -360,6 +361,7 @@ export class Application extends $tea.Model {
|
|
|
360
361
|
namespaceName: 'namespaceName',
|
|
361
362
|
nasConfig: 'nasConfig',
|
|
362
363
|
ossMountConfig: 'ossMountConfig',
|
|
364
|
+
programmingLanguage: 'programmingLanguage',
|
|
363
365
|
runtime: 'runtime',
|
|
364
366
|
scaleConfig: 'scaleConfig',
|
|
365
367
|
slsConfig: 'slsConfig',
|
|
@@ -417,6 +419,7 @@ export class Application extends $tea.Model {
|
|
|
417
419
|
namespaceName: 'string',
|
|
418
420
|
nasConfig: NASConfig,
|
|
419
421
|
ossMountConfig: OSSMountConfig,
|
|
422
|
+
programmingLanguage: 'string',
|
|
420
423
|
runtime: 'string',
|
|
421
424
|
scaleConfig: ScaleConfig,
|
|
422
425
|
slsConfig: SLSConfig,
|
|
@@ -816,6 +819,7 @@ export class CreateApplicationInput extends $tea.Model {
|
|
|
816
819
|
customRuntimeConfig?: CustomRuntimeConfig;
|
|
817
820
|
description?: string;
|
|
818
821
|
diskSize?: number;
|
|
822
|
+
enableAppMetric?: boolean;
|
|
819
823
|
environmentVariables?: { [key: string]: string };
|
|
820
824
|
gpuMemorySize?: number;
|
|
821
825
|
handler?: string;
|
|
@@ -835,6 +839,7 @@ export class CreateApplicationInput extends $tea.Model {
|
|
|
835
839
|
namespaceID?: string;
|
|
836
840
|
nasConfig?: NASConfig;
|
|
837
841
|
ossMountConfig?: OSSMountConfig;
|
|
842
|
+
programmingLanguage?: string;
|
|
838
843
|
runtime?: string;
|
|
839
844
|
scaleConfig?: ScaleConfig;
|
|
840
845
|
slsConfig?: SLSConfig;
|
|
@@ -856,6 +861,7 @@ export class CreateApplicationInput extends $tea.Model {
|
|
|
856
861
|
customRuntimeConfig: 'customRuntimeConfig',
|
|
857
862
|
description: 'description',
|
|
858
863
|
diskSize: 'diskSize',
|
|
864
|
+
enableAppMetric: 'enableAppMetric',
|
|
859
865
|
environmentVariables: 'environmentVariables',
|
|
860
866
|
gpuMemorySize: 'gpuMemorySize',
|
|
861
867
|
handler: 'handler',
|
|
@@ -875,6 +881,7 @@ export class CreateApplicationInput extends $tea.Model {
|
|
|
875
881
|
namespaceID: 'namespaceID',
|
|
876
882
|
nasConfig: 'nasConfig',
|
|
877
883
|
ossMountConfig: 'ossMountConfig',
|
|
884
|
+
programmingLanguage: 'programmingLanguage',
|
|
878
885
|
runtime: 'runtime',
|
|
879
886
|
scaleConfig: 'scaleConfig',
|
|
880
887
|
slsConfig: 'slsConfig',
|
|
@@ -899,6 +906,7 @@ export class CreateApplicationInput extends $tea.Model {
|
|
|
899
906
|
customRuntimeConfig: CustomRuntimeConfig,
|
|
900
907
|
description: 'string',
|
|
901
908
|
diskSize: 'number',
|
|
909
|
+
enableAppMetric: 'boolean',
|
|
902
910
|
environmentVariables: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
903
911
|
gpuMemorySize: 'number',
|
|
904
912
|
handler: 'string',
|
|
@@ -918,6 +926,7 @@ export class CreateApplicationInput extends $tea.Model {
|
|
|
918
926
|
namespaceID: 'string',
|
|
919
927
|
nasConfig: NASConfig,
|
|
920
928
|
ossMountConfig: OSSMountConfig,
|
|
929
|
+
programmingLanguage: 'string',
|
|
921
930
|
runtime: 'string',
|
|
922
931
|
scaleConfig: ScaleConfig,
|
|
923
932
|
slsConfig: SLSConfig,
|
|
@@ -3762,8 +3771,10 @@ export class UpdateApplicationInput extends $tea.Model {
|
|
|
3762
3771
|
livenessProbe?: Probe;
|
|
3763
3772
|
logConfig?: LogConfig;
|
|
3764
3773
|
memorySize?: number;
|
|
3774
|
+
namespaceID?: string;
|
|
3765
3775
|
nasConfig?: NASConfig;
|
|
3766
3776
|
ossMountConfig?: OSSMountConfig;
|
|
3777
|
+
programmingLanguage?: string;
|
|
3767
3778
|
runtime?: string;
|
|
3768
3779
|
scaleConfig?: ScaleConfig;
|
|
3769
3780
|
slsConfig?: SLSConfig;
|
|
@@ -3802,8 +3813,10 @@ export class UpdateApplicationInput extends $tea.Model {
|
|
|
3802
3813
|
livenessProbe: 'livenessProbe',
|
|
3803
3814
|
logConfig: 'logConfig',
|
|
3804
3815
|
memorySize: 'memorySize',
|
|
3816
|
+
namespaceID: 'namespaceID',
|
|
3805
3817
|
nasConfig: 'nasConfig',
|
|
3806
3818
|
ossMountConfig: 'ossMountConfig',
|
|
3819
|
+
programmingLanguage: 'programmingLanguage',
|
|
3807
3820
|
runtime: 'runtime',
|
|
3808
3821
|
scaleConfig: 'scaleConfig',
|
|
3809
3822
|
slsConfig: 'slsConfig',
|
|
@@ -3845,8 +3858,10 @@ export class UpdateApplicationInput extends $tea.Model {
|
|
|
3845
3858
|
livenessProbe: Probe,
|
|
3846
3859
|
logConfig: LogConfig,
|
|
3847
3860
|
memorySize: 'number',
|
|
3861
|
+
namespaceID: 'string',
|
|
3848
3862
|
nasConfig: NASConfig,
|
|
3849
3863
|
ossMountConfig: OSSMountConfig,
|
|
3864
|
+
programmingLanguage: 'string',
|
|
3850
3865
|
runtime: 'string',
|
|
3851
3866
|
scaleConfig: ScaleConfig,
|
|
3852
3867
|
slsConfig: SLSConfig,
|
|
@@ -7251,6 +7266,7 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7251
7266
|
* ingress-for-sae-test
|
|
7252
7267
|
*/
|
|
7253
7268
|
description?: string;
|
|
7269
|
+
idleTimeout?: number;
|
|
7254
7270
|
/**
|
|
7255
7271
|
* @remarks
|
|
7256
7272
|
* This parameter is required.
|
|
@@ -7301,6 +7317,7 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7301
7317
|
certIds: 'CertIds',
|
|
7302
7318
|
defaultRule: 'DefaultRule',
|
|
7303
7319
|
description: 'Description',
|
|
7320
|
+
idleTimeout: 'IdleTimeout',
|
|
7304
7321
|
listenerPort: 'ListenerPort',
|
|
7305
7322
|
listenerProtocol: 'ListenerProtocol',
|
|
7306
7323
|
loadBalanceType: 'LoadBalanceType',
|
|
@@ -7318,6 +7335,7 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7318
7335
|
certIds: 'string',
|
|
7319
7336
|
defaultRule: 'string',
|
|
7320
7337
|
description: 'string',
|
|
7338
|
+
idleTimeout: 'number',
|
|
7321
7339
|
listenerPort: 'number',
|
|
7322
7340
|
listenerProtocol: 'string',
|
|
7323
7341
|
loadBalanceType: 'string',
|
|
@@ -23255,6 +23273,7 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23255
23273
|
* ingress-sae-test
|
|
23256
23274
|
*/
|
|
23257
23275
|
description?: string;
|
|
23276
|
+
idleTimeout?: number;
|
|
23258
23277
|
/**
|
|
23259
23278
|
* @remarks
|
|
23260
23279
|
* This parameter is required.
|
|
@@ -23291,6 +23310,7 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23291
23310
|
certIds: 'CertIds',
|
|
23292
23311
|
defaultRule: 'DefaultRule',
|
|
23293
23312
|
description: 'Description',
|
|
23313
|
+
idleTimeout: 'IdleTimeout',
|
|
23294
23314
|
ingressId: 'IngressId',
|
|
23295
23315
|
listenerPort: 'ListenerPort',
|
|
23296
23316
|
listenerProtocol: 'ListenerProtocol',
|
|
@@ -23307,6 +23327,7 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23307
23327
|
certIds: 'string',
|
|
23308
23328
|
defaultRule: 'string',
|
|
23309
23329
|
description: 'string',
|
|
23330
|
+
idleTimeout: 'number',
|
|
23310
23331
|
ingressId: 'number',
|
|
23311
23332
|
listenerPort: 'string',
|
|
23312
23333
|
listenerProtocol: 'string',
|
|
@@ -31903,6 +31924,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
31903
31924
|
* 87
|
|
31904
31925
|
*/
|
|
31905
31926
|
id?: number;
|
|
31927
|
+
idleTimeout?: number;
|
|
31906
31928
|
/**
|
|
31907
31929
|
* @remarks
|
|
31908
31930
|
* The default rule.
|
|
@@ -31976,6 +31998,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
31976
31998
|
defaultRule: 'DefaultRule',
|
|
31977
31999
|
description: 'Description',
|
|
31978
32000
|
id: 'Id',
|
|
32001
|
+
idleTimeout: 'IdleTimeout',
|
|
31979
32002
|
listenerPort: 'ListenerPort',
|
|
31980
32003
|
listenerProtocol: 'ListenerProtocol',
|
|
31981
32004
|
loadBalanceType: 'LoadBalanceType',
|
|
@@ -31996,6 +32019,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
31996
32019
|
defaultRule: DescribeIngressResponseBodyDataDefaultRule,
|
|
31997
32020
|
description: 'string',
|
|
31998
32021
|
id: 'number',
|
|
32022
|
+
idleTimeout: 'number',
|
|
31999
32023
|
listenerPort: 'number',
|
|
32000
32024
|
listenerProtocol: 'string',
|
|
32001
32025
|
loadBalanceType: 'string',
|
|
@@ -39365,6 +39389,10 @@ export default class Client extends OpenApi {
|
|
|
39365
39389
|
query["Description"] = request.description;
|
|
39366
39390
|
}
|
|
39367
39391
|
|
|
39392
|
+
if (!Util.isUnset(request.idleTimeout)) {
|
|
39393
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
39394
|
+
}
|
|
39395
|
+
|
|
39368
39396
|
if (!Util.isUnset(request.listenerPort)) {
|
|
39369
39397
|
query["ListenerPort"] = request.listenerPort;
|
|
39370
39398
|
}
|
|
@@ -45180,6 +45208,10 @@ export default class Client extends OpenApi {
|
|
|
45180
45208
|
query["Description"] = request.description;
|
|
45181
45209
|
}
|
|
45182
45210
|
|
|
45211
|
+
if (!Util.isUnset(request.idleTimeout)) {
|
|
45212
|
+
query["IdleTimeout"] = request.idleTimeout;
|
|
45213
|
+
}
|
|
45214
|
+
|
|
45183
45215
|
if (!Util.isUnset(request.ingressId)) {
|
|
45184
45216
|
query["IngressId"] = request.ingressId;
|
|
45185
45217
|
}
|