pulumiverse-scaleway 1.30.0a1750140900__py3-none-any.whl → 1.30.0a1752168858__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 (490) hide show
  1. pulumiverse_scaleway/__init__.py +11 -1
  2. pulumiverse_scaleway/_inputs.py +2252 -2143
  3. pulumiverse_scaleway/_utilities.py +1 -1
  4. pulumiverse_scaleway/account/__init__.py +2 -1
  5. pulumiverse_scaleway/account/get_availability_zones.py +9 -8
  6. pulumiverse_scaleway/account/get_project.py +21 -20
  7. pulumiverse_scaleway/account/get_projects.py +28 -21
  8. pulumiverse_scaleway/account/get_ssh_key.py +24 -23
  9. pulumiverse_scaleway/account/outputs.py +20 -19
  10. pulumiverse_scaleway/account/project.py +59 -57
  11. pulumiverse_scaleway/account/ssh_key.py +87 -85
  12. pulumiverse_scaleway/account_project.py +59 -57
  13. pulumiverse_scaleway/account_ssh_key.py +87 -85
  14. pulumiverse_scaleway/apple_silicon_server.py +204 -155
  15. pulumiverse_scaleway/applesilicon/__init__.py +2 -1
  16. pulumiverse_scaleway/applesilicon/_inputs.py +89 -34
  17. pulumiverse_scaleway/applesilicon/outputs.py +54 -21
  18. pulumiverse_scaleway/applesilicon/server.py +204 -155
  19. pulumiverse_scaleway/baremetal_server.py +262 -260
  20. pulumiverse_scaleway/billing/__init__.py +2 -1
  21. pulumiverse_scaleway/billing/get_consumptions.py +10 -9
  22. pulumiverse_scaleway/billing/get_invoices.py +19 -18
  23. pulumiverse_scaleway/billing/outputs.py +73 -72
  24. pulumiverse_scaleway/block/__init__.py +2 -1
  25. pulumiverse_scaleway/block/_inputs.py +12 -11
  26. pulumiverse_scaleway/block/get_snapshot.py +29 -28
  27. pulumiverse_scaleway/block/get_volume.py +28 -27
  28. pulumiverse_scaleway/block/outputs.py +14 -13
  29. pulumiverse_scaleway/block/snapshot.py +73 -71
  30. pulumiverse_scaleway/block/volume.py +115 -113
  31. pulumiverse_scaleway/block_snapshot.py +73 -71
  32. pulumiverse_scaleway/block_volume.py +115 -113
  33. pulumiverse_scaleway/cockpit.py +38 -36
  34. pulumiverse_scaleway/cockpit_alert_manager.py +52 -50
  35. pulumiverse_scaleway/cockpit_grafana_user.py +59 -57
  36. pulumiverse_scaleway/cockpit_source.py +115 -113
  37. pulumiverse_scaleway/cockpit_token.py +66 -64
  38. pulumiverse_scaleway/config/__init__.py +2 -1
  39. pulumiverse_scaleway/config/__init__.pyi +2 -1
  40. pulumiverse_scaleway/config/vars.py +2 -1
  41. pulumiverse_scaleway/container.py +573 -343
  42. pulumiverse_scaleway/container_cron.py +80 -78
  43. pulumiverse_scaleway/container_domain.py +52 -50
  44. pulumiverse_scaleway/container_namespace.py +211 -140
  45. pulumiverse_scaleway/container_token.py +80 -78
  46. pulumiverse_scaleway/container_trigger.py +59 -57
  47. pulumiverse_scaleway/containers/__init__.py +2 -1
  48. pulumiverse_scaleway/containers/_inputs.py +72 -71
  49. pulumiverse_scaleway/containers/container.py +573 -343
  50. pulumiverse_scaleway/containers/cron.py +80 -78
  51. pulumiverse_scaleway/containers/domain.py +52 -50
  52. pulumiverse_scaleway/containers/get_container.py +87 -42
  53. pulumiverse_scaleway/containers/get_namespace.py +43 -31
  54. pulumiverse_scaleway/containers/namespace.py +211 -140
  55. pulumiverse_scaleway/containers/outputs.py +62 -61
  56. pulumiverse_scaleway/containers/token.py +80 -78
  57. pulumiverse_scaleway/containers/trigger.py +59 -57
  58. pulumiverse_scaleway/database.py +66 -64
  59. pulumiverse_scaleway/database_acl.py +31 -29
  60. pulumiverse_scaleway/database_backup.py +101 -99
  61. pulumiverse_scaleway/database_instance.py +297 -295
  62. pulumiverse_scaleway/database_privilege.py +73 -71
  63. pulumiverse_scaleway/database_read_replica.py +45 -43
  64. pulumiverse_scaleway/database_user.py +73 -71
  65. pulumiverse_scaleway/databases/__init__.py +2 -1
  66. pulumiverse_scaleway/databases/_inputs.py +191 -190
  67. pulumiverse_scaleway/databases/acl.py +31 -29
  68. pulumiverse_scaleway/databases/database.py +66 -64
  69. pulumiverse_scaleway/databases/database_backup.py +101 -99
  70. pulumiverse_scaleway/databases/get_acl.py +13 -12
  71. pulumiverse_scaleway/databases/get_database.py +19 -18
  72. pulumiverse_scaleway/databases/get_database_backup.py +34 -33
  73. pulumiverse_scaleway/databases/get_instance.py +43 -42
  74. pulumiverse_scaleway/databases/get_privilege.py +24 -23
  75. pulumiverse_scaleway/databases/instance.py +297 -295
  76. pulumiverse_scaleway/databases/outputs.py +188 -187
  77. pulumiverse_scaleway/databases/privilege.py +73 -71
  78. pulumiverse_scaleway/databases/read_replica.py +45 -43
  79. pulumiverse_scaleway/databases/serverless_database.py +80 -78
  80. pulumiverse_scaleway/databases/snapshot.py +101 -99
  81. pulumiverse_scaleway/databases/user.py +73 -71
  82. pulumiverse_scaleway/domain/__init__.py +2 -1
  83. pulumiverse_scaleway/domain/_inputs.py +531 -530
  84. pulumiverse_scaleway/domain/get_record.py +38 -37
  85. pulumiverse_scaleway/domain/get_zone.py +24 -23
  86. pulumiverse_scaleway/domain/outputs.py +358 -357
  87. pulumiverse_scaleway/domain/record.py +129 -127
  88. pulumiverse_scaleway/domain/registration.py +94 -92
  89. pulumiverse_scaleway/domain/zone.py +87 -85
  90. pulumiverse_scaleway/domain_record.py +129 -127
  91. pulumiverse_scaleway/domain_zone.py +87 -85
  92. pulumiverse_scaleway/edge_services_backend_stage.py +45 -43
  93. pulumiverse_scaleway/edge_services_cache_stage.py +115 -113
  94. pulumiverse_scaleway/edge_services_dns_stage.py +108 -106
  95. pulumiverse_scaleway/edge_services_head_stage.py +31 -29
  96. pulumiverse_scaleway/edge_services_pipeline.py +66 -64
  97. pulumiverse_scaleway/edge_services_plan.py +31 -29
  98. pulumiverse_scaleway/edge_services_route_stage.py +59 -57
  99. pulumiverse_scaleway/edge_services_tls_stage.py +122 -120
  100. pulumiverse_scaleway/edge_services_waf_stage.py +87 -85
  101. pulumiverse_scaleway/elasticmetal/__init__.py +2 -1
  102. pulumiverse_scaleway/elasticmetal/_inputs.py +123 -122
  103. pulumiverse_scaleway/elasticmetal/get_ip.py +56 -39
  104. pulumiverse_scaleway/elasticmetal/get_ips.py +24 -23
  105. pulumiverse_scaleway/elasticmetal/get_offer.py +29 -28
  106. pulumiverse_scaleway/elasticmetal/get_option.py +19 -18
  107. pulumiverse_scaleway/elasticmetal/get_os.py +23 -22
  108. pulumiverse_scaleway/elasticmetal/get_partition_schema.py +29 -28
  109. pulumiverse_scaleway/elasticmetal/get_server.py +39 -38
  110. pulumiverse_scaleway/elasticmetal/ip.py +139 -137
  111. pulumiverse_scaleway/elasticmetal/ip_mac_address.py +87 -85
  112. pulumiverse_scaleway/elasticmetal/outputs.py +233 -232
  113. pulumiverse_scaleway/elasticmetal/server.py +262 -260
  114. pulumiverse_scaleway/file_filesystem.py +552 -0
  115. pulumiverse_scaleway/flexible_ip.py +139 -137
  116. pulumiverse_scaleway/flexible_ip_mac_address.py +87 -85
  117. pulumiverse_scaleway/function.py +394 -284
  118. pulumiverse_scaleway/function_cron.py +80 -78
  119. pulumiverse_scaleway/function_domain.py +52 -50
  120. pulumiverse_scaleway/function_namespace.py +197 -126
  121. pulumiverse_scaleway/function_token.py +80 -78
  122. pulumiverse_scaleway/function_trigger.py +59 -57
  123. pulumiverse_scaleway/functions/__init__.py +2 -1
  124. pulumiverse_scaleway/functions/_inputs.py +42 -41
  125. pulumiverse_scaleway/functions/cron.py +80 -78
  126. pulumiverse_scaleway/functions/domain.py +52 -50
  127. pulumiverse_scaleway/functions/function.py +394 -284
  128. pulumiverse_scaleway/functions/get_function.py +69 -46
  129. pulumiverse_scaleway/functions/get_namespace.py +42 -30
  130. pulumiverse_scaleway/functions/namespace.py +197 -126
  131. pulumiverse_scaleway/functions/outputs.py +26 -25
  132. pulumiverse_scaleway/functions/token.py +80 -78
  133. pulumiverse_scaleway/functions/trigger.py +59 -57
  134. pulumiverse_scaleway/get_account_project.py +21 -20
  135. pulumiverse_scaleway/get_account_ssh_key.py +24 -23
  136. pulumiverse_scaleway/get_availability_zones.py +9 -8
  137. pulumiverse_scaleway/get_baremetal_offer.py +29 -28
  138. pulumiverse_scaleway/get_baremetal_option.py +19 -18
  139. pulumiverse_scaleway/get_baremetal_os.py +23 -22
  140. pulumiverse_scaleway/get_baremetal_server.py +39 -38
  141. pulumiverse_scaleway/get_billing_consumptions.py +10 -9
  142. pulumiverse_scaleway/get_billing_invoices.py +19 -18
  143. pulumiverse_scaleway/get_block_snapshot.py +29 -28
  144. pulumiverse_scaleway/get_block_volume.py +28 -27
  145. pulumiverse_scaleway/get_cockpit.py +10 -9
  146. pulumiverse_scaleway/get_cockpit_source.py +33 -32
  147. pulumiverse_scaleway/get_config.py +13 -12
  148. pulumiverse_scaleway/get_container.py +87 -42
  149. pulumiverse_scaleway/get_container_namespace.py +43 -31
  150. pulumiverse_scaleway/get_database.py +19 -18
  151. pulumiverse_scaleway/get_database_acl.py +13 -12
  152. pulumiverse_scaleway/get_database_backup.py +34 -33
  153. pulumiverse_scaleway/get_database_instance.py +43 -42
  154. pulumiverse_scaleway/get_database_privilege.py +24 -23
  155. pulumiverse_scaleway/get_domain_record.py +38 -37
  156. pulumiverse_scaleway/get_domain_zone.py +24 -23
  157. pulumiverse_scaleway/get_flexible_ip.py +56 -39
  158. pulumiverse_scaleway/get_flexible_ips.py +24 -23
  159. pulumiverse_scaleway/get_function.py +69 -46
  160. pulumiverse_scaleway/get_function_namespace.py +42 -30
  161. pulumiverse_scaleway/get_iam_api_key.py +17 -16
  162. pulumiverse_scaleway/get_iam_application.py +23 -22
  163. pulumiverse_scaleway/get_iam_group.py +25 -24
  164. pulumiverse_scaleway/get_iam_ssh_key.py +24 -23
  165. pulumiverse_scaleway/get_iam_user.py +23 -22
  166. pulumiverse_scaleway/get_instance_image.py +42 -41
  167. pulumiverse_scaleway/get_instance_ip.py +20 -19
  168. pulumiverse_scaleway/get_instance_placement_group.py +28 -27
  169. pulumiverse_scaleway/get_instance_private_nic.py +31 -30
  170. pulumiverse_scaleway/get_instance_security_group.py +31 -30
  171. pulumiverse_scaleway/get_instance_server.py +59 -47
  172. pulumiverse_scaleway/get_instance_servers.py +24 -23
  173. pulumiverse_scaleway/get_instance_snapshot.py +29 -28
  174. pulumiverse_scaleway/get_instance_volume.py +30 -29
  175. pulumiverse_scaleway/get_iot_device.py +31 -30
  176. pulumiverse_scaleway/get_iot_hub.py +39 -38
  177. pulumiverse_scaleway/get_ipam_ip.py +51 -50
  178. pulumiverse_scaleway/get_ipam_ips.py +44 -43
  179. pulumiverse_scaleway/get_k8s_version.py +16 -15
  180. pulumiverse_scaleway/get_kubernetes_cluster.py +39 -38
  181. pulumiverse_scaleway/get_kubernetes_node_pool.py +47 -46
  182. pulumiverse_scaleway/get_lb_acls.py +22 -21
  183. pulumiverse_scaleway/get_lb_backend.py +43 -42
  184. pulumiverse_scaleway/get_lb_backends.py +22 -21
  185. pulumiverse_scaleway/get_lb_frontend.py +26 -25
  186. pulumiverse_scaleway/get_lb_frontends.py +22 -21
  187. pulumiverse_scaleway/get_lb_ips.py +29 -28
  188. pulumiverse_scaleway/get_lb_route.py +16 -15
  189. pulumiverse_scaleway/get_lb_routes.py +17 -16
  190. pulumiverse_scaleway/get_lbs.py +24 -23
  191. pulumiverse_scaleway/get_loadbalancer.py +36 -35
  192. pulumiverse_scaleway/get_loadbalancer_certificate.py +24 -23
  193. pulumiverse_scaleway/get_loadbalancer_ip.py +29 -28
  194. pulumiverse_scaleway/get_marketplace_image.py +23 -22
  195. pulumiverse_scaleway/get_mnq_sns.py +14 -13
  196. pulumiverse_scaleway/get_mnq_sqs.py +14 -13
  197. pulumiverse_scaleway/get_mongo_db_instance.py +35 -34
  198. pulumiverse_scaleway/get_object_bucket.py +22 -21
  199. pulumiverse_scaleway/get_object_bucket_policy.py +17 -16
  200. pulumiverse_scaleway/get_redis_cluster.py +34 -33
  201. pulumiverse_scaleway/get_registry_image.py +37 -36
  202. pulumiverse_scaleway/get_registry_image_tag.py +33 -32
  203. pulumiverse_scaleway/get_registry_namespace.py +27 -26
  204. pulumiverse_scaleway/get_secret.py +41 -40
  205. pulumiverse_scaleway/get_secret_version.py +34 -33
  206. pulumiverse_scaleway/get_tem_domain.py +43 -42
  207. pulumiverse_scaleway/get_vpc.py +35 -34
  208. pulumiverse_scaleway/get_vpc_gateway_network.py +28 -27
  209. pulumiverse_scaleway/get_vpc_private_network.py +32 -31
  210. pulumiverse_scaleway/get_vpc_public_gateway.py +36 -35
  211. pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +24 -23
  212. pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +33 -32
  213. pulumiverse_scaleway/get_vpc_public_gateway_ip.py +14 -13
  214. pulumiverse_scaleway/get_vpc_public_pat_rule.py +21 -20
  215. pulumiverse_scaleway/get_vpc_routes.py +38 -37
  216. pulumiverse_scaleway/get_vpcs.py +24 -23
  217. pulumiverse_scaleway/get_web_host_offer.py +25 -24
  218. pulumiverse_scaleway/get_webhosting.py +36 -35
  219. pulumiverse_scaleway/hosting/__init__.py +2 -1
  220. pulumiverse_scaleway/hosting/_inputs.py +61 -60
  221. pulumiverse_scaleway/hosting/get_hosting.py +36 -35
  222. pulumiverse_scaleway/hosting/get_offer.py +25 -24
  223. pulumiverse_scaleway/hosting/hosting.py +164 -162
  224. pulumiverse_scaleway/hosting/outputs.py +139 -138
  225. pulumiverse_scaleway/iam/__init__.py +2 -1
  226. pulumiverse_scaleway/iam/_inputs.py +22 -21
  227. pulumiverse_scaleway/iam/api_key.py +115 -113
  228. pulumiverse_scaleway/iam/application.py +80 -78
  229. pulumiverse_scaleway/iam/get_api_key.py +17 -16
  230. pulumiverse_scaleway/iam/get_application.py +23 -22
  231. pulumiverse_scaleway/iam/get_group.py +25 -24
  232. pulumiverse_scaleway/iam/get_ssh_key.py +24 -23
  233. pulumiverse_scaleway/iam/get_user.py +23 -22
  234. pulumiverse_scaleway/iam/group.py +115 -113
  235. pulumiverse_scaleway/iam/group_membership.py +45 -43
  236. pulumiverse_scaleway/iam/outputs.py +14 -13
  237. pulumiverse_scaleway/iam/policy.py +136 -134
  238. pulumiverse_scaleway/iam/ssh_key.py +87 -85
  239. pulumiverse_scaleway/iam/user.py +284 -273
  240. pulumiverse_scaleway/iam_api_key.py +115 -113
  241. pulumiverse_scaleway/iam_application.py +80 -78
  242. pulumiverse_scaleway/iam_group.py +115 -113
  243. pulumiverse_scaleway/iam_group_membership.py +45 -43
  244. pulumiverse_scaleway/iam_policy.py +136 -134
  245. pulumiverse_scaleway/iam_ssh_key.py +87 -85
  246. pulumiverse_scaleway/iam_user.py +284 -273
  247. pulumiverse_scaleway/inference/__init__.py +2 -1
  248. pulumiverse_scaleway/inference/_inputs.py +116 -61
  249. pulumiverse_scaleway/inference/deployment.py +225 -176
  250. pulumiverse_scaleway/inference/get_model.py +27 -26
  251. pulumiverse_scaleway/inference/model.py +129 -127
  252. pulumiverse_scaleway/inference/outputs.py +82 -49
  253. pulumiverse_scaleway/inference_deployment.py +225 -176
  254. pulumiverse_scaleway/instance/__init__.py +2 -1
  255. pulumiverse_scaleway/instance/_inputs.py +296 -295
  256. pulumiverse_scaleway/instance/get_image.py +42 -41
  257. pulumiverse_scaleway/instance/get_ip.py +20 -19
  258. pulumiverse_scaleway/instance/get_placement_group.py +28 -27
  259. pulumiverse_scaleway/instance/get_private_nic.py +31 -30
  260. pulumiverse_scaleway/instance/get_security_group.py +31 -30
  261. pulumiverse_scaleway/instance/get_server.py +59 -47
  262. pulumiverse_scaleway/instance/get_servers.py +24 -23
  263. pulumiverse_scaleway/instance/get_snapshot.py +29 -28
  264. pulumiverse_scaleway/instance/get_volume.py +30 -29
  265. pulumiverse_scaleway/instance/image.py +150 -148
  266. pulumiverse_scaleway/instance/ip.py +94 -92
  267. pulumiverse_scaleway/instance/ip_reverse_dns.py +45 -43
  268. pulumiverse_scaleway/instance/outputs.py +349 -348
  269. pulumiverse_scaleway/instance/placement_group.py +101 -99
  270. pulumiverse_scaleway/instance/private_nic.py +94 -92
  271. pulumiverse_scaleway/instance/security_group.py +150 -148
  272. pulumiverse_scaleway/instance/security_group_rules.py +17 -15
  273. pulumiverse_scaleway/instance/server.py +393 -330
  274. pulumiverse_scaleway/instance/snapshot.py +108 -106
  275. pulumiverse_scaleway/instance/user_data.py +59 -57
  276. pulumiverse_scaleway/instance/volume.py +129 -127
  277. pulumiverse_scaleway/instance_image.py +150 -148
  278. pulumiverse_scaleway/instance_ip.py +94 -92
  279. pulumiverse_scaleway/instance_ip_reverse_dns.py +45 -43
  280. pulumiverse_scaleway/instance_placement_group.py +101 -99
  281. pulumiverse_scaleway/instance_private_nic.py +94 -92
  282. pulumiverse_scaleway/instance_security_group.py +150 -148
  283. pulumiverse_scaleway/instance_security_group_rules.py +17 -15
  284. pulumiverse_scaleway/instance_server.py +393 -330
  285. pulumiverse_scaleway/instance_snapshot.py +108 -106
  286. pulumiverse_scaleway/instance_user_data.py +59 -57
  287. pulumiverse_scaleway/instance_volume.py +129 -127
  288. pulumiverse_scaleway/iot/__init__.py +2 -1
  289. pulumiverse_scaleway/iot/_inputs.py +98 -97
  290. pulumiverse_scaleway/iot/device.py +122 -120
  291. pulumiverse_scaleway/iot/get_device.py +31 -30
  292. pulumiverse_scaleway/iot/get_hub.py +39 -38
  293. pulumiverse_scaleway/iot/hub.py +206 -204
  294. pulumiverse_scaleway/iot/network.py +94 -92
  295. pulumiverse_scaleway/iot/outputs.py +78 -77
  296. pulumiverse_scaleway/iot/route.py +66 -64
  297. pulumiverse_scaleway/iot_device.py +122 -120
  298. pulumiverse_scaleway/iot_hub.py +206 -204
  299. pulumiverse_scaleway/iot_network.py +94 -92
  300. pulumiverse_scaleway/iot_route.py +66 -64
  301. pulumiverse_scaleway/ipam/__init__.py +2 -1
  302. pulumiverse_scaleway/ipam/_inputs.py +87 -86
  303. pulumiverse_scaleway/ipam/get_ip.py +51 -50
  304. pulumiverse_scaleway/ipam/get_ips.py +44 -43
  305. pulumiverse_scaleway/ipam/ip.py +94 -92
  306. pulumiverse_scaleway/ipam/ip_reverse_dns.py +59 -57
  307. pulumiverse_scaleway/ipam/outputs.py +90 -89
  308. pulumiverse_scaleway/ipam_ip.py +94 -92
  309. pulumiverse_scaleway/ipam_ip_reverse_dns.py +59 -57
  310. pulumiverse_scaleway/job/__init__.py +2 -1
  311. pulumiverse_scaleway/job/_inputs.py +38 -37
  312. pulumiverse_scaleway/job/definition.py +143 -141
  313. pulumiverse_scaleway/job/outputs.py +24 -23
  314. pulumiverse_scaleway/job_definition.py +143 -141
  315. pulumiverse_scaleway/kubernetes/__init__.py +2 -1
  316. pulumiverse_scaleway/kubernetes/_inputs.py +190 -189
  317. pulumiverse_scaleway/kubernetes/acl.py +45 -43
  318. pulumiverse_scaleway/kubernetes/cluster.py +234 -232
  319. pulumiverse_scaleway/kubernetes/get_cluster.py +39 -38
  320. pulumiverse_scaleway/kubernetes/get_pool.py +47 -46
  321. pulumiverse_scaleway/kubernetes/get_version.py +16 -15
  322. pulumiverse_scaleway/kubernetes/outputs.py +217 -216
  323. pulumiverse_scaleway/kubernetes/pool.py +290 -288
  324. pulumiverse_scaleway/kubernetes_cluster.py +234 -232
  325. pulumiverse_scaleway/kubernetes_node_pool.py +290 -288
  326. pulumiverse_scaleway/loadbalancer.py +199 -197
  327. pulumiverse_scaleway/loadbalancer_acl.py +73 -71
  328. pulumiverse_scaleway/loadbalancer_backend.py +381 -379
  329. pulumiverse_scaleway/loadbalancer_certificate.py +73 -71
  330. pulumiverse_scaleway/loadbalancer_frontend.py +136 -134
  331. pulumiverse_scaleway/loadbalancer_ip.py +101 -99
  332. pulumiverse_scaleway/loadbalancer_route.py +101 -99
  333. pulumiverse_scaleway/loadbalancers/__init__.py +2 -1
  334. pulumiverse_scaleway/loadbalancers/_inputs.py +214 -213
  335. pulumiverse_scaleway/loadbalancers/acl.py +73 -71
  336. pulumiverse_scaleway/loadbalancers/backend.py +381 -379
  337. pulumiverse_scaleway/loadbalancers/certificate.py +73 -71
  338. pulumiverse_scaleway/loadbalancers/frontend.py +136 -134
  339. pulumiverse_scaleway/loadbalancers/get_acls.py +22 -21
  340. pulumiverse_scaleway/loadbalancers/get_backend.py +43 -42
  341. pulumiverse_scaleway/loadbalancers/get_backends.py +22 -21
  342. pulumiverse_scaleway/loadbalancers/get_certificate.py +24 -23
  343. pulumiverse_scaleway/loadbalancers/get_frontend.py +26 -25
  344. pulumiverse_scaleway/loadbalancers/get_frontends.py +22 -21
  345. pulumiverse_scaleway/loadbalancers/get_ip.py +29 -28
  346. pulumiverse_scaleway/loadbalancers/get_ips.py +29 -28
  347. pulumiverse_scaleway/loadbalancers/get_load_balancer.py +36 -35
  348. pulumiverse_scaleway/loadbalancers/get_load_balancers.py +24 -23
  349. pulumiverse_scaleway/loadbalancers/get_route.py +16 -15
  350. pulumiverse_scaleway/loadbalancers/get_routes.py +17 -16
  351. pulumiverse_scaleway/loadbalancers/ip.py +101 -99
  352. pulumiverse_scaleway/loadbalancers/load_balancer.py +199 -197
  353. pulumiverse_scaleway/loadbalancers/outputs.py +525 -524
  354. pulumiverse_scaleway/loadbalancers/route.py +101 -99
  355. pulumiverse_scaleway/mnq/__init__.py +2 -1
  356. pulumiverse_scaleway/mnq/_inputs.py +32 -31
  357. pulumiverse_scaleway/mnq/get_sns.py +14 -13
  358. pulumiverse_scaleway/mnq/get_sqs.py +14 -13
  359. pulumiverse_scaleway/mnq/nats_account.py +52 -50
  360. pulumiverse_scaleway/mnq/nats_credentials.py +52 -50
  361. pulumiverse_scaleway/mnq/outputs.py +20 -19
  362. pulumiverse_scaleway/mnq/sns.py +38 -36
  363. pulumiverse_scaleway/mnq/sns_credentials.py +59 -57
  364. pulumiverse_scaleway/mnq/sns_topic.py +143 -141
  365. pulumiverse_scaleway/mnq/sns_topic_subscription.py +150 -148
  366. pulumiverse_scaleway/mnq/sqs.py +38 -36
  367. pulumiverse_scaleway/mnq/sqs_credentials.py +59 -57
  368. pulumiverse_scaleway/mnq/sqs_queue.py +192 -190
  369. pulumiverse_scaleway/mnq_nats_account.py +52 -50
  370. pulumiverse_scaleway/mnq_nats_credentials.py +52 -50
  371. pulumiverse_scaleway/mnq_sns.py +38 -36
  372. pulumiverse_scaleway/mnq_sns_credentials.py +59 -57
  373. pulumiverse_scaleway/mnq_sns_topic.py +143 -141
  374. pulumiverse_scaleway/mnq_sns_topic_subscription.py +150 -148
  375. pulumiverse_scaleway/mnq_sqs.py +38 -36
  376. pulumiverse_scaleway/mnq_sqs_credentials.py +59 -57
  377. pulumiverse_scaleway/mnq_sqs_queue.py +192 -190
  378. pulumiverse_scaleway/mongo_db_instance.py +199 -197
  379. pulumiverse_scaleway/mongo_db_snapshot.py +101 -99
  380. pulumiverse_scaleway/mongodb/__init__.py +2 -1
  381. pulumiverse_scaleway/mongodb/_inputs.py +53 -52
  382. pulumiverse_scaleway/mongodb/get_instance.py +35 -34
  383. pulumiverse_scaleway/mongodb/instance.py +199 -197
  384. pulumiverse_scaleway/mongodb/outputs.py +64 -63
  385. pulumiverse_scaleway/mongodb/snapshot.py +101 -99
  386. pulumiverse_scaleway/network/__init__.py +2 -1
  387. pulumiverse_scaleway/network/_inputs.py +140 -139
  388. pulumiverse_scaleway/network/acl.py +59 -57
  389. pulumiverse_scaleway/network/gateway_network.py +143 -141
  390. pulumiverse_scaleway/network/get_gateway_network.py +28 -27
  391. pulumiverse_scaleway/network/get_private_network.py +32 -31
  392. pulumiverse_scaleway/network/get_public_gateway.py +36 -35
  393. pulumiverse_scaleway/network/get_public_gateway_dhcp.py +24 -23
  394. pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +33 -32
  395. pulumiverse_scaleway/network/get_public_gateway_ip.py +14 -13
  396. pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +21 -20
  397. pulumiverse_scaleway/network/get_routes.py +38 -37
  398. pulumiverse_scaleway/network/get_vpc.py +35 -34
  399. pulumiverse_scaleway/network/get_vpcs.py +24 -23
  400. pulumiverse_scaleway/network/outputs.py +206 -205
  401. pulumiverse_scaleway/network/private_network.py +122 -120
  402. pulumiverse_scaleway/network/public_gateway.py +213 -211
  403. pulumiverse_scaleway/network/public_gateway_dhcp.py +234 -232
  404. pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +87 -85
  405. pulumiverse_scaleway/network/public_gateway_ip.py +87 -85
  406. pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +45 -43
  407. pulumiverse_scaleway/network/public_gateway_pat_rule.py +108 -106
  408. pulumiverse_scaleway/network/route.py +115 -113
  409. pulumiverse_scaleway/network/vpc.py +101 -99
  410. pulumiverse_scaleway/object/__init__.py +2 -1
  411. pulumiverse_scaleway/object/_inputs.py +127 -126
  412. pulumiverse_scaleway/object/bucket.py +115 -113
  413. pulumiverse_scaleway/object/bucket_acl.py +73 -71
  414. pulumiverse_scaleway/object/bucket_lock_configuration.py +45 -43
  415. pulumiverse_scaleway/object/bucket_policy.py +59 -57
  416. pulumiverse_scaleway/object/bucket_website_configuration.py +85 -65
  417. pulumiverse_scaleway/object/get_bucket.py +22 -21
  418. pulumiverse_scaleway/object/get_bucket_policy.py +17 -16
  419. pulumiverse_scaleway/object/item.py +232 -183
  420. pulumiverse_scaleway/object/outputs.py +114 -113
  421. pulumiverse_scaleway/object_bucket.py +115 -113
  422. pulumiverse_scaleway/object_bucket_acl.py +73 -71
  423. pulumiverse_scaleway/object_bucket_lock_configuration.py +45 -43
  424. pulumiverse_scaleway/object_bucket_policy.py +59 -57
  425. pulumiverse_scaleway/object_bucket_website_configuration.py +85 -65
  426. pulumiverse_scaleway/object_item.py +232 -183
  427. pulumiverse_scaleway/observability/__init__.py +2 -1
  428. pulumiverse_scaleway/observability/_inputs.py +89 -88
  429. pulumiverse_scaleway/observability/alert_manager.py +52 -50
  430. pulumiverse_scaleway/observability/cockpit.py +38 -36
  431. pulumiverse_scaleway/observability/get_instance.py +10 -9
  432. pulumiverse_scaleway/observability/get_source.py +33 -32
  433. pulumiverse_scaleway/observability/grafana_user.py +59 -57
  434. pulumiverse_scaleway/observability/outputs.py +77 -76
  435. pulumiverse_scaleway/observability/source.py +115 -113
  436. pulumiverse_scaleway/observability/token.py +66 -64
  437. pulumiverse_scaleway/outputs.py +2797 -2732
  438. pulumiverse_scaleway/provider.py +87 -65
  439. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  440. pulumiverse_scaleway/rdb_snapshot.py +101 -99
  441. pulumiverse_scaleway/redis/__init__.py +2 -1
  442. pulumiverse_scaleway/redis/_inputs.py +63 -62
  443. pulumiverse_scaleway/redis/cluster.py +178 -176
  444. pulumiverse_scaleway/redis/get_cluster.py +34 -33
  445. pulumiverse_scaleway/redis/outputs.py +74 -73
  446. pulumiverse_scaleway/redis_cluster.py +178 -176
  447. pulumiverse_scaleway/registry/__init__.py +2 -1
  448. pulumiverse_scaleway/registry/get_image.py +37 -36
  449. pulumiverse_scaleway/registry/get_image_tag.py +33 -32
  450. pulumiverse_scaleway/registry/get_namespace.py +27 -26
  451. pulumiverse_scaleway/registry/namespace.py +87 -85
  452. pulumiverse_scaleway/registry_namespace.py +87 -85
  453. pulumiverse_scaleway/sdb_database.py +80 -78
  454. pulumiverse_scaleway/secret.py +143 -141
  455. pulumiverse_scaleway/secret_version.py +87 -85
  456. pulumiverse_scaleway/secrets/__init__.py +2 -1
  457. pulumiverse_scaleway/secrets/_inputs.py +53 -52
  458. pulumiverse_scaleway/secrets/get_secret.py +41 -40
  459. pulumiverse_scaleway/secrets/get_version.py +34 -33
  460. pulumiverse_scaleway/secrets/outputs.py +64 -63
  461. pulumiverse_scaleway/secrets/secret.py +143 -141
  462. pulumiverse_scaleway/secrets/version.py +87 -85
  463. pulumiverse_scaleway/tem/__init__.py +2 -1
  464. pulumiverse_scaleway/tem/_inputs.py +28 -27
  465. pulumiverse_scaleway/tem/blocked_list.py +87 -85
  466. pulumiverse_scaleway/tem/domain.py +199 -197
  467. pulumiverse_scaleway/tem/domain_validation.py +52 -50
  468. pulumiverse_scaleway/tem/get_domain.py +43 -42
  469. pulumiverse_scaleway/tem/get_offer_subscription.py +22 -21
  470. pulumiverse_scaleway/tem/outputs.py +34 -33
  471. pulumiverse_scaleway/tem/webhook.py +108 -106
  472. pulumiverse_scaleway/tem_domain.py +199 -197
  473. pulumiverse_scaleway/tem_domain_validation.py +52 -50
  474. pulumiverse_scaleway/tem_webhook.py +108 -106
  475. pulumiverse_scaleway/vpc.py +101 -99
  476. pulumiverse_scaleway/vpc_gateway_network.py +143 -141
  477. pulumiverse_scaleway/vpc_private_network.py +122 -120
  478. pulumiverse_scaleway/vpc_public_gateway.py +213 -211
  479. pulumiverse_scaleway/vpc_public_gateway_dhcp.py +234 -232
  480. pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +87 -85
  481. pulumiverse_scaleway/vpc_public_gateway_ip.py +87 -85
  482. pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +45 -43
  483. pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +108 -106
  484. pulumiverse_scaleway/vpc_route.py +115 -113
  485. pulumiverse_scaleway/webhosting.py +164 -162
  486. {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.30.0a1752168858.dist-info}/METADATA +2 -2
  487. pulumiverse_scaleway-1.30.0a1752168858.dist-info/RECORD +493 -0
  488. pulumiverse_scaleway-1.30.0a1750140900.dist-info/RECORD +0 -492
  489. {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.30.0a1752168858.dist-info}/WHEEL +0 -0
  490. {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.30.0a1752168858.dist-info}/top_level.txt +0 -0
