@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/sae20190506",
3
- "version": "1.24.5",
3
+ "version": "1.24.7",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
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,
@@ -6701,6 +6716,7 @@ export class CreateApplicationScalingRuleRequest extends $tea.Model {
6701
6716
  * 7171a6ca-d1cd-4928-8642-7d5cfe69****
6702
6717
  */
6703
6718
  appId?: string;
6719
+ enableIdle?: boolean;
6704
6720
  /**
6705
6721
  * @example
6706
6722
  * -1
@@ -6745,6 +6761,7 @@ export class CreateApplicationScalingRuleRequest extends $tea.Model {
6745
6761
  static names(): { [key: string]: string } {
6746
6762
  return {
6747
6763
  appId: 'AppId',
6764
+ enableIdle: 'EnableIdle',
6748
6765
  minReadyInstanceRatio: 'MinReadyInstanceRatio',
6749
6766
  minReadyInstances: 'MinReadyInstances',
6750
6767
  scalingRuleEnable: 'ScalingRuleEnable',
@@ -6758,6 +6775,7 @@ export class CreateApplicationScalingRuleRequest extends $tea.Model {
6758
6775
  static types(): { [key: string]: any } {
6759
6776
  return {
6760
6777
  appId: 'string',
6778
+ enableIdle: 'boolean',
6761
6779
  minReadyInstanceRatio: 'number',
6762
6780
  minReadyInstances: 'number',
6763
6781
  scalingRuleEnable: 'boolean',
@@ -6858,11 +6876,7 @@ export class CreateApplicationScalingRuleResponse extends $tea.Model {
6858
6876
  export class CreateConfigMapRequest extends $tea.Model {
6859
6877
  /**
6860
6878
  * @remarks
6861
- * The key-value pairs of the ConfigMap in the JSON format. Format:
6862
- *
6863
- * {"Data":"{"k1":"v1", "k2":"v2"}"}
6864
- *
6865
- * 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).
6879
+ * The ConfigMap data.
6866
6880
  *
6867
6881
  * This parameter is required.
6868
6882
  *
@@ -6872,7 +6886,11 @@ export class CreateConfigMapRequest extends $tea.Model {
6872
6886
  data?: string;
6873
6887
  /**
6874
6888
  * @remarks
6875
- * The description. The description must be 1 to 255 characters in length, and cannot contain spaces.
6889
+ * The key-value pairs of the ConfigMap in the JSON format. Format:
6890
+ *
6891
+ * {"Data":"{"k1":"v1", "k2":"v2"}"}
6892
+ *
6893
+ * 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).
6876
6894
  *
6877
6895
  * @example
6878
6896
  * test-desc
@@ -6924,12 +6942,7 @@ export class CreateConfigMapRequest extends $tea.Model {
6924
6942
  export class CreateConfigMapResponseBody extends $tea.Model {
6925
6943
  /**
6926
6944
  * @remarks
6927
- * The HTTP status code. Valid values:
6928
- *
6929
- * * **2xx**: The call was successful.
6930
- * * **3xx**: The call was redirected.
6931
- * * **4xx**: The call failed.
6932
- * * **5xx**: A server error occurred.
6945
+ * Empty
6933
6946
  *
6934
6947
  * @example
6935
6948
  * 200
@@ -6937,23 +6950,23 @@ export class CreateConfigMapResponseBody extends $tea.Model {
6937
6950
  code?: string;
6938
6951
  /**
6939
6952
  * @remarks
6940
- * The returned result.
6953
+ * The trace ID that is used to query the details of the request.
6941
6954
  */
6942
6955
  data?: CreateConfigMapResponseBodyData;
6943
6956
  /**
6944
6957
  * @remarks
6958
+ * The ID of the ConfigMap that was created.
6959
+ *
6960
+ * @example
6945
6961
  * The error code. Valid values:
6946
6962
  *
6947
6963
  * * If the call is successful, the **ErrorCode** parameter is not returned.
6948
6964
  * * If the call fails, the **ErrorCode** parameter is returned. For more information, see the **Error codes** section in this topic.
6949
- *
6950
- * @example
6951
- * Empty
6952
6965
  */
6953
6966
  errorCode?: string;
6954
6967
  /**
6955
6968
  * @remarks
6956
- * The returned message.
6969
+ * The request ID.
6957
6970
  *
6958
6971
  * @example
6959
6972
  * success
@@ -6961,7 +6974,7 @@ export class CreateConfigMapResponseBody extends $tea.Model {
6961
6974
  message?: string;
6962
6975
  /**
6963
6976
  * @remarks
6964
- * The request ID.
6977
+ * The returned data.
6965
6978
  *
6966
6979
  * @example
6967
6980
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
@@ -6969,10 +6982,12 @@ export class CreateConfigMapResponseBody extends $tea.Model {
6969
6982
  requestId?: string;
6970
6983
  /**
6971
6984
  * @remarks
6972
- * Indicates whether the ConfigMap was created. Valid values:
6985
+ * The HTTP status code. Valid values:
6973
6986
  *
6974
- * * **true**: The ConfigMap was created.
6975
- * * **false**: The ConfigMap failed to be created.
6987
+ * * **2xx**: The call was successful.
6988
+ * * **3xx**: The call was redirected.
6989
+ * * **4xx**: The call failed.
6990
+ * * **5xx**: A server error occurred.
6976
6991
  *
6977
6992
  * @example
6978
6993
  * true
@@ -6980,7 +6995,7 @@ export class CreateConfigMapResponseBody extends $tea.Model {
6980
6995
  success?: boolean;
6981
6996
  /**
6982
6997
  * @remarks
6983
- * The trace ID that is used to query the details of the request.
6998
+ * The returned message.
6984
6999
  *
6985
7000
  * @example
6986
7001
  * 0a98a02315955564772843261e****
@@ -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',
@@ -22501,6 +22519,7 @@ export class UpdateApplicationScalingRuleRequest extends $tea.Model {
22501
22519
  * 7171a6ca-d1cd-4928-8642-7d5cfe69****
22502
22520
  */
22503
22521
  appId?: string;
22522
+ enableIdle?: boolean;
22504
22523
  /**
22505
22524
  * @remarks
22506
22525
  * The percentage of the minimum number of available instances. Take note of the following rules:
@@ -22634,6 +22653,7 @@ export class UpdateApplicationScalingRuleRequest extends $tea.Model {
22634
22653
  static names(): { [key: string]: string } {
22635
22654
  return {
22636
22655
  appId: 'AppId',
22656
+ enableIdle: 'EnableIdle',
22637
22657
  minReadyInstanceRatio: 'MinReadyInstanceRatio',
22638
22658
  minReadyInstances: 'MinReadyInstances',
22639
22659
  scalingRuleMetric: 'ScalingRuleMetric',
@@ -22645,6 +22665,7 @@ export class UpdateApplicationScalingRuleRequest extends $tea.Model {
22645
22665
  static types(): { [key: string]: any } {
22646
22666
  return {
22647
22667
  appId: 'string',
22668
+ enableIdle: 'boolean',
22648
22669
  minReadyInstanceRatio: 'number',
22649
22670
  minReadyInstances: 'number',
22650
22671
  scalingRuleMetric: 'string',
@@ -23252,6 +23273,7 @@ export class UpdateIngressRequest extends $tea.Model {
23252
23273
  * ingress-sae-test
23253
23274
  */
23254
23275
  description?: string;
23276
+ idleTimeout?: number;
23255
23277
  /**
23256
23278
  * @remarks
23257
23279
  * This parameter is required.
@@ -23288,6 +23310,7 @@ export class UpdateIngressRequest extends $tea.Model {
23288
23310
  certIds: 'CertIds',
23289
23311
  defaultRule: 'DefaultRule',
23290
23312
  description: 'Description',
23313
+ idleTimeout: 'IdleTimeout',
23291
23314
  ingressId: 'IngressId',
23292
23315
  listenerPort: 'ListenerPort',
23293
23316
  listenerProtocol: 'ListenerProtocol',
@@ -23304,6 +23327,7 @@ export class UpdateIngressRequest extends $tea.Model {
23304
23327
  certIds: 'string',
23305
23328
  defaultRule: 'string',
23306
23329
  description: 'string',
23330
+ idleTimeout: 'number',
23307
23331
  ingressId: 'number',
23308
23332
  listenerPort: 'string',
23309
23333
  listenerProtocol: 'string',
@@ -26260,6 +26284,7 @@ export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
26260
26284
  * 1616642248938
26261
26285
  */
26262
26286
  createTime?: number;
26287
+ enableIdle?: boolean;
26263
26288
  /**
26264
26289
  * @example
26265
26290
  * 1641882854484
@@ -26291,6 +26316,7 @@ export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
26291
26316
  return {
26292
26317
  appId: 'AppId',
26293
26318
  createTime: 'CreateTime',
26319
+ enableIdle: 'EnableIdle',
26294
26320
  lastDisableTime: 'LastDisableTime',
26295
26321
  metric: 'Metric',
26296
26322
  scaleRuleEnabled: 'ScaleRuleEnabled',
@@ -26305,6 +26331,7 @@ export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
26305
26331
  return {
26306
26332
  appId: 'string',
26307
26333
  createTime: 'number',
26334
+ enableIdle: 'boolean',
26308
26335
  lastDisableTime: 'number',
26309
26336
  metric: CreateApplicationScalingRuleResponseBodyDataMetric,
26310
26337
  scaleRuleEnabled: 'boolean',
@@ -26323,7 +26350,7 @@ export class CreateApplicationScalingRuleResponseBodyData extends $tea.Model {
26323
26350
  export class CreateConfigMapResponseBodyData extends $tea.Model {
26324
26351
  /**
26325
26352
  * @remarks
26326
- * The ID of the ConfigMap that was created.
26353
+ * The returned result.
26327
26354
  *
26328
26355
  * @example
26329
26356
  * 1
@@ -28999,6 +29026,7 @@ export class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
28999
29026
  * 1624329843790
29000
29027
  */
29001
29028
  createTime?: number;
29029
+ enableIdle?: boolean;
29002
29030
  /**
29003
29031
  * @remarks
29004
29032
  * The time when the auto scaling policy was last disabled.
@@ -29062,6 +29090,7 @@ export class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
29062
29090
  return {
29063
29091
  appId: 'AppId',
29064
29092
  createTime: 'CreateTime',
29093
+ enableIdle: 'EnableIdle',
29065
29094
  lastDisableTime: 'LastDisableTime',
29066
29095
  metric: 'Metric',
29067
29096
  minReadyInstanceRatio: 'MinReadyInstanceRatio',
@@ -29078,6 +29107,7 @@ export class DescribeApplicationScalingRuleResponseBodyData extends $tea.Model {
29078
29107
  return {
29079
29108
  appId: 'string',
29080
29109
  createTime: 'number',
29110
+ enableIdle: 'boolean',
29081
29111
  lastDisableTime: 'number',
29082
29112
  metric: DescribeApplicationScalingRuleResponseBodyDataMetric,
29083
29113
  minReadyInstanceRatio: 'number',
@@ -29665,6 +29695,7 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
29665
29695
  * 1616642248938
29666
29696
  */
29667
29697
  createTime?: number;
29698
+ enableIdle?: boolean;
29668
29699
  /**
29669
29700
  * @remarks
29670
29701
  * The time when the auto scaling policy was last disabled.
@@ -29728,6 +29759,7 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
29728
29759
  return {
29729
29760
  appId: 'AppId',
29730
29761
  createTime: 'CreateTime',
29762
+ enableIdle: 'EnableIdle',
29731
29763
  lastDisableTime: 'LastDisableTime',
29732
29764
  metric: 'Metric',
29733
29765
  minReadyInstanceRatio: 'MinReadyInstanceRatio',
@@ -29744,6 +29776,7 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
29744
29776
  return {
29745
29777
  appId: 'string',
29746
29778
  createTime: 'number',
29779
+ enableIdle: 'boolean',
29747
29780
  lastDisableTime: 'number',
29748
29781
  metric: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesMetric,
29749
29782
  minReadyInstanceRatio: 'number',
@@ -31891,6 +31924,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
31891
31924
  * 87
31892
31925
  */
31893
31926
  id?: number;
31927
+ idleTimeout?: number;
31894
31928
  /**
31895
31929
  * @remarks
31896
31930
  * The default rule.
@@ -31964,6 +31998,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
31964
31998
  defaultRule: 'DefaultRule',
31965
31999
  description: 'Description',
31966
32000
  id: 'Id',
32001
+ idleTimeout: 'IdleTimeout',
31967
32002
  listenerPort: 'ListenerPort',
31968
32003
  listenerProtocol: 'ListenerProtocol',
31969
32004
  loadBalanceType: 'LoadBalanceType',
@@ -31984,6 +32019,7 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
31984
32019
  defaultRule: DescribeIngressResponseBodyDataDefaultRule,
31985
32020
  description: 'string',
31986
32021
  id: 'number',
32022
+ idleTimeout: 'number',
31987
32023
  listenerPort: 'number',
31988
32024
  listenerProtocol: 'string',
31989
32025
  loadBalanceType: 'string',
@@ -38171,6 +38207,7 @@ export class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
38171
38207
  * 1616642248938
38172
38208
  */
38173
38209
  createTime?: number;
38210
+ enableIdle?: boolean;
38174
38211
  /**
38175
38212
  * @remarks
38176
38213
  * The time when the auto scaling policy was last disabled.
@@ -38232,6 +38269,7 @@ export class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
38232
38269
  return {
38233
38270
  appId: 'AppId',
38234
38271
  createTime: 'CreateTime',
38272
+ enableIdle: 'EnableIdle',
38235
38273
  lastDisableTime: 'LastDisableTime',
38236
38274
  metric: 'Metric',
38237
38275
  scaleRuleEnabled: 'ScaleRuleEnabled',
@@ -38246,6 +38284,7 @@ export class UpdateApplicationScalingRuleResponseBodyData extends $tea.Model {
38246
38284
  return {
38247
38285
  appId: 'string',
38248
38286
  createTime: 'number',
38287
+ enableIdle: 'boolean',
38249
38288
  lastDisableTime: 'number',
38250
38289
  metric: UpdateApplicationScalingRuleResponseBodyDataMetric,
38251
38290
  scaleRuleEnabled: 'boolean',
@@ -39124,6 +39163,10 @@ export default class Client extends OpenApi {
39124
39163
  query["AppId"] = request.appId;
39125
39164
  }
39126
39165
 
39166
+ if (!Util.isUnset(request.enableIdle)) {
39167
+ query["EnableIdle"] = request.enableIdle;
39168
+ }
39169
+
39127
39170
  if (!Util.isUnset(request.minReadyInstanceRatio)) {
39128
39171
  query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
39129
39172
  }
@@ -39346,6 +39389,10 @@ export default class Client extends OpenApi {
39346
39389
  query["Description"] = request.description;
39347
39390
  }
39348
39391
 
39392
+ if (!Util.isUnset(request.idleTimeout)) {
39393
+ query["IdleTimeout"] = request.idleTimeout;
39394
+ }
39395
+
39349
39396
  if (!Util.isUnset(request.listenerPort)) {
39350
39397
  query["ListenerPort"] = request.listenerPort;
39351
39398
  }
@@ -44917,6 +44964,10 @@ export default class Client extends OpenApi {
44917
44964
  query["AppId"] = request.appId;
44918
44965
  }
44919
44966
 
44967
+ if (!Util.isUnset(request.enableIdle)) {
44968
+ query["EnableIdle"] = request.enableIdle;
44969
+ }
44970
+
44920
44971
  if (!Util.isUnset(request.minReadyInstanceRatio)) {
44921
44972
  query["MinReadyInstanceRatio"] = request.minReadyInstanceRatio;
44922
44973
  }
@@ -45157,6 +45208,10 @@ export default class Client extends OpenApi {
45157
45208
  query["Description"] = request.description;
45158
45209
  }
45159
45210
 
45211
+ if (!Util.isUnset(request.idleTimeout)) {
45212
+ query["IdleTimeout"] = request.idleTimeout;
45213
+ }
45214
+
45160
45215
  if (!Util.isUnset(request.ingressId)) {
45161
45216
  query["IngressId"] = request.ingressId;
45162
45217
  }