@alicloud/sae20190506 1.25.2 → 1.25.4

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.25.2",
3
+ "version": "1.25.4",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -704,6 +704,7 @@ export class Container extends $tea.Model {
704
704
  * registry.cn-shanghai.aliyuncs.com/serverless_devsxxxxx
705
705
  */
706
706
  image?: string;
707
+ imageRegistryConfig?: ImageRegistryConfig;
707
708
  metricsCollectConfig?: MetricsCollectConfig;
708
709
  /**
709
710
  * @example
@@ -735,6 +736,7 @@ export class Container extends $tea.Model {
735
736
  command: 'Command',
736
737
  environmentVariables: 'EnvironmentVariables',
737
738
  image: 'Image',
739
+ imageRegistryConfig: 'ImageRegistryConfig',
738
740
  metricsCollectConfig: 'MetricsCollectConfig',
739
741
  port: 'Port',
740
742
  requestConcurrency: 'RequestConcurrency',
@@ -753,6 +755,7 @@ export class Container extends $tea.Model {
753
755
  command: 'string',
754
756
  environmentVariables: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
755
757
  image: 'string',
758
+ imageRegistryConfig: ImageRegistryConfig,
756
759
  metricsCollectConfig: MetricsCollectConfig,
757
760
  port: 'number',
758
761
  requestConcurrency: 'number',
@@ -1869,6 +1872,28 @@ export class ImageConfig extends $tea.Model {
1869
1872
  }
1870
1873
  }
1871
1874
 
1875
+ export class ImageRegistryConfig extends $tea.Model {
1876
+ authConfig?: RegistryAuthenticationConfig;
1877
+ certConfig?: RegistryCertificateConfig;
1878
+ static names(): { [key: string]: string } {
1879
+ return {
1880
+ authConfig: 'AuthConfig',
1881
+ certConfig: 'CertConfig',
1882
+ };
1883
+ }
1884
+
1885
+ static types(): { [key: string]: any } {
1886
+ return {
1887
+ authConfig: RegistryAuthenticationConfig,
1888
+ certConfig: RegistryCertificateConfig,
1889
+ };
1890
+ }
1891
+
1892
+ constructor(map?: { [key: string]: any }) {
1893
+ super(map);
1894
+ }
1895
+ }
1896
+
1872
1897
  export class InputCodeLocation extends $tea.Model {
1873
1898
  ossBucketName?: string;
1874
1899
  ossObjectName?: string;
@@ -3248,6 +3273,36 @@ export class RegistryAuthConfig extends $tea.Model {
3248
3273
  }
3249
3274
  }
3250
3275
 
3276
+ export class RegistryAuthenticationConfig extends $tea.Model {
3277
+ /**
3278
+ * @example
3279
+ * abc***
3280
+ */
3281
+ password?: string;
3282
+ /**
3283
+ * @example
3284
+ * admin
3285
+ */
3286
+ userName?: string;
3287
+ static names(): { [key: string]: string } {
3288
+ return {
3289
+ password: 'Password',
3290
+ userName: 'UserName',
3291
+ };
3292
+ }
3293
+
3294
+ static types(): { [key: string]: any } {
3295
+ return {
3296
+ password: 'string',
3297
+ userName: 'string',
3298
+ };
3299
+ }
3300
+
3301
+ constructor(map?: { [key: string]: any }) {
3302
+ super(map);
3303
+ }
3304
+ }
3305
+
3251
3306
  export class RegistryCertConfig extends $tea.Model {
3252
3307
  insecure?: boolean;
3253
3308
  rootCaCertBase64?: string;
@@ -3270,6 +3325,36 @@ export class RegistryCertConfig extends $tea.Model {
3270
3325
  }
3271
3326
  }
3272
3327
 