@@ -1,7 +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 builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -21,87 +22,93 @@ __all__ = ['ServerArgs', 'Server']
21
22
  @pulumi.input_type
22
23
  class ServerArgs:
23
24
  def __init__(__self__, *,
24
- type: pulumi.Input[str],
25
- additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
- boot_type: Optional[pulumi.Input[str]] = None,
27
- bootscript_id: Optional[pulumi.Input[str]] = None,
28
- cloud_init: Optional[pulumi.Input[str]] = None,
29
- enable_dynamic_ip: Optional[pulumi.Input[bool]] = None,
30
- enable_ipv6: Optional[pulumi.Input[bool]] = None,
31
- image: Optional[pulumi.Input[str]] = None,
32
- ip_id: Optional[pulumi.Input[str]] = None,
33
- ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
34
- name: Optional[pulumi.Input[str]] = None,
35
- placement_group_id: Optional[pulumi.Input[str]] = None,
25
+ type: pulumi.Input[builtins.str],
26
+ additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
27
+ admin_password_encryption_ssh_key_id: Optional[pulumi.Input[builtins.str]] = None,
28
+ boot_type: Optional[pulumi.Input[builtins.str]] = None,
29
+ bootscript_id: Optional[pulumi.Input[builtins.str]] = None,
30
+ cloud_init: Optional[pulumi.Input[builtins.str]] = None,
31
+ enable_dynamic_ip: Optional[pulumi.Input[builtins.bool]] = None,
32
+ enable_ipv6: Optional[pulumi.Input[builtins.bool]] = None,
33
+ image: Optional[pulumi.Input[builtins.str]] = None,
34
+ ip_id: Optional[pulumi.Input[builtins.str]] = None,
35
+ ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
36
+ name: Optional[pulumi.Input[builtins.str]] = None,
37
+ placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
36
38
  private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]]] = None,
