@volcengine/pulumi 0.0.42 → 0.0.44-alpha.1769951655

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 (394) hide show
  1. package/alb/accessLog.d.ts +79 -0
  2. package/alb/accessLog.js +76 -0
  3. package/alb/accessLog.js.map +1 -0
  4. package/alb/acl.d.ts +28 -0
  5. package/alb/acl.js +6 -0
  6. package/alb/acl.js.map +1 -1
  7. package/alb/acls.d.ts +13 -0
  8. package/alb/acls.js +1 -0
  9. package/alb/acls.js.map +1 -1
  10. package/alb/alb.d.ts +151 -4
  11. package/alb/alb.js +51 -4
  12. package/alb/alb.js.map +1 -1
  13. package/alb/albs.d.ts +24 -0
  14. package/alb/albs.js +2 -0
  15. package/alb/albs.js.map +1 -1
  16. package/alb/allCertificates.d.ts +151 -0
  17. package/alb/allCertificates.js +71 -0
  18. package/alb/allCertificates.js.map +1 -0
  19. package/alb/cacertificate.d.ts +8 -0
  20. package/alb/cacertificate.js +2 -0
  21. package/alb/cacertificate.js.map +1 -1
  22. package/alb/certificate.d.ts +26 -0
  23. package/alb/certificate.js +8 -0
  24. package/alb/certificate.js.map +1 -1
  25. package/alb/certificates.d.ts +33 -0
  26. package/alb/certificates.js +10 -0
  27. package/alb/certificates.js.map +1 -1
  28. package/alb/customizedCfg.d.ts +14 -0
  29. package/alb/customizedCfg.js +2 -0
  30. package/alb/customizedCfg.js.map +1 -1
  31. package/alb/customizedCfgs.d.ts +13 -0
  32. package/alb/customizedCfgs.js +1 -0
  33. package/alb/customizedCfgs.js.map +1 -1
  34. package/alb/getAcls.d.ts +13 -0
  35. package/alb/getAcls.js +1 -0
  36. package/alb/getAcls.js.map +1 -1
  37. package/alb/getAlbs.d.ts +24 -0
  38. package/alb/getAlbs.js +2 -0
  39. package/alb/getAlbs.js.map +1 -1
  40. package/alb/getAllCertificates.d.ts +149 -0
  41. package/alb/getAllCertificates.js +68 -0
  42. package/alb/getAllCertificates.js.map +1 -0
  43. package/alb/getCertificates.d.ts +33 -0
  44. package/alb/getCertificates.js +10 -0
  45. package/alb/getCertificates.js.map +1 -1
  46. package/alb/getCustomizedCfgs.d.ts +13 -0
  47. package/alb/getCustomizedCfgs.js +1 -0
  48. package/alb/getCustomizedCfgs.js.map +1 -1
  49. package/alb/getHealthCheckTemplates.d.ts +33 -0
  50. package/alb/getHealthCheckTemplates.js +10 -0
  51. package/alb/getHealthCheckTemplates.js.map +1 -1
  52. package/alb/getListenerHealths.d.ts +103 -0
  53. package/alb/getListenerHealths.js +58 -0
  54. package/alb/getListenerHealths.js.map +1 -0
  55. package/alb/getListeners.d.ts +25 -0
  56. package/alb/getListeners.js +2 -0
  57. package/alb/getListeners.js.map +1 -1
  58. package/alb/getServerGroupServers.d.ts +20 -0
  59. package/alb/getServerGroupServers.js +4 -0
  60. package/alb/getServerGroupServers.js.map +1 -1
  61. package/alb/getServerGroups.d.ts +25 -0
  62. package/alb/getServerGroups.js +2 -0
  63. package/alb/getServerGroups.js.map +1 -1
  64. package/alb/healthCheckTemplate.d.ts +45 -3
  65. package/alb/healthCheckTemplate.js +10 -0
  66. package/alb/healthCheckTemplate.js.map +1 -1
  67. package/alb/healthCheckTemplates.d.ts +33 -0
  68. package/alb/healthCheckTemplates.js +10 -0
  69. package/alb/healthCheckTemplates.js.map +1 -1
  70. package/alb/healthLog.d.ts +92 -0
  71. package/alb/healthLog.js +82 -0
  72. package/alb/healthLog.js.map +1 -0
  73. package/alb/index.d.ts +24 -0
  74. package/alb/index.js +34 -2
  75. package/alb/index.js.map +1 -1
  76. package/alb/listener.d.ts +101 -3
  77. package/alb/listener.js +26 -0
  78. package/alb/listener.js.map +1 -1
  79. package/alb/listenerDomainExtension.d.ts +41 -5
  80. package/alb/listenerDomainExtension.js +6 -3
  81. package/alb/listenerDomainExtension.js.map +1 -1
  82. package/alb/listenerHealths.d.ts +105 -0
  83. package/alb/listenerHealths.js +61 -0
  84. package/alb/listenerHealths.js.map +1 -0
  85. package/alb/listeners.d.ts +25 -0
  86. package/alb/listeners.js +2 -0
  87. package/alb/listeners.js.map +1 -1
  88. package/alb/replaceCertificate.d.ts +226 -0
  89. package/alb/replaceCertificate.js +128 -0
  90. package/alb/replaceCertificate.js.map +1 -0
  91. package/alb/rule.d.ts +107 -0
  92. package/alb/rule.js +47 -0
  93. package/alb/rule.js.map +1 -1
  94. package/alb/serverGroup.d.ts +60 -0
  95. package/alb/serverGroup.js +20 -0
  96. package/alb/serverGroup.js.map +1 -1
  97. package/alb/serverGroupServer.d.ts +18 -6
  98. package/alb/serverGroupServer.js +2 -0
  99. package/alb/serverGroupServer.js.map +1 -1
  100. package/alb/serverGroupServers.d.ts +20 -0
  101. package/alb/serverGroupServers.js +4 -0
  102. package/alb/serverGroupServers.js.map +1 -1
  103. package/alb/serverGroups.d.ts +25 -0
  104. package/alb/serverGroups.js +2 -0
  105. package/alb/serverGroups.js.map +1 -1
  106. package/alb/tlsAccessLog.d.ts +92 -0
  107. package/alb/tlsAccessLog.js +82 -0
  108. package/alb/tlsAccessLog.js.map +1 -0
  109. package/clb/accessLog.d.ts +122 -0
  110. package/clb/accessLog.js +86 -0
  111. package/clb/accessLog.js.map +1 -0
  112. package/clb/acl.d.ts +16 -0
  113. package/clb/acl.js +6 -0
  114. package/clb/acl.js.map +1 -1
  115. package/clb/acls.d.ts +21 -0
  116. package/clb/acls.js +9 -0
  117. package/clb/acls.js.map +1 -1
  118. package/clb/clb.d.ts +78 -2
  119. package/clb/clb.js +13 -1
  120. package/clb/clb.js.map +1 -1
  121. package/clb/clbs.d.ts +79 -1
  122. package/clb/clbs.js +7 -0
  123. package/clb/clbs.js.map +1 -1
  124. package/clb/getAcls.d.ts +21 -0
  125. package/clb/getAcls.js +9 -0
  126. package/clb/getAcls.js.map +1 -1
  127. package/clb/getClbs.d.ts +79 -1
  128. package/clb/getClbs.js +7 -0
  129. package/clb/getClbs.js.map +1 -1
  130. package/clb/getHealthCheckLogProjects.d.ts +62 -0
  131. package/clb/getHealthCheckLogProjects.js +42 -0
  132. package/clb/getHealthCheckLogProjects.js.map +1 -0
  133. package/clb/getHealthCheckLogTopics.d.ts +75 -0
  134. package/clb/getHealthCheckLogTopics.js +46 -0
  135. package/clb/getHealthCheckLogTopics.js.map +1 -0
  136. package/clb/getListenerHealths.d.ts +84 -0
  137. package/clb/getListenerHealths.js +47 -0
  138. package/clb/getListenerHealths.js.map +1 -0
  139. package/clb/getListeners.d.ts +28 -0
  140. package/clb/getListeners.js +2 -0
  141. package/clb/getListeners.js.map +1 -1
  142. package/clb/getRules.d.ts +13 -0
  143. package/clb/getRules.js +1 -0
  144. package/clb/getRules.js.map +1 -1
  145. package/clb/getServerGroups.d.ts +28 -0
  146. package/clb/getServerGroups.js +2 -0
  147. package/clb/getServerGroups.js.map +1 -1
  148. package/clb/healthCheckLogProject.d.ts +63 -0
  149. package/clb/healthCheckLogProject.js +68 -0
  150. package/clb/healthCheckLogProject.js.map +1 -0
  151. package/clb/healthCheckLogProjects.d.ts +64 -0
  152. package/clb/healthCheckLogProjects.js +45 -0
  153. package/clb/healthCheckLogProjects.js.map +1 -0
  154. package/clb/healthCheckLogTopic.d.ts +86 -0
  155. package/clb/healthCheckLogTopic.js +83 -0
  156. package/clb/healthCheckLogTopic.js.map +1 -0
  157. package/clb/healthCheckLogTopics.d.ts +77 -0
  158. package/clb/healthCheckLogTopics.js +49 -0
  159. package/clb/healthCheckLogTopics.js.map +1 -0
  160. package/clb/index.d.ts +27 -0
  161. package/clb/index.js +35 -1
  162. package/clb/index.js.map +1 -1
  163. package/clb/listener.d.ts +254 -3
  164. package/clb/listener.js +71 -0
  165. package/clb/listener.js.map +1 -1
  166. package/clb/listenerHealths.d.ts +86 -0
  167. package/clb/listenerHealths.js +50 -0
  168. package/clb/listenerHealths.js.map +1 -0
  169. package/clb/listeners.d.ts +28 -0
  170. package/clb/listeners.js +2 -0
  171. package/clb/listeners.js.map +1 -1
  172. package/clb/rule.d.ts +59 -4
  173. package/clb/rule.js +23 -3
  174. package/clb/rule.js.map +1 -1
  175. package/clb/rules.d.ts +13 -0
  176. package/clb/rules.js +1 -0
  177. package/clb/rules.js.map +1 -1
  178. package/clb/serverGroup.d.ts +43 -0
  179. package/clb/serverGroup.js +11 -0
  180. package/clb/serverGroup.js.map +1 -1
  181. package/clb/serverGroupServer.d.ts +30 -6
  182. package/clb/serverGroupServer.js +24 -0
  183. package/clb/serverGroupServer.js.map +1 -1
  184. package/clb/serverGroups.d.ts +28 -0
  185. package/clb/serverGroups.js +2 -0
  186. package/clb/serverGroups.js.map +1 -1
  187. package/package.json +1 -1
  188. package/redis/getPitrTimeWindows.d.ts +0 -50
  189. package/redis/getPitrTimeWindows.js +0 -32
  190. package/redis/getPitrTimeWindows.js.map +1 -1
  191. package/redis/pitrTimeWindows.d.ts +0 -50
  192. package/redis/pitrTimeWindows.js +0 -32
  193. package/redis/pitrTimeWindows.js.map +1 -1
  194. package/tls/account.d.ts +71 -0
  195. package/tls/account.js +70 -0
  196. package/tls/account.js.map +1 -0
  197. package/tls/accounts.d.ts +64 -0
  198. package/tls/accounts.js +45 -0
  199. package/tls/accounts.js.map +1 -0
  200. package/tls/alarm.d.ts +74 -14
  201. package/tls/alarm.js +33 -13
  202. package/tls/alarm.js.map +1 -1
  203. package/tls/alarmContentTemplate.d.ts +219 -0
  204. package/tls/alarmContentTemplate.js +135 -0
  205. package/tls/alarmContentTemplate.js.map +1 -0
  206. package/tls/alarmContentTemplates.d.ts +115 -0
  207. package/tls/alarmContentTemplates.js +50 -0
  208. package/tls/alarmContentTemplates.js.map +1 -0
  209. package/tls/alarmNotifyGroup.d.ts +16 -27
  210. package/tls/alarmNotifyGroup.js +2 -29
  211. package/tls/alarmNotifyGroup.js.map +1 -1
  212. package/tls/alarmWebhookIntegration.d.ts +155 -0
  213. package/tls/alarmWebhookIntegration.js +103 -0
  214. package/tls/alarmWebhookIntegration.js.map +1 -0
  215. package/tls/alarmWebhookIntegrations.d.ts +100 -0
  216. package/tls/alarmWebhookIntegrations.js +48 -0
  217. package/tls/alarmWebhookIntegrations.js.map +1 -0
  218. package/tls/alarms.d.ts +7 -11
  219. package/tls/alarms.js +3 -6
  220. package/tls/alarms.js.map +1 -1
  221. package/tls/consumerGroup.d.ts +3 -3
  222. package/tls/consumerGroup.js +3 -3
  223. package/tls/consumerGroups.d.ts +38 -2
  224. package/tls/consumerGroups.js +38 -2
  225. package/tls/consumerGroups.js.map +1 -1
  226. package/tls/describeTraces.d.ts +91 -0
  227. package/tls/describeTraces.js +52 -0
  228. package/tls/describeTraces.js.map +1 -0
  229. package/tls/downloadTask.d.ts +239 -0
  230. package/tls/downloadTask.js +125 -0
  231. package/tls/downloadTask.js.map +1 -0
  232. package/tls/downloadTasks.d.ts +105 -0
  233. package/tls/downloadTasks.js +56 -0
  234. package/tls/downloadTasks.js.map +1 -0
  235. package/tls/downloadUrls.d.ts +95 -0
  236. package/tls/downloadUrls.js +80 -0
  237. package/tls/downloadUrls.js.map +1 -0
  238. package/tls/etlTask.d.ts +4 -4
  239. package/tls/etlTask.js +4 -4
  240. package/tls/getAccounts.d.ts +62 -0
  241. package/tls/getAccounts.js +42 -0
  242. package/tls/getAccounts.js.map +1 -0
  243. package/tls/getAlarmContentTemplates.d.ts +113 -0
  244. package/tls/getAlarmContentTemplates.js +47 -0
  245. package/tls/getAlarmContentTemplates.js.map +1 -0
  246. package/tls/getAlarmWebhookIntegrations.d.ts +98 -0
  247. package/tls/getAlarmWebhookIntegrations.js +45 -0
  248. package/tls/getAlarmWebhookIntegrations.js.map +1 -0
  249. package/tls/getAlarms.d.ts +7 -11
  250. package/tls/getAlarms.js +3 -6
  251. package/tls/getAlarms.js.map +1 -1
  252. package/tls/getConsumerGroups.d.ts +38 -2
  253. package/tls/getConsumerGroups.js +38 -2
  254. package/tls/getConsumerGroups.js.map +1 -1
  255. package/tls/getDescribeTraces.d.ts +89 -0
  256. package/tls/getDescribeTraces.js +49 -0
  257. package/tls/getDescribeTraces.js.map +1 -0
  258. package/tls/getDownloadTasks.d.ts +103 -0
  259. package/tls/getDownloadTasks.js +53 -0
  260. package/tls/getDownloadTasks.js.map +1 -0
  261. package/tls/getDownloadUrls.d.ts +93 -0
  262. package/tls/getDownloadUrls.js +77 -0
  263. package/tls/getDownloadUrls.js.map +1 -0
  264. package/tls/getHostGroupRules.d.ts +75 -0
  265. package/tls/getHostGroupRules.js +46 -0
  266. package/tls/getHostGroupRules.js.map +1 -0
  267. package/tls/getHostGroups.d.ts +11 -8
  268. package/tls/getHostGroups.js +3 -8
  269. package/tls/getHostGroups.js.map +1 -1
  270. package/tls/getHosts.d.ts +2 -2
  271. package/tls/getHosts.js +2 -2
  272. package/tls/getIndexes.d.ts +2 -2
  273. package/tls/getIndexes.js +2 -2
  274. package/tls/getLogContexts.d.ts +105 -0
  275. package/tls/getLogContexts.js +32 -0
  276. package/tls/getLogContexts.js.map +1 -0
  277. package/tls/getLogHistograms.d.ts +120 -0
  278. package/tls/getLogHistograms.js +57 -0
  279. package/tls/getLogHistograms.js.map +1 -0
  280. package/tls/getLogSearches.d.ts +164 -0
  281. package/tls/getLogSearches.js +62 -0
  282. package/tls/getLogSearches.js.map +1 -0
  283. package/tls/getRuleAppliers.d.ts +251 -17
  284. package/tls/getRuleAppliers.js +239 -5
  285. package/tls/getRuleAppliers.js.map +1 -1
  286. package/tls/getRuleBoundHostGroups.d.ts +75 -0
  287. package/tls/getRuleBoundHostGroups.js +46 -0
  288. package/tls/getRuleBoundHostGroups.js.map +1 -0
  289. package/tls/getRules.d.ts +54 -7
  290. package/tls/getRules.js +15 -2
  291. package/tls/getRules.js.map +1 -1
  292. package/tls/getSearchTraces.d.ts +85 -0
  293. package/tls/getSearchTraces.js +47 -0
  294. package/tls/getSearchTraces.js.map +1 -0
  295. package/tls/getShards.d.ts +2 -2
  296. package/tls/getShards.js +2 -2
  297. package/tls/getTagResources.d.ts +167 -0
  298. package/tls/getTagResources.js +106 -0
  299. package/tls/getTagResources.js.map +1 -0
  300. package/tls/getTags.d.ts +115 -0
  301. package/tls/getTags.js +54 -0
  302. package/tls/getTags.js.map +1 -0
  303. package/tls/getTopics.d.ts +4 -13
  304. package/tls/getTopics.js +4 -5
  305. package/tls/getTopics.js.map +1 -1
  306. package/tls/getTraceInstances.d.ts +154 -0
  307. package/tls/getTraceInstances.js +63 -0
  308. package/tls/getTraceInstances.js.map +1 -0
  309. package/tls/host.d.ts +23 -10
  310. package/tls/host.js +21 -11
  311. package/tls/host.js.map +1 -1
  312. package/tls/hostGroup.d.ts +20 -27
  313. package/tls/hostGroup.js +20 -9
  314. package/tls/hostGroup.js.map +1 -1
  315. package/tls/hostGroupRules.d.ts +77 -0
  316. package/tls/hostGroupRules.js +49 -0
  317. package/tls/hostGroupRules.js.map +1 -0
  318. package/tls/hostGroups.d.ts +11 -8
  319. package/tls/hostGroups.js +3 -8
  320. package/tls/hostGroups.js.map +1 -1
  321. package/tls/hosts.d.ts +2 -2
  322. package/tls/hosts.js +2 -2
  323. package/tls/index.d.ts +117 -0
  324. package/tls/index.js +138 -2
  325. package/tls/index.js.map +1 -1
  326. package/tls/index_.d.ts +55 -32
  327. package/tls/index_.js +35 -32
  328. package/tls/index_.js.map +1 -1
  329. package/tls/indexes.d.ts +2 -2
  330. package/tls/indexes.js +2 -2
  331. package/tls/logContexts.d.ts +107 -0
  332. package/tls/logContexts.js +35 -0
  333. package/tls/logContexts.js.map +1 -0
  334. package/tls/logHistograms.d.ts +122 -0
  335. package/tls/logHistograms.js +60 -0
  336. package/tls/logHistograms.js.map +1 -0
  337. package/tls/logSearches.d.ts +166 -0
  338. package/tls/logSearches.js +65 -0
  339. package/tls/logSearches.js.map +1 -0
  340. package/tls/project.d.ts +24 -29
  341. package/tls/project.js +17 -11
  342. package/tls/project.js.map +1 -1
  343. package/tls/rule.d.ts +79 -36
  344. package/tls/rule.js +79 -36
  345. package/tls/rule.js.map +1 -1
  346. package/tls/ruleAppliers.d.ts +251 -17
  347. package/tls/ruleAppliers.js +239 -5
  348. package/tls/ruleAppliers.js.map +1 -1
  349. package/tls/ruleBoundHostGroup.d.ts +82 -0
  350. package/tls/ruleBoundHostGroup.js +79 -0
  351. package/tls/ruleBoundHostGroup.js.map +1 -0
  352. package/tls/ruleBoundHostGroups.d.ts +77 -0
  353. package/tls/ruleBoundHostGroups.js +49 -0
  354. package/tls/ruleBoundHostGroups.js.map +1 -0
  355. package/tls/rules.d.ts +54 -7
  356. package/tls/rules.js +15 -2
  357. package/tls/rules.js.map +1 -1
  358. package/tls/searchTraces.d.ts +87 -0
  359. package/tls/searchTraces.js +50 -0
  360. package/tls/searchTraces.js.map +1 -0
  361. package/tls/shard.d.ts +101 -0
  362. package/tls/shard.js +83 -0
  363. package/tls/shard.js.map +1 -0
  364. package/tls/shards.d.ts +2 -2
  365. package/tls/shards.js +2 -2
  366. package/tls/shipper.d.ts +17 -6
  367. package/tls/shipper.js +7 -6
  368. package/tls/shipper.js.map +1 -1
  369. package/tls/tag.d.ts +112 -0
  370. package/tls/tag.js +100 -0
  371. package/tls/tag.js.map +1 -0
  372. package/tls/tagResource.d.ts +111 -0
  373. package/tls/tagResource.js +99 -0
  374. package/tls/tagResource.js.map +1 -0
  375. package/tls/tagResources.d.ts +169 -0
  376. package/tls/tagResources.js +109 -0
  377. package/tls/tagResources.js.map +1 -0
  378. package/tls/tags.d.ts +117 -0
  379. package/tls/tags.js +57 -0
  380. package/tls/tags.js.map +1 -0
  381. package/tls/topic.d.ts +84 -3
  382. package/tls/topic.js +24 -3
  383. package/tls/topic.js.map +1 -1
  384. package/tls/topics.d.ts +4 -13
  385. package/tls/topics.js +4 -5
  386. package/tls/topics.js.map +1 -1
  387. package/tls/traceInstance.d.ts +122 -0
  388. package/tls/traceInstance.js +97 -0
  389. package/tls/traceInstance.js.map +1 -0
  390. package/tls/traceInstances.d.ts +156 -0
  391. package/tls/traceInstances.js +66 -0
  392. package/tls/traceInstances.js.map +1 -0
  393. package/types/input.d.ts +4211 -2621
  394. package/types/output.d.ts +6032 -884
