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