37
39
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
38
- project_id: Optional[pulumi.Input[str]] = None,
39
- protected: Optional[pulumi.Input[bool]] = None,
40
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
41
+ protected: Optional[pulumi.Input[builtins.bool]] = None,
40
42
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]]] = None,
41
- replace_on_type_change: Optional[pulumi.Input[bool]] = None,
43
+ replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
42
44
  root_volume: Optional[pulumi.Input['ServerRootVolumeArgs']] = None,
43
- security_group_id: Optional[pulumi.Input[str]] = None,
44
- state: Optional[pulumi.Input[str]] = None,
45
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
46
- user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
47
- zone: Optional[pulumi.Input[str]] = None):
45
+ security_group_id: Optional[pulumi.Input[builtins.str]] = None,
46
+ state: Optional[pulumi.Input[builtins.str]] = None,
47
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
48
+ user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
49
+ zone: Optional[pulumi.Input[builtins.str]] = None):
48
50
  """
49
51
  The set of arguments for constructing a Server resource.
50
- :param pulumi.Input[str] type: The commercial type of the server.
52
+ :param pulumi.Input[builtins.str] type: The commercial type of the server.
51
53
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
52
54
  Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
53
55
  Use `replace_on_type_change` to trigger replacement instead of migration.
54
56
 
55
57
  > **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
56
- :param pulumi.Input[Sequence[pulumi.Input[str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
58
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
57
59
  attached to the server. Updates to this field will trigger a stop/start of the server.
58
60
 
59
61
  > **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
60
62
 
61
63
  > **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
62
- :param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
63
- :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
64
- :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
65
- :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
66
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
64
+ :param pulumi.Input[builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
65
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
66
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
67
+ :param pulumi.Input[builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
68
+ :param pulumi.Input[builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
69
+ :param pulumi.Input[builtins.str] cloud_init: The cloud init script associated with this server
70
+ :param pulumi.Input[builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
71
+ :param pulumi.Input[builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
67
72
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
68
- :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
73
+ :param pulumi.Input[builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
69
74
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
70
75
 
71
76
  You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
72
77
 
73
78
  To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
74
- :param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
75
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
79
+ :param pulumi.Input[builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
80
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
76
81
 
77
82
  > `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
78
- :param pulumi.Input[str] name: The name of the server.
79
- :param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
83
+ :param pulumi.Input[builtins.str] name: The name of the server.
84
+ :param pulumi.Input[builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
80
85
 
81
86
 
82
87
  > **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
83
88
  :param pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
84
89
  :param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
85
90
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
86
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
87
- :param pulumi.Input[bool] protected: Set to true to activate server protection option.
91
+ :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
92
+ :param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
88
93
  :param pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
89
- :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
94
+ :param pulumi.Input[builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
90
95
  :param pulumi.Input['ServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
91
- :param pulumi.Input[str] security_group_id: The security group the server is attached to
92
- :param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
93
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
94
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
96
+ :param pulumi.Input[builtins.str] security_group_id: The security group the server is attached to
97
+ :param pulumi.Input[builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
98
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the server.
99
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_data: The user data associated with the server.
95
100
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
96
101
  You can define values using:
97
102
  - string
98
103
  - UTF-8 encoded file content using file
99
104
  - Binary files using filebase64.
100
- :param pulumi.Input[str] zone: `zone`) The zone in which the server should be created.
105
+ :param pulumi.Input[builtins.str] zone: `zone`) The zone in which the server should be created.
101
106
  """
