@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
@@ -11,49 +11,96 @@ import { WebOSSConfig } from "./WebOssconfig";
11
11
 
12
12
  export class Container extends $dara.Model {
13
13
  /**
14
+ * @remarks
15
+ * The startup parameters of the container.
16
+ *
14
17
  * @example
15
18
  * ["abc", ">", "file0"]
16
19
  */
17
20
  args?: string;
18
21
  /**
22
+ * @remarks
23
+ * The startup command of the container.
24
+ *
19
25
  * @example
20
26
  * ["/bin/sh"]
21
27
  */
22
28
  command?: string;
29
+ /**
30
+ * @remarks
31
+ * The container environment variables.
32
+ */
23
33
  environmentVariables?: { [key: string]: string };
24
34
  /**
25
35
  * @remarks
36
+ * The container image.
37
+ *
26
38
  * This parameter is required.
27
39
  *
28
40
  * @example
29
41
  * registry.cn-shanghai.aliyuncs.com/serverless_devsxxxxx
30
42
  */
31
43
  image?: string;
44
+ /**
45
+ * @remarks
46
+ * The configuration of the image repository.
47
+ */
32
48
  imageRegistryConfig?: ImageRegistryConfig;
49
+ /**
50
+ * @remarks
51
+ * The configuration for collecting monitoring records.
52
+ */
33
53
  metricsCollectConfig?: MetricsCollectConfig;
34
54
  /**
55
+ * @remarks
56
+ * The port of the container.
57
+ *
35
58
  * @example
36
59
  * 8080
37
60
  */
38
61
  port?: number;
39
62
  /**
63
+ * @remarks
64
+ * The number of concurrent requests on a single instance.
65
+ *
40
66
  * @example
41
67
  * 100
42
68
  */
43
69
  requestConcurrency?: number;
44
70
  /**
71
+ * @remarks
72
+ * The timeout period of the container request.
73
+ *
45
74
  * @example
46
75
  * 60
47
76
  */
48
77
  requestTimeout?: number;
49
78
  /**
50
79
  * @remarks
80
+ * The configurations of the container resources.
81
+ *
51
82
  * This parameter is required.
52
83
  */
53
84
  resources?: ContainerResources;
85
+ /**
86
+ * @remarks
87
+ * The configuration of container log collection.
88
+ */
54
89
  SLSCollectConfigs?: SLSCollectConfigs;
90
+ /**
91
+ * @remarks
92
+ * The container startup check configuration.
93
+ */
55
94
  startupProbe?: StartupProbe;
95
+ /**
96
+ * @remarks
97
+ * The container NAS configuration.
98
+ */
56
99
  webNASConfig?: WebNASConfig;
100
+ /**
101
+ * @remarks
102
+ * The container OSS mount configuration.
103
+ */
57
104
  webOSSConfig?: WebOSSConfig;
58
105
  static names(): { [key: string]: string } {
59
106
  return {
@@ -5,14 +5,37 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ContainerResources extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The CPU specifications that are required for each instance. Unit: millicore. This parameter cannot be set to 0. Valid values:
9
+ *
10
+ * * **500**
11
+ * * **1000**
12
+ * * **2000**
13
+ * * **4000**
14
+ * * **8000**
15
+ * * **16000**
16
+ * * **32000**
17
+ *
8
18
  * This parameter is required.
9
19
  *
10
20
  * @example
11
- * 2000
21
+ * 2
12
22
  */
13
23
  cpu?: number;
14
24
  /**
15
25
  * @remarks
26
+ * The memory size that is required for each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the CPU parameter:
27
+ *
28
+ * * This parameter is set to **1024** if the CPU parameter is set to 500 or 1000.
29
+ * * This parameter is set to **2048** if the CPU parameter is set to 500, 1000, or 2000.
30
+ * * This parameter is set to **4096** if the CPU parameter is set to 1000, 2000, or 4000.
31
+ * * This parameter is set to **8192** if the CPU parameter is set to 2000, 4000, or 8000.
32
+ * * This parameter is set to **12288** if the CPU parameter is set to 12000.
33
+ * * This parameter is set to **16384** if the CPU parameter is set to 4000, 8000, or 16000.
34
+ * * This parameter is set to **24576** if the CPU parameter is set to 12000.
35
+ * * This parameter is set to **32768** if the CPU parameter is set to 16000.
36
+ * * This parameter is set to **65536** if the CPU parameter is set to 8000, 16000, or 32000.
37
+ * * This parameter is set to **131072** if the CPU parameter is set to 32000.
38
+ *
16
39
  * This parameter is required.
17
40
  *
18
41
  * @example
@@ -341,6 +341,7 @@ export class CreateApplicationRequest extends $dara.Model {
341
341
  * {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX\\","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}
342
342
  */
343
343
  kafkaConfigs?: string;
344
+ labels?: { [key: string]: string };
344
345
  /**
345
346
  * @remarks
346
347
  * Container health check. If the container fails this check, it will be revoked and relaunch again. Use one of the following methods to perform the health check:
@@ -889,6 +890,7 @@ export class CreateApplicationRequest extends $dara.Model {
889
890
  jarStartOptions: 'JarStartOptions',
890
891
  jdk: 'Jdk',
891
892
  kafkaConfigs: 'KafkaConfigs',
893
+ labels: 'Labels',
892
894
  liveness: 'Liveness',
893
895
  lokiConfigs: 'LokiConfigs',
894
896
  memory: 'Memory',
@@ -980,6 +982,7 @@ export class CreateApplicationRequest extends $dara.Model {
980
982
  jarStartOptions: 'string',
981
983
  jdk: 'string',
982
984
  kafkaConfigs: 'string',
985
+ labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
983
986
  liveness: 'string',
984
987
  lokiConfigs: 'string',
985
988
  memory: 'number',
@@ -1034,6 +1037,9 @@ export class CreateApplicationRequest extends $dara.Model {
1034
1037
  if(Array.isArray(this.initContainersConfig)) {
1035
1038
  $dara.Model.validateArray(this.initContainersConfig);
1036
1039
  }
1040
+ if(this.labels) {
1041
+ $dara.Model.validateMap(this.labels);
1042
+ }
1037
1043
  if(Array.isArray(this.sidecarContainersConfig)) {
1038
1044
  $dara.Model.validateArray(this.sidecarContainersConfig);
1039
1045
  }
@@ -339,6 +339,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
339
339
  * {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX\\","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}
340
340
  */
341
341
  kafkaConfigs?: string;
342
+ labelsShrink?: string;
342
343
  /**
343
344
  * @remarks
344
345
  * Container health check. If the container fails this check, it will be revoked and relaunch again. Use one of the following methods to perform the health check:
@@ -887,6 +888,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
887
888
  jarStartOptions: 'JarStartOptions',
888
889
  jdk: 'Jdk',
889
890
  kafkaConfigs: 'KafkaConfigs',
891
+ labelsShrink: 'Labels',
890
892
  liveness: 'Liveness',
891
893
  lokiConfigs: 'LokiConfigs',
892
894
  memory: 'Memory',
@@ -978,6 +980,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
978
980
  jarStartOptions: 'string',
979
981
  jdk: 'string',
980
982
  kafkaConfigs: 'string',
983
+ labelsShrink: 'string',
981
984
  liveness: 'string',
982
985
  lokiConfigs: 'string',
983
986
  memory: 'number',
@@ -9,6 +9,8 @@ import { WebTrafficConfig } from "./WebTrafficConfig";
9
9
  export class CreateWebApplicationInput extends $dara.Model {
10
10
  /**
11
11
  * @remarks
12
+ * The name of the application.
13
+ *
12
14
  * This parameter is required.
13
15
  *
14
16
  * @example
@@ -16,17 +18,36 @@ export class CreateWebApplicationInput extends $dara.Model {
16
18
  */
17
19
  applicationName?: string;
18
20
  /**
21
+ * @remarks
22
+ * The description of the application.
23
+ *
19
24
  * @example
20
25
  * my sae app
21
26
  */
22
27
  description?: string;
23
28
  /**
24
29
  * @remarks
30
+ * The configuration on the application revision.
31
+ *
25
32
  * This parameter is required.
26
33
  */
27
34
  revisionConfig?: RevisionConfig;
35
+ /**
36
+ * @remarks
37
+ * The network configurations.
38
+ *
39
+ * > This field is used to configure network for the application.
40
+ */
28
41
  webNetworkConfig?: WebNetworkConfig;
42
+ /**
43
+ * @remarks
44
+ * The scaling configurations of the applications.
45
+ */
29
46
  webScalingConfig?: WebScalingConfig;
47
+ /**
48
+ * @remarks
49
+ * The traffic configurations of the applications.
50
+ */
30
51
  webTrafficConfig?: WebTrafficConfig;
31
52
  static names(): { [key: string]: string } {
32
53
  return {
@@ -7,9 +7,18 @@ import { WebWAFConfig } from "./WebWafconfig";
7
7
 
8
8
 
9
9
  export class CreateWebCustomDomainInput extends $dara.Model {
10
+ /**
11
+ * @remarks
12
+ * The name of the application to which data is forwarded by the domain name by default.
13
+ *
14
+ * @example
15
+ * demo-app
16
+ */
10
17
  defaultForwardingAppName?: string;
11
18
  /**
12
19
  * @remarks
20
+ * The domain name. Enter a custom domain name that has obtained an Internet content provider (ICP) filing in the Alibaba Cloud ICP Filing system, or a custom domain name whose ICP filing information includes Alibaba Cloud as a service provider.
21
+ *
13
22
  * This parameter is required.
14
23
  *
15
24
  * @example
@@ -17,13 +26,36 @@ export class CreateWebCustomDomainInput extends $dara.Model {
17
26
  */
18
27
  domainName?: string;
19
28
  /**
29
+ * @remarks
30
+ * The protocol type that is supported by the custom domain name. Valid values:
31
+ *
32
+ * * **HTTP**: Only HTTP is supported.
33
+ * * **HTTPS**: Only HTTPS is supported.
34
+ * * **HTTP,HTTPS**: Both HTTP and HTTPS are supported.
35
+ *
20
36
  * @example
21
37
  * HTTP
22
38
  */
23
39
  protocol?: string;
40
+ /**
41
+ * @remarks
42
+ * The route configurations.
43
+ */
24
44
  routeConfig?: RouteConfig;
45
+ /**
46
+ * @remarks
47
+ * The information about the HTTPS certificate.
48
+ */
25
49
  webCertConfig?: WebCertConfig;
50
+ /**
51
+ * @remarks
52
+ * The Transport Layer Security (TLS) configurations.
53
+ */
26
54
  webTLSConfig?: WebTLSConfig;
55
+ /**
56
+ * @remarks
57
+ * The Web Application Firewall (WAF) configurations.
58
+ */
27
59
  webWAFConfig?: WebWAFConfig;
28
60
  static names(): { [key: string]: string } {
29
61
  return {
@@ -343,6 +343,7 @@ export class DeployApplicationRequest extends $dara.Model {
343
343
  * {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX\\","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}
344
344
  */
345
345
  kafkaConfigs?: string;
346
+ labels?: { [key: string]: string };
346
347
  /**
347
348
  * @remarks
348
349
  * The details of the availability check that was performed on the container. If the container fails this health check multiple times, the system disables and restarts the container. You can use one of the following methods to perform the health check:
@@ -926,6 +927,7 @@ export class DeployApplicationRequest extends $dara.Model {
926
927
  jarStartOptions: 'JarStartOptions',
927
928
  jdk: 'Jdk',
928
929
  kafkaConfigs: 'KafkaConfigs',
930
+ labels: 'Labels',
929
931
  liveness: 'Liveness',
930
932
  lokiConfigs: 'LokiConfigs',
931
933
  maxSurgeInstanceRatio: 'MaxSurgeInstanceRatio',
@@ -1015,6 +1017,7 @@ export class DeployApplicationRequest extends $dara.Model {
1015
1017
  jarStartOptions: 'string',
1016
1018
  jdk: 'string',
1017
1019
  kafkaConfigs: 'string',
1020
+ labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1018
1021
  liveness: 'string',
1019
1022
  lokiConfigs: 'string',
1020
1023
  maxSurgeInstanceRatio: 'number',
@@ -1070,6 +1073,9 @@ export class DeployApplicationRequest extends $dara.Model {
1070
1073
  if(Array.isArray(this.initContainersConfig)) {
1071
1074
  $dara.Model.validateArray(this.initContainersConfig);
1072
1075
  }
1076
+ if(this.labels) {
1077
+ $dara.Model.validateMap(this.labels);
1078
+ }
1073
1079
  if(Array.isArray(this.sidecarContainersConfig)) {
1074
1080
  $dara.Model.validateArray(this.sidecarContainersConfig);
1075
1081
  }
@@ -341,6 +341,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
341
341
  * {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX\\","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}
342
342
  */
343
343
  kafkaConfigs?: string;
344
+ labelsShrink?: string;
344
345
  /**
345
346
  * @remarks
346
347
  * The details of the availability check that was performed on the container. If the container fails this health check multiple times, the system disables and restarts the container. You can use one of the following methods to perform the health check:
@@ -924,6 +925,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
924
925
  jarStartOptions: 'JarStartOptions',
925
926
  jdk: 'Jdk',
926
927
  kafkaConfigs: 'KafkaConfigs',
928
+ labelsShrink: 'Labels',
927
929
  liveness: 'Liveness',
928
930
  lokiConfigs: 'LokiConfigs',
929
931
  maxSurgeInstanceRatio: 'MaxSurgeInstanceRatio',
@@ -1013,6 +1015,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
1013
1015
  jarStartOptions: 'string',
1014
1016
  jdk: 'string',
1015
1017
  kafkaConfigs: 'string',
1018
+ labelsShrink: 'string',
1016
1019
  liveness: 'string',
1017
1020
  lokiConfigs: 'string',
1018
1021
  maxSurgeInstanceRatio: 'number',
@@ -1091,6 +1091,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1091
1091
  * * **region**: the region where the Message Queue for Apache Kafka instance resides.
1092
1092
  */
1093
1093
  kafkaConfigs?: string;
1094
+ labels?: { [key: string]: string };
1094
1095
  /**
1095
1096
  * @remarks
1096
1097
  * The details of the availability check that was performed on the container. If the container fails this health check multiple times, the system disables and restarts the container. You can use one of the following methods to perform the health check:
@@ -1666,6 +1667,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1666
1667
  jarStartOptions: 'JarStartOptions',
1667
1668
  jdk: 'Jdk',
1668
1669
  kafkaConfigs: 'KafkaConfigs',
1670
+ labels: 'Labels',
1669
1671
  liveness: 'Liveness',
1670
1672
  lokiConfigs: 'LokiConfigs',
1671
1673
  maxSurgeInstanceRatio: 'MaxSurgeInstanceRatio',
@@ -1772,6 +1774,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1772
1774
  jarStartOptions: 'string',
1773
1775
  jdk: 'string',
1774
1776
  kafkaConfigs: 'string',
1777
+ labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1775
1778
  liveness: 'string',
1776
1779
  lokiConfigs: 'string',
1777
1780
  maxSurgeInstanceRatio: 'number',
@@ -1841,6 +1844,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
1841
1844
  if(Array.isArray(this.initContainersConfig)) {
1842
1845
  $dara.Model.validateArray(this.initContainersConfig);
1843
1846
  }
1847
+ if(this.labels) {
1848
+ $dara.Model.validateMap(this.labels);
1849
+ }
1844
1850
  if(Array.isArray(this.mountDesc)) {
1845
1851
  $dara.Model.validateArray(this.mountDesc);
1846
1852
  }
@@ -23,6 +23,8 @@ export class DescribeConfigurationPriceRequest extends $dara.Model {
23
23
  * 2000
24
24
  */
25
25
  cpu?: number;
26
+ gpuA10?: string;
27
+ gpuPpu810e?: string;
26
28
  /**
27
29
  * @remarks
28
30
  * The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:
@@ -61,6 +63,8 @@ export class DescribeConfigurationPriceRequest extends $dara.Model {
61
63
  return {
62
64
  bestEffortType: 'BestEffortType',
63
65
  cpu: 'Cpu',
66
+ gpuA10: 'GpuA10',
67
+ gpuPpu810e: 'GpuPpu810e',
64
68
  memory: 'Memory',
65
69
  newSaeVersion: 'NewSaeVersion',
66
70
  resourceType: 'ResourceType',
@@ -72,6 +76,8 @@ export class DescribeConfigurationPriceRequest extends $dara.Model {
72
76
  return {
73
77
  bestEffortType: 'string',
74
78
  cpu: 'number',
79
+ gpuA10: 'string',
80
+ gpuPpu810e: 'string',
75
81
  memory: 'number',
76
82
  newSaeVersion: 'string',
77
83
  resourceType: 'string',
@@ -4,6 +4,10 @@ import { WebLogEntry } from "./WebLogEntry";
4
4
 
5
5
 
6
6
  export class DescribeInstanceLogsOutput extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The log entries.
10
+ */
7
11
  webLogEntrys?: WebLogEntry[];
8
12
  static names(): { [key: string]: string } {
9
13
  return {
@@ -29,61 +29,9 @@ export class DescribeRegionsResponseBodyRegionsRegionRecommendZones extends $dar
29
29
  }
30
30
 
31
31
  export class DescribeRegionsResponseBodyRegionsRegion extends $dara.Model {
32
- /**
33
- * @remarks
34
- * The region name. Valid values:
35
- *
36
- * * **China (Hangzhou)**
37
- * * **China (Shanghai)**
38
- * * **China (Beijing)**
39
- * * **China (Zhangjiakou)**
40
- * * **China (Shenzhen)**
41
- * * **China (Guangzhou)**
42
- * * **China (Hong Kong)**
43
- * * **Singapore**
44
- * * **US (Silicon Valley)**
45
- */
46
32
  localName?: string;
47
- /**
48
- * @remarks
49
- * The recommended zones.
50
- */
51
33
  recommendZones?: DescribeRegionsResponseBodyRegionsRegionRecommendZones;
52
- /**
53
- * @remarks
54
- * The endpoint for the region. Valid values:
55
- *
56
- * * **sae.cn-hangzhou.aliyuncs.com**
57
- * * **sae.cn-shanghai.aliyuncs.com**
58
- * * **sae.cn-beijing.aliyuncs.com**
59
- * * **sae.cn-zhangjiakou.aliyuncs.com**
60
- * * **sae.cn-shenzhen.aliyuncs.com**
61
- * * **sae.cn-guangzhou.aliyuncs.com**
62
- * * **sae.cn-hongkong.aliyuncs.com**
63
- * * **sae.ap-southeast-1.aliyuncs.com**
64
- * * **sae.us-west-1.aliyuncs.com**
65
- *
66
- * @example
67
- * sae.cn-shanghai.aliyuncs.com
68
- */
69
34
  regionEndpoint?: string;
70
- /**
71
- * @remarks
72
- * The region ID. Valid values:
73
- *
74
- * * **cn-hangzhou**: the ID of the China (Hangzhou) region
75
- * * **cn-shanghai**: the ID of the China (Shanghai) region
76
- * * **cn-beijing**: the ID of the China (Beijing) region
77
- * * **cn-zhangjiakou**: the ID of the China (Zhangjiakou) region
78
- * * **cn-shenzhen**: the ID of the China (Shenzhen) region
79
- * * **cn-guangzhou**: the ID of the China (Guangzhou) region
80
- * * **cn-hongkong**: the ID of the China (Hong Kong) region
81
- * * **ap-southeast-1**: the ID of the Singapore region
82
- * * **us-west-1**: the ID of the US (Silicon Valley) region
83
- *
84
- * @example
85
- * cn-shanghai
86
- */
87
35
  regionId?: string;
88
36
  static names(): { [key: string]: string } {
89
37
  return {
@@ -163,10 +111,6 @@ export class DescribeRegionsResponseBody extends $dara.Model {
163
111
  * success
164
112
  */
165
113
  message?: string;
166
- /**
167
- * @remarks
168
- * The regions.
169
- */
170
114
  regions?: DescribeRegionsResponseBodyRegions;
171
115
  /**
172
116
  * @remarks
@@ -4,7 +4,18 @@ import { WebStaticsInfo } from "./WebStaticsInfo";
4
4
 
5
5
 
6
6
  export class DescribeWebAppStaticsOutput extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The maximum number of entries returned.
10
+ *
11
+ * @example
12
+ * 20
13
+ */
7
14
  length?: number;
15
+ /**
16
+ * @remarks
17
+ * The static resources in the web application.
18
+ */
8
19
  webAppStatics?: WebStaticsInfo[];
9
20
  static names(): { [key: string]: string } {
10
21
  return {
@@ -4,7 +4,18 @@ import { WebStaticsInfo } from "./WebStaticsInfo";
4
4
 
5
5
 
6
6
  export class DescribeWebStaticsQueryOutput extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The maximum number of entries returned.
10
+ *
11
+ * @example
12
+ * 20
13
+ */
7
14
  length?: number;
15
+ /**
16
+ * @remarks
17
+ * The statistics.
18
+ */
8
19
  webStatics?: WebStaticsInfo[];
9
20
  static names(): { [key: string]: string } {
10
21
  return {
@@ -4,10 +4,42 @@ import { HTTPHeader } from "./Httpheader";
4
4
 
5
5
 
6
6
  export class HTTPGetAction extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The hostname to which you want to connect. The default value is the IP address of the pod. You may need to specify Host in HttpHeaders.
10
+ *
11
+ * @example
12
+ * 172.22.XX.XX
13
+ */
7
14
  host?: string;
15
+ /**
16
+ * @remarks
17
+ * The custom headers that you need to specify in the request. Duplicate headers are allowed in an HTTP request.
18
+ */
8
19
  httpHeaders?: HTTPHeader[];
20
+ /**
21
+ * @remarks
22
+ * The path of a URL.
23
+ *
24
+ * @example
25
+ * /path1
26
+ */
9
27
  path?: string;
28
+ /**
29
+ * @remarks
30
+ * The port range. Valid values: 1 to 65535.
31
+ *
32
+ * @example
33
+ * 80
34
+ */
10
35
  port?: number;
36
+ /**
37
+ * @remarks
38
+ * The scheme that you want to use to connect to the host. Default value: http.
39
+ *
40
+ * @example
41
+ * http
42
+ */
11
43
  scheme?: string;
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 HTTPHeader extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The header name.
9
+ *
10
+ * @example
11
+ * Content-Type
12
+ */
6
13
  name?: string;
14
+ /**
15
+ * @remarks
16
+ * The header value.
17
+ *
18
+ * @example
19
+ * application/json
20
+ */
7
21
  value?: string;
8
22
  static names(): { [key: string]: string } {
9
23
  return {
@@ -4,10 +4,53 @@ import { ListWebInstancesOutput } from "./ListWebInstancesOutput";
4
4
 
5
5
 
6
6
  export class ListWebApplicationInstancesBody 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?: ListWebInstancesOutput;
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 {