@alicloud/sae20190506 2.9.0 → 2.9.2

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 (109) hide show
  1. package/dist/client.d.ts +26 -16
  2. package/dist/client.js +47 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchRestartApplicationsRequest.d.ts +4 -0
  5. package/dist/models/BatchRestartApplicationsRequest.js.map +1 -1
  6. package/dist/models/BatchRestartApplicationsResponseBody.d.ts +37 -0
  7. package/dist/models/BatchRestartApplicationsResponseBody.js.map +1 -1
  8. package/dist/models/CreateApplicationRequest.d.ts +3 -0
  9. package/dist/models/CreateApplicationRequest.js +6 -0
  10. package/dist/models/CreateApplicationRequest.js.map +1 -1
  11. package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
  12. package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
  13. package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
  14. package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
  15. package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
  16. package/dist/models/CreateApplicationShrinkRequest.js +6 -0
  17. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  18. package/dist/models/CreateIngressRequest.d.ts +100 -26
  19. package/dist/models/CreateIngressRequest.js.map +1 -1
  20. package/dist/models/CreateIngressResponseBody.d.ts +15 -15
  21. package/dist/models/CreateSecretRequest.d.ts +12 -0
  22. package/dist/models/CreateSecretRequest.js.map +1 -1
  23. package/dist/models/CreateSecretResponseBody.d.ts +40 -0
  24. package/dist/models/CreateSecretResponseBody.js.map +1 -1
  25. package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
  26. package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
  27. package/dist/models/DeployApplicationRequest.d.ts +2 -0
  28. package/dist/models/DeployApplicationRequest.js +4 -0
  29. package/dist/models/DeployApplicationRequest.js.map +1 -1
  30. package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
  31. package/dist/models/DeployApplicationShrinkRequest.js +4 -0
  32. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  33. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
  34. package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
  35. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  36. package/dist/models/DescribeApplicationMseServiceRequest.d.ts +4 -0
  37. package/dist/models/DescribeApplicationMseServiceRequest.js.map +1 -1
  38. package/dist/models/DescribeApplicationMseServiceResponseBody.d.ts +69 -0
  39. package/dist/models/DescribeApplicationMseServiceResponseBody.js.map +1 -1
  40. package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
  41. package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
  42. package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
  43. package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
  44. package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
  45. package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
  46. package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
  47. package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
  48. package/dist/models/GetWebshellTokenRequest.js.map +1 -1
  49. package/dist/models/GetWebshellTokenResponseBody.d.ts +43 -1
  50. package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
  51. package/dist/models/QueryArmsEnableRequest.d.ts +2 -0
  52. package/dist/models/QueryArmsEnableRequest.js.map +1 -1
  53. package/dist/models/QueryArmsEnableResponseBody.d.ts +38 -0
  54. package/dist/models/QueryArmsEnableResponseBody.js.map +1 -1
  55. package/dist/models/RescaleApplicationVerticallyRequest.d.ts +1 -0
  56. package/dist/models/RescaleApplicationVerticallyRequest.js +2 -0
  57. package/dist/models/RescaleApplicationVerticallyRequest.js.map +1 -1
  58. package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
  59. package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
  60. package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
  61. package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
  62. package/dist/models/UpdateApplicationVswitchesRequest.d.ts +1 -0
  63. package/dist/models/UpdateApplicationVswitchesRequest.js +2 -0
  64. package/dist/models/UpdateApplicationVswitchesRequest.js.map +1 -1
  65. package/dist/models/UpdateIngressRequest.d.ts +12 -12
  66. package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
  67. package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +24 -0
  68. package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -1
  69. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +23 -1
  70. package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -1
  71. package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
  72. package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
  73. package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
  74. package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
  75. package/package.json +1 -1
  76. package/src/client.ts +54 -16
  77. package/src/models/BatchRestartApplicationsRequest.ts +4 -0
  78. package/src/models/BatchRestartApplicationsResponseBody.ts +37 -0
  79. package/src/models/CreateApplicationRequest.ts +9 -0
  80. package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
  81. package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
  82. package/src/models/CreateApplicationShrinkRequest.ts +9 -0
  83. package/src/models/CreateIngressRequest.ts +100 -26
  84. package/src/models/CreateIngressResponseBody.ts +15 -15
  85. package/src/models/CreateSecretRequest.ts +12 -0
  86. package/src/models/CreateSecretResponseBody.ts +40 -0
  87. package/src/models/CreateSecretShrinkRequest.ts +12 -0
  88. package/src/models/DeployApplicationRequest.ts +6 -0
  89. package/src/models/DeployApplicationShrinkRequest.ts +6 -0
  90. package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
  91. package/src/models/DescribeApplicationMseServiceRequest.ts +4 -0
  92. package/src/models/DescribeApplicationMseServiceResponseBody.ts +69 -0
  93. package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
  94. package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
  95. package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
  96. package/src/models/GetWebshellTokenRequest.ts +6 -2
  97. package/src/models/GetWebshellTokenResponseBody.ts +43 -1
  98. package/src/models/QueryArmsEnableRequest.ts +2 -0
  99. package/src/models/QueryArmsEnableResponseBody.ts +38 -0
  100. package/src/models/RescaleApplicationVerticallyRequest.ts +3 -0
  101. package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
  102. package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
  103. package/src/models/UpdateApplicationVswitchesRequest.ts +3 -0
  104. package/src/models/UpdateIngressRequest.ts +12 -12
  105. package/src/models/UpdateIngressResponseBody.ts +11 -11
  106. package/src/models/UpdateNamespaceSlsConfigsRequest.ts +24 -0
  107. package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +23 -1
  108. package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
  109. package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