102
107
  pulumi.set(__self__, "type", type)
103
108
  if additional_volume_ids is not None:
104
109
  pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
110
+ if admin_password_encryption_ssh_key_id is not None:
111
+ pulumi.set(__self__, "admin_password_encryption_ssh_key_id", admin_password_encryption_ssh_key_id)
105
112
  if boot_type is not None:
106
113
  pulumi.set(__self__, "boot_type", boot_type)
107
114
  if bootscript_id is not None:
@@ -155,7 +162,7 @@ class ServerArgs:
155
162
 
156
163
  @property
157
164
  @pulumi.getter
158
- def type(self) -> pulumi.Input[str]:
165
+ def type(self) -> pulumi.Input[builtins.str]:
159
166
  """
160
167
  The commercial type of the server.
161
168
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
@@ -167,12 +174,12 @@ class ServerArgs:
167
174
  return pulumi.get(self, "type")
168
175
 
169
176
  @type.setter
170
- def type(self, value: pulumi.Input[str]):
177
+ def type(self, value: pulumi.Input[builtins.str]):
171
178
  pulumi.set(self, "type", value)
172
179
 
173
180
  @property
174
181
  @pulumi.getter(name="additionalVolumeIds")
175
- def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
182
+ def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
176
183
  """
177
184
  The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
178
185
  attached to the server. Updates to this field will trigger a stop/start of the server.
@@ -184,62 +191,76 @@ class ServerArgs:
184
191
  return pulumi.get(self, "additional_volume_ids")
185
192
 
186
193
  @additional_volume_ids.setter
187
- def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
194
+ def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
188
195
  pulumi.set(self, "additional_volume_ids", value)
189
196
 
197
+ @property
198
+ @pulumi.getter(name="adminPasswordEncryptionSshKeyId")
199
+ def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
200
+ """
201
+ The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
202
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
203
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
204
+ """
205
+ return pulumi.get(self, "admin_password_encryption_ssh_key_id")
206
+
207
+ @admin_password_encryption_ssh_key_id.setter
208
+ def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
209
+ pulumi.set(self, "admin_password_encryption_ssh_key_id", value)
210
+
190
211
  @property
191
212
  @pulumi.getter(name="bootType")
192
- def boot_type(self) -> Optional[pulumi.Input[str]]:
213
+ def boot_type(self) -> Optional[pulumi.Input[builtins.str]]:
193
214
  """
194
215
  The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
195
216
  """
196
217
  return pulumi.get(self, "boot_type")
197
218
 
198
219
  @boot_type.setter
199
- def boot_type(self, value: Optional[pulumi.Input[str]]):
220
+ def boot_type(self, value: Optional[pulumi.Input[builtins.str]]):
200
221
  pulumi.set(self, "boot_type", value)
201
222
 
202
223
  @property
203
224
  @pulumi.getter(name="bootscriptId")
204
225
  @_utilities.deprecated("""bootscript is not supported anymore.""")
205
- def bootscript_id(self) -> Optional[pulumi.Input[str]]:
226
+ def bootscript_id(self) -> Optional[pulumi.Input[builtins.str]]:
206
227
  """
207
228
  ID of the target bootscript (set boot_type to bootscript)
208
229
  """
209
230
  return pulumi.get(self, "bootscript_id")
210
231
 
211
232
  @bootscript_id.setter
212
- def bootscript_id(self, value: Optional[pulumi.Input[str]]):
233
+ def bootscript_id(self, value: Optional[pulumi.Input[builtins.str]]):
213
234
  pulumi.set(self, "bootscript_id", value)
214
235
 
215
236
  @property
216
237
  @pulumi.getter(name="cloudInit")
217
- def cloud_init(self) -> Optional[pulumi.Input[str]]:
238
+ def cloud_init(self) -> Optional[pulumi.Input[builtins.str]]:
218
239
  """
219
240
  The cloud init script associated with this server
220
241
  """
221
242
  return pulumi.get(self, "cloud_init")
222
243
 
223
244
  @cloud_init.setter
224
- def cloud_init(self, value: Optional[pulumi.Input[str]]):
245
+ def cloud_init(self, value: Optional[pulumi.Input[builtins.str]]):
225
246
  pulumi.set(self, "cloud_init", value)
226
247
 
227
248
  @property
228
249
  @pulumi.getter(name="enableDynamicIp")
229
- def enable_dynamic_ip(self) -> Optional[pulumi.Input[bool]]:
250
+ def enable_dynamic_ip(self) -> Optional[pulumi.Input[builtins.bool]]:
230
251
  """
231
252
  If true a dynamic IP will be attached to the server.
232
253
  """
233
254
  return pulumi.get(self, "enable_dynamic_ip")
234
255
 
235
256
  @enable_dynamic_ip.setter
236
- def enable_dynamic_ip(self, value: Optional[pulumi.Input[bool]]):
257
+ def enable_dynamic_ip(self, value: Optional[pulumi.Input[builtins.bool]]):
237
258
  pulumi.set(self, "enable_dynamic_ip", value)
238
259
 
239
260
  @property
240
261
  @pulumi.getter(name="enableIpv6")
241
262
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
242
- def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
263
+ def enable_ipv6(self) -> Optional[pulumi.Input[builtins.bool]]:
243
264
  """
244
265
  Determines if IPv6 is enabled for the server.
245
266
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -247,12 +268,12 @@ class ServerArgs:
247
268
  return pulumi.get(self, "enable_ipv6")
248
269
 
249
270
  @enable_ipv6.setter
250
- def enable_ipv6(self, value: Optional[pulumi.Input[bool]]):
271
+ def enable_ipv6(self, value: Optional[pulumi.Input[builtins.bool]]):
251
272
  pulumi.set(self, "enable_ipv6", value)
252
273
 
253
274
  @property
254
275
  @pulumi.getter
255
- def image(self) -> Optional[pulumi.Input[str]]:
276
+ def image(self) -> Optional[pulumi.Input[builtins.str]]:
256
277
  """
257
278
  The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
258
279
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -264,24 +285,24 @@ class ServerArgs:
264
285
  return pulumi.get(self, "image")
265
286
 
266
287
  @image.setter
267
- def image(self, value: Optional[pulumi.Input[str]]):
288
+ def image(self, value: Optional[pulumi.Input[builtins.str]]):
268
289
  pulumi.set(self, "image", value)
269
290
 
270
291
  @property
271
292
  @pulumi.getter(name="ipId")
272
- def ip_id(self) -> Optional[pulumi.Input[str]]:
293
+ def ip_id(self) -> Optional[pulumi.Input[builtins.str]]:
273
294
  """
274
295
  The ID of the reserved IP that is attached to the server.
275
296
  """
276
297
  return pulumi.get(self, "ip_id")
277
298
 
278
299
  @ip_id.setter
279
- def ip_id(self, value: Optional[pulumi.Input[str]]):
300
+ def ip_id(self, value: Optional[pulumi.Input[builtins.str]]):
280
301
  pulumi.set(self, "ip_id", value)
281
302
 
282
303
  @property
283
304
  @pulumi.getter(name="ipIds")
284
- def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
305
+ def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
285
306
  """
286
307
  List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
287
308
 
@@ -290,24 +311,24 @@ class ServerArgs:
290
311
  return pulumi.get(self, "ip_ids")
291
312
 
292
313
  @ip_ids.setter
293
- def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
314
+ def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
294
315
  pulumi.set(self, "ip_ids", value)
295
316
 
296
317
  @property
297
318
  @pulumi.getter
298
- def name(self) -> Optional[pulumi.Input[str]]:
319
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
299
320
  """
300
321
  The name of the server.
301
322
  """
302
323
  return pulumi.get(self, "name")
303
324
 
304
325
  @name.setter
305
- def name(self, value: Optional[pulumi.Input[str]]):
326
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
306
327
  pulumi.set(self, "name", value)
307
328
 
308
329
  @property
309
330
  @pulumi.getter(name="placementGroupId")
310
- def placement_group_id(self) -> Optional[pulumi.Input[str]]:
331
+ def placement_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
311
332
  """
312
333
  The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
313
334
 
@@ -317,7 +338,7 @@ class ServerArgs:
317
338
  return pulumi.get(self, "placement_group_id")
318
339
 
319
340
  @placement_group_id.setter
320
- def placement_group_id(self, value: Optional[pulumi.Input[str]]):
341
+ def placement_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
321
342
  pulumi.set(self, "placement_group_id", value)
322
343
 
323
344
  @property
@@ -347,26 +368,26 @@ class ServerArgs:
347
368
 
348
369
  @property
349
370
  @pulumi.getter(name="projectId")
350
- def project_id(self) -> Optional[pulumi.Input[str]]:
371
+ def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
351
372
  """
352
373
  `project_id`) The ID of the project the server is associated with.
353
374
  """
354
375
  return pulumi.get(self, "project_id")
355
376
 
356
377
  @project_id.setter
357
- def project_id(self, value: Optional[pulumi.Input[str]]):
378
+ def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
358
379
  pulumi.set(self, "project_id", value)
359
380
 
360
381
  @property
361
382
  @pulumi.getter
362
- def protected(self) -> Optional[pulumi.Input[bool]]:
383
+ def protected(self) -> Optional[pulumi.Input[builtins.bool]]:
363
384
  """
364
385
  Set to true to activate server protection option.
365
386
  """
366
387
  return pulumi.get(self, "protected")
367
388
 
368
389
  @protected.setter
369
- def protected(self, value: Optional[pulumi.Input[bool]]):
390
+ def protected(self, value: Optional[pulumi.Input[builtins.bool]]):
370
391
  pulumi.set(self, "protected", value)
371
392
 
372
393
  @property
@@ -383,14 +404,14 @@ class ServerArgs:
383
404
 
384
405
  @property
385
406
  @pulumi.getter(name="replaceOnTypeChange")
386
- def replace_on_type_change(self) -> Optional[pulumi.Input[bool]]:
407
+ def replace_on_type_change(self) -> Optional[pulumi.Input[builtins.bool]]:
387
408
  """
388
409
  If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
389
410
  """
390
411
  return pulumi.get(self, "replace_on_type_change")
391
412
 
392
413
  @replace_on_type_change.setter
393
- def replace_on_type_change(self, value: Optional[pulumi.Input[bool]]):
414
+ def replace_on_type_change(self, value: Optional[pulumi.Input[builtins.bool]]):
394
415
  pulumi.set(self, "replace_on_type_change", value)
395
416
 
396
417
  @property
@@ -407,43 +428,43 @@ class ServerArgs:
407
428
 
408
429
  @property
409
430
  @pulumi.getter(name="securityGroupId")
410
- def security_group_id(self) -> Optional[pulumi.Input[str]]:
431
+ def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
411
432
  """
412
433
  The security group the server is attached to
413
434
  """
414
435
  return pulumi.get(self, "security_group_id")
415
436
 
416
437
  @security_group_id.setter
417
- def security_group_id(self, value: Optional[pulumi.Input[str]]):
438
+ def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
418
439
  pulumi.set(self, "security_group_id", value)
419
440
 
420
441
  @property
421
442
  @pulumi.getter
422
- def state(self) -> Optional[pulumi.Input[str]]:
443
+ def state(self) -> Optional[pulumi.Input[builtins.str]]:
423
444
  """
424
445
  The state of the server. Possible values are: `started`, `stopped` or `standby`.
425
446
  """
426
447
  return pulumi.get(self, "state")
427
448
 
428
449
  @state.setter
429
- def state(self, value: Optional[pulumi.Input[str]]):
450
+ def state(self, value: Optional[pulumi.Input[builtins.str]]):
430
451
  pulumi.set(self, "state", value)
431
452
 
432
453
  @property
433
454
  @pulumi.getter
434
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
455
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
435
456
  """
436
457
  The tags associated with the server.
437
458
  """
438
459
  return pulumi.get(self, "tags")
439
460
 
440
461
  @tags.setter
441
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
462
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
442
463
  pulumi.set(self, "tags", value)
443
464
 
444
465
  @property
445
466
  @pulumi.getter(name="userData")
446
- def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
467
+ def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
447
468
  """
448
469
  The user data associated with the server.
449
470
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
@@ -455,122 +476,128 @@ class ServerArgs:
455
476
  return pulumi.get(self, "user_data")
456
477
 
457
478
  @user_data.setter
458
- def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
479
+ def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
459
480
  pulumi.set(self, "user_data", value)
460
481
 
461
482
  @property
462
483
  @pulumi.getter
463
- def zone(self) -> Optional[pulumi.Input[str]]:
484
+ def zone(self) -> Optional[pulumi.Input[builtins.str]]:
464
485
  """
465
486
  `zone`) The zone in which the server should be created.
