@alicloud/sae20190506 2.8.4 → 2.9.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.
Files changed (175) hide show
  1. package/dist/client.d.ts +60 -40
  2. package/dist/client.js +108 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +3 -0
  5. package/dist/models/CreateApplicationRequest.js +6 -0
  6. package/dist/models/CreateApplicationRequest.js.map +1 -1
  7. package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
  8. package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
  9. package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
  10. package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
  11. package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
  12. package/dist/models/CreateApplicationShrinkRequest.js +6 -0
  13. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateIngressRequest.d.ts +30 -26
  15. package/dist/models/CreateIngressRequest.js.map +1 -1
  16. package/dist/models/CreateIngressResponseBody.d.ts +15 -15
  17. package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.d.ts +26 -0
  18. package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.js.map +1 -1
  19. package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.d.ts +40 -0
  20. package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.js.map +1 -1
  21. package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.d.ts +26 -0
  22. package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.js.map +1 -1
  23. package/dist/models/CreateOrUpdateSwimmingLaneRequest.d.ts +137 -0
  24. package/dist/models/CreateOrUpdateSwimmingLaneRequest.js.map +1 -1
  25. package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.d.ts +40 -0
  26. package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.js.map +1 -1
  27. package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.d.ts +39 -0
  28. package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.js.map +1 -1
  29. package/dist/models/CreateSecretRequest.d.ts +12 -0
  30. package/dist/models/CreateSecretRequest.js.map +1 -1
  31. package/dist/models/CreateSecretResponseBody.d.ts +40 -0
  32. package/dist/models/CreateSecretResponseBody.js.map +1 -1
  33. package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
  34. package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
  35. package/dist/models/DeleteInstancesRequest.d.ts +4 -0
  36. package/dist/models/DeleteInstancesRequest.js.map +1 -1
  37. package/dist/models/DeleteInstancesResponseBody.d.ts +40 -0
  38. package/dist/models/DeleteInstancesResponseBody.js.map +1 -1
  39. package/dist/models/DeleteSwimmingLaneGroupRequest.d.ts +6 -0
  40. package/dist/models/DeleteSwimmingLaneGroupRequest.js.map +1 -1
  41. package/dist/models/DeleteSwimmingLaneGroupResponseBody.d.ts +33 -0
  42. package/dist/models/DeleteSwimmingLaneGroupResponseBody.js.map +1 -1
  43. package/dist/models/DeployApplicationRequest.d.ts +2 -0
  44. package/dist/models/DeployApplicationRequest.js +4 -0
  45. package/dist/models/DeployApplicationRequest.js.map +1 -1
  46. package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
  47. package/dist/models/DeployApplicationShrinkRequest.js +4 -0
  48. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  49. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
  50. package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
  51. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  52. package/dist/models/DescribeInstanceLogRequest.d.ts +1 -0
  53. package/dist/models/DescribeInstanceLogRequest.js +2 -0
  54. package/dist/models/DescribeInstanceLogRequest.js.map +1 -1
  55. package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
  56. package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
  57. package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
  58. package/dist/models/DescribeSwimmingLaneRequest.d.ts +9 -0
  59. package/dist/models/DescribeSwimmingLaneRequest.js.map +1 -1
  60. package/dist/models/DescribeSwimmingLaneResponseBody.d.ts +185 -0
  61. package/dist/models/DescribeSwimmingLaneResponseBody.js.map +1 -1
  62. package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
  63. package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
  64. package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
  65. package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
  66. package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
  67. package/dist/models/GetWebshellTokenRequest.js.map +1 -1
  68. package/dist/models/GetWebshellTokenResponseBody.d.ts +46 -0
  69. package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
  70. package/dist/models/ListAllSwimmingLaneGroupsRequest.d.ts +3 -0
  71. package/dist/models/ListAllSwimmingLaneGroupsRequest.js.map +1 -1
  72. package/dist/models/ListAllSwimmingLaneGroupsResponseBody.d.ts +113 -0
  73. package/dist/models/ListAllSwimmingLaneGroupsResponseBody.js.map +1 -1
  74. package/dist/models/ListAllSwimmingLanesRequest.d.ts +6 -0
  75. package/dist/models/ListAllSwimmingLanesRequest.js.map +1 -1
  76. package/dist/models/ListAllSwimmingLanesResponseBody.d.ts +185 -0
  77. package/dist/models/ListAllSwimmingLanesResponseBody.js.map +1 -1
  78. package/dist/models/ListApplicationsForSwimmingLaneRequest.d.ts +8 -0
  79. package/dist/models/ListApplicationsForSwimmingLaneRequest.js.map +1 -1
  80. package/dist/models/ListApplicationsForSwimmingLaneResponseBody.d.ts +59 -0
  81. package/dist/models/ListApplicationsForSwimmingLaneResponseBody.js.map +1 -1
  82. package/dist/models/ListSwimmingLaneGatewayRoutesRequest.d.ts +6 -0
  83. package/dist/models/ListSwimmingLaneGatewayRoutesRequest.js.map +1 -1
  84. package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.d.ts +57 -0
  85. package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.js.map +1 -1
  86. package/dist/models/ListSwimmingLaneGroupTagsRequest.d.ts +6 -0
  87. package/dist/models/ListSwimmingLaneGroupTagsRequest.js.map +1 -1
  88. package/dist/models/ListSwimmingLaneGroupTagsResponseBody.d.ts +43 -0
  89. package/dist/models/ListSwimmingLaneGroupTagsResponseBody.js.map +1 -1
  90. package/dist/models/UpdateAppModeRequest.d.ts +11 -0
  91. package/dist/models/UpdateAppModeRequest.js.map +1 -1
  92. package/dist/models/UpdateAppModeResponseBody.d.ts +27 -0
  93. package/dist/models/UpdateAppModeResponseBody.js.map +1 -1
  94. package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
  95. package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
  96. package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
  97. package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
  98. package/dist/models/UpdateIngressRequest.d.ts +12 -12
  99. package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
  100. package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +28 -0
  101. package/dist/models/UpdateNamespaceSlsConfigsRequest.js +62 -0
  102. package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -0
  103. package/dist/models/UpdateNamespaceSlsConfigsResponse.d.ts +19 -0
  104. package/dist/models/UpdateNamespaceSlsConfigsResponse.js +69 -0
  105. package/dist/models/UpdateNamespaceSlsConfigsResponse.js.map +1 -0
  106. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +42 -0
  107. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js +68 -0
  108. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -0
  109. package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.d.ts +15 -0
  110. package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.js.map +1 -1
  111. package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.d.ts +33 -0
  112. package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.js.map +1 -1
  113. package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
  114. package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
  115. package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
  116. package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
  117. package/dist/models/model.d.ts +3 -0
  118. package/dist/models/model.js +8 -2
  119. package/dist/models/model.js.map +1 -1
  120. package/package.json +1 -1
  121. package/src/client.ts +119 -40
  122. package/src/models/CreateApplicationRequest.ts +9 -0
  123. package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
  124. package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
  125. package/src/models/CreateApplicationShrinkRequest.ts +9 -0
  126. package/src/models/CreateIngressRequest.ts +30 -26
  127. package/src/models/CreateIngressResponseBody.ts +15 -15
  128. package/src/models/CreateOrUpdateSwimmingLaneGroupRequest.ts +26 -0
  129. package/src/models/CreateOrUpdateSwimmingLaneGroupResponseBody.ts +40 -0
  130. package/src/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.ts +26 -0
  131. package/src/models/CreateOrUpdateSwimmingLaneRequest.ts +137 -0
  132. package/src/models/CreateOrUpdateSwimmingLaneResponseBody.ts +40 -0
  133. package/src/models/CreateOrUpdateSwimmingLaneShrinkRequest.ts +39 -0
  134. package/src/models/CreateSecretRequest.ts +12 -0
  135. package/src/models/CreateSecretResponseBody.ts +40 -0
  136. package/src/models/CreateSecretShrinkRequest.ts +12 -0
  137. package/src/models/DeleteInstancesRequest.ts +4 -0
  138. package/src/models/DeleteInstancesResponseBody.ts +40 -0
  139. package/src/models/DeleteSwimmingLaneGroupRequest.ts +6 -0
  140. package/src/models/DeleteSwimmingLaneGroupResponseBody.ts +33 -0
  141. package/src/models/DeployApplicationRequest.ts +6 -0
  142. package/src/models/DeployApplicationShrinkRequest.ts +6 -0
  143. package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
  144. package/src/models/DescribeInstanceLogRequest.ts +3 -0
  145. package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
  146. package/src/models/DescribeSwimmingLaneRequest.ts +9 -0
  147. package/src/models/DescribeSwimmingLaneResponseBody.ts +185 -0
  148. package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
  149. package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
  150. package/src/models/GetWebshellTokenRequest.ts +6 -2
  151. package/src/models/GetWebshellTokenResponseBody.ts +46 -0
  152. package/src/models/ListAllSwimmingLaneGroupsRequest.ts +3 -0
  153. package/src/models/ListAllSwimmingLaneGroupsResponseBody.ts +113 -0
  154. package/src/models/ListAllSwimmingLanesRequest.ts +6 -0
  155. package/src/models/ListAllSwimmingLanesResponseBody.ts +185 -0
  156. package/src/models/ListApplicationsForSwimmingLaneRequest.ts +8 -0
  157. package/src/models/ListApplicationsForSwimmingLaneResponseBody.ts +59 -0
  158. package/src/models/ListSwimmingLaneGatewayRoutesRequest.ts +6 -0
  159. package/src/models/ListSwimmingLaneGatewayRoutesResponseBody.ts +57 -0
  160. package/src/models/ListSwimmingLaneGroupTagsRequest.ts +6 -0
  161. package/src/models/ListSwimmingLaneGroupTagsResponseBody.ts +43 -0
  162. package/src/models/UpdateAppModeRequest.ts +11 -0
  163. package/src/models/UpdateAppModeResponseBody.ts +27 -0
  164. package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
  165. package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
  166. package/src/models/UpdateIngressRequest.ts +12 -12
  167. package/src/models/UpdateIngressResponseBody.ts +11 -11
  168. package/src/models/UpdateNamespaceSlsConfigsRequest.ts +45 -0
  169. package/src/models/UpdateNamespaceSlsConfigsResponse.ts +40 -0
  170. package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +65 -0
  171. package/src/models/UpdateSwimmingLaneEnableAttributeRequest.ts +15 -0
  172. package/src/models/UpdateSwimmingLaneEnableAttributeResponseBody.ts +33 -0
  173. package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
  174. package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
  175. package/src/models/model.ts +3 -0
