@pulumiverse/scaleway 0.4.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (533) hide show
  1. package/accountProject.d.ts +108 -0
  2. package/accountProject.js +77 -0
  3. package/accountProject.js.map +1 -0
  4. package/accountSshKey.d.ts +40 -4
  5. package/accountSshKey.js +34 -26
  6. package/accountSshKey.js.map +1 -1
  7. package/appleSliconValleyServer.d.ts +2 -4
  8. package/appleSliconValleyServer.js +24 -26
  9. package/appleSliconValleyServer.js.map +1 -1
  10. package/baremetalServer.d.ts +161 -13
  11. package/baremetalServer.js +66 -30
  12. package/baremetalServer.js.map +1 -1
  13. package/cockpit.d.ts +87 -0
  14. package/cockpit.js +64 -0
  15. package/cockpit.js.map +1 -0
  16. package/cockpitGrafanaUser.d.ts +109 -0
  17. package/cockpitGrafanaUser.js +92 -0
  18. package/cockpitGrafanaUser.js.map +1 -0
  19. package/cockpitToken.d.ts +125 -0
  20. package/cockpitToken.js +100 -0
  21. package/cockpitToken.js.map +1 -0
  22. package/container.d.ts +65 -10
  23. package/container.js +33 -24
  24. package/container.js.map +1 -1
  25. package/containerCron.d.ts +6 -1
  26. package/containerCron.js +24 -24
  27. package/containerCron.js.map +1 -1
  28. package/containerDomain.d.ts +138 -0
  29. package/containerDomain.js +119 -0
  30. package/containerDomain.js.map +1 -0
  31. package/containerNamespace.d.ts +36 -8
  32. package/containerNamespace.js +29 -27
  33. package/containerNamespace.js.map +1 -1
  34. package/containerToken.d.ts +147 -0
  35. package/containerToken.js +92 -0
  36. package/containerToken.js.map +1 -0
  37. package/containerTrigger.d.ts +156 -0
  38. package/containerTrigger.js +108 -0
  39. package/containerTrigger.js.map +1 -0
  40. package/database.d.ts +23 -5
  41. package/database.js +24 -22
  42. package/database.js.map +1 -1
  43. package/databaseAcl.d.ts +14 -7
  44. package/databaseAcl.js +22 -22
  45. package/databaseAcl.js.map +1 -1
  46. package/databaseBackup.d.ts +18 -6
  47. package/databaseBackup.js +22 -22
  48. package/databaseBackup.js.map +1 -1
  49. package/databaseInstance.d.ts +71 -111
  50. package/databaseInstance.js +27 -121
  51. package/databaseInstance.js.map +1 -1
  52. package/databasePrivilege.d.ts +36 -8
  53. package/databasePrivilege.js +45 -27
  54. package/databasePrivilege.js.map +1 -1
  55. package/databaseReadReplica.d.ts +30 -8
  56. package/databaseReadReplica.js +25 -23
  57. package/databaseReadReplica.js.map +1 -1
  58. package/databaseUser.d.ts +19 -7
  59. package/databaseUser.js +26 -24
  60. package/databaseUser.js.map +1 -1
  61. package/documentdbDatabase.d.ts +137 -0
  62. package/documentdbDatabase.js +87 -0
  63. package/documentdbDatabase.js.map +1 -0
  64. package/documentdbInstance.d.ts +247 -0
  65. package/documentdbInstance.js +113 -0
  66. package/documentdbInstance.js.map +1 -0
  67. package/documentdbPrivateNetworkEndpoint.d.ts +147 -0
  68. package/documentdbPrivateNetworkEndpoint.js +80 -0
  69. package/documentdbPrivateNetworkEndpoint.js.map +1 -0
  70. package/documentdbPrivilege.d.ts +122 -0
  71. package/documentdbPrivilege.js +95 -0
  72. package/documentdbPrivilege.js.map +1 -0
  73. package/documentdbReadReplica.d.ts +137 -0
  74. package/documentdbReadReplica.js +100 -0
  75. package/documentdbReadReplica.js.map +1 -0
  76. package/documentdbUser.d.ts +140 -0
  77. package/documentdbUser.js +97 -0
  78. package/documentdbUser.js.map +1 -0
  79. package/domainRecord.d.ts +23 -22
  80. package/domainRecord.js +28 -28
  81. package/domainRecord.js.map +1 -1
  82. package/domainZone.d.ts +2 -2
  83. package/domainZone.js +24 -24
  84. package/domainZone.js.map +1 -1
  85. package/flexibleIp.d.ts +53 -36
  86. package/flexibleIp.js +39 -32
  87. package/flexibleIp.js.map +1 -1
  88. package/flexibleIpMacAddress.d.ts +173 -0
  89. package/flexibleIpMacAddress.js +123 -0
  90. package/flexibleIpMacAddress.js.map +1 -0
  91. package/function.d.ts +39 -3
  92. package/function.js +28 -22
  93. package/function.js.map +1 -1
  94. package/functionCron.d.ts +0 -6
  95. package/functionCron.js +22 -28
  96. package/functionCron.js.map +1 -1
  97. package/functionDomain.d.ts +126 -0
  98. package/functionDomain.js +98 -0
  99. package/functionDomain.js.map +1 -0
  100. package/functionNamespace.d.ts +26 -4
  101. package/functionNamespace.js +28 -26
  102. package/functionNamespace.js.map +1 -1
  103. package/functionToken.d.ts +152 -0
  104. package/functionToken.js +97 -0
  105. package/functionToken.js.map +1 -0
  106. package/functionTrigger.d.ts +140 -0
  107. package/functionTrigger.js +92 -0
  108. package/functionTrigger.js.map +1 -0
  109. package/getAccountProject.d.ts +92 -0
  110. package/getAccountProject.js +56 -0
  111. package/getAccountProject.js.map +1 -0
  112. package/getAccountSshKey.d.ts +20 -3
  113. package/getAccountSshKey.js +18 -8
  114. package/getAccountSshKey.js.map +1 -1
  115. package/getAvailabilityZones.d.ts +69 -0
  116. package/getAvailabilityZones.js +54 -0
  117. package/getAvailabilityZones.js.map +1 -0
  118. package/getBaremetalOffer.d.ts +27 -4
  119. package/getBaremetalOffer.js +20 -8
  120. package/getBaremetalOffer.js.map +1 -1
  121. package/getBaremetalOption.d.ts +92 -0
  122. package/getBaremetalOption.js +58 -0
  123. package/getBaremetalOption.js.map +1 -0
  124. package/getBaremetalOs.d.ts +25 -6
  125. package/getBaremetalOs.js +27 -11
  126. package/getBaremetalOs.js.map +1 -1
  127. package/getBaremetalServer.d.ts +36 -8
  128. package/getBaremetalServer.js +25 -11
  129. package/getBaremetalServer.js.map +1 -1
  130. package/getBillingConsumptions.d.ts +16 -0
  131. package/getBillingConsumptions.js +17 -0
  132. package/getBillingConsumptions.js.map +1 -0
  133. package/getBillingInvoices.d.ts +86 -0
  134. package/getBillingInvoices.js +50 -0
  135. package/getBillingInvoices.js.map +1 -0
  136. package/getCockpit.d.ts +86 -0
  137. package/getCockpit.js +66 -0
  138. package/getCockpit.js.map +1 -0
  139. package/getCockpitPlan.d.ts +63 -0
  140. package/getCockpitPlan.js +51 -0
  141. package/getCockpitPlan.js.map +1 -0
  142. package/getContainer.d.ts +39 -0
  143. package/getContainer.js +30 -5
  144. package/getContainer.js.map +1 -1
  145. package/getContainerNamespace.d.ts +24 -6
  146. package/getContainerNamespace.js +23 -11
  147. package/getContainerNamespace.js.map +1 -1
  148. package/getDatabase.d.ts +21 -4
  149. package/getDatabase.js +20 -8
  150. package/getDatabase.js.map +1 -1
  151. package/getDatabaseAcl.d.ts +28 -7
  152. package/getDatabaseAcl.js +20 -9
  153. package/getDatabaseAcl.js.map +1 -1
  154. package/getDatabaseBackup.d.ts +33 -6
  155. package/getDatabaseBackup.js +29 -11
  156. package/getDatabaseBackup.js.map +1 -1
  157. package/getDatabaseInstance.d.ts +17 -15
  158. package/getDatabaseInstance.js +7 -18
  159. package/getDatabaseInstance.js.map +1 -1
  160. package/getDatabasePrivilege.d.ts +31 -6
  161. package/getDatabasePrivilege.js +23 -10
  162. package/getDatabasePrivilege.js.map +1 -1
  163. package/getDocumentdbDatabase.d.ts +86 -0
  164. package/getDocumentdbDatabase.js +51 -0
  165. package/getDocumentdbDatabase.js.map +1 -0
  166. package/getDocumentdbInstance.d.ts +91 -0
  167. package/getDocumentdbInstance.js +50 -0
  168. package/getDocumentdbInstance.js.map +1 -0
  169. package/getDocumentdbLoadBalancerEndpoint.d.ts +38 -0
  170. package/getDocumentdbLoadBalancerEndpoint.js +23 -0
  171. package/getDocumentdbLoadBalancerEndpoint.js.map +1 -0
  172. package/getDomainRecord.d.ts +26 -7
  173. package/getDomainRecord.js +27 -11
  174. package/getDomainRecord.js.map +1 -1
  175. package/getDomainZone.d.ts +17 -3
  176. package/getDomainZone.js +19 -8
  177. package/getDomainZone.js.map +1 -1
  178. package/getFlexibleIp.d.ts +5 -13
  179. package/getFlexibleIp.js +5 -17
  180. package/getFlexibleIp.js.map +1 -1
  181. package/getFlexibleIps.d.ts +154 -0
  182. package/getFlexibleIps.js +101 -0
  183. package/getFlexibleIps.js.map +1 -0
  184. package/getFunction.d.ts +5 -1
  185. package/getFunction.js +2 -5
  186. package/getFunction.js.map +1 -1
  187. package/getFunctionNamespace.d.ts +19 -3
  188. package/getFunctionNamespace.js +18 -8
  189. package/getFunctionNamespace.js.map +1 -1
  190. package/getIamApplication.d.ts +93 -0
  191. package/getIamApplication.js +56 -0
  192. package/getIamApplication.js.map +1 -0
  193. package/getIamGroup.d.ts +97 -0
  194. package/getIamGroup.js +58 -0
  195. package/getIamGroup.js.map +1 -0
  196. package/getIamSshKey.d.ts +90 -0
  197. package/getIamSshKey.js +49 -0
  198. package/getIamSshKey.js.map +1 -0
  199. package/getIamUser.d.ts +89 -0
  200. package/getIamUser.js +60 -0
  201. package/getIamUser.js.map +1 -0
  202. package/getInstanceImage.d.ts +16 -3
  203. package/getInstanceImage.js +18 -8
  204. package/getInstanceImage.js.map +1 -1
  205. package/getInstanceIp.d.ts +24 -3
  206. package/getInstanceIp.js +18 -8
  207. package/getInstanceIp.js.map +1 -1
  208. package/getInstancePrivateNic.d.ts +121 -0
  209. package/getInstancePrivateNic.js +69 -0
  210. package/getInstancePrivateNic.js.map +1 -0
  211. package/getInstanceSecurityGroup.d.ts +17 -4
  212. package/getInstanceSecurityGroup.js +18 -8
  213. package/getInstanceSecurityGroup.js.map +1 -1
  214. package/getInstanceServer.d.ts +27 -7
  215. package/getInstanceServer.js +18 -8
  216. package/getInstanceServer.js.map +1 -1
  217. package/getInstanceServers.d.ts +20 -4
  218. package/getInstanceServers.js +21 -8
  219. package/getInstanceServers.js.map +1 -1
  220. package/getInstanceSnapshot.d.ts +96 -0
  221. package/getInstanceSnapshot.js +56 -0
  222. package/getInstanceSnapshot.js.map +1 -0
  223. package/getInstanceVolume.d.ts +16 -3
  224. package/getInstanceVolume.js +18 -8
  225. package/getInstanceVolume.js.map +1 -1
  226. package/getIotDevice.d.ts +17 -4
  227. package/getIotDevice.js +18 -8
  228. package/getIotDevice.js.map +1 -1
  229. package/getIotHub.d.ts +16 -3
  230. package/getIotHub.js +18 -8
  231. package/getIotHub.js.map +1 -1
  232. package/getIpamIp.d.ts +133 -0
  233. package/getIpamIp.js +83 -0
  234. package/getIpamIp.js.map +1 -0
  235. package/getK8sVersion.d.ts +108 -0
  236. package/getK8sVersion.js +76 -0
  237. package/getK8sVersion.js.map +1 -0
  238. package/getKubernetesCluster.d.ts +21 -4
  239. package/getKubernetesCluster.js +18 -8
  240. package/getKubernetesCluster.js.map +1 -1
  241. package/getKubernetesNodePool.d.ts +18 -4
  242. package/getKubernetesNodePool.js +18 -8
  243. package/getKubernetesNodePool.js.map +1 -1
  244. package/getLbAcls.d.ts +96 -0
  245. package/getLbAcls.js +58 -0
  246. package/getLbAcls.js.map +1 -0
  247. package/getLbBackend.d.ts +142 -0
  248. package/getLbBackend.js +82 -0
  249. package/getLbBackend.js.map +1 -0
  250. package/getLbBackends.d.ts +94 -0
  251. package/getLbBackends.js +58 -0
  252. package/getLbBackends.js.map +1 -0
  253. package/getLbFrontend.d.ts +134 -0
  254. package/getLbFrontend.js +94 -0
  255. package/getLbFrontend.js.map +1 -0
  256. package/getLbFrontends.d.ts +94 -0
  257. package/getLbFrontends.js +58 -0
  258. package/getLbFrontends.js.map +1 -0
  259. package/getLbIps.d.ts +94 -0
  260. package/getLbIps.js +52 -0
  261. package/getLbIps.js.map +1 -0
  262. package/getLbRoute.d.ts +111 -0
  263. package/getLbRoute.js +93 -0
  264. package/getLbRoute.js.map +1 -0
  265. package/getLbRoutes.d.ts +85 -0
  266. package/getLbRoutes.js +58 -0
  267. package/getLbRoutes.js.map +1 -0
  268. package/getLbs.d.ts +97 -0
  269. package/getLbs.js +52 -0
  270. package/getLbs.js.map +1 -0
  271. package/getLoadbalancer.d.ts +31 -13
  272. package/getLoadbalancer.js +23 -11
  273. package/getLoadbalancer.js.map +1 -1
  274. package/getLoadbalancerCertificate.d.ts +11 -2
  275. package/getLoadbalancerCertificate.js +12 -6
  276. package/getLoadbalancerCertificate.js.map +1 -1
  277. package/getLoadbalancerIp.d.ts +16 -3
  278. package/getLoadbalancerIp.js +18 -8
  279. package/getLoadbalancerIp.js.map +1 -1
  280. package/getMarketplaceImage.d.ts +17 -3
  281. package/getMarketplaceImage.js +19 -8
  282. package/getMarketplaceImage.js.map +1 -1
  283. package/getMnqSqs.d.ts +78 -0
  284. package/getMnqSqs.js +55 -0
  285. package/getMnqSqs.js.map +1 -0
  286. package/getObjectBucket.d.ts +57 -7
  287. package/getObjectBucket.js +49 -11
  288. package/getObjectBucket.js.map +1 -1
  289. package/getObjectBucketPolicy.d.ts +83 -0
  290. package/getObjectBucketPolicy.js +51 -0
  291. package/getObjectBucketPolicy.js.map +1 -0
  292. package/getRedisCluster.d.ts +18 -5
  293. package/getRedisCluster.js +19 -9
  294. package/getRedisCluster.js.map +1 -1
  295. package/getRegistryImage.d.ts +18 -4
  296. package/getRegistryImage.js +20 -9
  297. package/getRegistryImage.js.map +1 -1
  298. package/getRegistryNamespace.d.ts +16 -3
  299. package/getRegistryNamespace.js +18 -8
  300. package/getRegistryNamespace.js.map +1 -1
  301. package/getSecret.d.ts +125 -0
  302. package/getSecret.js +68 -0
  303. package/getSecret.js.map +1 -0
  304. package/getSecretVersion.d.ts +84 -0
  305. package/getSecretVersion.js +23 -0
  306. package/getSecretVersion.js.map +1 -0
  307. package/getTemDomain.d.ts +109 -0
  308. package/getTemDomain.js +28 -0
  309. package/getTemDomain.js.map +1 -0
  310. package/getVpc.d.ts +113 -0
  311. package/getVpc.js +65 -0
  312. package/getVpc.js.map +1 -0
  313. package/getVpcGatewayNetwork.d.ts +33 -0
  314. package/getVpcGatewayNetwork.js +28 -5
  315. package/getVpcGatewayNetwork.js.map +1 -1
  316. package/getVpcPrivateNetwork.d.ts +48 -3
  317. package/getVpcPrivateNetwork.js +30 -6
  318. package/getVpcPrivateNetwork.js.map +1 -1
  319. package/getVpcPublicGateway.d.ts +43 -7
  320. package/getVpcPublicGateway.js +35 -11
  321. package/getVpcPublicGateway.js.map +1 -1
  322. package/getVpcPublicGatewayDhcp.d.ts +20 -5
  323. package/getVpcPublicGatewayDhcp.js +22 -10
  324. package/getVpcPublicGatewayDhcp.js.map +1 -1
  325. package/getVpcPublicGatewayDhcpReservation.d.ts +22 -1
  326. package/getVpcPublicGatewayDhcpReservation.js +8 -5
  327. package/getVpcPublicGatewayDhcpReservation.js.map +1 -1
  328. package/getVpcPublicGatewayIp.d.ts +22 -3
  329. package/getVpcPublicGatewayIp.js +24 -8
  330. package/getVpcPublicGatewayIp.js.map +1 -1
  331. package/getVpcPublicPatRule.d.ts +40 -0
  332. package/getVpcPublicPatRule.js +42 -5
  333. package/getVpcPublicPatRule.js.map +1 -1
  334. package/getVpcs.d.ts +100 -0
  335. package/getVpcs.js +53 -0
  336. package/getVpcs.js.map +1 -0
  337. package/getWebHostOffer.d.ts +96 -0
  338. package/getWebHostOffer.js +56 -0
  339. package/getWebHostOffer.js.map +1 -0
  340. package/getWebhosting.d.ts +108 -0
  341. package/getWebhosting.js +57 -0
  342. package/getWebhosting.js.map +1 -0
  343. package/iamApiKey.d.ts +178 -0
  344. package/iamApiKey.js +96 -0
  345. package/iamApiKey.js.map +1 -0
  346. package/iamApplication.d.ts +116 -0
  347. package/iamApplication.js +79 -0
  348. package/iamApplication.js.map +1 -0
  349. package/iamGroup.d.ts +164 -0
  350. package/iamGroup.js +103 -0
  351. package/iamGroup.js.map +1 -0
  352. package/iamGroupMembership.d.ts +106 -0
  353. package/iamGroupMembership.js +84 -0
  354. package/iamGroupMembership.js.map +1 -0
  355. package/iamPolicy.d.ts +197 -0
  356. package/iamPolicy.js +105 -0
  357. package/iamPolicy.js.map +1 -0
  358. package/iamSshKey.d.ts +141 -0
  359. package/iamSshKey.js +88 -0
  360. package/iamSshKey.js.map +1 -0
  361. package/iamUser.d.ts +147 -0
  362. package/iamUser.js +93 -0
  363. package/iamUser.js.map +1 -0
  364. package/index.d.ts +525 -94
  365. package/index.js +619 -217
  366. package/index.js.map +1 -1
  367. package/instanceImage.d.ts +9 -2
  368. package/instanceImage.js +23 -23
  369. package/instanceImage.js.map +1 -1
  370. package/instanceIp.d.ts +28 -2
  371. package/instanceIp.js +28 -24
  372. package/instanceIp.js.map +1 -1
  373. package/instanceIpReverseDns.d.ts +20 -0
  374. package/instanceIpReverseDns.js +42 -22
  375. package/instanceIpReverseDns.js.map +1 -1
  376. package/instancePlacementGroup.d.ts +2 -2
  377. package/instancePlacementGroup.js +24 -24
  378. package/instancePlacementGroup.js.map +1 -1
  379. package/instancePrivateNic.d.ts +26 -2
  380. package/instancePrivateNic.js +28 -24
  381. package/instancePrivateNic.js.map +1 -1
  382. package/instanceSecurityGroup.d.ts +2 -1
  383. package/instanceSecurityGroup.js +22 -22
  384. package/instanceSecurityGroup.js.map +1 -1
  385. package/instanceSecurityGroupRules.d.ts +27 -1
  386. package/instanceSecurityGroupRules.js +46 -21
  387. package/instanceSecurityGroupRules.js.map +1 -1
  388. package/instanceServer.d.ts +171 -21
  389. package/instanceServer.js +75 -27
  390. package/instanceServer.js.map +1 -1
  391. package/instanceSnapshot.d.ts +40 -7
  392. package/instanceSnapshot.js +47 -29
  393. package/instanceSnapshot.js.map +1 -1
  394. package/instanceUserData.d.ts +155 -0
  395. package/instanceUserData.js +120 -0
  396. package/instanceUserData.js.map +1 -0
  397. package/instanceVolume.d.ts +11 -11
  398. package/instanceVolume.js +24 -24
  399. package/instanceVolume.js.map +1 -1
  400. package/iotDevice.d.ts +20 -1
  401. package/iotDevice.js +22 -22
  402. package/iotDevice.js.map +1 -1
  403. package/iotHub.d.ts +12 -0
  404. package/iotHub.js +22 -22
  405. package/iotHub.js.map +1 -1
  406. package/iotNetwork.js +24 -22
  407. package/iotNetwork.js.map +1 -1
  408. package/iotRoute.d.ts +130 -0
  409. package/iotRoute.js +69 -0
  410. package/iotRoute.js.map +1 -0
  411. package/kubernetesCluster.d.ts +141 -11
  412. package/kubernetesCluster.js +109 -22
  413. package/kubernetesCluster.js.map +1 -1
  414. package/kubernetesNodePool.d.ts +23 -1
  415. package/kubernetesNodePool.js +24 -22
  416. package/kubernetesNodePool.js.map +1 -1
  417. package/loadbalancer.d.ts +69 -34
  418. package/loadbalancer.js +45 -50
  419. package/loadbalancer.js.map +1 -1
  420. package/loadbalancerAcl.d.ts +162 -0
  421. package/loadbalancerAcl.js +108 -0
  422. package/loadbalancerAcl.js.map +1 -0
  423. package/loadbalancerBackend.d.ts +124 -9
  424. package/loadbalancerBackend.js +41 -23
  425. package/loadbalancerBackend.js.map +1 -1
  426. package/loadbalancerCertificate.d.ts +12 -1
  427. package/loadbalancerCertificate.js +22 -22
  428. package/loadbalancerCertificate.js.map +1 -1
  429. package/loadbalancerFrontend.d.ts +42 -2
  430. package/loadbalancerFrontend.js +27 -23
  431. package/loadbalancerFrontend.js.map +1 -1
  432. package/loadbalancerIp.d.ts +3 -5
  433. package/loadbalancerIp.js +25 -27
  434. package/loadbalancerIp.js.map +1 -1
  435. package/loadbalancerRoute.d.ts +85 -13
  436. package/loadbalancerRoute.js +61 -26
  437. package/loadbalancerRoute.js.map +1 -1
  438. package/mnqCredential.d.ts +118 -0
  439. package/mnqCredential.js +71 -0
  440. package/mnqCredential.js.map +1 -0
  441. package/mnqNamespace.d.ts +146 -0
  442. package/mnqNamespace.js +93 -0
  443. package/mnqNamespace.js.map +1 -0
  444. package/mnqNatsAccount.d.ts +110 -0
  445. package/mnqNatsAccount.js +79 -0
  446. package/mnqNatsAccount.js.map +1 -0
  447. package/mnqNatsCredentials.d.ts +108 -0
  448. package/mnqNatsCredentials.js +83 -0
  449. package/mnqNatsCredentials.js.map +1 -0
  450. package/mnqQueue.d.ts +122 -0
  451. package/mnqQueue.js +64 -0
  452. package/mnqQueue.js.map +1 -0
  453. package/mnqSqs.d.ts +98 -0
  454. package/mnqSqs.js +80 -0
  455. package/mnqSqs.js.map +1 -0
  456. package/mnqSqsCredentials.d.ts +134 -0
  457. package/mnqSqsCredentials.js +93 -0
  458. package/mnqSqsCredentials.js.map +1 -0
  459. package/mnqSqsQueue.d.ts +238 -0
  460. package/mnqSqsQueue.js +121 -0
  461. package/mnqSqsQueue.js.map +1 -0
  462. package/objectBucket.d.ts +63 -72
  463. package/objectBucket.js +45 -90
  464. package/objectBucket.js.map +1 -1
  465. package/objectBucketAcl.d.ts +206 -0
  466. package/objectBucketAcl.js +158 -0
  467. package/objectBucketAcl.js.map +1 -0
  468. package/objectBucketLockConfiguration.d.ts +86 -0
  469. package/objectBucketLockConfiguration.js +61 -0
  470. package/objectBucketLockConfiguration.js.map +1 -0
  471. package/objectBucketPolicy.d.ts +47 -0
  472. package/objectBucketPolicy.js +53 -22
  473. package/objectBucketPolicy.js.map +1 -1
  474. package/objectBucketWebsiteConfiguration.d.ts +39 -14
  475. package/objectBucketWebsiteConfiguration.js +37 -30
  476. package/objectBucketWebsiteConfiguration.js.map +1 -1
  477. package/objectItem.d.ts +204 -0
  478. package/objectItem.js +89 -0
  479. package/objectItem.js.map +1 -0
  480. package/package.json +4 -4
  481. package/package.json.bak +3 -4
  482. package/package.json.dev +4 -5
  483. package/provider.js +10 -10
  484. package/provider.js.map +1 -1
  485. package/redisCluster.d.ts +122 -22
  486. package/redisCluster.js +28 -26
  487. package/redisCluster.js.map +1 -1
  488. package/registryNamespace.d.ts +7 -1
  489. package/registryNamespace.js +23 -23
  490. package/registryNamespace.js.map +1 -1
  491. package/secret.d.ts +160 -0
  492. package/secret.js +94 -0
  493. package/secret.js.map +1 -0
  494. package/secretVersion.d.ts +128 -0
  495. package/secretVersion.js +80 -0
  496. package/secretVersion.js.map +1 -0
  497. package/temDomain.d.ts +251 -0
  498. package/temDomain.js +135 -0
  499. package/temDomain.js.map +1 -0
  500. package/types/index.js.map +1 -1
  501. package/types/input.d.ts +712 -30
  502. package/types/output.d.ts +1603 -88
  503. package/utilities.js +13 -1
  504. package/utilities.js.map +1 -1
  505. package/vpc.d.ts +140 -0
  506. package/vpc.js +87 -0
  507. package/vpc.js.map +1 -0
  508. package/vpcGatewayNetwork.d.ts +72 -7
  509. package/vpcGatewayNetwork.js +69 -22
  510. package/vpcGatewayNetwork.js.map +1 -1
  511. package/vpcPrivateNetwork.d.ts +110 -11
  512. package/vpcPrivateNetwork.js +61 -26
  513. package/vpcPrivateNetwork.js.map +1 -1
  514. package/vpcPublicGateway.d.ts +1 -1
  515. package/vpcPublicGateway.js +23 -23
  516. package/vpcPublicGateway.js.map +1 -1
  517. package/vpcPublicGatewayDhcp.d.ts +2 -4
  518. package/vpcPublicGatewayDhcp.js +24 -26
  519. package/vpcPublicGatewayDhcp.js.map +1 -1
  520. package/vpcPublicGatewayDhcpReservation.d.ts +2 -2
  521. package/vpcPublicGatewayDhcpReservation.js +24 -24
  522. package/vpcPublicGatewayDhcpReservation.js.map +1 -1
  523. package/vpcPublicGatewayIp.d.ts +3 -5
  524. package/vpcPublicGatewayIp.js +25 -27
  525. package/vpcPublicGatewayIp.js.map +1 -1
  526. package/vpcPublicGatewayIpReverseDns.d.ts +104 -0
  527. package/vpcPublicGatewayIpReverseDns.js +91 -0
  528. package/vpcPublicGatewayIpReverseDns.js.map +1 -0
  529. package/vpcPublicGatewayPatRule.js +22 -22
  530. package/vpcPublicGatewayPatRule.js.map +1 -1
  531. package/webhosting.d.ts +244 -0
  532. package/webhosting.js +126 -0
  533. package/webhosting.js.map +1 -0