466
487
  """
467
488
  return pulumi.get(self, "zone")
468
489
 
469
490
  @zone.setter
470
- def zone(self, value: Optional[pulumi.Input[str]]):
491
+ def zone(self, value: Optional[pulumi.Input[builtins.str]]):
471
492
  pulumi.set(self, "zone", value)
472
493
 
473
494
 
474
495
  @pulumi.input_type
475
496
  class _ServerState:
476
497
  def __init__(__self__, *,
477
- additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
478
- boot_type: Optional[pulumi.Input[str]] = None,
479
- bootscript_id: Optional[pulumi.Input[str]] = None,
480
- cloud_init: Optional[pulumi.Input[str]] = None,
481
- enable_dynamic_ip: Optional[pulumi.Input[bool]] = None,
482
- enable_ipv6: Optional[pulumi.Input[bool]] = None,
483
- image: Optional[pulumi.Input[str]] = None,
484
- ip_id: Optional[pulumi.Input[str]] = None,
485
- ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
486
- ipv6_address: Optional[pulumi.Input[str]] = None,
487
- ipv6_gateway: Optional[pulumi.Input[str]] = None,
488
- ipv6_prefix_length: Optional[pulumi.Input[int]] = None,
489
- name: Optional[pulumi.Input[str]] = None,
490
- organization_id: Optional[pulumi.Input[str]] = None,
491
- placement_group_id: Optional[pulumi.Input[str]] = None,
492
- placement_group_policy_respected: Optional[pulumi.Input[bool]] = None,
493
- private_ip: Optional[pulumi.Input[str]] = None,
498
+ additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
499
+ admin_password_encryption_ssh_key_id: Optional[pulumi.Input[builtins.str]] = None,
500
+ boot_type: Optional[pulumi.Input[builtins.str]] = None,
501
+ bootscript_id: Optional[pulumi.Input[builtins.str]] = None,
502
+ cloud_init: Optional[pulumi.Input[builtins.str]] = None,
503
+ enable_dynamic_ip: Optional[pulumi.Input[builtins.bool]] = None,
504
+ enable_ipv6: Optional[pulumi.Input[builtins.bool]] = None,
505
+ image: Optional[pulumi.Input[builtins.str]] = None,
506
+ ip_id: Optional[pulumi.Input[builtins.str]] = None,
507
+ ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
508
+ ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
509
+ ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None,
510
+ ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None,
511
+ name: Optional[pulumi.Input[builtins.str]] = None,
512
+ organization_id: Optional[pulumi.Input[builtins.str]] = None,
513
+ placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
514
+ placement_group_policy_respected: Optional[pulumi.Input[builtins.bool]] = None,
515
+ private_ip: Optional[pulumi.Input[builtins.str]] = None,
494
516
  private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]]] = None,
495
517
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = None,
496
- project_id: Optional[pulumi.Input[str]] = None,
497
- protected: Optional[pulumi.Input[bool]] = None,
498
- public_ip: Optional[pulumi.Input[str]] = None,
518
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
519
+ protected: Optional[pulumi.Input[builtins.bool]] = None,
520
+ public_ip: Optional[pulumi.Input[builtins.str]] = None,
499
521
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]]] = None,
500
- replace_on_type_change: Optional[pulumi.Input[bool]] = None,
522
+ replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
501
523
  root_volume: Optional[pulumi.Input['ServerRootVolumeArgs']] = None,
502
- security_group_id: Optional[pulumi.Input[str]] = None,
503
- state: Optional[pulumi.Input[str]] = None,
504
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
505
- type: Optional[pulumi.Input[str]] = None,
506
- user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
507
- zone: Optional[pulumi.Input[str]] = None):
524
+ security_group_id: Optional[pulumi.Input[builtins.str]] = None,
525
+ state: Optional[pulumi.Input[builtins.str]] = None,
526
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
527
+ type: Optional[pulumi.Input[builtins.str]] = None,
528
+ user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
529
+ zone: Optional[pulumi.Input[builtins.str]] = None):
508
530
  """
509
531
  Input properties used for looking up and filtering Server resources.