@@ -0,0 +1,79 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage alb access log
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * // Enable ALB Access Log (TOS Bucket)
11
+ * const _default = new volcengine.alb.AccessLog("default", {
12
+ * bucketName: "tos-buket",
13
+ * loadBalancerId: "alb-bdchexlt87pc8dv40nbr6mu7",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * The AlbAccessLog is not support import.
20
+ */
21
+ export declare class AccessLog extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing AccessLog resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessLogState, opts?: pulumi.CustomResourceOptions): AccessLog;
32
+ /**
33
+ * Returns true if the given object is an instance of AccessLog. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj: any): obj is AccessLog;
37
+ /**
38
+ * The name of the TOS bucket for storing access logs.
39
+ */
40
+ readonly bucketName: pulumi.Output<string>;
41
+ /**
42
+ * The ID of the LoadBalancer.
43
+ */
44
+ readonly loadBalancerId: pulumi.Output<string>;
45
+ /**
46
+ * Create a AccessLog resource with the given unique name, arguments, and options.
47
+ *
48
+ * @param name The _unique_ name of the resource.
49
+ * @param args The arguments to use to populate this resource's properties.
50
+ * @param opts A bag of options that control this resource's behavior.
51
+ */
52
+ constructor(name: string, args: AccessLogArgs, opts?: pulumi.CustomResourceOptions);
53
+ }
54
+ /**
55
+ * Input properties used for looking up and filtering AccessLog resources.
56
+ */
57
+ export interface AccessLogState {
58
+ /**
59
+ * The name of the TOS bucket for storing access logs.
60
+ */
61
+ bucketName?: pulumi.Input<string>;
62
+ /**
63
+ * The ID of the LoadBalancer.
64
+ */
65
+ loadBalancerId?: pulumi.Input<string>;
66
+ }
67
+ /**
68
+ * The set of arguments for constructing a AccessLog resource.
69
+ */
70
+ export interface AccessLogArgs {
71
+ /**
72
+ * The name of the TOS bucket for storing access logs.
73
+ */
74
+ bucketName: pulumi.Input<string>;
75
+ /**
76
+ * The ID of the LoadBalancer.
77
+ */
78
+ loadBalancerId: pulumi.Input<string>;
79
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AccessLog = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage alb access log
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * // Enable ALB Access Log (TOS Bucket)
17
+ * const _default = new volcengine.alb.AccessLog("default", {
18
+ * bucketName: "tos-buket",
19
+ * loadBalancerId: "alb-bdchexlt87pc8dv40nbr6mu7",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * The AlbAccessLog is not support import.
26
+ */
27
+ class AccessLog extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing AccessLog resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name, id, state, opts) {
38
+ return new AccessLog(name, state, Object.assign(Object.assign({}, opts), { id: id }));
39
+ }
40
+ /**
41
+ * Returns true if the given object is an instance of AccessLog. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj) {
45
+ if (obj === undefined || obj === null) {
46
+ return false;
47
+ }
48
+ return obj['__pulumiType'] === AccessLog.__pulumiType;
49
+ }
50
+ constructor(name, argsOrState, opts) {
51
+ let resourceInputs = {};
52
+ opts = opts || {};
53
+ if (opts.id) {
54
+ const state = argsOrState;
55
+ resourceInputs["bucketName"] = state ? state.bucketName : undefined;
56
+ resourceInputs["loadBalancerId"] = state ? state.loadBalancerId : undefined;
57
+ }
58
+ else {
59
+ const args = argsOrState;
60
+ if ((!args || args.bucketName === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'bucketName'");
62
+ }
63
+ if ((!args || args.loadBalancerId === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'loadBalancerId'");
65
+ }
66
+ resourceInputs["bucketName"] = args ? args.bucketName : undefined;
67
+ resourceInputs["loadBalancerId"] = args ? args.loadBalancerId : undefined;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ super(AccessLog.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ }
73
+ exports.AccessLog = AccessLog;
74
+ /** @internal */
75
+ AccessLog.__pulumiType = 'volcengine:alb/accessLog:AccessLog';
76
+ //# sourceMappingURL=accessLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessLog.js","sourceRoot":"","sources":["../../alb/accessLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,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AAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjEL,8BAkEC;AApDG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
package/alb/acl.d.ts CHANGED
@@ -69,6 +69,18 @@ export declare class Acl extends pulumi.CustomResource {
69
69
  * The project name of the Acl.
70
70
  */
71
71
  readonly projectName: pulumi.Output<string>;
72
+ /**
73
+ * The status of the Acl.
74
+ */
75
+ readonly status: pulumi.Output<string>;
76
+ /**
77
+ * Tags.
78
+ */
79
+ readonly tags: pulumi.Output<outputs.alb.AclTag[] | undefined>;
80
+ /**
81
+ * Update time of Acl.
82
+ */
83
+ readonly updateTime: pulumi.Output<string>;
72
84
  /**
73
85
  * Create a Acl resource with the given unique name, arguments, and options.
74
86
  *
@@ -102,6 +114,18 @@ export interface AclState {
102
114
  * The project name of the Acl.
103
115
  */
104
116
  projectName?: pulumi.Input<string>;
117
+ /**
118
+ * The status of the Acl.
119
+ */
120
+ status?: pulumi.Input<string>;
121
+ /**
122
+ * Tags.
123
+ */
124
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
125
+ /**
126
+ * Update time of Acl.
127
+ */
128
+ updateTime?: pulumi.Input<string>;
105
129
  }
106
130
  /**
107
131
  * The set of arguments for constructing a Acl resource.
@@ -123,4 +147,8 @@ export interface AclArgs {
123
147
  * The project name of the Acl.
124
148
  */
125
149
  projectName?: pulumi.Input<string>;
150
+ /**
151
+ * Tags.
152
+ */
153
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
126
154
  }
package/alb/acl.js CHANGED
@@ -70,6 +70,9 @@ class Acl extends pulumi.CustomResource {
70
70
  resourceInputs["createTime"] = state ? state.createTime : undefined;
71
71
  resourceInputs["description"] = state ? state.description : undefined;
72
72
  resourceInputs["projectName"] = state ? state.projectName : undefined;
73
+ resourceInputs["status"] = state ? state.status : undefined;
74
+ resourceInputs["tags"] = state ? state.tags : undefined;
75
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
73
76
  }
74
77
  else {
75
78
  const args = argsOrState;
@@ -77,7 +80,10 @@ class Acl extends pulumi.CustomResource {
77
80
  resourceInputs["aclName"] = args ? args.aclName : undefined;
78
81
  resourceInputs["description"] = args ? args.description : undefined;
79
82
  resourceInputs["projectName"] = args ? args.projectName : undefined;
83
+ resourceInputs["tags"] = args ? args.tags : undefined;
80
84
  resourceInputs["createTime"] = undefined /*out*/;
85
+ resourceInputs["status"] = undefined /*out*/;
86
+ resourceInputs["updateTime"] = undefined /*out*/;
81
87
  }
82
88
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
89
  super(Acl.__pulumiType, name, resourceInputs, opts);
package/alb/acl.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../alb/acl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAA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,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA/FL,kBAgGC;AAlFG,gBAAgB;AACO,gBAAY,GAAG,wBAAwB,CAAC"}
package/alb/acls.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
2
3
  import * as outputs from "../types/output";
3
4
  /**
4
5
  * Use this data source to query detailed information of alb acls
@@ -36,6 +37,10 @@ export interface AclsArgs {
36
37
  * The name of project.
37
38
  */
38
39
  projectName?: string;
40
+ /**
41
+ * Tags.
42
+ */
43
+ tags?: inputs.alb.AclsTag[];
39
44
  }
40
45
  /**
41
46
  * A collection of values returned by Acls.
@@ -59,6 +64,10 @@ export interface AclsResult {
59
64
  * The project name of Acl.
60
65
  */
61
66
  readonly projectName?: string;
67
+ /**
68
+ * Tags.
69
+ */
70
+ readonly tags?: outputs.alb.AclsTag[];
62
71
  /**
63
72
  * The total count of Acl query.
64
73
  */
@@ -100,4 +109,8 @@ export interface AclsOutputArgs {
100
109
  * The name of project.
101
110
  */
102
111
  projectName?: pulumi.Input<string>;
112
+ /**
113
+ * Tags.
114
+ */
115
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclsTagArgs>[]>;
103
116
  }
package/alb/acls.js CHANGED
@@ -29,6 +29,7 @@ function acls(args, opts) {
29
29
  "ids": args.ids,
30
30
  "outputFile": args.outputFile,
31
31
  "projectName": args.projectName,
32
+ "tags": args.tags,
32
33
  }, opts);
