@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
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates and manages Scaleway Cockpit Grafana Users.
4
+ *
5
+ * For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users).
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scaleway from "@pulumi/scaleway";
12
+ * import * as scaleway from "@pulumiverse/scaleway";
13
+ *
14
+ * const mainCockpit = scaleway.getCockpit({});
15
+ * // Create an editor grafana user for the cockpit
16
+ * const mainCockpitGrafanaUser = new scaleway.CockpitGrafanaUser("mainCockpitGrafanaUser", {
17
+ * projectId: mainCockpit.then(mainCockpit => mainCockpit.projectId),
18
+ * login: "my-awesome-user",
19
+ * role: "editor",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Cockpits Grafana Users can be imported using the project ID and the grafana user ID formatted `{project_id}/{grafana_user_id}`, e.g. bash
26
+ *
27
+ * ```sh
28
+ * $ pulumi import scaleway:index/cockpitGrafanaUser:CockpitGrafanaUser main 11111111-1111-1111-1111-111111111111/2
29
+ * ```
30
+ */
31
+ export declare class CockpitGrafanaUser extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing CockpitGrafanaUser resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CockpitGrafanaUserState, opts?: pulumi.CustomResourceOptions): CockpitGrafanaUser;
42
+ /**
43
+ * Returns true if the given object is an instance of CockpitGrafanaUser. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is CockpitGrafanaUser;
47
+ /**
48
+ * The login of the grafana user.
49
+ */
50
+ readonly login: pulumi.Output<string>;
51
+ /**
52
+ * The password of the grafana user
53
+ */
54
+ readonly password: pulumi.Output<string>;
55
+ /**
56
+ * `projectId`) The ID of the project the cockpit is associated with.
57
+ */
58
+ readonly projectId: pulumi.Output<string>;
59
+ /**
60
+ * The role of the grafana user. Must be `editor` or `viewer`.
61
+ */
62
+ readonly role: pulumi.Output<string>;
63
+ /**
64
+ * Create a CockpitGrafanaUser resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: CockpitGrafanaUserArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering CockpitGrafanaUser resources.
74
+ */
75
+ export interface CockpitGrafanaUserState {
76
+ /**
77
+ * The login of the grafana user.
78
+ */
79
+ login?: pulumi.Input<string>;
80
+ /**
81
+ * The password of the grafana user
82
+ */
83
+ password?: pulumi.Input<string>;
84
+ /**
85
+ * `projectId`) The ID of the project the cockpit is associated with.
86
+ */
87
+ projectId?: pulumi.Input<string>;
88
+ /**
89
+ * The role of the grafana user. Must be `editor` or `viewer`.
90
+ */
91
+ role?: pulumi.Input<string>;
92
+ }
93
+ /**
94
+ * The set of arguments for constructing a CockpitGrafanaUser resource.
95
+ */
96
+ export interface CockpitGrafanaUserArgs {
97
+ /**
98
+ * The login of the grafana user.
99
+ */
100
+ login: pulumi.Input<string>;
101
+ /**
102
+ * `projectId`) The ID of the project the cockpit is associated with.
103
+ */
104
+ projectId?: pulumi.Input<string>;
105
+ /**
106
+ * The role of the grafana user. Must be `editor` or `viewer`.
107
+ */
108
+ role: pulumi.Input<string>;
109
+ }
@@ -0,0 +1,92 @@
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.CockpitGrafanaUser = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Cockpit Grafana Users.
10
+ *
11
+ * For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#grafana-users).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumi/scaleway";
18
+ * import * as scaleway from "@pulumiverse/scaleway";
19
+ *
20
+ * const mainCockpit = scaleway.getCockpit({});
21
+ * // Create an editor grafana user for the cockpit
22
+ * const mainCockpitGrafanaUser = new scaleway.CockpitGrafanaUser("mainCockpitGrafanaUser", {
23
+ * projectId: mainCockpit.then(mainCockpit => mainCockpit.projectId),
24
+ * login: "my-awesome-user",
25
+ * role: "editor",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * Cockpits Grafana Users can be imported using the project ID and the grafana user ID formatted `{project_id}/{grafana_user_id}`, e.g. bash
32
+ *
33
+ * ```sh
34
+ * $ pulumi import scaleway:index/cockpitGrafanaUser:CockpitGrafanaUser main 11111111-1111-1111-1111-111111111111/2
35
+ * ```
36
+ */
37
+ class CockpitGrafanaUser extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing CockpitGrafanaUser resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new CockpitGrafanaUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of CockpitGrafanaUser. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === CockpitGrafanaUser.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["login"] = state ? state.login : undefined;
66
+ resourceInputs["password"] = state ? state.password : undefined;
67
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
68
+ resourceInputs["role"] = state ? state.role : undefined;
69
+ }
70
+ else {
71
+ const args = argsOrState;
72
+ if ((!args || args.login === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'login'");
74
+ }
75
+ if ((!args || args.role === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'role'");
77
+ }
78
+ resourceInputs["login"] = args ? args.login : undefined;
79
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
80
+ resourceInputs["role"] = args ? args.role : undefined;
81
+ resourceInputs["password"] = undefined /*out*/;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ const secretOpts = { additionalSecretOutputs: ["password"] };
85
+ opts = pulumi.mergeOptions(opts, secretOpts);
86
+ super(CockpitGrafanaUser.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.CockpitGrafanaUser = CockpitGrafanaUser;
90
+ /** @internal */
91
+ CockpitGrafanaUser.__pulumiType = 'scaleway:index/cockpitGrafanaUser:CockpitGrafanaUser';
92
+ //# sourceMappingURL=cockpitGrafanaUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cockpitGrafanaUser.js","sourceRoot":"","sources":["../cockpitGrafanaUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,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;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/EL,gDAgFC;AAlEG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,125 @@
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 Cockpit Tokens.
6
+ *
7
+ * For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#tokens).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as scaleway from "@pulumi/scaleway";
14
+ * import * as scaleway from "@pulumiverse/scaleway";
15
+ *
16
+ * const mainCockpit = scaleway.getCockpit({});
17
+ * // Create a token for the cockpit that can write metrics and logs
18
+ * const mainCockpitToken = new scaleway.CockpitToken("mainCockpitToken", {projectId: mainCockpit.then(mainCockpit => mainCockpit.projectId)});
19
+ * ```
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as scaleway from "@pulumi/scaleway";
24
+ * import * as scaleway from "@pulumiverse/scaleway";
25
+ *
26
+ * const mainCockpit = scaleway.getCockpit({});
27
+ * // Create a token for the cockpit that can read metrics and logs but not write
28
+ * const mainCockpitToken = new scaleway.CockpitToken("mainCockpitToken", {
29
+ * projectId: mainCockpit.then(mainCockpit => mainCockpit.projectId),
30
+ * scopes: {
31
+ * queryMetrics: true,
32
+ * writeMetrics: false,
33
+ * queryLogs: true,
34
+ * writeLogs: false,
35
+ * },
36
+ * });
37
+ * ```
38
+ *
39
+ * ## Import
40
+ *
41
+ * Cockpits can be imported using the token ID, e.g. bash
42
+ *
43
+ * ```sh
44
+ * $ pulumi import scaleway:index/cockpitToken:CockpitToken main 11111111-1111-1111-1111-111111111111
45
+ * ```
46
+ */
47
+ export declare class CockpitToken extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing CockpitToken resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CockpitTokenState, opts?: pulumi.CustomResourceOptions): CockpitToken;
58
+ /**
59
+ * Returns true if the given object is an instance of CockpitToken. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj: any): obj is CockpitToken;
63
+ /**
64
+ * The name of the token
65
+ */
66
+ readonly name: pulumi.Output<string>;
67
+ /**
68
+ * `projectId`) The ID of the project the cockpit is associated with.
69
+ */
70
+ readonly projectId: pulumi.Output<string>;
71
+ /**
72
+ * Allowed scopes
73
+ */
74
+ readonly scopes: pulumi.Output<outputs.CockpitTokenScopes>;
75
+ /**
76
+ * The secret key of the token
77
+ */
78
+ readonly secretKey: pulumi.Output<string>;
79
+ /**
80
+ * Create a CockpitToken resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name: string, args?: CockpitTokenArgs, opts?: pulumi.CustomResourceOptions);
87
+ }
88
+ /**
89
+ * Input properties used for looking up and filtering CockpitToken resources.
90
+ */
91
+ export interface CockpitTokenState {
92
+ /**
93
+ * The name of the token
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * `projectId`) The ID of the project the cockpit is associated with.
98
+ */
99
+ projectId?: pulumi.Input<string>;
100
+ /**
101
+ * Allowed scopes
102
+ */
103
+ scopes?: pulumi.Input<inputs.CockpitTokenScopes>;
104
+ /**
105
+ * The secret key of the token
106
+ */
107
+ secretKey?: pulumi.Input<string>;
108
+ }
109
+ /**
110
+ * The set of arguments for constructing a CockpitToken resource.
111
+ */
112
+ export interface CockpitTokenArgs {
113
+ /**
114
+ * The name of the token
115
+ */
116
+ name?: pulumi.Input<string>;
117
+ /**
118
+ * `projectId`) The ID of the project the cockpit is associated with.
119
+ */
120
+ projectId?: pulumi.Input<string>;
121
+ /**
122
+ * Allowed scopes
123
+ */
124
+ scopes?: pulumi.Input<inputs.CockpitTokenScopes>;
125
+ }
@@ -0,0 +1,100 @@
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.CockpitToken = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Cockpit Tokens.
10
+ *
11
+ * For more information consult the [documentation](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#tokens).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as scaleway from "@pulumi/scaleway";
18
+ * import * as scaleway from "@pulumiverse/scaleway";
19
+ *
20
+ * const mainCockpit = scaleway.getCockpit({});
21
+ * // Create a token for the cockpit that can write metrics and logs
22
+ * const mainCockpitToken = new scaleway.CockpitToken("mainCockpitToken", {projectId: mainCockpit.then(mainCockpit => mainCockpit.projectId)});
23
+ * ```
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as scaleway from "@pulumi/scaleway";
28
+ * import * as scaleway from "@pulumiverse/scaleway";
29
+ *
30
+ * const mainCockpit = scaleway.getCockpit({});
31
+ * // Create a token for the cockpit that can read metrics and logs but not write
32
+ * const mainCockpitToken = new scaleway.CockpitToken("mainCockpitToken", {
33
+ * projectId: mainCockpit.then(mainCockpit => mainCockpit.projectId),
34
+ * scopes: {
35
+ * queryMetrics: true,
36
+ * writeMetrics: false,
37
+ * queryLogs: true,
38
+ * writeLogs: false,
39
+ * },
40
+ * });
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * Cockpits can be imported using the token ID, e.g. bash
46
+ *
47
+ * ```sh
48
+ * $ pulumi import scaleway:index/cockpitToken:CockpitToken main 11111111-1111-1111-1111-111111111111
49
+ * ```
50
+ */
51
+ class CockpitToken extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing CockpitToken resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, state, opts) {
62
+ return new CockpitToken(name, state, Object.assign(Object.assign({}, opts), { id: id }));
63
+ }
64
+ /**
65
+ * Returns true if the given object is an instance of CockpitToken. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj) {
69
+ if (obj === undefined || obj === null) {
70
+ return false;
71
+ }
72
+ return obj['__pulumiType'] === CockpitToken.__pulumiType;
73
+ }
74
+ constructor(name, argsOrState, opts) {
75
+ let resourceInputs = {};
76
+ opts = opts || {};
77
+ if (opts.id) {
78
+ const state = argsOrState;
79
+ resourceInputs["name"] = state ? state.name : undefined;
80
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
81
+ resourceInputs["scopes"] = state ? state.scopes : undefined;
82
+ resourceInputs["secretKey"] = state ? state.secretKey : undefined;
83
+ }
84
+ else {
85
+ const args = argsOrState;
86
+ resourceInputs["name"] = args ? args.name : undefined;
87
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
88
+ resourceInputs["scopes"] = args ? args.scopes : undefined;
89
+ resourceInputs["secretKey"] = undefined /*out*/;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ const secretOpts = { additionalSecretOutputs: ["secretKey"] };
93
+ opts = pulumi.mergeOptions(opts, secretOpts);
94
+ super(CockpitToken.__pulumiType, name, resourceInputs, opts);
95
+ }
96
+ }
97
+ exports.CockpitToken = CockpitToken;
98
+ /** @internal */
99
+ CockpitToken.__pulumiType = 'scaleway:index/cockpitToken:CockpitToken';
100
+ //# sourceMappingURL=cockpitToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cockpitToken.js","sourceRoot":"","sources":["../cockpitToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,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,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzEL,oCA0EC;AA5DG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
package/container.d.ts CHANGED
@@ -27,11 +27,14 @@ import * as pulumi from "@pulumi/pulumi";
27
27
  * timeout: 600,
28
28
  * maxConcurrency: 80,
29
29
  * privacy: "private",
30
- * protocol: "h2c",
30
+ * protocol: "http1",
31
31
  * deploy: true,
32
32
  * environmentVariables: {
33
33
  * foo: "var",
34
34
  * },
35
+ * secretEnvironmentVariables: {
36
+ * key: "secret",
37
+ * },
35
38
  * });
36
39
  * ```
37
40
  * ## Protocols
@@ -95,7 +98,7 @@ export declare class Container extends pulumi.CustomResource {
95
98
  */
96
99
  static isInstance(obj: any): obj is Container;
97
100
  /**
98
- * The amount of vCPU computing resources to allocate to each container. Defaults to 70.
101
+ * The amount of vCPU computing resources to allocate to each container. Defaults to 140.
99
102
  */
100
103
  readonly cpuLimit: pulumi.Output<number>;
101
104
  /**
@@ -104,6 +107,8 @@ export declare class Container extends pulumi.CustomResource {
104
107
  readonly cronStatus: pulumi.Output<string>;
105
108
  /**
106
109
  * Boolean controlling whether the container is on a production environment.
110
+ *
111
+ * Note that if you want to use your own configuration, you must consult our configuration [restrictions](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/#configuration-restrictions) section.
107
112
  */
108
113
  readonly deploy: pulumi.Output<boolean | undefined>;
109
114
  /**
@@ -111,7 +116,7 @@ export declare class Container extends pulumi.CustomResource {
111
116
  */
112
117
  readonly description: pulumi.Output<string | undefined>;
113
118
  /**
114
- * The container domain name.
119
+ * The native domain name of the container
115
120
  */
116
121
  readonly domainName: pulumi.Output<string>;
117
122
  /**
@@ -119,11 +124,15 @@ export declare class Container extends pulumi.CustomResource {
119
124
  */
120
125
  readonly environmentVariables: pulumi.Output<{
121
126
  [key: string]: string;
122
- } | undefined>;
127
+ }>;
123
128
  /**
124
129
  * The error message of the container.
125
130
  */
126
131
  readonly errorMessage: pulumi.Output<string>;
132
+ /**
133
+ * HTTP traffic configuration
134
+ */
135
+ readonly httpOption: pulumi.Output<string | undefined>;
127
136
  /**
128
137
  * The maximum number of simultaneous requests your container can handle at the same time. Defaults to 50.
129
138
  */
@@ -133,7 +142,7 @@ export declare class Container extends pulumi.CustomResource {
133
142
  */
134
143
  readonly maxScale: pulumi.Output<number>;
135
144
  /**
136
- * The memory computing resources in MB to allocate to each container. Defaults to 128.
145
+ * The memory computing resources in MB to allocate to each container. Defaults to 256.
137
146
  */
138
147
  readonly memoryLimit: pulumi.Output<number>;
139
148
  /**
@@ -146,6 +155,10 @@ export declare class Container extends pulumi.CustomResource {
146
155
  readonly name: pulumi.Output<string>;
147
156
  /**
148
157
  * The container namespace ID of the container.
158
+ *
159
+ * > **Important** Updates to `name` will recreate the container.
160
+ *
161
+ * The following arguments are optional:
149
162
  */
150
163
  readonly namespaceId: pulumi.Output<string>;
151
164
  /**
@@ -172,6 +185,12 @@ export declare class Container extends pulumi.CustomResource {
172
185
  * The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string
173
186
  */
174
187
  readonly registrySha256: pulumi.Output<string | undefined>;
188
+ /**
189
+ * The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
190
+ */
191
+ readonly secretEnvironmentVariables: pulumi.Output<{
192
+ [key: string]: string;
193
+ } | undefined>;
175
194
  /**
176
195
  * The container status.
177
196
  */
@@ -194,7 +213,7 @@ export declare class Container extends pulumi.CustomResource {
194
213
  */
195
214
  export interface ContainerState {
196
215
  /**
197
- * The amount of vCPU computing resources to allocate to each container. Defaults to 70.
216
+ * The amount of vCPU computing resources to allocate to each container. Defaults to 140.
198
217
  */
199
218
  cpuLimit?: pulumi.Input<number>;
200
219
  /**
@@ -203,6 +222,8 @@ export interface ContainerState {
203
222
  cronStatus?: pulumi.Input<string>;
204
223
  /**
205
224
  * Boolean controlling whether the container is on a production environment.
225
+ *
226
+ * Note that if you want to use your own configuration, you must consult our configuration [restrictions](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/#configuration-restrictions) section.
206
227
  */
207
228
  deploy?: pulumi.Input<boolean>;
208
229
  /**
@@ -210,7 +231,7 @@ export interface ContainerState {
210
231
  */
211
232
  description?: pulumi.Input<string>;
212
233
  /**
213
- * The container domain name.
234
+ * The native domain name of the container
214
235
  */
215
236
  domainName?: pulumi.Input<string>;
216
237
  /**
@@ -223,6 +244,10 @@ export interface ContainerState {
223
244
  * The error message of the container.
224
245
  */
225
246
  errorMessage?: pulumi.Input<string>;
247
+ /**
248
+ * HTTP traffic configuration
249
+ */
250
+ httpOption?: pulumi.Input<string>;
226
251
  /**
227
252
  * The maximum number of simultaneous requests your container can handle at the same time. Defaults to 50.
228
253
  */
@@ -232,7 +257,7 @@ export interface ContainerState {
232
257
  */
233
258
  maxScale?: pulumi.Input<number>;
234
259
  /**
235
- * The memory computing resources in MB to allocate to each container. Defaults to 128.
260
+ * The memory computing resources in MB to allocate to each container. Defaults to 256.
236
261
  */
237
262
  memoryLimit?: pulumi.Input<number>;
238
263
  /**
@@ -245,6 +270,10 @@ export interface ContainerState {
245
270
  name?: pulumi.Input<string>;
246
271
  /**
247
272
  * The container namespace ID of the container.
273
+ *
274
+ * > **Important** Updates to `name` will recreate the container.
275
+ *
276
+ * The following arguments are optional:
248
277
  */
249
278
  namespaceId?: pulumi.Input<string>;
250
279
  /**
@@ -271,6 +300,12 @@ export interface ContainerState {
271
300
  * The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string
272
301
  */
273
302
  registrySha256?: pulumi.Input<string>;
303
+ /**
304
+ * The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
305
+ */
306
+ secretEnvironmentVariables?: pulumi.Input<{
307
+ [key: string]: pulumi.Input<string>;
308
+ }>;
274
309
  /**
275
310
  * The container status.
276
311
  */
@@ -285,11 +320,13 @@ export interface ContainerState {
285
320
  */
286
321
  export interface ContainerArgs {
287
322
  /**
288
- * The amount of vCPU computing resources to allocate to each container. Defaults to 70.
323
+ * The amount of vCPU computing resources to allocate to each container. Defaults to 140.
289
324
  */
290
325
  cpuLimit?: pulumi.Input<number>;
291
326
  /**
292
327
  * Boolean controlling whether the container is on a production environment.
328
+ *
329
+ * Note that if you want to use your own configuration, you must consult our configuration [restrictions](https://www.scaleway.com/en/docs/compute/containers/reference-content/containers-limitations/#configuration-restrictions) section.
293
330
  */
294
331
  deploy?: pulumi.Input<boolean>;
295
332
  /**
@@ -302,6 +339,10 @@ export interface ContainerArgs {
302
339
  environmentVariables?: pulumi.Input<{
303
340
  [key: string]: pulumi.Input<string>;
304
341
  }>;
342
+ /**
343
+ * HTTP traffic configuration
344
+ */
345
+ httpOption?: pulumi.Input<string>;
305
346
  /**
306
347
  * The maximum number of simultaneous requests your container can handle at the same time. Defaults to 50.
307
348
  */
@@ -311,7 +352,7 @@ export interface ContainerArgs {
311
352
  */
312
353
  maxScale?: pulumi.Input<number>;
313
354
  /**
314
- * The memory computing resources in MB to allocate to each container. Defaults to 128.
355
+ * The memory computing resources in MB to allocate to each container. Defaults to 256.
315
356
  */
316
357
  memoryLimit?: pulumi.Input<number>;
317
358
  /**
@@ -324,6 +365,10 @@ export interface ContainerArgs {
324
365
  name?: pulumi.Input<string>;
325
366
  /**
326
367
  * The container namespace ID of the container.
368
+ *
369
+ * > **Important** Updates to `name` will recreate the container.
370
+ *
371
+ * The following arguments are optional:
327
372
  */
328
373
  namespaceId: pulumi.Input<string>;
329
374
  /**
@@ -338,6 +383,10 @@ export interface ContainerArgs {
338
383
  * The communication [protocol](https://developers.scaleway.com/en/products/containers/api/#protocol-9dd4c8) http1 or h2c. Defaults to http1.
339
384
  */
340
385
  protocol?: pulumi.Input<string>;
386
+ /**
387
+ * (Defaults to provider `region`) The region in which the container was created.
388
+ */
389
+ region?: pulumi.Input<string>;
341
390
  /**
342
391
  * The registry image address. e.g: **"rg.fr-par.scw.cloud/$NAMESPACE/$IMAGE"**.
343
392
  */
@@ -346,6 +395,12 @@ export interface ContainerArgs {
346
395
  * The sha256 of your source registry image, changing it will re-apply the deployment. Can be any string
347
396
  */
348
397
  registrySha256?: pulumi.Input<string>;
398
+ /**
399
+ * The [secret environment](https://www.scaleway.com/en/docs/compute/containers/concepts/#secrets) variables of the container.
400
+ */
401
+ secretEnvironmentVariables?: pulumi.Input<{
402
+ [key: string]: pulumi.Input<string>;
403
+ }>;
349
404
  /**
350
405
  * The container status.
351
406
  */