@alicloud/sae20190506 1.25.0 → 1.25.1

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
@@ -1024,6 +1024,7 @@ export declare class ImageConfig extends $tea.Model {
1024
1024
  accelerationType?: string;
1025
1025
  image?: string;
1026
1026
  instanceID?: string;
1027
+ registryConfig?: RegistryConfig;
1027
1028
  static names(): {
1028
1029
  [key: string]: string;
1029
1030
  };
@@ -1844,6 +1845,58 @@ export declare class PublishWebApplicationRevisionInput extends $tea.Model {
1844
1845
  [key: string]: any;
1845
1846
  });
1846
1847
  }
1848
+ export declare class RegistryAuthConfig extends $tea.Model {
1849
+ /**
1850
+ * @example
1851
+ * abc***
1852
+ */
1853
+ password?: string;
1854
+ /**
1855
+ * @example
1856
+ * acs:ram::142xxxx:role/xxxxxx
1857
+ */
1858
+ role?: string;
1859
+ /**
1860
+ * @example
1861
+ * admin
1862
+ */
1863
+ userName?: string;
1864
+ static names(): {
1865
+ [key: string]: string;
1866
+ };
1867
+ static types(): {
1868
+ [key: string]: any;
1869
+ };
1870
+ constructor(map?: {
1871
+ [key: string]: any;
1872
+ });
1873
+ }
1874
+ export declare class RegistryCertConfig extends $tea.Model {
1875
+ insecure?: boolean;
1876
+ rootCaCertBase64?: string;
1877
+ static names(): {
1878
+ [key: string]: string;
1879
+ };
1880
+ static types(): {
1881
+ [key: string]: any;
1882
+ };
1883
+ constructor(map?: {
1884
+ [key: string]: any;
1885
+ });
1886
+ }
1887
+ export declare class RegistryConfig extends $tea.Model {
1888
+ authConfig?: RegistryAuthConfig;
1889
+ certConfig?: RegistryCertConfig;
1890
+ static names(): {
1891
+ [key: string]: string;
1892
+ };
1893
+ static types(): {
1894
+ [key: string]: any;
1895
+ };
1896
+ constructor(map?: {
1897
+ [key: string]: any;
1898
+ });
1899
+ }
1847
1900
  export declare class Revision extends $tea.Model {
1848
1901
  createdTime?: string;
1849
1902
  description?: string;
@@ -4538,17 +4591,34 @@ export declare class CreateGreyTagRouteResponse extends $tea.Model {
4538
4591
  }
4539
4592
  export declare class CreateIngressRequest extends $tea.Model {
4540
4593
  /**
4594
+ * @remarks
4595
+ * The ID of the certificate that is associated with the **CLB** instance.
4596
+ *
4597
+ * * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
4598
+ *
4599
+ * For more information about how to manage the SSL certificate IDs that are used by CLB instances, see [Overview](https://help.aliyun.com/document_detail/90792.html).
4600
+ *
4541
4601
  * @example
4542
4602
  * 188077086902****_176993d****_181437****_108724****
4543
4603
  */
4544
4604
  certId?: string;
4545
4605
  /**
4606
+ * @remarks
4607
+ * The IDs of the certificates that are associated with the **ALB** instance.
4608
+ *
4609
+ * * If you set **LoadBalanceType** to **alb**, you can use CertIds to configure multiple certificates for the HTTPS listener. Separate multiple certificate IDs with commas (,).
4610
+ * * The ID of the SSL certificate that is used by an ALB instance can be obtained from Certificate Management Service. For example, if you specify `756***-cn-hangzhou`, `756***` is the certificate ID that is obtained from the service page, and `-cn-hangzhou` is the fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
4611
+ *
4546
4612
  * @example
4547
4613
  * 87***35-cn-hangzhou,812***3-cn-hangzhou
4548
4614
  */
4549
4615
  certIds?: string;
4550
4616
  /**
4551
4617
  * @remarks
4618
+ * Default forwarding rule. Traffic is forwarded to the specified application through a designated port based on the IP address. Parameter descriptions are as follows:
4619
+ * - **appId**: Application ID. - **containerPort**: Application instance port.
4620
+ * > All requests that do not match or do not meet the **Rules** for forwarding will be directed to this specified application.
4621
+ *
4552
4622
  * This parameter is required.
4553
4623
  *
4554
4624
  * @example
@@ -4556,13 +4626,28 @@ export declare class CreateIngressRequest extends $tea.Model {
4556
4626
  */
4557
4627
  defaultRule?: string;
4558
4628
  /**
4629
+ * @remarks
4630
+ * Route rule name.
4631
+ *
4559
4632
  * @example
4560
4633
  * ingress-for-sae-test
4561
4634
  */
4562
4635
  description?: string;
4636
+ /**
4637
+ * @remarks
4638
+ * The timeout period of an idle connection. Unit: seconds. Valid values: 1 to 60.
4639
+ *
4640
+ * If no request is received within the specified timeout period, ALB closes the current connection. When another request is received, ALB establishes a new connection.
4641
+ *
4642
+ * @example
4643
+ * 15
4644
+ */
4563
4645
  idleTimeout?: number;
4564
4646
  /**
4565
4647
  * @remarks
4648
+ * SThe frontend port that is used by the ALB instance.
4649
+ * Valid values: 1 to 65535.
4650
+ *
4566
4651
  * This parameter is required.
4567
4652
  *
4568
4653
  * @example
@@ -4570,35 +4655,77 @@ export declare class CreateIngressRequest extends $tea.Model {
4570
4655
  */
4571
4656
  listenerPort?: number;
4572
4657
  /**
4658
+ * @remarks
4659
+ * Request forwarding protocol. The value description is as follows:
4660
+ * - **HTTP**: Suitable for applications that need to identify data content. - **HTTPS**: Suitable for applications that require encrypted transmission.
4661
+ *
4573
4662
  * @example
4574
4663
  * HTTP
4575
4664
  */
4576
4665
  listenerProtocol?: string;
4577
4666
  /**
4667
+ * @remarks
4668
+ * The type of the SLB instance. The instance type can be specified only when you create a routing rule. You cannot change the instance type when you update the routing rule. Valid values:
4669
+ *
4670
+ * * **clb**
4671
+ * * **alb**
4672
+ *
4578
4673
  * @example
4579
4674
  * clb
4580
4675
  */
4581
4676
  loadBalanceType?: string;
4582
4677
  /**
4583
4678
  * @remarks
4679
+ * The ID of the namespace where the application is located. Currently, cross-namespace applications are not supported.
4680
+ *
4584
4681
  * This parameter is required.
4585
4682
  *
4586
4683
  * @example
4587
4684
  * cn-beijing:sae-test
4588
4685
  */
4589
4686
  namespaceId?: string;
4687
+ /**
4688
+ * @remarks
4689
+ * The timeout period of a request. Unit: seconds. Valid values: 1 to 180.
4690
+ * If no response is received from the backend server within the specified timeout period, ALB returns an HTTP 504 error code to the client.
4691
+ *
4692
+ * @example
4693
+ * 3
4694
+ */
4590
4695
  requestTimeout?: number;
4591
4696
  /**
4592
4697
  * @remarks
4698
+ * The forwarding rules. You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path. The following list describes the involved parameters:
4699
+ *
4700
+ * * **appId**: the ID of the application.
4701
+ * * **containerPort**: the container port of the application.
4702
+ * * **domain**: the domain name.
4703
+ * * **path**: the request path.
4704
+ * * **backendProtocol**: the backend service protocol. Valid values: http, https, and grpc. Default value: http.
4705
+ * * **rewritePath**: the rewrite path.
4706
+ *
4707
+ * > The path rewrite feature is supported only by ALB instances.
4708
+ *
4593
4709
  * This parameter is required.
4594
4710
  *
4595
4711
  * @example
4596
4712
  * [{"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"}]
4597
4713
  */
4598
4714
  rules?: string;
4715
+ /**
4716
+ * @remarks
4717
+ * The security policy ID.
4718
+ *
4719
+ * @example
4720
+ * sp-bp1bpn0kn9****
4721
+ */
4599
4722
  securityPolicyId?: string;
4600
4723
  /**
4601
4724
  * @remarks
4725
+ * The Server Load Balancer (SLB) instance that is used by the routing rule.
4726
+ *
4727
+ * > The SLB instance can be a Classic Load Balancer (CLB) instance or an Application Load Balancer (ALB) instance.
4728
+ *
4602
4729
  * This parameter is required.
4603
4730
  *
4604
4731
  * @example
@@ -4617,28 +4744,68 @@ export declare class CreateIngressRequest extends $tea.Model {
4617
4744
  }
4618
4745
  export declare class CreateIngressResponseBody extends $tea.Model {
4619
4746
  /**
4747
+ * @remarks
4748
+ * The HTTP status code. Valid values:
4749
+ *
4750
+ * * **2xx**: The call was successful.
4751
+ * * **3xx**: The call was redirected.
4752
+ * * **4xx**: The call failed.
4753
+ * * **5xx**: A server error occurred.
4754
+ *
4620
4755
  * @example
4621
4756
  * 200
4622
4757
  */
4623
4758
  code?: string;
4759
+ /**
4760
+ * @remarks
4761
+ * The response.
4762
+ */
4624
4763
  data?: CreateIngressResponseBodyData;
4764
+ /**
4765
+ * @remarks
4766
+ * The error code returned. Take note of the following rules:
4767
+ *
4768
+ * * The **ErrorCode** parameter is not returned if the request succeeds.
4769
+ * * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
4770
+ *
4771
+ * @example
4772
+ * success
4773
+ */
4625
4774
  errorCode?: string;
4626
4775
  /**
4776
+ * @remarks
4777
+ * The additional information that is returned. Valid values:
4778
+ *
4779
+ * * success: If the call is successful, **success** is returned.
4780
+ * * An error code: If the call fails, an error code is returned.
4781
+ *
4627
4782
  * @example
4628
4783
  * success
4629
4784
  */
4630
4785
  message?: string;
4631
4786
  /**
4787
+ * @remarks
4788
+ * The ID of the request.
4789
+ *
4632
4790
  * @example
4633
4791
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
4634
4792
  */
4635
4793
  requestId?: string;
4636
4794
  /**
4795
+ * @remarks
4796
+ * Indicates whether the Secret is successfully deleted. Valid values:
4797
+ *
4798
+ * * **true**: The instance was deleted.
4799
+ * * **false**: The instance failed to be deleted.
4800
+ *
4637
4801
  * @example
4638
4802
  * true
4639
4803
  */
4640
4804
  success?: boolean;
4641
4805
  /**
4806
+ * @remarks
4807
+ * The ID of the trace. It is used to query the details of a request.
4808
+ *
4642
4809
  * @example
4643
4810
  * 0a98a02315955564772843261e****
4644
4811
  */
@@ -16846,21 +17013,45 @@ export declare class UpdateGreyTagRouteResponse extends $tea.Model {
16846
17013
  }
16847
17014
  export declare class UpdateIngressRequest extends $tea.Model {
16848
17015
  /**
17016
+ * @remarks
17017
+ * The ID of the certificate that is associated with the Classic Load Balancer (**CLB**) instance.
17018
+ *
17019
+ * * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
17020
+ *
17021
+ * For more information about how to manage the SSL certificate IDs that are used by CLB instances, see [Overview](https://help.aliyun.com/document_detail/90792.html).
17022
+ *
16849
17023
  * @example
16850
17024
  * 188077086902****_176993d****_181437****_108724****
16851
17025
  */
16852
17026
  certId?: string;
16853
17027
  /**
17028
+ * @remarks
17029
+ * The IDs of the certificates that are associated with the Application Load Balancer (**ALB**) instance.
17030
+ *
17031
+ * * If you set **LoadBalanceType** to **alb**, you can use CertIds to configure multiple certificates for the HTTPS listener. Separate multiple certificate IDs with commas (,).
17032
+ * * The ID of the SSL certificate that is used by an ALB instance can be obtained from Certificate Management Service. For example, if you specify `756***-cn-hangzhou`, `756***` is the certificate ID that is obtained from the service page, and `-cn-hangzhou` is the fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
17033
+ *
16854
17034
  * @example
16855
17035
  * 87***35-cn-hangzhou,812***3-cn-hangzhou
16856
17036
  */
16857
17037
  certIds?: string;
16858
17038
  /**
17039
+ * @remarks
17040
+ * The default forwarding rule. You can specify a port and an application in the default forwarding rule to forward traffic based on the IP address. The following list describes the involved parameters:
17041
+ *
17042
+ * * **appId**: the ID of the application.
17043
+ * * **containerPort**: the container port of the application.
17044
+ *
17045
+ * > All requests that do not match the forwarding rules specified for Rules are forwarded over the port to the application.
17046
+ *
16859
17047
  * @example
16860
17048
  * {"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080}
16861
17049
  */
16862
17050
  defaultRule?: string;
16863
17051
  /**
17052
+ * @remarks
17053
+ * The name of the routing rule.
17054
+ *
16864
17055
  * @example
16865
17056
  * ingress-sae-test
16866
17057
  */
@@ -16868,6 +17059,8 @@ export declare class UpdateIngressRequest extends $tea.Model {
16868
17059
  idleTimeout?: number;
16869
17060
  /**
16870
17061
  * @remarks
17062
+ * The ID of the routing rule.
17063
+ *
16871
17064
  * This parameter is required.
16872
17065
  *
16873
17066
  * @example
@@ -16875,22 +17068,42 @@ export declare class UpdateIngressRequest extends $tea.Model {
16875
17068
  */
16876
17069
  ingressId?: number;
16877
17070
  /**
17071
+ * @remarks
17072
+ * The port specified for the Server Load Balancer (SLB) listener. You must specify a vacant port.
17073
+ *
16878
17074
  * @example
16879
17075
  * 443
16880
17076
  */
16881
17077
  listenerPort?: string;
16882
17078
  /**
17079
+ * @remarks
17080
+ * The protocol that is used to forward requests. Valid values:
17081
+ *
17082
+ * * **HTTP**: HTTP is suitable for applications that need to identify the transmitted data.
17083
+ * * **HTTPS**: HTTPS is suitable for applications that require encrypted data transmission.
17084
+ *
16883
17085
  * @example
16884
17086
  * HTTP
16885
17087
  */
16886
17088
  listenerProtocol?: string;
16887
17089
  /**
17090
+ * @remarks
17091
+ * This parameter is discontinued.
17092
+ *
16888
17093
  * @example
16889
17094
  * clb
16890
17095
  */
16891
17096
  loadBalanceType?: string;
16892
17097
  requestTimeout?: number;
16893
17098
  /**
17099
+ * @remarks
17100
+ * The forwarding rules. You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path. The following list describes the involved parameters:
17101
+ *
17102
+ * * **appId**: the ID of the application.
17103
+ * * **containerPort**: the container port of the application.
17104
+ * * **domain**: the domain name.
17105
+ * * **path**: the request path.
17106
+ *
16894
17107
  * @example
16895
17108
  * [{"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"}]
16896
17109
  */
@@ -16908,28 +17121,65 @@ export declare class UpdateIngressRequest extends $tea.Model {
16908
17121
  }
16909
17122
  export declare class UpdateIngressResponseBody extends $tea.Model {
16910
17123
  /**
17124
+ * @remarks
17125
+ * The HTTP status code. Valid values:
17126
+ *
17127
+ * * **2xx**: The request was successful.
17128
+ * * **3xx**: The request was redirected.
17129
+ * * **4xx**: The request failed.
17130
+ * * **5xx**: A server error occurred.
17131
+ *
16911
17132
  * @example
16912
17133
  * 200
16913
17134
  */
16914
17135
  code?: string;
17136
+ /**
17137
+ * @remarks
17138
+ * The returned result.
17139
+ */
16915
17140
  data?: UpdateIngressResponseBodyData;
17141
+ /**
17142
+ * @remarks
17143
+ * The error code.
17144
+ *
17145
+ * * If the request was successful, **ErrorCode** is not returned.
17146
+ * * If the request failed, **ErrorCode** is returned. For more information, see the **Error codes** section of this topic.
17147
+ */
16916
17148
  errorCode?: string;
16917
17149
  /**
17150
+ * @remarks
17151
+ * The returned information.
17152
+ *
17153
+ * * If the request was successful, **success** is returned.
17154
+ * * If the request failed, an error code is returned.
17155
+ *
16918
17156
  * @example
16919
17157
  * success
16920
17158
  */
16921
17159
  message?: string;
16922
17160
  /**
17161
+ * @remarks
17162
+ * The request ID.
17163
+ *
16923
17164
  * @example
16924
17165
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
16925
17166
  */
16926
17167
  requestId?: string;
16927
17168
  /**
17169
+ * @remarks
17170
+ * Indicates whether the configurations of the routing rule were updated. Valid values:
17171
+ *
17172
+ * * **true**
17173
+ * * **false**
17174
+ *
16928
17175
  * @example
16929
17176
  * true
16930
17177
  */
16931
17178
  success?: boolean;
16932
17179
  /**
17180
+ * @remarks
17181
+ * The trace ID.
17182
+ *
16933
17183
  * @example
16934
17184
  * 0a98a02315955564772843261e****
16935
17185
  */
@@ -19153,6 +19403,9 @@ export declare class CreateGreyTagRouteResponseBodyData extends $tea.Model {
19153
19403
  }
19154
19404
  export declare class CreateIngressResponseBodyData extends $tea.Model {
19155
19405
  /**
19406
+ * @remarks
19407
+ * The ID of the routing rule.
19408
+ *
19156
19409
  * @example
19157
19410
  * 87
19158
19411
  */
@@ -22570,6 +22823,7 @@ export declare class DescribeConfigurationPriceResponseBodyDataBagUsage extends
22570
22823
  * 497570.450009
22571
22824
  */
22572
22825
  cpu?: number;
22826
+ cu?: number;
22573
22827
  /**
22574
22828
  * @example
22575
22829
  * 989802.563546
@@ -28478,6 +28732,9 @@ export declare class UpdateGreyTagRouteResponseBodyData extends $tea.Model {
28478
28732
  }
28479
28733
  export declare class UpdateIngressResponseBodyData extends $tea.Model {
28480
28734
  /**
28735
+ * @remarks
28736
+ * The ID of the routing rule.
28737
+ *
28481
28738
  * @example
28482
28739
  * 87
28483
28740
  */
@@ -28809,7 +29066,7 @@ export default class Client extends OpenApi {
28809
29066
  */
28810
29067
  createGreyTagRoute(request: CreateGreyTagRouteRequest): Promise<CreateGreyTagRouteResponse>;
28811
29068
  /**
28812
- * {"appId":"395b60e4-0550-458d-9c54-a265d036\\*\\*\\*\\*","containerPort":8080}
29069
+ * Creates a routing rule.
28813
29070
  *
28814
29071
  * @param request - CreateIngressRequest
28815
29072
  * @param headers - map
@@ -28820,7 +29077,7 @@ export default class Client extends OpenApi {
28820
29077
  [key: string]: string;
28821
29078
  }, runtime: $Util.RuntimeOptions): Promise<CreateIngressResponse>;
28822
29079
  /**
28823
- * {"appId":"395b60e4-0550-458d-9c54-a265d036\\*\\*\\*\\*","containerPort":8080}
29080
+ * Creates a routing rule.
28824
29081
  *
28825
29082
  * @param request - CreateIngressRequest
28826
29083
  * @returns CreateIngressResponse
@@ -30643,6 +30900,8 @@ export default class Client extends OpenApi {
30643
30900
  */
30644
30901
  updateGreyTagRoute(request: UpdateGreyTagRouteRequest): Promise<UpdateGreyTagRouteResponse>;
30645
30902
  /**
30903
+ * Updates the configurations of a routing rule.
30904
+ *
30646
30905
  * @param request - UpdateIngressRequest
30647
30906
  * @param headers - map
30648
30907
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30652,6 +30911,8 @@ export default class Client extends OpenApi {
30652
30911
  [key: string]: string;
30653
30912
  }, runtime: $Util.RuntimeOptions): Promise<UpdateIngressResponse>;
30654
30913
  /**
30914
+ * Updates the configurations of a routing rule.
30915
+ *
30655
30916
  * @param request - UpdateIngressRequest
30656
30917
  * @returns UpdateIngressResponse
30657
30918
  */