@alicloud/sae20190506 1.24.6 → 1.24.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/sae20190506",
3
- "version": "1.24.6",
3
+ "version": "1.24.8",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
23
  "@alicloud/tea-util": "^1.4.9",
24
- "@alicloud/openapi-client": "^0.4.11",
24
+ "@alicloud/openapi-client": "^0.4.12",
25
25
  "@alicloud/openapi-util": "^0.3.2",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
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,
@@ -6111,6 +6126,7 @@ export class CreateApplicationRequest extends $tea.Model {
6111
6126
  * true
6112
6127
  */
6113
6128
  deploy?: boolean;
6129
+ dotnet?: string;
6114
6130
  /**
6115
6131
  * @remarks
6116
6132
  * 3.5.3
@@ -6453,6 +6469,7 @@ export class CreateApplicationRequest extends $tea.Model {
6453
6469
  cpu: 'Cpu',
6454
6470
  customHostAlias: 'CustomHostAlias',
6455
6471
  deploy: 'Deploy',
6472
+ dotnet: 'Dotnet',
6456
6473
  edasContainerVersion: 'EdasContainerVersion',
6457
6474
  enableEbpf: 'EnableEbpf',
6458
6475
  enableNewArms: 'EnableNewArms',
@@ -6520,6 +6537,7 @@ export class CreateApplicationRequest extends $tea.Model {
6520
6537
  cpu: 'number',
6521
6538
  customHostAlias: 'string',
6522
6539
  deploy: 'boolean',
6540
+ dotnet: 'string',
6523
6541
  edasContainerVersion: 'string',
6524
6542
  enableEbpf: 'string',
6525
6543
  enableNewArms: 'boolean',
@@ -7251,6 +7269,7 @@ export class CreateIngressRequest extends $tea.Model {
7251
7269
  * ingress-for-sae-test
7252
7270
  */
7253
7271
  description?: string;
7272
+ idleTimeout?: number;
7254
7273
  /**
7255
7274
  * @remarks
7256
7275
  * This parameter is required.
@@ -7301,6 +7320,7 @@ export class CreateIngressRequest extends $tea.Model {
7301
7320
  certIds: 'CertIds',
7302
7321
  defaultRule: 'DefaultRule',
7303
7322
  description: 'Description',
7323
+ idleTimeout: 'IdleTimeout',
7304
7324
  listenerPort: 'ListenerPort',
7305
7325
  listenerProtocol: 'ListenerProtocol',
7306
7326
  loadBalanceType: 'LoadBalanceType',
@@ -7318,6 +7338,7 @@ export class CreateIngressRequest extends $tea.Model {
7318
7338
  certIds: 'string',
7319
7339
  defaultRule: 'string',
7320
7340
  description: 'string',
7341
+ idleTimeout: 'number',
7321
7342
  listenerPort: 'number',
7322
7343
  listenerProtocol: 'string',
7323
7344
  loadBalanceType: 'string',
@@ -10260,6 +10281,7 @@ export class DeployApplicationRequest extends $tea.Model {
10260
10281
  * true
10261
10282
  */
10262
10283
  deploy?: string;
10284
+ dotnet?: string;
10263
10285
  /**
10264
10286
  * @remarks
10265
10287
  * The version of the container, such as Ali-Tomcat, in which an application developed based on High-speed Service Framework (HSF) is deployed.
@@ -10733,6 +10755,7 @@ export class DeployApplicationRequest extends $tea.Model {
10733
10755
  cpu: 'Cpu',
10734
10756
  customHostAlias: 'CustomHostAlias',
10735
10757
  deploy: 'Deploy',
10758
+ dotnet: 'Dotnet',
10736
10759
  edasContainerVersion: 'EdasContainerVersion',
10737
10760
  enableAhas: 'EnableAhas',
10738
10761
  enableGreyTagRoute: 'EnableGreyTagRoute',
@@ -10799,6 +10822,7 @@ export class DeployApplicationRequest extends $tea.Model {
10799
10822
  cpu: 'number',
10800
10823
  customHostAlias: 'string',
10801
10824
  deploy: 'string',
10825
+ dotnet: 'string',
10802
10826
  edasContainerVersion: 'string',
10803
10827
  enableAhas: 'string',
10804
10828
  enableGreyTagRoute: 'boolean',
@@ -20414,11 +20438,17 @@ export class RescaleApplicationVerticallyRequest extends $tea.Model {
20414
20438
  * 2048
20415
20439
  */
20416
20440
  memory?: string;
20441
+ autoEnableApplicationScalingRule?: boolean;
20442
+ minReadyInstanceRatio?: number;
20443
+ minReadyInstances?: number;
20417
20444
  static names(): { [key: string]: string } {
20418
20445
  return {
20419
20446
  appId: 'AppId',
20420
20447
  cpu: 'Cpu',
20421
20448
  memory: 'Memory',
20449
+ autoEnableApplicationScalingRule: 'autoEnableApplicationScalingRule',
20450
+ minReadyInstanceRatio: 'minReadyInstanceRatio',
20451
+ minReadyInstances: 'minReadyInstances',
20422
20452
  };
20423
20453
  }
20424
20454
 
@@ -20427,6 +20457,9 @@ export class RescaleApplicationVerticallyRequest extends $tea.Model {
20427
20457
  appId: 'string',
20428
20458
  cpu: 'string',
20429
20459
  memory: 'string',
20460
+ autoEnableApplicationScalingRule: 'boolean',
20461
+ minReadyInstanceRatio: 'number',
20462
+ minReadyInstances: 'number',
20430
20463
  };
20431
20464
  }
