pulumiverse-scaleway 1.27.0a1744869119__py3-none-any.whl → 1.39.0a1764841480__py3-none-any.whl

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 (515) hide show
  1. pulumiverse_scaleway/__init__.py +109 -2
  2. pulumiverse_scaleway/_inputs.py +3936 -2603
  3. pulumiverse_scaleway/_utilities.py +1 -1
  4. pulumiverse_scaleway/account/__init__.py +4 -1
  5. pulumiverse_scaleway/account/get_availability_zones.py +12 -12
  6. pulumiverse_scaleway/account/get_project.py +28 -28
  7. pulumiverse_scaleway/account/get_projects.py +241 -0
  8. pulumiverse_scaleway/account/get_ssh_key.py +34 -34
  9. pulumiverse_scaleway/account/outputs.py +95 -0
  10. pulumiverse_scaleway/account/project.py +72 -71
  11. pulumiverse_scaleway/account/ssh_key.py +107 -106
  12. pulumiverse_scaleway/account_project.py +72 -71
  13. pulumiverse_scaleway/account_ssh_key.py +107 -106
  14. pulumiverse_scaleway/apple_silicon_server.py +334 -201
  15. pulumiverse_scaleway/applesilicon/__init__.py +2 -1
  16. pulumiverse_scaleway/applesilicon/_inputs.py +105 -51
  17. pulumiverse_scaleway/applesilicon/outputs.py +65 -33
  18. pulumiverse_scaleway/applesilicon/server.py +334 -201
  19. pulumiverse_scaleway/audittrail/__init__.py +10 -0
  20. pulumiverse_scaleway/audittrail/get_event.py +410 -0
  21. pulumiverse_scaleway/audittrail/outputs.py +234 -0
  22. pulumiverse_scaleway/autoscaling/__init__.py +13 -0
  23. pulumiverse_scaleway/autoscaling/_inputs.py +558 -0
  24. pulumiverse_scaleway/autoscaling/instance_group.py +807 -0
  25. pulumiverse_scaleway/autoscaling/instance_policy.py +634 -0
  26. pulumiverse_scaleway/autoscaling/instance_template.py +878 -0
  27. pulumiverse_scaleway/autoscaling/outputs.py +438 -0
  28. pulumiverse_scaleway/baremetal_server.py +622 -524
  29. pulumiverse_scaleway/billing/__init__.py +2 -1
  30. pulumiverse_scaleway/billing/get_consumptions.py +19 -15
  31. pulumiverse_scaleway/billing/get_invoices.py +25 -25
  32. pulumiverse_scaleway/billing/outputs.py +96 -96
  33. pulumiverse_scaleway/block/__init__.py +4 -1
  34. pulumiverse_scaleway/block/_inputs.py +125 -0
  35. pulumiverse_scaleway/block/get_snapshot.py +60 -37
  36. pulumiverse_scaleway/block/get_volume.py +38 -38
  37. pulumiverse_scaleway/block/outputs.py +139 -0
  38. pulumiverse_scaleway/block/snapshot.py +272 -98
  39. pulumiverse_scaleway/block/volume.py +145 -144
  40. pulumiverse_scaleway/block_snapshot.py +272 -98
  41. pulumiverse_scaleway/block_volume.py +145 -144
  42. pulumiverse_scaleway/cockpit.py +71 -49
  43. pulumiverse_scaleway/cockpit_alert_manager.py +66 -65
  44. pulumiverse_scaleway/cockpit_grafana_user.py +72 -113
  45. pulumiverse_scaleway/cockpit_source.py +142 -141
  46. pulumiverse_scaleway/cockpit_token.py +84 -83
  47. pulumiverse_scaleway/config/__init__.py +2 -1
  48. pulumiverse_scaleway/config/__init__.pyi +2 -2
  49. pulumiverse_scaleway/config/vars.py +11 -11
  50. pulumiverse_scaleway/container.py +653 -424
  51. pulumiverse_scaleway/container_cron.py +97 -96
  52. pulumiverse_scaleway/container_domain.py +63 -62
  53. pulumiverse_scaleway/container_namespace.py +251 -172
  54. pulumiverse_scaleway/container_token.py +97 -96
  55. pulumiverse_scaleway/container_trigger.py +77 -76
  56. pulumiverse_scaleway/containers/__init__.py +2 -1
  57. pulumiverse_scaleway/containers/_inputs.py +87 -87
  58. pulumiverse_scaleway/containers/container.py +653 -424
  59. pulumiverse_scaleway/containers/cron.py +97 -96
  60. pulumiverse_scaleway/containers/domain.py +63 -62
  61. pulumiverse_scaleway/containers/get_container.py +117 -73
  62. pulumiverse_scaleway/containers/get_namespace.py +56 -45
  63. pulumiverse_scaleway/containers/namespace.py +251 -172
  64. pulumiverse_scaleway/containers/outputs.py +84 -84
  65. pulumiverse_scaleway/containers/token.py +97 -96
  66. pulumiverse_scaleway/containers/trigger.py +77 -76
  67. pulumiverse_scaleway/database.py +81 -80
  68. pulumiverse_scaleway/database_acl.py +148 -39
  69. pulumiverse_scaleway/database_backup.py +124 -123
  70. pulumiverse_scaleway/database_instance.py +531 -436
  71. pulumiverse_scaleway/database_privilege.py +88 -87
  72. pulumiverse_scaleway/database_read_replica.py +60 -59
  73. pulumiverse_scaleway/database_user.py +171 -98
  74. pulumiverse_scaleway/databases/__init__.py +2 -1
  75. pulumiverse_scaleway/databases/_inputs.py +364 -216
  76. pulumiverse_scaleway/databases/acl.py +148 -39
  77. pulumiverse_scaleway/databases/database.py +81 -80
  78. pulumiverse_scaleway/databases/database_backup.py +124 -123
  79. pulumiverse_scaleway/databases/get_acl.py +17 -17
  80. pulumiverse_scaleway/databases/get_database.py +26 -26
  81. pulumiverse_scaleway/databases/get_database_backup.py +46 -46
  82. pulumiverse_scaleway/databases/get_instance.py +95 -73
  83. pulumiverse_scaleway/databases/get_privilege.py +30 -30
  84. pulumiverse_scaleway/databases/instance.py +531 -436
  85. pulumiverse_scaleway/databases/outputs.py +419 -232
  86. pulumiverse_scaleway/databases/privilege.py +88 -87
  87. pulumiverse_scaleway/databases/read_replica.py +60 -59
  88. pulumiverse_scaleway/databases/serverless_database.py +97 -96
  89. pulumiverse_scaleway/databases/snapshot.py +127 -126
  90. pulumiverse_scaleway/databases/user.py +171 -98
  91. pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
  92. pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
  93. pulumiverse_scaleway/datawarehouse/database.py +338 -0
  94. pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
  95. pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
  96. pulumiverse_scaleway/datawarehouse/user.py +451 -0
  97. pulumiverse_scaleway/domain/__init__.py +2 -1
  98. pulumiverse_scaleway/domain/_inputs.py +661 -661
  99. pulumiverse_scaleway/domain/get_record.py +53 -64
  100. pulumiverse_scaleway/domain/get_zone.py +36 -30
  101. pulumiverse_scaleway/domain/outputs.py +501 -501
  102. pulumiverse_scaleway/domain/record.py +156 -202
  103. pulumiverse_scaleway/domain/registration.py +123 -122
  104. pulumiverse_scaleway/domain/zone.py +108 -107
  105. pulumiverse_scaleway/domain_record.py +156 -202
  106. pulumiverse_scaleway/domain_zone.py +108 -107
  107. pulumiverse_scaleway/edge_services_backend_stage.py +61 -60
  108. pulumiverse_scaleway/edge_services_cache_stage.py +283 -111
  109. pulumiverse_scaleway/edge_services_dns_stage.py +169 -140
  110. pulumiverse_scaleway/edge_services_head_stage.py +37 -36
  111. pulumiverse_scaleway/edge_services_pipeline.py +125 -82
  112. pulumiverse_scaleway/edge_services_plan.py +37 -36
  113. pulumiverse_scaleway/edge_services_route_stage.py +75 -74
  114. pulumiverse_scaleway/edge_services_tls_stage.py +219 -124
  115. pulumiverse_scaleway/edge_services_waf_stage.py +106 -105
  116. pulumiverse_scaleway/elasticmetal/__init__.py +3 -1
  117. pulumiverse_scaleway/elasticmetal/_inputs.py +203 -129
  118. pulumiverse_scaleway/elasticmetal/get_ip.py +70 -54
  119. pulumiverse_scaleway/elasticmetal/get_ips.py +31 -31
  120. pulumiverse_scaleway/elasticmetal/get_offer.py +43 -41
  121. pulumiverse_scaleway/elasticmetal/get_option.py +24 -24
  122. pulumiverse_scaleway/elasticmetal/get_os.py +28 -28
  123. pulumiverse_scaleway/elasticmetal/get_partition_schema.py +215 -0
  124. pulumiverse_scaleway/elasticmetal/get_server.py +101 -68
  125. pulumiverse_scaleway/elasticmetal/ip.py +170 -169
  126. pulumiverse_scaleway/elasticmetal/ip_mac_address.py +107 -106
  127. pulumiverse_scaleway/elasticmetal/outputs.py +379 -287
  128. pulumiverse_scaleway/elasticmetal/server.py +622 -524
  129. pulumiverse_scaleway/file_filesystem.py +555 -0
  130. pulumiverse_scaleway/flexible_ip.py +170 -169
  131. pulumiverse_scaleway/flexible_ip_mac_address.py +107 -106
  132. pulumiverse_scaleway/function.py +457 -348
  133. pulumiverse_scaleway/function_cron.py +97 -96
  134. pulumiverse_scaleway/function_domain.py +63 -62
  135. pulumiverse_scaleway/function_namespace.py +234 -155
  136. pulumiverse_scaleway/function_token.py +97 -96
  137. pulumiverse_scaleway/function_trigger.py +77 -76
  138. pulumiverse_scaleway/functions/__init__.py +2 -1
  139. pulumiverse_scaleway/functions/_inputs.py +50 -50
  140. pulumiverse_scaleway/functions/cron.py +97 -96
  141. pulumiverse_scaleway/functions/domain.py +63 -62
  142. pulumiverse_scaleway/functions/function.py +457 -348
  143. pulumiverse_scaleway/functions/get_function.py +93 -71
  144. pulumiverse_scaleway/functions/get_namespace.py +54 -43
  145. pulumiverse_scaleway/functions/namespace.py +234 -155
  146. pulumiverse_scaleway/functions/outputs.py +34 -34
  147. pulumiverse_scaleway/functions/token.py +97 -96
  148. pulumiverse_scaleway/functions/trigger.py +77 -76
  149. pulumiverse_scaleway/get_account_project.py +28 -28
  150. pulumiverse_scaleway/get_account_ssh_key.py +34 -34
  151. pulumiverse_scaleway/get_availability_zones.py +12 -12
  152. pulumiverse_scaleway/get_baremetal_offer.py +43 -41
  153. pulumiverse_scaleway/get_baremetal_option.py +24 -24
  154. pulumiverse_scaleway/get_baremetal_os.py +28 -28
  155. pulumiverse_scaleway/get_baremetal_server.py +101 -68
  156. pulumiverse_scaleway/get_billing_consumptions.py +19 -15
  157. pulumiverse_scaleway/get_billing_invoices.py +25 -25
  158. pulumiverse_scaleway/get_block_snapshot.py +60 -37
  159. pulumiverse_scaleway/get_block_volume.py +38 -38
  160. pulumiverse_scaleway/get_cockpit.py +16 -16
  161. pulumiverse_scaleway/get_cockpit_source.py +88 -45
  162. pulumiverse_scaleway/get_config.py +24 -24
  163. pulumiverse_scaleway/get_container.py +117 -73
  164. pulumiverse_scaleway/get_container_namespace.py +56 -45
  165. pulumiverse_scaleway/get_database.py +26 -26
  166. pulumiverse_scaleway/get_database_acl.py +17 -17
  167. pulumiverse_scaleway/get_database_backup.py +46 -46
  168. pulumiverse_scaleway/get_database_instance.py +95 -73
  169. pulumiverse_scaleway/get_database_privilege.py +30 -30
  170. pulumiverse_scaleway/get_domain_record.py +53 -64
  171. pulumiverse_scaleway/get_domain_zone.py +36 -30
  172. pulumiverse_scaleway/get_flexible_ip.py +70 -54
  173. pulumiverse_scaleway/get_flexible_ips.py +31 -31
  174. pulumiverse_scaleway/get_function.py +93 -71
  175. pulumiverse_scaleway/get_function_namespace.py +54 -43
  176. pulumiverse_scaleway/get_iam_api_key.py +28 -28
  177. pulumiverse_scaleway/get_iam_application.py +32 -32
  178. pulumiverse_scaleway/get_iam_group.py +36 -36
  179. pulumiverse_scaleway/get_iam_ssh_key.py +34 -34
  180. pulumiverse_scaleway/get_iam_user.py +30 -30
  181. pulumiverse_scaleway/get_instance_image.py +58 -58
  182. pulumiverse_scaleway/get_instance_ip.py +42 -30
  183. pulumiverse_scaleway/get_instance_placement_group.py +38 -38
  184. pulumiverse_scaleway/get_instance_private_nic.py +53 -41
  185. pulumiverse_scaleway/get_instance_security_group.py +46 -46
  186. pulumiverse_scaleway/get_instance_server.py +108 -145
  187. pulumiverse_scaleway/get_instance_servers.py +31 -31
  188. pulumiverse_scaleway/get_instance_snapshot.py +41 -41
  189. pulumiverse_scaleway/get_instance_volume.py +42 -42
  190. pulumiverse_scaleway/get_iot_device.py +46 -46
  191. pulumiverse_scaleway/get_iot_hub.py +60 -60
  192. pulumiverse_scaleway/get_ipam_ip.py +65 -65
  193. pulumiverse_scaleway/get_ipam_ips.py +56 -56
  194. pulumiverse_scaleway/get_k8s_version.py +34 -23
  195. pulumiverse_scaleway/get_kubernetes_cluster.py +98 -65
  196. pulumiverse_scaleway/get_kubernetes_node_pool.py +86 -75
  197. pulumiverse_scaleway/get_lb_acls.py +29 -29
  198. pulumiverse_scaleway/get_lb_backend.py +75 -75
  199. pulumiverse_scaleway/get_lb_backends.py +29 -29
  200. pulumiverse_scaleway/get_lb_frontend.py +76 -43
  201. pulumiverse_scaleway/get_lb_frontends.py +29 -29
  202. pulumiverse_scaleway/get_lb_ips.py +37 -37
  203. pulumiverse_scaleway/get_lb_route.py +36 -25
  204. pulumiverse_scaleway/get_lb_routes.py +23 -23
  205. pulumiverse_scaleway/get_lbs.py +31 -31
  206. pulumiverse_scaleway/get_loadbalancer.py +78 -56
  207. pulumiverse_scaleway/get_loadbalancer_certificate.py +96 -36
  208. pulumiverse_scaleway/get_loadbalancer_ip.py +40 -40
  209. pulumiverse_scaleway/get_marketplace_image.py +28 -28
  210. pulumiverse_scaleway/get_mnq_sns.py +18 -18
  211. pulumiverse_scaleway/get_mnq_sqs.py +18 -18
  212. pulumiverse_scaleway/get_mongo_db_instance.py +110 -55
  213. pulumiverse_scaleway/get_object_bucket.py +35 -35
  214. pulumiverse_scaleway/get_object_bucket_policy.py +22 -22
  215. pulumiverse_scaleway/get_redis_cluster.py +65 -54
  216. pulumiverse_scaleway/get_registry_image.py +48 -48
  217. pulumiverse_scaleway/get_registry_image_tag.py +44 -44
  218. pulumiverse_scaleway/get_registry_namespace.py +36 -36
  219. pulumiverse_scaleway/get_secret.py +58 -58
  220. pulumiverse_scaleway/get_secret_version.py +46 -46
  221. pulumiverse_scaleway/get_tem_domain.py +103 -70
  222. pulumiverse_scaleway/get_vpc.py +58 -47
  223. pulumiverse_scaleway/get_vpc_gateway_network.py +55 -44
  224. pulumiverse_scaleway/get_vpc_private_network.py +58 -47
  225. pulumiverse_scaleway/get_vpc_public_gateway.py +56 -56
  226. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +44 -44
  227. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +44 -44
  228. pulumiverse_scaleway/get_vpc_public_gateway_ip.py +24 -24
  229. pulumiverse_scaleway/get_vpc_public_pat_rule.py +32 -32
  230. pulumiverse_scaleway/get_vpc_routes.py +47 -47
  231. pulumiverse_scaleway/get_vpcs.py +31 -31
  232. pulumiverse_scaleway/get_web_host_offer.py +34 -34
  233. pulumiverse_scaleway/get_webhosting.py +58 -58
  234. pulumiverse_scaleway/hosting/__init__.py +2 -1
  235. pulumiverse_scaleway/hosting/_inputs.py +117 -75
  236. pulumiverse_scaleway/hosting/get_hosting.py +58 -58
  237. pulumiverse_scaleway/hosting/get_offer.py +34 -34
  238. pulumiverse_scaleway/hosting/hosting.py +213 -212
  239. pulumiverse_scaleway/hosting/outputs.py +276 -192
  240. pulumiverse_scaleway/iam/__init__.py +3 -1
  241. pulumiverse_scaleway/iam/_inputs.py +26 -26
  242. pulumiverse_scaleway/iam/api_key.py +142 -141
  243. pulumiverse_scaleway/iam/application.py +98 -97
  244. pulumiverse_scaleway/iam/get_api_key.py +28 -28
  245. pulumiverse_scaleway/iam/get_application.py +32 -32
  246. pulumiverse_scaleway/iam/get_group.py +36 -36
  247. pulumiverse_scaleway/iam/get_policy.py +293 -0
  248. pulumiverse_scaleway/iam/get_ssh_key.py +34 -34
  249. pulumiverse_scaleway/iam/get_user.py +30 -30
  250. pulumiverse_scaleway/iam/group.py +140 -139
  251. pulumiverse_scaleway/iam/group_membership.py +54 -53
  252. pulumiverse_scaleway/iam/outputs.py +70 -18
  253. pulumiverse_scaleway/iam/policy.py +169 -168
  254. pulumiverse_scaleway/iam/ssh_key.py +107 -106
  255. pulumiverse_scaleway/iam/user.py +598 -134
  256. pulumiverse_scaleway/iam_api_key.py +142 -141
  257. pulumiverse_scaleway/iam_application.py +98 -97
  258. pulumiverse_scaleway/iam_group.py +140 -139
  259. pulumiverse_scaleway/iam_group_membership.py +54 -53
  260. pulumiverse_scaleway/iam_policy.py +169 -168
  261. pulumiverse_scaleway/iam_ssh_key.py +107 -106
  262. pulumiverse_scaleway/iam_user.py +598 -134
  263. pulumiverse_scaleway/inference/__init__.py +4 -1
  264. pulumiverse_scaleway/inference/_inputs.py +232 -50
  265. pulumiverse_scaleway/inference/deployment.py +319 -220
  266. pulumiverse_scaleway/inference/get_model.py +299 -0
  267. pulumiverse_scaleway/inference/model.py +684 -0
  268. pulumiverse_scaleway/inference/outputs.py +250 -34
  269. pulumiverse_scaleway/inference_deployment.py +319 -220
  270. pulumiverse_scaleway/instance/__init__.py +3 -1
  271. pulumiverse_scaleway/instance/_inputs.py +650 -437
  272. pulumiverse_scaleway/instance/get_image.py +58 -58
  273. pulumiverse_scaleway/instance/get_ip.py +42 -30
  274. pulumiverse_scaleway/instance/get_placement_group.py +38 -38
  275. pulumiverse_scaleway/instance/get_private_nic.py +53 -41
  276. pulumiverse_scaleway/instance/get_security_group.py +46 -46
  277. pulumiverse_scaleway/instance/get_server.py +108 -145
  278. pulumiverse_scaleway/instance/get_server_type.py +271 -0
  279. pulumiverse_scaleway/instance/get_servers.py +31 -31
  280. pulumiverse_scaleway/instance/get_snapshot.py +41 -41
  281. pulumiverse_scaleway/instance/get_volume.py +42 -42
  282. pulumiverse_scaleway/instance/image.py +260 -205
  283. pulumiverse_scaleway/instance/ip.py +116 -115
  284. pulumiverse_scaleway/instance/ip_reverse_dns.py +54 -53
  285. pulumiverse_scaleway/instance/outputs.py +981 -548
  286. pulumiverse_scaleway/instance/placement_group.py +123 -122
  287. pulumiverse_scaleway/instance/private_nic.py +163 -113
  288. pulumiverse_scaleway/instance/security_group.py +188 -187
  289. pulumiverse_scaleway/instance/security_group_rules.py +42 -41
  290. pulumiverse_scaleway/instance/server.py +590 -562
  291. pulumiverse_scaleway/instance/snapshot.py +150 -157
  292. pulumiverse_scaleway/instance/user_data.py +75 -74
  293. pulumiverse_scaleway/instance/volume.py +174 -159
  294. pulumiverse_scaleway/instance_image.py +260 -205
  295. pulumiverse_scaleway/instance_ip.py +116 -115
  296. pulumiverse_scaleway/instance_ip_reverse_dns.py +54 -53
  297. pulumiverse_scaleway/instance_placement_group.py +123 -122
  298. pulumiverse_scaleway/instance_private_nic.py +163 -113
  299. pulumiverse_scaleway/instance_security_group.py +188 -187
  300. pulumiverse_scaleway/instance_security_group_rules.py +42 -41
  301. pulumiverse_scaleway/instance_server.py +590 -562
  302. pulumiverse_scaleway/instance_snapshot.py +150 -157
  303. pulumiverse_scaleway/instance_user_data.py +75 -74
  304. pulumiverse_scaleway/instance_volume.py +174 -159
  305. pulumiverse_scaleway/iot/__init__.py +2 -1
  306. pulumiverse_scaleway/iot/_inputs.py +119 -119
  307. pulumiverse_scaleway/iot/device.py +156 -193
  308. pulumiverse_scaleway/iot/get_device.py +46 -46
  309. pulumiverse_scaleway/iot/get_hub.py +60 -60
  310. pulumiverse_scaleway/iot/hub.py +259 -258
  311. pulumiverse_scaleway/iot/network.py +115 -114
  312. pulumiverse_scaleway/iot/outputs.py +107 -107
  313. pulumiverse_scaleway/iot/route.py +109 -108
  314. pulumiverse_scaleway/iot_device.py +156 -193
  315. pulumiverse_scaleway/iot_hub.py +259 -258
  316. pulumiverse_scaleway/iot_network.py +115 -114
  317. pulumiverse_scaleway/iot_route.py +109 -108
  318. pulumiverse_scaleway/ipam/__init__.py +2 -1
  319. pulumiverse_scaleway/ipam/_inputs.py +108 -108
  320. pulumiverse_scaleway/ipam/get_ip.py +65 -65
  321. pulumiverse_scaleway/ipam/get_ips.py +56 -56
  322. pulumiverse_scaleway/ipam/ip.py +160 -131
  323. pulumiverse_scaleway/ipam/ip_reverse_dns.py +141 -70
  324. pulumiverse_scaleway/ipam/outputs.py +122 -122
  325. pulumiverse_scaleway/ipam_ip.py +160 -131
  326. pulumiverse_scaleway/ipam_ip_reverse_dns.py +141 -70
  327. pulumiverse_scaleway/job/__init__.py +2 -1
  328. pulumiverse_scaleway/job/_inputs.py +127 -14
  329. pulumiverse_scaleway/job/definition.py +283 -175
  330. pulumiverse_scaleway/job/outputs.py +98 -10
  331. pulumiverse_scaleway/job_definition.py +283 -175
  332. pulumiverse_scaleway/key_manager_key.py +939 -0
  333. pulumiverse_scaleway/kubernetes/__init__.py +3 -1
  334. pulumiverse_scaleway/kubernetes/_inputs.py +388 -185
  335. pulumiverse_scaleway/kubernetes/acl.py +447 -0
  336. pulumiverse_scaleway/kubernetes/cluster.py +594 -307
  337. pulumiverse_scaleway/kubernetes/get_cluster.py +98 -65
  338. pulumiverse_scaleway/kubernetes/get_pool.py +86 -75
  339. pulumiverse_scaleway/kubernetes/get_version.py +34 -23
  340. pulumiverse_scaleway/kubernetes/outputs.py +444 -250
  341. pulumiverse_scaleway/kubernetes/pool.py +427 -365
  342. pulumiverse_scaleway/kubernetes_cluster.py +594 -307
  343. pulumiverse_scaleway/kubernetes_node_pool.py +427 -365
  344. pulumiverse_scaleway/loadbalancer.py +329 -246
  345. pulumiverse_scaleway/loadbalancer_acl.py +102 -101
  346. pulumiverse_scaleway/loadbalancer_backend.py +534 -487
  347. pulumiverse_scaleway/loadbalancer_certificate.py +97 -96
  348. pulumiverse_scaleway/loadbalancer_frontend.py +271 -167
  349. pulumiverse_scaleway/loadbalancer_ip.py +124 -123
  350. pulumiverse_scaleway/loadbalancer_route.py +244 -119
  351. pulumiverse_scaleway/loadbalancers/__init__.py +3 -1
  352. pulumiverse_scaleway/loadbalancers/_inputs.py +367 -273
  353. pulumiverse_scaleway/loadbalancers/acl.py +102 -101
  354. pulumiverse_scaleway/loadbalancers/backend.py +534 -487
  355. pulumiverse_scaleway/loadbalancers/certificate.py +97 -96
  356. pulumiverse_scaleway/loadbalancers/frontend.py +271 -167
  357. pulumiverse_scaleway/loadbalancers/get_acls.py +29 -29
  358. pulumiverse_scaleway/loadbalancers/get_backend.py +75 -75
  359. pulumiverse_scaleway/loadbalancers/get_backends.py +29 -29
  360. pulumiverse_scaleway/loadbalancers/get_certificate.py +96 -36
  361. pulumiverse_scaleway/loadbalancers/get_frontend.py +76 -43
  362. pulumiverse_scaleway/loadbalancers/get_frontends.py +29 -29
  363. pulumiverse_scaleway/loadbalancers/get_ip.py +40 -40
  364. pulumiverse_scaleway/loadbalancers/get_ips.py +37 -37
  365. pulumiverse_scaleway/loadbalancers/get_load_balancer.py +78 -56
  366. pulumiverse_scaleway/loadbalancers/get_load_balancers.py +31 -31
  367. pulumiverse_scaleway/loadbalancers/get_route.py +36 -25
  368. pulumiverse_scaleway/loadbalancers/get_routes.py +23 -23
  369. pulumiverse_scaleway/loadbalancers/ip.py +124 -123
  370. pulumiverse_scaleway/loadbalancers/load_balancer.py +329 -246
  371. pulumiverse_scaleway/loadbalancers/outputs.py +870 -716
  372. pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
  373. pulumiverse_scaleway/loadbalancers/route.py +244 -119
  374. pulumiverse_scaleway/mnq/__init__.py +2 -1
  375. pulumiverse_scaleway/mnq/_inputs.py +90 -38
  376. pulumiverse_scaleway/mnq/get_sns.py +18 -18
  377. pulumiverse_scaleway/mnq/get_sqs.py +18 -18
  378. pulumiverse_scaleway/mnq/nats_account.py +63 -62
  379. pulumiverse_scaleway/mnq/nats_credentials.py +63 -62
  380. pulumiverse_scaleway/mnq/outputs.py +73 -26
  381. pulumiverse_scaleway/mnq/sns.py +46 -45
  382. pulumiverse_scaleway/mnq/sns_credentials.py +82 -81
  383. pulumiverse_scaleway/mnq/sns_topic.py +174 -173
  384. pulumiverse_scaleway/mnq/sns_topic_subscription.py +182 -181
  385. pulumiverse_scaleway/mnq/sqs.py +46 -45
  386. pulumiverse_scaleway/mnq/sqs_credentials.py +82 -81
  387. pulumiverse_scaleway/mnq/sqs_queue.py +392 -232
  388. pulumiverse_scaleway/mnq_nats_account.py +63 -62
  389. pulumiverse_scaleway/mnq_nats_credentials.py +63 -62
  390. pulumiverse_scaleway/mnq_sns.py +46 -45
  391. pulumiverse_scaleway/mnq_sns_credentials.py +82 -81
  392. pulumiverse_scaleway/mnq_sns_topic.py +174 -173
  393. pulumiverse_scaleway/mnq_sns_topic_subscription.py +182 -181
  394. pulumiverse_scaleway/mnq_sqs.py +46 -45
  395. pulumiverse_scaleway/mnq_sqs_credentials.py +82 -81
  396. pulumiverse_scaleway/mnq_sqs_queue.py +392 -232
  397. pulumiverse_scaleway/mongo_db_instance.py +569 -268
  398. pulumiverse_scaleway/mongo_db_snapshot.py +127 -126
  399. pulumiverse_scaleway/mongodb/__init__.py +3 -1
  400. pulumiverse_scaleway/mongodb/_inputs.py +178 -51
  401. pulumiverse_scaleway/mongodb/get_instance.py +110 -55
  402. pulumiverse_scaleway/mongodb/instance.py +569 -268
  403. pulumiverse_scaleway/mongodb/outputs.py +192 -68
  404. pulumiverse_scaleway/mongodb/snapshot.py +127 -126
  405. pulumiverse_scaleway/mongodb/user.py +507 -0
  406. pulumiverse_scaleway/network/__init__.py +2 -1
  407. pulumiverse_scaleway/network/_inputs.py +209 -155
  408. pulumiverse_scaleway/network/acl.py +100 -101
  409. pulumiverse_scaleway/network/gateway_network.py +228 -180
  410. pulumiverse_scaleway/network/get_gateway_network.py +55 -44
  411. pulumiverse_scaleway/network/get_private_network.py +58 -47
  412. pulumiverse_scaleway/network/get_public_gateway.py +56 -56
  413. pulumiverse_scaleway/network/get_public_gateway_dhcp.py +44 -44
  414. pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +44 -44
  415. pulumiverse_scaleway/network/get_public_gateway_ip.py +24 -24
  416. pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +32 -32
  417. pulumiverse_scaleway/network/get_routes.py +47 -47
  418. pulumiverse_scaleway/network/get_vpc.py +58 -47
  419. pulumiverse_scaleway/network/get_vpcs.py +31 -31
  420. pulumiverse_scaleway/network/outputs.py +338 -270
  421. pulumiverse_scaleway/network/private_network.py +203 -155
  422. pulumiverse_scaleway/network/public_gateway.py +261 -260
  423. pulumiverse_scaleway/network/public_gateway_dhcp.py +285 -284
  424. pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +107 -106
  425. pulumiverse_scaleway/network/public_gateway_ip.py +107 -106
  426. pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +54 -53
  427. pulumiverse_scaleway/network/public_gateway_pat_rule.py +132 -131
  428. pulumiverse_scaleway/network/route.py +230 -141
  429. pulumiverse_scaleway/network/vpc.py +172 -124
  430. pulumiverse_scaleway/object/__init__.py +3 -1
  431. pulumiverse_scaleway/object/_inputs.py +202 -166
  432. pulumiverse_scaleway/object/bucket.py +162 -148
  433. pulumiverse_scaleway/object/bucket_acl.py +97 -94
  434. pulumiverse_scaleway/object/bucket_lock_configuration.py +57 -56
  435. pulumiverse_scaleway/object/bucket_policy.py +71 -134
  436. pulumiverse_scaleway/object/bucket_website_configuration.py +104 -85
  437. pulumiverse_scaleway/object/get.py +290 -0
  438. pulumiverse_scaleway/object/get_bucket.py +35 -35
  439. pulumiverse_scaleway/object/get_bucket_policy.py +22 -22
  440. pulumiverse_scaleway/object/item.py +301 -223
  441. pulumiverse_scaleway/object/outputs.py +210 -166
  442. pulumiverse_scaleway/object_bucket.py +162 -148
  443. pulumiverse_scaleway/object_bucket_acl.py +97 -94
  444. pulumiverse_scaleway/object_bucket_lock_configuration.py +57 -56
  445. pulumiverse_scaleway/object_bucket_policy.py +71 -134
  446. pulumiverse_scaleway/object_bucket_website_configuration.py +104 -85
  447. pulumiverse_scaleway/object_item.py +301 -223
  448. pulumiverse_scaleway/observability/__init__.py +4 -2
  449. pulumiverse_scaleway/observability/_inputs.py +106 -106
  450. pulumiverse_scaleway/observability/alert_manager.py +66 -65
  451. pulumiverse_scaleway/observability/cockpit.py +71 -49
  452. pulumiverse_scaleway/observability/get_grafana.py +103 -0
  453. pulumiverse_scaleway/observability/get_instance.py +16 -16
  454. pulumiverse_scaleway/observability/get_source.py +88 -45
  455. pulumiverse_scaleway/observability/get_sources.py +375 -0
  456. pulumiverse_scaleway/observability/grafana_user.py +72 -113
  457. pulumiverse_scaleway/observability/outputs.py +241 -101
  458. pulumiverse_scaleway/observability/source.py +142 -141
  459. pulumiverse_scaleway/observability/token.py +84 -83
  460. pulumiverse_scaleway/outputs.py +5235 -3665
  461. pulumiverse_scaleway/provider.py +107 -82
  462. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  463. pulumiverse_scaleway/rdb_snapshot.py +127 -126
  464. pulumiverse_scaleway/redis/__init__.py +2 -1
  465. pulumiverse_scaleway/redis/_inputs.py +163 -69
  466. pulumiverse_scaleway/redis/cluster.py +273 -225
  467. pulumiverse_scaleway/redis/get_cluster.py +65 -54
  468. pulumiverse_scaleway/redis/outputs.py +199 -87
  469. pulumiverse_scaleway/redis_cluster.py +273 -225
  470. pulumiverse_scaleway/registry/__init__.py +2 -1
  471. pulumiverse_scaleway/registry/get_image.py +48 -48
  472. pulumiverse_scaleway/registry/get_image_tag.py +44 -44
  473. pulumiverse_scaleway/registry/get_namespace.py +36 -36
  474. pulumiverse_scaleway/registry/namespace.py +106 -105
  475. pulumiverse_scaleway/registry_namespace.py +106 -105
  476. pulumiverse_scaleway/sdb_database.py +97 -96
  477. pulumiverse_scaleway/secret.py +188 -179
  478. pulumiverse_scaleway/secret_version.py +107 -106
  479. pulumiverse_scaleway/secrets/__init__.py +2 -1
  480. pulumiverse_scaleway/secrets/_inputs.py +63 -63
  481. pulumiverse_scaleway/secrets/get_secret.py +58 -58
  482. pulumiverse_scaleway/secrets/get_version.py +46 -46
  483. pulumiverse_scaleway/secrets/outputs.py +84 -84
  484. pulumiverse_scaleway/secrets/secret.py +188 -179
  485. pulumiverse_scaleway/secrets/version.py +107 -106
  486. pulumiverse_scaleway/tem/__init__.py +2 -1
  487. pulumiverse_scaleway/tem/_inputs.py +33 -33
  488. pulumiverse_scaleway/tem/blocked_list.py +105 -104
  489. pulumiverse_scaleway/tem/domain.py +384 -257
  490. pulumiverse_scaleway/tem/domain_validation.py +63 -62
  491. pulumiverse_scaleway/tem/get_domain.py +103 -70
  492. pulumiverse_scaleway/tem/get_offer_subscription.py +34 -34
  493. pulumiverse_scaleway/tem/outputs.py +44 -44
  494. pulumiverse_scaleway/tem/webhook.py +132 -131
  495. pulumiverse_scaleway/tem_domain.py +384 -257
  496. pulumiverse_scaleway/tem_domain_validation.py +63 -62
  497. pulumiverse_scaleway/tem_webhook.py +132 -131
  498. pulumiverse_scaleway/vpc.py +172 -124
  499. pulumiverse_scaleway/vpc_gateway_network.py +228 -180
  500. pulumiverse_scaleway/vpc_private_network.py +203 -155
  501. pulumiverse_scaleway/vpc_public_gateway.py +261 -260
  502. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +285 -284
  503. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +107 -106
  504. pulumiverse_scaleway/vpc_public_gateway_ip.py +107 -106
  505. pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +54 -53
  506. pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +132 -131
  507. pulumiverse_scaleway/vpc_route.py +230 -141
  508. pulumiverse_scaleway/webhosting.py +213 -212
  509. {pulumiverse_scaleway-1.27.0a1744869119.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +2 -2
  510. pulumiverse_scaleway-1.39.0a1764841480.dist-info/RECORD +513 -0
  511. {pulumiverse_scaleway-1.27.0a1744869119.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +1 -1
  512. pulumiverse_scaleway/get_cockpit_plan.py +0 -129
  513. pulumiverse_scaleway/observability/get_plan.py +0 -125
  514. pulumiverse_scaleway-1.27.0a1744869119.dist-info/RECORD +0 -483
  515. {pulumiverse_scaleway-1.27.0a1744869119.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
 
@@ -1,12 +1,15 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins as _builtins
5
6
  from .. import _utilities
6
7
  import typing
7
8
  # Export this package's modules as members:
8
9
  from .get_availability_zones import *
9
10
  from .get_project import *
11
+ from .get_projects import *
10
12
  from .get_ssh_key import *
11
13
  from .project import *
12
14
  from .ssh_key import *
15
+ from . import outputs
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -37,22 +37,22 @@ class GetAvailabilityZonesResult:
37
37
  raise TypeError("Expected argument 'zones' to be a list")
38
38
  pulumi.set(__self__, "zones", zones)
39
39
 
40
- @property
40
+ @_builtins.property
41
41
  @pulumi.getter
42
- def id(self) -> str:
42
+ def id(self) -> _builtins.str:
43
43
  """
44
44
  The provider-assigned unique ID for this managed resource.
45
45
  """
46
46
  return pulumi.get(self, "id")
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter
50
- def region(self) -> Optional[str]:
50
+ def region(self) -> Optional[_builtins.str]:
51
51
  return pulumi.get(self, "region")
52
52
 
53
- @property
53
+ @_builtins.property
54
54
  @pulumi.getter
55
- def zones(self) -> Sequence[str]:
55
+ def zones(self) -> Sequence[_builtins.str]:
56
56
  """
57
57
  The list of availability zones in each Region
58
58
  """
@@ -70,7 +70,7 @@ class AwaitableGetAvailabilityZonesResult(GetAvailabilityZonesResult):
70
70
  zones=self.zones)
71
71
 
72
72
 
73
- def get_availability_zones(region: Optional[str] = None,
73
+ def get_availability_zones(region: Optional[_builtins.str] = None,
74
74
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAvailabilityZonesResult:
75
75
  """
76
76
  The `account_get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
@@ -93,7 +93,7 @@ def get_availability_zones(region: Optional[str] = None,
93
93
  ```
94
94
 
95
95
 
96
- :param str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
96
+ :param _builtins.str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
97
97
  """
98
98
  __args__ = dict()
99
99
  __args__['region'] = region
@@ -104,7 +104,7 @@ def get_availability_zones(region: Optional[str] = None,
104
104
  id=pulumi.get(__ret__, 'id'),
105
105
  region=pulumi.get(__ret__, 'region'),
106
106
  zones=pulumi.get(__ret__, 'zones'))
107
- def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]] = None,
107
+ def get_availability_zones_output(region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
108
108
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAvailabilityZonesResult]:
109
109
  """
110
110
  The `account_get_availability_zones` data source is used to retrieve information about the available zones based on its Region.
@@ -127,7 +127,7 @@ def get_availability_zones_output(region: Optional[pulumi.Input[Optional[str]]]
127
127
  ```
128
128
 
129
129
 
130
- :param str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
130
+ :param _builtins.str region: Region is represented as a Geographical area, such as France. Defaults to `fr-par`.
131
131
  """
132
132
  __args__ = dict()
133
133
  __args__['region'] = region
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -49,42 +49,42 @@ class GetProjectResult:
49
49
  raise TypeError("Expected argument 'updated_at' to be a str")
50
50
  pulumi.set(__self__, "updated_at", updated_at)
51
51
 
52
- @property
52
+ @_builtins.property
53
53
  @pulumi.getter(name="createdAt")
54
- def created_at(self) -> str:
54
+ def created_at(self) -> _builtins.str:
55
55
  return pulumi.get(self, "created_at")
56
56
 
57
- @property
57
+ @_builtins.property
58
58
  @pulumi.getter
59
- def description(self) -> str:
59
+ def description(self) -> _builtins.str:
60
60
  return pulumi.get(self, "description")
61
61
 
62
- @property
62
+ @_builtins.property
63
63
  @pulumi.getter
64
- def id(self) -> str:
64
+ def id(self) -> _builtins.str:
65
65
  """
66
66
  The provider-assigned unique ID for this managed resource.
67
67
  """
68
68
  return pulumi.get(self, "id")
69
69
 
70
- @property
70
+ @_builtins.property
71
71
  @pulumi.getter
72
- def name(self) -> Optional[str]:
72
+ def name(self) -> Optional[_builtins.str]:
73
73
  return pulumi.get(self, "name")
74
74
 
75
- @property
75
+ @_builtins.property
76
76
  @pulumi.getter(name="organizationId")
77
- def organization_id(self) -> Optional[str]:
77
+ def organization_id(self) -> Optional[_builtins.str]:
78
78
  return pulumi.get(self, "organization_id")
79
79
 
80
- @property
80
+ @_builtins.property
81
81
  @pulumi.getter(name="projectId")
82
- def project_id(self) -> str:
82
+ def project_id(self) -> _builtins.str:
83
83
  return pulumi.get(self, "project_id")
84
84
 
85
- @property
85
+ @_builtins.property
86
86
  @pulumi.getter(name="updatedAt")
87
- def updated_at(self) -> str:
87
+ def updated_at(self) -> _builtins.str:
88
88
  return pulumi.get(self, "updated_at")
89
89
 
90
90
 
@@ -103,9 +103,9 @@ class AwaitableGetProjectResult(GetProjectResult):
103
103
  updated_at=self.updated_at)
104
104
 
105
105
 
106
- def get_project(name: Optional[str] = None,
107
- organization_id: Optional[str] = None,
108
- project_id: Optional[str] = None,
106
+ def get_project(name: Optional[_builtins.str] = None,
107
+ organization_id: Optional[_builtins.str] = None,
108
+ project_id: Optional[_builtins.str] = None,
109
109
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
110
110
  """
111
111
  The `account.Project` data source is used to retrieve information about a Scaleway project.
@@ -113,12 +113,12 @@ def get_project(name: Optional[str] = None,
113
113
  Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
114
114
 
115
115
 
116
- :param str name: The name of the Project.
116
+ :param _builtins.str name: The name of the Project.
117
117
  Only one of the `name` and `project_id` should be specified.
118
- :param str organization_id: The unique identifier of the Organization with which the Project is associated.
118
+ :param _builtins.str organization_id: The unique identifier of the Organization with which the Project is associated.
119
119
 
120
120
  If no default `organization_id` is set, one must be set explicitly in this datasource
121
- :param str project_id: The unique identifier of the Project.
121
+ :param _builtins.str project_id: The unique identifier of the Project.
122
122
  Only one of the `name` and `project_id` should be specified.
123
123
  """
124
124
  __args__ = dict()
@@ -136,9 +136,9 @@ def get_project(name: Optional[str] = None,
136
136
  organization_id=pulumi.get(__ret__, 'organization_id'),
137
137
  project_id=pulumi.get(__ret__, 'project_id'),
138
138
  updated_at=pulumi.get(__ret__, 'updated_at'))
139
- def get_project_output(name: Optional[pulumi.Input[Optional[str]]] = None,
140
- organization_id: Optional[pulumi.Input[Optional[str]]] = None,
141
- project_id: Optional[pulumi.Input[Optional[str]]] = None,
139
+ def get_project_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
140
+ organization_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
141
+ project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
142
142
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
143
143
  """
144
144
  The `account.Project` data source is used to retrieve information about a Scaleway project.
@@ -146,12 +146,12 @@ def get_project_output(name: Optional[pulumi.Input[Optional[str]]] = None,
146
146
  Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
147
147
 
148
148
 
149
- :param str name: The name of the Project.
149
+ :param _builtins.str name: The name of the Project.
150
150
  Only one of the `name` and `project_id` should be specified.
151
- :param str organization_id: The unique identifier of the Organization with which the Project is associated.
151
+ :param _builtins.str organization_id: The unique identifier of the Organization with which the Project is associated.
152
152
 
153
153
  If no default `organization_id` is set, one must be set explicitly in this datasource
154
- :param str project_id: The unique identifier of the Project.
154
+ :param _builtins.str project_id: The unique identifier of the Project.
155
155
  Only one of the `name` and `project_id` should be specified.
156
156
  """
157
157
  __args__ = dict()
@@ -0,0 +1,241 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetProjectsResult',
20
+ 'AwaitableGetProjectsResult',
21
+ 'get_projects',
22
+ 'get_projects_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetProjectsResult:
27
+ """
28
+ A collection of values returned by getProjects.
29
+ """
30
+ def __init__(__self__, created_at=None, description=None, id=None, name=None, organization_id=None, projects=None, updated_at=None):
31
+ if created_at and not isinstance(created_at, str):
32
+ raise TypeError("Expected argument 'created_at' to be a str")
33
+ pulumi.set(__self__, "created_at", created_at)
34
+ if description and not isinstance(description, str):
35
+ raise TypeError("Expected argument 'description' to be a str")
36
+ pulumi.set(__self__, "description", description)
37
+ if id and not isinstance(id, str):
38
+ raise TypeError("Expected argument 'id' to be a str")
39
+ pulumi.set(__self__, "id", id)
40
+ if name and not isinstance(name, str):
41
+ raise TypeError("Expected argument 'name' to be a str")
42
+ pulumi.set(__self__, "name", name)
43
+ if organization_id and not isinstance(organization_id, str):
44
+ raise TypeError("Expected argument 'organization_id' to be a str")
45
+ pulumi.set(__self__, "organization_id", organization_id)
46
+ if projects and not isinstance(projects, list):
47
+ raise TypeError("Expected argument 'projects' to be a list")
48
+ pulumi.set(__self__, "projects", projects)
49
+ if updated_at and not isinstance(updated_at, str):
50
+ raise TypeError("Expected argument 'updated_at' to be a str")
51
+ pulumi.set(__self__, "updated_at", updated_at)
52
+
53
+ @_builtins.property
54
+ @pulumi.getter(name="createdAt")
55
+ def created_at(self) -> _builtins.str:
56
+ """
57
+ (Computed) The date and time when the project was created.
58
+ """
59
+ return pulumi.get(self, "created_at")
60
+
61
+ @_builtins.property
62
+ @pulumi.getter
63
+ def description(self) -> _builtins.str:
64
+ """
65
+ (Computed) The description of the project.
66
+ """
67
+ return pulumi.get(self, "description")
68
+
69
+ @_builtins.property
70
+ @pulumi.getter
71
+ def id(self) -> _builtins.str:
72
+ """
73
+ The provider-assigned unique ID for this managed resource.
74
+ """
75
+ return pulumi.get(self, "id")
76
+
77
+ @_builtins.property
78
+ @pulumi.getter
79
+ def name(self) -> _builtins.str:
80
+ """
81
+ (Computed) The name of the project.
82
+ """
83
+ return pulumi.get(self, "name")
84
+
85
+ @_builtins.property
86
+ @pulumi.getter(name="organizationId")
87
+ def organization_id(self) -> _builtins.str:
88
+ """
89
+ (Computed) The unique identifier of the organization with which the project is associated.
90
+ """
91
+ return pulumi.get(self, "organization_id")
92
+
93
+ @_builtins.property
94
+ @pulumi.getter
95
+ def projects(self) -> Sequence['outputs.GetProjectsProjectResult']:
96
+ """
97
+ (Computed) A list of projects. Each project has the following attributes:
98
+ """
99
+ return pulumi.get(self, "projects")
100
+
101
+ @_builtins.property
102
+ @pulumi.getter(name="updatedAt")
103
+ def updated_at(self) -> _builtins.str:
104
+ """
105
+ (Computed) The date and time when the project was updated.
106
+ """
107
+ return pulumi.get(self, "updated_at")
108
+
109
+
110
+ class AwaitableGetProjectsResult(GetProjectsResult):
111
+ # pylint: disable=using-constant-test
112
+ def __await__(self):
113
+ if False:
114
+ yield self
115
+ return GetProjectsResult(
116
+ created_at=self.created_at,
117
+ description=self.description,
118
+ id=self.id,
119
+ name=self.name,
120
+ organization_id=self.organization_id,
121
+ projects=self.projects,
122
+ updated_at=self.updated_at)
123
+
124
+
125
+ def get_projects(organization_id: Optional[_builtins.str] = None,
126
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectsResult:
127
+ """
128
+ The `account_get_projects` data source is used to list all Scaleway projects in an Organization.
129
+
130
+ Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
131
+
132
+ ## Retrieve a Scaleway Projects
133
+
134
+ The following commands allow you to:
135
+
136
+ - retrieve all Projects in an Organization
137
+
138
+ ```python
139
+ import pulumi
140
+ import pulumi_scaleway as scaleway
141
+
142
+ # Get all Projects in an Organization
143
+ all = scaleway.account.get_projects(organization_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
144
+ ```
145
+
146
+ ## Example Usage
147
+
148
+ ### Deploy an SSH key in all your organization's projects
149
+
150
+ ```python
151
+ import pulumi
152
+ import pulumi_scaleway as scaleway
153
+ import pulumiverse_scaleway as scaleway
154
+
155
+ all = scaleway.account.get_projects()
156
+ main = []
157
+ def create_main(range_body):
158
+ for range in [{"value": i} for i in range(0, range_body)]:
159
+ main.append(scaleway.account.SshKey(f"main-{range['value']}",
160
+ name="main",
161
+ public_key=public_key,
162
+ project_id=all.projects[range["value"]].id))
163
+
164
+ (len(all.projects)).apply(create_main)
165
+ ```
166
+
167
+
168
+ :param _builtins.str organization_id: The unique identifier of the Organization with which the Projects are associated.
169
+ If no default `organization_id` is set, one must be set explicitly in this datasource
170
+ """
171
+ __args__ = dict()
172
+ __args__['organizationId'] = organization_id
173
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
174
+ __ret__ = pulumi.runtime.invoke('scaleway:account/getProjects:getProjects', __args__, opts=opts, typ=GetProjectsResult).value
175
+
176
+ return AwaitableGetProjectsResult(
177
+ created_at=pulumi.get(__ret__, 'created_at'),
178
+ description=pulumi.get(__ret__, 'description'),
179
+ id=pulumi.get(__ret__, 'id'),
180
+ name=pulumi.get(__ret__, 'name'),
181
+ organization_id=pulumi.get(__ret__, 'organization_id'),
182
+ projects=pulumi.get(__ret__, 'projects'),
183
+ updated_at=pulumi.get(__ret__, 'updated_at'))
184
+ def get_projects_output(organization_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
185
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectsResult]:
186
+ """
187
+ The `account_get_projects` data source is used to list all Scaleway projects in an Organization.
188
+
189
+ Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/) and [API documentation](https://www.scaleway.com/en/developers/api/account/project-api/) for more information.
190
+
191
+ ## Retrieve a Scaleway Projects
192
+
193
+ The following commands allow you to:
194
+
195
+ - retrieve all Projects in an Organization
196
+
197
+ ```python
198
+ import pulumi
199
+ import pulumi_scaleway as scaleway
200
+
201
+ # Get all Projects in an Organization
202
+ all = scaleway.account.get_projects(organization_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
203
+ ```
204
+
205
+ ## Example Usage
206
+
207
+ ### Deploy an SSH key in all your organization's projects
208
+
209
+ ```python
210
+ import pulumi
211
+ import pulumi_scaleway as scaleway
212
+ import pulumiverse_scaleway as scaleway
213
+
214
+ all = scaleway.account.get_projects()
215
+ main = []
216
+ def create_main(range_body):
217
+ for range in [{"value": i} for i in range(0, range_body)]:
218
+ main.append(scaleway.account.SshKey(f"main-{range['value']}",
219
+ name="main",
220
+ public_key=public_key,
221
+ project_id=all.projects[range["value"]].id))
222
+
223
+ (len(all.projects)).apply(create_main)
224
+ ```
225
+
226
+
227
+ :param _builtins.str organization_id: The unique identifier of the Organization with which the Projects are associated.
228
+ If no default `organization_id` is set, one must be set explicitly in this datasource
229
+ """
230
+ __args__ = dict()
231
+ __args__['organizationId'] = organization_id
232
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
233
+ __ret__ = pulumi.runtime.invoke_output('scaleway:account/getProjects:getProjects', __args__, opts=opts, typ=GetProjectsResult)
234
+ return __ret__.apply(lambda __response__: GetProjectsResult(
235
+ created_at=pulumi.get(__response__, 'created_at'),
236
+ description=pulumi.get(__response__, 'description'),
237
+ id=pulumi.get(__response__, 'id'),
238
+ name=pulumi.get(__response__, 'name'),
239
+ organization_id=pulumi.get(__response__, 'organization_id'),
240
+ projects=pulumi.get(__response__, 'projects'),
241
+ updated_at=pulumi.get(__response__, 'updated_at')))
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -58,63 +58,63 @@ class GetSshKeyResult:
58
58
  raise TypeError("Expected argument 'updated_at' to be a str")
59
59
  pulumi.set(__self__, "updated_at", updated_at)
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter(name="createdAt")
63
- def created_at(self) -> str:
63
+ def created_at(self) -> _builtins.str:
64
64
  return pulumi.get(self, "created_at")
65
65
 
66
- @property
66
+ @_builtins.property
67
67
  @pulumi.getter
68
- def disabled(self) -> bool:
68
+ def disabled(self) -> _builtins.bool:
69
69
  return pulumi.get(self, "disabled")
70
70
 
71
- @property
71
+ @_builtins.property
72
72
  @pulumi.getter
73
- def fingerprint(self) -> str:
73
+ def fingerprint(self) -> _builtins.str:
74
74
  return pulumi.get(self, "fingerprint")
75
75
 
76
- @property
76
+ @_builtins.property
77
77
  @pulumi.getter
78
- def id(self) -> str:
78
+ def id(self) -> _builtins.str:
79
79
  """
80
80
  The provider-assigned unique ID for this managed resource.
81
81
  """
82
82
  return pulumi.get(self, "id")
83
83
 
84
- @property
84
+ @_builtins.property
85
85
  @pulumi.getter
86
- def name(self) -> Optional[str]:
86
+ def name(self) -> Optional[_builtins.str]:
87
87
  return pulumi.get(self, "name")
88
88
 
89
- @property
89
+ @_builtins.property
90
90
  @pulumi.getter(name="organizationId")
91
- def organization_id(self) -> str:
91
+ def organization_id(self) -> _builtins.str:
92
92
  """
93
93
  The unique identifier of the Organization with which the SSH key is associated.
94
94
  """
95
95
  return pulumi.get(self, "organization_id")
96
96
 
97
- @property
97
+ @_builtins.property
98
98
  @pulumi.getter(name="projectId")
99
- def project_id(self) -> Optional[str]:
99
+ def project_id(self) -> Optional[_builtins.str]:
100
100
  return pulumi.get(self, "project_id")
101
101
 
102
- @property
102
+ @_builtins.property
103
103
  @pulumi.getter(name="publicKey")
104
- def public_key(self) -> str:
104
+ def public_key(self) -> _builtins.str:
105
105
  """
106
106
  The string of the SSH public key.
107
107
  """
108
108
  return pulumi.get(self, "public_key")
109
109
 
110
- @property
110
+ @_builtins.property
111
111
  @pulumi.getter(name="sshKeyId")
112
- def ssh_key_id(self) -> Optional[str]:
112
+ def ssh_key_id(self) -> Optional[_builtins.str]:
113
113
  return pulumi.get(self, "ssh_key_id")
114
114
 
115
- @property
115
+ @_builtins.property
116
116
  @pulumi.getter(name="updatedAt")
117
- def updated_at(self) -> str:
117
+ def updated_at(self) -> _builtins.str:
118
118
  return pulumi.get(self, "updated_at")
119
119
 
120
120
 
@@ -136,9 +136,9 @@ class AwaitableGetSshKeyResult(GetSshKeyResult):
136
136
  updated_at=self.updated_at)
137
137
 
138
138
 
139
- def get_ssh_key(name: Optional[str] = None,
140
- project_id: Optional[str] = None,
141
- ssh_key_id: Optional[str] = None,
139
+ def get_ssh_key(name: Optional[_builtins.str] = None,
140
+ project_id: Optional[_builtins.str] = None,
141
+ ssh_key_id: Optional[_builtins.str] = None,
142
142
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSshKeyResult:
143
143
  """
144
144
  The `account.SshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
@@ -146,9 +146,9 @@ def get_ssh_key(name: Optional[str] = None,
146
146
  Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
147
147
 
148
148
 
149
- :param str name: The name of the SSH key.
150
- :param str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
151
- :param str ssh_key_id: The unique identifier of the SSH key.
149
+ :param _builtins.str name: The name of the SSH key.
150
+ :param _builtins.str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
151
+ :param _builtins.str ssh_key_id: The unique identifier of the SSH key.
152
152
 
153
153
  > **Note** You must specify at least one: `name` and/or `ssh_key_id`.
154
154
  """
@@ -170,9 +170,9 @@ def get_ssh_key(name: Optional[str] = None,
170
170
  public_key=pulumi.get(__ret__, 'public_key'),
171
171
  ssh_key_id=pulumi.get(__ret__, 'ssh_key_id'),
172
172
  updated_at=pulumi.get(__ret__, 'updated_at'))
173
- def get_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
174
- project_id: Optional[pulumi.Input[Optional[str]]] = None,
175
- ssh_key_id: Optional[pulumi.Input[Optional[str]]] = None,
173
+ def get_ssh_key_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
174
+ project_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
175
+ ssh_key_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
176
176
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSshKeyResult]:
177
177
  """
178
178
  The `account.SshKey` data source is used to retrieve information about a the SSH key of a Scaleway account.
@@ -180,9 +180,9 @@ def get_ssh_key_output(name: Optional[pulumi.Input[Optional[str]]] = None,
180
180
  Refer to the Organizations and Projects [documentation](https://www.scaleway.com/en/docs/organizations-and-projects/how-to/create-ssh-key/) and [API documentation](https://www.scaleway.com/en/developers/api/iam/#path-ssh-keys) for more information.
181
181
 
182
182
 
183
- :param str name: The name of the SSH key.
184
- :param str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
185
- :param str ssh_key_id: The unique identifier of the SSH key.
183
+ :param _builtins.str name: The name of the SSH key.
184
+ :param _builtins.str project_id: `project_id`) The unique identifier of the project with which the SSH key is associated.
185
+ :param _builtins.str ssh_key_id: The unique identifier of the SSH key.
186
186
 
187
187
  > **Note** You must specify at least one: `name` and/or `ssh_key_id`.
188
188
  """