package/loadbalancer.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Creates and manages Scaleway Load-Balancers.
5
- * For more information, see [the documentation](https://developers.scaleway.com/en/products/lb/zoned_api).
6
+ * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api).
6
7
  *
7
8
  * ## Examples
8
9
  *
@@ -20,6 +21,20 @@ import { input as inputs, output as outputs } from "./types";
20
21
  * });
21
22
  * ```
22
23
  *
24
+ * ### Private LB
25
+ *
26
+ * ```typescript
27
+ * import * as pulumi from "@pulumi/pulumi";
28
+ * import * as scaleway from "@pulumiverse/scaleway";
29
+ *
30
+ * const base = new scaleway.Loadbalancer("base", {
31
+ * ipId: scaleway_lb_ip.main.id,
32
+ * zone: scaleway_lb_ip.main.zone,
33
+ * type: "LB-S",
34
+ * assignFlexibleIp: false,
35
+ * });
36
+ * ```
37
+ *
23
38
  * ### IP for Public Gateway
24
39
  * resource "scaleway_vpc_public_gateway_ip" "main" {
25
40
  * }
@@ -75,7 +90,7 @@ import { input as inputs, output as outputs } from "./types";
75
90
  * In order to migrate to other types you can check the migration up or down via our CLI `scw lb lb-types list`.
76
91
  * this change will not recreate your Load Balancer.
77
92
  *
78
- * Please check our [documentation](https://developers.scaleway.com/en/products/lb/zoned_api/#post-355592) for further details
93
+ * Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details
79
94
  *
80
95
  * ## IP ID
81
96
  *
@@ -87,7 +102,7 @@ import { input as inputs, output as outputs } from "./types";
87
102
  *
88
103
  * ```typescript