@@ -6,11 +6,11 @@ export class CreateIngressRequest extends $dara.Model {
6
6
  addressType?: string;
7
7
  /**
8
8
  * @remarks
9
- * The ID of the certificate that is associated with the **CLB** instance.
9
+ * The ID of the **CLB** certificate. Valid values:
10
10
  *
11
11
  * * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
12
12
  *
13
- * 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).
13
+ * For more information about how to use SSL certificate IDs for CLB, see [Manage certificates (CLB)](https://help.aliyun.com/document_detail/90792.html).
14
14
  *
15
15
  * @example
16
16
  * 188077086902****_176993d****_181437****_108724****
@@ -18,10 +18,10 @@ export class CreateIngressRequest extends $dara.Model {
18
18
  certId?: string;
19
19
  /**
20
20
  * @remarks
21
- * The IDs of the certificates that are associated with the **ALB** instance.
21
+ * The ID of the multi-certificate **ALB**. Valid values:
22
22
  *
23
- * * If you set **LoadBalanceType** to **alb**, you can use CertIds to configure multiple certificates for the HTTPS listener. Separate multiple certificate IDs with commas (,).
24
- * * 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).
23
+ * * If the **LoadBalanceType** is **alb**, use this field to configure multiple certificates for HTTPS listeners. Separate multiple certificate IDs with commas (,).
24
+ * * The ID of the SSL certificate used by ALB must be obtained from the digital certificate product. For example, in the configuration `756***-cn-hangzhou`, the `756***` is the certificate ID obtained from the product page, and the `-cn-hangzhou` is a fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
25
25
  *
26
26
  * @example
27
27
  * 87***35-cn-hangzhou,812***3-cn-hangzhou
@@ -30,9 +30,12 @@ export class CreateIngressRequest extends $dara.Model {
30
30
  corsConfig?: string;
31
31
  /**
32
32
  * @remarks
33
- * Default forwarding rule. Traffic is forwarded to the specified application through a designated port based on the IP address. Parameter descriptions are as follows:
34
- * - **appId**: Application ID. - **containerPort**: Application instance port.
35
- * > All requests that do not match or do not meet the **Rules** for forwarding will be directed to this specified application.
33
+ * The default forwarding rule. Forwards traffic to a specified application through a specified port based on the IP address. The following table describes the parameters.
34
+ *
35
+ * * **appId**: the ID of the application.
36
+ * * **containerPort**: The port of the application instance.
37
+ *
38
+ * > All requests that do not match or satisfy **Rules** forwarding rules are forwarded to the specified application.
36
39
  *
37
40
  * This parameter is required.
38
41
  *
@@ -42,7 +45,7 @@ export class CreateIngressRequest extends $dara.Model {
42
45
  defaultRule?: string;
43
46
  /**
44
47
  * @remarks
45
- * Route rule name.
48
+ * The name of the routing rule.
46
49
  *
47
50
  * @example
48
51
  * ingress-for-sae-test
@@ -56,7 +59,7 @@ export class CreateIngressRequest extends $dara.Model {
56
59
  enableXForwardedForSlbPort?: boolean;
57
60
  /**
58
61
  * @remarks
59
- * The timeout period of an idle connection. Unit: seconds Valid values: 1 to 60. If no requests are received within the specified timeout period, ALB closes the current connection. When a new request is received, ALB establishes a new connection.
62
+ * Specifies the connection idle timeout period. Unit: seconds. Valid values: 1 to 60. If there is no access request within the timeout period, the SLB will temporarily interrupt the current connection until the next request comes to re-establish a new connection.
60
63
  *
61
64
  * @example
62
65
  * 15
@@ -64,8 +67,7 @@ export class CreateIngressRequest extends $dara.Model {
64
67
  idleTimeout?: number;
65
68
  /**
66
69
  * @remarks
67
- * SThe frontend port that is used by the ALB instance.
68
- * Valid values: 1 to 65535.
70
+ * The SLB listening port. This port cannot be occupied.
69
71
  *
70
72
  * This parameter is required.
71
73
  *
@@ -75,8 +77,10 @@ export class CreateIngressRequest extends $dara.Model {
75
77
  listenerPort?: number;
76
78
  /**
77
79
  * @remarks
78
- * Request forwarding protocol. The value description is as follows:
79
- * - **HTTP**: Suitable for applications that need to identify data content. - **HTTPS**: Suitable for applications that require encrypted transmission.
80
+ * The request forwarding protocol. Valid values:
81
+ *
82
+ * * **HTTP**: suitable for applications that need to identify data content.
83
+ * * **HTTPS**: suitable for applications that require encrypted transmission.
80
84
  *
81
85
  * @example
82
86
  * HTTP
@@ -84,10 +88,10 @@ export class CreateIngressRequest extends $dara.Model {
84
88
  listenerProtocol?: string;
85
89
  /**
86
90
  * @remarks
87
- * 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:
91
+ * SLB the type of the SLB instance. It depends on the type that you entered when you created the routing rule and cannot be changed when you update it. Valid values:
88
92
  *
89
- * * **clb**
90
- * * **alb**
93
+ * * **clb**: traditional SLB CLB (formerly SLB).
94
+ * * **alb**: Applied SLB ALB.
91
95
  *
92
96
  * @example
93
97
  * clb
@@ -96,7 +100,7 @@ export class CreateIngressRequest extends $dara.Model {
96
100
  loadBalancerEdition?: string;
97
101
  /**
98
102
  * @remarks
99
- * The ID of the namespace where the application is located. Currently, cross-namespace applications are not supported.
103
+ * The ID of the namespace where the application resides. Currently, cross-namespace applications are not supported.
100
104
  *
101
105
  * This parameter is required.
102
106
  *
@@ -106,7 +110,7 @@ export class CreateIngressRequest extends $dara.Model {
106
110
  namespaceId?: string;
107
111
  /**
108
112
  * @remarks
109
- * The timeout period of a request. Unit: seconds. Valid values: 1 to 180. If no response is received from the backend server within the specified timeout period, ALB stops waiting for the response and returns an HTTP 504 error code to the client.
113
+ * Specifies the request timeout period. Unit: seconds. Valid values: 1 to 180. If the backend server does not respond within the timeout period, the SLB abandons the wait and returns an HTTP 504 error code to the client.
110
114
  *
111
115
  * @example
112
116
  * 3
@@ -114,16 +118,16 @@ export class CreateIngressRequest extends $dara.Model {
114
118
  requestTimeout?: number;
115
119
  /**
116
120
  * @remarks
117
- * 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:
121
+ * The forwarding rule. Forwards traffic to a specified application through a specified port based on the domain name and request path. The following table describes the parameters.
118
122
  *
119
123
  * * **appId**: the ID of the application.
120
- * * **containerPort**: the container port of the application.
124
+ * * **containerPort**: The port of the application instance.
121
125
  * * **domain**: the domain name.
122
126
  * * **path**: the request path.
123
- * * **backendProtocol**: the backend service protocol. Valid values: http, https, and grpc. Default value: http.
124
- * * **rewritePath**: the rewrite path.
127
+ * * **backendProtocol**: The backend service protocol. Valid values: http, https, and grpc. Default value: http.
128
+ * * **rewritePath**: Rewrite the path.
125
129
  *
126
- * > The path rewrite feature is supported only by ALB instances.
130
+ * > Only ALB allows you to set the RewritePath feature. CLB does not support this feature.
127
131
  *
128
132
  * This parameter is required.
129
133
  *
@@ -133,7 +137,7 @@ export class CreateIngressRequest extends $dara.Model {
133
137
  rules?: string;
134
138
  /**
135
139
  * @remarks
136
- * The ID of a security policy.
140
+ * The ID of the security policy instance.
137
141
  *
138
142
  * @example
139
143
  * sp-bp1bpn0kn9****
@@ -143,7 +147,7 @@ export class CreateIngressRequest extends $dara.Model {
143
147
  * @remarks
144
148
  * The Server Load Balancer (SLB) instance that is used by the routing rule.
145
149
  *
146
- * > The SLB instance can be a Classic Load Balancer (CLB) instance or an Application Load Balancer (ALB) instance.
150
+ * > SLB SLB instances include CLB instances and ALB instances.
147
151
  *
148
152
  * @example
149
153
  * lb-uf6hucc7inlqrtcq5****
@@ -35,11 +35,11 @@ export class CreateIngressResponseBodyData extends $dara.Model {
35
35
  export class CreateIngressResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The HTTP status code. Valid values:
38
+ * The HTTP status code or the error code. Valid values:
39
39
  *
40
- * * **2xx**: The call was successful.
41
- * * **3xx**: The call was redirected.
42
- * * **4xx**: The call failed.
40
+ * * **2xx**: The request was successful.
41
+ * * **3xx**: The request was redirected.
42
+ * * **4xx**: The request failed.
43
43
  * * **5xx**: A server error occurred.
44
44
  *
45
45
  * @example
@@ -48,15 +48,15 @@ export class CreateIngressResponseBody extends $dara.Model {
48
48
  code?: string;
49
49
  /**
50
50
  * @remarks
51
- * The response.
51
+ * Responses.
52
52
  */
53
53
  data?: CreateIngressResponseBodyData;
54
54
  /**
55
55
  * @remarks
56
- * The error code returned. Take note of the following rules:
56
+ * Error code. Valid values:
57
57
  *
58
- * * The **ErrorCode** parameter is not returned if the request succeeds.
59
- * * If the call fails, the **ErrorCode** parameter is returned. For more information, see the "**Error codes**" section of this topic.
58
+ * * If the request is successful, no **ErrorCode** fields are returned.
59
+ * * Request failed: **ErrorCode** fields are returned. For more information, see **Error codes**.
60
60
  *
61
61
  * @example
62
62
  * success
@@ -64,10 +64,10 @@ export class CreateIngressResponseBody extends $dara.Model {
64
64
  errorCode?: string;
65
65
  /**
66
66
  * @remarks
67
- * The additional information that is returned. Valid values:
67
+ * Additional information. Valid values:
68
68
  *
69
- * * success: If the call is successful, **success** is returned.
70
- * * An error code: If the call fails, an error code is returned.
69
+ * * The error message returned because the request is normal and **success** is returned.
70
+ * * If the request is abnormal, the specific exception error code is returned.
71
71
  *
72
72
  * @example
73
73
  * success
@@ -83,10 +83,10 @@ export class CreateIngressResponseBody extends $dara.Model {
83
83
  requestId?: string;
84
84
  /**
85
85
  * @remarks
86
- * Indicates whether the Secret is successfully deleted. Valid values:
86
+ * Indicates whether the routing rule was created. Valid values:
87
87
  *
88
- * * **true**: The instance was deleted.
89
- * * **false**: The instance failed to be deleted.
88
+ * * **true**: The ConfigMap was created.
89
+ * * **false**: The ConfigMap failed to be created.
90
90
  *
91
91
  * @example
92
92
  * true
@@ -94,7 +94,7 @@ export class CreateIngressResponseBody extends $dara.Model {
94
94
  success?: boolean;
95
95
  /**
96
96
  * @remarks
97
- * The ID of the trace. It is used to query the details of a request.
97
+ * The ID of the trace. This parameter is used to query the exact call information.
98
98
  *
99
99
  * @example
100
100
  * 0a98a02315955564772843261e****
@@ -3,33 +3,59 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateOrUpdateSwimmingLaneGroupRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the baseline application.
9
+ */
6
10
  appIds?: string[];
7
11
  /**
12
+ * @remarks
13
+ * The unique ID of the corresponding gateway.
14
+ *
8
15
  * @example
9
16
  * mse_ingresspost-cn-axc49******
10
17
  */
11
18
  entryAppId?: string;
12
19
  /**
20
+ * @remarks
21
+ * The application entry type (gateway type).
22
+ *
23
+ * * **apig:** cloud-native API Gateway
24
+ * * **mse:** Java Services Gateway
25
+ * * **mse-gw:** MSE cloud-native Gateway
26
+ *
13
27
  * @example
14
28
  * mse-gw
15
29
  */
16
30
  entryAppType?: string;
17
31
  /**
32
+ * @remarks
33
+ * The ID of the lane group. This is required when you update a lane group.
34
+ *
18
35
  * @example
19
36
  * 2047
20
37
  */
21
38
  groupId?: number;
22
39
  /**
40
+ * @remarks
41
+ * The name of the lane group.
42
+ *
23
43
  * @example
24
44
  * mse-test
25
45
  */
26
46
  groupName?: string;
27
47
  /**
48
+ * @remarks
49
+ * The ID of a namespace.
50
+ *
28
51
  * @example
29
52
  * cn-beijing:test
30
53
  */
31
54
  namespaceId?: string;
32
55
  /**
56
+ * @remarks
57
+ * The end-to-end grayscale version. Valid values: 0 and 2 (recommended).
58
+ *
33
59
  * @example
34
60
  * 2
35
61
  */
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateOrUpdateSwimmingLaneGroupResponseBodyData extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of the lane group.
9
+ *
7
10
  * @example
8
11
  * 2074
9
12
  */
@@ -31,28 +34,65 @@ export class CreateOrUpdateSwimmingLaneGroupResponseBodyData extends $dara.Model
31
34
 
32
35
  export class CreateOrUpdateSwimmingLaneGroupResponseBody extends $dara.Model {
33
36
  /**
37
+ * @remarks
38
+ * The HTTP status code or the error code. Valid values:
39
+ *
40
+ * * **2xx**: The request was successful.
41
+ * * **3xx**: Redirection.
42
+ * * **4xx**: The request failed.
43
+ * * **5xx**: Server error.
44
+ *
34
45
  * @example
35
46
  * 200
36
47
  */
37
48
  code?: string;
49
+ /**
50
+ * @remarks
51
+ * The application information.
52
+ */
38
53
  data?: CreateOrUpdateSwimmingLaneGroupResponseBodyData;
54
+ /**
55
+ * @remarks
56
+ * The status code. Value values:
57
+ *
58
+ * * If the request was successful, **ErrorCode** is not returned.
59
+ * * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
60
+ */
39
61
  errorCode?: string;
40
62
  /**
63
+ * @remarks
64
+ * Additional information. Valid values:
65
+ *
66
+ * * The error message returned because the request is normal and **success** is returned.
67
+ * * If the request is abnormal, the specific exception error code is returned.
68
+ *
41
69
  * @example
42
70
  * success
43
71
  */
44
72
  message?: string;
45
73
  /**
74
+ * @remarks
75
+ * The request ID.
76
+ *
46
77
  * @example
47
78
  * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
48
79
  */
49
80
  requestId?: string;
50
81
  /**
82
+ * @remarks
83
+ * Whether the lane group is created. Valid values:
84
+ *
85
+ * * **true**: Created successfully.
86
+ * * **false**: The ConfigMap failed to be created.
87
+ *
51
88
  * @example
52
89
  * true
53
90
  */
54
91
  success?: boolean;
55
92
  /**
93
+ * @remarks
94
+ * The ID of the trace. This parameter is used to query the exact call information.
95
+ *
56
96
  * @example
57
97
  * 0a98a02315955564772843261e****
58
98
  */
@@ -3,33 +3,59 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateOrUpdateSwimmingLaneGroupShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the baseline application.
9
+ */
6
10
  appIdsShrink?: string;
7
11
  /**
12
+ * @remarks
13
+ * The unique ID of the corresponding gateway.
14
+ *
8
15
  * @example
9
16
  * mse_ingresspost-cn-axc49******
10
17
  */
11
18
  entryAppId?: string;
12
19
  /**
20
+ * @remarks
21
+ * The application entry type (gateway type).
22
+ *
23
+ * * **apig:** cloud-native API Gateway
24
+ * * **mse:** Java Services Gateway
25
+ * * **mse-gw:** MSE cloud-native Gateway
26
+ *
13
27
  * @example
14
28
  * mse-gw
15
29
  */
16
30
  entryAppType?: string;
17
31
  /**
32
+ * @remarks
33
+ * The ID of the lane group. This is required when you update a lane group.
34
+ *
18
35
  * @example
19
36
  * 2047
20
37
  */
21
38
  groupId?: number;
22
39
  /**
40
+ * @remarks
41
+ * The name of the lane group.
42
+ *
23
43
  * @example
24
44
  * mse-test
25
45
  */
26
46
  groupName?: string;
27
47
  /**
48
+ * @remarks
49
+ * The ID of a namespace.
50
+ *
28
51
  * @example
29
52
  * cn-beijing:test
30
53
  */
31
54
  namespaceId?: string;
32
55
  /**
56
+ * @remarks
57
+ * The end-to-end grayscale version. Valid values: 0 and 2 (recommended).
58
+ *
33
59
  * @example
34
60
  * 2
35
61
  */
@@ -4,21 +4,43 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateOrUpdateSwimmingLaneRequestAppEntryRuleConditions extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Matching Rule:
9
+ *
10
+ * * The exact match. The condition is met if the traffic value and the condition value are exactly the same.
11
+ * * The exact match. The condition is met if the traffic value and the condition value are exactly the same.
12
+ * * The inclusive match. The condition is met if the traffic value is included in the specified list.
13
+ * * The percentage match. Principle: The condition is met if \\"hash(get(`key`)) % 100 < value\\".
14
+ * * Regular match: a regular expression match. The condition is met when the match is based on regular expression rules.
15
+ *
7
16
  * @example
8
17
  * ==
9
18
  */
10
19
  condition?: string;
11
20
  /**
21
+ * @remarks
22
+ * The parameter name.
23
+ *
12
24
  * @example
13
25
  * t
14
26
  */
15
27
  name?: string;
16
28
  /**
29
+ * @remarks
30
+ * The parameter type. Valid values:
31
+ *
32
+ * * header
33
+ * * param
34
+ * * Cookie: forwards requests based on cookies.
35
+ *
17
36
  * @example
18
37
  * Header
19
38
  */
20
39
  type?: string;
21
40
  /**
41
+ * @remarks
42
+ * The match value of the condition.
43
+ *
22
44
  * @example
23
45
  * g1
24
46
  */
@@ -52,22 +74,49 @@ export class CreateOrUpdateSwimmingLaneRequestAppEntryRuleConditions extends $da
52
74
 
53
75
  export class CreateOrUpdateSwimmingLaneRequestAppEntryRule extends $dara.Model {
54
76
  /**
77
+ * @remarks
78
+ * Logical connectors between conditions:
79
+ *
80
+ * * AND: All conditions are met at the same time.
81
+ * * OR: Any condition is met.
82
+ *
55
83
  * @example
56
84
  * AND
57
85
  */
58
86
  conditionJoiner?: string;
87
+ /**
88
+ * @remarks
89
+ * The conditions that trigger circuit breaking.
90
+ */
59
91
  conditions?: CreateOrUpdateSwimmingLaneRequestAppEntryRuleConditions[];
60
92
  /**
93
+ * @remarks
94
+ * Whether to enable proportional grayscale.
95
+ *
96
+ * * true: enabled. After you enable this parameter, you must configure the PercentageByPath.
97
+ * * false: disables the service.
98
+ *
61
99
  * @example
62
100
  * true
63
101
  */
64
102
  independentPercentageEnable?: boolean;
103
+ /**
104
+ * @remarks
105
+ * The matched request path.
106
+ */
65
107
  paths?: string[];
66
108
  /**
109
+ * @remarks
110
+ * The traffic ratio. Valid values: 0 to 100.
111
+ *
67
112
  * @example
68
113
  * 50
69
114
  */
70
115
  percentage?: number;
116
+ /**
117
+ * @remarks
118
+ * The traffic configuration.
119
+ */
71
120
  percentageByPath?: { [key: string]: number };
72
121
  static names(): { [key: string]: string } {
73
122
  return {
@@ -111,21 +160,43 @@ export class CreateOrUpdateSwimmingLaneRequestAppEntryRule extends $dara.Model {
111
160
 
112
161
  export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRuleConditions extends $dara.Model {
113
162
  /**
163
+ * @remarks
164
+ * The matching rule.
165
+ *
166
+ * * \\==: exact match.
167
+ * * ! =: exact match.
168
+ * * in: contains matches.
169
+ * * Percentage: Percentage matching.
170
+ * * Regular matching: specifies whether a regular expression is used to search for the original string.
171
+ *
114
172
  * @example
115
173
  * ==
116
174
  */
117
175
  condition?: string;
118
176
  /**
177
+ * @remarks
178
+ * The parameter name.
179
+ *
119
180
  * @example
120
181
  * test
121
182
  */
122
183
  name?: string;
123
184
  /**
185
+ * @remarks
186
+ * The parameter type. Valid values:
187
+ *
188
+ * * header
189
+ * * param
190
+ * * Cookie: forwards requests based on cookies.
191
+ *
124
192
  * @example
125
193
  * header
126
194
  */
127
195
  type?: string;
128
196
  /**
197
+ * @remarks
198
+ * The match value of the condition.
199
+ *
129
200
  * @example
130
201
  * g1
131
202
  */
@@ -159,22 +230,49 @@ export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRuleConditions exte
159
230
 
160
231
  export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRule extends $dara.Model {
161
232
  /**
233
+ * @remarks
234
+ * Logical connectors between conditions:
235
+ *
236
+ * * AND: All conditions are met at the same time.
237
+ * * OR: Any condition is met.
238
+ *
162
239
  * @example
163
240
  * AND
164
241
  */
165
242
  conditionJoiner?: string;
243
+ /**
244
+ * @remarks
245
+ * Routing Condition
246
+ */
166
247
  conditions?: CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRuleConditions[];
167
248
  /**
249
+ * @remarks
250
+ * Whether to enable proportional grayscale.
251
+ *
252
+ * * true: Enabled. After you enable this parameter, you must configure the PercentageByPath.
253
+ * * false: Disabled.
254
+ *
168
255
  * @example
169
256
  * true
170
257
  */
171
258
  independentPercentageEnable?: boolean;
172
259
  /**
260
+ * @remarks
261
+ * The percentage of traffic replication. Valid values: 0 to 100.
262
+ *
173
263
  * @example
174
264
  * 100
175
265
  */
176
266
  percentage?: number;
267
+ /**
268
+ * @remarks
269
+ * The traffic configuration.
270
+ */
177
271
  percentageByRoute?: { [key: string]: number };
272
+ /**
273
+ * @remarks
274
+ * The ID of the route.
275
+ */
178
276
  routeIds?: number[];
179
277
  static names(): { [key: string]: string } {
180
278
  return {
@@ -217,39 +315,78 @@ export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRule extends $dara.
217
315
  }
218
316
 
219
317
  export class CreateOrUpdateSwimmingLaneRequest extends $dara.Model {
318
+ /**
319
+ * @remarks
320
+ * The route configuration of the gateway.
321
+ *
322
+ * > This parameter is required if the gateway entry of the lane group is Java.
323
+ */
220
324
  appEntryRule?: CreateOrUpdateSwimmingLaneRequestAppEntryRule;
221
325
  /**
326
+ * @remarks
327
+ * Full-link Grayscale Mode:
328
+ *
329
+ * * 0: The request is routed based on the content of the request.
330
+ * * 1: routing based on percentages
331
+ *
222
332
  * @example
223
333
  * 0
224
334
  */
225
335
  canaryModel?: number;
226
336
  /**
337
+ * @remarks
338
+ * Lane Status
339
+ *
340
+ * * true: enabled
341
+ * * false: disabled
342
+ *
227
343
  * @example
228
344
  * true
229
345
  */
230
346
  enable?: boolean;
231
347
  /**
348
+ * @remarks
349
+ * The ID of the lane group to which the lane belongs.
350
+ *
232
351
  * @example
233
352
  * b2a8a925-477a-eswa-b823-d5e22500****
234
353
  */
235
354
  groupId?: number;
236
355
  /**
356
+ * @remarks
357
+ * The ID of the lane.
358
+ *
237
359
  * @example
238
360
  * 13857
239
361
  */
240
362
  laneId?: number;
241
363
  /**
364
+ * @remarks
365
+ * The name of the lane.
366
+ *
242
367
  * @example
243
368
  * test
244
369
  */
245
370
  laneName?: string;
246
371
  /**
372
+ * @remarks
373
+ * The tag of the lane.
374
+ *
247
375
  * @example
248
376
  * {"alicloud.service.tag":"g1"}
249
377
  */
250
378
  laneTag?: string;
379
+ /**
380
+ * @remarks
381
+ * The route configuration of the MSE gateway.
382
+ *
383
+ * > If the **EntryAppType** is set to **apig** or **mse-gw**, it is required.
384
+ */
251
385
  mseGatewayEntryRule?: CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRule;
252
386
  /**
387
+ * @remarks
388
+ * The namespace ID.
389
+ *
253
390
  * @example
254
391
  * cn-beijing:test
255
392
  */