@@ -3,14 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateIngressRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * -
9
+ *
10
+ * @example
11
+ * -
12
+ */
6
13
  addressType?: string;
7
14
  /**
8
15
  * @remarks
9
- * The ID of the certificate that is associated with the **CLB** instance.
16
+ * The ID of the **CLB** certificate. Valid values:
10
17
  *
11
18
  * * If you set **LoadBalanceType** to **clb**, you can use CertId to configure a certificate for the HTTPS listener.
12
19
  *
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).
20
+ * 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
21
  *
15
22
  * @example
16
23
  * 188077086902****_176993d****_181437****_108724****
@@ -18,21 +25,31 @@ export class CreateIngressRequest extends $dara.Model {
18
25
  certId?: string;
19
26
  /**
20
27
  * @remarks
21
- * The IDs of the certificates that are associated with the **ALB** instance.
28
+ * The ID of the multi-certificate **ALB**. Valid values:
22
29
  *
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).
30
+ * * If the **LoadBalanceType** is **alb**, use this field to configure multiple certificates for HTTPS listeners. Separate multiple certificate IDs with commas (,).
31
+ * * 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
32
  *
26
33
  * @example
27
34
  * 87***35-cn-hangzhou,812***3-cn-hangzhou
28
35
  */
29
36
  certIds?: string;
37
+ /**
38
+ * @remarks
39
+ * -
40
+ *
41
+ * @example
42
+ * -
43
+ */
30
44
  corsConfig?: string;
31
45
  /**
32
46
  * @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.
47
+ * 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.
48
+ *
49
+ * * **appId**: the ID of the application.
50
+ * * **containerPort**: The port of the application instance.
51
+ *
52
+ * > All requests that do not match or satisfy **Rules** forwarding rules are forwarded to the specified application.
36
53
  *
37
54
  * This parameter is required.
38
55
  *
@@ -42,21 +59,63 @@ export class CreateIngressRequest extends $dara.Model {
42
59
  defaultRule?: string;
43
60
  /**
44
61
  * @remarks
45
- * Route rule name.
62
+ * The name of the routing rule.
46
63
  *
47
64
  * @example
48
65
  * ingress-for-sae-test
49
66
  */
50
67
  description?: string;
68
+ /**
69
+ * @remarks
70
+ * -
71
+ *
72
+ * @example
73
+ * -
74
+ */
51
75
  enableGzip?: boolean;