89
104
  * import * as pulumi from "@pulumi/pulumi";
90
- * import * as scaleway from "@pulumi/scaleway";
105
+ * import * as scaleway from "@pulumiverse/scaleway";
91
106
  *
92
107
  * const main = new scaleway.Loadbalancer("main", {
93
108
  * type: "LB-S",
@@ -110,28 +125,6 @@ import { input as inputs, output as outputs } from "./types";
110
125
  * });
111
126
  * ```
112
127
  *
113
- * ## Private Network with static config
114
- *
115
- * ```typescript
116
- * import * as pulumi from "@pulumi/pulumi";
117
- * import * as scaleway from "@pulumiverse/scaleway";
118
- *
119
- * const mainLoadbalancerIp = new scaleway.LoadbalancerIp("mainLoadbalancerIp", {});
120
- * const mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork", {});
121
- * const mainLoadbalancer = new scaleway.Loadbalancer("mainLoadbalancer", {
122
- * ipId: mainLoadbalancerIp.id,
123
- * type: "LB-S",
124
- * releaseIp: false,
125
- * privateNetworks: [{
126
- * privateNetworkId: mainVpcPrivateNetwork.id,
127
- * staticConfigs: [
128
- * "172.16.0.100",
129
- * "172.16.0.101",
130
- * ],
131
- * }],
132
- * });
133
- * ```
134
- *
135
128
  * ## Import
136
129
  *
137
130
  * Load-Balancer can be imported using the `{zone}/{id}`, e.g. bash
@@ -158,14 +151,24 @@ export declare class Loadbalancer extends pulumi.CustomResource {
158
151
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
159
152
  */
160
153
  static isInstance(obj: any): obj is Loadbalancer;
154
+ /**
155
+ * Defines whether to automatically assign a flexible public IP to the load-balancer.
156
+ */
157
+ readonly assignFlexibleIp: pulumi.Output<boolean | undefined>;
158
+ /**
159
+ * The description of the load-balancer.
160
+ */
161
+ readonly description: pulumi.Output<string | undefined>;
161
162
  /**
162
163
  * The load-balance public IP Address
163
164
  */
164
165
  readonly ipAddress: pulumi.Output<string>;
165
166
  /**
166
167
  * The ID of the associated LB IP. See below.
168
+ *
169
+ * > **Important:** Updates to `ipId` will recreate the load-balancer.
167
170
  */
168
- readonly ipId: pulumi.Output<string>;
171
+ readonly ipId: pulumi.Output<string | undefined>;
169
172
  /**
170
173
  * The name of the load-balancer.
171
174
  */
@@ -192,16 +195,20 @@ export declare class Loadbalancer extends pulumi.CustomResource {
192
195
  * @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
193
196
  */
194
197
  readonly releaseIp: pulumi.Output<boolean | undefined>;
198
+ /**
199
+ * Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer).
200
+ */
201
+ readonly sslCompatibilityLevel: pulumi.Output<string | undefined>;
195
202
  /**
196
203
  * The tags associated with the load-balancers.
197
204
  */
198
205
  readonly tags: pulumi.Output<string[] | undefined>;
199
206
  /**
200
- * The type of the load-balancer. Please check the migration section to upgrade the type
207
+ * The type of the load-balancer. Please check the migration section to upgrade the type.
201
208
  */
202
209
  readonly type: pulumi.Output<string>;
203
210
  /**
204
- * `zone`) The zone in which the IP should be reserved.
211
+ * `zone`) The zone of the load-balancer.
205
212
  */
206
213
  readonly zone: pulumi.Output<string>;
207
214
  /**
@@ -217,12 +224,22 @@ export declare class Loadbalancer extends pulumi.CustomResource {
217
224
  * Input properties used for looking up and filtering Loadbalancer resources.
218
225
  */
219
226
  export interface LoadbalancerState {
227
+ /**
228
+ * Defines whether to automatically assign a flexible public IP to the load-balancer.
229
+ */
230
+ assignFlexibleIp?: pulumi.Input<boolean>;
231
+ /**
232
+ * The description of the load-balancer.
233
+ */
234
+ description?: pulumi.Input<string>;
220
235
  /**
221
236
  * The load-balance public IP Address
222
237
  */
223
238
  ipAddress?: pulumi.Input<string>;
224
239
  /**
225
240
  * The ID of the associated LB IP. See below.
241
+ *
242
+ * > **Important:** Updates to `ipId` will recreate the load-balancer.
226
243
  */
227
244
  ipId?: pulumi.Input<string>;
228
245
  /**
@@ -251,16 +268,20 @@ export interface LoadbalancerState {
251
268
  * @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
252
269
  */
253
270
  releaseIp?: pulumi.Input<boolean>;
271
+ /**
272
+ * Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer).
273
+ */
274
+ sslCompatibilityLevel?: pulumi.Input<string>;
254
275
  /**
255
276
  * The tags associated with the load-balancers.
256
277
  */
257
278
  tags?: pulumi.Input<pulumi.Input<string>[]>;
258
279
  /**
259
- * The type of the load-balancer. Please check the migration section to upgrade the type
280
+ * The type of the load-balancer. Please check the migration section to upgrade the type.
260
281
  */
261
282
  type?: pulumi.Input<string>;
262
283
  /**
263
- * `zone`) The zone in which the IP should be reserved.
284
+ * `zone`) The zone of the load-balancer.
264
285
  */
265
286
  zone?: pulumi.Input<string>;
266
287
  }
@@ -268,10 +289,20 @@ export interface LoadbalancerState {
268
289
  * The set of arguments for constructing a Loadbalancer resource.
269
290
  */
270
291
  export interface LoadbalancerArgs {
292
+ /**
293
+ * Defines whether to automatically assign a flexible public IP to the load-balancer.
294
+ */
295
+ assignFlexibleIp?: pulumi.Input<boolean>;
296
+ /**
297
+ * The description of the load-balancer.
298
+ */
299
+ description?: pulumi.Input<string>;
271
300
  /**
272
301
  * The ID of the associated LB IP. See below.
302
+ *
303
+ * > **Important:** Updates to `ipId` will recreate the load-balancer.
273
304
  */
274
- ipId: pulumi.Input<string>;
305
+ ipId?: pulumi.Input<string>;
275
306
  /**
276
307
  * The name of the load-balancer.
277
308
  */
@@ -290,16 +321,20 @@ export interface LoadbalancerArgs {
290
321
  * @deprecated The resource ip will be destroyed by it's own resource. Please set this to `false`
291
322
  */
292
323
  releaseIp?: pulumi.Input<boolean>;
324
+ /**
325
+ * Enforces minimal SSL version (in SSL/TLS offloading context). Please check [possible values](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-create-a-load-balancer).
326
+ */
327
+ sslCompatibilityLevel?: pulumi.Input<string>;
293
328
  /**
294
329
  * The tags associated with the load-balancers.
295
330
  */
296
331
  tags?: pulumi.Input<pulumi.Input<string>[]>;
297
332
  /**
298
- * The type of the load-balancer. Please check the migration section to upgrade the type
333
+ * The type of the load-balancer. Please check the migration section to upgrade the type.
299
334
  */
300
335
  type: pulumi.Input<string>;
301
336
  /**
302
- * `zone`) The zone in which the IP should be reserved.
337
+ * `zone`) The zone of the load-balancer.
303
338
  */
304
339
  zone?: pulumi.Input<string>;
305
340
  }
package/loadbalancer.js CHANGED
@@ -7,7 +7,7 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Creates and manages Scaleway Load-Balancers.
10
- * For more information, see [the documentation](https://developers.scaleway.com/en/products/lb/zoned_api).
10
+ * For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api).
11
11
  *
12
12
  * ## Examples
13
13
  *
@@ -25,6 +25,20 @@ const utilities = require("./utilities");
25
25
  * });
26
26
  * ```
