pulumiverse-scaleway 1.34.2a1759388651__py3-none-any.whl → 1.35.0__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.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +1 -1
- pulumiverse_scaleway/_inputs.py +2769 -2816
- pulumiverse_scaleway/account/__init__.py +1 -1
- pulumiverse_scaleway/account/get_availability_zones.py +11 -12
- pulumiverse_scaleway/account/get_project.py +27 -28
- pulumiverse_scaleway/account/get_projects.py +18 -19
- pulumiverse_scaleway/account/get_ssh_key.py +33 -34
- pulumiverse_scaleway/account/outputs.py +25 -26
- pulumiverse_scaleway/account/project.py +70 -71
- pulumiverse_scaleway/account/ssh_key.py +105 -106
- pulumiverse_scaleway/account_project.py +70 -71
- pulumiverse_scaleway/account_ssh_key.py +105 -106
- pulumiverse_scaleway/apple_silicon_server.py +216 -217
- pulumiverse_scaleway/applesilicon/__init__.py +1 -1
- pulumiverse_scaleway/applesilicon/_inputs.py +50 -51
- pulumiverse_scaleway/applesilicon/outputs.py +34 -35
- pulumiverse_scaleway/applesilicon/server.py +216 -217
- pulumiverse_scaleway/autoscaling/__init__.py +1 -1
- pulumiverse_scaleway/autoscaling/_inputs.py +130 -131
- pulumiverse_scaleway/autoscaling/instance_group.py +127 -128
- pulumiverse_scaleway/autoscaling/instance_policy.py +140 -141
- pulumiverse_scaleway/autoscaling/instance_template.py +235 -236
- pulumiverse_scaleway/autoscaling/outputs.py +88 -89
- pulumiverse_scaleway/baremetal_server.py +366 -351
- pulumiverse_scaleway/billing/__init__.py +1 -1
- pulumiverse_scaleway/billing/get_consumptions.py +18 -15
- pulumiverse_scaleway/billing/get_invoices.py +24 -25
- pulumiverse_scaleway/billing/outputs.py +95 -96
- pulumiverse_scaleway/block/__init__.py +1 -1
- pulumiverse_scaleway/block/_inputs.py +25 -26
- pulumiverse_scaleway/block/get_snapshot.py +37 -38
- pulumiverse_scaleway/block/get_volume.py +37 -38
- pulumiverse_scaleway/block/outputs.py +33 -34
- pulumiverse_scaleway/block/snapshot.py +100 -93
- pulumiverse_scaleway/block/volume.py +137 -138
- pulumiverse_scaleway/block_snapshot.py +100 -93
- pulumiverse_scaleway/block_volume.py +137 -138
- pulumiverse_scaleway/cockpit.py +48 -49
- pulumiverse_scaleway/cockpit_alert_manager.py +64 -65
- pulumiverse_scaleway/cockpit_grafana_user.py +70 -71
- pulumiverse_scaleway/cockpit_source.py +140 -141
- pulumiverse_scaleway/cockpit_token.py +82 -83
- pulumiverse_scaleway/config/__init__.py +1 -1
- pulumiverse_scaleway/config/__init__.pyi +1 -2
- pulumiverse_scaleway/config/vars.py +9 -10
- pulumiverse_scaleway/container.py +476 -477
- pulumiverse_scaleway/container_cron.py +95 -96
- pulumiverse_scaleway/container_domain.py +61 -62
- pulumiverse_scaleway/container_namespace.py +181 -182
- pulumiverse_scaleway/container_token.py +95 -96
- pulumiverse_scaleway/container_trigger.py +75 -76
- pulumiverse_scaleway/containers/__init__.py +1 -1
- pulumiverse_scaleway/containers/_inputs.py +86 -87
- pulumiverse_scaleway/containers/container.py +476 -477
- pulumiverse_scaleway/containers/cron.py +95 -96
- pulumiverse_scaleway/containers/domain.py +61 -62
- pulumiverse_scaleway/containers/get_container.py +79 -80
- pulumiverse_scaleway/containers/get_namespace.py +45 -46
- pulumiverse_scaleway/containers/namespace.py +181 -182
- pulumiverse_scaleway/containers/outputs.py +83 -84
- pulumiverse_scaleway/containers/token.py +95 -96
- pulumiverse_scaleway/containers/trigger.py +75 -76
- pulumiverse_scaleway/database.py +79 -80
- pulumiverse_scaleway/database_acl.py +38 -39
- pulumiverse_scaleway/database_backup.py +122 -123
- pulumiverse_scaleway/database_instance.py +408 -409
- pulumiverse_scaleway/database_privilege.py +86 -87
- pulumiverse_scaleway/database_read_replica.py +58 -59
- pulumiverse_scaleway/database_user.py +86 -87
- pulumiverse_scaleway/databases/__init__.py +1 -1
- pulumiverse_scaleway/databases/_inputs.py +227 -228
- pulumiverse_scaleway/databases/acl.py +38 -39
- pulumiverse_scaleway/databases/database.py +79 -80
- pulumiverse_scaleway/databases/database_backup.py +122 -123
- pulumiverse_scaleway/databases/get_acl.py +16 -17
- pulumiverse_scaleway/databases/get_database.py +25 -26
- pulumiverse_scaleway/databases/get_database_backup.py +45 -46
- pulumiverse_scaleway/databases/get_instance.py +72 -73
- pulumiverse_scaleway/databases/get_privilege.py +29 -30
- pulumiverse_scaleway/databases/instance.py +408 -409
- pulumiverse_scaleway/databases/outputs.py +247 -248
- pulumiverse_scaleway/databases/privilege.py +86 -87
- pulumiverse_scaleway/databases/read_replica.py +58 -59
- pulumiverse_scaleway/databases/serverless_database.py +95 -96
- pulumiverse_scaleway/databases/snapshot.py +123 -124
- pulumiverse_scaleway/databases/user.py +86 -87
- pulumiverse_scaleway/domain/__init__.py +1 -1
- pulumiverse_scaleway/domain/_inputs.py +660 -661
- pulumiverse_scaleway/domain/get_record.py +51 -52
- pulumiverse_scaleway/domain/get_zone.py +33 -34
- pulumiverse_scaleway/domain/outputs.py +500 -501
- pulumiverse_scaleway/domain/record.py +150 -151
- pulumiverse_scaleway/domain/registration.py +121 -122
- pulumiverse_scaleway/domain/zone.py +106 -107
- pulumiverse_scaleway/domain_record.py +150 -151
- pulumiverse_scaleway/domain_zone.py +106 -107
- pulumiverse_scaleway/edge_services_backend_stage.py +59 -60
- pulumiverse_scaleway/edge_services_cache_stage.py +162 -159
- pulumiverse_scaleway/edge_services_dns_stage.py +130 -131
- pulumiverse_scaleway/edge_services_head_stage.py +35 -36
- pulumiverse_scaleway/edge_services_pipeline.py +79 -80
- pulumiverse_scaleway/edge_services_plan.py +35 -36
- pulumiverse_scaleway/edge_services_route_stage.py +73 -74
- pulumiverse_scaleway/edge_services_tls_stage.py +150 -151
- pulumiverse_scaleway/edge_services_waf_stage.py +104 -105
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +146 -147
- pulumiverse_scaleway/elasticmetal/get_ip.py +41 -42
- pulumiverse_scaleway/elasticmetal/get_ips.py +30 -31
- pulumiverse_scaleway/elasticmetal/get_offer.py +40 -41
- pulumiverse_scaleway/elasticmetal/get_option.py +23 -24
- pulumiverse_scaleway/elasticmetal/get_os.py +27 -28
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +35 -36
- pulumiverse_scaleway/elasticmetal/get_server.py +69 -70
- pulumiverse_scaleway/elasticmetal/ip.py +165 -166
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +105 -106
- pulumiverse_scaleway/elasticmetal/outputs.py +312 -312
- pulumiverse_scaleway/elasticmetal/server.py +366 -351
- pulumiverse_scaleway/file_filesystem.py +137 -134
- pulumiverse_scaleway/flexible_ip.py +165 -166
- pulumiverse_scaleway/flexible_ip_mac_address.py +105 -106
- pulumiverse_scaleway/function.py +381 -382
- pulumiverse_scaleway/function_cron.py +95 -96
- pulumiverse_scaleway/function_domain.py +61 -62
- pulumiverse_scaleway/function_namespace.py +164 -165
- pulumiverse_scaleway/function_token.py +95 -96
- pulumiverse_scaleway/function_trigger.py +75 -76
- pulumiverse_scaleway/functions/__init__.py +1 -1
- pulumiverse_scaleway/functions/_inputs.py +49 -50
- pulumiverse_scaleway/functions/cron.py +95 -96
- pulumiverse_scaleway/functions/domain.py +61 -62
- pulumiverse_scaleway/functions/function.py +381 -382
- pulumiverse_scaleway/functions/get_function.py +73 -74
- pulumiverse_scaleway/functions/get_namespace.py +43 -44
- pulumiverse_scaleway/functions/namespace.py +164 -165
- pulumiverse_scaleway/functions/outputs.py +33 -34
- pulumiverse_scaleway/functions/token.py +95 -96
- pulumiverse_scaleway/functions/trigger.py +75 -76
- pulumiverse_scaleway/get_account_project.py +27 -28
- pulumiverse_scaleway/get_account_ssh_key.py +33 -34
- pulumiverse_scaleway/get_availability_zones.py +11 -12
- pulumiverse_scaleway/get_baremetal_offer.py +40 -41
- pulumiverse_scaleway/get_baremetal_option.py +23 -24
- pulumiverse_scaleway/get_baremetal_os.py +27 -28
- pulumiverse_scaleway/get_baremetal_server.py +69 -70
- pulumiverse_scaleway/get_billing_consumptions.py +18 -15
- pulumiverse_scaleway/get_billing_invoices.py +24 -25
- pulumiverse_scaleway/get_block_snapshot.py +37 -38
- pulumiverse_scaleway/get_block_volume.py +37 -38
- pulumiverse_scaleway/get_cockpit.py +15 -16
- pulumiverse_scaleway/get_cockpit_source.py +49 -50
- pulumiverse_scaleway/get_config.py +23 -24
- pulumiverse_scaleway/get_container.py +79 -80
- pulumiverse_scaleway/get_container_namespace.py +45 -46
- pulumiverse_scaleway/get_database.py +25 -26
- pulumiverse_scaleway/get_database_acl.py +16 -17
- pulumiverse_scaleway/get_database_backup.py +45 -46
- pulumiverse_scaleway/get_database_instance.py +72 -73
- pulumiverse_scaleway/get_database_privilege.py +29 -30
- pulumiverse_scaleway/get_domain_record.py +51 -52
- pulumiverse_scaleway/get_domain_zone.py +33 -34
- pulumiverse_scaleway/get_flexible_ip.py +41 -42
- pulumiverse_scaleway/get_flexible_ips.py +30 -31
- pulumiverse_scaleway/get_function.py +73 -74
- pulumiverse_scaleway/get_function_namespace.py +43 -44
- pulumiverse_scaleway/get_iam_api_key.py +27 -28
- pulumiverse_scaleway/get_iam_application.py +31 -32
- pulumiverse_scaleway/get_iam_group.py +35 -36
- pulumiverse_scaleway/get_iam_ssh_key.py +33 -34
- pulumiverse_scaleway/get_iam_user.py +27 -28
- pulumiverse_scaleway/get_instance_image.py +57 -58
- pulumiverse_scaleway/get_instance_ip.py +29 -30
- pulumiverse_scaleway/get_instance_placement_group.py +37 -38
- pulumiverse_scaleway/get_instance_private_nic.py +40 -41
- pulumiverse_scaleway/get_instance_security_group.py +45 -46
- pulumiverse_scaleway/get_instance_server.py +81 -82
- pulumiverse_scaleway/get_instance_servers.py +30 -31
- pulumiverse_scaleway/get_instance_snapshot.py +40 -41
- pulumiverse_scaleway/get_instance_volume.py +41 -42
- pulumiverse_scaleway/get_iot_device.py +45 -46
- pulumiverse_scaleway/get_iot_hub.py +59 -60
- pulumiverse_scaleway/get_ipam_ip.py +64 -65
- pulumiverse_scaleway/get_ipam_ips.py +55 -56
- pulumiverse_scaleway/get_k8s_version.py +21 -22
- pulumiverse_scaleway/get_kubernetes_cluster.py +63 -64
- pulumiverse_scaleway/get_kubernetes_node_pool.py +75 -76
- pulumiverse_scaleway/get_lb_acls.py +28 -29
- pulumiverse_scaleway/get_lb_backend.py +74 -75
- pulumiverse_scaleway/get_lb_backends.py +28 -29
- pulumiverse_scaleway/get_lb_frontend.py +44 -45
- pulumiverse_scaleway/get_lb_frontends.py +28 -29
- pulumiverse_scaleway/get_lb_ips.py +36 -37
- pulumiverse_scaleway/get_lb_route.py +25 -26
- pulumiverse_scaleway/get_lb_routes.py +22 -23
- pulumiverse_scaleway/get_lbs.py +30 -31
- pulumiverse_scaleway/get_loadbalancer.py +55 -56
- pulumiverse_scaleway/get_loadbalancer_certificate.py +35 -36
- pulumiverse_scaleway/get_loadbalancer_ip.py +39 -40
- pulumiverse_scaleway/get_marketplace_image.py +27 -28
- pulumiverse_scaleway/get_mnq_sns.py +17 -18
- pulumiverse_scaleway/get_mnq_sqs.py +17 -18
- pulumiverse_scaleway/get_mongo_db_instance.py +62 -63
- pulumiverse_scaleway/get_object_bucket.py +34 -35
- pulumiverse_scaleway/get_object_bucket_policy.py +21 -22
- pulumiverse_scaleway/get_redis_cluster.py +53 -54
- pulumiverse_scaleway/get_registry_image.py +47 -48
- pulumiverse_scaleway/get_registry_image_tag.py +43 -44
- pulumiverse_scaleway/get_registry_namespace.py +35 -36
- pulumiverse_scaleway/get_secret.py +57 -58
- pulumiverse_scaleway/get_secret_version.py +45 -46
- pulumiverse_scaleway/get_tem_domain.py +102 -70
- pulumiverse_scaleway/get_vpc.py +47 -48
- pulumiverse_scaleway/get_vpc_gateway_network.py +43 -44
- pulumiverse_scaleway/get_vpc_private_network.py +47 -48
- pulumiverse_scaleway/get_vpc_public_gateway.py +55 -56
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +31 -32
- pulumiverse_scaleway/get_vpc_routes.py +46 -47
- pulumiverse_scaleway/get_vpcs.py +30 -31
- pulumiverse_scaleway/get_web_host_offer.py +33 -34
- pulumiverse_scaleway/get_webhosting.py +57 -58
- pulumiverse_scaleway/hosting/__init__.py +1 -1
- pulumiverse_scaleway/hosting/_inputs.py +80 -81
- pulumiverse_scaleway/hosting/get_hosting.py +57 -58
- pulumiverse_scaleway/hosting/get_offer.py +33 -34
- pulumiverse_scaleway/hosting/hosting.py +209 -210
- pulumiverse_scaleway/hosting/outputs.py +211 -212
- pulumiverse_scaleway/iam/__init__.py +1 -1
- pulumiverse_scaleway/iam/_inputs.py +25 -26
- pulumiverse_scaleway/iam/api_key.py +140 -141
- pulumiverse_scaleway/iam/application.py +96 -97
- pulumiverse_scaleway/iam/get_api_key.py +27 -28
- pulumiverse_scaleway/iam/get_application.py +31 -32
- pulumiverse_scaleway/iam/get_group.py +35 -36
- pulumiverse_scaleway/iam/get_ssh_key.py +33 -34
- pulumiverse_scaleway/iam/get_user.py +27 -28
- pulumiverse_scaleway/iam/group.py +138 -139
- pulumiverse_scaleway/iam/group_membership.py +52 -53
- pulumiverse_scaleway/iam/outputs.py +17 -18
- pulumiverse_scaleway/iam/policy.py +167 -168
- pulumiverse_scaleway/iam/ssh_key.py +105 -106
- pulumiverse_scaleway/iam/user.py +269 -270
- pulumiverse_scaleway/iam_api_key.py +140 -141
- pulumiverse_scaleway/iam_application.py +96 -97
- pulumiverse_scaleway/iam_group.py +138 -139
- pulumiverse_scaleway/iam_group_membership.py +52 -53
- pulumiverse_scaleway/iam_policy.py +167 -168
- pulumiverse_scaleway/iam_ssh_key.py +105 -106
- pulumiverse_scaleway/iam_user.py +269 -270
- pulumiverse_scaleway/inference/__init__.py +1 -1
- pulumiverse_scaleway/inference/_inputs.py +86 -87
- pulumiverse_scaleway/inference/deployment.py +229 -226
- pulumiverse_scaleway/inference/get_model.py +42 -43
- pulumiverse_scaleway/inference/model.py +160 -161
- pulumiverse_scaleway/inference/outputs.py +75 -76
- pulumiverse_scaleway/inference_deployment.py +229 -226
- pulumiverse_scaleway/instance/__init__.py +2 -1
- pulumiverse_scaleway/instance/_inputs.py +431 -478
- pulumiverse_scaleway/instance/get_image.py +57 -58
- pulumiverse_scaleway/instance/get_ip.py +29 -30
- pulumiverse_scaleway/instance/get_placement_group.py +37 -38
- pulumiverse_scaleway/instance/get_private_nic.py +40 -41
- pulumiverse_scaleway/instance/get_security_group.py +45 -46
- pulumiverse_scaleway/instance/get_server.py +81 -82
- pulumiverse_scaleway/instance/get_server_type.py +271 -0
- pulumiverse_scaleway/instance/get_servers.py +30 -31
- pulumiverse_scaleway/instance/get_snapshot.py +40 -41
- pulumiverse_scaleway/instance/get_volume.py +41 -42
- pulumiverse_scaleway/instance/image.py +258 -205
- pulumiverse_scaleway/instance/ip.py +114 -115
- pulumiverse_scaleway/instance/ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance/outputs.py +702 -574
- pulumiverse_scaleway/instance/placement_group.py +121 -122
- pulumiverse_scaleway/instance/private_nic.py +115 -116
- pulumiverse_scaleway/instance/security_group.py +186 -187
- pulumiverse_scaleway/instance/security_group_rules.py +24 -25
- pulumiverse_scaleway/instance/server.py +433 -434
- pulumiverse_scaleway/instance/snapshot.py +133 -162
- pulumiverse_scaleway/instance/user_data.py +69 -70
- pulumiverse_scaleway/instance/volume.py +155 -177
- pulumiverse_scaleway/instance_image.py +258 -205
- pulumiverse_scaleway/instance_ip.py +114 -115
- pulumiverse_scaleway/instance_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance_placement_group.py +121 -122
- pulumiverse_scaleway/instance_private_nic.py +115 -116
- pulumiverse_scaleway/instance_security_group.py +186 -187
- pulumiverse_scaleway/instance_security_group_rules.py +24 -25
- pulumiverse_scaleway/instance_server.py +433 -434
- pulumiverse_scaleway/instance_snapshot.py +133 -162
- pulumiverse_scaleway/instance_user_data.py +69 -70
- pulumiverse_scaleway/instance_volume.py +155 -177
- pulumiverse_scaleway/iot/__init__.py +1 -1
- pulumiverse_scaleway/iot/_inputs.py +118 -119
- pulumiverse_scaleway/iot/device.py +154 -155
- pulumiverse_scaleway/iot/get_device.py +45 -46
- pulumiverse_scaleway/iot/get_hub.py +59 -60
- pulumiverse_scaleway/iot/hub.py +252 -253
- pulumiverse_scaleway/iot/network.py +113 -114
- pulumiverse_scaleway/iot/outputs.py +106 -107
- pulumiverse_scaleway/iot/route.py +87 -88
- pulumiverse_scaleway/iot_device.py +154 -155
- pulumiverse_scaleway/iot_hub.py +252 -253
- pulumiverse_scaleway/iot_network.py +113 -114
- pulumiverse_scaleway/iot_route.py +87 -88
- pulumiverse_scaleway/ipam/__init__.py +1 -1
- pulumiverse_scaleway/ipam/_inputs.py +103 -104
- pulumiverse_scaleway/ipam/get_ip.py +64 -65
- pulumiverse_scaleway/ipam/get_ips.py +55 -56
- pulumiverse_scaleway/ipam/ip.py +123 -124
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/ipam/outputs.py +119 -120
- pulumiverse_scaleway/ipam_ip.py +123 -124
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/job/__init__.py +1 -1
- pulumiverse_scaleway/job/_inputs.py +44 -45
- pulumiverse_scaleway/job/definition.py +177 -178
- pulumiverse_scaleway/job/outputs.py +30 -31
- pulumiverse_scaleway/job_definition.py +177 -178
- pulumiverse_scaleway/key_manager_key.py +334 -226
- pulumiverse_scaleway/kubernetes/__init__.py +1 -1
- pulumiverse_scaleway/kubernetes/_inputs.py +227 -228
- pulumiverse_scaleway/kubernetes/acl.py +55 -56
- pulumiverse_scaleway/kubernetes/cluster.py +350 -297
- pulumiverse_scaleway/kubernetes/get_cluster.py +63 -64
- pulumiverse_scaleway/kubernetes/get_pool.py +75 -76
- pulumiverse_scaleway/kubernetes/get_version.py +21 -22
- pulumiverse_scaleway/kubernetes/outputs.py +288 -289
- pulumiverse_scaleway/kubernetes/pool.py +374 -375
- pulumiverse_scaleway/kubernetes_cluster.py +350 -297
- pulumiverse_scaleway/kubernetes_node_pool.py +374 -375
- pulumiverse_scaleway/loadbalancer.py +246 -247
- pulumiverse_scaleway/loadbalancer_acl.py +93 -94
- pulumiverse_scaleway/loadbalancer_backend.py +493 -487
- pulumiverse_scaleway/loadbalancer_certificate.py +95 -96
- pulumiverse_scaleway/loadbalancer_frontend.py +201 -202
- pulumiverse_scaleway/loadbalancer_ip.py +122 -123
- pulumiverse_scaleway/loadbalancer_route.py +121 -122
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -1
- pulumiverse_scaleway/loadbalancers/_inputs.py +281 -282
- pulumiverse_scaleway/loadbalancers/acl.py +93 -94
- pulumiverse_scaleway/loadbalancers/backend.py +493 -487
- pulumiverse_scaleway/loadbalancers/certificate.py +95 -96
- pulumiverse_scaleway/loadbalancers/frontend.py +201 -202
- pulumiverse_scaleway/loadbalancers/get_acls.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_backend.py +74 -75
- pulumiverse_scaleway/loadbalancers/get_backends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_certificate.py +35 -36
- pulumiverse_scaleway/loadbalancers/get_frontend.py +44 -45
- pulumiverse_scaleway/loadbalancers/get_frontends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_ip.py +39 -40
- pulumiverse_scaleway/loadbalancers/get_ips.py +36 -37
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +55 -56
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +30 -31
- pulumiverse_scaleway/loadbalancers/get_route.py +25 -26
- pulumiverse_scaleway/loadbalancers/get_routes.py +22 -23
- pulumiverse_scaleway/loadbalancers/ip.py +122 -123
- pulumiverse_scaleway/loadbalancers/load_balancer.py +246 -247
- pulumiverse_scaleway/loadbalancers/outputs.py +754 -751
- pulumiverse_scaleway/loadbalancers/route.py +121 -122
- pulumiverse_scaleway/mnq/__init__.py +1 -1
- pulumiverse_scaleway/mnq/_inputs.py +49 -50
- pulumiverse_scaleway/mnq/get_sns.py +17 -18
- pulumiverse_scaleway/mnq/get_sqs.py +17 -18
- pulumiverse_scaleway/mnq/nats_account.py +61 -62
- pulumiverse_scaleway/mnq/nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq/outputs.py +33 -34
- pulumiverse_scaleway/mnq/sns.py +44 -45
- pulumiverse_scaleway/mnq/sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sns_topic.py +172 -173
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq/sqs.py +44 -45
- pulumiverse_scaleway/mnq/sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sqs_queue.py +243 -244
- pulumiverse_scaleway/mnq_nats_account.py +61 -62
- pulumiverse_scaleway/mnq_nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq_sns.py +44 -45
- pulumiverse_scaleway/mnq_sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sns_topic.py +172 -173
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq_sqs.py +44 -45
- pulumiverse_scaleway/mnq_sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sqs_queue.py +243 -244
- pulumiverse_scaleway/mongo_db_instance.py +309 -310
- pulumiverse_scaleway/mongo_db_snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/__init__.py +1 -1
- pulumiverse_scaleway/mongodb/_inputs.py +80 -81
- pulumiverse_scaleway/mongodb/get_instance.py +62 -63
- pulumiverse_scaleway/mongodb/instance.py +309 -310
- pulumiverse_scaleway/mongodb/outputs.py +95 -96
- pulumiverse_scaleway/mongodb/snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/user.py +72 -73
- pulumiverse_scaleway/network/__init__.py +1 -1
- pulumiverse_scaleway/network/_inputs.py +166 -167
- pulumiverse_scaleway/network/acl.py +72 -73
- pulumiverse_scaleway/network/gateway_network.py +179 -180
- pulumiverse_scaleway/network/get_gateway_network.py +43 -44
- pulumiverse_scaleway/network/get_private_network.py +47 -48
- pulumiverse_scaleway/network/get_public_gateway.py +55 -56
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +31 -32
- pulumiverse_scaleway/network/get_routes.py +46 -47
- pulumiverse_scaleway/network/get_vpc.py +47 -48
- pulumiverse_scaleway/network/get_vpcs.py +30 -31
- pulumiverse_scaleway/network/outputs.py +288 -287
- pulumiverse_scaleway/network/private_network.py +170 -171
- pulumiverse_scaleway/network/public_gateway.py +259 -260
- pulumiverse_scaleway/network/public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/network/route.py +138 -139
- pulumiverse_scaleway/network/vpc.py +139 -140
- pulumiverse_scaleway/object/__init__.py +1 -1
- pulumiverse_scaleway/object/_inputs.py +164 -165
- pulumiverse_scaleway/object/bucket.py +147 -148
- pulumiverse_scaleway/object/bucket_acl.py +89 -90
- pulumiverse_scaleway/object/bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object/bucket_policy.py +69 -70
- pulumiverse_scaleway/object/bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object/get_bucket.py +34 -35
- pulumiverse_scaleway/object/get_bucket_policy.py +21 -22
- pulumiverse_scaleway/object/item.py +239 -240
- pulumiverse_scaleway/object/outputs.py +171 -172
- pulumiverse_scaleway/object_bucket.py +147 -148
- pulumiverse_scaleway/object_bucket_acl.py +89 -90
- pulumiverse_scaleway/object_bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object_bucket_policy.py +69 -70
- pulumiverse_scaleway/object_bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object_item.py +239 -240
- pulumiverse_scaleway/observability/__init__.py +1 -1
- pulumiverse_scaleway/observability/_inputs.py +105 -106
- pulumiverse_scaleway/observability/alert_manager.py +64 -65
- pulumiverse_scaleway/observability/cockpit.py +48 -49
- pulumiverse_scaleway/observability/get_instance.py +15 -16
- pulumiverse_scaleway/observability/get_source.py +49 -50
- pulumiverse_scaleway/observability/get_sources.py +46 -47
- pulumiverse_scaleway/observability/grafana_user.py +70 -71
- pulumiverse_scaleway/observability/outputs.py +149 -150
- pulumiverse_scaleway/observability/source.py +140 -141
- pulumiverse_scaleway/observability/token.py +82 -83
- pulumiverse_scaleway/outputs.py +3934 -3944
- pulumiverse_scaleway/provider.py +82 -83
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +123 -124
- pulumiverse_scaleway/redis/__init__.py +1 -1
- pulumiverse_scaleway/redis/_inputs.py +86 -87
- pulumiverse_scaleway/redis/cluster.py +227 -228
- pulumiverse_scaleway/redis/get_cluster.py +53 -54
- pulumiverse_scaleway/redis/outputs.py +115 -116
- pulumiverse_scaleway/redis_cluster.py +227 -228
- pulumiverse_scaleway/registry/__init__.py +1 -1
- pulumiverse_scaleway/registry/get_image.py +47 -48
- pulumiverse_scaleway/registry/get_image_tag.py +43 -44
- pulumiverse_scaleway/registry/get_namespace.py +35 -36
- pulumiverse_scaleway/registry/namespace.py +104 -105
- pulumiverse_scaleway/registry_namespace.py +104 -105
- pulumiverse_scaleway/sdb_database.py +95 -96
- pulumiverse_scaleway/secret.py +178 -179
- pulumiverse_scaleway/secret_version.py +105 -106
- pulumiverse_scaleway/secrets/__init__.py +1 -1
- pulumiverse_scaleway/secrets/_inputs.py +62 -63
- pulumiverse_scaleway/secrets/get_secret.py +57 -58
- pulumiverse_scaleway/secrets/get_version.py +45 -46
- pulumiverse_scaleway/secrets/outputs.py +83 -84
- pulumiverse_scaleway/secrets/secret.py +178 -179
- pulumiverse_scaleway/secrets/version.py +105 -106
- pulumiverse_scaleway/tem/__init__.py +1 -1
- pulumiverse_scaleway/tem/_inputs.py +32 -33
- pulumiverse_scaleway/tem/blocked_list.py +103 -104
- pulumiverse_scaleway/tem/domain.py +340 -257
- pulumiverse_scaleway/tem/domain_validation.py +61 -62
- pulumiverse_scaleway/tem/get_domain.py +102 -70
- pulumiverse_scaleway/tem/get_offer_subscription.py +33 -34
- pulumiverse_scaleway/tem/outputs.py +43 -44
- pulumiverse_scaleway/tem/webhook.py +130 -131
- pulumiverse_scaleway/tem_domain.py +340 -257
- pulumiverse_scaleway/tem_domain_validation.py +61 -62
- pulumiverse_scaleway/tem_webhook.py +130 -131
- pulumiverse_scaleway/vpc.py +139 -140
- pulumiverse_scaleway/vpc_gateway_network.py +179 -180
- pulumiverse_scaleway/vpc_private_network.py +170 -171
- pulumiverse_scaleway/vpc_public_gateway.py +259 -260
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/vpc_route.py +138 -139
- pulumiverse_scaleway/webhosting.py +209 -210
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.35.0.dist-info/RECORD +500 -0
- pulumiverse_scaleway-1.34.2a1759388651.dist-info/RECORD +0 -499
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,55 +21,55 @@ __all__ = ['BaremetalServerArgs', 'BaremetalServer']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class BaremetalServerArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
offer: pulumi.Input[
|
|
26
|
-
description: Optional[pulumi.Input[
|
|
27
|
-
hostname: Optional[pulumi.Input[
|
|
28
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
29
|
-
name: Optional[pulumi.Input[
|
|
24
|
+
offer: pulumi.Input[_builtins.str],
|
|
25
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
29
|
options: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]]] = None,
|
|
31
|
-
os: Optional[pulumi.Input[
|
|
32
|
-
partitioning: Optional[pulumi.Input[
|
|
33
|
-
password: Optional[pulumi.Input[
|
|
30
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
33
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]]] = None,
|
|
35
34
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]]] = None,
|
|
36
|
-
project_id: Optional[pulumi.Input[
|
|
37
|
-
protected: Optional[pulumi.Input[
|
|
38
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
39
|
-
service_password: Optional[pulumi.Input[
|
|
40
|
-
service_user: Optional[pulumi.Input[
|
|
41
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
42
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
43
|
-
user: Optional[pulumi.Input[
|
|
44
|
-
zone: Optional[pulumi.Input[
|
|
35
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
37
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
38
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
39
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
40
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
41
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
42
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
43
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
45
44
|
"""
|
|
46
45
|
The set of arguments for constructing a BaremetalServer resource.
|
|
47
|
-
:param pulumi.Input[
|
|
46
|
+
:param pulumi.Input[_builtins.str] offer: The offer UUID of the baremetal server.
|
|
48
47
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
49
48
|
|
|
50
49
|
> **Important:** Updates to `offer` will recreate the server.
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
:param pulumi.Input[
|
|
50
|
+
:param pulumi.Input[_builtins.str] description: A description for the server.
|
|
51
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname of the server.
|
|
52
|
+
:param pulumi.Input[_builtins.bool] install_config_afterward: If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
53
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
55
54
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]] options: The options to enable on the server.
|
|
56
55
|
> The `options` block supports:
|
|
57
|
-
:param pulumi.Input[
|
|
56
|
+
:param pulumi.Input[_builtins.str] os: The UUID of the os to install on the server.
|
|
58
57
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
59
58
|
> **Important:** Updates to `os` will reinstall the server.
|
|
60
|
-
:param pulumi.Input[
|
|
61
|
-
:param pulumi.Input[
|
|
59
|
+
:param pulumi.Input[_builtins.str] partitioning: The partitioning schema in JSON format
|
|
60
|
+
:param pulumi.Input[_builtins.str] password: Password used for the installation. May be required depending on used os.
|
|
62
61
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
63
62
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
|
64
|
-
:param pulumi.Input[
|
|
65
|
-
:param pulumi.Input[
|
|
66
|
-
:param pulumi.Input[
|
|
63
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
64
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
65
|
+
:param pulumi.Input[_builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
|
67
66
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
68
|
-
:param pulumi.Input[
|
|
69
|
-
:param pulumi.Input[
|
|
70
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
71
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
72
|
-
:param pulumi.Input[
|
|
73
|
-
:param pulumi.Input[
|
|
67
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
|
68
|
+
:param pulumi.Input[_builtins.str] service_user: User used for the service to install.
|
|
69
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ssh_key_ids: List of SSH keys allowed to connect to the server.
|
|
70
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
|
71
|
+
:param pulumi.Input[_builtins.str] user: User used for the installation.
|
|
72
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
|
74
73
|
"""
|
|
75
74
|
pulumi.set(__self__, "offer", offer)
|
|
76
75
|
if description is not None:
|
|
@@ -112,9 +111,9 @@ class BaremetalServerArgs:
|
|
|
112
111
|
if zone is not None:
|
|
113
112
|
pulumi.set(__self__, "zone", zone)
|
|
114
113
|
|
|
115
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
116
115
|
@pulumi.getter
|
|
117
|
-
def offer(self) -> pulumi.Input[
|
|
116
|
+
def offer(self) -> pulumi.Input[_builtins.str]:
|
|
118
117
|
"""
|
|
119
118
|
The offer UUID of the baremetal server.
|
|
120
119
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
@@ -124,58 +123,58 @@ class BaremetalServerArgs:
|
|
|
124
123
|
return pulumi.get(self, "offer")
|
|
125
124
|
|
|
126
125
|
@offer.setter
|
|
127
|
-
def offer(self, value: pulumi.Input[
|
|
126
|
+
def offer(self, value: pulumi.Input[_builtins.str]):
|
|
128
127
|
pulumi.set(self, "offer", value)
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter
|
|
132
|
-
def description(self) -> Optional[pulumi.Input[
|
|
131
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
133
132
|
"""
|
|
134
133
|
A description for the server.
|
|
135
134
|
"""
|
|
136
135
|
return pulumi.get(self, "description")
|
|
137
136
|
|
|
138
137
|
@description.setter
|
|
139
|
-
def description(self, value: Optional[pulumi.Input[
|
|
138
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
140
139
|
pulumi.set(self, "description", value)
|
|
141
140
|
|
|
142
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
143
142
|
@pulumi.getter
|
|
144
|
-
def hostname(self) -> Optional[pulumi.Input[
|
|
143
|
+
def hostname(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
145
144
|
"""
|
|
146
145
|
The hostname of the server.
|
|
147
146
|
"""
|
|
148
147
|
return pulumi.get(self, "hostname")
|
|
149
148
|
|
|
150
149
|
@hostname.setter
|
|
151
|
-
def hostname(self, value: Optional[pulumi.Input[
|
|
150
|
+
def hostname(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
152
151
|
pulumi.set(self, "hostname", value)
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter(name="installConfigAfterward")
|
|
156
|
-
def install_config_afterward(self) -> Optional[pulumi.Input[
|
|
155
|
+
def install_config_afterward(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
157
156
|
"""
|
|
158
157
|
If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "install_config_afterward")
|
|
161
160
|
|
|
162
161
|
@install_config_afterward.setter
|
|
163
|
-
def install_config_afterward(self, value: Optional[pulumi.Input[
|
|
162
|
+
def install_config_afterward(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
164
163
|
pulumi.set(self, "install_config_afterward", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter
|
|
168
|
-
def name(self) -> Optional[pulumi.Input[
|
|
167
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
169
168
|
"""
|
|
170
169
|
The name of the server.
|
|
171
170
|
"""
|
|
172
171
|
return pulumi.get(self, "name")
|
|
173
172
|
|
|
174
173
|
@name.setter
|
|
175
|
-
def name(self, value: Optional[pulumi.Input[
|
|
174
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
176
175
|
pulumi.set(self, "name", value)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter
|
|
180
179
|
def options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]]]:
|
|
181
180
|
"""
|
|
@@ -188,9 +187,9 @@ class BaremetalServerArgs:
|
|
|
188
187
|
def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]]]):
|
|
189
188
|
pulumi.set(self, "options", value)
|
|
190
189
|
|
|
191
|
-
@property
|
|
190
|
+
@_builtins.property
|
|
192
191
|
@pulumi.getter
|
|
193
|
-
def os(self) -> Optional[pulumi.Input[
|
|
192
|
+
def os(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
194
193
|
"""
|
|
195
194
|
The UUID of the os to install on the server.
|
|
196
195
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
@@ -199,34 +198,34 @@ class BaremetalServerArgs:
|
|
|
199
198
|
return pulumi.get(self, "os")
|
|
200
199
|
|
|
201
200
|
@os.setter
|
|
202
|
-
def os(self, value: Optional[pulumi.Input[
|
|
201
|
+
def os(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
203
202
|
pulumi.set(self, "os", value)
|
|
204
203
|
|
|
205
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
206
205
|
@pulumi.getter
|
|
207
|
-
def partitioning(self) -> Optional[pulumi.Input[
|
|
206
|
+
def partitioning(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
208
207
|
"""
|
|
209
208
|
The partitioning schema in JSON format
|
|
210
209
|
"""
|
|
211
210
|
return pulumi.get(self, "partitioning")
|
|
212
211
|
|
|
213
212
|
@partitioning.setter
|
|
214
|
-
def partitioning(self, value: Optional[pulumi.Input[
|
|
213
|
+
def partitioning(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
215
214
|
pulumi.set(self, "partitioning", value)
|
|
216
215
|
|
|
217
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
218
217
|
@pulumi.getter
|
|
219
|
-
def password(self) -> Optional[pulumi.Input[
|
|
218
|
+
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
220
219
|
"""
|
|
221
220
|
Password used for the installation. May be required depending on used os.
|
|
222
221
|
"""
|
|
223
222
|
return pulumi.get(self, "password")
|
|
224
223
|
|
|
225
224
|
@password.setter
|
|
226
|
-
def password(self, value: Optional[pulumi.Input[
|
|
225
|
+
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
227
226
|
pulumi.set(self, "password", value)
|
|
228
227
|
|
|
229
|
-
@property
|
|
228
|
+
@_builtins.property
|
|
230
229
|
@pulumi.getter(name="privateIps")
|
|
231
230
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]]]:
|
|
232
231
|
"""
|
|
@@ -238,7 +237,7 @@ class BaremetalServerArgs:
|
|
|
238
237
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]]]):
|
|
239
238
|
pulumi.set(self, "private_ips", value)
|
|
240
239
|
|
|
241
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
242
241
|
@pulumi.getter(name="privateNetworks")
|
|
243
242
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]]]:
|
|
244
243
|
"""
|
|
@@ -250,33 +249,33 @@ class BaremetalServerArgs:
|
|
|
250
249
|
def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]]]):
|
|
251
250
|
pulumi.set(self, "private_networks", value)
|
|
252
251
|
|
|
253
|
-
@property
|
|
252
|
+
@_builtins.property
|
|
254
253
|
@pulumi.getter(name="projectId")
|
|
255
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
254
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
256
255
|
"""
|
|
257
256
|
`project_id`) The ID of the project the server is associated with.
|
|
258
257
|
"""
|
|
259
258
|
return pulumi.get(self, "project_id")
|
|
260
259
|
|
|
261
260
|
@project_id.setter
|
|
262
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
261
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
263
262
|
pulumi.set(self, "project_id", value)
|
|
264
263
|
|
|
265
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
266
265
|
@pulumi.getter
|
|
267
|
-
def protected(self) -> Optional[pulumi.Input[
|
|
266
|
+
def protected(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
268
267
|
"""
|
|
269
268
|
Set to true to activate server protection option.
|
|
270
269
|
"""
|
|
271
270
|
return pulumi.get(self, "protected")
|
|
272
271
|
|
|
273
272
|
@protected.setter
|
|
274
|
-
def protected(self, value: Optional[pulumi.Input[
|
|
273
|
+
def protected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
275
274
|
pulumi.set(self, "protected", value)
|
|
276
275
|
|
|
277
|
-
@property
|
|
276
|
+
@_builtins.property
|
|
278
277
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
|
279
|
-
def reinstall_on_config_changes(self) -> Optional[pulumi.Input[
|
|
278
|
+
def reinstall_on_config_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
280
279
|
"""
|
|
281
280
|
If True, this boolean allows to reinstall the server on install config changes.
|
|
282
281
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
@@ -284,150 +283,150 @@ class BaremetalServerArgs:
|
|
|
284
283
|
return pulumi.get(self, "reinstall_on_config_changes")
|
|
285
284
|
|
|
286
285
|
@reinstall_on_config_changes.setter
|
|
287
|
-
def reinstall_on_config_changes(self, value: Optional[pulumi.Input[
|
|
286
|
+
def reinstall_on_config_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
288
287
|
pulumi.set(self, "reinstall_on_config_changes", value)
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter(name="servicePassword")
|
|
292
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
291
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
293
292
|
"""
|
|
294
293
|
Password used for the service to install. May be required depending on used os.
|
|
295
294
|
"""
|
|
296
295
|
return pulumi.get(self, "service_password")
|
|
297
296
|
|
|
298
297
|
@service_password.setter
|
|
299
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
298
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
300
299
|
pulumi.set(self, "service_password", value)
|
|
301
300
|
|
|
302
|
-
@property
|
|
301
|
+
@_builtins.property
|
|
303
302
|
@pulumi.getter(name="serviceUser")
|
|
304
|
-
def service_user(self) -> Optional[pulumi.Input[
|
|
303
|
+
def service_user(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
305
304
|
"""
|
|
306
305
|
User used for the service to install.
|
|
307
306
|
"""
|
|
308
307
|
return pulumi.get(self, "service_user")
|
|
309
308
|
|
|
310
309
|
@service_user.setter
|
|
311
|
-
def service_user(self, value: Optional[pulumi.Input[
|
|
310
|
+
def service_user(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
312
311
|
pulumi.set(self, "service_user", value)
|
|
313
312
|
|
|
314
|
-
@property
|
|
313
|
+
@_builtins.property
|
|
315
314
|
@pulumi.getter(name="sshKeyIds")
|
|
316
|
-
def ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
315
|
+
def ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
317
316
|
"""
|
|
318
317
|
List of SSH keys allowed to connect to the server.
|
|
319
318
|
"""
|
|
320
319
|
return pulumi.get(self, "ssh_key_ids")
|
|
321
320
|
|
|
322
321
|
@ssh_key_ids.setter
|
|
323
|
-
def ssh_key_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
322
|
+
def ssh_key_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
324
323
|
pulumi.set(self, "ssh_key_ids", value)
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter
|
|
328
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
327
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
329
328
|
"""
|
|
330
329
|
The tags associated with the server.
|
|
331
330
|
"""
|
|
332
331
|
return pulumi.get(self, "tags")
|
|
333
332
|
|
|
334
333
|
@tags.setter
|
|
335
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
334
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
336
335
|
pulumi.set(self, "tags", value)
|
|
337
336
|
|
|
338
|
-
@property
|
|
337
|
+
@_builtins.property
|
|
339
338
|
@pulumi.getter
|
|
340
|
-
def user(self) -> Optional[pulumi.Input[
|
|
339
|
+
def user(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
341
340
|
"""
|
|
342
341
|
User used for the installation.
|
|
343
342
|
"""
|
|
344
343
|
return pulumi.get(self, "user")
|
|
345
344
|
|
|
346
345
|
@user.setter
|
|
347
|
-
def user(self, value: Optional[pulumi.Input[
|
|
346
|
+
def user(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
348
347
|
pulumi.set(self, "user", value)
|
|
349
348
|
|
|
350
|
-
@property
|
|
349
|
+
@_builtins.property
|
|
351
350
|
@pulumi.getter
|
|
352
|
-
def zone(self) -> Optional[pulumi.Input[
|
|
351
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
353
352
|
"""
|
|
354
353
|
`zone`) The zone in which the server should be created.
|
|
355
354
|
"""
|
|
356
355
|
return pulumi.get(self, "zone")
|
|
357
356
|
|
|
358
357
|
@zone.setter
|
|
359
|
-
def zone(self, value: Optional[pulumi.Input[
|
|
358
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
360
359
|
pulumi.set(self, "zone", value)
|
|
361
360
|
|
|
362
361
|
|
|
363
362
|
@pulumi.input_type
|
|
364
363
|
class _BaremetalServerState:
|
|
365
364
|
def __init__(__self__, *,
|
|
366
|
-
description: Optional[pulumi.Input[
|
|
367
|
-
domain: Optional[pulumi.Input[
|
|
368
|
-
hostname: Optional[pulumi.Input[
|
|
369
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
365
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
366
|
+
domain: Optional[pulumi.Input[_builtins.str]] = None,
|
|
367
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
368
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
370
369
|
ips: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpArgs']]]] = None,
|
|
371
370
|
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv4Args']]]] = None,
|
|
372
371
|
ipv6s: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv6Args']]]] = None,
|
|
373
|
-
name: Optional[pulumi.Input[
|
|
374
|
-
offer: Optional[pulumi.Input[
|
|
375
|
-
offer_id: Optional[pulumi.Input[
|
|
376
|
-
offer_name: Optional[pulumi.Input[
|
|
372
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
373
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
374
|
+
offer_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
375
|
+
offer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
377
376
|
options: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]]] = None,
|
|
378
|
-
organization_id: Optional[pulumi.Input[
|
|
379
|
-
os: Optional[pulumi.Input[
|
|
380
|
-
os_name: Optional[pulumi.Input[
|
|
381
|
-
partitioning: Optional[pulumi.Input[
|
|
382
|
-
password: Optional[pulumi.Input[
|
|
377
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
378
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
379
|
+
os_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
380
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
381
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
383
382
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]]] = None,
|
|
384
383
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]]] = None,
|
|
385
|
-
project_id: Optional[pulumi.Input[
|
|
386
|
-
protected: Optional[pulumi.Input[
|
|
387
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
388
|
-
service_password: Optional[pulumi.Input[
|
|
389
|
-
service_user: Optional[pulumi.Input[
|
|
390
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
391
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
392
|
-
user: Optional[pulumi.Input[
|
|
393
|
-
zone: Optional[pulumi.Input[
|
|
384
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
385
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
386
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
387
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
388
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
389
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
390
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
391
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
392
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
394
393
|
"""
|
|
395
394
|
Input properties used for looking up and filtering BaremetalServer resources.
|
|
396
|
-
:param pulumi.Input[
|
|
397
|
-
:param pulumi.Input[
|
|
398
|
-
:param pulumi.Input[
|
|
399
|
-
:param pulumi.Input[
|
|
395
|
+
:param pulumi.Input[_builtins.str] description: A description for the server.
|
|
396
|
+
:param pulumi.Input[_builtins.str] domain: The domain of the server.
|
|
397
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname of the server.
|
|
398
|
+
:param pulumi.Input[_builtins.bool] install_config_afterward: If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
400
399
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpArgs']]] ips: (List of) The IPs of the server.
|
|
401
400
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv4Args']]] ipv4s: (List of) The IPv4 addresses of the server.
|
|
402
401
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv6Args']]] ipv6s: (List of) The IPv6 addresses of the server.
|
|
403
|
-
:param pulumi.Input[
|
|
404
|
-
:param pulumi.Input[
|
|
402
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
403
|
+
:param pulumi.Input[_builtins.str] offer: The offer UUID of the baremetal server.
|
|
405
404
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
406
405
|
|
|
407
406
|
> **Important:** Updates to `offer` will recreate the server.
|
|
408
|
-
:param pulumi.Input[
|
|
409
|
-
:param pulumi.Input[
|
|
407
|
+
:param pulumi.Input[_builtins.str] offer_id: The ID of the offer.
|
|
408
|
+
:param pulumi.Input[_builtins.str] offer_name: The name of the offer.
|
|
410
409
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]] options: The options to enable on the server.
|
|
411
410
|
> The `options` block supports:
|
|
412
|
-
:param pulumi.Input[
|
|
413
|
-
:param pulumi.Input[
|
|
411
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
|
412
|
+
:param pulumi.Input[_builtins.str] os: The UUID of the os to install on the server.
|
|
414
413
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
415
414
|
> **Important:** Updates to `os` will reinstall the server.
|
|
416
|
-
:param pulumi.Input[
|
|
417
|
-
:param pulumi.Input[
|
|
418
|
-
:param pulumi.Input[
|
|
415
|
+
:param pulumi.Input[_builtins.str] os_name: The name of the os.
|
|
416
|
+
:param pulumi.Input[_builtins.str] partitioning: The partitioning schema in JSON format
|
|
417
|
+
:param pulumi.Input[_builtins.str] password: Password used for the installation. May be required depending on used os.
|
|
419
418
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
420
419
|
:param pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
|
421
|
-
:param pulumi.Input[
|
|
422
|
-
:param pulumi.Input[
|
|
423
|
-
:param pulumi.Input[
|
|
420
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
421
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
422
|
+
:param pulumi.Input[_builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
|
424
423
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
425
|
-
:param pulumi.Input[
|
|
426
|
-
:param pulumi.Input[
|
|
427
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
428
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
429
|
-
:param pulumi.Input[
|
|
430
|
-
:param pulumi.Input[
|
|
424
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
|
425
|
+
:param pulumi.Input[_builtins.str] service_user: User used for the service to install.
|
|
426
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ssh_key_ids: List of SSH keys allowed to connect to the server.
|
|
427
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
|
428
|
+
:param pulumi.Input[_builtins.str] user: User used for the installation.
|
|
429
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
|
431
430
|
"""
|
|
432
431
|
if description is not None:
|
|
433
432
|
pulumi.set(__self__, "description", description)
|
|
@@ -486,55 +485,55 @@ class _BaremetalServerState:
|
|
|
486
485
|
if zone is not None:
|
|
487
486
|
pulumi.set(__self__, "zone", zone)
|
|
488
487
|
|
|
489
|
-
@property
|
|
488
|
+
@_builtins.property
|
|
490
489
|
@pulumi.getter
|
|
491
|
-
def description(self) -> Optional[pulumi.Input[
|
|
490
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
492
491
|
"""
|
|
493
492
|
A description for the server.
|
|
494
493
|
"""
|
|
495
494
|
return pulumi.get(self, "description")
|
|
496
495
|
|
|
497
496
|
@description.setter
|
|
498
|
-
def description(self, value: Optional[pulumi.Input[
|
|
497
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
499
498
|
pulumi.set(self, "description", value)
|
|
500
499
|
|
|
501
|
-
@property
|
|
500
|
+
@_builtins.property
|
|
502
501
|
@pulumi.getter
|
|
503
|
-
def domain(self) -> Optional[pulumi.Input[
|
|
502
|
+
def domain(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
504
503
|
"""
|
|
505
504
|
The domain of the server.
|
|
506
505
|
"""
|
|
507
506
|
return pulumi.get(self, "domain")
|
|
508
507
|
|
|
509
508
|
@domain.setter
|
|
510
|
-
def domain(self, value: Optional[pulumi.Input[
|
|
509
|
+
def domain(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
511
510
|
pulumi.set(self, "domain", value)
|
|
512
511
|
|
|
513
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
514
513
|
@pulumi.getter
|
|
515
|
-
def hostname(self) -> Optional[pulumi.Input[
|
|
514
|
+
def hostname(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
516
515
|
"""
|
|
517
516
|
The hostname of the server.
|
|
518
517
|
"""
|
|
519
518
|
return pulumi.get(self, "hostname")
|
|
520
519
|
|
|
521
520
|
@hostname.setter
|
|
522
|
-
def hostname(self, value: Optional[pulumi.Input[
|
|
521
|
+
def hostname(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
523
522
|
pulumi.set(self, "hostname", value)
|
|
524
523
|
|
|
525
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
526
525
|
@pulumi.getter(name="installConfigAfterward")
|
|
527
|
-
def install_config_afterward(self) -> Optional[pulumi.Input[
|
|
526
|
+
def install_config_afterward(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
528
527
|
"""
|
|
529
528
|
If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
530
529
|
"""
|
|
531
530
|
return pulumi.get(self, "install_config_afterward")
|
|
532
531
|
|
|
533
532
|
@install_config_afterward.setter
|
|
534
|
-
def install_config_afterward(self, value: Optional[pulumi.Input[
|
|
533
|
+
def install_config_afterward(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
535
534
|
pulumi.set(self, "install_config_afterward", value)
|
|
536
535
|
|
|
537
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
538
537
|
@pulumi.getter
|
|
539
538
|
def ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpArgs']]]]:
|
|
540
539
|
"""
|
|
@@ -546,7 +545,7 @@ class _BaremetalServerState:
|
|
|
546
545
|
def ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpArgs']]]]):
|
|
547
546
|
pulumi.set(self, "ips", value)
|
|
548
547
|
|
|
549
|
-
@property
|
|
548
|
+
@_builtins.property
|
|
550
549
|
@pulumi.getter
|
|
551
550
|
def ipv4s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv4Args']]]]:
|
|
552
551
|
"""
|
|
@@ -558,7 +557,7 @@ class _BaremetalServerState:
|
|
|
558
557
|
def ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv4Args']]]]):
|
|
559
558
|
pulumi.set(self, "ipv4s", value)
|
|
560
559
|
|
|
561
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
562
561
|
@pulumi.getter
|
|
563
562
|
def ipv6s(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv6Args']]]]:
|
|
564
563
|
"""
|
|
@@ -570,21 +569,21 @@ class _BaremetalServerState:
|
|
|
570
569
|
def ipv6s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerIpv6Args']]]]):
|
|
571
570
|
pulumi.set(self, "ipv6s", value)
|
|
572
571
|
|
|
573
|
-
@property
|
|
572
|
+
@_builtins.property
|
|
574
573
|
@pulumi.getter
|
|
575
|
-
def name(self) -> Optional[pulumi.Input[
|
|
574
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
576
575
|
"""
|
|
577
576
|
The name of the server.
|
|
578
577
|
"""
|
|
579
578
|
return pulumi.get(self, "name")
|
|
580
579
|
|
|
581
580
|
@name.setter
|
|
582
|
-
def name(self, value: Optional[pulumi.Input[
|
|
581
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
583
582
|
pulumi.set(self, "name", value)
|
|
584
583
|
|
|
585
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
586
585
|
@pulumi.getter
|
|
587
|
-
def offer(self) -> Optional[pulumi.Input[
|
|
586
|
+
def offer(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
588
587
|
"""
|
|
589
588
|
The offer UUID of the baremetal server.
|
|
590
589
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
@@ -594,34 +593,34 @@ class _BaremetalServerState:
|
|
|
594
593
|
return pulumi.get(self, "offer")
|
|
595
594
|
|
|
596
595
|
@offer.setter
|
|
597
|
-
def offer(self, value: Optional[pulumi.Input[
|
|
596
|
+
def offer(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
598
597
|
pulumi.set(self, "offer", value)
|
|
599
598
|
|
|
600
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
601
600
|
@pulumi.getter(name="offerId")
|
|
602
|
-
def offer_id(self) -> Optional[pulumi.Input[
|
|
601
|
+
def offer_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
603
602
|
"""
|
|
604
603
|
The ID of the offer.
|
|
605
604
|
"""
|
|
606
605
|
return pulumi.get(self, "offer_id")
|
|
607
606
|
|
|
608
607
|
@offer_id.setter
|
|
609
|
-
def offer_id(self, value: Optional[pulumi.Input[
|
|
608
|
+
def offer_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
610
609
|
pulumi.set(self, "offer_id", value)
|
|
611
610
|
|
|
612
|
-
@property
|
|
611
|
+
@_builtins.property
|
|
613
612
|
@pulumi.getter(name="offerName")
|
|
614
|
-
def offer_name(self) -> Optional[pulumi.Input[
|
|
613
|
+
def offer_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
615
614
|
"""
|
|
616
615
|
The name of the offer.
|
|
617
616
|
"""
|
|
618
617
|
return pulumi.get(self, "offer_name")
|
|
619
618
|
|
|
620
619
|
@offer_name.setter
|
|
621
|
-
def offer_name(self, value: Optional[pulumi.Input[
|
|
620
|
+
def offer_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
622
621
|
pulumi.set(self, "offer_name", value)
|
|
623
622
|
|
|
624
|
-
@property
|
|
623
|
+
@_builtins.property
|
|
625
624
|
@pulumi.getter
|
|
626
625
|
def options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]]]:
|
|
627
626
|
"""
|
|
@@ -634,21 +633,21 @@ class _BaremetalServerState:
|
|
|
634
633
|
def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerOptionArgs']]]]):
|
|
635
634
|
pulumi.set(self, "options", value)
|
|
636
635
|
|
|
637
|
-
@property
|
|
636
|
+
@_builtins.property
|
|
638
637
|
@pulumi.getter(name="organizationId")
|
|
639
|
-
def organization_id(self) -> Optional[pulumi.Input[
|
|
638
|
+
def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
640
639
|
"""
|
|
641
640
|
The organization ID the server is associated with.
|
|
642
641
|
"""
|
|
643
642
|
return pulumi.get(self, "organization_id")
|
|
644
643
|
|
|
645
644
|
@organization_id.setter
|
|
646
|
-
def organization_id(self, value: Optional[pulumi.Input[
|
|
645
|
+
def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
647
646
|
pulumi.set(self, "organization_id", value)
|
|
648
647
|
|
|
649
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
650
649
|
@pulumi.getter
|
|
651
|
-
def os(self) -> Optional[pulumi.Input[
|
|
650
|
+
def os(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
652
651
|
"""
|
|
653
652
|
The UUID of the os to install on the server.
|
|
654
653
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
@@ -657,46 +656,46 @@ class _BaremetalServerState:
|
|
|
657
656
|
return pulumi.get(self, "os")
|
|
658
657
|
|
|
659
658
|
@os.setter
|
|
660
|
-
def os(self, value: Optional[pulumi.Input[
|
|
659
|
+
def os(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
661
660
|
pulumi.set(self, "os", value)
|
|
662
661
|
|
|
663
|
-
@property
|
|
662
|
+
@_builtins.property
|
|
664
663
|
@pulumi.getter(name="osName")
|
|
665
|
-
def os_name(self) -> Optional[pulumi.Input[
|
|
664
|
+
def os_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
666
665
|
"""
|
|
667
666
|
The name of the os.
|
|
668
667
|
"""
|
|
669
668
|
return pulumi.get(self, "os_name")
|
|
670
669
|
|
|
671
670
|
@os_name.setter
|
|
672
|
-
def os_name(self, value: Optional[pulumi.Input[
|
|
671
|
+
def os_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
673
672
|
pulumi.set(self, "os_name", value)
|
|
674
673
|
|
|
675
|
-
@property
|
|
674
|
+
@_builtins.property
|
|
676
675
|
@pulumi.getter
|
|
677
|
-
def partitioning(self) -> Optional[pulumi.Input[
|
|
676
|
+
def partitioning(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
678
677
|
"""
|
|
679
678
|
The partitioning schema in JSON format
|
|
680
679
|
"""
|
|
681
680
|
return pulumi.get(self, "partitioning")
|
|
682
681
|
|
|
683
682
|
@partitioning.setter
|
|
684
|
-
def partitioning(self, value: Optional[pulumi.Input[
|
|
683
|
+
def partitioning(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
685
684
|
pulumi.set(self, "partitioning", value)
|
|
686
685
|
|
|
687
|
-
@property
|
|
686
|
+
@_builtins.property
|
|
688
687
|
@pulumi.getter
|
|
689
|
-
def password(self) -> Optional[pulumi.Input[
|
|
688
|
+
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
690
689
|
"""
|
|
691
690
|
Password used for the installation. May be required depending on used os.
|
|
692
691
|
"""
|
|
693
692
|
return pulumi.get(self, "password")
|
|
694
693
|
|
|
695
694
|
@password.setter
|
|
696
|
-
def password(self, value: Optional[pulumi.Input[
|
|
695
|
+
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
697
696
|
pulumi.set(self, "password", value)
|
|
698
697
|
|
|
699
|
-
@property
|
|
698
|
+
@_builtins.property
|
|
700
699
|
@pulumi.getter(name="privateIps")
|
|
701
700
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]]]:
|
|
702
701
|
"""
|
|
@@ -708,7 +707,7 @@ class _BaremetalServerState:
|
|
|
708
707
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateIpArgs']]]]):
|
|
709
708
|
pulumi.set(self, "private_ips", value)
|
|
710
709
|
|
|
711
|
-
@property
|
|
710
|
+
@_builtins.property
|
|
712
711
|
@pulumi.getter(name="privateNetworks")
|
|
713
712
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]]]:
|
|
714
713
|
"""
|
|
@@ -720,33 +719,33 @@ class _BaremetalServerState:
|
|
|
720
719
|
def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BaremetalServerPrivateNetworkArgs']]]]):
|
|
721
720
|
pulumi.set(self, "private_networks", value)
|
|
722
721
|
|
|
723
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
724
723
|
@pulumi.getter(name="projectId")
|
|
725
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
724
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
726
725
|
"""
|
|
727
726
|
`project_id`) The ID of the project the server is associated with.
|
|
728
727
|
"""
|
|
729
728
|
return pulumi.get(self, "project_id")
|
|
730
729
|
|
|
731
730
|
@project_id.setter
|
|
732
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
731
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
733
732
|
pulumi.set(self, "project_id", value)
|
|
734
733
|
|
|
735
|
-
@property
|
|
734
|
+
@_builtins.property
|
|
736
735
|
@pulumi.getter
|
|
737
|
-
def protected(self) -> Optional[pulumi.Input[
|
|
736
|
+
def protected(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
738
737
|
"""
|
|
739
738
|
Set to true to activate server protection option.
|
|
740
739
|
"""
|
|
741
740
|
return pulumi.get(self, "protected")
|
|
742
741
|
|
|
743
742
|
@protected.setter
|
|
744
|
-
def protected(self, value: Optional[pulumi.Input[
|
|
743
|
+
def protected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
745
744
|
pulumi.set(self, "protected", value)
|
|
746
745
|
|
|
747
|
-
@property
|
|
746
|
+
@_builtins.property
|
|
748
747
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
|
749
|
-
def reinstall_on_config_changes(self) -> Optional[pulumi.Input[
|
|
748
|
+
def reinstall_on_config_changes(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
750
749
|
"""
|
|
751
750
|
If True, this boolean allows to reinstall the server on install config changes.
|
|
752
751
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
@@ -754,79 +753,79 @@ class _BaremetalServerState:
|
|
|
754
753
|
return pulumi.get(self, "reinstall_on_config_changes")
|
|
755
754
|
|
|
756
755
|
@reinstall_on_config_changes.setter
|
|
757
|
-
def reinstall_on_config_changes(self, value: Optional[pulumi.Input[
|
|
756
|
+
def reinstall_on_config_changes(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
758
757
|
pulumi.set(self, "reinstall_on_config_changes", value)
|
|
759
758
|
|
|
760
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
761
760
|
@pulumi.getter(name="servicePassword")
|
|
762
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
761
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
763
762
|
"""
|
|
764
763
|
Password used for the service to install. May be required depending on used os.
|
|
765
764
|
"""
|
|
766
765
|
return pulumi.get(self, "service_password")
|
|
767
766
|
|
|
768
767
|
@service_password.setter
|
|
769
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
768
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
770
769
|
pulumi.set(self, "service_password", value)
|
|
771
770
|
|
|
772
|
-
@property
|
|
771
|
+
@_builtins.property
|
|
773
772
|
@pulumi.getter(name="serviceUser")
|
|
774
|
-
def service_user(self) -> Optional[pulumi.Input[
|
|
773
|
+
def service_user(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
775
774
|
"""
|
|
776
775
|
User used for the service to install.
|
|
777
776
|
"""
|
|
778
777
|
return pulumi.get(self, "service_user")
|
|
779
778
|
|
|
780
779
|
@service_user.setter
|
|
781
|
-
def service_user(self, value: Optional[pulumi.Input[
|
|
780
|
+
def service_user(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
782
781
|
pulumi.set(self, "service_user", value)
|
|
783
782
|
|
|
784
|
-
@property
|
|
783
|
+
@_builtins.property
|
|
785
784
|
@pulumi.getter(name="sshKeyIds")
|
|
786
|
-
def ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
785
|
+
def ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
787
786
|
"""
|
|
788
787
|
List of SSH keys allowed to connect to the server.
|
|
789
788
|
"""
|
|
790
789
|
return pulumi.get(self, "ssh_key_ids")
|
|
791
790
|
|
|
792
791
|
@ssh_key_ids.setter
|
|
793
|
-
def ssh_key_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
792
|
+
def ssh_key_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
794
793
|
pulumi.set(self, "ssh_key_ids", value)
|
|
795
794
|
|
|
796
|
-
@property
|
|
795
|
+
@_builtins.property
|
|
797
796
|
@pulumi.getter
|
|
798
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
797
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
799
798
|
"""
|
|
800
799
|
The tags associated with the server.
|
|
801
800
|
"""
|
|
802
801
|
return pulumi.get(self, "tags")
|
|
803
802
|
|
|
804
803
|
@tags.setter
|
|
805
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
804
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
806
805
|
pulumi.set(self, "tags", value)
|
|
807
806
|
|
|
808
|
-
@property
|
|
807
|
+
@_builtins.property
|
|
809
808
|
@pulumi.getter
|
|
810
|
-
def user(self) -> Optional[pulumi.Input[
|
|
809
|
+
def user(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
811
810
|
"""
|
|
812
811
|
User used for the installation.
|
|
813
812
|
"""
|
|
814
813
|
return pulumi.get(self, "user")
|
|
815
814
|
|
|
816
815
|
@user.setter
|
|
817
|
-
def user(self, value: Optional[pulumi.Input[
|
|
816
|
+
def user(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
818
817
|
pulumi.set(self, "user", value)
|
|
819
818
|
|
|
820
|
-
@property
|
|
819
|
+
@_builtins.property
|
|
821
820
|
@pulumi.getter
|
|
822
|
-
def zone(self) -> Optional[pulumi.Input[
|
|
821
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
823
822
|
"""
|
|
824
823
|
`zone`) The zone in which the server should be created.
|
|
825
824
|
"""
|
|
826
825
|
return pulumi.get(self, "zone")
|
|
827
826
|
|
|
828
827
|
@zone.setter
|
|
829
|
-
def zone(self, value: Optional[pulumi.Input[
|
|
828
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
830
829
|
pulumi.set(self, "zone", value)
|
|
831
830
|
|
|
832
831
|
|
|
@@ -841,32 +840,40 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
841
840
|
def __init__(__self__,
|
|
842
841
|
resource_name: str,
|
|
843
842
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
844
|
-
description: Optional[pulumi.Input[
|
|
845
|
-
hostname: Optional[pulumi.Input[
|
|
846
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
847
|
-
name: Optional[pulumi.Input[
|
|
848
|
-
offer: Optional[pulumi.Input[
|
|
843
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
844
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
845
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
846
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
847
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
849
848
|
options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerOptionArgs', 'BaremetalServerOptionArgsDict']]]]] = None,
|
|
850
|
-
os: Optional[pulumi.Input[
|
|
851
|
-
partitioning: Optional[pulumi.Input[
|
|
852
|
-
password: Optional[pulumi.Input[
|
|
849
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
850
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
851
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
853
852
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateIpArgs', 'BaremetalServerPrivateIpArgsDict']]]]] = None,
|
|
854
853
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]]] = None,
|
|
855
|
-
project_id: Optional[pulumi.Input[
|
|
856
|
-
protected: Optional[pulumi.Input[
|
|
857
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
858
|
-
service_password: Optional[pulumi.Input[
|
|
859
|
-
service_user: Optional[pulumi.Input[
|
|
860
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
861
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
862
|
-
user: Optional[pulumi.Input[
|
|
863
|
-
zone: Optional[pulumi.Input[
|
|
854
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
855
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
856
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
857
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
858
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
859
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
860
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
861
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
862
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
864
863
|
__props__=None):
|
|
865
864
|
"""
|
|
866
865
|
Creates and manages Scaleway Compute Baremetal servers. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/elastic-metal/).
|
|
867
866
|
|
|
868
867
|
## Example Usage
|
|
869
868
|
|
|
869
|
+
### Basic
|
|
870
|
+
|
|
871
|
+
### With option
|
|
872
|
+
|
|
873
|
+
### With private network
|
|
874
|
+
|
|
875
|
+
### With IPAM IP IDs
|
|
876
|
+
|
|
870
877
|
### Without install config
|
|
871
878
|
|
|
872
879
|
```python
|
|
@@ -970,33 +977,33 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
970
977
|
|
|
971
978
|
:param str resource_name: The name of the resource.
|
|
972
979
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
973
|
-
:param pulumi.Input[
|
|
974
|
-
:param pulumi.Input[
|
|
975
|
-
:param pulumi.Input[
|
|
976
|
-
:param pulumi.Input[
|
|
977
|
-
:param pulumi.Input[
|
|
980
|
+
:param pulumi.Input[_builtins.str] description: A description for the server.
|
|
981
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname of the server.
|
|
982
|
+
:param pulumi.Input[_builtins.bool] install_config_afterward: If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
983
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
984
|
+
:param pulumi.Input[_builtins.str] offer: The offer UUID of the baremetal server.
|
|
978
985
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
979
986
|
|
|
980
987
|
> **Important:** Updates to `offer` will recreate the server.
|
|
981
988
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerOptionArgs', 'BaremetalServerOptionArgsDict']]]] options: The options to enable on the server.
|
|
982
989
|
> The `options` block supports:
|
|
983
|
-
:param pulumi.Input[
|
|
990
|
+
:param pulumi.Input[_builtins.str] os: The UUID of the os to install on the server.
|
|
984
991
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
985
992
|
> **Important:** Updates to `os` will reinstall the server.
|
|
986
|
-
:param pulumi.Input[
|
|
987
|
-
:param pulumi.Input[
|
|
993
|
+
:param pulumi.Input[_builtins.str] partitioning: The partitioning schema in JSON format
|
|
994
|
+
:param pulumi.Input[_builtins.str] password: Password used for the installation. May be required depending on used os.
|
|
988
995
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateIpArgs', 'BaremetalServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
989
996
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
|
990
|
-
:param pulumi.Input[
|
|
991
|
-
:param pulumi.Input[
|
|
992
|
-
:param pulumi.Input[
|
|
997
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
998
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
999
|
+
:param pulumi.Input[_builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
|
993
1000
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
994
|
-
:param pulumi.Input[
|
|
995
|
-
:param pulumi.Input[
|
|
996
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
997
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
998
|
-
:param pulumi.Input[
|
|
999
|
-
:param pulumi.Input[
|
|
1001
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
|
1002
|
+
:param pulumi.Input[_builtins.str] service_user: User used for the service to install.
|
|
1003
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ssh_key_ids: List of SSH keys allowed to connect to the server.
|
|
1004
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
|
1005
|
+
:param pulumi.Input[_builtins.str] user: User used for the installation.
|
|
1006
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
|
1000
1007
|
"""
|
|
1001
1008
|
...
|
|
1002
1009
|
@overload
|
|
@@ -1009,6 +1016,14 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1009
1016
|
|
|
1010
1017
|
## Example Usage
|
|
1011
1018
|
|
|
1019
|
+
### Basic
|
|
1020
|
+
|
|
1021
|
+
### With option
|
|
1022
|
+
|
|
1023
|
+
### With private network
|
|
1024
|
+
|
|
1025
|
+
### With IPAM IP IDs
|
|
1026
|
+
|
|
1012
1027
|
### Without install config
|
|
1013
1028
|
|
|
1014
1029
|
```python
|
|
@@ -1125,26 +1140,26 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1125
1140
|
def _internal_init(__self__,
|
|
1126
1141
|
resource_name: str,
|
|
1127
1142
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1128
|
-
description: Optional[pulumi.Input[
|
|
1129
|
-
hostname: Optional[pulumi.Input[
|
|
1130
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
1131
|
-
name: Optional[pulumi.Input[
|
|
1132
|
-
offer: Optional[pulumi.Input[
|
|
1143
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1144
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1145
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1146
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1147
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1133
1148
|
options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerOptionArgs', 'BaremetalServerOptionArgsDict']]]]] = None,
|
|
1134
|
-
os: Optional[pulumi.Input[
|
|
1135
|
-
partitioning: Optional[pulumi.Input[
|
|
1136
|
-
password: Optional[pulumi.Input[
|
|
1149
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1150
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1151
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1137
1152
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateIpArgs', 'BaremetalServerPrivateIpArgsDict']]]]] = None,
|
|
1138
1153
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]]] = None,
|
|
1139
|
-
project_id: Optional[pulumi.Input[
|
|
1140
|
-
protected: Optional[pulumi.Input[
|
|
1141
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
1142
|
-
service_password: Optional[pulumi.Input[
|
|
1143
|
-
service_user: Optional[pulumi.Input[
|
|
1144
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1145
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1146
|
-
user: Optional[pulumi.Input[
|
|
1147
|
-
zone: Optional[pulumi.Input[
|
|
1154
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1155
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1156
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1157
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1158
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1159
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1160
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1161
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1162
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1148
1163
|
__props__=None):
|
|
1149
1164
|
pulumi.log.warn("""BaremetalServer is deprecated: scaleway.index/baremetalserver.BaremetalServer has been deprecated in favor of scaleway.elasticmetal/server.Server""")
|
|
1150
1165
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1197,34 +1212,34 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1197
1212
|
def get(resource_name: str,
|
|
1198
1213
|
id: pulumi.Input[str],
|
|
1199
1214
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1200
|
-
description: Optional[pulumi.Input[
|
|
1201
|
-
domain: Optional[pulumi.Input[
|
|
1202
|
-
hostname: Optional[pulumi.Input[
|
|
1203
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
1215
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1216
|
+
domain: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1217
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1218
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1204
1219
|
ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpArgs', 'BaremetalServerIpArgsDict']]]]] = None,
|
|
1205
1220
|
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpv4Args', 'BaremetalServerIpv4ArgsDict']]]]] = None,
|
|
1206
1221
|
ipv6s: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpv6Args', 'BaremetalServerIpv6ArgsDict']]]]] = None,
|
|
1207
|
-
name: Optional[pulumi.Input[
|
|
1208
|
-
offer: Optional[pulumi.Input[
|
|
1209
|
-
offer_id: Optional[pulumi.Input[
|
|
1210
|
-
offer_name: Optional[pulumi.Input[
|
|
1222
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1223
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1224
|
+
offer_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1225
|
+
offer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1211
1226
|
options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerOptionArgs', 'BaremetalServerOptionArgsDict']]]]] = None,
|
|
1212
|
-
organization_id: Optional[pulumi.Input[
|
|
1213
|
-
os: Optional[pulumi.Input[
|
|
1214
|
-
os_name: Optional[pulumi.Input[
|
|
1215
|
-
partitioning: Optional[pulumi.Input[
|
|
1216
|
-
password: Optional[pulumi.Input[
|
|
1227
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1228
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1229
|
+
os_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1230
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1231
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1217
1232
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateIpArgs', 'BaremetalServerPrivateIpArgsDict']]]]] = None,
|
|
1218
1233
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]]] = None,
|
|
1219
|
-
project_id: Optional[pulumi.Input[
|
|
1220
|
-
protected: Optional[pulumi.Input[
|
|
1221
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
1222
|
-
service_password: Optional[pulumi.Input[
|
|
1223
|
-
service_user: Optional[pulumi.Input[
|
|
1224
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1225
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1226
|
-
user: Optional[pulumi.Input[
|
|
1227
|
-
zone: Optional[pulumi.Input[
|
|
1234
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1235
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1236
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1237
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1238
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1239
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1240
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1241
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1242
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'BaremetalServer':
|
|
1228
1243
|
"""
|
|
1229
1244
|
Get an existing BaremetalServer resource's state with the given name, id, and optional extra
|
|
1230
1245
|
properties used to qualify the lookup.
|
|
@@ -1232,41 +1247,41 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1232
1247
|
:param str resource_name: The unique name of the resulting resource.
|
|
1233
1248
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1234
1249
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1235
|
-
:param pulumi.Input[
|
|
1236
|
-
:param pulumi.Input[
|
|
1237
|
-
:param pulumi.Input[
|
|
1238
|
-
:param pulumi.Input[
|
|
1250
|
+
:param pulumi.Input[_builtins.str] description: A description for the server.
|
|
1251
|
+
:param pulumi.Input[_builtins.str] domain: The domain of the server.
|
|
1252
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname of the server.
|
|
1253
|
+
:param pulumi.Input[_builtins.bool] install_config_afterward: If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
1239
1254
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpArgs', 'BaremetalServerIpArgsDict']]]] ips: (List of) The IPs of the server.
|
|
1240
1255
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpv4Args', 'BaremetalServerIpv4ArgsDict']]]] ipv4s: (List of) The IPv4 addresses of the server.
|
|
1241
1256
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerIpv6Args', 'BaremetalServerIpv6ArgsDict']]]] ipv6s: (List of) The IPv6 addresses of the server.
|
|
1242
|
-
:param pulumi.Input[
|
|
1243
|
-
:param pulumi.Input[
|
|
1257
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
1258
|
+
:param pulumi.Input[_builtins.str] offer: The offer UUID of the baremetal server.
|
|
1244
1259
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
1245
1260
|
|
|
1246
1261
|
> **Important:** Updates to `offer` will recreate the server.
|
|
1247
|
-
:param pulumi.Input[
|
|
1248
|
-
:param pulumi.Input[
|
|
1262
|
+
:param pulumi.Input[_builtins.str] offer_id: The ID of the offer.
|
|
1263
|
+
:param pulumi.Input[_builtins.str] offer_name: The name of the offer.
|
|
1249
1264
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerOptionArgs', 'BaremetalServerOptionArgsDict']]]] options: The options to enable on the server.
|
|
1250
1265
|
> The `options` block supports:
|
|
1251
|
-
:param pulumi.Input[
|
|
1252
|
-
:param pulumi.Input[
|
|
1266
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
|
1267
|
+
:param pulumi.Input[_builtins.str] os: The UUID of the os to install on the server.
|
|
1253
1268
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
1254
1269
|
> **Important:** Updates to `os` will reinstall the server.
|
|
1255
|
-
:param pulumi.Input[
|
|
1256
|
-
:param pulumi.Input[
|
|
1257
|
-
:param pulumi.Input[
|
|
1270
|
+
:param pulumi.Input[_builtins.str] os_name: The name of the os.
|
|
1271
|
+
:param pulumi.Input[_builtins.str] partitioning: The partitioning schema in JSON format
|
|
1272
|
+
:param pulumi.Input[_builtins.str] password: Password used for the installation. May be required depending on used os.
|
|
1258
1273
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateIpArgs', 'BaremetalServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
1259
1274
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BaremetalServerPrivateNetworkArgs', 'BaremetalServerPrivateNetworkArgsDict']]]] private_networks: The private networks to attach to the server. For more information, see [the documentation](https://www.scaleway.com/en/docs/compute/elastic-metal/how-to/use-private-networks/)
|
|
1260
|
-
:param pulumi.Input[
|
|
1261
|
-
:param pulumi.Input[
|
|
1262
|
-
:param pulumi.Input[
|
|
1275
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
1276
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
1277
|
+
:param pulumi.Input[_builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
|
1263
1278
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
1264
|
-
:param pulumi.Input[
|
|
1265
|
-
:param pulumi.Input[
|
|
1266
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1267
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1268
|
-
:param pulumi.Input[
|
|
1269
|
-
:param pulumi.Input[
|
|
1279
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
|
1280
|
+
:param pulumi.Input[_builtins.str] service_user: User used for the service to install.
|
|
1281
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ssh_key_ids: List of SSH keys allowed to connect to the server.
|
|
1282
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
|
1283
|
+
:param pulumi.Input[_builtins.str] user: User used for the installation.
|
|
1284
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
|
1270
1285
|
"""
|
|
1271
1286
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1272
1287
|
|
|
@@ -1302,39 +1317,39 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1302
1317
|
__props__.__dict__["zone"] = zone
|
|
1303
1318
|
return BaremetalServer(resource_name, opts=opts, __props__=__props__)
|
|
1304
1319
|
|
|
1305
|
-
@property
|
|
1320
|
+
@_builtins.property
|
|
1306
1321
|
@pulumi.getter
|
|
1307
|
-
def description(self) -> pulumi.Output[Optional[
|
|
1322
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1308
1323
|
"""
|
|
1309
1324
|
A description for the server.
|
|
1310
1325
|
"""
|
|
1311
1326
|
return pulumi.get(self, "description")
|
|
1312
1327
|
|
|
1313
|
-
@property
|
|
1328
|
+
@_builtins.property
|
|
1314
1329
|
@pulumi.getter
|
|
1315
|
-
def domain(self) -> pulumi.Output[
|
|
1330
|
+
def domain(self) -> pulumi.Output[_builtins.str]:
|
|
1316
1331
|
"""
|
|
1317
1332
|
The domain of the server.
|
|
1318
1333
|
"""
|
|
1319
1334
|
return pulumi.get(self, "domain")
|
|
1320
1335
|
|
|
1321
|
-
@property
|
|
1336
|
+
@_builtins.property
|
|
1322
1337
|
@pulumi.getter
|
|
1323
|
-
def hostname(self) -> pulumi.Output[Optional[
|
|
1338
|
+
def hostname(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1324
1339
|
"""
|
|
1325
1340
|
The hostname of the server.
|
|
1326
1341
|
"""
|
|
1327
1342
|
return pulumi.get(self, "hostname")
|
|
1328
1343
|
|
|
1329
|
-
@property
|
|
1344
|
+
@_builtins.property
|
|
1330
1345
|
@pulumi.getter(name="installConfigAfterward")
|
|
1331
|
-
def install_config_afterward(self) -> pulumi.Output[Optional[
|
|
1346
|
+
def install_config_afterward(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1332
1347
|
"""
|
|
1333
1348
|
If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
1334
1349
|
"""
|
|
1335
1350
|
return pulumi.get(self, "install_config_afterward")
|
|
1336
1351
|
|
|
1337
|
-
@property
|
|
1352
|
+
@_builtins.property
|
|
1338
1353
|
@pulumi.getter
|
|
1339
1354
|
def ips(self) -> pulumi.Output[Sequence['outputs.BaremetalServerIp']]:
|
|
1340
1355
|
"""
|
|
@@ -1342,7 +1357,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1342
1357
|
"""
|
|
1343
1358
|
return pulumi.get(self, "ips")
|
|
1344
1359
|
|
|
1345
|
-
@property
|
|
1360
|
+
@_builtins.property
|
|
1346
1361
|
@pulumi.getter
|
|
1347
1362
|
def ipv4s(self) -> pulumi.Output[Sequence['outputs.BaremetalServerIpv4']]:
|
|
1348
1363
|
"""
|
|
@@ -1350,7 +1365,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1350
1365
|
"""
|
|
1351
1366
|
return pulumi.get(self, "ipv4s")
|
|
1352
1367
|
|
|
1353
|
-
@property
|
|
1368
|
+
@_builtins.property
|
|
1354
1369
|
@pulumi.getter
|
|
1355
1370
|
def ipv6s(self) -> pulumi.Output[Sequence['outputs.BaremetalServerIpv6']]:
|
|
1356
1371
|
"""
|
|
@@ -1358,17 +1373,17 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1358
1373
|
"""
|
|
1359
1374
|
return pulumi.get(self, "ipv6s")
|
|
1360
1375
|
|
|
1361
|
-
@property
|
|
1376
|
+
@_builtins.property
|
|
1362
1377
|
@pulumi.getter
|
|
1363
|
-
def name(self) -> pulumi.Output[
|
|
1378
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
1364
1379
|
"""
|
|
1365
1380
|
The name of the server.
|
|
1366
1381
|
"""
|
|
1367
1382
|
return pulumi.get(self, "name")
|
|
1368
1383
|
|
|
1369
|
-
@property
|
|
1384
|
+
@_builtins.property
|
|
1370
1385
|
@pulumi.getter
|
|
1371
|
-
def offer(self) -> pulumi.Output[
|
|
1386
|
+
def offer(self) -> pulumi.Output[_builtins.str]:
|
|
1372
1387
|
"""
|
|
1373
1388
|
The offer UUID of the baremetal server.
|
|
1374
1389
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-servers-get-a-specific-elastic-metal-server) to find the right offer.
|
|
@@ -1377,23 +1392,23 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1377
1392
|
"""
|
|
1378
1393
|
return pulumi.get(self, "offer")
|
|
1379
1394
|
|
|
1380
|
-
@property
|
|
1395
|
+
@_builtins.property
|
|
1381
1396
|
@pulumi.getter(name="offerId")
|
|
1382
|
-
def offer_id(self) -> pulumi.Output[
|
|
1397
|
+
def offer_id(self) -> pulumi.Output[_builtins.str]:
|
|
1383
1398
|
"""
|
|
1384
1399
|
The ID of the offer.
|
|
1385
1400
|
"""
|
|
1386
1401
|
return pulumi.get(self, "offer_id")
|
|
1387
1402
|
|
|
1388
|
-
@property
|
|
1403
|
+
@_builtins.property
|
|
1389
1404
|
@pulumi.getter(name="offerName")
|
|
1390
|
-
def offer_name(self) -> pulumi.Output[
|
|
1405
|
+
def offer_name(self) -> pulumi.Output[_builtins.str]:
|
|
1391
1406
|
"""
|
|
1392
1407
|
The name of the offer.
|
|
1393
1408
|
"""
|
|
1394
1409
|
return pulumi.get(self, "offer_name")
|
|
1395
1410
|
|
|
1396
|
-
@property
|
|
1411
|
+
@_builtins.property
|
|
1397
1412
|
@pulumi.getter
|
|
1398
1413
|
def options(self) -> pulumi.Output[Optional[Sequence['outputs.BaremetalServerOption']]]:
|
|
1399
1414
|
"""
|
|
@@ -1402,17 +1417,17 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1402
1417
|
"""
|
|
1403
1418
|
return pulumi.get(self, "options")
|
|
1404
1419
|
|
|
1405
|
-
@property
|
|
1420
|
+
@_builtins.property
|
|
1406
1421
|
@pulumi.getter(name="organizationId")
|
|
1407
|
-
def organization_id(self) -> pulumi.Output[
|
|
1422
|
+
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
|
1408
1423
|
"""
|
|
1409
1424
|
The organization ID the server is associated with.
|
|
1410
1425
|
"""
|
|
1411
1426
|
return pulumi.get(self, "organization_id")
|
|
1412
1427
|
|
|
1413
|
-
@property
|
|
1428
|
+
@_builtins.property
|
|
1414
1429
|
@pulumi.getter
|
|
1415
|
-
def os(self) -> pulumi.Output[Optional[
|
|
1430
|
+
def os(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1416
1431
|
"""
|
|
1417
1432
|
The UUID of the os to install on the server.
|
|
1418
1433
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
@@ -1420,31 +1435,31 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1420
1435
|
"""
|
|
1421
1436
|
return pulumi.get(self, "os")
|
|
1422
1437
|
|
|
1423
|
-
@property
|
|
1438
|
+
@_builtins.property
|
|
1424
1439
|
@pulumi.getter(name="osName")
|
|
1425
|
-
def os_name(self) -> pulumi.Output[
|
|
1440
|
+
def os_name(self) -> pulumi.Output[_builtins.str]:
|
|
1426
1441
|
"""
|
|
1427
1442
|
The name of the os.
|
|
1428
1443
|
"""
|
|
1429
1444
|
return pulumi.get(self, "os_name")
|
|
1430
1445
|
|
|
1431
|
-
@property
|
|
1446
|
+
@_builtins.property
|
|
1432
1447
|
@pulumi.getter
|
|
1433
|
-
def partitioning(self) -> pulumi.Output[Optional[
|
|
1448
|
+
def partitioning(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1434
1449
|
"""
|
|
1435
1450
|
The partitioning schema in JSON format
|
|
1436
1451
|
"""
|
|
1437
1452
|
return pulumi.get(self, "partitioning")
|
|
1438
1453
|
|
|
1439
|
-
@property
|
|
1454
|
+
@_builtins.property
|
|
1440
1455
|
@pulumi.getter
|
|
1441
|
-
def password(self) -> pulumi.Output[Optional[
|
|
1456
|
+
def password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1442
1457
|
"""
|
|
1443
1458
|
Password used for the installation. May be required depending on used os.
|
|
1444
1459
|
"""
|
|
1445
1460
|
return pulumi.get(self, "password")
|
|
1446
1461
|
|
|
1447
|
-
@property
|
|
1462
|
+
@_builtins.property
|
|
1448
1463
|
@pulumi.getter(name="privateIps")
|
|
1449
1464
|
def private_ips(self) -> pulumi.Output[Sequence['outputs.BaremetalServerPrivateIp']]:
|
|
1450
1465
|
"""
|
|
@@ -1452,7 +1467,7 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1452
1467
|
"""
|
|
1453
1468
|
return pulumi.get(self, "private_ips")
|
|
1454
1469
|
|
|
1455
|
-
@property
|
|
1470
|
+
@_builtins.property
|
|
1456
1471
|
@pulumi.getter(name="privateNetworks")
|
|
1457
1472
|
def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.BaremetalServerPrivateNetwork']]]:
|
|
1458
1473
|
"""
|
|
@@ -1460,74 +1475,74 @@ class BaremetalServer(pulumi.CustomResource):
|
|
|
1460
1475
|
"""
|
|
1461
1476
|
return pulumi.get(self, "private_networks")
|
|
1462
1477
|
|
|
1463
|
-
@property
|
|
1478
|
+
@_builtins.property
|
|
1464
1479
|
@pulumi.getter(name="projectId")
|
|
1465
|
-
def project_id(self) -> pulumi.Output[
|
|
1480
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
|
1466
1481
|
"""
|
|
1467
1482
|
`project_id`) The ID of the project the server is associated with.
|
|
1468
1483
|
"""
|
|
1469
1484
|
return pulumi.get(self, "project_id")
|
|
1470
1485
|
|
|
1471
|
-
@property
|
|
1486
|
+
@_builtins.property
|
|
1472
1487
|
@pulumi.getter
|
|
1473
|
-
def protected(self) -> pulumi.Output[Optional[
|
|
1488
|
+
def protected(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1474
1489
|
"""
|
|
1475
1490
|
Set to true to activate server protection option.
|
|
1476
1491
|
"""
|
|
1477
1492
|
return pulumi.get(self, "protected")
|
|
1478
1493
|
|
|
1479
|
-
@property
|
|
1494
|
+
@_builtins.property
|
|
1480
1495
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
|
1481
|
-
def reinstall_on_config_changes(self) -> pulumi.Output[Optional[
|
|
1496
|
+
def reinstall_on_config_changes(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1482
1497
|
"""
|
|
1483
1498
|
If True, this boolean allows to reinstall the server on install config changes.
|
|
1484
1499
|
> **Important:** Updates to `ssh_key_ids`, `user`, `password`, `service_user` or `service_password` will not take effect on the server, it requires to reinstall it. To do so please set 'reinstall_on_config_changes' argument to true.
|
|
1485
1500
|
"""
|
|
1486
1501
|
return pulumi.get(self, "reinstall_on_config_changes")
|
|
1487
1502
|
|
|
1488
|
-
@property
|
|
1503
|
+
@_builtins.property
|
|
1489
1504
|
@pulumi.getter(name="servicePassword")
|
|
1490
|
-
def service_password(self) -> pulumi.Output[Optional[
|
|
1505
|
+
def service_password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1491
1506
|
"""
|
|
1492
1507
|
Password used for the service to install. May be required depending on used os.
|
|
1493
1508
|
"""
|
|
1494
1509
|
return pulumi.get(self, "service_password")
|
|
1495
1510
|
|
|
1496
|
-
@property
|
|
1511
|
+
@_builtins.property
|
|
1497
1512
|
@pulumi.getter(name="serviceUser")
|
|
1498
|
-
def service_user(self) -> pulumi.Output[
|
|
1513
|
+
def service_user(self) -> pulumi.Output[_builtins.str]:
|
|
1499
1514
|
"""
|
|
1500
1515
|
User used for the service to install.
|
|
1501
1516
|
"""
|
|
1502
1517
|
return pulumi.get(self, "service_user")
|
|
1503
1518
|
|
|
1504
|
-
@property
|
|
1519
|
+
@_builtins.property
|
|
1505
1520
|
@pulumi.getter(name="sshKeyIds")
|
|
1506
|
-
def ssh_key_ids(self) -> pulumi.Output[Optional[Sequence[
|
|
1521
|
+
def ssh_key_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1507
1522
|
"""
|
|
1508
1523
|
List of SSH keys allowed to connect to the server.
|
|
1509
1524
|
"""
|
|
1510
1525
|
return pulumi.get(self, "ssh_key_ids")
|
|
1511
1526
|
|
|
1512
|
-
@property
|
|
1527
|
+
@_builtins.property
|
|
1513
1528
|
@pulumi.getter
|
|
1514
|
-
def tags(self) -> pulumi.Output[Sequence[
|
|
1529
|
+
def tags(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
1515
1530
|
"""
|
|
1516
1531
|
The tags associated with the server.
|
|
1517
1532
|
"""
|
|
1518
1533
|
return pulumi.get(self, "tags")
|
|
1519
1534
|
|
|
1520
|
-
@property
|
|
1535
|
+
@_builtins.property
|
|
1521
1536
|
@pulumi.getter
|
|
1522
|
-
def user(self) -> pulumi.Output[
|
|
1537
|
+
def user(self) -> pulumi.Output[_builtins.str]:
|
|
1523
1538
|
"""
|
|
1524
1539
|
User used for the installation.
|
|
1525
1540
|
"""
|
|
1526
1541
|
return pulumi.get(self, "user")
|
|
1527
1542
|
|
|
1528
|
-
@property
|
|
1543
|
+
@_builtins.property
|
|
1529
1544
|
@pulumi.getter
|
|
1530
|
-
def zone(self) -> pulumi.Output[
|
|
1545
|
+
def zone(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1531
1546
|
"""
|
|
1532
1547
|
`zone`) The zone in which the server should be created.
|
|
1533
1548
|
"""
|