@alicloud/sae20190506 2.11.0 → 2.11.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 (223) hide show
  1. package/dist/client.d.ts +34 -26
  2. package/dist/client.js +52 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Container.d.ts +47 -0
  5. package/dist/models/Container.js.map +1 -1
  6. package/dist/models/ContainerResources.d.ts +24 -1
  7. package/dist/models/ContainerResources.js.map +1 -1
  8. package/dist/models/CreateApplicationRequest.d.ts +3 -0
  9. package/dist/models/CreateApplicationRequest.js +5 -0
  10. package/dist/models/CreateApplicationRequest.js.map +1 -1
  11. package/dist/models/CreateApplicationShrinkRequest.d.ts +1 -0
  12. package/dist/models/CreateApplicationShrinkRequest.js +2 -0
  13. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateWebApplicationInput.d.ts +21 -0
  15. package/dist/models/CreateWebApplicationInput.js.map +1 -1
  16. package/dist/models/CreateWebCustomDomainInput.d.ts +32 -0
  17. package/dist/models/CreateWebCustomDomainInput.js.map +1 -1
  18. package/dist/models/DeployApplicationRequest.d.ts +3 -0
  19. package/dist/models/DeployApplicationRequest.js +5 -0
  20. package/dist/models/DeployApplicationRequest.js.map +1 -1
  21. package/dist/models/DeployApplicationShrinkRequest.d.ts +1 -0
  22. package/dist/models/DeployApplicationShrinkRequest.js +2 -0
  23. package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
  24. package/dist/models/DescribeApplicationConfigResponseBody.d.ts +3 -0
  25. package/dist/models/DescribeApplicationConfigResponseBody.js +5 -0
  26. package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
  27. package/dist/models/DescribeConfigurationPriceRequest.d.ts +2 -0
  28. package/dist/models/DescribeConfigurationPriceRequest.js +4 -0
  29. package/dist/models/DescribeConfigurationPriceRequest.js.map +1 -1
  30. package/dist/models/DescribeInstanceLogsOutput.d.ts +4 -0
  31. package/dist/models/DescribeInstanceLogsOutput.js.map +1 -1
  32. package/dist/models/DescribeRegionsResponseBody.d.ts +0 -56
  33. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  34. package/dist/models/DescribeWebAppStaticsOutput.d.ts +11 -0
  35. package/dist/models/DescribeWebAppStaticsOutput.js.map +1 -1
  36. package/dist/models/DescribeWebStaticsQueryOutput.d.ts +11 -0
  37. package/dist/models/DescribeWebStaticsQueryOutput.js.map +1 -1
  38. package/dist/models/HttpgetAction.d.ts +32 -0
  39. package/dist/models/HttpgetAction.js.map +1 -1
  40. package/dist/models/Httpheader.d.ts +14 -0
  41. package/dist/models/Httpheader.js.map +1 -1
  42. package/dist/models/ListWebApplicationInstancesBody.d.ts +43 -0
  43. package/dist/models/ListWebApplicationInstancesBody.js.map +1 -1
  44. package/dist/models/ListWebApplicationRevisionsBody.d.ts +32 -0
  45. package/dist/models/ListWebApplicationRevisionsBody.js.map +1 -1
  46. package/dist/models/ListWebApplicationRevisionsOutput.d.ts +11 -0
  47. package/dist/models/ListWebApplicationRevisionsOutput.js.map +1 -1
  48. package/dist/models/ListWebApplicationsBody.d.ts +43 -0
  49. package/dist/models/ListWebApplicationsBody.js.map +1 -1
  50. package/dist/models/ListWebApplicationsOutput.d.ts +11 -0
  51. package/dist/models/ListWebApplicationsOutput.js.map +1 -1
  52. package/dist/models/ListWebCustomDomainBody.d.ts +43 -0
  53. package/dist/models/ListWebCustomDomainBody.js.map +1 -1
  54. package/dist/models/ListWebCustomDomainOutput.d.ts +11 -0
  55. package/dist/models/ListWebCustomDomainOutput.js.map +1 -1
  56. package/dist/models/ListWebInstancesOutput.d.ts +12 -0
  57. package/dist/models/ListWebInstancesOutput.js.map +1 -1
  58. package/dist/models/MetricsCollectConfig.d.ts +16 -0
  59. package/dist/models/MetricsCollectConfig.js.map +1 -1
  60. package/dist/models/PathConfig.d.ts +14 -0
  61. package/dist/models/PathConfig.js.map +1 -1
  62. package/dist/models/PortProtocol.d.ts +16 -0
  63. package/dist/models/PortProtocol.js +62 -0
  64. package/dist/models/PortProtocol.js.map +1 -0
  65. package/dist/models/ProbeHandler.d.ts +8 -0
  66. package/dist/models/ProbeHandler.js.map +1 -1
  67. package/dist/models/PublishWebApplicationRevisionInput.d.ts +19 -0
  68. package/dist/models/PublishWebApplicationRevisionInput.js.map +1 -1
  69. package/dist/models/Revision.d.ts +32 -0
  70. package/dist/models/Revision.js.map +1 -1
  71. package/dist/models/RevisionConfig.d.ts +18 -0
  72. package/dist/models/RevisionConfig.js.map +1 -1
  73. package/dist/models/RouteConfig.d.ts +4 -0
  74. package/dist/models/RouteConfig.js.map +1 -1
  75. package/dist/models/SidecarContainerConfig.d.ts +70 -0
  76. package/dist/models/SidecarContainerConfig.js.map +1 -1
  77. package/dist/models/SlscollectConfig.d.ts +50 -0
  78. package/dist/models/SlscollectConfig.js.map +1 -1
  79. package/dist/models/SlscollectConfigs.d.ts +4 -0
  80. package/dist/models/SlscollectConfigs.js.map +1 -1
  81. package/dist/models/StartupProbe.d.ts +32 -0
  82. package/dist/models/StartupProbe.js.map +1 -1
  83. package/dist/models/TcpsocketAction.d.ts +14 -0
  84. package/dist/models/TcpsocketAction.js.map +1 -1
  85. package/dist/models/UpdateWebApplicationInput.d.ts +7 -0
  86. package/dist/models/UpdateWebApplicationInput.js.map +1 -1
  87. package/dist/models/UpdateWebApplicationScalingConfigInput.d.ts +7 -0
  88. package/dist/models/UpdateWebApplicationScalingConfigInput.js.map +1 -1
  89. package/dist/models/UpdateWebApplicationTrafficConfigInput.d.ts +18 -0
  90. package/dist/models/UpdateWebApplicationTrafficConfigInput.js.map +1 -1
  91. package/dist/models/UpdateWebCustomDomainInput.d.ts +30 -0
  92. package/dist/models/UpdateWebCustomDomainInput.js.map +1 -1
  93. package/dist/models/WebAclConfig.d.ts +2 -0
  94. package/dist/models/WebAclConfig.js.map +1 -1
  95. package/dist/models/WebAclEntryConfig.d.ts +4 -0
  96. package/dist/models/WebAclEntryConfig.js.map +1 -1
  97. package/dist/models/WebApplication.d.ts +71 -0
  98. package/dist/models/WebApplication.js.map +1 -1
  99. package/dist/models/WebApplicationBody.d.ts +43 -0
  100. package/dist/models/WebApplicationBody.js.map +1 -1
  101. package/dist/models/WebApplicationInstanceLogsBody.d.ts +43 -0
  102. package/dist/models/WebApplicationInstanceLogsBody.js.map +1 -1
  103. package/dist/models/WebApplicationResourceStaticsBody.d.ts +43 -0
  104. package/dist/models/WebApplicationResourceStaticsBody.js.map +1 -1
  105. package/dist/models/WebApplicationRevisionBody.d.ts +32 -0
  106. package/dist/models/WebApplicationRevisionBody.js.map +1 -1
  107. package/dist/models/WebApplicationScalingConfigBody.d.ts +43 -0
  108. package/dist/models/WebApplicationScalingConfigBody.js.map +1 -1
  109. package/dist/models/WebApplicationStatus.d.ts +11 -0
  110. package/dist/models/WebApplicationStatus.js.map +1 -1
  111. package/dist/models/WebApplicationTrafficConfigBody.d.ts +43 -0
  112. package/dist/models/WebApplicationTrafficConfigBody.js.map +1 -1
  113. package/dist/models/WebApplicationWithInstanceCount.d.ts +11 -0
  114. package/dist/models/WebApplicationWithInstanceCount.js.map +1 -1
  115. package/dist/models/WebApplicationWithStatus.d.ts +8 -0
  116. package/dist/models/WebApplicationWithStatus.js.map +1 -1
  117. package/dist/models/WebCertConfig.d.ts +24 -0
  118. package/dist/models/WebCertConfig.js.map +1 -1
  119. package/dist/models/WebCustomDomain.d.ts +41 -0
  120. package/dist/models/WebCustomDomain.js.map +1 -1
  121. package/dist/models/WebCustomDomainBody.d.ts +43 -0
  122. package/dist/models/WebCustomDomainBody.js.map +1 -1
  123. package/dist/models/WebInstanceInfo.d.ts +21 -1
  124. package/dist/models/WebInstanceInfo.js.map +1 -1
  125. package/dist/models/WebLogEntry.d.ts +10 -0
  126. package/dist/models/WebLogEntry.js.map +1 -1
  127. package/dist/models/WebNasconfig.d.ts +4 -0
  128. package/dist/models/WebNasconfig.js.map +1 -1
  129. package/dist/models/WebNasmountPoint.d.ts +21 -0
  130. package/dist/models/WebNasmountPoint.js.map +1 -1
  131. package/dist/models/WebNetworkConfig.d.ts +13 -0
  132. package/dist/models/WebNetworkConfig.js.map +1 -1
  133. package/dist/models/WebOssconfig.d.ts +4 -0
  134. package/dist/models/WebOssconfig.js.map +1 -1
  135. package/dist/models/WebOssmountPoint.d.ts +28 -0
  136. package/dist/models/WebOssmountPoint.js.map +1 -1
  137. package/dist/models/WebScalingConfig.d.ts +10 -0
  138. package/dist/models/WebScalingConfig.js.map +1 -1
  139. package/dist/models/WebStaticsInfo.d.ts +28 -0
  140. package/dist/models/WebStaticsInfo.js.map +1 -1
  141. package/dist/models/WebTlsconfig.d.ts +18 -0
  142. package/dist/models/WebTlsconfig.js.map +1 -1
  143. package/dist/models/WebTrafficConfig.d.ts +23 -0
  144. package/dist/models/WebTrafficConfig.js.map +1 -1
  145. package/dist/models/WebVersionStatus.d.ts +15 -0
  146. package/dist/models/WebVersionStatus.js.map +1 -1
  147. package/dist/models/WebWafconfig.d.ts +10 -0
  148. package/dist/models/WebWafconfig.js.map +1 -1
  149. package/dist/models/model.d.ts +1 -0
  150. package/dist/models/model.js +13 -11
  151. package/dist/models/model.js.map +1 -1
  152. package/package.json +1 -1
  153. package/src/client.ts +58 -26
  154. package/src/models/Container.ts +47 -0
  155. package/src/models/ContainerResources.ts +24 -1
  156. package/src/models/CreateApplicationRequest.ts +6 -0
  157. package/src/models/CreateApplicationShrinkRequest.ts +3 -0
  158. package/src/models/CreateWebApplicationInput.ts +21 -0
  159. package/src/models/CreateWebCustomDomainInput.ts +32 -0
  160. package/src/models/DeployApplicationRequest.ts +6 -0
  161. package/src/models/DeployApplicationShrinkRequest.ts +3 -0
  162. package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
  163. package/src/models/DescribeConfigurationPriceRequest.ts +6 -0
  164. package/src/models/DescribeInstanceLogsOutput.ts +4 -0
  165. package/src/models/DescribeRegionsResponseBody.ts +0 -56
  166. package/src/models/DescribeWebAppStaticsOutput.ts +11 -0
  167. package/src/models/DescribeWebStaticsQueryOutput.ts +11 -0
  168. package/src/models/HttpgetAction.ts +32 -0
  169. package/src/models/Httpheader.ts +14 -0
  170. package/src/models/ListWebApplicationInstancesBody.ts +43 -0
  171. package/src/models/ListWebApplicationRevisionsBody.ts +32 -0
  172. package/src/models/ListWebApplicationRevisionsOutput.ts +11 -0
  173. package/src/models/ListWebApplicationsBody.ts +43 -0
  174. package/src/models/ListWebApplicationsOutput.ts +11 -0
  175. package/src/models/ListWebCustomDomainBody.ts +43 -0
  176. package/src/models/ListWebCustomDomainOutput.ts +11 -0
  177. package/src/models/ListWebInstancesOutput.ts +12 -0
  178. package/src/models/MetricsCollectConfig.ts +16 -0
  179. package/src/models/PathConfig.ts +14 -0
  180. package/src/models/PortProtocol.ts +33 -0
  181. package/src/models/ProbeHandler.ts +8 -0
  182. package/src/models/PublishWebApplicationRevisionInput.ts +19 -0
  183. package/src/models/Revision.ts +32 -0
  184. package/src/models/RevisionConfig.ts +18 -0
  185. package/src/models/RouteConfig.ts +4 -0
  186. package/src/models/SidecarContainerConfig.ts +70 -0
  187. package/src/models/SlscollectConfig.ts +50 -0
  188. package/src/models/SlscollectConfigs.ts +4 -0
  189. package/src/models/StartupProbe.ts +32 -0
  190. package/src/models/TcpsocketAction.ts +14 -0
  191. package/src/models/UpdateWebApplicationInput.ts +7 -0
  192. package/src/models/UpdateWebApplicationScalingConfigInput.ts +7 -0
  193. package/src/models/UpdateWebApplicationTrafficConfigInput.ts +18 -0
  194. package/src/models/UpdateWebCustomDomainInput.ts +30 -0
  195. package/src/models/WebAclConfig.ts +2 -0
  196. package/src/models/WebAclEntryConfig.ts +4 -0
  197. package/src/models/WebApplication.ts +71 -0
  198. package/src/models/WebApplicationBody.ts +43 -0
  199. package/src/models/WebApplicationInstanceLogsBody.ts +43 -0
  200. package/src/models/WebApplicationResourceStaticsBody.ts +43 -0
  201. package/src/models/WebApplicationRevisionBody.ts +32 -0
  202. package/src/models/WebApplicationScalingConfigBody.ts +43 -0
  203. package/src/models/WebApplicationStatus.ts +11 -0
  204. package/src/models/WebApplicationTrafficConfigBody.ts +43 -0
  205. package/src/models/WebApplicationWithInstanceCount.ts +11 -0
  206. package/src/models/WebApplicationWithStatus.ts +8 -0
  207. package/src/models/WebCertConfig.ts +24 -0
  208. package/src/models/WebCustomDomain.ts +41 -0
  209. package/src/models/WebCustomDomainBody.ts +43 -0
  210. package/src/models/WebInstanceInfo.ts +21 -1
  211. package/src/models/WebLogEntry.ts +10 -0
  212. package/src/models/WebNasconfig.ts +4 -0
  213. package/src/models/WebNasmountPoint.ts +21 -0
  214. package/src/models/WebNetworkConfig.ts +13 -0
  215. package/src/models/WebOssconfig.ts +4 -0
  216. package/src/models/WebOssmountPoint.ts +28 -0
  217. package/src/models/WebScalingConfig.ts +10 -0
  218. package/src/models/WebStaticsInfo.ts +28 -0
  219. package/src/models/WebTlsconfig.ts +18 -0
  220. package/src/models/WebTrafficConfig.ts +23 -0
  221. package/src/models/WebVersionStatus.ts +15 -0
  222. package/src/models/WebWafconfig.ts +10 -0
  223. package/src/models/model.ts +1 -0