27
27
  *
28
+ * ### Private LB
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as scaleway from "@pulumiverse/scaleway";
33
+ *
34
+ * const base = new scaleway.Loadbalancer("base", {
35
+ * ipId: scaleway_lb_ip.main.id,
36
+ * zone: scaleway_lb_ip.main.zone,
37
+ * type: "LB-S",
38
+ * assignFlexibleIp: false,
39
+ * });
40
+ * ```
41
+ *
28
42
  * ### IP for Public Gateway
29
43
  * resource "scaleway_vpc_public_gateway_ip" "main" {
30
44
  * }
@@ -80,7 +94,7 @@ const utilities = require("./utilities");
80
94
  * In order to migrate to other types you can check the migration up or down via our CLI `scw lb lb-types list`.
81
95
  * this change will not recreate your Load Balancer.
82
96
  *
83
- * Please check our [documentation](https://developers.scaleway.com/en/products/lb/zoned_api/#post-355592) for further details
97
+ * Please check our [documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-migrate-a-load-balancer) for further details
84
98
  *
85
99
  * ## IP ID
86
100
  *
@@ -92,7 +106,7 @@ const utilities = require("./utilities");
92
106
  *
93
107
  * ```typescript
94
108
  * import * as pulumi from "@pulumi/pulumi";