20432
20465
 
@@ -23255,6 +23288,7 @@ export class UpdateIngressRequest extends $tea.Model {
23255
23288
  * ingress-sae-test
23256
23289
  */
23257
23290
  description?: string;
23291
+ idleTimeout?: number;
23258
23292
  /**
23259
23293
  * @remarks
23260
23294
  * This parameter is required.
@@ -23291,6 +23325,7 @@ export class UpdateIngressRequest extends $tea.Model {
23291
23325
  certIds: 'CertIds',
23292
23326
  defaultRule: 'DefaultRule',
23293
23327
  description: 'Description',
23328
+ idleTimeout: 'IdleTimeout',
23294
23329
  ingressId: 'IngressId',
23295
23330
  listenerPort: 'ListenerPort',
23296
23331
  listenerProtocol: 'ListenerProtocol',
@@ -23307,6 +23342,7 @@ export class UpdateIngressRequest extends $tea.Model {
23307
23342
  certIds: 'string',
23308
23343
  defaultRule: 'string',
23309
23344
  description: 'string',
23345
+ idleTimeout: 'number',
23310
23346
  ingressId: 'number',
23311
23347
  listenerPort: 'string',
23312
23348
  listenerProtocol: 'string',
@@ -27333,6 +27369,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27333
27369
  * [{"hostName":"test.host.name","ip":"0.0.0.0"}]
27334
27370
  */
27335
27371
  customHostAlias?: string;
27372
+ dotnet?: string;
27336
27373
  /**
27337
27374
  * @remarks
27338
27375
  * The version of the container, such as Ali-Tomcat, in which an application developed based on High-speed Service Framework (HSF) is deployed.
@@ -27873,6 +27910,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27873
27910
  configMapMountDesc: 'ConfigMapMountDesc',
27874
27911
  cpu: 'Cpu',
27875
27912
  customHostAlias: 'CustomHostAlias',
27913
+ dotnet: 'Dotnet',
27876
27914
  edasContainerVersion: 'EdasContainerVersion',
27877
27915
  enableAhas: 'EnableAhas',
27878
27916
  enableGreyTagRoute: 'EnableGreyTagRoute',
@@ -27947,6 +27985,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
27947
27985
  configMapMountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataConfigMapMountDesc },
27948
27986
  cpu: 'number',
27949
27987
  customHostAlias: 'string',
27988
+ dotnet: 'string',
27950
27989
  edasContainerVersion: 'string',
27951
27990
  enableAhas: 'string',
27952
27991
  enableGreyTagRoute: 'boolean',
@@ -31903,6 +31942,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
31903
31942
  * 87
31904
31943
  */
31905
31944
  id?: number;
31945
+ idleTimeout?: number;
31906
31946
  /**
31907
31947
  * @remarks
31908
31948
  * The default rule.
@@ -31976,6 +32016,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
31976
32016
  defaultRule: 'DefaultRule',
31977
32017
  description: 'Description',
31978
32018
  id: 'Id',
32019
+ idleTimeout: 'IdleTimeout',
31979
32020
  listenerPort: 'ListenerPort',
31980
32021
  listenerProtocol: 'ListenerProtocol',
31981
32022
  loadBalanceType: 'LoadBalanceType',
@@ -31996,6 +32037,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
31996
32037
  defaultRule: DescribeIngressResponseBodyDataDefaultRule,
31997
32038
  description: 'string',
31998
32039
  id: 'number',
32040
+ idleTimeout: 'number',
31999
32041
  listenerPort: 'number',
32000
32042
  listenerProtocol: 'string',
32001
32043
  loadBalanceType: 'string',
@@ -35275,6 +35317,7 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35275
35317
  * 1000
35276
35318
  */
35277
35319
  cpu?: number;
35320
+ imageUrl?: string;
35278
35321
  /**
35279
35322
  * @remarks
35280
35323
  * The number of application instances.
@@ -35312,6 +35355,7 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35312
35355
  * cn-beijing:demo
35313
35356
  */
35314
35357
  namespaceId?: string;
35358
+ packageUrl?: string;
35315
35359
  programmingLanguage?: string;
35316
35360
  /**
35317
35361
  * @remarks
@@ -35343,11 +35387,13 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35343
35387
  baseAppId: 'BaseAppId',
35344
35388
  children: 'Children',
35345
35389
  cpu: 'Cpu',
35390
+ imageUrl: 'ImageUrl',
35346
35391
  instances: 'Instances',
35347
35392
  mem: 'Mem',
35348
35393
  mseEnabled: 'MseEnabled',
35349
35394
  mseNamespaceId: 'MseNamespaceId',
35350
35395
  namespaceId: 'NamespaceId',
35396
+ packageUrl: 'PackageUrl',
35351
35397
  programmingLanguage: 'ProgrammingLanguage',
35352
35398
  regionId: 'RegionId',
35353
35399
  runningInstances: 'RunningInstances',
@@ -35364,11 +35410,13 @@ export class ListApplicationsResponseBodyDataApplications extends $tea.Model {
35364
35410
  baseAppId: 'string',
35365
35411
  children: { 'type': 'array', 'itemType': ListApplicationsResponseBodyDataApplicationsChildren },
35366
35412
  cpu: 'number',
35413
+ imageUrl: 'string',
35367
35414
  instances: 'number',
35368
35415
  mem: 'number',
35369
35416
  mseEnabled: 'boolean',
35370
35417
  mseNamespaceId: 'string',
35371
35418
  namespaceId: 'string',
35419
+ packageUrl: 'string',
35372
35420
  programmingLanguage: 'string',
35373
35421
  regionId: 'string',
35374
35422
  runningInstances: 'number',
@@ -38879,6 +38927,10 @@ export default class Client extends OpenApi {
38879
38927
  query["Deploy"] = request.deploy;
38880
38928
  }
38881
38929
 
38930
+ if (!Util.isUnset(request.dotnet)) {
38931
+ query["Dotnet"] = request.dotnet;
38932
+ }
38933
+
38882
38934
  if (!Util.isUnset(request.edasContainerVersion)) {
38883
38935
  query["EdasContainerVersion"] = request.edasContainerVersion;
38884
38936
  }
@@ -39365,6 +39417,10 @@ export default class Client extends OpenApi {
39365
39417
  query["Description"] = request.description;
39366
39418
  }
39367
39419
 
39420
+ if (!Util.isUnset(request.idleTimeout)) {
39421
+ query["IdleTimeout"] = request.idleTimeout;
39422
+ }
39423
+
39368
39424
  if (!Util.isUnset(request.listenerPort)) {
39369
39425
  query["ListenerPort"] = request.listenerPort;
39370
39426
  }
@@ -40495,6 +40551,10 @@ export default class Client extends OpenApi {
40495
40551
  query["Deploy"] = request.deploy;
40496
40552
  }
40497
40553
 
40554
+ if (!Util.isUnset(request.dotnet)) {
40555
+ query["Dotnet"] = request.dotnet;
40556
+ }
40557
+
40498
40558
  if (!Util.isUnset(request.edasContainerVersion)) {
40499
40559
  query["EdasContainerVersion"] = request.edasContainerVersion;
40500
40560
  }
@@ -44218,6 +44278,18 @@ export default class Client extends OpenApi {
44218
44278
  query["Memory"] = request.memory;
44219
44279
  }
44220
44280
 
44281
+ if (!Util.isUnset(request.autoEnableApplicationScalingRule)) {
44282
+ query["autoEnableApplicationScalingRule"] = request.autoEnableApplicationScalingRule;
44283
+ }
44284
+
44285
+ if (!Util.isUnset(request.minReadyInstanceRatio)) {
44286
+ query["minReadyInstanceRatio"] = request.minReadyInstanceRatio;
44287
+ }
44288
+
44289
+ if (!Util.isUnset(request.minReadyInstances)) {
44290
+ query["minReadyInstances"] = request.minReadyInstances;
44291
+ }
44292
+
44221
44293
  let req = new $OpenApi.OpenApiRequest({
44222
44294
  headers: headers,
44223
44295
  query: OpenApiUtil.query(query),
@@ -45180,6 +45252,10 @@ export default class Client extends OpenApi {
45180
45252
  query["Description"] = request.description;
45181
45253
  }
45182
45254
 
45255
+ if (!Util.isUnset(request.idleTimeout)) {
45256
+ query["IdleTimeout"] = request.idleTimeout;
45257
+ }
45258
+
45183
45259
  if (!Util.isUnset(request.ingressId)) {
45184
45260
  query["IngressId"] = request.ingressId;
45185
45261
  }