510
- :param pulumi.Input[Sequence[pulumi.Input[str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
532
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
511
533
  attached to the server. Updates to this field will trigger a stop/start of the server.
512
534
 
513
535
  > **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
514
536
 
515
537
  > **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
516
- :param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
517
- :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
518
- :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
519
- :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
520
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
538
+ :param pulumi.Input[builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
539
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
540
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
541
+ :param pulumi.Input[builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
542
+ :param pulumi.Input[builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
543
+ :param pulumi.Input[builtins.str] cloud_init: The cloud init script associated with this server
544
+ :param pulumi.Input[builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
545
+ :param pulumi.Input[builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
521
546
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
522
- :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
547
+ :param pulumi.Input[builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
523
548
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
524
549
 
525
550
  You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
526
551
 
527
552
  To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
528
- :param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
529
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
553
+ :param pulumi.Input[builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
554
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
530
555
 
531
556
  > `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
532
- :param pulumi.Input[str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
557
+ :param pulumi.Input[builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
533
558
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
534
- :param pulumi.Input[str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
559
+ :param pulumi.Input[builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
535
560
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
536
- :param pulumi.Input[int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
561
+ :param pulumi.Input[builtins.int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
537
562
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
538
- :param pulumi.Input[str] name: The name of the server.
539
- :param pulumi.Input[str] organization_id: The organization ID the server is associated with.
540
- :param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
563
+ :param pulumi.Input[builtins.str] name: The name of the server.
564
+ :param pulumi.Input[builtins.str] organization_id: The organization ID the server is associated with.
565
+ :param pulumi.Input[builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
541
566
 
542
567
 
543
568
  > **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
544
- :param pulumi.Input[bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
545
- :param pulumi.Input[str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
569
+ :param pulumi.Input[builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
570
+ :param pulumi.Input[builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
546
571
  :param pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
547
572
  :param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
548
573
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
549
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
550
- :param pulumi.Input[bool] protected: Set to true to activate server protection option.
551
- :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
574
+ :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
575
+ :param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
576
+ :param pulumi.Input[builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
552
577
  :param pulumi.Input[Sequence[pulumi.Input['ServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
553
- :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
578
+ :param pulumi.Input[builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
554
579
  :param pulumi.Input['ServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
555
- :param pulumi.Input[str] security_group_id: The security group the server is attached to
556
- :param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
557
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
558
- :param pulumi.Input[str] type: The commercial type of the server.
580
+ :param pulumi.Input[builtins.str] security_group_id: The security group the server is attached to
581
+ :param pulumi.Input[builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
582
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the server.
583
+ :param pulumi.Input[builtins.str] type: The commercial type of the server.
559
584
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
560
585
  Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
561
586
  Use `replace_on_type_change` to trigger replacement instead of migration.
562
587
 
563
588
  > **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
564
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
589
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_data: The user data associated with the server.
565
590
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
566
591
  You can define values using:
567
592
  - string
568
593
  - UTF-8 encoded file content using file
569
594
  - Binary files using filebase64.
570
- :param pulumi.Input[str] zone: `zone`) The zone in which the server should be created.
595
+ :param pulumi.Input[builtins.str] zone: `zone`) The zone in which the server should be created.
571
596
  """
572
597
  if additional_volume_ids is not None:
573
598
  pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
599
+ if admin_password_encryption_ssh_key_id is not None:
600
+ pulumi.set(__self__, "admin_password_encryption_ssh_key_id", admin_password_encryption_ssh_key_id)
574
601
  if boot_type is not None:
575
602
  pulumi.set(__self__, "boot_type", boot_type)
576
603
  if bootscript_id is not None:
@@ -655,7 +682,7 @@ class _ServerState:
655
682
 
656
683
  @property
657
684
  @pulumi.getter(name="additionalVolumeIds")
658
- def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
685
+ def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
659
686
  """
660
687
  The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
661
688
  attached to the server. Updates to this field will trigger a stop/start of the server.
@@ -667,62 +694,76 @@ class _ServerState:
667
694
  return pulumi.get(self, "additional_volume_ids")
668
695
 
669
696
  @additional_volume_ids.setter
670
- def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
697
+ def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
671
698
  pulumi.set(self, "additional_volume_ids", value)
672
699
 
700
+ @property
701
+ @pulumi.getter(name="adminPasswordEncryptionSshKeyId")
702
+ def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
703
+ """
704
+ The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
705
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
706
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
707
+ """
708
+ return pulumi.get(self, "admin_password_encryption_ssh_key_id")
709
+
710
+ @admin_password_encryption_ssh_key_id.setter
711
+ def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
712
+ pulumi.set(self, "admin_password_encryption_ssh_key_id", value)
713
+
673
714
  @property
674
715
  @pulumi.getter(name="bootType")
675
- def boot_type(self) -> Optional[pulumi.Input[str]]:
716
+ def boot_type(self) -> Optional[pulumi.Input[builtins.str]]:
676
717
  """
677
718
  The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
678
719
  """
679
720
  return pulumi.get(self, "boot_type")
680
721
 
681
722
  @boot_type.setter
682
- def boot_type(self, value: Optional[pulumi.Input[str]]):
723
+ def boot_type(self, value: Optional[pulumi.Input[builtins.str]]):
683
724
  pulumi.set(self, "boot_type", value)
684
725
 
685
726
  @property
686
727
  @pulumi.getter(name="bootscriptId")
687
728
  @_utilities.deprecated("""bootscript is not supported anymore.""")
688
- def bootscript_id(self) -> Optional[pulumi.Input[str]]:
729
+ def bootscript_id(self) -> Optional[pulumi.Input[builtins.str]]:
689
730
  """
690
731
  ID of the target bootscript (set boot_type to bootscript)
691
732
  """
692
733
  return pulumi.get(self, "bootscript_id")
693
734
 
694
735
  @bootscript_id.setter
695
- def bootscript_id(self, value: Optional[pulumi.Input[str]]):
736
+ def bootscript_id(self, value: Optional[pulumi.Input[builtins.str]]):
696
737
  pulumi.set(self, "bootscript_id", value)
697
738
 
698
739
  @property
699
740
  @pulumi.getter(name="cloudInit")
700
- def cloud_init(self) -> Optional[pulumi.Input[str]]:
741
+ def cloud_init(self) -> Optional[pulumi.Input[builtins.str]]:
701
742
  """
702
743
  The cloud init script associated with this server
703
744
  """
704
745
  return pulumi.get(self, "cloud_init")
705
746
 
706
747
  @cloud_init.setter
707
- def cloud_init(self, value: Optional[pulumi.Input[str]]):
748
+ def cloud_init(self, value: Optional[pulumi.Input[builtins.str]]):
708
749
  pulumi.set(self, "cloud_init", value)
709
750
 
710
751
  @property
711
752
  @pulumi.getter(name="enableDynamicIp")
712
- def enable_dynamic_ip(self) -> Optional[pulumi.Input[bool]]:
753
+ def enable_dynamic_ip(self) -> Optional[pulumi.Input[builtins.bool]]:
713
754
  """
714
755
  If true a dynamic IP will be attached to the server.
715
756
  """
716
757
  return pulumi.get(self, "enable_dynamic_ip")
717
758
 
718
759
  @enable_dynamic_ip.setter
719
- def enable_dynamic_ip(self, value: Optional[pulumi.Input[bool]]):
760
+ def enable_dynamic_ip(self, value: Optional[pulumi.Input[builtins.bool]]):
720
761
  pulumi.set(self, "enable_dynamic_ip", value)
721
762
 
722
763
  @property
723
764
  @pulumi.getter(name="enableIpv6")
724
765
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
725
- def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
766
+ def enable_ipv6(self) -> Optional[pulumi.Input[builtins.bool]]:
726
767
  """
727
768
  Determines if IPv6 is enabled for the server.
728
769
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -730,12 +771,12 @@ class _ServerState:
730
771
  return pulumi.get(self, "enable_ipv6")
731
772
 
732
773
  @enable_ipv6.setter
733
- def enable_ipv6(self, value: Optional[pulumi.Input[bool]]):
774
+ def enable_ipv6(self, value: Optional[pulumi.Input[builtins.bool]]):
734
775
  pulumi.set(self, "enable_ipv6", value)
735
776
 
736
777
  @property
737
778
  @pulumi.getter
738
- def image(self) -> Optional[pulumi.Input[str]]:
779
+ def image(self) -> Optional[pulumi.Input[builtins.str]]:
739
780
  """
740
781
  The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
741
782
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -747,24 +788,24 @@ class _ServerState:
747
788
  return pulumi.get(self, "image")
748
789
 
749
790
  @image.setter
750
- def image(self, value: Optional[pulumi.Input[str]]):
791
+ def image(self, value: Optional[pulumi.Input[builtins.str]]):
751
792
  pulumi.set(self, "image", value)
752
793
 
753
794
  @property
754
795
  @pulumi.getter(name="ipId")
755
- def ip_id(self) -> Optional[pulumi.Input[str]]:
796
+ def ip_id(self) -> Optional[pulumi.Input[builtins.str]]:
756
797
  """
757
798
  The ID of the reserved IP that is attached to the server.
758
799
  """
759
800
  return pulumi.get(self, "ip_id")
760
801
 
761
802
  @ip_id.setter
762
- def ip_id(self, value: Optional[pulumi.Input[str]]):
803
+ def ip_id(self, value: Optional[pulumi.Input[builtins.str]]):
763
804
  pulumi.set(self, "ip_id", value)
764
805
 
765
806
  @property
766
807
  @pulumi.getter(name="ipIds")
767
- def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
808
+ def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
768
809
  """
769
810
  List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
770
811
 
@@ -773,13 +814,13 @@ class _ServerState:
773
814
  return pulumi.get(self, "ip_ids")
774
815
 
775
816
  @ip_ids.setter
776
- def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
817
+ def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
777
818
  pulumi.set(self, "ip_ids", value)
778
819
 
779
820
  @property
780
821
  @pulumi.getter(name="ipv6Address")
781
822
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
782
- def ipv6_address(self) -> Optional[pulumi.Input[str]]:
823
+ def ipv6_address(self) -> Optional[pulumi.Input[builtins.str]]:
783
824
  """
784
825
  The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
785
826
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -787,13 +828,13 @@ class _ServerState:
787
828
  return pulumi.get(self, "ipv6_address")
788
829
 
789
830
  @ipv6_address.setter
790
- def ipv6_address(self, value: Optional[pulumi.Input[str]]):
831
+ def ipv6_address(self, value: Optional[pulumi.Input[builtins.str]]):
791
832
  pulumi.set(self, "ipv6_address", value)
792
833
 
793
834
  @property
794
835
  @pulumi.getter(name="ipv6Gateway")
795
836
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
796
- def ipv6_gateway(self) -> Optional[pulumi.Input[str]]:
837
+ def ipv6_gateway(self) -> Optional[pulumi.Input[builtins.str]]:
797
838
  """
798
839
  The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
799
840
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -801,13 +842,13 @@ class _ServerState:
801
842
  return pulumi.get(self, "ipv6_gateway")
802
843
 
803
844
  @ipv6_gateway.setter
804
- def ipv6_gateway(self, value: Optional[pulumi.Input[str]]):
845
+ def ipv6_gateway(self, value: Optional[pulumi.Input[builtins.str]]):
805
846
  pulumi.set(self, "ipv6_gateway", value)
806
847
 
807
848
  @property
808
849
  @pulumi.getter(name="ipv6PrefixLength")
809
850
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
810
- def ipv6_prefix_length(self) -> Optional[pulumi.Input[int]]:
851
+ def ipv6_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]:
811
852
  """
812
853
  The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
813
854
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -815,36 +856,36 @@ class _ServerState:
815
856
  return pulumi.get(self, "ipv6_prefix_length")
816
857
 
817
858
  @ipv6_prefix_length.setter
818
- def ipv6_prefix_length(self, value: Optional[pulumi.Input[int]]):
859
+ def ipv6_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]):
819
860
  pulumi.set(self, "ipv6_prefix_length", value)
820
861
 
821
862
  @property
822
863
  @pulumi.getter
823
- def name(self) -> Optional[pulumi.Input[str]]:
864
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
824
865
  """
825
866
  The name of the server.
826
867
  """
827
868
  return pulumi.get(self, "name")
828
869
 
829
870
  @name.setter
830
- def name(self, value: Optional[pulumi.Input[str]]):
871
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
831
872
  pulumi.set(self, "name", value)
832
873
 
833
874
  @property
834
875
  @pulumi.getter(name="organizationId")
835
- def organization_id(self) -> Optional[pulumi.Input[str]]:
876
+ def organization_id(self) -> Optional[pulumi.Input[builtins.str]]:
836
877
  """
837
878
  The organization ID the server is associated with.
838
879
  """
839
880
  return pulumi.get(self, "organization_id")
840
881
 
841
882
  @organization_id.setter
842
- def organization_id(self, value: Optional[pulumi.Input[str]]):
883
+ def organization_id(self, value: Optional[pulumi.Input[builtins.str]]):
843
884
  pulumi.set(self, "organization_id", value)
844
885
 
845
886
  @property
846
887
  @pulumi.getter(name="placementGroupId")
847
- def placement_group_id(self) -> Optional[pulumi.Input[str]]:
888
+ def placement_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
848
889
  """
849
890
  The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
850
891
 
@@ -854,32 +895,32 @@ class _ServerState:
854
895
  return pulumi.get(self, "placement_group_id")
855
896
 
856
897
  @placement_group_id.setter
857
- def placement_group_id(self, value: Optional[pulumi.Input[str]]):
898
+ def placement_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
858
899
  pulumi.set(self, "placement_group_id", value)
859
900
 
860
901
  @property
861
902
  @pulumi.getter(name="placementGroupPolicyRespected")
862
- def placement_group_policy_respected(self) -> Optional[pulumi.Input[bool]]:
903
+ def placement_group_policy_respected(self) -> Optional[pulumi.Input[builtins.bool]]:
863
904
  """
864
905
  (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
865
906
  """
866
907
  return pulumi.get(self, "placement_group_policy_respected")
867
908
 
868
909
  @placement_group_policy_respected.setter
869
- def placement_group_policy_respected(self, value: Optional[pulumi.Input[bool]]):
910
+ def placement_group_policy_respected(self, value: Optional[pulumi.Input[builtins.bool]]):
870
911
  pulumi.set(self, "placement_group_policy_respected", value)
871
912
 
872
913
  @property
873
914
  @pulumi.getter(name="privateIp")
874
915
  @_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
875
- def private_ip(self) -> Optional[pulumi.Input[str]]:
916
+ def private_ip(self) -> Optional[pulumi.Input[builtins.str]]:
876
917
  """
877
918
  The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
878
919
  """
879
920
  return pulumi.get(self, "private_ip")
880
921
 
881
922
  @private_ip.setter
882
- def private_ip(self, value: Optional[pulumi.Input[str]]):
923
+ def private_ip(self, value: Optional[pulumi.Input[builtins.str]]):
883
924
  pulumi.set(self, "private_ip", value)
884
925
 
885
926
  @property
@@ -909,39 +950,39 @@ class _ServerState:
909
950
 
910
951
  @property
911
952
  @pulumi.getter(name="projectId")
912
- def project_id(self) -> Optional[pulumi.Input[str]]:
953
+ def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
913
954
  """
914
955
  `project_id`) The ID of the project the server is associated with.
915
956
  """
916
957
  return pulumi.get(self, "project_id")
917
958
 
918
959
  @project_id.setter
919
- def project_id(self, value: Optional[pulumi.Input[str]]):
960
+ def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
920
961
  pulumi.set(self, "project_id", value)
921
962
 
922
963
  @property
923
964
  @pulumi.getter
924
- def protected(self) -> Optional[pulumi.Input[bool]]:
965
+ def protected(self) -> Optional[pulumi.Input[builtins.bool]]:
925
966
  """
926
967
  Set to true to activate server protection option.
927
968
  """
928
969
  return pulumi.get(self, "protected")
929
970
 
930
971
  @protected.setter
931
- def protected(self, value: Optional[pulumi.Input[bool]]):
972
+ def protected(self, value: Optional[pulumi.Input[builtins.bool]]):
932
973
  pulumi.set(self, "protected", value)
933
974
 
934
975
  @property
935
976
  @pulumi.getter(name="publicIp")
936
977
  @_utilities.deprecated("""Use public_ips instead""")
937
- def public_ip(self) -> Optional[pulumi.Input[str]]:
978
+ def public_ip(self) -> Optional[pulumi.Input[builtins.str]]:
938
979
  """
939
980
  The public IP address of the server (Deprecated use `public_ips` instead).
940
981
  """
941
982
  return pulumi.get(self, "public_ip")
942
983
 
943
984
  @public_ip.setter
944
- def public_ip(self, value: Optional[pulumi.Input[str]]):
985
+ def public_ip(self, value: Optional[pulumi.Input[builtins.str]]):
945
986
  pulumi.set(self, "public_ip", value)
946
987
 
947
988
  @property
@@ -958,14 +999,14 @@ class _ServerState:
958
999
 
959
1000
  @property
960
1001
  @pulumi.getter(name="replaceOnTypeChange")
961
- def replace_on_type_change(self) -> Optional[pulumi.Input[bool]]:
1002
+ def replace_on_type_change(self) -> Optional[pulumi.Input[builtins.bool]]:
962
1003
  """
963
1004
  If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
964
1005
  """
965
1006
  return pulumi.get(self, "replace_on_type_change")
966
1007
 
967
1008
  @replace_on_type_change.setter
968
- def replace_on_type_change(self, value: Optional[pulumi.Input[bool]]):
1009
+ def replace_on_type_change(self, value: Optional[pulumi.Input[builtins.bool]]):
969
1010
  pulumi.set(self, "replace_on_type_change", value)
970
1011
 
971
1012
  @property
@@ -982,43 +1023,43 @@ class _ServerState:
982
1023
 
983
1024
  @property
984
1025
  @pulumi.getter(name="securityGroupId")
985
- def security_group_id(self) -> Optional[pulumi.Input[str]]:
1026
+ def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
986
1027
  """
987
1028
  The security group the server is attached to
988
1029
  """
989
1030
  return pulumi.get(self, "security_group_id")
990
1031
 
991
1032
  @security_group_id.setter
992
- def security_group_id(self, value: Optional[pulumi.Input[str]]):
1033
+ def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
993
1034
  pulumi.set(self, "security_group_id", value)
994
1035
 
995
1036
  @property
996
1037
  @pulumi.getter
997
- def state(self) -> Optional[pulumi.Input[str]]:
1038
+ def state(self) -> Optional[pulumi.Input[builtins.str]]:
998
1039
  """
999
1040
  The state of the server. Possible values are: `started`, `stopped` or `standby`.
1000
1041
  """
1001
1042
  return pulumi.get(self, "state")
1002
1043
 
1003
1044
  @state.setter
1004
- def state(self, value: Optional[pulumi.Input[str]]):
1045
+ def state(self, value: Optional[pulumi.Input[builtins.str]]):
1005
1046
  pulumi.set(self, "state", value)
1006
1047
 
1007
1048
  @property
1008
1049
  @pulumi.getter
1009
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1050
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
1010
1051
  """
1011
1052
  The tags associated with the server.
1012
1053
  """
1013
1054
  return pulumi.get(self, "tags")
1014
1055
 
1015
1056
  @tags.setter
1016
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1057
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
1017
1058
  pulumi.set(self, "tags", value)
1018
1059
 
1019
1060
  @property
1020
1061
  @pulumi.getter
1021
- def type(self) -> Optional[pulumi.Input[str]]:
1062
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
1022
1063
  """
1023
1064
  The commercial type of the server.
1024
1065
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
@@ -1030,12 +1071,12 @@ class _ServerState:
1030
1071
  return pulumi.get(self, "type")
1031
1072
 
1032
1073
  @type.setter
1033
- def type(self, value: Optional[pulumi.Input[str]]):
1074
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
1034
1075
  pulumi.set(self, "type", value)
1035
1076
 
1036
1077
  @property
1037
1078
  @pulumi.getter(name="userData")
1038
- def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
1079
+ def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
1039
1080
  """
1040
1081
  The user data associated with the server.
1041
1082
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
@@ -1047,51 +1088,53 @@ class _ServerState:
1047
1088
  return pulumi.get(self, "user_data")
1048
1089
 
1049
1090
  @user_data.setter
1050
- def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1091
+ def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
1051
1092
  pulumi.set(self, "user_data", value)
1052
1093
 
1053
1094
  @property
1054
1095
  @pulumi.getter
1055
- def zone(self) -> Optional[pulumi.Input[str]]:
1096
+ def zone(self) -> Optional[pulumi.Input[builtins.str]]:
1056
1097
  """
1057
1098
  `zone`) The zone in which the server should be created.
1058
1099
  """
1059
1100
  return pulumi.get(self, "zone")
1060
1101
 
1061
1102
  @zone.setter
1062
- def zone(self, value: Optional[pulumi.Input[str]]):
1103
+ def zone(self, value: Optional[pulumi.Input[builtins.str]]):
1063
1104
  pulumi.set(self, "zone", value)
1064
1105
 
1065
1106
 
1107
+ @pulumi.type_token("scaleway:instance/server:Server")
1066
1108
  class Server(pulumi.CustomResource):
1067
1109
  @overload
1068
1110
  def __init__(__self__,
1069
1111
  resource_name: str,
1070
1112
  opts: Optional[pulumi.ResourceOptions] = None,
1071
- additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1072
- boot_type: Optional[pulumi.Input[str]] = None,
1073
- bootscript_id: Optional[pulumi.Input[str]] = None,
1074
- cloud_init: Optional[pulumi.Input[str]] = None,
1075
- enable_dynamic_ip: Optional[pulumi.Input[bool]] = None,
1076
- enable_ipv6: Optional[pulumi.Input[bool]] = None,
1077
- image: Optional[pulumi.Input[str]] = None,
1078
- ip_id: Optional[pulumi.Input[str]] = None,
1079
- ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1080
- name: Optional[pulumi.Input[str]] = None,
1081
- placement_group_id: Optional[pulumi.Input[str]] = None,
1113
+ additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1114
+ admin_password_encryption_ssh_key_id: Optional[pulumi.Input[builtins.str]] = None,
1115
+ boot_type: Optional[pulumi.Input[builtins.str]] = None,
1116
+ bootscript_id: Optional[pulumi.Input[builtins.str]] = None,
1117
+ cloud_init: Optional[pulumi.Input[builtins.str]] = None,
1118
+ enable_dynamic_ip: Optional[pulumi.Input[builtins.bool]] = None,
1119
+ enable_ipv6: Optional[pulumi.Input[builtins.bool]] = None,
1120
+ image: Optional[pulumi.Input[builtins.str]] = None,
1121
+ ip_id: Optional[pulumi.Input[builtins.str]] = None,
1122
+ ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1123
+ name: Optional[pulumi.Input[builtins.str]] = None,
1124
+ placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
1082
1125
  private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
1083
1126
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
1084
- project_id: Optional[pulumi.Input[str]] = None,
1085
- protected: Optional[pulumi.Input[bool]] = None,
1127
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
1128
+ protected: Optional[pulumi.Input[builtins.bool]] = None,
1086
1129
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]]] = None,
1087
- replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1130
+ replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
1088
1131
  root_volume: Optional[pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']]] = None,
1089
- security_group_id: Optional[pulumi.Input[str]] = None,
1090
- state: Optional[pulumi.Input[str]] = None,
1091
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1092
- type: Optional[pulumi.Input[str]] = None,
1093
- user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1094
- zone: Optional[pulumi.Input[str]] = None,
1132
+ security_group_id: Optional[pulumi.Input[builtins.str]] = None,
1133
+ state: Optional[pulumi.Input[builtins.str]] = None,
1134
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1135
+ type: Optional[pulumi.Input[builtins.str]] = None,
1136
+ user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1137
+ zone: Optional[pulumi.Input[builtins.str]] = None,
1095
1138
  __props__=None):
1096
1139
  """
1097
1140
  Creates and manages Scaleway compute Instances. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/instance/#path-instances-list-all-instances).
@@ -1276,57 +1319,60 @@ class Server(pulumi.CustomResource):
1276
1319
 
1277
1320
  :param str resource_name: The name of the resource.
1278
1321
  :param pulumi.ResourceOptions opts: Options for the resource.
1279
- :param pulumi.Input[Sequence[pulumi.Input[str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
1322
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
1280
1323
  attached to the server. Updates to this field will trigger a stop/start of the server.
1281
1324
 
1282
1325
  > **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
1283
1326
 
1284
1327
  > **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
1285
- :param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
1286
- :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1287
- :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1288
- :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1289
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1328
+ :param pulumi.Input[builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
1329
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
1330
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
1331
+ :param pulumi.Input[builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
1332
+ :param pulumi.Input[builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1333
+ :param pulumi.Input[builtins.str] cloud_init: The cloud init script associated with this server
1334
+ :param pulumi.Input[builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1335
+ :param pulumi.Input[builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1290
1336
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1291
- :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1337
+ :param pulumi.Input[builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1292
1338
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
1293
1339
 
1294
1340
  You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
1295
1341
 
1296
1342
  To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
1297
- :param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
1298
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
1343
+ :param pulumi.Input[builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
1344
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
1299
1345
 
1300
1346
  > `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
1301
- :param pulumi.Input[str] name: The name of the server.
1302
- :param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
1347
+ :param pulumi.Input[builtins.str] name: The name of the server.
1348
+ :param pulumi.Input[builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
1303
1349
 
1304
1350
 
1305
1351
  > **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
1306
1352
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
1307
1353
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1308
1354
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1309
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1310
- :param pulumi.Input[bool] protected: Set to true to activate server protection option.
1355
+ :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
1356
+ :param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
1311
1357
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1312
- :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1358
+ :param pulumi.Input[builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1313
1359
  :param pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
1314
- :param pulumi.Input[str] security_group_id: The security group the server is attached to
1315
- :param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
1316
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
1317
- :param pulumi.Input[str] type: The commercial type of the server.
1360
+ :param pulumi.Input[builtins.str] security_group_id: The security group the server is attached to
1361
+ :param pulumi.Input[builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
1362
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the server.
1363
+ :param pulumi.Input[builtins.str] type: The commercial type of the server.
1318
1364
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
1319
1365
  Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
1320
1366
  Use `replace_on_type_change` to trigger replacement instead of migration.
1321
1367
 
1322
1368
  > **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
1323
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
1369
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_data: The user data associated with the server.
1324
1370
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
1325
1371
  You can define values using:
1326
1372
  - string
1327
1373
  - UTF-8 encoded file content using file
1328
1374
  - Binary files using filebase64.
1329
- :param pulumi.Input[str] zone: `zone`) The zone in which the server should be created.
1375
+ :param pulumi.Input[builtins.str] zone: `zone`) The zone in which the server should be created.
1330
1376
  """
1331
1377
  ...
1332
1378
  @overload
@@ -1530,30 +1576,31 @@ class Server(pulumi.CustomResource):
1530
1576
  def _internal_init(__self__,
1531
1577
  resource_name: str,
1532
1578
  opts: Optional[pulumi.ResourceOptions] = None,
1533
- additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1534
- boot_type: Optional[pulumi.Input[str]] = None,
1535
- bootscript_id: Optional[pulumi.Input[str]] = None,
1536
- cloud_init: Optional[pulumi.Input[str]] = None,
1537
- enable_dynamic_ip: Optional[pulumi.Input[bool]] = None,
1538
- enable_ipv6: Optional[pulumi.Input[bool]] = None,
1539
- image: Optional[pulumi.Input[str]] = None,
1540
- ip_id: Optional[pulumi.Input[str]] = None,
1541
- ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1542
- name: Optional[pulumi.Input[str]] = None,
1543
- placement_group_id: Optional[pulumi.Input[str]] = None,
1579
+ additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1580
+ admin_password_encryption_ssh_key_id: Optional[pulumi.Input[builtins.str]] = None,
1581
+ boot_type: Optional[pulumi.Input[builtins.str]] = None,
1582
+ bootscript_id: Optional[pulumi.Input[builtins.str]] = None,
1583
+ cloud_init: Optional[pulumi.Input[builtins.str]] = None,
1584
+ enable_dynamic_ip: Optional[pulumi.Input[builtins.bool]] = None,
1585
+ enable_ipv6: Optional[pulumi.Input[builtins.bool]] = None,
1586
+ image: Optional[pulumi.Input[builtins.str]] = None,
1587
+ ip_id: Optional[pulumi.Input[builtins.str]] = None,
1588
+ ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1589
+ name: Optional[pulumi.Input[builtins.str]] = None,
1590
+ placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
1544
1591
  private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
1545
1592
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
1546
- project_id: Optional[pulumi.Input[str]] = None,
1547
- protected: Optional[pulumi.Input[bool]] = None,
1593
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
1594
+ protected: Optional[pulumi.Input[builtins.bool]] = None,
1548
1595
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]]] = None,
1549
- replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1596
+ replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
1550
1597
  root_volume: Optional[pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']]] = None,
1551
- security_group_id: Optional[pulumi.Input[str]] = None,
1552
- state: Optional[pulumi.Input[str]] = None,
1553
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1554
- type: Optional[pulumi.Input[str]] = None,
1555
- user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1556
- zone: Optional[pulumi.Input[str]] = None,
1598
+ security_group_id: Optional[pulumi.Input[builtins.str]] = None,
1599
+ state: Optional[pulumi.Input[builtins.str]] = None,
1600
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1601
+ type: Optional[pulumi.Input[builtins.str]] = None,
1602
+ user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1603
+ zone: Optional[pulumi.Input[builtins.str]] = None,
1557
1604
  __props__=None):
1558
1605
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1559
1606
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1564,6 +1611,7 @@ class Server(pulumi.CustomResource):
1564
1611
  __props__ = ServerArgs.__new__(ServerArgs)
1565
1612
 
1566
1613
  __props__.__dict__["additional_volume_ids"] = additional_volume_ids
1614
+ __props__.__dict__["admin_password_encryption_ssh_key_id"] = admin_password_encryption_ssh_key_id
1567
1615
  __props__.__dict__["boot_type"] = boot_type
1568
1616
  __props__.__dict__["bootscript_id"] = bootscript_id
1569
1617
  __props__.__dict__["cloud_init"] = cloud_init
@@ -1608,37 +1656,38 @@ class Server(pulumi.CustomResource):
1608
1656
  def get(resource_name: str,
1609
1657
  id: pulumi.Input[str],
1610
1658
  opts: Optional[pulumi.ResourceOptions] = None,
1611
- additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1612
- boot_type: Optional[pulumi.Input[str]] = None,
1613
- bootscript_id: Optional[pulumi.Input[str]] = None,
1614
- cloud_init: Optional[pulumi.Input[str]] = None,
1615
- enable_dynamic_ip: Optional[pulumi.Input[bool]] = None,
1616
- enable_ipv6: Optional[pulumi.Input[bool]] = None,
1617
- image: Optional[pulumi.Input[str]] = None,
1618
- ip_id: Optional[pulumi.Input[str]] = None,
1619
- ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1620
- ipv6_address: Optional[pulumi.Input[str]] = None,
1621
- ipv6_gateway: Optional[pulumi.Input[str]] = None,
1622
- ipv6_prefix_length: Optional[pulumi.Input[int]] = None,
1623
- name: Optional[pulumi.Input[str]] = None,
1624
- organization_id: Optional[pulumi.Input[str]] = None,
1625
- placement_group_id: Optional[pulumi.Input[str]] = None,
1626
- placement_group_policy_respected: Optional[pulumi.Input[bool]] = None,
1627
- private_ip: Optional[pulumi.Input[str]] = None,
1659
+ additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1660
+ admin_password_encryption_ssh_key_id: Optional[pulumi.Input[builtins.str]] = None,
1661
+ boot_type: Optional[pulumi.Input[builtins.str]] = None,
1662
+ bootscript_id: Optional[pulumi.Input[builtins.str]] = None,
1663
+ cloud_init: Optional[pulumi.Input[builtins.str]] = None,
1664
+ enable_dynamic_ip: Optional[pulumi.Input[builtins.bool]] = None,
1665
+ enable_ipv6: Optional[pulumi.Input[builtins.bool]] = None,
1666
+ image: Optional[pulumi.Input[builtins.str]] = None,
1667
+ ip_id: Optional[pulumi.Input[builtins.str]] = None,
1668
+ ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1669
+ ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
1670
+ ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None,
1671
+ ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None,
1672
+ name: Optional[pulumi.Input[builtins.str]] = None,
1673
+ organization_id: Optional[pulumi.Input[builtins.str]] = None,
1674
+ placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
1675
+ placement_group_policy_respected: Optional[pulumi.Input[builtins.bool]] = None,
1676
+ private_ip: Optional[pulumi.Input[builtins.str]] = None,
1628
1677
  private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
1629
1678
  private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
1630
- project_id: Optional[pulumi.Input[str]] = None,
1631
- protected: Optional[pulumi.Input[bool]] = None,
1632
- public_ip: Optional[pulumi.Input[str]] = None,
1679
+ project_id: Optional[pulumi.Input[builtins.str]] = None,
1680
+ protected: Optional[pulumi.Input[builtins.bool]] = None,
1681
+ public_ip: Optional[pulumi.Input[builtins.str]] = None,
1633
1682
  public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]]] = None,
1634
- replace_on_type_change: Optional[pulumi.Input[bool]] = None,
1683
+ replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
1635
1684
  root_volume: Optional[pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']]] = None,
1636
- security_group_id: Optional[pulumi.Input[str]] = None,
1637
- state: Optional[pulumi.Input[str]] = None,
1638
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1639
- type: Optional[pulumi.Input[str]] = None,
1640
- user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1641
- zone: Optional[pulumi.Input[str]] = None) -> 'Server':
1685
+ security_group_id: Optional[pulumi.Input[builtins.str]] = None,
1686
+ state: Optional[pulumi.Input[builtins.str]] = None,
1687
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1688
+ type: Optional[pulumi.Input[builtins.str]] = None,
1689
+ user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1690
+ zone: Optional[pulumi.Input[builtins.str]] = None) -> 'Server':
1642
1691
  """
1643
1692
  Get an existing Server resource's state with the given name, id, and optional extra
1644
1693
  properties used to qualify the lookup.
@@ -1646,73 +1695,77 @@ class Server(pulumi.CustomResource):
1646
1695
  :param str resource_name: The unique name of the resulting resource.
1647
1696
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1648
1697
  :param pulumi.ResourceOptions opts: Options for the resource.
1649
- :param pulumi.Input[Sequence[pulumi.Input[str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
1698
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
1650
1699
  attached to the server. Updates to this field will trigger a stop/start of the server.
1651
1700
 
1652
1701
  > **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
1653
1702
 
1654
1703
  > **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
1655
- :param pulumi.Input[str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
1656
- :param pulumi.Input[str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1657
- :param pulumi.Input[str] cloud_init: The cloud init script associated with this server
1658
- :param pulumi.Input[bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1659
- :param pulumi.Input[bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1704
+ :param pulumi.Input[builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
1705
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
1706
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
1707
+ :param pulumi.Input[builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
1708
+ :param pulumi.Input[builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
1709
+ :param pulumi.Input[builtins.str] cloud_init: The cloud init script associated with this server
1710
+ :param pulumi.Input[builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
1711
+ :param pulumi.Input[builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
1660
1712
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1661
- :param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1713
+ :param pulumi.Input[builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1662
1714
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
1663
1715
 
1664
1716
  You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
1665
1717
 
1666
1718
  To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
1667
- :param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
1668
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
1719
+ :param pulumi.Input[builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
1720
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
1669
1721
 
1670
1722
  > `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
1671
- :param pulumi.Input[str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
1723
+ :param pulumi.Input[builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
1672
1724
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1673
- :param pulumi.Input[str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
1725
+ :param pulumi.Input[builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
1674
1726
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1675
- :param pulumi.Input[int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
1727
+ :param pulumi.Input[builtins.int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
1676
1728
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
1677
- :param pulumi.Input[str] name: The name of the server.
1678
- :param pulumi.Input[str] organization_id: The organization ID the server is associated with.
1679
- :param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
1729
+ :param pulumi.Input[builtins.str] name: The name of the server.
1730
+ :param pulumi.Input[builtins.str] organization_id: The organization ID the server is associated with.
1731
+ :param pulumi.Input[builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
1680
1732
 
1681
1733
 
1682
1734
  > **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
1683
- :param pulumi.Input[bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
1684
- :param pulumi.Input[str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
1735
+ :param pulumi.Input[builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
1736
+ :param pulumi.Input[builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
1685
1737
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
1686
1738
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
1687
1739
  Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
1688
- :param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
1689
- :param pulumi.Input[bool] protected: Set to true to activate server protection option.
1690
- :param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
1740
+ :param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
1741
+ :param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
1742
+ :param pulumi.Input[builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
1691
1743
  :param pulumi.Input[Sequence[pulumi.Input[Union['ServerPublicIpArgs', 'ServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
1692
- :param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1744
+ :param pulumi.Input[builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1693
1745
  :param pulumi.Input[Union['ServerRootVolumeArgs', 'ServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
1694
- :param pulumi.Input[str] security_group_id: The security group the server is attached to
1695
- :param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
1696
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
1697
- :param pulumi.Input[str] type: The commercial type of the server.
1746
+ :param pulumi.Input[builtins.str] security_group_id: The security group the server is attached to
1747
+ :param pulumi.Input[builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
1748
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the server.
1749
+ :param pulumi.Input[builtins.str] type: The commercial type of the server.
1698
1750
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
1699
1751
  Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
1700
1752
  Use `replace_on_type_change` to trigger replacement instead of migration.
1701
1753
 
1702
1754
  > **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
1703
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
1755
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_data: The user data associated with the server.
1704
1756
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
1705
1757
  You can define values using:
1706
1758
  - string
1707
1759
  - UTF-8 encoded file content using file
1708
1760
  - Binary files using filebase64.
1709
- :param pulumi.Input[str] zone: `zone`) The zone in which the server should be created.
1761
+ :param pulumi.Input[builtins.str] zone: `zone`) The zone in which the server should be created.
1710
1762
  """
1711
1763
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1712
1764
 
1713
1765
  __props__ = _ServerState.__new__(_ServerState)
1714
1766
 
1715
1767
  __props__.__dict__["additional_volume_ids"] = additional_volume_ids
1768
+ __props__.__dict__["admin_password_encryption_ssh_key_id"] = admin_password_encryption_ssh_key_id
1716
1769
  __props__.__dict__["boot_type"] = boot_type
1717
1770
  __props__.__dict__["bootscript_id"] = bootscript_id
1718
1771
  __props__.__dict__["cloud_init"] = cloud_init
@@ -1747,7 +1800,7 @@ class Server(pulumi.CustomResource):
1747
1800
 
1748
1801
  @property
1749
1802
  @pulumi.getter(name="additionalVolumeIds")
1750
- def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
1803
+ def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1751
1804
  """
1752
1805
  The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
1753
1806
  attached to the server. Updates to this field will trigger a stop/start of the server.
@@ -1758,9 +1811,19 @@ class Server(pulumi.CustomResource):
1758
1811
  """
1759
1812
  return pulumi.get(self, "additional_volume_ids")
1760
1813
 
1814
+ @property
1815
+ @pulumi.getter(name="adminPasswordEncryptionSshKeyId")
1816
+ def admin_password_encryption_ssh_key_id(self) -> pulumi.Output[Optional[builtins.str]]:
1817
+ """
1818
+ The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
1819
+ Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
1820
+ When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
1821
+ """
1822
+ return pulumi.get(self, "admin_password_encryption_ssh_key_id")
1823
+
1761
1824
  @property
1762
1825
  @pulumi.getter(name="bootType")
1763
- def boot_type(self) -> pulumi.Output[Optional[str]]:
1826
+ def boot_type(self) -> pulumi.Output[Optional[builtins.str]]:
1764
1827
  """
1765
1828
  The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
1766
1829
  """
@@ -1769,7 +1832,7 @@ class Server(pulumi.CustomResource):
1769
1832
  @property
1770
1833
  @pulumi.getter(name="bootscriptId")
1771
1834
  @_utilities.deprecated("""bootscript is not supported anymore.""")
1772
- def bootscript_id(self) -> pulumi.Output[str]:
1835
+ def bootscript_id(self) -> pulumi.Output[builtins.str]:
1773
1836
  """
1774
1837
  ID of the target bootscript (set boot_type to bootscript)
1775
1838
  """
@@ -1777,7 +1840,7 @@ class Server(pulumi.CustomResource):
1777
1840
 
1778
1841
  @property
1779
1842
  @pulumi.getter(name="cloudInit")
1780
- def cloud_init(self) -> pulumi.Output[str]:
1843
+ def cloud_init(self) -> pulumi.Output[builtins.str]:
1781
1844
  """
1782
1845
  The cloud init script associated with this server
1783
1846
  """
@@ -1785,7 +1848,7 @@ class Server(pulumi.CustomResource):
1785
1848
 
1786
1849
  @property
1787
1850
  @pulumi.getter(name="enableDynamicIp")
1788
- def enable_dynamic_ip(self) -> pulumi.Output[Optional[bool]]:
1851
+ def enable_dynamic_ip(self) -> pulumi.Output[Optional[builtins.bool]]:
1789
1852
  """
1790
1853
  If true a dynamic IP will be attached to the server.
1791
1854
  """
@@ -1794,7 +1857,7 @@ class Server(pulumi.CustomResource):
1794
1857
  @property
1795
1858
  @pulumi.getter(name="enableIpv6")
1796
1859
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
1797
- def enable_ipv6(self) -> pulumi.Output[Optional[bool]]:
1860
+ def enable_ipv6(self) -> pulumi.Output[Optional[builtins.bool]]:
1798
1861
  """
1799
1862
  Determines if IPv6 is enabled for the server.
1800
1863
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -1803,7 +1866,7 @@ class Server(pulumi.CustomResource):
1803
1866
 
1804
1867
  @property
1805
1868
  @pulumi.getter
1806
- def image(self) -> pulumi.Output[Optional[str]]:
1869
+ def image(self) -> pulumi.Output[Optional[builtins.str]]:
1807
1870
  """
1808
1871
  The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
1809
1872
  to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
@@ -1816,7 +1879,7 @@ class Server(pulumi.CustomResource):
1816
1879
 
1817
1880
  @property
1818
1881
  @pulumi.getter(name="ipId")
1819
- def ip_id(self) -> pulumi.Output[Optional[str]]:
1882
+ def ip_id(self) -> pulumi.Output[Optional[builtins.str]]:
1820
1883
  """
1821
1884
  The ID of the reserved IP that is attached to the server.
1822
1885
  """
@@ -1824,7 +1887,7 @@ class Server(pulumi.CustomResource):
1824
1887
 
1825
1888
  @property
1826
1889
  @pulumi.getter(name="ipIds")
1827
- def ip_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
1890
+ def ip_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1828
1891
  """
1829
1892
  List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
1830
1893
 
@@ -1835,7 +1898,7 @@ class Server(pulumi.CustomResource):
1835
1898
  @property
1836
1899
  @pulumi.getter(name="ipv6Address")
1837
1900
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
1838
- def ipv6_address(self) -> pulumi.Output[str]:
1901
+ def ipv6_address(self) -> pulumi.Output[builtins.str]:
1839
1902
  """
1840
1903
  The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
1841
1904
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -1845,7 +1908,7 @@ class Server(pulumi.CustomResource):
1845
1908
  @property
1846
1909
  @pulumi.getter(name="ipv6Gateway")
1847
1910
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
1848
- def ipv6_gateway(self) -> pulumi.Output[str]:
1911
+ def ipv6_gateway(self) -> pulumi.Output[builtins.str]:
1849
1912
  """
1850
1913
  The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
1851
1914
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -1855,7 +1918,7 @@ class Server(pulumi.CustomResource):
1855
1918
  @property
1856
1919
  @pulumi.getter(name="ipv6PrefixLength")
1857
1920
  @_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
1858
- def ipv6_prefix_length(self) -> pulumi.Output[int]:
1921
+ def ipv6_prefix_length(self) -> pulumi.Output[builtins.int]:
1859
1922
  """
1860
1923
  The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
1861
1924
  Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
@@ -1864,7 +1927,7 @@ class Server(pulumi.CustomResource):
1864
1927
 
1865
1928
  @property
1866
1929
  @pulumi.getter
1867
- def name(self) -> pulumi.Output[str]:
1930
+ def name(self) -> pulumi.Output[builtins.str]:
1868
1931
  """
1869
1932
  The name of the server.
1870
1933
  """
@@ -1872,7 +1935,7 @@ class Server(pulumi.CustomResource):
1872
1935
 
1873
1936
  @property
1874
1937
  @pulumi.getter(name="organizationId")
1875
- def organization_id(self) -> pulumi.Output[str]:
1938
+ def organization_id(self) -> pulumi.Output[builtins.str]:
1876
1939
  """
1877
1940
  The organization ID the server is associated with.
1878
1941
  """
@@ -1880,7 +1943,7 @@ class Server(pulumi.CustomResource):
1880
1943
 
1881
1944
  @property
1882
1945
  @pulumi.getter(name="placementGroupId")
1883
- def placement_group_id(self) -> pulumi.Output[Optional[str]]:
1946
+ def placement_group_id(self) -> pulumi.Output[Optional[builtins.str]]:
1884
1947
  """
1885
1948
  The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
1886
1949
 
@@ -1891,7 +1954,7 @@ class Server(pulumi.CustomResource):
1891
1954
 
1892
1955
  @property
1893
1956
  @pulumi.getter(name="placementGroupPolicyRespected")
1894
- def placement_group_policy_respected(self) -> pulumi.Output[bool]:
1957
+ def placement_group_policy_respected(self) -> pulumi.Output[builtins.bool]:
1895
1958
  """
1896
1959
  (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
1897
1960
  """
@@ -1900,7 +1963,7 @@ class Server(pulumi.CustomResource):
1900
1963
  @property
1901
1964
  @pulumi.getter(name="privateIp")
1902
1965
  @_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
1903
- def private_ip(self) -> pulumi.Output[str]:
1966
+ def private_ip(self) -> pulumi.Output[builtins.str]:
1904
1967
  """
1905
1968
  The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
1906
1969
  """
@@ -1925,7 +1988,7 @@ class Server(pulumi.CustomResource):
1925
1988
 
1926
1989
  @property
1927
1990
  @pulumi.getter(name="projectId")
1928
- def project_id(self) -> pulumi.Output[str]:
1991
+ def project_id(self) -> pulumi.Output[builtins.str]:
1929
1992
  """
1930
1993
  `project_id`) The ID of the project the server is associated with.
1931
1994
  """
@@ -1933,7 +1996,7 @@ class Server(pulumi.CustomResource):
1933
1996
 
1934
1997
  @property
1935
1998
  @pulumi.getter
1936
- def protected(self) -> pulumi.Output[Optional[bool]]:
1999
+ def protected(self) -> pulumi.Output[Optional[builtins.bool]]:
1937
2000
  """
1938
2001
  Set to true to activate server protection option.
1939
2002
  """
@@ -1942,7 +2005,7 @@ class Server(pulumi.CustomResource):
1942
2005
  @property
1943
2006
  @pulumi.getter(name="publicIp")
1944
2007
  @_utilities.deprecated("""Use public_ips instead""")
1945
- def public_ip(self) -> pulumi.Output[str]:
2008
+ def public_ip(self) -> pulumi.Output[builtins.str]:
1946
2009
  """
1947
2010
  The public IP address of the server (Deprecated use `public_ips` instead).
1948
2011
  """
@@ -1958,7 +2021,7 @@ class Server(pulumi.CustomResource):
1958
2021
 
1959
2022
  @property
1960
2023
  @pulumi.getter(name="replaceOnTypeChange")
1961
- def replace_on_type_change(self) -> pulumi.Output[Optional[bool]]:
2024
+ def replace_on_type_change(self) -> pulumi.Output[Optional[builtins.bool]]:
1962
2025
  """
1963
2026
  If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
1964
2027
  """
@@ -1974,7 +2037,7 @@ class Server(pulumi.CustomResource):
1974
2037
 
1975
2038
  @property
1976
2039
  @pulumi.getter(name="securityGroupId")
1977
- def security_group_id(self) -> pulumi.Output[str]:
2040
+ def security_group_id(self) -> pulumi.Output[builtins.str]:
1978
2041
  """
1979
2042
  The security group the server is attached to
1980
2043
  """
@@ -1982,7 +2045,7 @@ class Server(pulumi.CustomResource):
1982
2045
 
1983
2046
  @property
1984
2047
  @pulumi.getter
1985
- def state(self) -> pulumi.Output[Optional[str]]:
2048
+ def state(self) -> pulumi.Output[Optional[builtins.str]]:
1986
2049
  """
1987
2050
  The state of the server. Possible values are: `started`, `stopped` or `standby`.
1988
2051
  """
@@ -1990,7 +2053,7 @@ class Server(pulumi.CustomResource):
1990
2053
 
1991
2054
  @property
1992
2055
  @pulumi.getter
1993
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
2056
+ def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1994
2057
  """
1995
2058
  The tags associated with the server.
1996
2059
  """
@@ -1998,7 +2061,7 @@ class Server(pulumi.CustomResource):
1998
2061
 
1999
2062
  @property
2000
2063
  @pulumi.getter
2001
- def type(self) -> pulumi.Output[str]:
2064
+ def type(self) -> pulumi.Output[builtins.str]:
2002
2065
  """
2003
2066
  The commercial type of the server.
2004
2067
  You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
@@ -2011,7 +2074,7 @@ class Server(pulumi.CustomResource):
2011
2074
 
2012
2075
  @property
2013
2076
  @pulumi.getter(name="userData")
2014
- def user_data(self) -> pulumi.Output[Mapping[str, str]]:
2077
+ def user_data(self) -> pulumi.Output[Mapping[str, builtins.str]]:
2015
2078
  """
2016
2079
  The user data associated with the server.
2017
2080
  Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
@@ -2024,7 +2087,7 @@ class Server(pulumi.CustomResource):
2024
2087
 
2025
2088
  @property
2026
2089
  @pulumi.getter
2027
- def zone(self) -> pulumi.Output[str]:
2090
+ def zone(self) -> pulumi.Output[builtins.str]:
2028
2091
  """
2029
2092
  `zone`) The zone in which the server should be created.
2030
2093
  """