pulumiverse-scaleway 1.35.0a1759392423__py3-none-any.whl → 1.35.0a1760445454__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.
- pulumiverse_scaleway/__init__.py +1 -1
- pulumiverse_scaleway/_inputs.py +2711 -2712
- 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 +350 -351
- pulumiverse_scaleway/billing/__init__.py +1 -1
- pulumiverse_scaleway/billing/get_consumptions.py +14 -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 +92 -93
- pulumiverse_scaleway/block/volume.py +137 -138
- pulumiverse_scaleway/block_snapshot.py +92 -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 +374 -375
- 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 +374 -375
- 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 +158 -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 +350 -351
- pulumiverse_scaleway/file_filesystem.py +131 -132
- 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 +14 -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 +225 -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 +225 -226
- pulumiverse_scaleway/instance/__init__.py +2 -1
- pulumiverse_scaleway/instance/_inputs.py +381 -382
- 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 +184 -185
- pulumiverse_scaleway/instance/ip.py +114 -115
- pulumiverse_scaleway/instance/ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance/outputs.py +660 -515
- 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 +184 -185
- 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 +203 -204
- 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 +296 -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 +296 -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 +273 -274
- 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 +748 -745
- 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 +3886 -3879
- 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.35.0a1759392423.dist-info → pulumiverse_scaleway-1.35.0a1760445454.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.35.0a1760445454.dist-info/RECORD +500 -0
- pulumiverse_scaleway-1.35.0a1759392423.dist-info/RECORD +0 -499
- {pulumiverse_scaleway-1.35.0a1759392423.dist-info → pulumiverse_scaleway-1.35.0a1760445454.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.35.0a1759392423.dist-info → pulumiverse_scaleway-1.35.0a1760445454.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,87 +21,87 @@ __all__ = ['InstanceServerArgs', 'InstanceServer']
|
|
22
21
|
@pulumi.input_type
|
23
22
|
class InstanceServerArgs:
|
24
23
|
def __init__(__self__, *,
|
25
|
-
type: pulumi.Input[
|
26
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
27
|
-
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[
|
28
|
-
boot_type: Optional[pulumi.Input[
|
29
|
-
bootscript_id: Optional[pulumi.Input[
|
30
|
-
cloud_init: Optional[pulumi.Input[
|
31
|
-
enable_dynamic_ip: Optional[pulumi.Input[
|
32
|
-
enable_ipv6: Optional[pulumi.Input[
|
33
|
-
image: Optional[pulumi.Input[
|
34
|
-
ip_id: Optional[pulumi.Input[
|
35
|
-
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
36
|
-
name: Optional[pulumi.Input[
|
37
|
-
placement_group_id: Optional[pulumi.Input[
|
24
|
+
type: pulumi.Input[_builtins.str],
|
25
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
26
|
+
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
27
|
+
boot_type: Optional[pulumi.Input[_builtins.str]] = None,
|
28
|
+
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
29
|
+
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
30
|
+
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
31
|
+
enable_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
32
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
33
|
+
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
34
|
+
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
35
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
36
|
+
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
38
37
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
39
38
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
40
|
-
project_id: Optional[pulumi.Input[
|
41
|
-
protected: Optional[pulumi.Input[
|
39
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
40
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
42
41
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
|
43
|
-
replace_on_type_change: Optional[pulumi.Input[
|
42
|
+
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
44
43
|
root_volume: Optional[pulumi.Input['InstanceServerRootVolumeArgs']] = None,
|
45
|
-
security_group_id: Optional[pulumi.Input[
|
46
|
-
state: Optional[pulumi.Input[
|
47
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
48
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
49
|
-
zone: Optional[pulumi.Input[
|
44
|
+
security_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
45
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
46
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
47
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
48
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
50
49
|
"""
|
51
50
|
The set of arguments for constructing a InstanceServer resource.
|
52
|
-
:param pulumi.Input[
|
51
|
+
:param pulumi.Input[_builtins.str] type: The commercial type of the server.
|
53
52
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
54
53
|
Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
|
55
54
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
56
55
|
|
57
56
|
> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
57
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
59
58
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
60
59
|
|
61
60
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
62
61
|
|
63
62
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
64
|
-
:param pulumi.Input[
|
63
|
+
:param pulumi.Input[_builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
65
64
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
66
65
|
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
67
|
-
:param pulumi.Input[
|
68
|
-
:param pulumi.Input[
|
69
|
-
:param pulumi.Input[
|
70
|
-
:param pulumi.Input[
|
71
|
-
:param pulumi.Input[
|
66
|
+
:param pulumi.Input[_builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
67
|
+
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
68
|
+
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
69
|
+
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
70
|
+
:param pulumi.Input[_builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
|
72
71
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
73
|
-
:param pulumi.Input[
|
72
|
+
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
74
73
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
75
74
|
|
76
75
|
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
|
77
76
|
|
78
77
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
79
|
-
:param pulumi.Input[
|
80
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
78
|
+
:param pulumi.Input[_builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
|
79
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
81
80
|
|
82
81
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
83
|
-
:param pulumi.Input[
|
84
|
-
:param pulumi.Input[
|
82
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
83
|
+
:param pulumi.Input[_builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
85
84
|
|
86
85
|
|
87
86
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
88
87
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
89
88
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
90
89
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
91
|
-
:param pulumi.Input[
|
92
|
-
:param pulumi.Input[
|
90
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
91
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
93
92
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
|
94
|
-
:param pulumi.Input[
|
93
|
+
:param pulumi.Input[_builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
95
94
|
:param pulumi.Input['InstanceServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
|
96
|
-
:param pulumi.Input[
|
97
|
-
:param pulumi.Input[
|
98
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
99
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
95
|
+
:param pulumi.Input[_builtins.str] security_group_id: The security group the server is attached to
|
96
|
+
:param pulumi.Input[_builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
97
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
98
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] user_data: The user data associated with the server.
|
100
99
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
101
100
|
You can define values using:
|
102
101
|
- string
|
103
102
|
- UTF-8 encoded file content using file
|
104
103
|
- Binary files using filebase64.
|
105
|
-
:param pulumi.Input[
|
104
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
106
105
|
"""
|
107
106
|
pulumi.set(__self__, "type", type)
|
108
107
|
if additional_volume_ids is not None:
|
@@ -160,9 +159,9 @@ class InstanceServerArgs:
|
|
160
159
|
if zone is not None:
|
161
160
|
pulumi.set(__self__, "zone", zone)
|
162
161
|
|
163
|
-
@property
|
162
|
+
@_builtins.property
|
164
163
|
@pulumi.getter
|
165
|
-
def type(self) -> pulumi.Input[
|
164
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
166
165
|
"""
|
167
166
|
The commercial type of the server.
|
168
167
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
@@ -174,12 +173,12 @@ class InstanceServerArgs:
|
|
174
173
|
return pulumi.get(self, "type")
|
175
174
|
|
176
175
|
@type.setter
|
177
|
-
def type(self, value: pulumi.Input[
|
176
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
178
177
|
pulumi.set(self, "type", value)
|
179
178
|
|
180
|
-
@property
|
179
|
+
@_builtins.property
|
181
180
|
@pulumi.getter(name="additionalVolumeIds")
|
182
|
-
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
181
|
+
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
183
182
|
"""
|
184
183
|
The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
185
184
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
@@ -191,12 +190,12 @@ class InstanceServerArgs:
|
|
191
190
|
return pulumi.get(self, "additional_volume_ids")
|
192
191
|
|
193
192
|
@additional_volume_ids.setter
|
194
|
-
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
193
|
+
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
195
194
|
pulumi.set(self, "additional_volume_ids", value)
|
196
195
|
|
197
|
-
@property
|
196
|
+
@_builtins.property
|
198
197
|
@pulumi.getter(name="adminPasswordEncryptionSshKeyId")
|
199
|
-
def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[
|
198
|
+
def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
200
199
|
"""
|
201
200
|
The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
202
201
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
@@ -205,62 +204,62 @@ class InstanceServerArgs:
|
|
205
204
|
return pulumi.get(self, "admin_password_encryption_ssh_key_id")
|
206
205
|
|
207
206
|
@admin_password_encryption_ssh_key_id.setter
|
208
|
-
def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[
|
207
|
+
def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
209
208
|
pulumi.set(self, "admin_password_encryption_ssh_key_id", value)
|
210
209
|
|
211
|
-
@property
|
210
|
+
@_builtins.property
|
212
211
|
@pulumi.getter(name="bootType")
|
213
|
-
def boot_type(self) -> Optional[pulumi.Input[
|
212
|
+
def boot_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
214
213
|
"""
|
215
214
|
The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
216
215
|
"""
|
217
216
|
return pulumi.get(self, "boot_type")
|
218
217
|
|
219
218
|
@boot_type.setter
|
220
|
-
def boot_type(self, value: Optional[pulumi.Input[
|
219
|
+
def boot_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
221
220
|
pulumi.set(self, "boot_type", value)
|
222
221
|
|
223
|
-
@property
|
222
|
+
@_builtins.property
|
224
223
|
@pulumi.getter(name="bootscriptId")
|
225
224
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
226
|
-
def bootscript_id(self) -> Optional[pulumi.Input[
|
225
|
+
def bootscript_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
227
226
|
"""
|
228
227
|
ID of the target bootscript (set boot_type to bootscript)
|
229
228
|
"""
|
230
229
|
return pulumi.get(self, "bootscript_id")
|
231
230
|
|
232
231
|
@bootscript_id.setter
|
233
|
-
def bootscript_id(self, value: Optional[pulumi.Input[
|
232
|
+
def bootscript_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
234
233
|
pulumi.set(self, "bootscript_id", value)
|
235
234
|
|
236
|
-
@property
|
235
|
+
@_builtins.property
|
237
236
|
@pulumi.getter(name="cloudInit")
|
238
|
-
def cloud_init(self) -> Optional[pulumi.Input[
|
237
|
+
def cloud_init(self) -> Optional[pulumi.Input[_builtins.str]]:
|
239
238
|
"""
|
240
239
|
The cloud init script associated with this server
|
241
240
|
"""
|
242
241
|
return pulumi.get(self, "cloud_init")
|
243
242
|
|
244
243
|
@cloud_init.setter
|
245
|
-
def cloud_init(self, value: Optional[pulumi.Input[
|
244
|
+
def cloud_init(self, value: Optional[pulumi.Input[_builtins.str]]):
|
246
245
|
pulumi.set(self, "cloud_init", value)
|
247
246
|
|
248
|
-
@property
|
247
|
+
@_builtins.property
|
249
248
|
@pulumi.getter(name="enableDynamicIp")
|
250
|
-
def enable_dynamic_ip(self) -> Optional[pulumi.Input[
|
249
|
+
def enable_dynamic_ip(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
251
250
|
"""
|
252
251
|
If true a dynamic IP will be attached to the server.
|
253
252
|
"""
|
254
253
|
return pulumi.get(self, "enable_dynamic_ip")
|
255
254
|
|
256
255
|
@enable_dynamic_ip.setter
|
257
|
-
def enable_dynamic_ip(self, value: Optional[pulumi.Input[
|
256
|
+
def enable_dynamic_ip(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
258
257
|
pulumi.set(self, "enable_dynamic_ip", value)
|
259
258
|
|
260
|
-
@property
|
259
|
+
@_builtins.property
|
261
260
|
@pulumi.getter(name="enableIpv6")
|
262
261
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
263
|
-
def enable_ipv6(self) -> Optional[pulumi.Input[
|
262
|
+
def enable_ipv6(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
264
263
|
"""
|
265
264
|
Determines if IPv6 is enabled for the server.
|
266
265
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -268,12 +267,12 @@ class InstanceServerArgs:
|
|
268
267
|
return pulumi.get(self, "enable_ipv6")
|
269
268
|
|
270
269
|
@enable_ipv6.setter
|
271
|
-
def enable_ipv6(self, value: Optional[pulumi.Input[
|
270
|
+
def enable_ipv6(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
272
271
|
pulumi.set(self, "enable_ipv6", value)
|
273
272
|
|
274
|
-
@property
|
273
|
+
@_builtins.property
|
275
274
|
@pulumi.getter
|
276
|
-
def image(self) -> Optional[pulumi.Input[
|
275
|
+
def image(self) -> Optional[pulumi.Input[_builtins.str]]:
|
277
276
|
"""
|
278
277
|
The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
279
278
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
@@ -285,24 +284,24 @@ class InstanceServerArgs:
|
|
285
284
|
return pulumi.get(self, "image")
|
286
285
|
|
287
286
|
@image.setter
|
288
|
-
def image(self, value: Optional[pulumi.Input[
|
287
|
+
def image(self, value: Optional[pulumi.Input[_builtins.str]]):
|
289
288
|
pulumi.set(self, "image", value)
|
290
289
|
|
291
|
-
@property
|
290
|
+
@_builtins.property
|
292
291
|
@pulumi.getter(name="ipId")
|
293
|
-
def ip_id(self) -> Optional[pulumi.Input[
|
292
|
+
def ip_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
294
293
|
"""
|
295
294
|
The ID of the reserved IP that is attached to the server.
|
296
295
|
"""
|
297
296
|
return pulumi.get(self, "ip_id")
|
298
297
|
|
299
298
|
@ip_id.setter
|
300
|
-
def ip_id(self, value: Optional[pulumi.Input[
|
299
|
+
def ip_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
301
300
|
pulumi.set(self, "ip_id", value)
|
302
301
|
|
303
|
-
@property
|
302
|
+
@_builtins.property
|
304
303
|
@pulumi.getter(name="ipIds")
|
305
|
-
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
304
|
+
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
306
305
|
"""
|
307
306
|
List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
308
307
|
|
@@ -311,24 +310,24 @@ class InstanceServerArgs:
|
|
311
310
|
return pulumi.get(self, "ip_ids")
|
312
311
|
|
313
312
|
@ip_ids.setter
|
314
|
-
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
313
|
+
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
315
314
|
pulumi.set(self, "ip_ids", value)
|
316
315
|
|
317
|
-
@property
|
316
|
+
@_builtins.property
|
318
317
|
@pulumi.getter
|
319
|
-
def name(self) -> Optional[pulumi.Input[
|
318
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
320
319
|
"""
|
321
320
|
The name of the server.
|
322
321
|
"""
|
323
322
|
return pulumi.get(self, "name")
|
324
323
|
|
325
324
|
@name.setter
|
326
|
-
def name(self, value: Optional[pulumi.Input[
|
325
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
327
326
|
pulumi.set(self, "name", value)
|
328
327
|
|
329
|
-
@property
|
328
|
+
@_builtins.property
|
330
329
|
@pulumi.getter(name="placementGroupId")
|
331
|
-
def placement_group_id(self) -> Optional[pulumi.Input[
|
330
|
+
def placement_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
332
331
|
"""
|
333
332
|
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
334
333
|
|
@@ -338,10 +337,10 @@ class InstanceServerArgs:
|
|
338
337
|
return pulumi.get(self, "placement_group_id")
|
339
338
|
|
340
339
|
@placement_group_id.setter
|
341
|
-
def placement_group_id(self, value: Optional[pulumi.Input[
|
340
|
+
def placement_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
342
341
|
pulumi.set(self, "placement_group_id", value)
|
343
342
|
|
344
|
-
@property
|
343
|
+
@_builtins.property
|
345
344
|
@pulumi.getter(name="privateIps")
|
346
345
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]:
|
347
346
|
"""
|
@@ -353,7 +352,7 @@ class InstanceServerArgs:
|
|
353
352
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]):
|
354
353
|
pulumi.set(self, "private_ips", value)
|
355
354
|
|
356
|
-
@property
|
355
|
+
@_builtins.property
|
357
356
|
@pulumi.getter(name="privateNetworks")
|
358
357
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]]:
|
359
358
|
"""
|
@@ -366,31 +365,31 @@ class InstanceServerArgs:
|
|
366
365
|
def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]]):
|
367
366
|
pulumi.set(self, "private_networks", value)
|
368
367
|
|
369
|
-
@property
|
368
|
+
@_builtins.property
|
370
369
|
@pulumi.getter(name="projectId")
|
371
|
-
def project_id(self) -> Optional[pulumi.Input[
|
370
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
372
371
|
"""
|
373
372
|
`project_id`) The ID of the project the server is associated with.
|
374
373
|
"""
|
375
374
|
return pulumi.get(self, "project_id")
|
376
375
|
|
377
376
|
@project_id.setter
|
378
|
-
def project_id(self, value: Optional[pulumi.Input[
|
377
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
379
378
|
pulumi.set(self, "project_id", value)
|
380
379
|
|
381
|
-
@property
|
380
|
+
@_builtins.property
|
382
381
|
@pulumi.getter
|
383
|
-
def protected(self) -> Optional[pulumi.Input[
|
382
|
+
def protected(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
384
383
|
"""
|
385
384
|
Set to true to activate server protection option.
|
386
385
|
"""
|
387
386
|
return pulumi.get(self, "protected")
|
388
387
|
|
389
388
|
@protected.setter
|
390
|
-
def protected(self, value: Optional[pulumi.Input[
|
389
|
+
def protected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
391
390
|
pulumi.set(self, "protected", value)
|
392
391
|
|
393
|
-
@property
|
392
|
+
@_builtins.property
|
394
393
|
@pulumi.getter(name="publicIps")
|
395
394
|
def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]]:
|
396
395
|
"""
|
@@ -402,19 +401,19 @@ class InstanceServerArgs:
|
|
402
401
|
def public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]]):
|
403
402
|
pulumi.set(self, "public_ips", value)
|
404
403
|
|
405
|
-
@property
|
404
|
+
@_builtins.property
|
406
405
|
@pulumi.getter(name="replaceOnTypeChange")
|
407
|
-
def replace_on_type_change(self) -> Optional[pulumi.Input[
|
406
|
+
def replace_on_type_change(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
408
407
|
"""
|
409
408
|
If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
410
409
|
"""
|
411
410
|
return pulumi.get(self, "replace_on_type_change")
|
412
411
|
|
413
412
|
@replace_on_type_change.setter
|
414
|
-
def replace_on_type_change(self, value: Optional[pulumi.Input[
|
413
|
+
def replace_on_type_change(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
415
414
|
pulumi.set(self, "replace_on_type_change", value)
|
416
415
|
|
417
|
-
@property
|
416
|
+
@_builtins.property
|
418
417
|
@pulumi.getter(name="rootVolume")
|
419
418
|
def root_volume(self) -> Optional[pulumi.Input['InstanceServerRootVolumeArgs']]:
|
420
419
|
"""
|
@@ -426,45 +425,45 @@ class InstanceServerArgs:
|
|
426
425
|
def root_volume(self, value: Optional[pulumi.Input['InstanceServerRootVolumeArgs']]):
|
427
426
|
pulumi.set(self, "root_volume", value)
|
428
427
|
|
429
|
-
@property
|
428
|
+
@_builtins.property
|
430
429
|
@pulumi.getter(name="securityGroupId")
|
431
|
-
def security_group_id(self) -> Optional[pulumi.Input[
|
430
|
+
def security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
432
431
|
"""
|
433
432
|
The security group the server is attached to
|
434
433
|
"""
|
435
434
|
return pulumi.get(self, "security_group_id")
|
436
435
|
|
437
436
|
@security_group_id.setter
|
438
|
-
def security_group_id(self, value: Optional[pulumi.Input[
|
437
|
+
def security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
439
438
|
pulumi.set(self, "security_group_id", value)
|
440
439
|
|
441
|
-
@property
|
440
|
+
@_builtins.property
|
442
441
|
@pulumi.getter
|
443
|
-
def state(self) -> Optional[pulumi.Input[
|
442
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
444
443
|
"""
|
445
444
|
The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
446
445
|
"""
|
447
446
|
return pulumi.get(self, "state")
|
448
447
|
|
449
448
|
@state.setter
|
450
|
-
def state(self, value: Optional[pulumi.Input[
|
449
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
451
450
|
pulumi.set(self, "state", value)
|
452
451
|
|
453
|
-
@property
|
452
|
+
@_builtins.property
|
454
453
|
@pulumi.getter
|
455
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
454
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
456
455
|
"""
|
457
456
|
The tags associated with the server.
|
458
457
|
"""
|
459
458
|
return pulumi.get(self, "tags")
|
460
459
|
|
461
460
|
@tags.setter
|
462
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
461
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
463
462
|
pulumi.set(self, "tags", value)
|
464
463
|
|
465
|
-
@property
|
464
|
+
@_builtins.property
|
466
465
|
@pulumi.getter(name="userData")
|
467
|
-
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
466
|
+
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
468
467
|
"""
|
469
468
|
The user data associated with the server.
|
470
469
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
@@ -476,123 +475,123 @@ class InstanceServerArgs:
|
|
476
475
|
return pulumi.get(self, "user_data")
|
477
476
|
|
478
477
|
@user_data.setter
|
479
|
-
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
478
|
+
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
480
479
|
pulumi.set(self, "user_data", value)
|
481
480
|
|
482
|
-
@property
|
481
|
+
@_builtins.property
|
483
482
|
@pulumi.getter
|
484
|
-
def zone(self) -> Optional[pulumi.Input[
|
483
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
485
484
|
"""
|
486
485
|
`zone`) The zone in which the server should be created.
|
487
486
|
"""
|
488
487
|
return pulumi.get(self, "zone")
|
489
488
|
|
490
489
|
@zone.setter
|
491
|
-
def zone(self, value: Optional[pulumi.Input[
|
490
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
492
491
|
pulumi.set(self, "zone", value)
|
493
492
|
|
494
493
|
|
495
494
|
@pulumi.input_type
|
496
495
|
class _InstanceServerState:
|
497
496
|
def __init__(__self__, *,
|
498
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
499
|
-
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[
|
500
|
-
boot_type: Optional[pulumi.Input[
|
501
|
-
bootscript_id: Optional[pulumi.Input[
|
502
|
-
cloud_init: Optional[pulumi.Input[
|
503
|
-
enable_dynamic_ip: Optional[pulumi.Input[
|
504
|
-
enable_ipv6: Optional[pulumi.Input[
|
505
|
-
image: Optional[pulumi.Input[
|
506
|
-
ip_id: Optional[pulumi.Input[
|
507
|
-
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
508
|
-
ipv6_address: Optional[pulumi.Input[
|
509
|
-
ipv6_gateway: Optional[pulumi.Input[
|
510
|
-
ipv6_prefix_length: Optional[pulumi.Input[
|
511
|
-
name: Optional[pulumi.Input[
|
512
|
-
organization_id: Optional[pulumi.Input[
|
513
|
-
placement_group_id: Optional[pulumi.Input[
|
514
|
-
placement_group_policy_respected: Optional[pulumi.Input[
|
515
|
-
private_ip: Optional[pulumi.Input[
|
497
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
498
|
+
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
499
|
+
boot_type: Optional[pulumi.Input[_builtins.str]] = None,
|
500
|
+
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
501
|
+
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
502
|
+
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
503
|
+
enable_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
504
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
505
|
+
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
506
|
+
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
507
|
+
ipv6_address: Optional[pulumi.Input[_builtins.str]] = None,
|
508
|
+
ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
509
|
+
ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None,
|
510
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
511
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
512
|
+
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
513
|
+
placement_group_policy_respected: Optional[pulumi.Input[_builtins.bool]] = None,
|
514
|
+
private_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
516
515
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
517
516
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
518
|
-
project_id: Optional[pulumi.Input[
|
519
|
-
protected: Optional[pulumi.Input[
|
520
|
-
public_ip: Optional[pulumi.Input[
|
517
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
518
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
519
|
+
public_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
521
520
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
|
522
|
-
replace_on_type_change: Optional[pulumi.Input[
|
521
|
+
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
523
522
|
root_volume: Optional[pulumi.Input['InstanceServerRootVolumeArgs']] = None,
|
524
|
-
security_group_id: Optional[pulumi.Input[
|
525
|
-
state: Optional[pulumi.Input[
|
526
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
527
|
-
type: Optional[pulumi.Input[
|
528
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
529
|
-
zone: Optional[pulumi.Input[
|
523
|
+
security_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
524
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
525
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
526
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
527
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
528
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
530
529
|
"""
|
531
530
|
Input properties used for looking up and filtering InstanceServer resources.
|
532
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
531
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
533
532
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
534
533
|
|
535
534
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
536
535
|
|
537
536
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
538
|
-
:param pulumi.Input[
|
537
|
+
:param pulumi.Input[_builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
539
538
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
540
539
|
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
541
|
-
:param pulumi.Input[
|
542
|
-
:param pulumi.Input[
|
543
|
-
:param pulumi.Input[
|
544
|
-
:param pulumi.Input[
|
545
|
-
:param pulumi.Input[
|
540
|
+
:param pulumi.Input[_builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
541
|
+
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
542
|
+
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
543
|
+
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
544
|
+
:param pulumi.Input[_builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
|
546
545
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
547
|
-
:param pulumi.Input[
|
546
|
+
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
548
547
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
549
548
|
|
550
549
|
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
|
551
550
|
|
552
551
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
553
|
-
:param pulumi.Input[
|
554
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
552
|
+
:param pulumi.Input[_builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
|
553
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
555
554
|
|
556
555
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
557
|
-
:param pulumi.Input[
|
556
|
+
:param pulumi.Input[_builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
558
557
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
559
|
-
:param pulumi.Input[
|
558
|
+
:param pulumi.Input[_builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
560
559
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
561
|
-
:param pulumi.Input[
|
560
|
+
:param pulumi.Input[_builtins.int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
562
561
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
563
|
-
:param pulumi.Input[
|
564
|
-
:param pulumi.Input[
|
565
|
-
:param pulumi.Input[
|
562
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
563
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
564
|
+
:param pulumi.Input[_builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
566
565
|
|
567
566
|
|
568
567
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
569
|
-
:param pulumi.Input[
|
570
|
-
:param pulumi.Input[
|
568
|
+
:param pulumi.Input[_builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
569
|
+
:param pulumi.Input[_builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
571
570
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
572
571
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
573
572
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
574
|
-
:param pulumi.Input[
|
575
|
-
:param pulumi.Input[
|
576
|
-
:param pulumi.Input[
|
573
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
574
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
575
|
+
:param pulumi.Input[_builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
|
577
576
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
|
578
|
-
:param pulumi.Input[
|
577
|
+
:param pulumi.Input[_builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
579
578
|
:param pulumi.Input['InstanceServerRootVolumeArgs'] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
|
580
|
-
:param pulumi.Input[
|
581
|
-
:param pulumi.Input[
|
582
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
583
|
-
:param pulumi.Input[
|
579
|
+
:param pulumi.Input[_builtins.str] security_group_id: The security group the server is attached to
|
580
|
+
:param pulumi.Input[_builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
581
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
582
|
+
:param pulumi.Input[_builtins.str] type: The commercial type of the server.
|
584
583
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
585
584
|
Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
|
586
585
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
587
586
|
|
588
587
|
> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
|
589
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
588
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] user_data: The user data associated with the server.
|
590
589
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
591
590
|
You can define values using:
|
592
591
|
- string
|
593
592
|
- UTF-8 encoded file content using file
|
594
593
|
- Binary files using filebase64.
|
595
|
-
:param pulumi.Input[
|
594
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
596
595
|
"""
|
597
596
|
if additional_volume_ids is not None:
|
598
597
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
@@ -680,9 +679,9 @@ class _InstanceServerState:
|
|
680
679
|
if zone is not None:
|
681
680
|
pulumi.set(__self__, "zone", zone)
|
682
681
|
|
683
|
-
@property
|
682
|
+
@_builtins.property
|
684
683
|
@pulumi.getter(name="additionalVolumeIds")
|
685
|
-
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
684
|
+
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
686
685
|
"""
|
687
686
|
The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
688
687
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
@@ -694,12 +693,12 @@ class _InstanceServerState:
|
|
694
693
|
return pulumi.get(self, "additional_volume_ids")
|
695
694
|
|
696
695
|
@additional_volume_ids.setter
|
697
|
-
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
696
|
+
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
698
697
|
pulumi.set(self, "additional_volume_ids", value)
|
699
698
|
|
700
|
-
@property
|
699
|
+
@_builtins.property
|
701
700
|
@pulumi.getter(name="adminPasswordEncryptionSshKeyId")
|
702
|
-
def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[
|
701
|
+
def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
703
702
|
"""
|
704
703
|
The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
705
704
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
@@ -708,62 +707,62 @@ class _InstanceServerState:
|
|
708
707
|
return pulumi.get(self, "admin_password_encryption_ssh_key_id")
|
709
708
|
|
710
709
|
@admin_password_encryption_ssh_key_id.setter
|
711
|
-
def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[
|
710
|
+
def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
712
711
|
pulumi.set(self, "admin_password_encryption_ssh_key_id", value)
|
713
712
|
|
714
|
-
@property
|
713
|
+
@_builtins.property
|
715
714
|
@pulumi.getter(name="bootType")
|
716
|
-
def boot_type(self) -> Optional[pulumi.Input[
|
715
|
+
def boot_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
717
716
|
"""
|
718
717
|
The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
719
718
|
"""
|
720
719
|
return pulumi.get(self, "boot_type")
|
721
720
|
|
722
721
|
@boot_type.setter
|
723
|
-
def boot_type(self, value: Optional[pulumi.Input[
|
722
|
+
def boot_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
724
723
|
pulumi.set(self, "boot_type", value)
|
725
724
|
|
726
|
-
@property
|
725
|
+
@_builtins.property
|
727
726
|
@pulumi.getter(name="bootscriptId")
|
728
727
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
729
|
-
def bootscript_id(self) -> Optional[pulumi.Input[
|
728
|
+
def bootscript_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
730
729
|
"""
|
731
730
|
ID of the target bootscript (set boot_type to bootscript)
|
732
731
|
"""
|
733
732
|
return pulumi.get(self, "bootscript_id")
|
734
733
|
|
735
734
|
@bootscript_id.setter
|
736
|
-
def bootscript_id(self, value: Optional[pulumi.Input[
|
735
|
+
def bootscript_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
737
736
|
pulumi.set(self, "bootscript_id", value)
|
738
737
|
|
739
|
-
@property
|
738
|
+
@_builtins.property
|
740
739
|
@pulumi.getter(name="cloudInit")
|
741
|
-
def cloud_init(self) -> Optional[pulumi.Input[
|
740
|
+
def cloud_init(self) -> Optional[pulumi.Input[_builtins.str]]:
|
742
741
|
"""
|
743
742
|
The cloud init script associated with this server
|
744
743
|
"""
|
745
744
|
return pulumi.get(self, "cloud_init")
|
746
745
|
|
747
746
|
@cloud_init.setter
|
748
|
-
def cloud_init(self, value: Optional[pulumi.Input[
|
747
|
+
def cloud_init(self, value: Optional[pulumi.Input[_builtins.str]]):
|
749
748
|
pulumi.set(self, "cloud_init", value)
|
750
749
|
|
751
|
-
@property
|
750
|
+
@_builtins.property
|
752
751
|
@pulumi.getter(name="enableDynamicIp")
|
753
|
-
def enable_dynamic_ip(self) -> Optional[pulumi.Input[
|
752
|
+
def enable_dynamic_ip(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
754
753
|
"""
|
755
754
|
If true a dynamic IP will be attached to the server.
|
756
755
|
"""
|
757
756
|
return pulumi.get(self, "enable_dynamic_ip")
|
758
757
|
|
759
758
|
@enable_dynamic_ip.setter
|
760
|
-
def enable_dynamic_ip(self, value: Optional[pulumi.Input[
|
759
|
+
def enable_dynamic_ip(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
761
760
|
pulumi.set(self, "enable_dynamic_ip", value)
|
762
761
|
|
763
|
-
@property
|
762
|
+
@_builtins.property
|
764
763
|
@pulumi.getter(name="enableIpv6")
|
765
764
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
766
|
-
def enable_ipv6(self) -> Optional[pulumi.Input[
|
765
|
+
def enable_ipv6(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
767
766
|
"""
|
768
767
|
Determines if IPv6 is enabled for the server.
|
769
768
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -771,12 +770,12 @@ class _InstanceServerState:
|
|
771
770
|
return pulumi.get(self, "enable_ipv6")
|
772
771
|
|
773
772
|
@enable_ipv6.setter
|
774
|
-
def enable_ipv6(self, value: Optional[pulumi.Input[
|
773
|
+
def enable_ipv6(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
775
774
|
pulumi.set(self, "enable_ipv6", value)
|
776
775
|
|
777
|
-
@property
|
776
|
+
@_builtins.property
|
778
777
|
@pulumi.getter
|
779
|
-
def image(self) -> Optional[pulumi.Input[
|
778
|
+
def image(self) -> Optional[pulumi.Input[_builtins.str]]:
|
780
779
|
"""
|
781
780
|
The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
782
781
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
@@ -788,24 +787,24 @@ class _InstanceServerState:
|
|
788
787
|
return pulumi.get(self, "image")
|
789
788
|
|
790
789
|
@image.setter
|
791
|
-
def image(self, value: Optional[pulumi.Input[
|
790
|
+
def image(self, value: Optional[pulumi.Input[_builtins.str]]):
|
792
791
|
pulumi.set(self, "image", value)
|
793
792
|
|
794
|
-
@property
|
793
|
+
@_builtins.property
|
795
794
|
@pulumi.getter(name="ipId")
|
796
|
-
def ip_id(self) -> Optional[pulumi.Input[
|
795
|
+
def ip_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
797
796
|
"""
|
798
797
|
The ID of the reserved IP that is attached to the server.
|
799
798
|
"""
|
800
799
|
return pulumi.get(self, "ip_id")
|
801
800
|
|
802
801
|
@ip_id.setter
|
803
|
-
def ip_id(self, value: Optional[pulumi.Input[
|
802
|
+
def ip_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
804
803
|
pulumi.set(self, "ip_id", value)
|
805
804
|
|
806
|
-
@property
|
805
|
+
@_builtins.property
|
807
806
|
@pulumi.getter(name="ipIds")
|
808
|
-
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
807
|
+
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
809
808
|
"""
|
810
809
|
List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
811
810
|
|
@@ -814,13 +813,13 @@ class _InstanceServerState:
|
|
814
813
|
return pulumi.get(self, "ip_ids")
|
815
814
|
|
816
815
|
@ip_ids.setter
|
817
|
-
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
816
|
+
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
818
817
|
pulumi.set(self, "ip_ids", value)
|
819
818
|
|
820
|
-
@property
|
819
|
+
@_builtins.property
|
821
820
|
@pulumi.getter(name="ipv6Address")
|
822
821
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
823
|
-
def ipv6_address(self) -> Optional[pulumi.Input[
|
822
|
+
def ipv6_address(self) -> Optional[pulumi.Input[_builtins.str]]:
|
824
823
|
"""
|
825
824
|
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
826
825
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -828,13 +827,13 @@ class _InstanceServerState:
|
|
828
827
|
return pulumi.get(self, "ipv6_address")
|
829
828
|
|
830
829
|
@ipv6_address.setter
|
831
|
-
def ipv6_address(self, value: Optional[pulumi.Input[
|
830
|
+
def ipv6_address(self, value: Optional[pulumi.Input[_builtins.str]]):
|
832
831
|
pulumi.set(self, "ipv6_address", value)
|
833
832
|
|
834
|
-
@property
|
833
|
+
@_builtins.property
|
835
834
|
@pulumi.getter(name="ipv6Gateway")
|
836
835
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
837
|
-
def ipv6_gateway(self) -> Optional[pulumi.Input[
|
836
|
+
def ipv6_gateway(self) -> Optional[pulumi.Input[_builtins.str]]:
|
838
837
|
"""
|
839
838
|
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
840
839
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -842,13 +841,13 @@ class _InstanceServerState:
|
|
842
841
|
return pulumi.get(self, "ipv6_gateway")
|
843
842
|
|
844
843
|
@ipv6_gateway.setter
|
845
|
-
def ipv6_gateway(self, value: Optional[pulumi.Input[
|
844
|
+
def ipv6_gateway(self, value: Optional[pulumi.Input[_builtins.str]]):
|
846
845
|
pulumi.set(self, "ipv6_gateway", value)
|
847
846
|
|
848
|
-
@property
|
847
|
+
@_builtins.property
|
849
848
|
@pulumi.getter(name="ipv6PrefixLength")
|
850
849
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
851
|
-
def ipv6_prefix_length(self) -> Optional[pulumi.Input[
|
850
|
+
def ipv6_prefix_length(self) -> Optional[pulumi.Input[_builtins.int]]:
|
852
851
|
"""
|
853
852
|
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
854
853
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -856,36 +855,36 @@ class _InstanceServerState:
|
|
856
855
|
return pulumi.get(self, "ipv6_prefix_length")
|
857
856
|
|
858
857
|
@ipv6_prefix_length.setter
|
859
|
-
def ipv6_prefix_length(self, value: Optional[pulumi.Input[
|
858
|
+
def ipv6_prefix_length(self, value: Optional[pulumi.Input[_builtins.int]]):
|
860
859
|
pulumi.set(self, "ipv6_prefix_length", value)
|
861
860
|
|
862
|
-
@property
|
861
|
+
@_builtins.property
|
863
862
|
@pulumi.getter
|
864
|
-
def name(self) -> Optional[pulumi.Input[
|
863
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
865
864
|
"""
|
866
865
|
The name of the server.
|
867
866
|
"""
|
868
867
|
return pulumi.get(self, "name")
|
869
868
|
|
870
869
|
@name.setter
|
871
|
-
def name(self, value: Optional[pulumi.Input[
|
870
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
872
871
|
pulumi.set(self, "name", value)
|
873
872
|
|
874
|
-
@property
|
873
|
+
@_builtins.property
|
875
874
|
@pulumi.getter(name="organizationId")
|
876
|
-
def organization_id(self) -> Optional[pulumi.Input[
|
875
|
+
def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
877
876
|
"""
|
878
877
|
The organization ID the server is associated with.
|
879
878
|
"""
|
880
879
|
return pulumi.get(self, "organization_id")
|
881
880
|
|
882
881
|
@organization_id.setter
|
883
|
-
def organization_id(self, value: Optional[pulumi.Input[
|
882
|
+
def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
884
883
|
pulumi.set(self, "organization_id", value)
|
885
884
|
|
886
|
-
@property
|
885
|
+
@_builtins.property
|
887
886
|
@pulumi.getter(name="placementGroupId")
|
888
|
-
def placement_group_id(self) -> Optional[pulumi.Input[
|
887
|
+
def placement_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
889
888
|
"""
|
890
889
|
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
891
890
|
|
@@ -895,35 +894,35 @@ class _InstanceServerState:
|
|
895
894
|
return pulumi.get(self, "placement_group_id")
|
896
895
|
|
897
896
|
@placement_group_id.setter
|
898
|
-
def placement_group_id(self, value: Optional[pulumi.Input[
|
897
|
+
def placement_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
899
898
|
pulumi.set(self, "placement_group_id", value)
|
900
899
|
|
901
|
-
@property
|
900
|
+
@_builtins.property
|
902
901
|
@pulumi.getter(name="placementGroupPolicyRespected")
|
903
|
-
def placement_group_policy_respected(self) -> Optional[pulumi.Input[
|
902
|
+
def placement_group_policy_respected(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
904
903
|
"""
|
905
904
|
(Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
906
905
|
"""
|
907
906
|
return pulumi.get(self, "placement_group_policy_respected")
|
908
907
|
|
909
908
|
@placement_group_policy_respected.setter
|
910
|
-
def placement_group_policy_respected(self, value: Optional[pulumi.Input[
|
909
|
+
def placement_group_policy_respected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
911
910
|
pulumi.set(self, "placement_group_policy_respected", value)
|
912
911
|
|
913
|
-
@property
|
912
|
+
@_builtins.property
|
914
913
|
@pulumi.getter(name="privateIp")
|
915
914
|
@_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
916
|
-
def private_ip(self) -> Optional[pulumi.Input[
|
915
|
+
def private_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
|
917
916
|
"""
|
918
917
|
The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
919
918
|
"""
|
920
919
|
return pulumi.get(self, "private_ip")
|
921
920
|
|
922
921
|
@private_ip.setter
|
923
|
-
def private_ip(self, value: Optional[pulumi.Input[
|
922
|
+
def private_ip(self, value: Optional[pulumi.Input[_builtins.str]]):
|
924
923
|
pulumi.set(self, "private_ip", value)
|
925
924
|
|
926
|
-
@property
|
925
|
+
@_builtins.property
|
927
926
|
@pulumi.getter(name="privateIps")
|
928
927
|
def private_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]:
|
929
928
|
"""
|
@@ -935,7 +934,7 @@ class _InstanceServerState:
|
|
935
934
|
def private_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]]):
|
936
935
|
pulumi.set(self, "private_ips", value)
|
937
936
|
|
938
|
-
@property
|
937
|
+
@_builtins.property
|
939
938
|
@pulumi.getter(name="privateNetworks")
|
940
939
|
def private_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]]:
|
941
940
|
"""
|
@@ -948,44 +947,44 @@ class _InstanceServerState:
|
|
948
947
|
def private_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]]):
|
949
948
|
pulumi.set(self, "private_networks", value)
|
950
949
|
|
951
|
-
@property
|
950
|
+
@_builtins.property
|
952
951
|
@pulumi.getter(name="projectId")
|
953
|
-
def project_id(self) -> Optional[pulumi.Input[
|
952
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
954
953
|
"""
|
955
954
|
`project_id`) The ID of the project the server is associated with.
|
956
955
|
"""
|
957
956
|
return pulumi.get(self, "project_id")
|
958
957
|
|
959
958
|
@project_id.setter
|
960
|
-
def project_id(self, value: Optional[pulumi.Input[
|
959
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
961
960
|
pulumi.set(self, "project_id", value)
|
962
961
|
|
963
|
-
@property
|
962
|
+
@_builtins.property
|
964
963
|
@pulumi.getter
|
965
|
-
def protected(self) -> Optional[pulumi.Input[
|
964
|
+
def protected(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
966
965
|
"""
|
967
966
|
Set to true to activate server protection option.
|
968
967
|
"""
|
969
968
|
return pulumi.get(self, "protected")
|
970
969
|
|
971
970
|
@protected.setter
|
972
|
-
def protected(self, value: Optional[pulumi.Input[
|
971
|
+
def protected(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
973
972
|
pulumi.set(self, "protected", value)
|
974
973
|
|
975
|
-
@property
|
974
|
+
@_builtins.property
|
976
975
|
@pulumi.getter(name="publicIp")
|
977
976
|
@_utilities.deprecated("""Use public_ips instead""")
|
978
|
-
def public_ip(self) -> Optional[pulumi.Input[
|
977
|
+
def public_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
|
979
978
|
"""
|
980
979
|
The public IP address of the server (Deprecated use `public_ips` instead).
|
981
980
|
"""
|
982
981
|
return pulumi.get(self, "public_ip")
|
983
982
|
|
984
983
|
@public_ip.setter
|
985
|
-
def public_ip(self, value: Optional[pulumi.Input[
|
984
|
+
def public_ip(self, value: Optional[pulumi.Input[_builtins.str]]):
|
986
985
|
pulumi.set(self, "public_ip", value)
|
987
986
|
|
988
|
-
@property
|
987
|
+
@_builtins.property
|
989
988
|
@pulumi.getter(name="publicIps")
|
990
989
|
def public_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]]:
|
991
990
|
"""
|
@@ -997,19 +996,19 @@ class _InstanceServerState:
|
|
997
996
|
def public_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]]):
|
998
997
|
pulumi.set(self, "public_ips", value)
|
999
998
|
|
1000
|
-
@property
|
999
|
+
@_builtins.property
|
1001
1000
|
@pulumi.getter(name="replaceOnTypeChange")
|
1002
|
-
def replace_on_type_change(self) -> Optional[pulumi.Input[
|
1001
|
+
def replace_on_type_change(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
1003
1002
|
"""
|
1004
1003
|
If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
1005
1004
|
"""
|
1006
1005
|
return pulumi.get(self, "replace_on_type_change")
|
1007
1006
|
|
1008
1007
|
@replace_on_type_change.setter
|
1009
|
-
def replace_on_type_change(self, value: Optional[pulumi.Input[
|
1008
|
+
def replace_on_type_change(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
1010
1009
|
pulumi.set(self, "replace_on_type_change", value)
|
1011
1010
|
|
1012
|
-
@property
|
1011
|
+
@_builtins.property
|
1013
1012
|
@pulumi.getter(name="rootVolume")
|
1014
1013
|
def root_volume(self) -> Optional[pulumi.Input['InstanceServerRootVolumeArgs']]:
|
1015
1014
|
"""
|
@@ -1021,45 +1020,45 @@ class _InstanceServerState:
|
|
1021
1020
|
def root_volume(self, value: Optional[pulumi.Input['InstanceServerRootVolumeArgs']]):
|
1022
1021
|
pulumi.set(self, "root_volume", value)
|
1023
1022
|
|
1024
|
-
@property
|
1023
|
+
@_builtins.property
|
1025
1024
|
@pulumi.getter(name="securityGroupId")
|
1026
|
-
def security_group_id(self) -> Optional[pulumi.Input[
|
1025
|
+
def security_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1027
1026
|
"""
|
1028
1027
|
The security group the server is attached to
|
1029
1028
|
"""
|
1030
1029
|
return pulumi.get(self, "security_group_id")
|
1031
1030
|
|
1032
1031
|
@security_group_id.setter
|
1033
|
-
def security_group_id(self, value: Optional[pulumi.Input[
|
1032
|
+
def security_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
1034
1033
|
pulumi.set(self, "security_group_id", value)
|
1035
1034
|
|
1036
|
-
@property
|
1035
|
+
@_builtins.property
|
1037
1036
|
@pulumi.getter
|
1038
|
-
def state(self) -> Optional[pulumi.Input[
|
1037
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1039
1038
|
"""
|
1040
1039
|
The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1041
1040
|
"""
|
1042
1041
|
return pulumi.get(self, "state")
|
1043
1042
|
|
1044
1043
|
@state.setter
|
1045
|
-
def state(self, value: Optional[pulumi.Input[
|
1044
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
1046
1045
|
pulumi.set(self, "state", value)
|
1047
1046
|
|
1048
|
-
@property
|
1047
|
+
@_builtins.property
|
1049
1048
|
@pulumi.getter
|
1050
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
1049
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
1051
1050
|
"""
|
1052
1051
|
The tags associated with the server.
|
1053
1052
|
"""
|
1054
1053
|
return pulumi.get(self, "tags")
|
1055
1054
|
|
1056
1055
|
@tags.setter
|
1057
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1056
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
1058
1057
|
pulumi.set(self, "tags", value)
|
1059
1058
|
|
1060
|
-
@property
|
1059
|
+
@_builtins.property
|
1061
1060
|
@pulumi.getter
|
1062
|
-
def type(self) -> Optional[pulumi.Input[
|
1061
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1063
1062
|
"""
|
1064
1063
|
The commercial type of the server.
|
1065
1064
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
@@ -1071,12 +1070,12 @@ class _InstanceServerState:
|
|
1071
1070
|
return pulumi.get(self, "type")
|
1072
1071
|
|
1073
1072
|
@type.setter
|
1074
|
-
def type(self, value: Optional[pulumi.Input[
|
1073
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
1075
1074
|
pulumi.set(self, "type", value)
|
1076
1075
|
|
1077
|
-
@property
|
1076
|
+
@_builtins.property
|
1078
1077
|
@pulumi.getter(name="userData")
|
1079
|
-
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
1078
|
+
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
1080
1079
|
"""
|
1081
1080
|
The user data associated with the server.
|
1082
1081
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
@@ -1088,19 +1087,19 @@ class _InstanceServerState:
|
|
1088
1087
|
return pulumi.get(self, "user_data")
|
1089
1088
|
|
1090
1089
|
@user_data.setter
|
1091
|
-
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
1090
|
+
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
1092
1091
|
pulumi.set(self, "user_data", value)
|
1093
1092
|
|
1094
|
-
@property
|
1093
|
+
@_builtins.property
|
1095
1094
|
@pulumi.getter
|
1096
|
-
def zone(self) -> Optional[pulumi.Input[
|
1095
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
1097
1096
|
"""
|
1098
1097
|
`zone`) The zone in which the server should be created.
|
1099
1098
|
"""
|
1100
1099
|
return pulumi.get(self, "zone")
|
1101
1100
|
|
1102
1101
|
@zone.setter
|
1103
|
-
def zone(self, value: Optional[pulumi.Input[
|
1102
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
1104
1103
|
pulumi.set(self, "zone", value)
|
1105
1104
|
|
1106
1105
|
|
@@ -1115,31 +1114,31 @@ class InstanceServer(pulumi.CustomResource):
|
|
1115
1114
|
def __init__(__self__,
|
1116
1115
|
resource_name: str,
|
1117
1116
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1118
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1119
|
-
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[
|
1120
|
-
boot_type: Optional[pulumi.Input[
|
1121
|
-
bootscript_id: Optional[pulumi.Input[
|
1122
|
-
cloud_init: Optional[pulumi.Input[
|
1123
|
-
enable_dynamic_ip: Optional[pulumi.Input[
|
1124
|
-
enable_ipv6: Optional[pulumi.Input[
|
1125
|
-
image: Optional[pulumi.Input[
|
1126
|
-
ip_id: Optional[pulumi.Input[
|
1127
|
-
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1128
|
-
name: Optional[pulumi.Input[
|
1129
|
-
placement_group_id: Optional[pulumi.Input[
|
1117
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1118
|
+
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1119
|
+
boot_type: Optional[pulumi.Input[_builtins.str]] = None,
|
1120
|
+
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1121
|
+
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
1122
|
+
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
1123
|
+
enable_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
1124
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
1125
|
+
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1126
|
+
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1127
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1128
|
+
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1130
1129
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1131
1130
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1132
|
-
project_id: Optional[pulumi.Input[
|
1133
|
-
protected: Optional[pulumi.Input[
|
1131
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1132
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
1134
1133
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
1135
|
-
replace_on_type_change: Optional[pulumi.Input[
|
1134
|
+
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
1136
1135
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
1137
|
-
security_group_id: Optional[pulumi.Input[
|
1138
|
-
state: Optional[pulumi.Input[
|
1139
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1140
|
-
type: Optional[pulumi.Input[
|
1141
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
1142
|
-
zone: Optional[pulumi.Input[
|
1136
|
+
security_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1137
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
1138
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1139
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
1140
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
1141
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
1143
1142
|
__props__=None):
|
1144
1143
|
"""
|
1145
1144
|
Creates and manages Scaleway compute Instances. For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/instance/#path-instances-list-all-instances).
|
@@ -1324,60 +1323,60 @@ class InstanceServer(pulumi.CustomResource):
|
|
1324
1323
|
|
1325
1324
|
:param str resource_name: The name of the resource.
|
1326
1325
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1327
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1326
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
1328
1327
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
1329
1328
|
|
1330
1329
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
1331
1330
|
|
1332
1331
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
1333
|
-
:param pulumi.Input[
|
1332
|
+
:param pulumi.Input[_builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
1334
1333
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
1335
1334
|
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
1336
|
-
:param pulumi.Input[
|
1337
|
-
:param pulumi.Input[
|
1338
|
-
:param pulumi.Input[
|
1339
|
-
:param pulumi.Input[
|
1340
|
-
:param pulumi.Input[
|
1335
|
+
:param pulumi.Input[_builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
1336
|
+
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
1337
|
+
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
1338
|
+
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
1339
|
+
:param pulumi.Input[_builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
|
1341
1340
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1342
|
-
:param pulumi.Input[
|
1341
|
+
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
1343
1342
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
1344
1343
|
|
1345
1344
|
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
|
1346
1345
|
|
1347
1346
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
1348
|
-
:param pulumi.Input[
|
1349
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1347
|
+
:param pulumi.Input[_builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
|
1348
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
1350
1349
|
|
1351
1350
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
1352
|
-
:param pulumi.Input[
|
1353
|
-
:param pulumi.Input[
|
1351
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
1352
|
+
:param pulumi.Input[_builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
1354
1353
|
|
1355
1354
|
|
1356
1355
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1357
1356
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1358
1357
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1359
1358
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
1360
|
-
:param pulumi.Input[
|
1361
|
-
:param pulumi.Input[
|
1359
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
1360
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
1362
1361
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
|
1363
|
-
:param pulumi.Input[
|
1362
|
+
:param pulumi.Input[_builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
1364
1363
|
:param pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
|
1365
|
-
:param pulumi.Input[
|
1366
|
-
:param pulumi.Input[
|
1367
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1368
|
-
:param pulumi.Input[
|
1364
|
+
:param pulumi.Input[_builtins.str] security_group_id: The security group the server is attached to
|
1365
|
+
:param pulumi.Input[_builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1366
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
1367
|
+
:param pulumi.Input[_builtins.str] type: The commercial type of the server.
|
1369
1368
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
1370
1369
|
Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
|
1371
1370
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
1372
1371
|
|
1373
1372
|
> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
|
1374
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
1373
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] user_data: The user data associated with the server.
|
1375
1374
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
1376
1375
|
You can define values using:
|
1377
1376
|
- string
|
1378
1377
|
- UTF-8 encoded file content using file
|
1379
1378
|
- Binary files using filebase64.
|
1380
|
-
:param pulumi.Input[
|
1379
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
1381
1380
|
"""
|
1382
1381
|
...
|
1383
1382
|
@overload
|
@@ -1581,31 +1580,31 @@ class InstanceServer(pulumi.CustomResource):
|
|
1581
1580
|
def _internal_init(__self__,
|
1582
1581
|
resource_name: str,
|
1583
1582
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1584
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1585
|
-
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[
|
1586
|
-
boot_type: Optional[pulumi.Input[
|
1587
|
-
bootscript_id: Optional[pulumi.Input[
|
1588
|
-
cloud_init: Optional[pulumi.Input[
|
1589
|
-
enable_dynamic_ip: Optional[pulumi.Input[
|
1590
|
-
enable_ipv6: Optional[pulumi.Input[
|
1591
|
-
image: Optional[pulumi.Input[
|
1592
|
-
ip_id: Optional[pulumi.Input[
|
1593
|
-
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1594
|
-
name: Optional[pulumi.Input[
|
1595
|
-
placement_group_id: Optional[pulumi.Input[
|
1583
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1584
|
+
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1585
|
+
boot_type: Optional[pulumi.Input[_builtins.str]] = None,
|
1586
|
+
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1587
|
+
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
1588
|
+
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
1589
|
+
enable_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
1590
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
1591
|
+
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1592
|
+
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1593
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1594
|
+
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1596
1595
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1597
1596
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1598
|
-
project_id: Optional[pulumi.Input[
|
1599
|
-
protected: Optional[pulumi.Input[
|
1597
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1598
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
1600
1599
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
1601
|
-
replace_on_type_change: Optional[pulumi.Input[
|
1600
|
+
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
1602
1601
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
1603
|
-
security_group_id: Optional[pulumi.Input[
|
1604
|
-
state: Optional[pulumi.Input[
|
1605
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1606
|
-
type: Optional[pulumi.Input[
|
1607
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
1608
|
-
zone: Optional[pulumi.Input[
|
1602
|
+
security_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1603
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
1604
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1605
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
1606
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
1607
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
1609
1608
|
__props__=None):
|
1610
1609
|
pulumi.log.warn("""InstanceServer is deprecated: scaleway.index/instanceserver.InstanceServer has been deprecated in favor of scaleway.instance/server.Server""")
|
1611
1610
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -1660,38 +1659,38 @@ class InstanceServer(pulumi.CustomResource):
|
|
1660
1659
|
def get(resource_name: str,
|
1661
1660
|
id: pulumi.Input[str],
|
1662
1661
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1663
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1664
|
-
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[
|
1665
|
-
boot_type: Optional[pulumi.Input[
|
1666
|
-
bootscript_id: Optional[pulumi.Input[
|
1667
|
-
cloud_init: Optional[pulumi.Input[
|
1668
|
-
enable_dynamic_ip: Optional[pulumi.Input[
|
1669
|
-
enable_ipv6: Optional[pulumi.Input[
|
1670
|
-
image: Optional[pulumi.Input[
|
1671
|
-
ip_id: Optional[pulumi.Input[
|
1672
|
-
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1673
|
-
ipv6_address: Optional[pulumi.Input[
|
1674
|
-
ipv6_gateway: Optional[pulumi.Input[
|
1675
|
-
ipv6_prefix_length: Optional[pulumi.Input[
|
1676
|
-
name: Optional[pulumi.Input[
|
1677
|
-
organization_id: Optional[pulumi.Input[
|
1678
|
-
placement_group_id: Optional[pulumi.Input[
|
1679
|
-
placement_group_policy_respected: Optional[pulumi.Input[
|
1680
|
-
private_ip: Optional[pulumi.Input[
|
1662
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1663
|
+
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1664
|
+
boot_type: Optional[pulumi.Input[_builtins.str]] = None,
|
1665
|
+
bootscript_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1666
|
+
cloud_init: Optional[pulumi.Input[_builtins.str]] = None,
|
1667
|
+
enable_dynamic_ip: Optional[pulumi.Input[_builtins.bool]] = None,
|
1668
|
+
enable_ipv6: Optional[pulumi.Input[_builtins.bool]] = None,
|
1669
|
+
image: Optional[pulumi.Input[_builtins.str]] = None,
|
1670
|
+
ip_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1671
|
+
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1672
|
+
ipv6_address: Optional[pulumi.Input[_builtins.str]] = None,
|
1673
|
+
ipv6_gateway: Optional[pulumi.Input[_builtins.str]] = None,
|
1674
|
+
ipv6_prefix_length: Optional[pulumi.Input[_builtins.int]] = None,
|
1675
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1676
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1677
|
+
placement_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1678
|
+
placement_group_policy_respected: Optional[pulumi.Input[_builtins.bool]] = None,
|
1679
|
+
private_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
1681
1680
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1682
1681
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1683
|
-
project_id: Optional[pulumi.Input[
|
1684
|
-
protected: Optional[pulumi.Input[
|
1685
|
-
public_ip: Optional[pulumi.Input[
|
1682
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1683
|
+
protected: Optional[pulumi.Input[_builtins.bool]] = None,
|
1684
|
+
public_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
1686
1685
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
1687
|
-
replace_on_type_change: Optional[pulumi.Input[
|
1686
|
+
replace_on_type_change: Optional[pulumi.Input[_builtins.bool]] = None,
|
1688
1687
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
1689
|
-
security_group_id: Optional[pulumi.Input[
|
1690
|
-
state: Optional[pulumi.Input[
|
1691
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1692
|
-
type: Optional[pulumi.Input[
|
1693
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
1694
|
-
zone: Optional[pulumi.Input[
|
1688
|
+
security_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1689
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
1690
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1691
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
1692
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
1693
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'InstanceServer':
|
1695
1694
|
"""
|
1696
1695
|
Get an existing InstanceServer resource's state with the given name, id, and optional extra
|
1697
1696
|
properties used to qualify the lookup.
|
@@ -1699,70 +1698,70 @@ class InstanceServer(pulumi.CustomResource):
|
|
1699
1698
|
:param str resource_name: The unique name of the resulting resource.
|
1700
1699
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1701
1700
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1702
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1701
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
1703
1702
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
1704
1703
|
|
1705
1704
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
1706
1705
|
|
1707
1706
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
1708
|
-
:param pulumi.Input[
|
1707
|
+
:param pulumi.Input[_builtins.str] admin_password_encryption_ssh_key_id: The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
1709
1708
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
1710
1709
|
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
1711
|
-
:param pulumi.Input[
|
1712
|
-
:param pulumi.Input[
|
1713
|
-
:param pulumi.Input[
|
1714
|
-
:param pulumi.Input[
|
1715
|
-
:param pulumi.Input[
|
1710
|
+
:param pulumi.Input[_builtins.str] boot_type: The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
1711
|
+
:param pulumi.Input[_builtins.str] bootscript_id: ID of the target bootscript (set boot_type to bootscript)
|
1712
|
+
:param pulumi.Input[_builtins.str] cloud_init: The cloud init script associated with this server
|
1713
|
+
:param pulumi.Input[_builtins.bool] enable_dynamic_ip: If true a dynamic IP will be attached to the server.
|
1714
|
+
:param pulumi.Input[_builtins.bool] enable_ipv6: Determines if IPv6 is enabled for the server.
|
1716
1715
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1717
|
-
:param pulumi.Input[
|
1716
|
+
:param pulumi.Input[_builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
1718
1717
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
1719
1718
|
|
1720
1719
|
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
|
1721
1720
|
|
1722
1721
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
1723
|
-
:param pulumi.Input[
|
1724
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1722
|
+
:param pulumi.Input[_builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
|
1723
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
1725
1724
|
|
1726
1725
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
1727
|
-
:param pulumi.Input[
|
1726
|
+
:param pulumi.Input[_builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
1728
1727
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1729
|
-
:param pulumi.Input[
|
1728
|
+
:param pulumi.Input[_builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
1730
1729
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1731
|
-
:param pulumi.Input[
|
1730
|
+
:param pulumi.Input[_builtins.int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
1732
1731
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1733
|
-
:param pulumi.Input[
|
1734
|
-
:param pulumi.Input[
|
1735
|
-
:param pulumi.Input[
|
1732
|
+
:param pulumi.Input[_builtins.str] name: The name of the server.
|
1733
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the server is associated with.
|
1734
|
+
:param pulumi.Input[_builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
1736
1735
|
|
1737
1736
|
|
1738
1737
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1739
|
-
:param pulumi.Input[
|
1740
|
-
:param pulumi.Input[
|
1738
|
+
:param pulumi.Input[_builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
1739
|
+
:param pulumi.Input[_builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
1741
1740
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1742
1741
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1743
1742
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
1744
|
-
:param pulumi.Input[
|
1745
|
-
:param pulumi.Input[
|
1746
|
-
:param pulumi.Input[
|
1743
|
+
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
1744
|
+
:param pulumi.Input[_builtins.bool] protected: Set to true to activate server protection option.
|
1745
|
+
:param pulumi.Input[_builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
|
1747
1746
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
|
1748
|
-
:param pulumi.Input[
|
1747
|
+
:param pulumi.Input[_builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
1749
1748
|
:param pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']] root_volume: Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
|
1750
|
-
:param pulumi.Input[
|
1751
|
-
:param pulumi.Input[
|
1752
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1753
|
-
:param pulumi.Input[
|
1749
|
+
:param pulumi.Input[_builtins.str] security_group_id: The security group the server is attached to
|
1750
|
+
:param pulumi.Input[_builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1751
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the server.
|
1752
|
+
:param pulumi.Input[_builtins.str] type: The commercial type of the server.
|
1754
1753
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
1755
1754
|
Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
|
1756
1755
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
1757
1756
|
|
1758
1757
|
> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
|
1759
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
1758
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] user_data: The user data associated with the server.
|
1760
1759
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
1761
1760
|
You can define values using:
|
1762
1761
|
- string
|
1763
1762
|
- UTF-8 encoded file content using file
|
1764
1763
|
- Binary files using filebase64.
|
1765
|
-
:param pulumi.Input[
|
1764
|
+
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the server should be created.
|
1766
1765
|
"""
|
1767
1766
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1768
1767
|
|
@@ -1802,9 +1801,9 @@ class InstanceServer(pulumi.CustomResource):
|
|
1802
1801
|
__props__.__dict__["zone"] = zone
|
1803
1802
|
return InstanceServer(resource_name, opts=opts, __props__=__props__)
|
1804
1803
|
|
1805
|
-
@property
|
1804
|
+
@_builtins.property
|
1806
1805
|
@pulumi.getter(name="additionalVolumeIds")
|
1807
|
-
def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[
|
1806
|
+
def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1808
1807
|
"""
|
1809
1808
|
The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
1810
1809
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
@@ -1815,9 +1814,9 @@ class InstanceServer(pulumi.CustomResource):
|
|
1815
1814
|
"""
|
1816
1815
|
return pulumi.get(self, "additional_volume_ids")
|
1817
1816
|
|
1818
|
-
@property
|
1817
|
+
@_builtins.property
|
1819
1818
|
@pulumi.getter(name="adminPasswordEncryptionSshKeyId")
|
1820
|
-
def admin_password_encryption_ssh_key_id(self) -> pulumi.Output[Optional[
|
1819
|
+
def admin_password_encryption_ssh_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1821
1820
|
"""
|
1822
1821
|
The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
1823
1822
|
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
@@ -1825,52 +1824,52 @@ class InstanceServer(pulumi.CustomResource):
|
|
1825
1824
|
"""
|
1826
1825
|
return pulumi.get(self, "admin_password_encryption_ssh_key_id")
|
1827
1826
|
|
1828
|
-
@property
|
1827
|
+
@_builtins.property
|
1829
1828
|
@pulumi.getter(name="bootType")
|
1830
|
-
def boot_type(self) -> pulumi.Output[Optional[
|
1829
|
+
def boot_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1831
1830
|
"""
|
1832
1831
|
The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
1833
1832
|
"""
|
1834
1833
|
return pulumi.get(self, "boot_type")
|
1835
1834
|
|
1836
|
-
@property
|
1835
|
+
@_builtins.property
|
1837
1836
|
@pulumi.getter(name="bootscriptId")
|
1838
1837
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
1839
|
-
def bootscript_id(self) -> pulumi.Output[
|
1838
|
+
def bootscript_id(self) -> pulumi.Output[_builtins.str]:
|
1840
1839
|
"""
|
1841
1840
|
ID of the target bootscript (set boot_type to bootscript)
|
1842
1841
|
"""
|
1843
1842
|
return pulumi.get(self, "bootscript_id")
|
1844
1843
|
|
1845
|
-
@property
|
1844
|
+
@_builtins.property
|
1846
1845
|
@pulumi.getter(name="cloudInit")
|
1847
|
-
def cloud_init(self) -> pulumi.Output[
|
1846
|
+
def cloud_init(self) -> pulumi.Output[_builtins.str]:
|
1848
1847
|
"""
|
1849
1848
|
The cloud init script associated with this server
|
1850
1849
|
"""
|
1851
1850
|
return pulumi.get(self, "cloud_init")
|
1852
1851
|
|
1853
|
-
@property
|
1852
|
+
@_builtins.property
|
1854
1853
|
@pulumi.getter(name="enableDynamicIp")
|
1855
|
-
def enable_dynamic_ip(self) -> pulumi.Output[Optional[
|
1854
|
+
def enable_dynamic_ip(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1856
1855
|
"""
|
1857
1856
|
If true a dynamic IP will be attached to the server.
|
1858
1857
|
"""
|
1859
1858
|
return pulumi.get(self, "enable_dynamic_ip")
|
1860
1859
|
|
1861
|
-
@property
|
1860
|
+
@_builtins.property
|
1862
1861
|
@pulumi.getter(name="enableIpv6")
|
1863
1862
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1864
|
-
def enable_ipv6(self) -> pulumi.Output[Optional[
|
1863
|
+
def enable_ipv6(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1865
1864
|
"""
|
1866
1865
|
Determines if IPv6 is enabled for the server.
|
1867
1866
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1868
1867
|
"""
|
1869
1868
|
return pulumi.get(self, "enable_ipv6")
|
1870
1869
|
|
1871
|
-
@property
|
1870
|
+
@_builtins.property
|
1872
1871
|
@pulumi.getter
|
1873
|
-
def image(self) -> pulumi.Output[Optional[
|
1872
|
+
def image(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1874
1873
|
"""
|
1875
1874
|
The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
1876
1875
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
@@ -1881,17 +1880,17 @@ class InstanceServer(pulumi.CustomResource):
|
|
1881
1880
|
"""
|
1882
1881
|
return pulumi.get(self, "image")
|
1883
1882
|
|
1884
|
-
@property
|
1883
|
+
@_builtins.property
|
1885
1884
|
@pulumi.getter(name="ipId")
|
1886
|
-
def ip_id(self) -> pulumi.Output[Optional[
|
1885
|
+
def ip_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1887
1886
|
"""
|
1888
1887
|
The ID of the reserved IP that is attached to the server.
|
1889
1888
|
"""
|
1890
1889
|
return pulumi.get(self, "ip_id")
|
1891
1890
|
|
1892
|
-
@property
|
1891
|
+
@_builtins.property
|
1893
1892
|
@pulumi.getter(name="ipIds")
|
1894
|
-
def ip_ids(self) -> pulumi.Output[Optional[Sequence[
|
1893
|
+
def ip_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1895
1894
|
"""
|
1896
1895
|
List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
1897
1896
|
|
@@ -1899,55 +1898,55 @@ class InstanceServer(pulumi.CustomResource):
|
|
1899
1898
|
"""
|
1900
1899
|
return pulumi.get(self, "ip_ids")
|
1901
1900
|
|
1902
|
-
@property
|
1901
|
+
@_builtins.property
|
1903
1902
|
@pulumi.getter(name="ipv6Address")
|
1904
1903
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1905
|
-
def ipv6_address(self) -> pulumi.Output[
|
1904
|
+
def ipv6_address(self) -> pulumi.Output[_builtins.str]:
|
1906
1905
|
"""
|
1907
1906
|
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
1908
1907
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1909
1908
|
"""
|
1910
1909
|
return pulumi.get(self, "ipv6_address")
|
1911
1910
|
|
1912
|
-
@property
|
1911
|
+
@_builtins.property
|
1913
1912
|
@pulumi.getter(name="ipv6Gateway")
|
1914
1913
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1915
|
-
def ipv6_gateway(self) -> pulumi.Output[
|
1914
|
+
def ipv6_gateway(self) -> pulumi.Output[_builtins.str]:
|
1916
1915
|
"""
|
1917
1916
|
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
1918
1917
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1919
1918
|
"""
|
1920
1919
|
return pulumi.get(self, "ipv6_gateway")
|
1921
1920
|
|
1922
|
-
@property
|
1921
|
+
@_builtins.property
|
1923
1922
|
@pulumi.getter(name="ipv6PrefixLength")
|
1924
1923
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1925
|
-
def ipv6_prefix_length(self) -> pulumi.Output[
|
1924
|
+
def ipv6_prefix_length(self) -> pulumi.Output[_builtins.int]:
|
1926
1925
|
"""
|
1927
1926
|
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
1928
1927
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1929
1928
|
"""
|
1930
1929
|
return pulumi.get(self, "ipv6_prefix_length")
|
1931
1930
|
|
1932
|
-
@property
|
1931
|
+
@_builtins.property
|
1933
1932
|
@pulumi.getter
|
1934
|
-
def name(self) -> pulumi.Output[
|
1933
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
1935
1934
|
"""
|
1936
1935
|
The name of the server.
|
1937
1936
|
"""
|
1938
1937
|
return pulumi.get(self, "name")
|
1939
1938
|
|
1940
|
-
@property
|
1939
|
+
@_builtins.property
|
1941
1940
|
@pulumi.getter(name="organizationId")
|
1942
|
-
def organization_id(self) -> pulumi.Output[
|
1941
|
+
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
1943
1942
|
"""
|
1944
1943
|
The organization ID the server is associated with.
|
1945
1944
|
"""
|
1946
1945
|
return pulumi.get(self, "organization_id")
|
1947
1946
|
|
1948
|
-
@property
|
1947
|
+
@_builtins.property
|
1949
1948
|
@pulumi.getter(name="placementGroupId")
|
1950
|
-
def placement_group_id(self) -> pulumi.Output[Optional[
|
1949
|
+
def placement_group_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1951
1950
|
"""
|
1952
1951
|
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
1953
1952
|
|
@@ -1956,24 +1955,24 @@ class InstanceServer(pulumi.CustomResource):
|
|
1956
1955
|
"""
|
1957
1956
|
return pulumi.get(self, "placement_group_id")
|
1958
1957
|
|
1959
|
-
@property
|
1958
|
+
@_builtins.property
|
1960
1959
|
@pulumi.getter(name="placementGroupPolicyRespected")
|
1961
|
-
def placement_group_policy_respected(self) -> pulumi.Output[
|
1960
|
+
def placement_group_policy_respected(self) -> pulumi.Output[_builtins.bool]:
|
1962
1961
|
"""
|
1963
1962
|
(Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
1964
1963
|
"""
|
1965
1964
|
return pulumi.get(self, "placement_group_policy_respected")
|
1966
1965
|
|
1967
|
-
@property
|
1966
|
+
@_builtins.property
|
1968
1967
|
@pulumi.getter(name="privateIp")
|
1969
1968
|
@_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
1970
|
-
def private_ip(self) -> pulumi.Output[
|
1969
|
+
def private_ip(self) -> pulumi.Output[_builtins.str]:
|
1971
1970
|
"""
|
1972
1971
|
The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
1973
1972
|
"""
|
1974
1973
|
return pulumi.get(self, "private_ip")
|
1975
1974
|
|
1976
|
-
@property
|
1975
|
+
@_builtins.property
|
1977
1976
|
@pulumi.getter(name="privateIps")
|
1978
1977
|
def private_ips(self) -> pulumi.Output[Sequence['outputs.InstanceServerPrivateIp']]:
|
1979
1978
|
"""
|
@@ -1981,7 +1980,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1981
1980
|
"""
|
1982
1981
|
return pulumi.get(self, "private_ips")
|
1983
1982
|
|
1984
|
-
@property
|
1983
|
+
@_builtins.property
|
1985
1984
|
@pulumi.getter(name="privateNetworks")
|
1986
1985
|
def private_networks(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceServerPrivateNetwork']]]:
|
1987
1986
|
"""
|
@@ -1990,32 +1989,32 @@ class InstanceServer(pulumi.CustomResource):
|
|
1990
1989
|
"""
|
1991
1990
|
return pulumi.get(self, "private_networks")
|
1992
1991
|
|
1993
|
-
@property
|
1992
|
+
@_builtins.property
|
1994
1993
|
@pulumi.getter(name="projectId")
|
1995
|
-
def project_id(self) -> pulumi.Output[
|
1994
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
1996
1995
|
"""
|
1997
1996
|
`project_id`) The ID of the project the server is associated with.
|
1998
1997
|
"""
|
1999
1998
|
return pulumi.get(self, "project_id")
|
2000
1999
|
|
2001
|
-
@property
|
2000
|
+
@_builtins.property
|
2002
2001
|
@pulumi.getter
|
2003
|
-
def protected(self) -> pulumi.Output[Optional[
|
2002
|
+
def protected(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
2004
2003
|
"""
|
2005
2004
|
Set to true to activate server protection option.
|
2006
2005
|
"""
|
2007
2006
|
return pulumi.get(self, "protected")
|
2008
2007
|
|
2009
|
-
@property
|
2008
|
+
@_builtins.property
|
2010
2009
|
@pulumi.getter(name="publicIp")
|
2011
2010
|
@_utilities.deprecated("""Use public_ips instead""")
|
2012
|
-
def public_ip(self) -> pulumi.Output[
|
2011
|
+
def public_ip(self) -> pulumi.Output[_builtins.str]:
|
2013
2012
|
"""
|
2014
2013
|
The public IP address of the server (Deprecated use `public_ips` instead).
|
2015
2014
|
"""
|
2016
2015
|
return pulumi.get(self, "public_ip")
|
2017
2016
|
|
2018
|
-
@property
|
2017
|
+
@_builtins.property
|
2019
2018
|
@pulumi.getter(name="publicIps")
|
2020
2019
|
def public_ips(self) -> pulumi.Output[Sequence['outputs.InstanceServerPublicIp']]:
|
2021
2020
|
"""
|
@@ -2023,15 +2022,15 @@ class InstanceServer(pulumi.CustomResource):
|
|
2023
2022
|
"""
|
2024
2023
|
return pulumi.get(self, "public_ips")
|
2025
2024
|
|
2026
|
-
@property
|
2025
|
+
@_builtins.property
|
2027
2026
|
@pulumi.getter(name="replaceOnTypeChange")
|
2028
|
-
def replace_on_type_change(self) -> pulumi.Output[Optional[
|
2027
|
+
def replace_on_type_change(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
2029
2028
|
"""
|
2030
2029
|
If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
2031
2030
|
"""
|
2032
2031
|
return pulumi.get(self, "replace_on_type_change")
|
2033
2032
|
|
2034
|
-
@property
|
2033
|
+
@_builtins.property
|
2035
2034
|
@pulumi.getter(name="rootVolume")
|
2036
2035
|
def root_volume(self) -> pulumi.Output['outputs.InstanceServerRootVolume']:
|
2037
2036
|
"""
|
@@ -2039,33 +2038,33 @@ class InstanceServer(pulumi.CustomResource):
|
|
2039
2038
|
"""
|
2040
2039
|
return pulumi.get(self, "root_volume")
|
2041
2040
|
|
2042
|
-
@property
|
2041
|
+
@_builtins.property
|
2043
2042
|
@pulumi.getter(name="securityGroupId")
|
2044
|
-
def security_group_id(self) -> pulumi.Output[
|
2043
|
+
def security_group_id(self) -> pulumi.Output[_builtins.str]:
|
2045
2044
|
"""
|
2046
2045
|
The security group the server is attached to
|
2047
2046
|
"""
|
2048
2047
|
return pulumi.get(self, "security_group_id")
|
2049
2048
|
|
2050
|
-
@property
|
2049
|
+
@_builtins.property
|
2051
2050
|
@pulumi.getter
|
2052
|
-
def state(self) -> pulumi.Output[Optional[
|
2051
|
+
def state(self) -> pulumi.Output[Optional[_builtins.str]]:
|
2053
2052
|
"""
|
2054
2053
|
The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
2055
2054
|
"""
|
2056
2055
|
return pulumi.get(self, "state")
|
2057
2056
|
|
2058
|
-
@property
|
2057
|
+
@_builtins.property
|
2059
2058
|
@pulumi.getter
|
2060
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[
|
2059
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
2061
2060
|
"""
|
2062
2061
|
The tags associated with the server.
|
2063
2062
|
"""
|
2064
2063
|
return pulumi.get(self, "tags")
|
2065
2064
|
|
2066
|
-
@property
|
2065
|
+
@_builtins.property
|
2067
2066
|
@pulumi.getter
|
2068
|
-
def type(self) -> pulumi.Output[
|
2067
|
+
def type(self) -> pulumi.Output[_builtins.str]:
|
2069
2068
|
"""
|
2070
2069
|
The commercial type of the server.
|
2071
2070
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
@@ -2076,9 +2075,9 @@ class InstanceServer(pulumi.CustomResource):
|
|
2076
2075
|
"""
|
2077
2076
|
return pulumi.get(self, "type")
|
2078
2077
|
|
2079
|
-
@property
|
2078
|
+
@_builtins.property
|
2080
2079
|
@pulumi.getter(name="userData")
|
2081
|
-
def user_data(self) -> pulumi.Output[Mapping[str,
|
2080
|
+
def user_data(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
2082
2081
|
"""
|
2083
2082
|
The user data associated with the server.
|
2084
2083
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
@@ -2089,9 +2088,9 @@ class InstanceServer(pulumi.CustomResource):
|
|
2089
2088
|
"""
|
2090
2089
|
return pulumi.get(self, "user_data")
|
2091
2090
|
|
2092
|
-
@property
|
2091
|
+
@_builtins.property
|
2093
2092
|
@pulumi.getter
|
2094
|
-
def zone(self) -> pulumi.Output[
|
2093
|
+
def zone(self) -> pulumi.Output[Optional[_builtins.str]]:
|
2095
2094
|
"""
|
2096
2095
|
`zone`) The zone in which the server should be created.
|
2097
2096
|
"""
|