33
34
  }
34
35
  exports.acls = acls;
package/alb/acls.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"acls.js","sourceRoot":"","sources":["../../alb/acls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,IAAI,CAAC,IAAe,EAAE,IAA2B;IAC7D,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oBAWC;AAmDD;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,gCAEC"}
1
+ {"version":3,"file":"acls.js","sourceRoot":"","sources":["../../alb/acls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,IAAI,CAAC,IAAe,EAAE,IAA2B;IAC7D,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE;QACrD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oBAYC;AA2DD;;;;;;;;;;;;;GAaG;AACH,6FAA6F;AAC7F,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,gCAEC"}
package/alb/alb.d.ts CHANGED
@@ -43,8 +43,8 @@ import * as outputs from "../types/output";
43
43
  * projectName: "default",
44
44
  * deleteProtection: "off",
45
45
  * tags: [{
46
- * key: "k2",
47
- * value: "v2",
46
+ * key: "k1",
47
+ * value: "v1",
48
48
  * }],
49
49
  * });
50
50
  * const alb_public = new volcengine.alb.Alb("alb-public", {
@@ -58,6 +58,9 @@ import * as outputs from "../types/output";
58
58
  * ],
59
59
  * projectName: "default",
60
60
  * deleteProtection: "off",
61
+ * modificationProtectionStatus: "NonProtection",
62
+ * modificationProtectionReason: "Test modification protection",
63
+ * loadBalancerEdition: "Basic",
61
64
  * eipBillingConfig: {
62
65
  * isp: "BGP",
63
66
  * eipBillingType: "PostPaidByBandwidth",
@@ -69,12 +72,36 @@ import * as outputs from "../types/output";
69
72
  * bandwidth: 1,
70
73
  * },
71
74
  * tags: [{
72
- * key: "k2",
73
- * value: "v2",
75
+ * key: "k1",
76
+ * value: "v1",
74
77
  * }],
75
78
  * }, {
76
79
  * dependsOn: [ipv6Gateway],
77
80
  * });