76
+ /**
77
+ * @remarks
78
+ * -
79
+ *
80
+ * @example
81
+ * -
82
+ */
52
83
  enableXForwardedFor?: boolean;
84
+ /**
85
+ * @remarks
86
+ * -
87
+ *
88
+ * @example
89
+ * -
90
+ */
53
91
  enableXForwardedForClientSrcPort?: boolean;
92
+ /**
93
+ * @remarks
94
+ * -
95
+ *
96
+ * @example
97
+ * -
98
+ */
54
99
  enableXForwardedForProto?: boolean;
100
+ /**
101
+ * @remarks
102
+ * -
103
+ *
104
+ * @example
105
+ * -
106
+ */
55
107
  enableXForwardedForSlbId?: boolean;
108
+ /**
109
+ * @remarks
110
+ * -
111
+ *
112
+ * @example
113
+ * -
114
+ */
56
115
  enableXForwardedForSlbPort?: boolean;
57
116
  /**
58
117
  * @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.
118
+ * 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
119
  *
61
120
  * @example
62
121
  * 15
@@ -64,8 +123,7 @@ export class CreateIngressRequest extends $dara.Model {
64
123
  idleTimeout?: number;
65
124
  /**
66
125
  * @remarks
67
- * SThe frontend port that is used by the ALB instance.
68
- * Valid values: 1 to 65535.
126
+ * The SLB listening port. This port cannot be occupied.
69
127
  *
70
128
  * This parameter is required.
71
129
  *
@@ -75,8 +133,10 @@ export class CreateIngressRequest extends $dara.Model {
75
133
  listenerPort?: number;
76
134
  /**
77
135
  * @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.
136
+ * The request forwarding protocol. Valid values:
137
+ *
138
+ * * **HTTP**: suitable for applications that need to identify data content.
139
+ * * **HTTPS**: suitable for applications that require encrypted transmission.
80
140
  *
81
141
  * @example
82
142
  * HTTP
@@ -84,19 +144,26 @@ export class CreateIngressRequest extends $dara.Model {
84
144
  listenerProtocol?: string;
85
145
  /**
86
146
  * @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:
147
+ * 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
148
  *
89
- * * **clb**
90
- * * **alb**
149
+ * * **clb**: traditional SLB CLB (formerly SLB).
150
+ * * **alb**: Applied SLB ALB.
91
151
  *
92
152
  * @example
93
153
  * clb
94
154
  */
95
155
  loadBalanceType?: string;
156
+ /**
157
+ * @remarks
158
+ * -
159
+ *
160
+ * @example
161
+ * -
162
+ */
96
163
  loadBalancerEdition?: string;
97
164
  /**
98
165
  * @remarks
99
- * The ID of the namespace where the application is located. Currently, cross-namespace applications are not supported.
166
+ * The ID of the namespace where the application resides. Currently, cross-namespace applications are not supported.
100
167
  *
101
168
  * This parameter is required.
102
169
  *
@@ -106,7 +173,7 @@ export class CreateIngressRequest extends $dara.Model {
106
173
  namespaceId?: string;
107
174
  /**
108
175
  * @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.
176
+ * 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
177
  *
111
178
  * @example
112
179
  * 3
@@ -114,16 +181,16 @@ export class CreateIngressRequest extends $dara.Model {
114
181
  requestTimeout?: number;
115
182
  /**
116
183
  * @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:
184
+ * 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
185
  *
119
186
  * * **appId**: the ID of the application.
120
- * * **containerPort**: the container port of the application.
187
+ * * **containerPort**: The port of the application instance.
121
188
  * * **domain**: the domain name.
122
189
  * * **path**: the request path.
123
- * * **backendProtocol**: the backend service protocol. Valid values: http, https, and grpc. Default value: http.
124
- * * **rewritePath**: the rewrite path.
190
+ * * **backendProtocol**: The backend service protocol. Valid values: http, https, and grpc. Default value: http.
191
+ * * **rewritePath**: Rewrite the path.
125
192
  *
126
- * > The path rewrite feature is supported only by ALB instances.
193
+ * > Only ALB allows you to set the RewritePath feature. CLB does not support this feature.
127
194
  *
128
195
  * This parameter is required.
129
196
  *
@@ -133,7 +200,7 @@ export class CreateIngressRequest extends $dara.Model {
133
200
  rules?: string;
134
201
  /**
135
202
  * @remarks
136
- * The ID of a security policy.
203
+ * The ID of the security policy instance.
137
204
  *
138
205
  * @example
139
206
  * sp-bp1bpn0kn9****
@@ -143,12 +210,19 @@ export class CreateIngressRequest extends $dara.Model {
143
210
  * @remarks
144
211
  * The Server Load Balancer (SLB) instance that is used by the routing rule.
145
212
  *
146
- * > The SLB instance can be a Classic Load Balancer (CLB) instance or an Application Load Balancer (ALB) instance.
213
+ * > SLB SLB instances include CLB instances and ALB instances.
147
214
  *
148
215
  * @example
149
216
  * lb-uf6hucc7inlqrtcq5****
150
217
  */