95
- * import * as scaleway from "@pulumi/scaleway";
109
+ * import * as scaleway from "@pulumiverse/scaleway";
96
110
  *
97
111
  * const main = new scaleway.Loadbalancer("main", {
98
112
  * type: "LB-S",
@@ -115,28 +129,6 @@ const utilities = require("./utilities");
115
129
  * });
116
130
  * ```
117
131
  *
118
- * ## Private Network with static config
119
- *
120
- * ```typescript
121
- * import * as pulumi from "@pulumi/pulumi";
122
- * import * as scaleway from "@pulumiverse/scaleway";
123
- *
124
- * const mainLoadbalancerIp = new scaleway.LoadbalancerIp("mainLoadbalancerIp", {});
125
- * const mainVpcPrivateNetwork = new scaleway.VpcPrivateNetwork("mainVpcPrivateNetwork", {});
126
- * const mainLoadbalancer = new scaleway.Loadbalancer("mainLoadbalancer", {
127
- * ipId: mainLoadbalancerIp.id,
128
- * type: "LB-S",
129
- * releaseIp: false,
130
- * privateNetworks: [{
131
- * privateNetworkId: mainVpcPrivateNetwork.id,
132
- * staticConfigs: [
133
- * "172.16.0.100",
134
- * "172.16.0.101",
135
- * ],
136
- * }],
137
- * });
138
- * ```
139
- *
140
132
  * ## Import
141
133
  *
142
134
  * Load-Balancer can be imported using the `{zone}/{id}`, e.g. bash
@@ -148,11 +140,35 @@ const utilities = require("./utilities");
148
140
  * Be aware that you will also need to import the `scaleway_lb_ip` resource.
149
141
  */
150
142
  class Loadbalancer extends pulumi.CustomResource {
143
+ /**
144
+ * Get an existing Loadbalancer resource's state with the given name, ID, and optional extra
145
+ * properties used to qualify the lookup.
146
+ *
147
+ * @param name The _unique_ name of the resulting resource.
148
+ * @param id The _unique_ provider ID of the resource to lookup.
149
+ * @param state Any extra arguments used during the lookup.
150
+ * @param opts Optional settings to control the behavior of the CustomResource.
151
+ */
152
+ static get(name, id, state, opts) {
153
+ return new Loadbalancer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
154
+ }
155
+ /**
156
+ * Returns true if the given object is an instance of Loadbalancer. This is designed to work even
157
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
158
+ */
159
+ static isInstance(obj) {
160
+ if (obj === undefined || obj === null) {
161
+ return false;
162
+ }
163
+ return obj['__pulumiType'] === Loadbalancer.__pulumiType;
164
+ }
151
165
  constructor(name, argsOrState, opts) {
152
166
  let resourceInputs = {};
153
167
  opts = opts || {};
154
168
  if (opts.id) {
155
169
  const state = argsOrState;
170
+ resourceInputs["assignFlexibleIp"] = state ? state.assignFlexibleIp : undefined;
171
+ resourceInputs["description"] = state ? state.description : undefined;
156
172
  resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
157
173
  resourceInputs["ipId"] = state ? state.ipId : undefined;
158
174
  resourceInputs["name"] = state ? state.name : undefined;
@@ -161,23 +177,24 @@ class Loadbalancer extends pulumi.CustomResource {
161
177
  resourceInputs["projectId"] = state ? state.projectId : undefined;
162
178
  resourceInputs["region"] = state ? state.region : undefined;
163
179
  resourceInputs["releaseIp"] = state ? state.releaseIp : undefined;
180
+ resourceInputs["sslCompatibilityLevel"] = state ? state.sslCompatibilityLevel : undefined;
164
181
  resourceInputs["tags"] = state ? state.tags : undefined;
165
182
  resourceInputs["type"] = state ? state.type : undefined;
166
183
  resourceInputs["zone"] = state ? state.zone : undefined;
167
184
  }
168
185
  else {
169
186
  const args = argsOrState;
170
- if ((!args || args.ipId === undefined) && !opts.urn) {
171
- throw new Error("Missing required property 'ipId'");
172
- }
173
187
  if ((!args || args.type === undefined) && !opts.urn) {
174
188
  throw new Error("Missing required property 'type'");
175
189
  }
190
+ resourceInputs["assignFlexibleIp"] = args ? args.assignFlexibleIp : undefined;
191
+ resourceInputs["description"] = args ? args.description : undefined;
176
192
  resourceInputs["ipId"] = args ? args.ipId : undefined;
177
193
  resourceInputs["name"] = args ? args.name : undefined;
178
194
  resourceInputs["privateNetworks"] = args ? args.privateNetworks : undefined;
179
195
  resourceInputs["projectId"] = args ? args.projectId : undefined;
180
196
  resourceInputs["releaseIp"] = args ? args.releaseIp : undefined;
197
+ resourceInputs["sslCompatibilityLevel"] = args ? args.sslCompatibilityLevel : undefined;
181
198
  resourceInputs["tags"] = args ? args.tags : undefined;
182
199
  resourceInputs["type"] = args ? args.type : undefined;
183
200
  resourceInputs["zone"] = args ? args.zone : undefined;
@@ -188,28 +205,6 @@ class Loadbalancer extends pulumi.CustomResource {
188
205
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
189
206
  super(Loadbalancer.__pulumiType, name, resourceInputs, opts);
190
207
  }
191
- /**
192
- * Get an existing Loadbalancer resource's state with the given name, ID, and optional extra
193
- * properties used to qualify the lookup.
194
- *
195
- * @param name The _unique_ name of the resulting resource.
196
- * @param id The _unique_ provider ID of the resource to lookup.
197
- * @param state Any extra arguments used during the lookup.
198
- * @param opts Optional settings to control the behavior of the CustomResource.
199
- */
200
- static get(name, id, state, opts) {
201
- return new Loadbalancer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
202
- }
203
- /**
204
- * Returns true if the given object is an instance of Loadbalancer. This is designed to work even
205
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
206
- */
207
- static isInstance(obj) {
208
- if (obj === undefined || obj === null) {
209
- return false;
210
- }
211
- return obj['__pulumiType'] === Loadbalancer.__pulumiType;
212
- }
213
208
  }
214
209
  exports.Loadbalancer = Loadbalancer;
215
210
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"loadbalancer.js","sourceRoot":"","sources":["../loadbalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6IG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAmFnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,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AC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1IL,oCA2IC;AA7HG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,162 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls).
6
+ *
7
+ * ## Examples Usage
8
+ *
9
+ * ### Basic
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as scaleway from "@pulumiverse/scaleway";
14
+ *
15
+ * const acl01 = new scaleway.LoadbalancerAcl("acl01", {
16
+ * frontendId: scaleway_lb_frontend.frt01.id,
17
+ * description: "Exclude well-known IPs",
18
+ * index: 0,
19
+ * action: {
20
+ * type: "allow",
21
+ * },
22
+ * match: {
23
+ * ipSubnets: [
24
+ * "192.168.0.1",
25
+ * "192.168.0.2",
26
+ * "192.168.10.0/24",
27
+ * ],
28
+ * },
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. bash
35
+ *
36
+ * ```sh
37
+ * $ pulumi import scaleway:index/loadbalancerAcl:LoadbalancerAcl acl01 fr-par-1/11111111-1111-1111-1111-111111111111
38
+ * ```
39
+ */
40
+ export declare class LoadbalancerAcl extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing LoadbalancerAcl resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadbalancerAclState, opts?: pulumi.CustomResourceOptions): LoadbalancerAcl;
51
+ /**
52
+ * Returns true if the given object is an instance of LoadbalancerAcl. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj: any): obj is LoadbalancerAcl;
56
+ /**
57
+ * Action to undertake when an ACL filter matches.
58
+ */
59
+ readonly action: pulumi.Output<outputs.LoadbalancerAclAction>;
60
+ /**
61
+ * Date and time of ACL's creation (RFC 3339 format)
62
+ */
63
+ readonly createdAt: pulumi.Output<string>;
64
+ /**
65
+ * The ACL description.
66
+ */
67
+ readonly description: pulumi.Output<string | undefined>;
68
+ /**
69
+ * The load-balancer Frontend ID to attach the ACL to.
70
+ */
71
+ readonly frontendId: pulumi.Output<string>;
72
+ /**
73
+ * The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
74
+ */
75
+ readonly index: pulumi.Output<number>;
76
+ /**
77
+ * The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required.
78
+ */
79
+ readonly match: pulumi.Output<outputs.LoadbalancerAclMatch | undefined>;
80
+ /**
81
+ * The ACL name. If not provided it will be randomly generated.
82
+ */
83
+ readonly name: pulumi.Output<string>;
84
+ /**
85
+ * Date and time of ACL's update (RFC 3339 format)
86
+ */
87
+ readonly updatedAt: pulumi.Output<string>;
88
+ /**
89
+ * Create a LoadbalancerAcl resource with the given unique name, arguments, and options.
90
+ *
91
+ * @param name The _unique_ name of the resource.
92
+ * @param args The arguments to use to populate this resource's properties.
93
+ * @param opts A bag of options that control this resource's behavior.
94
+ */
95
+ constructor(name: string, args: LoadbalancerAclArgs, opts?: pulumi.CustomResourceOptions);
96
+ }
97
+ /**
98
+ * Input properties used for looking up and filtering LoadbalancerAcl resources.
99
+ */
100
+ export interface LoadbalancerAclState {
101
+ /**
102
+ * Action to undertake when an ACL filter matches.
103
+ */
104
+ action?: pulumi.Input<inputs.LoadbalancerAclAction>;
105
+ /**
106
+ * Date and time of ACL's creation (RFC 3339 format)
107
+ */
108
+ createdAt?: pulumi.Input<string>;
109
+ /**
110
+ * The ACL description.
111
+ */
112
+ description?: pulumi.Input<string>;
113
+ /**
114
+ * The load-balancer Frontend ID to attach the ACL to.
115
+ */
116
+ frontendId?: pulumi.Input<string>;
117
+ /**
118
+ * The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
119
+ */
120
+ index?: pulumi.Input<number>;
121
+ /**
122
+ * The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required.
123
+ */
124
+ match?: pulumi.Input<inputs.LoadbalancerAclMatch>;
125
+ /**
126
+ * The ACL name. If not provided it will be randomly generated.
127
+ */
128
+ name?: pulumi.Input<string>;
129
+ /**
130
+ * Date and time of ACL's update (RFC 3339 format)
131
+ */
132
+ updatedAt?: pulumi.Input<string>;
133
+ }
134
+ /**
135
+ * The set of arguments for constructing a LoadbalancerAcl resource.
136
+ */
137
+ export interface LoadbalancerAclArgs {
138
+ /**
139
+ * Action to undertake when an ACL filter matches.
140
+ */
141
+ action: pulumi.Input<inputs.LoadbalancerAclAction>;
142
+ /**
143
+ * The ACL description.
144
+ */
145
+ description?: pulumi.Input<string>;
146
+ /**
147
+ * The load-balancer Frontend ID to attach the ACL to.
148
+ */
149
+ frontendId: pulumi.Input<string>;
150
+ /**
151
+ * The Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
152
+ */
153
+ index: pulumi.Input<number>;
154
+ /**
155
+ * The ACL match rule. At least `ipSubnet` or `httpFilter` and `httpFilterValue` are required.
156
+ */
157
+ match?: pulumi.Input<inputs.LoadbalancerAclMatch>;
158
+ /**
159
+ * The ACL name. If not provided it will be randomly generated.
160
+ */
161
+ name?: pulumi.Input<string>;
162
+ }
@@ -0,0 +1,108 @@
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.LoadbalancerAcl = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Load-Balancer ACLs. For more information, see [the documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-acls).
10
+ *
11
+ * ## Examples Usage
12
+ *
13
+ * ### Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumiverse/scaleway";
18
+ *
19
+ * const acl01 = new scaleway.LoadbalancerAcl("acl01", {
20
+ * frontendId: scaleway_lb_frontend.frt01.id,
21
+ * description: "Exclude well-known IPs",
22
+ * index: 0,
23
+ * action: {
24
+ * type: "allow",
25
+ * },
26
+ * match: {
27
+ * ipSubnets: [
28
+ * "192.168.0.1",
29
+ * "192.168.0.2",
30
+ * "192.168.10.0/24",
31
+ * ],
32
+ * },
33
+ * });
34
+ * ```
35
+ *
36
+ * ## Import
37
+ *
38
+ * Load-Balancer ACL can be imported using the `{zone}/{id}`, e.g. bash
39
+ *
40
+ * ```sh
41
+ * $ pulumi import scaleway:index/loadbalancerAcl:LoadbalancerAcl acl01 fr-par-1/11111111-1111-1111-1111-111111111111
42
+ * ```
43
+ */
44
+ class LoadbalancerAcl extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing LoadbalancerAcl resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, state, opts) {
55
+ return new LoadbalancerAcl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
56
+ }
57
+ /**
58
+ * Returns true if the given object is an instance of LoadbalancerAcl. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj) {
62
+ if (obj === undefined || obj === null) {
63
+ return false;
64
+ }
65
+ return obj['__pulumiType'] === LoadbalancerAcl.__pulumiType;
66
+ }
67
+ constructor(name, argsOrState, opts) {
68
+ let resourceInputs = {};
69
+ opts = opts || {};
70
+ if (opts.id) {
71
+ const state = argsOrState;
72
+ resourceInputs["action"] = state ? state.action : undefined;
73
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
74
+ resourceInputs["description"] = state ? state.description : undefined;
75
+ resourceInputs["frontendId"] = state ? state.frontendId : undefined;
76
+ resourceInputs["index"] = state ? state.index : undefined;
77
+ resourceInputs["match"] = state ? state.match : undefined;
78
+ resourceInputs["name"] = state ? state.name : undefined;
79
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
80
+ }
81
+ else {
82
+ const args = argsOrState;
83
+ if ((!args || args.action === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'action'");
85
+ }
86
+ if ((!args || args.frontendId === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'frontendId'");
88
+ }
89
+ if ((!args || args.index === undefined) && !opts.urn) {
90
+ throw new Error("Missing required property 'index'");
91
+ }
92
+ resourceInputs["action"] = args ? args.action : undefined;
93
+ resourceInputs["description"] = args ? args.description : undefined;
94
+ resourceInputs["frontendId"] = args ? args.frontendId : undefined;
95
+ resourceInputs["index"] = args ? args.index : undefined;
96
+ resourceInputs["match"] = args ? args.match : undefined;
97
+ resourceInputs["name"] = args ? args.name : undefined;
98
+ resourceInputs["createdAt"] = undefined /*out*/;
99
+ resourceInputs["updatedAt"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(LoadbalancerAcl.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.LoadbalancerAcl = LoadbalancerAcl;
106
+ /** @internal */
107
+ LoadbalancerAcl.__pulumiType = 'scaleway:index/loadbalancerAcl:LoadbalancerAcl';
108
+ //# sourceMappingURL=loadbalancerAcl.js.map