81
+ * // CLone ALB instance
82
+ * const alb_cloned = new volcengine.alb.Alb("alb-cloned", {
83
+ * sourceLoadBalancerId: alb_private.id,
84
+ * loadBalancerName: "acc-test-alb-cloned",
85
+ * description: "cloned from alb-private",
86
+ * subnetIds: [subnetIpv61.id],
87
+ * type: "private",
88
+ * projectName: "default",
89
+ * });
90
+ * // Example of ALB network type change, private -> public
91
+ * const alb_type_change = new volcengine.alb.Alb("alb-type-change", {
92
+ * loadBalancerName: "acc-test-alb-type-change",
93
+ * description: "will change to public type",
94
+ * subnetIds: [
95
+ * subnetIpv61.id,
96
+ * subnetIpv62.id,
97
+ * ],
98
+ * type: "public",
99
+ * projectName: "default",
100
+ * allocationIds: [
101
+ * "eip-iinpy4k1rytc74o8curgocd7",
102
+ * "eip-iinpy4k1rytc74o8curgocd8",
103
+ * ],
104
+ * });
78
105
  * ```
79
106
  *
80
107
  * ## Import
@@ -105,6 +132,10 @@ export declare class Alb extends pulumi.CustomResource {
105
132
  * The address ip version of the Alb. Valid values: `IPv4`, `DualStack`. Default is `ipv4`.
106
133
  */
107
134
  readonly addressIpVersion: pulumi.Output<string | undefined>;
135
+ /**
136
+ * The ID of the public IP. This field is only valid when the type field changes from private to public.
137
+ */
138
+ readonly allocationIds: pulumi.Output<string[] | undefined>;
108
139
  /**
109
140
  * Whether to enable the delete protection function of the Alb. Valid values: `on`, `off`. Default is `off`.
110
141
  */
@@ -121,10 +152,18 @@ export declare class Alb extends pulumi.CustomResource {
121
152
  * The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.eip.Address` and `volcengine.eip.Associate` to achieve public network access function.
