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__ = ['ServerArgs', 'Server']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ServerArgs:
|
|
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['ServerOptionArgs']]]] = 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['ServerPrivateIpArgs']]]] = None,
|
|
35
34
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = 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 Server 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['ServerOptionArgs']]] 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['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
63
62
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] 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 ServerArgs:
|
|
|
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 ServerArgs:
|
|
|
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['ServerOptionArgs']]]]:
|
|
181
180
|
"""
|
|
@@ -188,9 +187,9 @@ class ServerArgs:
|
|
|
188
187
|
def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerOptionArgs']]]]):
|
|
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 ServerArgs:
|
|
|
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['ServerPrivateIpArgs']]]]:
|
|
232
231
|
"""
|
|
@@ -238,7 +237,7 @@ class ServerArgs:
|
|
|
238
237
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]]]):
|
|
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['ServerPrivateNetworkArgs']]]]:
|
|
244
243
|
"""
|
|
@@ -250,33 +249,33 @@ class ServerArgs:
|
|
|
250
249
|
def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]]):
|
|
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 ServerArgs:
|
|
|
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 _ServerState:
|
|
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['ServerIpArgs']]]] = None,
|
|
371
370
|
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input['ServerIpv4Args']]]] = None,
|
|
372
371
|
ipv6s: Optional[pulumi.Input[Sequence[pulumi.Input['ServerIpv6Args']]]] = 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['ServerOptionArgs']]]] = 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['ServerPrivateIpArgs']]]] = None,
|
|
384
383
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]] = 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 Server 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['ServerIpArgs']]] ips: (List of) The IPs of the server.
|
|
401
400
|
:param pulumi.Input[Sequence[pulumi.Input['ServerIpv4Args']]] ipv4s: (List of) The IPv4 addresses of the server.
|
|
402
401
|
:param pulumi.Input[Sequence[pulumi.Input['ServerIpv6Args']]] 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['ServerOptionArgs']]] 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['ServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
420
419
|
:param pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]] 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 _ServerState:
|
|
|
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['ServerIpArgs']]]]:
|
|
540
539
|
"""
|
|
@@ -546,7 +545,7 @@ class _ServerState:
|
|
|
546
545
|
def ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerIpArgs']]]]):
|
|
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['ServerIpv4Args']]]]:
|
|
552
551
|
"""
|
|
@@ -558,7 +557,7 @@ class _ServerState:
|
|
|
558
557
|
def ipv4s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerIpv4Args']]]]):
|
|
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['ServerIpv6Args']]]]:
|
|
564
563
|
"""
|
|
@@ -570,21 +569,21 @@ class _ServerState:
|
|
|
570
569
|
def ipv6s(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerIpv6Args']]]]):
|
|
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 _ServerState:
|
|
|
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['ServerOptionArgs']]]]:
|
|
627
626
|
"""
|
|
@@ -634,21 +633,21 @@ class _ServerState:
|
|
|
634
633
|
def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerOptionArgs']]]]):
|
|
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 _ServerState:
|
|
|
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['ServerPrivateIpArgs']]]]:
|
|
702
701
|
"""
|
|
@@ -708,7 +707,7 @@ class _ServerState:
|
|
|
708
707
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateIpArgs']]]]):
|
|
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['ServerPrivateNetworkArgs']]]]:
|
|
714
713
|
"""
|
|
@@ -720,33 +719,33 @@ class _ServerState:
|
|
|
720
719
|
def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServerPrivateNetworkArgs']]]]):
|
|
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 _ServerState:
|
|
|
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
|
|
|
@@ -836,32 +835,40 @@ class Server(pulumi.CustomResource):
|
|
|
836
835
|
def __init__(__self__,
|
|
837
836
|
resource_name: str,
|
|
838
837
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
839
|
-
description: Optional[pulumi.Input[
|
|
840
|
-
hostname: Optional[pulumi.Input[
|
|
841
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
842
|
-
name: Optional[pulumi.Input[
|
|
843
|
-
offer: Optional[pulumi.Input[
|
|
838
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
839
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
840
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
841
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
842
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
844
843
|
options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerOptionArgs', 'ServerOptionArgsDict']]]]] = None,
|
|
845
|
-
os: Optional[pulumi.Input[
|
|
846
|
-
partitioning: Optional[pulumi.Input[
|
|
847
|
-
password: Optional[pulumi.Input[
|
|
844
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
845
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
846
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
848
847
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
|
849
848
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
|
850
|
-
project_id: Optional[pulumi.Input[
|
|
851
|
-
protected: Optional[pulumi.Input[
|
|
852
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
853
|
-
service_password: Optional[pulumi.Input[
|
|
854
|
-
service_user: Optional[pulumi.Input[
|
|
855
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
856
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
857
|
-
user: Optional[pulumi.Input[
|
|
858
|
-
zone: Optional[pulumi.Input[
|
|
849
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
850
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
851
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
852
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
853
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
854
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
855
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
856
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
857
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
859
858
|
__props__=None):
|
|
860
859
|
"""
|
|
861
860
|
Creates and manages Scaleway Compute Baremetal servers. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/elastic-metal/).
|
|
862
861
|
|
|
863
862
|
## Example Usage
|
|
864
863
|
|
|
864
|
+
### Basic
|
|
865
|
+
|
|
866
|
+
### With option
|
|
867
|
+
|
|
868
|
+
### With private network
|
|
869
|
+
|
|
870
|
+
### With IPAM IP IDs
|
|
871
|
+
|
|
865
872
|
### Without install config
|
|
866
873
|
|
|
867
874
|
```python
|
|
@@ -965,33 +972,33 @@ class Server(pulumi.CustomResource):
|
|
|
965
972
|
|
|
966
973
|
:param str resource_name: The name of the resource.
|
|
967
974
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
968
|
-
:param pulumi.Input[
|
|
969
|
-
:param pulumi.Input[
|
|
970
|
-
:param pulumi.Input[
|
|
971
|
-
:param pulumi.Input[
|
|
972
|
-
:param pulumi.Input[
|
|
975
|
+
:param pulumi.Input[_builtins.str] description: A description for the server.
|
|
976
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname of the server.
|
|
977
|
+
: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.
|
|
978
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
979
|
+
:param pulumi.Input[_builtins.str] offer: The offer UUID of the baremetal server.
|
|
973
980
|
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.
|
|
974
981
|
|
|
975
982
|
> **Important:** Updates to `offer` will recreate the server.
|
|
976
983
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerOptionArgs', 'ServerOptionArgsDict']]]] options: The options to enable on the server.
|
|
977
984
|
> The `options` block supports:
|
|
978
|
-
:param pulumi.Input[
|
|
985
|
+
:param pulumi.Input[_builtins.str] os: The UUID of the os to install on the server.
|
|
979
986
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
980
987
|
> **Important:** Updates to `os` will reinstall the server.
|
|
981
|
-
:param pulumi.Input[
|
|
982
|
-
:param pulumi.Input[
|
|
988
|
+
:param pulumi.Input[_builtins.str] partitioning: The partitioning schema in JSON format
|
|
989
|
+
:param pulumi.Input[_builtins.str] password: Password used for the installation. May be required depending on used os.
|
|
983
990
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
984
991
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] 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/)
|
|
985
|
-
:param pulumi.Input[
|
|
986
|
-
:param pulumi.Input[
|
|
987
|
-
:param pulumi.Input[
|
|
992
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
993
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
994
|
+
:param pulumi.Input[_builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
|
988
995
|
> **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.
|
|
989
|
-
:param pulumi.Input[
|
|
990
|
-
:param pulumi.Input[
|
|
991
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
992
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
993
|
-
:param pulumi.Input[
|
|
994
|
-
:param pulumi.Input[
|
|
996
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
|
997
|
+
:param pulumi.Input[_builtins.str] service_user: User used for the service to install.
|
|
998
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ssh_key_ids: List of SSH keys allowed to connect to the server.
|
|
999
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
|
1000
|
+
:param pulumi.Input[_builtins.str] user: User used for the installation.
|
|
1001
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
|
995
1002
|
"""
|
|
996
1003
|
...
|
|
997
1004
|
@overload
|
|
@@ -1004,6 +1011,14 @@ class Server(pulumi.CustomResource):
|
|
|
1004
1011
|
|
|
1005
1012
|
## Example Usage
|
|
1006
1013
|
|
|
1014
|
+
### Basic
|
|
1015
|
+
|
|
1016
|
+
### With option
|
|
1017
|
+
|
|
1018
|
+
### With private network
|
|
1019
|
+
|
|
1020
|
+
### With IPAM IP IDs
|
|
1021
|
+
|
|
1007
1022
|
### Without install config
|
|
1008
1023
|
|
|
1009
1024
|
```python
|
|
@@ -1120,26 +1135,26 @@ class Server(pulumi.CustomResource):
|
|
|
1120
1135
|
def _internal_init(__self__,
|
|
1121
1136
|
resource_name: str,
|
|
1122
1137
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1123
|
-
description: Optional[pulumi.Input[
|
|
1124
|
-
hostname: Optional[pulumi.Input[
|
|
1125
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
1126
|
-
name: Optional[pulumi.Input[
|
|
1127
|
-
offer: Optional[pulumi.Input[
|
|
1138
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1139
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1140
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1141
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1142
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1128
1143
|
options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerOptionArgs', 'ServerOptionArgsDict']]]]] = None,
|
|
1129
|
-
os: Optional[pulumi.Input[
|
|
1130
|
-
partitioning: Optional[pulumi.Input[
|
|
1131
|
-
password: Optional[pulumi.Input[
|
|
1144
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1145
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1146
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1132
1147
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
|
1133
1148
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
|
1134
|
-
project_id: Optional[pulumi.Input[
|
|
1135
|
-
protected: Optional[pulumi.Input[
|
|
1136
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
1137
|
-
service_password: Optional[pulumi.Input[
|
|
1138
|
-
service_user: Optional[pulumi.Input[
|
|
1139
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1140
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1141
|
-
user: Optional[pulumi.Input[
|
|
1142
|
-
zone: Optional[pulumi.Input[
|
|
1149
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1150
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1151
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1152
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1153
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1154
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1155
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1156
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1157
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1143
1158
|
__props__=None):
|
|
1144
1159
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1145
1160
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1193,34 +1208,34 @@ class Server(pulumi.CustomResource):
|
|
|
1193
1208
|
def get(resource_name: str,
|
|
1194
1209
|
id: pulumi.Input[str],
|
|
1195
1210
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1196
|
-
description: Optional[pulumi.Input[
|
|
1197
|
-
domain: Optional[pulumi.Input[
|
|
1198
|
-
hostname: Optional[pulumi.Input[
|
|
1199
|
-
install_config_afterward: Optional[pulumi.Input[
|
|
1211
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1212
|
+
domain: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1213
|
+
hostname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1214
|
+
install_config_afterward: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1200
1215
|
ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerIpArgs', 'ServerIpArgsDict']]]]] = None,
|
|
1201
1216
|
ipv4s: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerIpv4Args', 'ServerIpv4ArgsDict']]]]] = None,
|
|
1202
1217
|
ipv6s: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerIpv6Args', 'ServerIpv6ArgsDict']]]]] = None,
|
|
1203
|
-
name: Optional[pulumi.Input[
|
|
1204
|
-
offer: Optional[pulumi.Input[
|
|
1205
|
-
offer_id: Optional[pulumi.Input[
|
|
1206
|
-
offer_name: Optional[pulumi.Input[
|
|
1218
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1219
|
+
offer: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1220
|
+
offer_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1221
|
+
offer_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1207
1222
|
options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerOptionArgs', 'ServerOptionArgsDict']]]]] = None,
|
|
1208
|
-
organization_id: Optional[pulumi.Input[
|
|
1209
|
-
os: Optional[pulumi.Input[
|
|
1210
|
-
os_name: Optional[pulumi.Input[
|
|
1211
|
-
partitioning: Optional[pulumi.Input[
|
|
1212
|
-
password: Optional[pulumi.Input[
|
|
1223
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1224
|
+
os: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1225
|
+
os_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1226
|
+
partitioning: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1227
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1213
1228
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]]] = None,
|
|
1214
1229
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]]] = None,
|
|
1215
|
-
project_id: Optional[pulumi.Input[
|
|
1216
|
-
protected: Optional[pulumi.Input[
|
|
1217
|
-
reinstall_on_config_changes: Optional[pulumi.Input[
|
|
1218
|
-
service_password: Optional[pulumi.Input[
|
|
1219
|
-
service_user: Optional[pulumi.Input[
|
|
1220
|
-
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1221
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1222
|
-
user: Optional[pulumi.Input[
|
|
1223
|
-
zone: Optional[pulumi.Input[
|
|
1230
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1231
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1232
|
+
reinstall_on_config_changes: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1233
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1234
|
+
service_user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1235
|
+
ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1236
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1237
|
+
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1238
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'Server':
|
|
1224
1239
|
"""
|
|
1225
1240
|
Get an existing Server resource's state with the given name, id, and optional extra
|
|
1226
1241
|
properties used to qualify the lookup.
|
|
@@ -1228,41 +1243,41 @@ class Server(pulumi.CustomResource):
|
|
|
1228
1243
|
:param str resource_name: The unique name of the resulting resource.
|
|
1229
1244
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1230
1245
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1231
|
-
:param pulumi.Input[
|
|
1232
|
-
:param pulumi.Input[
|
|
1233
|
-
:param pulumi.Input[
|
|
1234
|
-
:param pulumi.Input[
|
|
1246
|
+
:param pulumi.Input[_builtins.str] description: A description for the server.
|
|
1247
|
+
:param pulumi.Input[_builtins.str] domain: The domain of the server.
|
|
1248
|
+
:param pulumi.Input[_builtins.str] hostname: The hostname of the server.
|
|
1249
|
+
: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.
|
|
1235
1250
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerIpArgs', 'ServerIpArgsDict']]]] ips: (List of) The IPs of the server.
|
|
1236
1251
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerIpv4Args', 'ServerIpv4ArgsDict']]]] ipv4s: (List of) The IPv4 addresses of the server.
|
|
1237
1252
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerIpv6Args', 'ServerIpv6ArgsDict']]]] ipv6s: (List of) The IPv6 addresses of the server.
|
|
1238
|
-
:param pulumi.Input[
|
|
1239
|
-
:param pulumi.Input[
|
|
1253
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
|
1254
|
+
:param pulumi.Input[_builtins.str] offer: The offer UUID of the baremetal server.
|
|
1240
1255
|
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.
|
|
1241
1256
|
|
|
1242
1257
|
> **Important:** Updates to `offer` will recreate the server.
|
|
1243
|
-
:param pulumi.Input[
|
|
1244
|
-
:param pulumi.Input[
|
|
1258
|
+
:param pulumi.Input[_builtins.str] offer_id: The ID of the offer.
|
|
1259
|
+
:param pulumi.Input[_builtins.str] offer_name: The name of the offer.
|
|
1245
1260
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerOptionArgs', 'ServerOptionArgsDict']]]] options: The options to enable on the server.
|
|
1246
1261
|
> The `options` block supports:
|
|
1247
|
-
:param pulumi.Input[
|
|
1248
|
-
:param pulumi.Input[
|
|
1262
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
|
1263
|
+
:param pulumi.Input[_builtins.str] os: The UUID of the os to install on the server.
|
|
1249
1264
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
1250
1265
|
> **Important:** Updates to `os` will reinstall the server.
|
|
1251
|
-
:param pulumi.Input[
|
|
1252
|
-
:param pulumi.Input[
|
|
1253
|
-
:param pulumi.Input[
|
|
1266
|
+
:param pulumi.Input[_builtins.str] os_name: The name of the os.
|
|
1267
|
+
:param pulumi.Input[_builtins.str] partitioning: The partitioning schema in JSON format
|
|
1268
|
+
:param pulumi.Input[_builtins.str] password: Password used for the installation. May be required depending on used os.
|
|
1254
1269
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateIpArgs', 'ServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
|
1255
1270
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ServerPrivateNetworkArgs', 'ServerPrivateNetworkArgsDict']]]] 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/)
|
|
1256
|
-
:param pulumi.Input[
|
|
1257
|
-
:param pulumi.Input[
|
|
1258
|
-
:param pulumi.Input[
|
|
1271
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
|
1272
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
|
1273
|
+
:param pulumi.Input[_builtins.bool] reinstall_on_config_changes: If True, this boolean allows to reinstall the server on install config changes.
|
|
1259
1274
|
> **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.
|
|
1260
|
-
:param pulumi.Input[
|
|
1261
|
-
:param pulumi.Input[
|
|
1262
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1263
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1264
|
-
:param pulumi.Input[
|
|
1265
|
-
:param pulumi.Input[
|
|
1275
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for the service to install. May be required depending on used os.
|
|
1276
|
+
:param pulumi.Input[_builtins.str] service_user: User used for the service to install.
|
|
1277
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ssh_key_ids: List of SSH keys allowed to connect to the server.
|
|
1278
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
|
1279
|
+
:param pulumi.Input[_builtins.str] user: User used for the installation.
|
|
1280
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
|
1266
1281
|
"""
|
|
1267
1282
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1268
1283
|
|
|
@@ -1298,39 +1313,39 @@ class Server(pulumi.CustomResource):
|
|
|
1298
1313
|
__props__.__dict__["zone"] = zone
|
|
1299
1314
|
return Server(resource_name, opts=opts, __props__=__props__)
|
|
1300
1315
|
|
|
1301
|
-
@property
|
|
1316
|
+
@_builtins.property
|
|
1302
1317
|
@pulumi.getter
|
|
1303
|
-
def description(self) -> pulumi.Output[Optional[
|
|
1318
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1304
1319
|
"""
|
|
1305
1320
|
A description for the server.
|
|
1306
1321
|
"""
|
|
1307
1322
|
return pulumi.get(self, "description")
|
|
1308
1323
|
|
|
1309
|
-
@property
|
|
1324
|
+
@_builtins.property
|
|
1310
1325
|
@pulumi.getter
|
|
1311
|
-
def domain(self) -> pulumi.Output[
|
|
1326
|
+
def domain(self) -> pulumi.Output[_builtins.str]:
|
|
1312
1327
|
"""
|
|
1313
1328
|
The domain of the server.
|
|
1314
1329
|
"""
|
|
1315
1330
|
return pulumi.get(self, "domain")
|
|
1316
1331
|
|
|
1317
|
-
@property
|
|
1332
|
+
@_builtins.property
|
|
1318
1333
|
@pulumi.getter
|
|
1319
|
-
def hostname(self) -> pulumi.Output[Optional[
|
|
1334
|
+
def hostname(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1320
1335
|
"""
|
|
1321
1336
|
The hostname of the server.
|
|
1322
1337
|
"""
|
|
1323
1338
|
return pulumi.get(self, "hostname")
|
|
1324
1339
|
|
|
1325
|
-
@property
|
|
1340
|
+
@_builtins.property
|
|
1326
1341
|
@pulumi.getter(name="installConfigAfterward")
|
|
1327
|
-
def install_config_afterward(self) -> pulumi.Output[Optional[
|
|
1342
|
+
def install_config_afterward(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1328
1343
|
"""
|
|
1329
1344
|
If True, this boolean allows to create a server without the install config if you want to provide it later.
|
|
1330
1345
|
"""
|
|
1331
1346
|
return pulumi.get(self, "install_config_afterward")
|
|
1332
1347
|
|
|
1333
|
-
@property
|
|
1348
|
+
@_builtins.property
|
|
1334
1349
|
@pulumi.getter
|
|
1335
1350
|
def ips(self) -> pulumi.Output[Sequence['outputs.ServerIp']]:
|
|
1336
1351
|
"""
|
|
@@ -1338,7 +1353,7 @@ class Server(pulumi.CustomResource):
|
|
|
1338
1353
|
"""
|
|
1339
1354
|
return pulumi.get(self, "ips")
|
|
1340
1355
|
|
|
1341
|
-
@property
|
|
1356
|
+
@_builtins.property
|
|
1342
1357
|
@pulumi.getter
|
|
1343
1358
|
def ipv4s(self) -> pulumi.Output[Sequence['outputs.ServerIpv4']]:
|
|
1344
1359
|
"""
|
|
@@ -1346,7 +1361,7 @@ class Server(pulumi.CustomResource):
|
|
|
1346
1361
|
"""
|
|
1347
1362
|
return pulumi.get(self, "ipv4s")
|
|
1348
1363
|
|
|
1349
|
-
@property
|
|
1364
|
+
@_builtins.property
|
|
1350
1365
|
@pulumi.getter
|
|
1351
1366
|
def ipv6s(self) -> pulumi.Output[Sequence['outputs.ServerIpv6']]:
|
|
1352
1367
|
"""
|
|
@@ -1354,17 +1369,17 @@ class Server(pulumi.CustomResource):
|
|
|
1354
1369
|
"""
|
|
1355
1370
|
return pulumi.get(self, "ipv6s")
|
|
1356
1371
|
|
|
1357
|
-
@property
|
|
1372
|
+
@_builtins.property
|
|
1358
1373
|
@pulumi.getter
|
|
1359
|
-
def name(self) -> pulumi.Output[
|
|
1374
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
1360
1375
|
"""
|
|
1361
1376
|
The name of the server.
|
|
1362
1377
|
"""
|
|
1363
1378
|
return pulumi.get(self, "name")
|
|
1364
1379
|
|
|
1365
|
-
@property
|
|
1380
|
+
@_builtins.property
|
|
1366
1381
|
@pulumi.getter
|
|
1367
|
-
def offer(self) -> pulumi.Output[
|
|
1382
|
+
def offer(self) -> pulumi.Output[_builtins.str]:
|
|
1368
1383
|
"""
|
|
1369
1384
|
The offer UUID of the baremetal server.
|
|
1370
1385
|
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.
|
|
@@ -1373,23 +1388,23 @@ class Server(pulumi.CustomResource):
|
|
|
1373
1388
|
"""
|
|
1374
1389
|
return pulumi.get(self, "offer")
|
|
1375
1390
|
|
|
1376
|
-
@property
|
|
1391
|
+
@_builtins.property
|
|
1377
1392
|
@pulumi.getter(name="offerId")
|
|
1378
|
-
def offer_id(self) -> pulumi.Output[
|
|
1393
|
+
def offer_id(self) -> pulumi.Output[_builtins.str]:
|
|
1379
1394
|
"""
|
|
1380
1395
|
The ID of the offer.
|
|
1381
1396
|
"""
|
|
1382
1397
|
return pulumi.get(self, "offer_id")
|
|
1383
1398
|
|
|
1384
|
-
@property
|
|
1399
|
+
@_builtins.property
|
|
1385
1400
|
@pulumi.getter(name="offerName")
|
|
1386
|
-
def offer_name(self) -> pulumi.Output[
|
|
1401
|
+
def offer_name(self) -> pulumi.Output[_builtins.str]:
|
|
1387
1402
|
"""
|
|
1388
1403
|
The name of the offer.
|
|
1389
1404
|
"""
|
|
1390
1405
|
return pulumi.get(self, "offer_name")
|
|
1391
1406
|
|
|
1392
|
-
@property
|
|
1407
|
+
@_builtins.property
|
|
1393
1408
|
@pulumi.getter
|
|
1394
1409
|
def options(self) -> pulumi.Output[Optional[Sequence['outputs.ServerOption']]]:
|
|
1395
1410
|
"""
|
|
@@ -1398,17 +1413,17 @@ class Server(pulumi.CustomResource):
|
|
|
1398
1413
|
"""
|
|
1399
1414
|
return pulumi.get(self, "options")
|
|
1400
1415
|
|
|
1401
|
-
@property
|
|
1416
|
+
@_builtins.property
|
|
1402
1417
|
@pulumi.getter(name="organizationId")
|
|
1403
|
-
def organization_id(self) -> pulumi.Output[
|
|
1418
|
+
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
|
1404
1419
|
"""
|
|
1405
1420
|
The organization ID the server is associated with.
|
|
1406
1421
|
"""
|
|
1407
1422
|
return pulumi.get(self, "organization_id")
|
|
1408
1423
|
|
|
1409
|
-
@property
|
|
1424
|
+
@_builtins.property
|
|
1410
1425
|
@pulumi.getter
|
|
1411
|
-
def os(self) -> pulumi.Output[Optional[
|
|
1426
|
+
def os(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1412
1427
|
"""
|
|
1413
1428
|
The UUID of the os to install on the server.
|
|
1414
1429
|
Use [this endpoint](https://www.scaleway.com/en/developers/api/elastic-metal/#path-os-list-available-oses) to find the right OS ID.
|
|
@@ -1416,31 +1431,31 @@ class Server(pulumi.CustomResource):
|
|
|
1416
1431
|
"""
|
|
1417
1432
|
return pulumi.get(self, "os")
|
|
1418
1433
|
|
|
1419
|
-
@property
|
|
1434
|
+
@_builtins.property
|
|
1420
1435
|
@pulumi.getter(name="osName")
|
|
1421
|
-
def os_name(self) -> pulumi.Output[
|
|
1436
|
+
def os_name(self) -> pulumi.Output[_builtins.str]:
|
|
1422
1437
|
"""
|
|
1423
1438
|
The name of the os.
|
|
1424
1439
|
"""
|
|
1425
1440
|
return pulumi.get(self, "os_name")
|
|
1426
1441
|
|
|
1427
|
-
@property
|
|
1442
|
+
@_builtins.property
|
|
1428
1443
|
@pulumi.getter
|
|
1429
|
-
def partitioning(self) -> pulumi.Output[Optional[
|
|
1444
|
+
def partitioning(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1430
1445
|
"""
|
|
1431
1446
|
The partitioning schema in JSON format
|
|
1432
1447
|
"""
|
|
1433
1448
|
return pulumi.get(self, "partitioning")
|
|
1434
1449
|
|
|
1435
|
-
@property
|
|
1450
|
+
@_builtins.property
|
|
1436
1451
|
@pulumi.getter
|
|
1437
|
-
def password(self) -> pulumi.Output[Optional[
|
|
1452
|
+
def password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1438
1453
|
"""
|
|
1439
1454
|
Password used for the installation. May be required depending on used os.
|
|
1440
1455
|
"""
|
|
1441
1456
|
return pulumi.get(self, "password")
|
|
1442
1457
|
|
|
1443
|
-
@property
|
|
1458
|
+
@_builtins.property
|
|
1444
1459
|
@pulumi.getter(name="privateIps")
|
|
1445
1460
|
def private_ips(self) -> pulumi.Output[Sequence['outputs.ServerPrivateIp']]:
|
|
1446
1461
|
"""
|
|
@@ -1448,7 +1463,7 @@ class Server(pulumi.CustomResource):
|
|
|
1448
1463
|
"""
|
|
1449
1464
|
return pulumi.get(self, "private_ips")
|
|
1450
1465
|
|
|
1451
|
-
@property
|
|
1466
|
+
@_builtins.property
|
|
1452
1467
|
@pulumi.getter(name="privateNetworks")
|
|
1453
1468
|
def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.ServerPrivateNetwork']]]:
|
|
1454
1469
|
"""
|
|
@@ -1456,74 +1471,74 @@ class Server(pulumi.CustomResource):
|
|
|
1456
1471
|
"""
|
|
1457
1472
|
return pulumi.get(self, "private_networks")
|
|
1458
1473
|
|
|
1459
|
-
@property
|
|
1474
|
+
@_builtins.property
|
|
1460
1475
|
@pulumi.getter(name="projectId")
|
|
1461
|
-
def project_id(self) -> pulumi.Output[
|
|
1476
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
|
1462
1477
|
"""
|
|
1463
1478
|
`project_id`) The ID of the project the server is associated with.
|
|
1464
1479
|
"""
|
|
1465
1480
|
return pulumi.get(self, "project_id")
|
|
1466
1481
|
|
|
1467
|
-
@property
|
|
1482
|
+
@_builtins.property
|
|
1468
1483
|
@pulumi.getter
|
|
1469
|
-
def protected(self) -> pulumi.Output[Optional[
|
|
1484
|
+
def protected(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1470
1485
|
"""
|
|
1471
1486
|
Set to true to activate server protection option.
|
|
1472
1487
|
"""
|
|
1473
1488
|
return pulumi.get(self, "protected")
|
|
1474
1489
|
|
|
1475
|
-
@property
|
|
1490
|
+
@_builtins.property
|
|
1476
1491
|
@pulumi.getter(name="reinstallOnConfigChanges")
|
|
1477
|
-
def reinstall_on_config_changes(self) -> pulumi.Output[Optional[
|
|
1492
|
+
def reinstall_on_config_changes(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1478
1493
|
"""
|
|
1479
1494
|
If True, this boolean allows to reinstall the server on install config changes.
|
|
1480
1495
|
> **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.
|
|
1481
1496
|
"""
|
|
1482
1497
|
return pulumi.get(self, "reinstall_on_config_changes")
|
|
1483
1498
|
|
|
1484
|
-
@property
|
|
1499
|
+
@_builtins.property
|
|
1485
1500
|
@pulumi.getter(name="servicePassword")
|
|
1486
|
-
def service_password(self) -> pulumi.Output[Optional[
|
|
1501
|
+
def service_password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1487
1502
|
"""
|
|
1488
1503
|
Password used for the service to install. May be required depending on used os.
|
|
1489
1504
|
"""
|
|
1490
1505
|
return pulumi.get(self, "service_password")
|
|
1491
1506
|
|
|
1492
|
-
@property
|
|
1507
|
+
@_builtins.property
|
|
1493
1508
|
@pulumi.getter(name="serviceUser")
|
|
1494
|
-
def service_user(self) -> pulumi.Output[
|
|
1509
|
+
def service_user(self) -> pulumi.Output[_builtins.str]:
|
|
1495
1510
|
"""
|
|
1496
1511
|
User used for the service to install.
|
|
1497
1512
|
"""
|
|
1498
1513
|
return pulumi.get(self, "service_user")
|
|
1499
1514
|
|
|
1500
|
-
@property
|
|
1515
|
+
@_builtins.property
|
|
1501
1516
|
@pulumi.getter(name="sshKeyIds")
|
|
1502
|
-
def ssh_key_ids(self) -> pulumi.Output[Optional[Sequence[
|
|
1517
|
+
def ssh_key_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1503
1518
|
"""
|
|
1504
1519
|
List of SSH keys allowed to connect to the server.
|
|
1505
1520
|
"""
|
|
1506
1521
|
return pulumi.get(self, "ssh_key_ids")
|
|
1507
1522
|
|
|
1508
|
-
@property
|
|
1523
|
+
@_builtins.property
|
|
1509
1524
|
@pulumi.getter
|
|
1510
|
-
def tags(self) -> pulumi.Output[Sequence[
|
|
1525
|
+
def tags(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
1511
1526
|
"""
|
|
1512
1527
|
The tags associated with the server.
|
|
1513
1528
|
"""
|
|
1514
1529
|
return pulumi.get(self, "tags")
|
|
1515
1530
|
|
|
1516
|
-
@property
|
|
1531
|
+
@_builtins.property
|
|
1517
1532
|
@pulumi.getter
|
|
1518
|
-
def user(self) -> pulumi.Output[
|
|
1533
|
+
def user(self) -> pulumi.Output[_builtins.str]:
|
|
1519
1534
|
"""
|
|
1520
1535
|
User used for the installation.
|
|
1521
1536
|
"""
|
|
1522
1537
|
return pulumi.get(self, "user")
|
|
1523
1538
|
|
|
1524
|
-
@property
|
|
1539
|
+
@_builtins.property
|
|
1525
1540
|
@pulumi.getter
|
|
1526
|
-
def zone(self) -> pulumi.Output[
|
|
1541
|
+
def zone(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1527
1542
|
"""
|
|
1528
1543
|
`zone`) The zone in which the server should be created.
|
|
1529
1544
|
"""
|