3328
+ export class RegistryCertificateConfig extends $tea.Model {
3329
+ /**
3330
+ * @example
3331
+ * LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCmZha2VDZXJ0aWZpY2F0ZQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t
3332
+ */
3333
+ certBase64?: string;
3334
+ /**
3335
+ * @example
3336
+ * true
3337
+ */
3338
+ insecure?: boolean;
3339
+ static names(): { [key: string]: string } {
3340
+ return {
3341
+ certBase64: 'CertBase64',
3342
+ insecure: 'Insecure',
3343
+ };
3344
+ }
3345
+
3346
+ static types(): { [key: string]: any } {
3347
+ return {
3348
+ certBase64: 'string',
3349
+ insecure: 'boolean',
3350
+ };
3351
+ }
3352
+
3353
+ constructor(map?: { [key: string]: any }) {
3354
+ super(map);
3355
+ }
3356
+ }
3357
+
3273
3358
  export class RegistryConfig extends $tea.Model {
3274
3359
  authConfig?: RegistryAuthConfig;
3275
3360
  certConfig?: RegistryCertConfig;
@@ -7376,6 +7461,11 @@ export class CreateIngressRequest extends $tea.Model {
7376
7461
  * ingress-for-sae-test
7377
7462
  */
7378
7463
  description?: string;
7464
+ enableXForwardedFor?: boolean;
7465
+ enableXForwardedForClientSrcPort?: boolean;
7466
+ enableXForwardedForProto?: boolean;
7467
+ enableXForwardedForSlbId?: boolean;
7468
+ enableXForwardedForSlbPort?: boolean;
7379
7469
  /**
7380
7470
  * @remarks
7381
7471
  * The timeout period of an idle connection. Unit: seconds. Valid values: 1 to 60.
@@ -7481,6 +7571,11 @@ export class CreateIngressRequest extends $tea.Model {
7481
7571
  certIds: 'CertIds',
7482
7572
  defaultRule: 'DefaultRule',
7483
7573
  description: 'Description',
7574
+ enableXForwardedFor: 'EnableXForwardedFor',
7575
+ enableXForwardedForClientSrcPort: 'EnableXForwardedForClientSrcPort',
7576
+ enableXForwardedForProto: 'EnableXForwardedForProto',
7577
+ enableXForwardedForSlbId: 'EnableXForwardedForSlbId',
7578
+ enableXForwardedForSlbPort: 'EnableXForwardedForSlbPort',
7484
7579
  idleTimeout: 'IdleTimeout',
7485
7580
  listenerPort: 'ListenerPort',
7486
7581
  listenerProtocol: 'ListenerProtocol',
@@ -7499,6 +7594,11 @@ export class CreateIngressRequest extends $tea.Model {
7499
7594
  certIds: 'string',
7500
7595
  defaultRule: 'string',
7501
7596
  description: 'string',
7597
+ enableXForwardedFor: 'boolean',
7598
+ enableXForwardedForClientSrcPort: 'boolean',
7599
+ enableXForwardedForProto: 'boolean',
7600
+ enableXForwardedForSlbId: 'boolean',
7601
+ enableXForwardedForSlbPort: 'boolean',
7502
7602
  idleTimeout: 'number',
7503
7603
  listenerPort: 'number',
7504
7604
  listenerProtocol: 'string',
@@ -10459,6 +10559,10 @@ export class DeployApplicationRequest extends $tea.Model {
10459
10559
  * [{"configMapId":16,"key":"test","mountPath":"/tmp"}]
10460
10560
  */
10461
10561
  configMapMountDesc?: string;
10562
+ /**
10563
+ * @example
10564
+ * 1000
10565
+ */
10462
10566
  cpu?: number;
10463
10567
  /**
10464
10568
  * @remarks
@@ -10622,6 +10726,10 @@ export class DeployApplicationRequest extends $tea.Model {
10622
10726
  * {"exec":{"command":["sleep","5s"]},"initialDelaySeconds":10,"timeoutSeconds":11}
10623
10727
  */
10624
10728
  liveness?: string;
10729
+ /**
10730
+ * @example
10731
+ * 1024
10732
+ */
10625
10733
  memory?: number;
10626
10734
  /**
10627
10735
  * @remarks
@@ -10635,6 +10743,10 @@ export class DeployApplicationRequest extends $tea.Model {
10635
10743
  * "0"
10636
10744
  */
10637
10745
  microRegistration?: string;
10746
+ /**
10747
+ * @example
10748
+ * {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
10749
+ */
10638
10750
  microRegistrationConfig?: string;
10639
10751
  /**
10640
10752
  * @remarks
@@ -10694,7 +10806,7 @@ export class DeployApplicationRequest extends $tea.Model {
10694
10806
  nasConfigs?: string;
10695
10807
  /**
10696
10808
  * @remarks
10697
- * The ID of the Apsara File Storage NAS file system. After the application is created, you may want to call other operations to manage the application. If you do not want to change the NAS configurations in these subsequent operations, you can omit the **NasId** parameter in the requests. If you want to unmount the NAS file system, you must set the **NasId** values in the subsequent requests to an empty string ("").
10809
+ * The ID of the File Storage NAS file system. After the application is created, you may want to call other operations to manage the application. If you do not want to change the NAS configurations in these subsequent operations, you can omit the **NasId** parameter in the requests. If you want to unmount the NAS file system, you must set the **NasId** values in the subsequent requests to an empty string ("").
10698
10810
  *
10699
10811
  * @example
10700
10812
  * 10d3b4****
@@ -10840,8 +10952,20 @@ export class DeployApplicationRequest extends $tea.Model {
10840
10952
  * {"exec":{"command":["sleep","6s"]},"initialDelaySeconds":15,"timeoutSeconds":12}
10841
10953
  */
10842
10954
  readiness?: string;
10955
+ /**
10956
+ * @example
10957
+ * 1
10958
+ */
10843
10959
  replicas?: number;
10960
+ /**
10961
+ * @example
10962
+ * sg-wz969ngg2e49q5i4****
10963
+ */
10844
10964
  securityGroupId?: string;
10965
+ /**
10966
+ * @example
10967
+ * {\\"alicloud.service.tag\\":\\"g1\\"}
10968
+ */
10845
10969
  serviceTags?: string;
10846
10970
  /**
10847
10971
  * @remarks
@@ -10920,6 +11044,10 @@ export class DeployApplicationRequest extends $tea.Model {
10920
11044
  * {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}
10921
11045
  */
10922
11046
  updateStrategy?: string;
11047
+ /**
11048
+ * @example
11049
+ * vsw-bp12mw1f8k3jgygk9****
11050
+ */
10923
11051
  vSwitchId?: string;
10924
11052
  /**
10925
11053
  * @remarks
@@ -23722,6 +23850,15 @@ export class UpdateIngressRequest extends $tea.Model {
23722
23850
  * ingress-sae-test
23723
23851
  */
23724
23852
  description?: string;
23853
+ enableXForwardedFor?: boolean;
23854
+ enableXForwardedForClientSrcPort?: boolean;
23855
+ enableXForwardedForProto?: boolean;
23856
+ enableXForwardedForSlbId?: boolean;
23857
+ enableXForwardedForSlbPort?: boolean;
23858
+ /**
23859
+ * @example
23860
+ * 3
23861
+ */
23725
23862
  idleTimeout?: number;
23726
23863
  /**
23727
23864
  * @remarks
@@ -23760,6 +23897,10 @@ export class UpdateIngressRequest extends $tea.Model {
23760
23897
  * clb
23761
23898
  */
23762
23899
  loadBalanceType?: string;
23900
+ /**
23901
+ * @example
23902
+ * 60
23903
+ */
23763
23904
  requestTimeout?: number;
23764
23905
  /**
23765
23906
  * @remarks
@@ -23774,6 +23915,10 @@ export class UpdateIngressRequest extends $tea.Model {
23774
23915
  * [{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080,"domain":"www.sae.site","path":"/path1"},{"appId":"666403ce-d25b-47cf-87fe-497565d2****","containerPort":8080,"domain":"sae.site","path":"/path2"}]
23775
23916
  */
23776
23917
  rules?: string;
23918
+ /**
23919
+ * @example
23920
+ * tls_cipher_policy_1_0
23921
+ */
23777
23922
  securityPolicyId?: string;
23778
23923
  static names(): { [key: string]: string } {
23779
23924
  return {
@@ -23781,6 +23926,11 @@ export class UpdateIngressRequest extends $tea.Model {
23781
23926
  certIds: 'CertIds',
23782
23927
  defaultRule: 'DefaultRule',
23783
23928
  description: 'Description',
23929
+ enableXForwardedFor: 'EnableXForwardedFor',
23930
+ enableXForwardedForClientSrcPort: 'EnableXForwardedForClientSrcPort',
23931
+ enableXForwardedForProto: 'EnableXForwardedForProto',
23932
+ enableXForwardedForSlbId: 'EnableXForwardedForSlbId',
23933
+ enableXForwardedForSlbPort: 'EnableXForwardedForSlbPort',
23784
23934
  idleTimeout: 'IdleTimeout',
23785
23935
  ingressId: 'IngressId',
23786
23936
  listenerPort: 'ListenerPort',
@@ -23798,6 +23948,11 @@ export class UpdateIngressRequest extends $tea.Model {
23798
23948
  certIds: 'string',
23799
23949
  defaultRule: 'string',
23800
23950
  description: 'string',
23951
+ enableXForwardedFor: 'boolean',
23952
+ enableXForwardedForClientSrcPort: 'boolean',
23953
+ enableXForwardedForProto: 'boolean',
23954
+ enableXForwardedForSlbId: 'boolean',
23955
+ enableXForwardedForSlbPort: 'boolean',
23801
23956
  idleTimeout: 'number',
23802
23957
  ingressId: 'number',
23803
23958
  listenerPort: 'string',
@@ -32427,6 +32582,28 @@ export class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
32427
32582
  }
32428
32583
  }
32429
32584
 
32585
+ export class DescribeIngressResponseBodyDataRulesRuleActions extends $tea.Model {
32586
+ actionConfig?: string;
32587
+ actionType?: string;
32588
+ static names(): { [key: string]: string } {
32589
+ return {
32590
+ actionConfig: 'ActionConfig',
32591
+ actionType: 'ActionType',
32592
+ };
32593
+ }
32594
+
32595
+ static types(): { [key: string]: any } {
32596
+ return {
32597
+ actionConfig: 'string',
32598
+ actionType: 'string',
32599
+ };
32600
+ }
32601
+
32602
+ constructor(map?: { [key: string]: any }) {
32603
+ super(map);
32604
+ }
32605
+ }
32606
+
32430
32607
  export class DescribeIngressResponseBodyDataRules extends $tea.Model {
32431
32608
  /**
32432
32609
  * @remarks
@@ -32483,6 +32660,7 @@ export class DescribeIngressResponseBodyDataRules extends $tea.Model {
32483
32660
  */
32484
32661
  path?: string;
32485
32662
  rewritePath?: string;
32663
+ ruleActions?: DescribeIngressResponseBodyDataRulesRuleActions[];
32486
32664
  static names(): { [key: string]: string } {
32487
32665
  return {
32488
32666
  appId: 'AppId',
@@ -32492,6 +32670,7 @@ export class DescribeIngressResponseBodyDataRules extends $tea.Model {
32492
32670
  domain: 'Domain',
32493
32671
  path: 'Path',
32494
32672
  rewritePath: 'RewritePath',
32673
+ ruleActions: 'RuleActions',
32495
32674
  };
32496
32675
  }
32497
32676
 
@@ -32504,6 +32683,7 @@ export class DescribeIngressResponseBodyDataRules extends $tea.Model {
32504
32683
  domain: 'string',
32505
32684
  path: 'string',
32506
32685
  rewritePath: 'string',
32686
+ ruleActions: { 'type': 'array', 'itemType': DescribeIngressResponseBodyDataRulesRuleActions },
32507
32687
  };
32508
32688
  }
32509
32689
 
@@ -32539,6 +32719,11 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
32539
32719
  * ingress-sae-test
32540
32720
  */
32541
32721
  description?: string;
32722
+ enableXForwardedFor?: boolean;
32723
+ enableXForwardedForClientSrcPort?: boolean;
32724
+ enableXForwardedForProto?: boolean;
32725
+ enableXForwardedForSlbId?: boolean;
32726
+ enableXForwardedForSlbPort?: boolean;
32542
32727
  /**
32543
32728
  * @remarks
32544
32729
  * The HTTP status code. Valid values:
@@ -32552,6 +32737,10 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
32552
32737
  * 87
32553
32738
  */
32554
32739
  id?: number;
32740
+ /**
32741
+ * @example
32742
+ * 3
32743
+ */
32555
32744
  idleTimeout?: number;
32556
32745
  /**
32557
32746
  * @remarks
@@ -32593,12 +32782,20 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
32593
32782
  * cn-beijing:sae-test
32594
32783
  */
32595
32784
  namespaceId?: string;
32785
+ /**
32786
+ * @example
32787
+ * 60
32788
+ */
32596
32789
  requestTimeout?: number;
32597
32790
  /**
32598
32791
  * @remarks
32599
32792
  * The ID of the application specified in the forwarding rule.
32600
32793
  */
32601
32794
  rules?: DescribeIngressResponseBodyDataRules[];
32795
+ /**
32796
+ * @example
32797
+ * sp-n0kn923****
32798
+ */
32602
32799
  securityPolicyId?: string;
32603
32800
  /**
32604
32801
  * @remarks
@@ -32625,6 +32822,11 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
32625
32822
  certIds: 'CertIds',
32626
32823
  defaultRule: 'DefaultRule',
32627
32824
  description: 'Description',
32825
+ enableXForwardedFor: 'EnableXForwardedFor',
32826
+ enableXForwardedForClientSrcPort: 'EnableXForwardedForClientSrcPort',
32827
+ enableXForwardedForProto: 'EnableXForwardedForProto',
32828
+ enableXForwardedForSlbId: 'EnableXForwardedForSlbId',
32829
+ enableXForwardedForSlbPort: 'EnableXForwardedForSlbPort',
32628
32830
  id: 'Id',
32629
32831
  idleTimeout: 'IdleTimeout',
32630
32832
  listenerPort: 'ListenerPort',
@@ -32646,6 +32848,11 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
32646
32848
  certIds: 'string',
32647
32849
  defaultRule: DescribeIngressResponseBodyDataDefaultRule,
32648
32850
  description: 'string',
32851
+ enableXForwardedFor: 'boolean',
32852
+ enableXForwardedForClientSrcPort: 'boolean',
32853
+ enableXForwardedForProto: 'boolean',
32854
+ enableXForwardedForSlbId: 'boolean',
32855
+ enableXForwardedForSlbPort: 'boolean',
32649
32856
  id: 'number',
32650
32857
  idleTimeout: 'number',
32651
32858
  listenerPort: 'number',
@@ -40196,6 +40403,26 @@ export default class Client extends OpenApi {
40196
40403
  query["Description"] = request.description;
40197
40404
  }
40198
40405
 
40406
+ if (!Util.isUnset(request.enableXForwardedFor)) {
40407
+ query["EnableXForwardedFor"] = request.enableXForwardedFor;
40408
+ }
40409
+
40410
+ if (!Util.isUnset(request.enableXForwardedForClientSrcPort)) {
40411
+ query["EnableXForwardedForClientSrcPort"] = request.enableXForwardedForClientSrcPort;
40412
+ }
40413
+
40414
+ if (!Util.isUnset(request.enableXForwardedForProto)) {
40415
+ query["EnableXForwardedForProto"] = request.enableXForwardedForProto;
40416
+ }
40417
+
40418
+ if (!Util.isUnset(request.enableXForwardedForSlbId)) {
40419
+ query["EnableXForwardedForSlbId"] = request.enableXForwardedForSlbId;
40420
+ }
40421
+
40422
+ if (!Util.isUnset(request.enableXForwardedForSlbPort)) {
40423
+ query["EnableXForwardedForSlbPort"] = request.enableXForwardedForSlbPort;
40424
+ }
40425
+
40199
40426
  if (!Util.isUnset(request.idleTimeout)) {
40200
40427
  query["IdleTimeout"] = request.idleTimeout;
40201
40428
  }
@@ -46131,6 +46358,26 @@ export default class Client extends OpenApi {
46131
46358
  query["Description"] = request.description;
46132
46359
  }
46133
46360
 
46361
+ if (!Util.isUnset(request.enableXForwardedFor)) {
46362
+ query["EnableXForwardedFor"] = request.enableXForwardedFor;
46363
+ }
46364
+
46365
+ if (!Util.isUnset(request.enableXForwardedForClientSrcPort)) {
46366
+ query["EnableXForwardedForClientSrcPort"] = request.enableXForwardedForClientSrcPort;
46367
+ }
46368
+
46369
+ if (!Util.isUnset(request.enableXForwardedForProto)) {
46370
+ query["EnableXForwardedForProto"] = request.enableXForwardedForProto;
46371
+ }
46372
+
46373
+ if (!Util.isUnset(request.enableXForwardedForSlbId)) {
46374
+ query["EnableXForwardedForSlbId"] = request.enableXForwardedForSlbId;
46375
+ }
46376
+
46377
+ if (!Util.isUnset(request.enableXForwardedForSlbPort)) {
46378
+ query["EnableXForwardedForSlbPort"] = request.enableXForwardedForSlbPort;
46379
+ }
46380
+
46134
46381
  if (!Util.isUnset(request.idleTimeout)) {
46135
46382
  query["IdleTimeout"] = request.idleTimeout;
46136
46383
  }