122
153
  */
123
154
  readonly eipBillingConfig: pulumi.Output<outputs.alb.AlbEipBillingConfig>;
155
+ /**
156
+ * The global accelerator configuration.
157
+ */
158
+ readonly globalAccelerator: pulumi.Output<outputs.alb.AlbGlobalAccelerator>;
124
159
  /**
125
160
  * The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.vpc.Ipv6Gateway` and `volcengine.vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
126
161
  */
127
162
  readonly ipv6EipBillingConfig: pulumi.Output<outputs.alb.AlbIpv6EipBillingConfig>;
163
+ /**
164
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition. Default is `Basic`.
165
+ */
166
+ readonly loadBalancerEdition: pulumi.Output<string>;
128
167
  /**
129
168
  * The name of the Alb.
130
169
  */
@@ -133,10 +172,26 @@ export declare class Alb extends pulumi.CustomResource {
133
172
  * The local addresses of the Alb.
134
173
  */
135
174
  readonly localAddresses: pulumi.Output<string[]>;
175
+ /**
176
+ * The reason for enabling instance modification protection. This parameter is valid when the modificationProtectionStatus is `ConsoleProtection`.
177
+ */
178
+ readonly modificationProtectionReason: pulumi.Output<string>;
179
+ /**
180
+ * Whether to enable the modification protection function of the Alb. Valid values: `NonProtection`, `ConsoleProtection`. Default is `NonProtection`. NonProtection: Instance modification protection is not enabled. ConsoleProtection: Instance modification protection is enabled; you cannot modify the instance configuration through the ALB console, and can only modify the instance configuration by calling the API.
181
+ */
182
+ readonly modificationProtectionStatus: pulumi.Output<string>;
136
183
  /**
137
184
  * The ProjectName of the Alb.
138
185
  */
139
186
  readonly projectName: pulumi.Output<string>;
187
+ /**
188
+ * ALB can support the Proxy Protocol and record the real IP of the client.
189
+ */
190
+ readonly proxyProtocolEnabled: pulumi.Output<string>;
191
+ /**
192
+ * The source ALB instance ID for cloning. If specified, the ALB instance will be cloned from this source.
193
+ */
194
+ readonly sourceLoadBalancerId: pulumi.Output<string | undefined>;
140
195
  /**
141
196
  * The status of the Alb.
142
197
  */
@@ -157,6 +212,18 @@ export declare class Alb extends pulumi.CustomResource {
157
212
  * The vpc id of the Alb.
158
213
  */
159
214
  readonly vpcId: pulumi.Output<string>;
215
+ /**
216
+ * The ID of the WAF instance to be associated with the Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
217
+ */
218
+ readonly wafInstanceId: pulumi.Output<string>;
219
+ /**
220
+ * The domain name of the WAF protected Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
221
+ */
222
+ readonly wafProtectedDomain: pulumi.Output<string | undefined>;
223
+ /**
224
+ * Whether to enable the WAF protection function of the Alb. Valid values: `off`, `on`. Default is `off`.
225
+ */
226
+ readonly wafProtectionEnabled: pulumi.Output<string>;
160
227
  /**
161
228
  * Configuration information of the Alb instance in different Availability Zones.
162
229
  */
@@ -178,6 +245,10 @@ export interface AlbState {
178
245
  * The address ip version of the Alb. Valid values: `IPv4`, `DualStack`. Default is `ipv4`.
179
246
  */
180
247
  addressIpVersion?: pulumi.Input<string>;
248
+ /**
249
+ * The ID of the public IP. This field is only valid when the type field changes from private to public.
250
+ */
251
+ allocationIds?: pulumi.Input<pulumi.Input<string>[]>;
181
252
  /**
182
253
  * Whether to enable the delete protection function of the Alb. Valid values: `on`, `off`. Default is `off`.
183
254
  */
@@ -194,10 +265,18 @@ export interface AlbState {
194
265
  * The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.eip.Address` and `volcengine.eip.Associate` to achieve public network access function.
195
266
  */
196
267
  eipBillingConfig?: pulumi.Input<inputs.alb.AlbEipBillingConfig>;
268
+ /**
269
+ * The global accelerator configuration.
270
+ */
271
+ globalAccelerator?: pulumi.Input<inputs.alb.AlbGlobalAccelerator>;
197
272
  /**
198
273
  * The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.vpc.Ipv6Gateway` and `volcengine.vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
199
274
  */
200
275
  ipv6EipBillingConfig?: pulumi.Input<inputs.alb.AlbIpv6EipBillingConfig>;
276
+ /**
277
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition. Default is `Basic`.
278
+ */
279
+ loadBalancerEdition?: pulumi.Input<string>;
201
280
  /**
202
281
  * The name of the Alb.
203
282
  */
@@ -206,10 +285,26 @@ export interface AlbState {
206
285
  * The local addresses of the Alb.
207
286
  */
208
287
  localAddresses?: pulumi.Input<pulumi.Input<string>[]>;
288
+ /**
289
+ * The reason for enabling instance modification protection. This parameter is valid when the modificationProtectionStatus is `ConsoleProtection`.
290
+ */
291
+ modificationProtectionReason?: pulumi.Input<string>;
292
+ /**
293
+ * Whether to enable the modification protection function of the Alb. Valid values: `NonProtection`, `ConsoleProtection`. Default is `NonProtection`. NonProtection: Instance modification protection is not enabled. ConsoleProtection: Instance modification protection is enabled; you cannot modify the instance configuration through the ALB console, and can only modify the instance configuration by calling the API.
294
+ */
295
+ modificationProtectionStatus?: pulumi.Input<string>;
209
296
  /**
210
297
  * The ProjectName of the Alb.
211
298
  */
212
299
  projectName?: pulumi.Input<string>;
300
+ /**
301
+ * ALB can support the Proxy Protocol and record the real IP of the client.
302
+ */
303
+ proxyProtocolEnabled?: pulumi.Input<string>;
304
+ /**
305
+ * The source ALB instance ID for cloning. If specified, the ALB instance will be cloned from this source.
306
+ */
307
+ sourceLoadBalancerId?: pulumi.Input<string>;
213
308
  /**
214
309
  * The status of the Alb.
215
310
  */
@@ -230,6 +325,18 @@ export interface AlbState {
230
325
  * The vpc id of the Alb.
231
326
  */
232
327
  vpcId?: pulumi.Input<string>;
328
+ /**
329
+ * The ID of the WAF instance to be associated with the Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
330
+ */
331
+ wafInstanceId?: pulumi.Input<string>;
332
+ /**
333
+ * The domain name of the WAF protected Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
334
+ */
335
+ wafProtectedDomain?: pulumi.Input<string>;
336
+ /**
337
+ * Whether to enable the WAF protection function of the Alb. Valid values: `off`, `on`. Default is `off`.
338
+ */
339
+ wafProtectionEnabled?: pulumi.Input<string>;
233
340
  /**
234
341
  * Configuration information of the Alb instance in different Availability Zones.
235
342
  */
@@ -243,6 +350,10 @@ export interface AlbArgs {
243
350
  * The address ip version of the Alb. Valid values: `IPv4`, `DualStack`. Default is `ipv4`.
244
351
  */
245
352
  addressIpVersion?: pulumi.Input<string>;
353
+ /**
354
+ * The ID of the public IP. This field is only valid when the type field changes from private to public.
355
+ */
356
+ allocationIds?: pulumi.Input<pulumi.Input<string>[]>;
246
357
  /**
247
358
  * Whether to enable the delete protection function of the Alb. Valid values: `on`, `off`. Default is `off`.
248
359
  */
@@ -255,18 +366,42 @@ export interface AlbArgs {
255
366
  * The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.eip.Address` and `volcengine.eip.Associate` to achieve public network access function.
256
367
  */
257
368
  eipBillingConfig?: pulumi.Input<inputs.alb.AlbEipBillingConfig>;
369
+ /**
370
+ * The global accelerator configuration.
371
+ */
372
+ globalAccelerator?: pulumi.Input<inputs.alb.AlbGlobalAccelerator>;
258
373
  /**
259
374
  * The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is `public`.When the type of the Alb is `private`, suggest using a combination of resource `volcengine.vpc.Ipv6Gateway` and `volcengine.vpc.Ipv6AddressBandwidth` to achieve ipv6 public network access function.
260
375
  */
261
376
  ipv6EipBillingConfig?: pulumi.Input<inputs.alb.AlbIpv6EipBillingConfig>;
377
+ /**
378
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition. Default is `Basic`.
379
+ */
380
+ loadBalancerEdition?: pulumi.Input<string>;
262
381
  /**
263
382
  * The name of the Alb.
264
383
  */
265
384
  loadBalancerName?: pulumi.Input<string>;
385
+ /**
386
+ * The reason for enabling instance modification protection. This parameter is valid when the modificationProtectionStatus is `ConsoleProtection`.
387
+ */
388
+ modificationProtectionReason?: pulumi.Input<string>;
389
+ /**
390
+ * Whether to enable the modification protection function of the Alb. Valid values: `NonProtection`, `ConsoleProtection`. Default is `NonProtection`. NonProtection: Instance modification protection is not enabled. ConsoleProtection: Instance modification protection is enabled; you cannot modify the instance configuration through the ALB console, and can only modify the instance configuration by calling the API.
391
+ */
392
+ modificationProtectionStatus?: pulumi.Input<string>;
266
393
  /**
267
394
  * The ProjectName of the Alb.
268
395
  */
269
396
  projectName?: pulumi.Input<string>;
397
+ /**
398
+ * ALB can support the Proxy Protocol and record the real IP of the client.
399
+ */
400
+ proxyProtocolEnabled?: pulumi.Input<string>;
401
+ /**
402
+ * The source ALB instance ID for cloning. If specified, the ALB instance will be cloned from this source.
403
+ */
404
+ sourceLoadBalancerId?: pulumi.Input<string>;
270
405
  /**
271
406
  * The id of the Subnet.
272
407
  */
@@ -279,4 +414,16 @@ export interface AlbArgs {
279
414
  * The type of the Alb. Valid values: `public`, `private`.
280
415
  */
281
416
  type: pulumi.Input<string>;
417
+ /**
418
+ * The ID of the WAF instance to be associated with the Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
419
+ */
420
+ wafInstanceId?: pulumi.Input<string>;
421
+ /**
422
+ * The domain name of the WAF protected Alb. This field is valid when the value of the `wafProtectionEnabled` is `on`.
423
+ */
424
+ wafProtectedDomain?: pulumi.Input<string>;
425
+ /**
426
+ * Whether to enable the WAF protection function of the Alb. Valid values: `off`, `on`. Default is `off`.
427
+ */
428
+ wafProtectionEnabled?: pulumi.Input<string>;
282
429
  }