151
218
  slbId?: string;
219
+ /**
220
+ * @remarks
221
+ * -
222
+ *
223
+ * @example
224
+ * -
225
+ */
152
226
  zoneMappings?: string;
153
227
  static names(): { [key: string]: string } {
154
228
  return {
@@ -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****
@@ -58,6 +58,8 @@ export class CreateSecretRequest extends $dara.Model {
58
58
  secretData?: CreateSecretRequestSecretData;
59
59
  /**
60
60
  * @remarks
61
+ * The Secret name. The name can contain digits, letters, and underscores (_). The name must start with a letter.
62
+ *
61
63
  * This parameter is required.
62
64
  *
63
65
  * @example
@@ -66,6 +68,16 @@ export class CreateSecretRequest extends $dara.Model {
66
68
  secretName?: string;
67
69
  /**
68
70
  * @remarks
71
+ * The supported Secret type. Valid values:
72
+ *
73
+ * * **kubernetes.io/dockerconfigjson**: the Secret for the username and password of the image repository. The Secret is used for authentication when images are pulled during application deployment.
74
+ *
75
+ * Valid values:
76
+ *
77
+ * * Opaque
78
+ * * kubernetes.io/dockerconfigjson
79
+ * * kubernetes.io/tls
80
+ *
69
81
  * This parameter is required.
70
82
  *
71
83
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateSecretResponseBodyData extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of the created Secret.
9
+ *
7
10
  * @example
8
11
  * 16
9
12
  */
@@ -31,28 +34,65 @@ export class CreateSecretResponseBodyData extends $dara.Model {
31
34
 
32
35
  export class CreateSecretResponseBody 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**: The request was redirected.
42
+ * * **4xx**: The request failed.
43
+ * * **5xx**: A server error occurred.
44
+ *
34
45
  * @example
35
46
  * 200
36
47
  */
37
48
  code?: string;
49
+ /**
50
+ * @remarks
51
+ * The returned result.
52
+ */
38
53
  data?: CreateSecretResponseBodyData;
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
+ *
61
+ * @example
62
+ * 400
63
+ */
39
64
  errorCode?: string;
40
65
  /**
66
+ * @remarks
67
+ * The message returned for the operation.
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
+ * Indicates whether the Secret was created. Valid values:
84
+ *
85
+ * * **true**: The ConfigMap was created.
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. The ID is used to query the details of a request.
95
+ *
56
96
  * @example
57
97
  * 0a98a02315955564772843261e****
58
98
  */
@@ -22,6 +22,8 @@ export class CreateSecretShrinkRequest extends $dara.Model {
22
22
  secretDataShrink?: string;
23
23
  /**
24
24
  * @remarks
25
+ * The Secret name. The name can contain digits, letters, and underscores (_). The name must start with a letter.
26
+ *
25
27
  * This parameter is required.
26
28
  *
27
29
  * @example
@@ -30,6 +32,16 @@ export class CreateSecretShrinkRequest extends $dara.Model {
30
32
  secretName?: string;
31
33
  /**
32
34
  * @remarks
35
+ * The supported Secret type. Valid values:
36
+ *
37
+ * * **kubernetes.io/dockerconfigjson**: the Secret for the username and password of the image repository. The Secret is used for authentication when images are pulled during application deployment.
38
+ *
39
+ * Valid values:
40
+ *
41
+ * * Opaque
42
+ * * kubernetes.io/dockerconfigjson
43
+ * * kubernetes.io/tls
44
+ *
33
45
  * This parameter is required.
34
46
  *
35
47
  * @example
@@ -21,6 +21,7 @@ export class DeployApplicationRequest extends $dara.Model {
21
21
  * cri-xxxxxx
22
22
  */
23
23
  acrInstanceId?: string;
24
+ agentVersion?: string;
24
25
  albIngressReadinessGate?: string;
25
26
  /**
26
27
  * @remarks
@@ -221,6 +222,7 @@ export class DeployApplicationRequest extends $dara.Model {
221
222
  * false
222
223
  */
223
224
  enableGreyTagRoute?: boolean;
225
+ enableNamespaceAgentVersion?: boolean;
224
226
  /**
225
227
  * @remarks
226
228
  * Enable new ARMS features.
@@ -888,6 +890,7 @@ export class DeployApplicationRequest extends $dara.Model {
888
890
  return {
889
891
  acrAssumeRoleArn: 'AcrAssumeRoleArn',
890
892
  acrInstanceId: 'AcrInstanceId',
893
+ agentVersion: 'AgentVersion',
891
894
  albIngressReadinessGate: 'AlbIngressReadinessGate',
892
895
  appId: 'AppId',
893
896
  associateEip: 'AssociateEip',
@@ -907,6 +910,7 @@ export class DeployApplicationRequest extends $dara.Model {
907
910
  enableAhas: 'EnableAhas',
908
911
  enableCpuBurst: 'EnableCpuBurst',
909
912
  enableGreyTagRoute: 'EnableGreyTagRoute',
913
+ enableNamespaceAgentVersion: 'EnableNamespaceAgentVersion',
910
914
  enableNewArms: 'EnableNewArms',
911
915
  enablePrometheus: 'EnablePrometheus',
912
916
  enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
@@ -973,6 +977,7 @@ export class DeployApplicationRequest extends $dara.Model {
973
977
  return {
974
978
  acrAssumeRoleArn: 'string',
975
979
  acrInstanceId: 'string',
980
+ agentVersion: 'string',
976
981
  albIngressReadinessGate: 'string',
977
982
  appId: 'string',
978
983
  associateEip: 'boolean',
@@ -992,6 +997,7 @@ export class DeployApplicationRequest extends $dara.Model {
992
997
  enableAhas: 'string',
993
998
  enableCpuBurst: 'boolean',
994
999
  enableGreyTagRoute: 'boolean',
1000
+ enableNamespaceAgentVersion: 'boolean',
995
1001
  enableNewArms: 'boolean',
996
1002
  enablePrometheus: 'boolean',
997
1003
  enableSidecarResourceIsolated: 'boolean',
@@ -19,6 +19,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
19
19
  * cri-xxxxxx
20
20
  */
21
21
  acrInstanceId?: string;
22
+ agentVersion?: string;
22
23
  albIngressReadinessGate?: string;
23
24
  /**
24
25
  * @remarks
@@ -219,6 +220,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
219
220
  * false
220
221
  */
221
222
  enableGreyTagRoute?: boolean;
223
+ enableNamespaceAgentVersion?: boolean;
222
224
  /**
223
225
  * @remarks
224
226
  * Enable new ARMS features.
@@ -886,6 +888,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
886
888
  return {
887
889
  acrAssumeRoleArn: 'AcrAssumeRoleArn',
888
890
  acrInstanceId: 'AcrInstanceId',
891
+ agentVersion: 'AgentVersion',
889
892
  albIngressReadinessGate: 'AlbIngressReadinessGate',
890
893
  appId: 'AppId',
891
894
  associateEip: 'AssociateEip',
@@ -905,6 +908,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
905
908
  enableAhas: 'EnableAhas',
906
909
  enableCpuBurst: 'EnableCpuBurst',
907
910
  enableGreyTagRoute: 'EnableGreyTagRoute',
911
+ enableNamespaceAgentVersion: 'EnableNamespaceAgentVersion',
908
912
  enableNewArms: 'EnableNewArms',
909
913
  enablePrometheus: 'EnablePrometheus',
910
914
  enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
@@ -971,6 +975,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
971
975
  return {
972
976
  acrAssumeRoleArn: 'string',
973
977
  acrInstanceId: 'string',
978
+ agentVersion: 'string',
974
979
  albIngressReadinessGate: 'string',
975
980
  appId: 'string',
976
981
  associateEip: 'boolean',
@@ -990,6 +995,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
990
995
  enableAhas: 'string',
991
996
  enableCpuBurst: 'boolean',
992
997
  enableGreyTagRoute: 'boolean',
998
+ enableNamespaceAgentVersion: 'boolean',
993
999
  enableNewArms: 'boolean',
994
1000
  enablePrometheus: 'boolean',
995
1001
  enableSidecarResourceIsolated: 'boolean',
@@ -755,6 +755,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
755
755
  * cri-xxxxxx
756
756
  */
757
757
  acrInstanceId?: string;
758
+ agentVersion?: string;
758
759
  albIngressReadinessGate?: string;
759
760
  /**
760
761
  * @remarks
@@ -981,6 +982,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
981
982
  * false
982
983
  */
983
984
  enableIdle?: boolean;
985
+ enableNamespaceAgentVersion?: boolean;
984
986
  /**
985
987
  * @remarks
986
988
  * Enable new ARMS feature.
@@ -1618,6 +1620,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1618
1620
  return {
1619
1621
  acrAssumeRoleArn: 'AcrAssumeRoleArn',
1620
1622
  acrInstanceId: 'AcrInstanceId',
1623
+ agentVersion: 'AgentVersion',
1621
1624
  albIngressReadinessGate: 'AlbIngressReadinessGate',
1622
1625
  appDescription: 'AppDescription',
1623
1626
  appId: 'AppId',
@@ -1643,6 +1646,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1643
1646
  enableCpuBurst: 'EnableCpuBurst',
1644
1647
  enableGreyTagRoute: 'EnableGreyTagRoute',
1645
1648
  enableIdle: 'EnableIdle',
1649
+ enableNamespaceAgentVersion: 'EnableNamespaceAgentVersion',
1646
1650
  enableNewArms: 'EnableNewArms',
1647
1651
  enablePrometheus: 'EnablePrometheus',
1648
1652
  envs: 'Envs',
@@ -1719,6 +1723,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1719
1723
  return {
1720
1724
  acrAssumeRoleArn: 'string',
1721
1725
  acrInstanceId: 'string',
1726
+ agentVersion: 'string',
1722
1727
  albIngressReadinessGate: 'string',
1723
1728
  appDescription: 'string',
1724
1729
  appId: 'string',
@@ -1744,6 +1749,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1744
1749
  enableCpuBurst: 'string',
1745
1750
  enableGreyTagRoute: 'boolean',
1746
1751
  enableIdle: 'boolean',
1752
+ enableNamespaceAgentVersion: 'boolean',
1747
1753
  enableNewArms: 'boolean',
1748
1754
  enablePrometheus: 'boolean',
1749
1755
  envs: 'string',
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeApplicationMseServiceRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The application ID.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class DescribeApplicationMseServiceRequest extends $dara.Model {
13
15
  appId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * Specifies whether to enable traffic limiting and degradation. Set to true to check traffic limiting and degradation permissions when accessing related APIs; set to false otherwise.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example