@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/dist/client.d.ts CHANGED
@@ -405,6 +405,7 @@ export declare class Container extends $tea.Model {
405
405
  * registry.cn-shanghai.aliyuncs.com/serverless_devsxxxxx
406
406
  */
407
407
  image?: string;
408
+ imageRegistryConfig?: ImageRegistryConfig;
408
409
  metricsCollectConfig?: MetricsCollectConfig;
409
410
  /**
410
411
  * @example
@@ -1035,6 +1036,19 @@ export declare class ImageConfig extends $tea.Model {
1035
1036
  [key: string]: any;
1036
1037
  });
1037
1038
  }
1039
+ export declare class ImageRegistryConfig extends $tea.Model {
1040
+ authConfig?: RegistryAuthenticationConfig;
1041
+ certConfig?: RegistryCertificateConfig;
1042
+ static names(): {
1043
+ [key: string]: string;
1044
+ };
1045
+ static types(): {
1046
+ [key: string]: any;
1047
+ };
1048
+ constructor(map?: {
1049
+ [key: string]: any;
1050
+ });
1051
+ }
1038
1052
  export declare class InputCodeLocation extends $tea.Model {
1039
1053
  ossBucketName?: string;
1040
1054
  ossObjectName?: string;
@@ -1871,6 +1885,27 @@ export declare class RegistryAuthConfig extends $tea.Model {
1871
1885
  [key: string]: any;
1872
1886
  });
1873
1887
  }
1888
+ export declare class RegistryAuthenticationConfig extends $tea.Model {
1889
+ /**
1890
+ * @example
1891
+ * abc***
1892
+ */
1893
+ password?: string;
1894
+ /**
1895
+ * @example
1896
+ * admin
1897
+ */
1898
+ userName?: string;
1899
+ static names(): {
1900
+ [key: string]: string;
1901
+ };
1902
+ static types(): {
1903
+ [key: string]: any;
1904
+ };
1905
+ constructor(map?: {
1906
+ [key: string]: any;
1907
+ });
1908
+ }
1874
1909
  export declare class RegistryCertConfig extends $tea.Model {
1875
1910
  insecure?: boolean;
1876
1911
  rootCaCertBase64?: string;
@@ -1884,6 +1919,27 @@ export declare class RegistryCertConfig extends $tea.Model {
1884
1919
  [key: string]: any;
1885
1920
  });
1886
1921
  }
1922
+ export declare class RegistryCertificateConfig extends $tea.Model {
1923
+ /**
1924
+ * @example
1925
+ * LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCmZha2VDZXJ0aWZpY2F0ZQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t
1926
+ */
1927
+ certBase64?: string;
1928
+ /**
1929
+ * @example
1930
+ * true
1931
+ */
1932
+ insecure?: boolean;
1933
+ static names(): {
1934
+ [key: string]: string;
1935
+ };
1936
+ static types(): {
1937
+ [key: string]: any;
1938
+ };
1939
+ constructor(map?: {
1940
+ [key: string]: any;
1941
+ });
1942
+ }
1887
1943
  export declare class RegistryConfig extends $tea.Model {
1888
1944
  authConfig?: RegistryAuthConfig;
1889
1945
  certConfig?: RegistryCertConfig;
@@ -4633,6 +4689,11 @@ export declare class CreateIngressRequest extends $tea.Model {
4633
4689
  * ingress-for-sae-test
4634
4690
  */
4635
4691
  description?: string;
4692
+ enableXForwardedFor?: boolean;
4693
+ enableXForwardedForClientSrcPort?: boolean;
4694
+ enableXForwardedForProto?: boolean;
4695
+ enableXForwardedForSlbId?: boolean;
4696
+ enableXForwardedForSlbPort?: boolean;
4636
4697
  /**
4637
4698
  * @remarks
4638
4699
  * The timeout period of an idle connection. Unit: seconds. Valid values: 1 to 60.
@@ -7016,6 +7077,10 @@ export declare class DeployApplicationRequest extends $tea.Model {
7016
7077
  * [{"configMapId":16,"key":"test","mountPath":"/tmp"}]
7017
7078
  */
7018
7079
  configMapMountDesc?: string;
7080
+ /**
7081
+ * @example
7082
+ * 1000
7083
+ */
7019
7084
  cpu?: number;
7020
7085
  /**
7021
7086
  * @remarks
@@ -7179,6 +7244,10 @@ export declare class DeployApplicationRequest extends $tea.Model {
7179
7244
  * {"exec":{"command":["sleep","5s"]},"initialDelaySeconds":10,"timeoutSeconds":11}
7180
7245
  */
7181
7246
  liveness?: string;
7247
+ /**
7248
+ * @example
7249
+ * 1024
7250
+ */
7182
7251
  memory?: number;
7183
7252
  /**
7184
7253
  * @remarks
@@ -7192,6 +7261,10 @@ export declare class DeployApplicationRequest extends $tea.Model {
7192
7261
  * "0"
7193
7262
  */
7194
7263
  microRegistration?: string;
7264
+ /**
7265
+ * @example
7266
+ * {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
7267
+ */
7195
7268
  microRegistrationConfig?: string;
7196
7269
  /**
7197
7270
  * @remarks
@@ -7251,7 +7324,7 @@ export declare class DeployApplicationRequest extends $tea.Model {
7251
7324
  nasConfigs?: string;
7252
7325
  /**
7253
7326
  * @remarks
7254
- * 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 ("").
7327
+ * 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 ("").
7255
7328
  *
7256
7329
  * @example
7257
7330
  * 10d3b4****
@@ -7397,8 +7470,20 @@ export declare class DeployApplicationRequest extends $tea.Model {
7397
7470
  * {"exec":{"command":["sleep","6s"]},"initialDelaySeconds":15,"timeoutSeconds":12}
7398
7471
  */
7399
7472
  readiness?: string;
7473
+ /**
7474
+ * @example
7475
+ * 1
7476
+ */
7400
7477
  replicas?: number;
7478
+ /**
7479
+ * @example
7480
+ * sg-wz969ngg2e49q5i4****
7481
+ */
7401
7482
  securityGroupId?: string;
7483
+ /**
7484
+ * @example
7485
+ * {\\"alicloud.service.tag\\":\\"g1\\"}
7486
+ */
7402
7487
  serviceTags?: string;
7403
7488
  /**
7404
7489
  * @remarks
@@ -7477,6 +7562,10 @@ export declare class DeployApplicationRequest extends $tea.Model {
7477
7562
  * {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}
7478
7563
  */
7479
7564
  updateStrategy?: string;
7565
+ /**
7566
+ * @example
7567
+ * vsw-bp12mw1f8k3jgygk9****
7568
+ */
7480
7569
  vSwitchId?: string;
7481
7570
  /**
7482
7571
  * @remarks
@@ -17056,6 +17145,15 @@ export declare class UpdateIngressRequest extends $tea.Model {
17056
17145
  * ingress-sae-test
17057
17146
  */
17058
17147
  description?: string;
17148
+ enableXForwardedFor?: boolean;
17149
+ enableXForwardedForClientSrcPort?: boolean;
17150
+ enableXForwardedForProto?: boolean;
17151
+ enableXForwardedForSlbId?: boolean;
17152
+ enableXForwardedForSlbPort?: boolean;
17153
+ /**
17154
+ * @example
17155
+ * 3
17156
+ */
17059
17157
  idleTimeout?: number;
17060
17158
  /**
17061
17159
  * @remarks
@@ -17094,6 +17192,10 @@ export declare class UpdateIngressRequest extends $tea.Model {
17094
17192
  * clb
17095
17193
  */
17096
17194
  loadBalanceType?: string;
17195
+ /**
17196
+ * @example
17197
+ * 60
17198
+ */
17097
17199
  requestTimeout?: number;
17098
17200
  /**
17099
17201
  * @remarks
@@ -17108,6 +17210,10 @@ export declare class UpdateIngressRequest extends $tea.Model {
17108
17210
  * [{"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"}]
17109
17211
  */
17110
17212
  rules?: string;
17213
+ /**
17214
+ * @example
17215
+ * tls_cipher_policy_1_0
17216
+ */
17111
17217
  securityPolicyId?: string;
17112
17218
  static names(): {
17113
17219
  [key: string]: string;
@@ -23567,6 +23673,19 @@ export declare class DescribeIngressResponseBodyDataDefaultRule extends $tea.Mod
23567
23673
  [key: string]: any;
23568
23674
  });
23569
23675
  }