@@ -4,10 +4,42 @@ import { ListWebApplicationRevisionsOutput } from "./ListWebApplicationRevisions
4
4
 
5
5
 
6
6
  export class ListWebApplicationRevisionsBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The HTTP status code.
10
+ *
11
+ * @example
12
+ * 200
13
+ */
7
14
  code?: number;
15
+ /**
16
+ * @remarks
17
+ * The response parameters.
18
+ */
8
19
  data?: ListWebApplicationRevisionsOutput;
20
+ /**
21
+ * @remarks
22
+ * The returned message.
23
+ *
24
+ * @example
25
+ * success
26
+ */
9
27
  message?: string;
28
+ /**
29
+ * @remarks
30
+ * The ID of the request.
31
+ *
32
+ * @example
33
+ * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
34
+ */
10
35
  requestId?: string;
36
+ /**
37
+ * @remarks
38
+ * Indicates whether the request was successful.
39
+ *
40
+ * @example
41
+ * true
42
+ */
11
43
  success?: boolean;
12
44
  static names(): { [key: string]: string } {
13
45
  return {
@@ -4,7 +4,18 @@ import { Revision } from "./Revision";
4
4
 
5
5
 
6
6
  export class ListWebApplicationRevisionsOutput extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.
10
+ *
11
+ * @example
12
+ * A2RN
13
+ */
7
14
  nextToken?: string;
15
+ /**
16
+ * @remarks
17
+ * The versions.
18
+ */
8
19
  revisions?: Revision[];
9
20
  static names(): { [key: string]: string } {
10
21
  return {
@@ -4,10 +4,53 @@ import { ListWebApplicationsOutput } from "./ListWebApplicationsOutput";
4
4
 
5
5
 
6
6
  export class ListWebApplicationsBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The HTTP status code. Valid values:
10
+ *
11
+ * * **2xx**: The request was successful.
12
+ * * **3xx**: The request was redirected.
13
+ * * **4xx**: The request failed.
14
+ * * **5xx**: A server error occurred.
15
+ *
16
+ * @example
17
+ * 200
18
+ */
7
19
  code?: number;
20
+ /**
21
+ * @remarks
22
+ * The response parameters.
23
+ */
8
24
  data?: ListWebApplicationsOutput;
25
+ /**
26
+ * @remarks
27
+ * The returned message. Valid values:
28
+ *
29
+ * * If the request was successful, a success message is returned.
30
+ * * If the request failed, an error code is returned.
31
+ *
32
+ * @example
33
+ * success
34
+ */
9
35
  message?: string;
36
+ /**
37
+ * @remarks
38
+ * The ID of the request.
39
+ *
40
+ * @example
41
+ * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
42
+ */
10
43
  requestId?: string;
44
+ /**
45
+ * @remarks
46
+ * Indicates whether the request was successful. Valid values:
47
+ *
48
+ * * **true**: The request was successful.
49
+ * * **false**: The request failed.
50
+ *
51
+ * @example
52
+ * true
53
+ */
11
54
  success?: boolean;
12
55
  static names(): { [key: string]: string } {
13
56
  return {
@@ -4,7 +4,18 @@ import { WebApplicationWithInstanceCount } from "./WebApplicationWithInstanceCou
4
4
 
5
5
 
6
6
  export class ListWebApplicationsOutput extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The pagination token that is used in the next request to retrieve a new page of results.
10
+ *
11
+ * @example
12
+ * A2RN
13
+ */
7
14
  nextToken?: string;
15
+ /**
16
+ * @remarks
17
+ * The applications.
18
+ */
8
19
  webApplicationWithInstanceCount?: WebApplicationWithInstanceCount[];
9
20
  static names(): { [key: string]: string } {
10
21
  return {
@@ -4,10 +4,53 @@ import { ListWebCustomDomainOutput } from "./ListWebCustomDomainOutput";
4
4
 
5
5
 
6
6
  export class ListWebCustomDomainBody extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The HTTP status code. Valid values:
10
+ *
11
+ * * **2xx**: The request was successful.
12
+ * * **3xx**: The request was redirected.
13
+ * * **4xx**: The request failed.
14
+ * * **5xx**: A server error occurred.
15
+ *
16
+ * @example
17
+ * 200
18
+ */
7
19
  code?: number;
20
+ /**
21
+ * @remarks
22
+ * The response parameters.
23
+ */
8
24
  data?: ListWebCustomDomainOutput;
25
+ /**
26
+ * @remarks
27
+ * The returned message. Valid values:
28
+ *
29
+ * * If the request was successful, a success message is returned.
30
+ * * If the request failed, an error code is returned.
31
+ *
32
+ * @example
33
+ * success
34
+ */
9
35
  message?: string;
36
+ /**
37
+ * @remarks
38
+ * The ID of the request.
39
+ *
40
+ * @example
41
+ * 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
42
+ */
10
43
  requestId?: string;
44
+ /**
45
+ * @remarks
46
+ * Indicates whether the request was successful. Valid values:
47
+ *
48
+ * * **true**: The request was successful.
49
+ * * **false**: The request failed.
50
+ *
51
+ * @example
52
+ * true
53
+ */
11
54
  success?: boolean;
12
55
  static names(): { [key: string]: string } {
13
56
  return {
@@ -4,7 +4,18 @@ import { WebCustomDomain } from "./WebCustomDomain";
4
4
 
5
5
 
6
6
  export class ListWebCustomDomainOutput extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.
10
+ *
11
+ * @example
12
+ * A2RN
13
+ */
7
14
  nextToken?: string;
15
+ /**
16
+ * @remarks
17
+ * The custom domain names.
18
+ */
8
19
  webCustomDomains?: WebCustomDomain[];
9
20
  static names(): { [key: string]: string } {
10
21
  return {
@@ -5,8 +5,20 @@ import { WebVersionStatus } from "./WebVersionStatus";
5
5
 
6
6
 
7
7
  export class ListWebInstancesOutput extends $dara.Model {
8
+ /**
9
+ * @remarks
10
+ * The error message of instance creation. If the instance creation was successful, this parameter is not returned.
11
+ */
8
12
  currentError?: string;
13
+ /**
14
+ * @remarks
15
+ * The application instance.
16
+ */
9
17
  webInstances?: WebInstanceInfo[];
18
+ /**
19
+ * @remarks
20
+ * The instance status.
21
+ */
10
22
  webVersionStatus?: { [key: string]: WebVersionStatus };
11
23
  static names(): { [key: string]: string } {
12
24
  return {
@@ -3,13 +3,29 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class MetricsCollectConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to push metric data to Simple Log Service. Valid values:
9
+ *
10
+ * * true
11
+ * * false
12
+ *
13
+ * @example
14
+ * true
15
+ */
6
16
  enablePushToUserSLS?: boolean;
7
17
  /**
18
+ * @remarks
19
+ * The name of the Logstore in Simple Log Service to which the metric data is pushed.
20
+ *
8
21
  * @example
9
22
  * my-sls-logstorename
10
23
  */
11
24
  logstoreName?: string;
12
25
  /**
26
+ * @remarks
27
+ * The name of the project in Simple Log Service to which the metric data is pushed.
28
+ *
13
29
  * @example
14
30
  * my-sls-project
15
31
  */
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PathConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * applicationName
9
+ *
10
+ * @example
11
+ * applicationName
12
+ */
6
13
  applicationName?: string;
14
+ /**
15
+ * @remarks
16
+ * path
17
+ *
18
+ * @example
19
+ * /packages
20
+ */
7
21
  path?: string;
8
22
  static names(): { [key: string]: string } {
9
23
  return {
@@ -0,0 +1,33 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PortProtocol extends $dara.Model {
6
+ port?: number;
7
+ protocol?: string;
8
+ targetPort?: number;
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ port: 'Port',
12
+ protocol: 'Protocol',
13
+ targetPort: 'TargetPort',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ port: 'number',
20
+ protocol: 'string',
21
+ targetPort: 'number',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
@@ -5,7 +5,15 @@ import { TCPSocketAction } from "./TcpsocketAction";
5
5
 
6
6
 
7
7
  export class ProbeHandler extends $dara.Model {
8
+ /**
9
+ * @remarks
10
+ * The action that specifies the HTTP request to execute.
11
+ */
8
12
  httpGet?: HTTPGetAction;
13
+ /**
14
+ * @remarks
15
+ * The action that specifies the involved TCP port.
16
+ */
9
17
  tcpSocket?: TCPSocketAction;
10
18
  static names(): { [key: string]: string } {
11
19
  return {
@@ -6,15 +6,34 @@ import { Container } from "./Container";
6
6
  export class PublishWebApplicationRevisionInput extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
+ * The container configurations of the revision version.
10
+ *
9
11
  * This parameter is required.
10
12
  */
11
13
  containers?: Container[];
12
14
  /**
15
+ * @remarks
16
+ * The version description.
17
+ *
13
18
  * @example
14
19
  * test version
15
20
  */
16
21
  description?: string;
22
+ /**
23
+ * @remarks
24
+ * Specifies whether to enable Application Real-Time Monitoring Service (ARMS) monitoring.
25
+ *
26
+ * @example
27
+ * true
28
+ */
17
29
  enableArmsMetrics?: boolean;
30
+ /**
31
+ * @remarks
32
+ * Specifies whether to switch all traffic to a new version after the new version is released. Default value: false.
33
+ *
34
+ * @example
35
+ * false
36
+ */
18
37
  takeEffect?: boolean;
19
38
  static names(): { [key: string]: string } {
20
39
  return {
@@ -4,10 +4,42 @@ import { RevisionConfig } from "./RevisionConfig";
4
4
 
5
5
 
6
6
  export class Revision extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The time when the revision version was created.
10
+ *
11
+ * @example
12
+ * 2021-06-09T14:24:42
13
+ */
7
14
  createdTime?: string;
15
+ /**
16
+ * @remarks
17
+ * The description of the revision version.
18
+ *
19
+ * @example
20
+ * test
21
+ */
8
22
  description?: string;
23
+ /**
24
+ * @remarks
25
+ * The configurations of the revision version.
26
+ */
9
27
  revisionConfig?: RevisionConfig;
28
+ /**
29
+ * @remarks
30
+ * The ID of the revision version.
31
+ *
32
+ * @example
33
+ * 001
34
+ */
10
35
  revisionId?: string;
36
+ /**
37
+ * @remarks
38
+ * The traffic weight of the version.
39
+ *
40
+ * @example
41
+ * 100
42
+ */
11
43
  weight?: number;
12
44
  static names(): { [key: string]: string } {
13
45
  return {
@@ -7,10 +7,28 @@ import { WebNetworkConfig } from "./WebNetworkConfig";
7
7
  export class RevisionConfig extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
+ * The container configurations. You can deploy only one container for each application. The maximum length of this array is 1.
11
+ *
10
12
  * This parameter is required.
11
13
  */
12
14
  containers?: Container[];
15
+ /**
16
+ * @remarks
17
+ * Specifies whether to enable Application Real-Time Monitoring Service (ARMS) monitoring. Valid values:
18
+ *
19
+ * * **`true`**: Enables the ARMS monitoring.
20
+ * * **`false`**: Disables the ARMS monitoring.
21
+ *
22
+ * @example
23
+ * true
24
+ */
13
25
  enableArmsMetrics?: boolean;
26
+ /**
27
+ * @remarks
28
+ * The network configurations.
29
+ *
30
+ * > This parameter is used to configure network settings for a version of the application.
31
+ */
14
32
  webNetworkConfig?: WebNetworkConfig;
15
33
  static names(): { [key: string]: string } {
16
34
  return {
@@ -4,6 +4,10 @@ import { PathConfig } from "./PathConfig";
4
4
 
5
5
 
6
6
  export class RouteConfig extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * pathConfig
10
+ */
7
11
  routes?: PathConfig[];
8
12
  static names(): { [key: string]: string } {
9
13
  return {
@@ -3,15 +3,85 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class SidecarContainerConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the Container Registry Enterprise Edition instance. This parameter is required if the ImageUrl parameter is set to the URL of an image in a Container Registry Enterprise Edition instance.
9
+ *
10
+ * @example
11
+ * cri-xxxxxx
12
+ */
6
13
  acrInstanceId?: string;
14
+ /**
15
+ * @remarks
16
+ * The startup command of the image.
17
+ *
18
+ * @example
19
+ * python
20
+ */
7
21
  command?: string;
22
+ /**
23
+ * @remarks
24
+ * The parameters of the image startup command.
25
+ *
26
+ * @example
27
+ * ["a","b"]
28
+ */
8
29
  commandArgs?: string;
30
+ /**
31
+ * @remarks
32
+ * The description of the ConfigMap mounted to the application.
33
+ *
34
+ * @example
35
+ * [{"configMapId":16,"key":"test","mountPath":"/tmp"}]
36
+ */
9
37
  configMapMountDesc?: string;
38
+ /**
39
+ * @remarks
40
+ * Cpu
41
+ *
42
+ * @example
43
+ * 1000
44
+ */
10
45
  cpu?: number;
46
+ /**
47
+ * @remarks
48
+ * The EmptyDir description.
49
+ *
50
+ * @example
51
+ * [{\\"name\\":\\"workdir\\",\\"mountPath\\":\\"/usr/local/tomcat/webapps\\"}]
52
+ */
11
53
  emptyDirDesc?: string;
54
+ /**
55
+ * @remarks
56
+ * The environment variables of the container.
57
+ *
58
+ * @example
59
+ * [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
60
+ */
12
61
  envs?: string;
62
+ /**
63
+ * @remarks
64
+ * The image address.
65
+ *
66
+ * @example
67
+ * registry-vpc.cn-hangzhou.aliyuncs.com/demo/nginx:latest
68
+ */
13
69
  imageUrl?: string;
70
+ /**
71
+ * @remarks
72
+ * Memory
73
+ *
74
+ * @example
75
+ * 1024
76
+ */
14
77
  memory?: number;
78
+ /**
79
+ * @remarks
80
+ * The container name.
81
+ *
82
+ * @example
83
+ * name
84
+ */
15
85
  name?: string;
16
86
  static names(): { [key: string]: string } {
17
87
  return {
@@ -3,11 +3,61 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class SLSCollectConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The log path.
9
+ *
10
+ * @example
11
+ * /test
12
+ */
6
13
  logPath?: string;
14
+ /**
15
+ * @remarks
16
+ * The log type. The following types of logs are supported:
17
+ *
18
+ * * File collection logs
19
+ * * Standard output logs
20
+ *
21
+ * @example
22
+ * file_log
23
+ */
7
24
  logType?: string;
25
+ /**
26
+ * @remarks
27
+ * The name of the Logstore. The name must meet the following requirements:
28
+ *
29
+ * * The name must be unique in a project.
30
+ * * The name can contain only lowercase letters, digits, hyphens (-), and underscores (_).
31
+ * * The name must start and end with a lowercase letter or a digit.
32
+ * * The name must be 3 to 63 characters in length.
33
+ *
34
+ * @example
35
+ * sag-shanghai
36
+ */
8
37
  logstoreName?: string;
38
+ /**
39
+ * @remarks
40
+ * The name for the Logtail configuration.
41
+ *
42
+ * @example
43
+ * ******-access-log-collector
44
+ */
9
45
  logtailName?: string;
46
+ /**
47
+ * @remarks
48
+ * The name of the machine group of Simple Log Service.
49
+ *
50
+ * @example
51
+ * Log Service Group
52
+ */
10
53
  machineGroup?: string;
54
+ /**
55
+ * @remarks
56
+ * The name of the SLS project.
57
+ *
58
+ * @example
59
+ * test
60
+ */
11
61
  projectName?: string;
12
62
  static names(): { [key: string]: string } {
13
63
  return {
@@ -4,6 +4,10 @@ import { SLSCollectConfig } from "./SlscollectConfig";
4
4
 
5
5
 
6
6
  export class SLSCollectConfigs extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The configurations of log collection.
10
+ */
7
11
  collectConfigs?: SLSCollectConfig[];
8
12
  static names(): { [key: string]: string } {
9
13
  return {
@@ -4,10 +4,42 @@ import { ProbeHandler } from "./ProbeHandler";
4
4
 
5
5
 
6
6
  export class StartupProbe extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The minimum number of consecutive failures that is considered a failure after a successful probe. Default value: 3. Minimum value: 1.
10
+ *
11
+ * @example
12
+ * 1
13
+ */
7
14
  failureThreshold?: number;
15
+ /**
16
+ * @remarks
17
+ * The duration after the container is started before health checks are initiated. For more information, see [Probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes).
18
+ *
19
+ * @example
20
+ * 1
21
+ */
8
22
  initialDelaySeconds?: number;
23
+ /**
24
+ * @remarks
25
+ * The health check interval. Default value: 10. Unit: seconds. Minimum value: 1.
26
+ *
27
+ * @example
28
+ * 1
29
+ */
9
30
  periodSeconds?: number;
31
+ /**
32
+ * @remarks
33
+ * The operation to determine the health of the container.
34
+ */
10
35
  probeHandler?: ProbeHandler;
36
+ /**
37
+ * @remarks
38
+ * The timeout period of a health check. Default value: 1. Minimum value: 1. For more information, see [Container probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes).
39
+ *
40
+ * @example
41
+ * 1
42
+ */
11
43
  timeoutSeconds?: number;
12
44
  static names(): { [key: string]: string } {
13
45
  return {
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class TCPSocketAction extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Optional. The hostname to which you want to connect. The default value is the IP address of the pod.
9
+ *
10
+ * @example
11
+ * 172.16.XX.XX
12
+ */
6
13
  host?: string;
14
+ /**
15
+ * @remarks
16
+ * The port number that you want to access on the container. Valid values: 1 to 65535.
17
+ *
18
+ * @example
19
+ * 80
20
+ */
7
21
  port?: number;
8
22
  static names(): { [key: string]: string } {
9
23
  return {
@@ -5,10 +5,17 @@ import { WebNetworkConfig } from "./WebNetworkConfig";
5
5
 
6
6
  export class UpdateWebApplicationInput extends $dara.Model {
7
7
  /**
8
+ * @remarks
9
+ * The application description.
10
+ *
8
11
  * @example
9
12
  * sae-app
10
13
  */
11
14
  description?: string;
15
+ /**
16
+ * @remarks
17
+ * The network configurations of the application.
18
+ */
12
19
  webNetworkConfig?: WebNetworkConfig;
13
20
  static names(): { [key: string]: string } {
14
21
  return {