23676
+ export declare class DescribeIngressResponseBodyDataRulesRuleActions extends $tea.Model {
23677
+ actionConfig?: string;
23678
+ actionType?: string;
23679
+ static names(): {
23680
+ [key: string]: string;
23681
+ };
23682
+ static types(): {
23683
+ [key: string]: any;
23684
+ };
23685
+ constructor(map?: {
23686
+ [key: string]: any;
23687
+ });
23688
+ }
23570
23689
  export declare class DescribeIngressResponseBodyDataRules extends $tea.Model {
23571
23690
  /**
23572
23691
  * @remarks
@@ -23623,6 +23742,7 @@ export declare class DescribeIngressResponseBodyDataRules extends $tea.Model {
23623
23742
  */
23624
23743
  path?: string;
23625
23744
  rewritePath?: string;
23745
+ ruleActions?: DescribeIngressResponseBodyDataRulesRuleActions[];
23626
23746
  static names(): {
23627
23747
  [key: string]: string;
23628
23748
  };
@@ -23660,6 +23780,11 @@ export declare class DescribeIngressResponseBodyData extends $tea.Model {
23660
23780
  * ingress-sae-test
23661
23781
  */
23662
23782
  description?: string;
23783
+ enableXForwardedFor?: boolean;
23784
+ enableXForwardedForClientSrcPort?: boolean;
23785
+ enableXForwardedForProto?: boolean;
23786
+ enableXForwardedForSlbId?: boolean;
23787
+ enableXForwardedForSlbPort?: boolean;
23663
23788
  /**
23664
23789
  * @remarks
23665
23790
  * The HTTP status code. Valid values:
@@ -23673,6 +23798,10 @@ export declare class DescribeIngressResponseBodyData extends $tea.Model {
23673
23798
  * 87
23674
23799
  */
23675
23800
  id?: number;
23801
+ /**
23802
+ * @example
23803
+ * 3
23804
+ */
23676
23805
  idleTimeout?: number;
23677
23806
  /**
23678
23807
  * @remarks
@@ -23714,12 +23843,20 @@ export declare class DescribeIngressResponseBodyData extends $tea.Model {
23714
23843
  * cn-beijing:sae-test
23715
23844
  */
23716
23845
  namespaceId?: string;
23846
+ /**
23847
+ * @example
23848
+ * 60
23849
+ */
23717
23850
  requestTimeout?: number;
23718
23851
  /**
23719
23852
  * @remarks
23720
23853
  * The ID of the application specified in the forwarding rule.
23721
23854
  */
23722
23855
  rules?: DescribeIngressResponseBodyDataRules[];
23856
+ /**
23857
+ * @example
23858
+ * sp-n0kn923****
23859
+ */
23723
23860
  securityPolicyId?: string;
23724
23861
  /**
23725
23862
  * @remarks