pulumiverse-scaleway 1.30.0a1750140900__py3-none-any.whl → 1.30.0a1752168858__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +11 -1
- pulumiverse_scaleway/_inputs.py +2252 -2143
- pulumiverse_scaleway/_utilities.py +1 -1
- pulumiverse_scaleway/account/__init__.py +2 -1
- pulumiverse_scaleway/account/get_availability_zones.py +9 -8
- pulumiverse_scaleway/account/get_project.py +21 -20
- pulumiverse_scaleway/account/get_projects.py +28 -21
- pulumiverse_scaleway/account/get_ssh_key.py +24 -23
- pulumiverse_scaleway/account/outputs.py +20 -19
- 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 +262 -260
- 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 +2 -1
- pulumiverse_scaleway/block/_inputs.py +12 -11
- pulumiverse_scaleway/block/get_snapshot.py +29 -28
- pulumiverse_scaleway/block/get_volume.py +28 -27
- pulumiverse_scaleway/block/outputs.py +14 -13
- pulumiverse_scaleway/block/snapshot.py +73 -71
- pulumiverse_scaleway/block/volume.py +115 -113
- pulumiverse_scaleway/block_snapshot.py +73 -71
- 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 +573 -343
- 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 +573 -343
- 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 +297 -295
- 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 +297 -295
- 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 +24 -23
- 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 +2 -1
- 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 +29 -28
- 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 +262 -260
- 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 +29 -28
- 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 +24 -23
- 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 +35 -34
- 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 +284 -273
- 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 +284 -273
- 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 +94 -92
- pulumiverse_scaleway/instance/security_group.py +150 -148
- pulumiverse_scaleway/instance/security_group_rules.py +17 -15
- pulumiverse_scaleway/instance/server.py +393 -330
- pulumiverse_scaleway/instance/snapshot.py +108 -106
- pulumiverse_scaleway/instance/user_data.py +59 -57
- pulumiverse_scaleway/instance/volume.py +129 -127
- 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 +94 -92
- pulumiverse_scaleway/instance_security_group.py +150 -148
- pulumiverse_scaleway/instance_security_group_rules.py +17 -15
- pulumiverse_scaleway/instance_server.py +393 -330
- pulumiverse_scaleway/instance_snapshot.py +108 -106
- pulumiverse_scaleway/instance_user_data.py +59 -57
- pulumiverse_scaleway/instance_volume.py +129 -127
- 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 +199 -197
- pulumiverse_scaleway/mongo_db_snapshot.py +101 -99
- pulumiverse_scaleway/mongodb/__init__.py +2 -1
- pulumiverse_scaleway/mongodb/_inputs.py +53 -52
- pulumiverse_scaleway/mongodb/get_instance.py +35 -34
- pulumiverse_scaleway/mongodb/instance.py +199 -197
- pulumiverse_scaleway/mongodb/outputs.py +64 -63
- 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 +143 -141
- 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 -1
- 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 +2797 -2732
- 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 +178 -176
- pulumiverse_scaleway/redis/get_cluster.py +34 -33
- pulumiverse_scaleway/redis/outputs.py +74 -73
- pulumiverse_scaleway/redis_cluster.py +178 -176
- 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 +143 -141
- 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.30.0a1750140900.dist-info → pulumiverse_scaleway-1.30.0a1752168858.dist-info}/METADATA +2 -2
- pulumiverse_scaleway-1.30.0a1752168858.dist-info/RECORD +493 -0
- pulumiverse_scaleway-1.30.0a1750140900.dist-info/RECORD +0 -492
- {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.30.0a1752168858.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.30.0a1750140900.dist-info → pulumiverse_scaleway-1.30.0a1752168858.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,8 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -21,87 +22,93 @@ __all__ = ['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,
|
36
38
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
37
39
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
38
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
39
|
-
protected: Optional[pulumi.Input[bool]] = None,
|
40
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
41
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
40
42
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
|
41
|
-
replace_on_type_change: Optional[pulumi.Input[bool]] = None,
|
43
|
+
replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
|
42
44
|
root_volume: Optional[pulumi.Input['InstanceServerRootVolumeArgs']] = None,
|
43
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
44
|
-
state: Optional[pulumi.Input[str]] = None,
|
45
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
46
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
47
|
-
zone: Optional[pulumi.Input[str]] = None):
|
45
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
46
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
47
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
48
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
49
|
+
zone: Optional[pulumi.Input[builtins.str]] = None):
|
48
50
|
"""
|
49
51
|
The set of arguments for constructing a InstanceServer resource.
|
50
|
-
:param pulumi.Input[str] type: The commercial type of the server.
|
52
|
+
:param pulumi.Input[builtins.str] type: The commercial type of the server.
|
51
53
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
52
54
|
Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
|
53
55
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
54
56
|
|
55
57
|
> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
|
56
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
58
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
57
59
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
58
60
|
|
59
61
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
60
62
|
|
61
63
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
62
|
-
:param pulumi.Input[str]
|
63
|
-
|
64
|
-
|
65
|
-
:param pulumi.Input[
|
66
|
-
: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.
|
67
72
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
68
|
-
:param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
73
|
+
:param pulumi.Input[builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
69
74
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
70
75
|
|
71
76
|
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
|
72
77
|
|
73
78
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
74
|
-
:param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
|
75
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
79
|
+
:param pulumi.Input[builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
|
80
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
76
81
|
|
77
82
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
78
|
-
:param pulumi.Input[str] name: The name of the server.
|
79
|
-
:param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
83
|
+
:param pulumi.Input[builtins.str] name: The name of the server.
|
84
|
+
:param pulumi.Input[builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
80
85
|
|
81
86
|
|
82
87
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
83
88
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
84
89
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
85
90
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
86
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
87
|
-
:param pulumi.Input[bool] protected: Set to true to activate server protection option.
|
91
|
+
:param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
92
|
+
:param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
|
88
93
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
|
89
|
-
:param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
94
|
+
:param pulumi.Input[builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
90
95
|
:param pulumi.Input['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.
|
91
|
-
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
92
|
-
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
93
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
94
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
|
96
|
+
:param pulumi.Input[builtins.str] security_group_id: The security group the server is attached to
|
97
|
+
:param pulumi.Input[builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
98
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the server.
|
99
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_data: The user data associated with the server.
|
95
100
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
96
101
|
You can define values using:
|
97
102
|
- string
|
98
103
|
- UTF-8 encoded file content using file
|
99
104
|
- Binary files using filebase64.
|
100
|
-
:param pulumi.Input[str] zone: `zone`) The zone in which the server should be created.
|
105
|
+
:param pulumi.Input[builtins.str] zone: `zone`) The zone in which the server should be created.
|
101
106
|
"""
|
102
107
|
pulumi.set(__self__, "type", type)
|
103
108
|
if additional_volume_ids is not None:
|
104
109
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
110
|
+
if admin_password_encryption_ssh_key_id is not None:
|
111
|
+
pulumi.set(__self__, "admin_password_encryption_ssh_key_id", admin_password_encryption_ssh_key_id)
|
105
112
|
if boot_type is not None:
|
106
113
|
pulumi.set(__self__, "boot_type", boot_type)
|
107
114
|
if bootscript_id is not None:
|
@@ -155,7 +162,7 @@ class InstanceServerArgs:
|
|
155
162
|
|
156
163
|
@property
|
157
164
|
@pulumi.getter
|
158
|
-
def type(self) -> pulumi.Input[str]:
|
165
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
159
166
|
"""
|
160
167
|
The commercial type of the server.
|
161
168
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
@@ -167,12 +174,12 @@ class InstanceServerArgs:
|
|
167
174
|
return pulumi.get(self, "type")
|
168
175
|
|
169
176
|
@type.setter
|
170
|
-
def type(self, value: pulumi.Input[str]):
|
177
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
171
178
|
pulumi.set(self, "type", value)
|
172
179
|
|
173
180
|
@property
|
174
181
|
@pulumi.getter(name="additionalVolumeIds")
|
175
|
-
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
182
|
+
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
176
183
|
"""
|
177
184
|
The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
178
185
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
@@ -184,62 +191,76 @@ class InstanceServerArgs:
|
|
184
191
|
return pulumi.get(self, "additional_volume_ids")
|
185
192
|
|
186
193
|
@additional_volume_ids.setter
|
187
|
-
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
194
|
+
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
188
195
|
pulumi.set(self, "additional_volume_ids", value)
|
189
196
|
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="adminPasswordEncryptionSshKeyId")
|
199
|
+
def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
200
|
+
"""
|
201
|
+
The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
202
|
+
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
203
|
+
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
204
|
+
"""
|
205
|
+
return pulumi.get(self, "admin_password_encryption_ssh_key_id")
|
206
|
+
|
207
|
+
@admin_password_encryption_ssh_key_id.setter
|
208
|
+
def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
209
|
+
pulumi.set(self, "admin_password_encryption_ssh_key_id", value)
|
210
|
+
|
190
211
|
@property
|
191
212
|
@pulumi.getter(name="bootType")
|
192
|
-
def boot_type(self) -> Optional[pulumi.Input[str]]:
|
213
|
+
def boot_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
193
214
|
"""
|
194
215
|
The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
195
216
|
"""
|
196
217
|
return pulumi.get(self, "boot_type")
|
197
218
|
|
198
219
|
@boot_type.setter
|
199
|
-
def boot_type(self, value: Optional[pulumi.Input[str]]):
|
220
|
+
def boot_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
200
221
|
pulumi.set(self, "boot_type", value)
|
201
222
|
|
202
223
|
@property
|
203
224
|
@pulumi.getter(name="bootscriptId")
|
204
225
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
205
|
-
def bootscript_id(self) -> Optional[pulumi.Input[str]]:
|
226
|
+
def bootscript_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
206
227
|
"""
|
207
228
|
ID of the target bootscript (set boot_type to bootscript)
|
208
229
|
"""
|
209
230
|
return pulumi.get(self, "bootscript_id")
|
210
231
|
|
211
232
|
@bootscript_id.setter
|
212
|
-
def bootscript_id(self, value: Optional[pulumi.Input[str]]):
|
233
|
+
def bootscript_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
213
234
|
pulumi.set(self, "bootscript_id", value)
|
214
235
|
|
215
236
|
@property
|
216
237
|
@pulumi.getter(name="cloudInit")
|
217
|
-
def cloud_init(self) -> Optional[pulumi.Input[str]]:
|
238
|
+
def cloud_init(self) -> Optional[pulumi.Input[builtins.str]]:
|
218
239
|
"""
|
219
240
|
The cloud init script associated with this server
|
220
241
|
"""
|
221
242
|
return pulumi.get(self, "cloud_init")
|
222
243
|
|
223
244
|
@cloud_init.setter
|
224
|
-
def cloud_init(self, value: Optional[pulumi.Input[str]]):
|
245
|
+
def cloud_init(self, value: Optional[pulumi.Input[builtins.str]]):
|
225
246
|
pulumi.set(self, "cloud_init", value)
|
226
247
|
|
227
248
|
@property
|
228
249
|
@pulumi.getter(name="enableDynamicIp")
|
229
|
-
def enable_dynamic_ip(self) -> Optional[pulumi.Input[bool]]:
|
250
|
+
def enable_dynamic_ip(self) -> Optional[pulumi.Input[builtins.bool]]:
|
230
251
|
"""
|
231
252
|
If true a dynamic IP will be attached to the server.
|
232
253
|
"""
|
233
254
|
return pulumi.get(self, "enable_dynamic_ip")
|
234
255
|
|
235
256
|
@enable_dynamic_ip.setter
|
236
|
-
def enable_dynamic_ip(self, value: Optional[pulumi.Input[bool]]):
|
257
|
+
def enable_dynamic_ip(self, value: Optional[pulumi.Input[builtins.bool]]):
|
237
258
|
pulumi.set(self, "enable_dynamic_ip", value)
|
238
259
|
|
239
260
|
@property
|
240
261
|
@pulumi.getter(name="enableIpv6")
|
241
262
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
242
|
-
def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
|
263
|
+
def enable_ipv6(self) -> Optional[pulumi.Input[builtins.bool]]:
|
243
264
|
"""
|
244
265
|
Determines if IPv6 is enabled for the server.
|
245
266
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -247,12 +268,12 @@ class InstanceServerArgs:
|
|
247
268
|
return pulumi.get(self, "enable_ipv6")
|
248
269
|
|
249
270
|
@enable_ipv6.setter
|
250
|
-
def enable_ipv6(self, value: Optional[pulumi.Input[bool]]):
|
271
|
+
def enable_ipv6(self, value: Optional[pulumi.Input[builtins.bool]]):
|
251
272
|
pulumi.set(self, "enable_ipv6", value)
|
252
273
|
|
253
274
|
@property
|
254
275
|
@pulumi.getter
|
255
|
-
def image(self) -> Optional[pulumi.Input[str]]:
|
276
|
+
def image(self) -> Optional[pulumi.Input[builtins.str]]:
|
256
277
|
"""
|
257
278
|
The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
258
279
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
@@ -264,24 +285,24 @@ class InstanceServerArgs:
|
|
264
285
|
return pulumi.get(self, "image")
|
265
286
|
|
266
287
|
@image.setter
|
267
|
-
def image(self, value: Optional[pulumi.Input[str]]):
|
288
|
+
def image(self, value: Optional[pulumi.Input[builtins.str]]):
|
268
289
|
pulumi.set(self, "image", value)
|
269
290
|
|
270
291
|
@property
|
271
292
|
@pulumi.getter(name="ipId")
|
272
|
-
def ip_id(self) -> Optional[pulumi.Input[str]]:
|
293
|
+
def ip_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
273
294
|
"""
|
274
295
|
The ID of the reserved IP that is attached to the server.
|
275
296
|
"""
|
276
297
|
return pulumi.get(self, "ip_id")
|
277
298
|
|
278
299
|
@ip_id.setter
|
279
|
-
def ip_id(self, value: Optional[pulumi.Input[str]]):
|
300
|
+
def ip_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
280
301
|
pulumi.set(self, "ip_id", value)
|
281
302
|
|
282
303
|
@property
|
283
304
|
@pulumi.getter(name="ipIds")
|
284
|
-
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
305
|
+
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
285
306
|
"""
|
286
307
|
List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
287
308
|
|
@@ -290,24 +311,24 @@ class InstanceServerArgs:
|
|
290
311
|
return pulumi.get(self, "ip_ids")
|
291
312
|
|
292
313
|
@ip_ids.setter
|
293
|
-
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
314
|
+
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
294
315
|
pulumi.set(self, "ip_ids", value)
|
295
316
|
|
296
317
|
@property
|
297
318
|
@pulumi.getter
|
298
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
319
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
299
320
|
"""
|
300
321
|
The name of the server.
|
301
322
|
"""
|
302
323
|
return pulumi.get(self, "name")
|
303
324
|
|
304
325
|
@name.setter
|
305
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
326
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
306
327
|
pulumi.set(self, "name", value)
|
307
328
|
|
308
329
|
@property
|
309
330
|
@pulumi.getter(name="placementGroupId")
|
310
|
-
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
331
|
+
def placement_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
311
332
|
"""
|
312
333
|
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
313
334
|
|
@@ -317,7 +338,7 @@ class InstanceServerArgs:
|
|
317
338
|
return pulumi.get(self, "placement_group_id")
|
318
339
|
|
319
340
|
@placement_group_id.setter
|
320
|
-
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
341
|
+
def placement_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
321
342
|
pulumi.set(self, "placement_group_id", value)
|
322
343
|
|
323
344
|
@property
|
@@ -347,26 +368,26 @@ class InstanceServerArgs:
|
|
347
368
|
|
348
369
|
@property
|
349
370
|
@pulumi.getter(name="projectId")
|
350
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
371
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
351
372
|
"""
|
352
373
|
`project_id`) The ID of the project the server is associated with.
|
353
374
|
"""
|
354
375
|
return pulumi.get(self, "project_id")
|
355
376
|
|
356
377
|
@project_id.setter
|
357
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
378
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
358
379
|
pulumi.set(self, "project_id", value)
|
359
380
|
|
360
381
|
@property
|
361
382
|
@pulumi.getter
|
362
|
-
def protected(self) -> Optional[pulumi.Input[bool]]:
|
383
|
+
def protected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
363
384
|
"""
|
364
385
|
Set to true to activate server protection option.
|
365
386
|
"""
|
366
387
|
return pulumi.get(self, "protected")
|
367
388
|
|
368
389
|
@protected.setter
|
369
|
-
def protected(self, value: Optional[pulumi.Input[bool]]):
|
390
|
+
def protected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
370
391
|
pulumi.set(self, "protected", value)
|
371
392
|
|
372
393
|
@property
|
@@ -383,14 +404,14 @@ class InstanceServerArgs:
|
|
383
404
|
|
384
405
|
@property
|
385
406
|
@pulumi.getter(name="replaceOnTypeChange")
|
386
|
-
def replace_on_type_change(self) -> Optional[pulumi.Input[bool]]:
|
407
|
+
def replace_on_type_change(self) -> Optional[pulumi.Input[builtins.bool]]:
|
387
408
|
"""
|
388
409
|
If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
389
410
|
"""
|
390
411
|
return pulumi.get(self, "replace_on_type_change")
|
391
412
|
|
392
413
|
@replace_on_type_change.setter
|
393
|
-
def replace_on_type_change(self, value: Optional[pulumi.Input[bool]]):
|
414
|
+
def replace_on_type_change(self, value: Optional[pulumi.Input[builtins.bool]]):
|
394
415
|
pulumi.set(self, "replace_on_type_change", value)
|
395
416
|
|
396
417
|
@property
|
@@ -407,43 +428,43 @@ class InstanceServerArgs:
|
|
407
428
|
|
408
429
|
@property
|
409
430
|
@pulumi.getter(name="securityGroupId")
|
410
|
-
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
431
|
+
def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
411
432
|
"""
|
412
433
|
The security group the server is attached to
|
413
434
|
"""
|
414
435
|
return pulumi.get(self, "security_group_id")
|
415
436
|
|
416
437
|
@security_group_id.setter
|
417
|
-
def security_group_id(self, value: Optional[pulumi.Input[str]]):
|
438
|
+
def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
418
439
|
pulumi.set(self, "security_group_id", value)
|
419
440
|
|
420
441
|
@property
|
421
442
|
@pulumi.getter
|
422
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
443
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
423
444
|
"""
|
424
445
|
The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
425
446
|
"""
|
426
447
|
return pulumi.get(self, "state")
|
427
448
|
|
428
449
|
@state.setter
|
429
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
450
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
430
451
|
pulumi.set(self, "state", value)
|
431
452
|
|
432
453
|
@property
|
433
454
|
@pulumi.getter
|
434
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
455
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
435
456
|
"""
|
436
457
|
The tags associated with the server.
|
437
458
|
"""
|
438
459
|
return pulumi.get(self, "tags")
|
439
460
|
|
440
461
|
@tags.setter
|
441
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
462
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
442
463
|
pulumi.set(self, "tags", value)
|
443
464
|
|
444
465
|
@property
|
445
466
|
@pulumi.getter(name="userData")
|
446
|
-
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
467
|
+
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
447
468
|
"""
|
448
469
|
The user data associated with the server.
|
449
470
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
@@ -455,122 +476,128 @@ class InstanceServerArgs:
|
|
455
476
|
return pulumi.get(self, "user_data")
|
456
477
|
|
457
478
|
@user_data.setter
|
458
|
-
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
479
|
+
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
459
480
|
pulumi.set(self, "user_data", value)
|
460
481
|
|
461
482
|
@property
|
462
483
|
@pulumi.getter
|
463
|
-
def zone(self) -> Optional[pulumi.Input[str]]:
|
484
|
+
def zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
464
485
|
"""
|
465
486
|
`zone`) The zone in which the server should be created.
|
466
487
|
"""
|
467
488
|
return pulumi.get(self, "zone")
|
468
489
|
|
469
490
|
@zone.setter
|
470
|
-
def zone(self, value: Optional[pulumi.Input[str]]):
|
491
|
+
def zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
471
492
|
pulumi.set(self, "zone", value)
|
472
493
|
|
473
494
|
|
474
495
|
@pulumi.input_type
|
475
496
|
class _InstanceServerState:
|
476
497
|
def __init__(__self__, *,
|
477
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
498
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
499
|
+
admin_password_encryption_ssh_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
500
|
+
boot_type: Optional[pulumi.Input[builtins.str]] = None,
|
501
|
+
bootscript_id: Optional[pulumi.Input[builtins.str]] = None,
|
502
|
+
cloud_init: Optional[pulumi.Input[builtins.str]] = None,
|
503
|
+
enable_dynamic_ip: Optional[pulumi.Input[builtins.bool]] = None,
|
504
|
+
enable_ipv6: Optional[pulumi.Input[builtins.bool]] = None,
|
505
|
+
image: Optional[pulumi.Input[builtins.str]] = None,
|
506
|
+
ip_id: Optional[pulumi.Input[builtins.str]] = None,
|
507
|
+
ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
508
|
+
ipv6_address: Optional[pulumi.Input[builtins.str]] = None,
|
509
|
+
ipv6_gateway: Optional[pulumi.Input[builtins.str]] = None,
|
510
|
+
ipv6_prefix_length: Optional[pulumi.Input[builtins.int]] = None,
|
511
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
512
|
+
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
513
|
+
placement_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
514
|
+
placement_group_policy_respected: Optional[pulumi.Input[builtins.bool]] = None,
|
515
|
+
private_ip: Optional[pulumi.Input[builtins.str]] = None,
|
494
516
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]]] = None,
|
495
517
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]]] = None,
|
496
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
497
|
-
protected: Optional[pulumi.Input[bool]] = None,
|
498
|
-
public_ip: Optional[pulumi.Input[str]] = None,
|
518
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
519
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
520
|
+
public_ip: Optional[pulumi.Input[builtins.str]] = None,
|
499
521
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]]] = None,
|
500
|
-
replace_on_type_change: Optional[pulumi.Input[bool]] = None,
|
522
|
+
replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
|
501
523
|
root_volume: Optional[pulumi.Input['InstanceServerRootVolumeArgs']] = None,
|
502
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
503
|
-
state: Optional[pulumi.Input[str]] = None,
|
504
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
505
|
-
type: Optional[pulumi.Input[str]] = None,
|
506
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
507
|
-
zone: Optional[pulumi.Input[str]] = None):
|
524
|
+
security_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
525
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
526
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
527
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
528
|
+
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
529
|
+
zone: Optional[pulumi.Input[builtins.str]] = None):
|
508
530
|
"""
|
509
531
|
Input properties used for looking up and filtering InstanceServer resources.
|
510
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
532
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] additional_volume_ids: The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
511
533
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
512
534
|
|
513
535
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
514
536
|
|
515
537
|
> **Important:** If this field contains local volumes, you have to first detach them, in one apply, and then delete the volume in another apply.
|
516
|
-
:param pulumi.Input[str]
|
517
|
-
|
518
|
-
|
519
|
-
:param pulumi.Input[
|
520
|
-
: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.
|
521
546
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
522
|
-
:param pulumi.Input[str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
547
|
+
:param pulumi.Input[builtins.str] image: The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
523
548
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
524
549
|
|
525
550
|
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
|
526
551
|
|
527
552
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
528
|
-
:param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
|
529
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
553
|
+
:param pulumi.Input[builtins.str] ip_id: The ID of the reserved IP that is attached to the server.
|
554
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_ids: List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
530
555
|
|
531
556
|
> `ip_id` to `ip_ids` migration: if moving the ip from the old `ip_id` field to the new `ip_ids`, it should not detach the ip.
|
532
|
-
:param pulumi.Input[str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
557
|
+
:param pulumi.Input[builtins.str] ipv6_address: The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
533
558
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
534
|
-
:param pulumi.Input[str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
559
|
+
:param pulumi.Input[builtins.str] ipv6_gateway: The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
535
560
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
536
|
-
:param pulumi.Input[int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
561
|
+
:param pulumi.Input[builtins.int] ipv6_prefix_length: The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
537
562
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
538
|
-
:param pulumi.Input[str] name: The name of the server.
|
539
|
-
:param pulumi.Input[str] organization_id: The organization ID the server is associated with.
|
540
|
-
:param pulumi.Input[str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
563
|
+
:param pulumi.Input[builtins.str] name: The name of the server.
|
564
|
+
:param pulumi.Input[builtins.str] organization_id: The organization ID the server is associated with.
|
565
|
+
:param pulumi.Input[builtins.str] placement_group_id: The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
541
566
|
|
542
567
|
|
543
568
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
544
|
-
:param pulumi.Input[bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
545
|
-
:param pulumi.Input[str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
569
|
+
:param pulumi.Input[builtins.bool] placement_group_policy_respected: (Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
570
|
+
:param pulumi.Input[builtins.str] private_ip: The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
546
571
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateIpArgs']]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
547
572
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPrivateNetworkArgs']]] private_networks: The private network associated with the server.
|
548
573
|
Use the `pn_id` key to attach a [private_network](https://www.scaleway.com/en/developers/api/instance/#path-private-nics-list-all-private-nics) on your instance.
|
549
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
550
|
-
:param pulumi.Input[bool] protected: Set to true to activate server protection option.
|
551
|
-
:param pulumi.Input[str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
|
574
|
+
:param pulumi.Input[builtins.str] project_id: `project_id`) The ID of the project the server is associated with.
|
575
|
+
:param pulumi.Input[builtins.bool] protected: Set to true to activate server protection option.
|
576
|
+
:param pulumi.Input[builtins.str] public_ip: The public IP address of the server (Deprecated use `public_ips` instead).
|
552
577
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerPublicIpArgs']]] public_ips: The list of public IPs of the server.
|
553
|
-
:param pulumi.Input[bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
578
|
+
:param pulumi.Input[builtins.bool] replace_on_type_change: If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
554
579
|
:param pulumi.Input['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.
|
555
|
-
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
556
|
-
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
557
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
558
|
-
:param pulumi.Input[str] type: The commercial type of the server.
|
580
|
+
:param pulumi.Input[builtins.str] security_group_id: The security group the server is attached to
|
581
|
+
:param pulumi.Input[builtins.str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
582
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The tags associated with the server.
|
583
|
+
:param pulumi.Input[builtins.str] type: The commercial type of the server.
|
559
584
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
560
585
|
Updates to this field will migrate the server, local storage constraint must be respected. [More info](https://www.scaleway.com/en/docs/compute/instances/api-cli/migrating-instances/).
|
561
586
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
562
587
|
|
563
588
|
> **Important:** If `type` change and migration occurs, the server will be stopped and changed backed to its original state. It will be started again if it was running.
|
564
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] user_data: The user data associated with the server.
|
589
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_data: The user data associated with the server.
|
565
590
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
566
591
|
You can define values using:
|
567
592
|
- string
|
568
593
|
- UTF-8 encoded file content using file
|
569
594
|
- Binary files using filebase64.
|
570
|
-
:param pulumi.Input[str] zone: `zone`) The zone in which the server should be created.
|
595
|
+
:param pulumi.Input[builtins.str] zone: `zone`) The zone in which the server should be created.
|
571
596
|
"""
|
572
597
|
if additional_volume_ids is not None:
|
573
598
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
599
|
+
if admin_password_encryption_ssh_key_id is not None:
|
600
|
+
pulumi.set(__self__, "admin_password_encryption_ssh_key_id", admin_password_encryption_ssh_key_id)
|
574
601
|
if boot_type is not None:
|
575
602
|
pulumi.set(__self__, "boot_type", boot_type)
|
576
603
|
if bootscript_id is not None:
|
@@ -655,7 +682,7 @@ class _InstanceServerState:
|
|
655
682
|
|
656
683
|
@property
|
657
684
|
@pulumi.getter(name="additionalVolumeIds")
|
658
|
-
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
685
|
+
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
659
686
|
"""
|
660
687
|
The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
661
688
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
@@ -667,62 +694,76 @@ class _InstanceServerState:
|
|
667
694
|
return pulumi.get(self, "additional_volume_ids")
|
668
695
|
|
669
696
|
@additional_volume_ids.setter
|
670
|
-
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
697
|
+
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
671
698
|
pulumi.set(self, "additional_volume_ids", value)
|
672
699
|
|
700
|
+
@property
|
701
|
+
@pulumi.getter(name="adminPasswordEncryptionSshKeyId")
|
702
|
+
def admin_password_encryption_ssh_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
703
|
+
"""
|
704
|
+
The ID of the SSH RSA key that will be used to encrypt the initial admin password for OS requiring it.
|
705
|
+
Mandatory for Windows OS. The public_key value of this key is used to encrypt the admin password.
|
706
|
+
When set to an empty string, it resets this value and admin_password_encrypted_value to an empty string so a new password may be generated.
|
707
|
+
"""
|
708
|
+
return pulumi.get(self, "admin_password_encryption_ssh_key_id")
|
709
|
+
|
710
|
+
@admin_password_encryption_ssh_key_id.setter
|
711
|
+
def admin_password_encryption_ssh_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
712
|
+
pulumi.set(self, "admin_password_encryption_ssh_key_id", value)
|
713
|
+
|
673
714
|
@property
|
674
715
|
@pulumi.getter(name="bootType")
|
675
|
-
def boot_type(self) -> Optional[pulumi.Input[str]]:
|
716
|
+
def boot_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
676
717
|
"""
|
677
718
|
The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
678
719
|
"""
|
679
720
|
return pulumi.get(self, "boot_type")
|
680
721
|
|
681
722
|
@boot_type.setter
|
682
|
-
def boot_type(self, value: Optional[pulumi.Input[str]]):
|
723
|
+
def boot_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
683
724
|
pulumi.set(self, "boot_type", value)
|
684
725
|
|
685
726
|
@property
|
686
727
|
@pulumi.getter(name="bootscriptId")
|
687
728
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
688
|
-
def bootscript_id(self) -> Optional[pulumi.Input[str]]:
|
729
|
+
def bootscript_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
689
730
|
"""
|
690
731
|
ID of the target bootscript (set boot_type to bootscript)
|
691
732
|
"""
|
692
733
|
return pulumi.get(self, "bootscript_id")
|
693
734
|
|
694
735
|
@bootscript_id.setter
|
695
|
-
def bootscript_id(self, value: Optional[pulumi.Input[str]]):
|
736
|
+
def bootscript_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
696
737
|
pulumi.set(self, "bootscript_id", value)
|
697
738
|
|
698
739
|
@property
|
699
740
|
@pulumi.getter(name="cloudInit")
|
700
|
-
def cloud_init(self) -> Optional[pulumi.Input[str]]:
|
741
|
+
def cloud_init(self) -> Optional[pulumi.Input[builtins.str]]:
|
701
742
|
"""
|
702
743
|
The cloud init script associated with this server
|
703
744
|
"""
|
704
745
|
return pulumi.get(self, "cloud_init")
|
705
746
|
|
706
747
|
@cloud_init.setter
|
707
|
-
def cloud_init(self, value: Optional[pulumi.Input[str]]):
|
748
|
+
def cloud_init(self, value: Optional[pulumi.Input[builtins.str]]):
|
708
749
|
pulumi.set(self, "cloud_init", value)
|
709
750
|
|
710
751
|
@property
|
711
752
|
@pulumi.getter(name="enableDynamicIp")
|
712
|
-
def enable_dynamic_ip(self) -> Optional[pulumi.Input[bool]]:
|
753
|
+
def enable_dynamic_ip(self) -> Optional[pulumi.Input[builtins.bool]]:
|
713
754
|
"""
|
714
755
|
If true a dynamic IP will be attached to the server.
|
715
756
|
"""
|
716
757
|
return pulumi.get(self, "enable_dynamic_ip")
|
717
758
|
|
718
759
|
@enable_dynamic_ip.setter
|
719
|
-
def enable_dynamic_ip(self, value: Optional[pulumi.Input[bool]]):
|
760
|
+
def enable_dynamic_ip(self, value: Optional[pulumi.Input[builtins.bool]]):
|
720
761
|
pulumi.set(self, "enable_dynamic_ip", value)
|
721
762
|
|
722
763
|
@property
|
723
764
|
@pulumi.getter(name="enableIpv6")
|
724
765
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
725
|
-
def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
|
766
|
+
def enable_ipv6(self) -> Optional[pulumi.Input[builtins.bool]]:
|
726
767
|
"""
|
727
768
|
Determines if IPv6 is enabled for the server.
|
728
769
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -730,12 +771,12 @@ class _InstanceServerState:
|
|
730
771
|
return pulumi.get(self, "enable_ipv6")
|
731
772
|
|
732
773
|
@enable_ipv6.setter
|
733
|
-
def enable_ipv6(self, value: Optional[pulumi.Input[bool]]):
|
774
|
+
def enable_ipv6(self, value: Optional[pulumi.Input[builtins.bool]]):
|
734
775
|
pulumi.set(self, "enable_ipv6", value)
|
735
776
|
|
736
777
|
@property
|
737
778
|
@pulumi.getter
|
738
|
-
def image(self) -> Optional[pulumi.Input[str]]:
|
779
|
+
def image(self) -> Optional[pulumi.Input[builtins.str]]:
|
739
780
|
"""
|
740
781
|
The UUID or the label of the base image used by the server. You can use [this endpoint](https://www.scaleway.com/en/developers/api/marketplace/#path-marketplace-images-list-marketplace-images)
|
741
782
|
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
|
@@ -747,24 +788,24 @@ class _InstanceServerState:
|
|
747
788
|
return pulumi.get(self, "image")
|
748
789
|
|
749
790
|
@image.setter
|
750
|
-
def image(self, value: Optional[pulumi.Input[str]]):
|
791
|
+
def image(self, value: Optional[pulumi.Input[builtins.str]]):
|
751
792
|
pulumi.set(self, "image", value)
|
752
793
|
|
753
794
|
@property
|
754
795
|
@pulumi.getter(name="ipId")
|
755
|
-
def ip_id(self) -> Optional[pulumi.Input[str]]:
|
796
|
+
def ip_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
756
797
|
"""
|
757
798
|
The ID of the reserved IP that is attached to the server.
|
758
799
|
"""
|
759
800
|
return pulumi.get(self, "ip_id")
|
760
801
|
|
761
802
|
@ip_id.setter
|
762
|
-
def ip_id(self, value: Optional[pulumi.Input[str]]):
|
803
|
+
def ip_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
763
804
|
pulumi.set(self, "ip_id", value)
|
764
805
|
|
765
806
|
@property
|
766
807
|
@pulumi.getter(name="ipIds")
|
767
|
-
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
808
|
+
def ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
768
809
|
"""
|
769
810
|
List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
770
811
|
|
@@ -773,13 +814,13 @@ class _InstanceServerState:
|
|
773
814
|
return pulumi.get(self, "ip_ids")
|
774
815
|
|
775
816
|
@ip_ids.setter
|
776
|
-
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
817
|
+
def ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
777
818
|
pulumi.set(self, "ip_ids", value)
|
778
819
|
|
779
820
|
@property
|
780
821
|
@pulumi.getter(name="ipv6Address")
|
781
822
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
782
|
-
def ipv6_address(self) -> Optional[pulumi.Input[str]]:
|
823
|
+
def ipv6_address(self) -> Optional[pulumi.Input[builtins.str]]:
|
783
824
|
"""
|
784
825
|
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
785
826
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -787,13 +828,13 @@ class _InstanceServerState:
|
|
787
828
|
return pulumi.get(self, "ipv6_address")
|
788
829
|
|
789
830
|
@ipv6_address.setter
|
790
|
-
def ipv6_address(self, value: Optional[pulumi.Input[str]]):
|
831
|
+
def ipv6_address(self, value: Optional[pulumi.Input[builtins.str]]):
|
791
832
|
pulumi.set(self, "ipv6_address", value)
|
792
833
|
|
793
834
|
@property
|
794
835
|
@pulumi.getter(name="ipv6Gateway")
|
795
836
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
796
|
-
def ipv6_gateway(self) -> Optional[pulumi.Input[str]]:
|
837
|
+
def ipv6_gateway(self) -> Optional[pulumi.Input[builtins.str]]:
|
797
838
|
"""
|
798
839
|
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
799
840
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -801,13 +842,13 @@ class _InstanceServerState:
|
|
801
842
|
return pulumi.get(self, "ipv6_gateway")
|
802
843
|
|
803
844
|
@ipv6_gateway.setter
|
804
|
-
def ipv6_gateway(self, value: Optional[pulumi.Input[str]]):
|
845
|
+
def ipv6_gateway(self, value: Optional[pulumi.Input[builtins.str]]):
|
805
846
|
pulumi.set(self, "ipv6_gateway", value)
|
806
847
|
|
807
848
|
@property
|
808
849
|
@pulumi.getter(name="ipv6PrefixLength")
|
809
850
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
810
|
-
def ipv6_prefix_length(self) -> Optional[pulumi.Input[int]]:
|
851
|
+
def ipv6_prefix_length(self) -> Optional[pulumi.Input[builtins.int]]:
|
811
852
|
"""
|
812
853
|
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
813
854
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -815,36 +856,36 @@ class _InstanceServerState:
|
|
815
856
|
return pulumi.get(self, "ipv6_prefix_length")
|
816
857
|
|
817
858
|
@ipv6_prefix_length.setter
|
818
|
-
def ipv6_prefix_length(self, value: Optional[pulumi.Input[int]]):
|
859
|
+
def ipv6_prefix_length(self, value: Optional[pulumi.Input[builtins.int]]):
|
819
860
|
pulumi.set(self, "ipv6_prefix_length", value)
|
820
861
|
|
821
862
|
@property
|
822
863
|
@pulumi.getter
|
823
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
864
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
824
865
|
"""
|
825
866
|
The name of the server.
|
826
867
|
"""
|
827
868
|
return pulumi.get(self, "name")
|
828
869
|
|
829
870
|
@name.setter
|
830
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
871
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
831
872
|
pulumi.set(self, "name", value)
|
832
873
|
|
833
874
|
@property
|
834
875
|
@pulumi.getter(name="organizationId")
|
835
|
-
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
876
|
+
def organization_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
836
877
|
"""
|
837
878
|
The organization ID the server is associated with.
|
838
879
|
"""
|
839
880
|
return pulumi.get(self, "organization_id")
|
840
881
|
|
841
882
|
@organization_id.setter
|
842
|
-
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
883
|
+
def organization_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
843
884
|
pulumi.set(self, "organization_id", value)
|
844
885
|
|
845
886
|
@property
|
846
887
|
@pulumi.getter(name="placementGroupId")
|
847
|
-
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
888
|
+
def placement_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
848
889
|
"""
|
849
890
|
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
850
891
|
|
@@ -854,32 +895,32 @@ class _InstanceServerState:
|
|
854
895
|
return pulumi.get(self, "placement_group_id")
|
855
896
|
|
856
897
|
@placement_group_id.setter
|
857
|
-
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
898
|
+
def placement_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
858
899
|
pulumi.set(self, "placement_group_id", value)
|
859
900
|
|
860
901
|
@property
|
861
902
|
@pulumi.getter(name="placementGroupPolicyRespected")
|
862
|
-
def placement_group_policy_respected(self) -> Optional[pulumi.Input[bool]]:
|
903
|
+
def placement_group_policy_respected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
863
904
|
"""
|
864
905
|
(Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
865
906
|
"""
|
866
907
|
return pulumi.get(self, "placement_group_policy_respected")
|
867
908
|
|
868
909
|
@placement_group_policy_respected.setter
|
869
|
-
def placement_group_policy_respected(self, value: Optional[pulumi.Input[bool]]):
|
910
|
+
def placement_group_policy_respected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
870
911
|
pulumi.set(self, "placement_group_policy_respected", value)
|
871
912
|
|
872
913
|
@property
|
873
914
|
@pulumi.getter(name="privateIp")
|
874
915
|
@_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
875
|
-
def private_ip(self) -> Optional[pulumi.Input[str]]:
|
916
|
+
def private_ip(self) -> Optional[pulumi.Input[builtins.str]]:
|
876
917
|
"""
|
877
918
|
The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
878
919
|
"""
|
879
920
|
return pulumi.get(self, "private_ip")
|
880
921
|
|
881
922
|
@private_ip.setter
|
882
|
-
def private_ip(self, value: Optional[pulumi.Input[str]]):
|
923
|
+
def private_ip(self, value: Optional[pulumi.Input[builtins.str]]):
|
883
924
|
pulumi.set(self, "private_ip", value)
|
884
925
|
|
885
926
|
@property
|
@@ -909,39 +950,39 @@ class _InstanceServerState:
|
|
909
950
|
|
910
951
|
@property
|
911
952
|
@pulumi.getter(name="projectId")
|
912
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
953
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
913
954
|
"""
|
914
955
|
`project_id`) The ID of the project the server is associated with.
|
915
956
|
"""
|
916
957
|
return pulumi.get(self, "project_id")
|
917
958
|
|
918
959
|
@project_id.setter
|
919
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
960
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
920
961
|
pulumi.set(self, "project_id", value)
|
921
962
|
|
922
963
|
@property
|
923
964
|
@pulumi.getter
|
924
|
-
def protected(self) -> Optional[pulumi.Input[bool]]:
|
965
|
+
def protected(self) -> Optional[pulumi.Input[builtins.bool]]:
|
925
966
|
"""
|
926
967
|
Set to true to activate server protection option.
|
927
968
|
"""
|
928
969
|
return pulumi.get(self, "protected")
|
929
970
|
|
930
971
|
@protected.setter
|
931
|
-
def protected(self, value: Optional[pulumi.Input[bool]]):
|
972
|
+
def protected(self, value: Optional[pulumi.Input[builtins.bool]]):
|
932
973
|
pulumi.set(self, "protected", value)
|
933
974
|
|
934
975
|
@property
|
935
976
|
@pulumi.getter(name="publicIp")
|
936
977
|
@_utilities.deprecated("""Use public_ips instead""")
|
937
|
-
def public_ip(self) -> Optional[pulumi.Input[str]]:
|
978
|
+
def public_ip(self) -> Optional[pulumi.Input[builtins.str]]:
|
938
979
|
"""
|
939
980
|
The public IP address of the server (Deprecated use `public_ips` instead).
|
940
981
|
"""
|
941
982
|
return pulumi.get(self, "public_ip")
|
942
983
|
|
943
984
|
@public_ip.setter
|
944
|
-
def public_ip(self, value: Optional[pulumi.Input[str]]):
|
985
|
+
def public_ip(self, value: Optional[pulumi.Input[builtins.str]]):
|
945
986
|
pulumi.set(self, "public_ip", value)
|
946
987
|
|
947
988
|
@property
|
@@ -958,14 +999,14 @@ class _InstanceServerState:
|
|
958
999
|
|
959
1000
|
@property
|
960
1001
|
@pulumi.getter(name="replaceOnTypeChange")
|
961
|
-
def replace_on_type_change(self) -> Optional[pulumi.Input[bool]]:
|
1002
|
+
def replace_on_type_change(self) -> Optional[pulumi.Input[builtins.bool]]:
|
962
1003
|
"""
|
963
1004
|
If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
964
1005
|
"""
|
965
1006
|
return pulumi.get(self, "replace_on_type_change")
|
966
1007
|
|
967
1008
|
@replace_on_type_change.setter
|
968
|
-
def replace_on_type_change(self, value: Optional[pulumi.Input[bool]]):
|
1009
|
+
def replace_on_type_change(self, value: Optional[pulumi.Input[builtins.bool]]):
|
969
1010
|
pulumi.set(self, "replace_on_type_change", value)
|
970
1011
|
|
971
1012
|
@property
|
@@ -982,43 +1023,43 @@ class _InstanceServerState:
|
|
982
1023
|
|
983
1024
|
@property
|
984
1025
|
@pulumi.getter(name="securityGroupId")
|
985
|
-
def security_group_id(self) -> Optional[pulumi.Input[str]]:
|
1026
|
+
def security_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
986
1027
|
"""
|
987
1028
|
The security group the server is attached to
|
988
1029
|
"""
|
989
1030
|
return pulumi.get(self, "security_group_id")
|
990
1031
|
|
991
1032
|
@security_group_id.setter
|
992
|
-
def security_group_id(self, value: Optional[pulumi.Input[str]]):
|
1033
|
+
def security_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
993
1034
|
pulumi.set(self, "security_group_id", value)
|
994
1035
|
|
995
1036
|
@property
|
996
1037
|
@pulumi.getter
|
997
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
1038
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
998
1039
|
"""
|
999
1040
|
The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1000
1041
|
"""
|
1001
1042
|
return pulumi.get(self, "state")
|
1002
1043
|
|
1003
1044
|
@state.setter
|
1004
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
1045
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
1005
1046
|
pulumi.set(self, "state", value)
|
1006
1047
|
|
1007
1048
|
@property
|
1008
1049
|
@pulumi.getter
|
1009
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
1050
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
1010
1051
|
"""
|
1011
1052
|
The tags associated with the server.
|
1012
1053
|
"""
|
1013
1054
|
return pulumi.get(self, "tags")
|
1014
1055
|
|
1015
1056
|
@tags.setter
|
1016
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
1057
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
1017
1058
|
pulumi.set(self, "tags", value)
|
1018
1059
|
|
1019
1060
|
@property
|
1020
1061
|
@pulumi.getter
|
1021
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
1062
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
1022
1063
|
"""
|
1023
1064
|
The commercial type of the server.
|
1024
1065
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
@@ -1030,12 +1071,12 @@ class _InstanceServerState:
|
|
1030
1071
|
return pulumi.get(self, "type")
|
1031
1072
|
|
1032
1073
|
@type.setter
|
1033
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
1074
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
1034
1075
|
pulumi.set(self, "type", value)
|
1035
1076
|
|
1036
1077
|
@property
|
1037
1078
|
@pulumi.getter(name="userData")
|
1038
|
-
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1079
|
+
def user_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
1039
1080
|
"""
|
1040
1081
|
The user data associated with the server.
|
1041
1082
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
@@ -1047,25 +1088,26 @@ class _InstanceServerState:
|
|
1047
1088
|
return pulumi.get(self, "user_data")
|
1048
1089
|
|
1049
1090
|
@user_data.setter
|
1050
|
-
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
1091
|
+
def user_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
1051
1092
|
pulumi.set(self, "user_data", value)
|
1052
1093
|
|
1053
1094
|
@property
|
1054
1095
|
@pulumi.getter
|
1055
|
-
def zone(self) -> Optional[pulumi.Input[str]]:
|
1096
|
+
def zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
1056
1097
|
"""
|
1057
1098
|
`zone`) The zone in which the server should be created.
|
1058
1099
|
"""
|
1059
1100
|
return pulumi.get(self, "zone")
|
1060
1101
|
|
1061
1102
|
@zone.setter
|
1062
|
-
def zone(self, value: Optional[pulumi.Input[str]]):
|
1103
|
+
def zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
1063
1104
|
pulumi.set(self, "zone", value)
|
1064
1105
|
|
1065
1106
|
|
1066
1107
|
warnings.warn("""scaleway.index/instanceserver.InstanceServer has been deprecated in favor of scaleway.instance/server.Server""", DeprecationWarning)
|
1067
1108
|
|
1068
1109
|
|
1110
|
+
@pulumi.type_token("scaleway:index/instanceServer:InstanceServer")
|
1069
1111
|
class InstanceServer(pulumi.CustomResource):
|
1070
1112
|
warnings.warn("""scaleway.index/instanceserver.InstanceServer has been deprecated in favor of scaleway.instance/server.Server""", DeprecationWarning)
|
1071
1113
|
|
@@ -1073,30 +1115,31 @@ class InstanceServer(pulumi.CustomResource):
|
|
1073
1115
|
def __init__(__self__,
|
1074
1116
|
resource_name: str,
|
1075
1117
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1076
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
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,
|
1087
1130
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1088
1131
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1089
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
1090
|
-
protected: Optional[pulumi.Input[bool]] = None,
|
1132
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
1133
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
1091
1134
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
1092
|
-
replace_on_type_change: Optional[pulumi.Input[bool]] = None,
|
1135
|
+
replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
|
1093
1136
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
1094
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
1095
|
-
state: Optional[pulumi.Input[str]] = None,
|
1096
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1097
|
-
type: Optional[pulumi.Input[str]] = None,
|
1098
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1099
|
-
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,
|
1100
1143
|
__props__=None):
|
1101
1144
|
"""
|
1102
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).
|
@@ -1281,57 +1324,60 @@ class InstanceServer(pulumi.CustomResource):
|
|
1281
1324
|
|
1282
1325
|
:param str resource_name: The name of the resource.
|
1283
1326
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1284
|
-
: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)
|
1285
1328
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
1286
1329
|
|
1287
1330
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
1288
1331
|
|
1289
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.
|
1290
|
-
:param pulumi.Input[str]
|
1291
|
-
|
1292
|
-
|
1293
|
-
:param pulumi.Input[
|
1294
|
-
: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.
|
1295
1341
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1296
|
-
: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)
|
1297
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.
|
1298
1344
|
|
1299
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```
|
1300
1346
|
|
1301
1347
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
1302
|
-
:param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
|
1303
|
-
: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`.
|
1304
1350
|
|
1305
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.
|
1306
|
-
:param pulumi.Input[str] name: The name of the server.
|
1307
|
-
: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.
|
1308
1354
|
|
1309
1355
|
|
1310
1356
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1311
1357
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1312
1358
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1313
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.
|
1314
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
1315
|
-
: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.
|
1316
1362
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
|
1317
|
-
: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.
|
1318
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.
|
1319
|
-
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
1320
|
-
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1321
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
1322
|
-
: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.
|
1323
1369
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
1324
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/).
|
1325
1371
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
1326
1372
|
|
1327
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.
|
1328
|
-
: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.
|
1329
1375
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
1330
1376
|
You can define values using:
|
1331
1377
|
- string
|
1332
1378
|
- UTF-8 encoded file content using file
|
1333
1379
|
- Binary files using filebase64.
|
1334
|
-
: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.
|
1335
1381
|
"""
|
1336
1382
|
...
|
1337
1383
|
@overload
|
@@ -1535,30 +1581,31 @@ class InstanceServer(pulumi.CustomResource):
|
|
1535
1581
|
def _internal_init(__self__,
|
1536
1582
|
resource_name: str,
|
1537
1583
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1538
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
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,
|
1549
1596
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1550
1597
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1551
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
1552
|
-
protected: Optional[pulumi.Input[bool]] = None,
|
1598
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
1599
|
+
protected: Optional[pulumi.Input[builtins.bool]] = None,
|
1553
1600
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
1554
|
-
replace_on_type_change: Optional[pulumi.Input[bool]] = None,
|
1601
|
+
replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
|
1555
1602
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
1556
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
1557
|
-
state: Optional[pulumi.Input[str]] = None,
|
1558
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1559
|
-
type: Optional[pulumi.Input[str]] = None,
|
1560
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1561
|
-
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,
|
1562
1609
|
__props__=None):
|
1563
1610
|
pulumi.log.warn("""InstanceServer is deprecated: scaleway.index/instanceserver.InstanceServer has been deprecated in favor of scaleway.instance/server.Server""")
|
1564
1611
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -1570,6 +1617,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1570
1617
|
__props__ = InstanceServerArgs.__new__(InstanceServerArgs)
|
1571
1618
|
|
1572
1619
|
__props__.__dict__["additional_volume_ids"] = additional_volume_ids
|
1620
|
+
__props__.__dict__["admin_password_encryption_ssh_key_id"] = admin_password_encryption_ssh_key_id
|
1573
1621
|
__props__.__dict__["boot_type"] = boot_type
|
1574
1622
|
__props__.__dict__["bootscript_id"] = bootscript_id
|
1575
1623
|
__props__.__dict__["cloud_init"] = cloud_init
|
@@ -1612,37 +1660,38 @@ class InstanceServer(pulumi.CustomResource):
|
|
1612
1660
|
def get(resource_name: str,
|
1613
1661
|
id: pulumi.Input[str],
|
1614
1662
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1615
|
-
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
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,
|
1632
1681
|
private_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]]] = None,
|
1633
1682
|
private_networks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]]] = None,
|
1634
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
1635
|
-
protected: Optional[pulumi.Input[bool]] = None,
|
1636
|
-
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,
|
1637
1686
|
public_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]]] = None,
|
1638
|
-
replace_on_type_change: Optional[pulumi.Input[bool]] = None,
|
1687
|
+
replace_on_type_change: Optional[pulumi.Input[builtins.bool]] = None,
|
1639
1688
|
root_volume: Optional[pulumi.Input[Union['InstanceServerRootVolumeArgs', 'InstanceServerRootVolumeArgsDict']]] = None,
|
1640
|
-
security_group_id: Optional[pulumi.Input[str]] = None,
|
1641
|
-
state: Optional[pulumi.Input[str]] = None,
|
1642
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1643
|
-
type: Optional[pulumi.Input[str]] = None,
|
1644
|
-
user_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1645
|
-
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':
|
1646
1695
|
"""
|
1647
1696
|
Get an existing InstanceServer resource's state with the given name, id, and optional extra
|
1648
1697
|
properties used to qualify the lookup.
|
@@ -1650,73 +1699,77 @@ class InstanceServer(pulumi.CustomResource):
|
|
1650
1699
|
:param str resource_name: The unique name of the resulting resource.
|
1651
1700
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1652
1701
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1653
|
-
: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)
|
1654
1703
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
1655
1704
|
|
1656
1705
|
> **Important:** If this field contains local volumes, the `state` must be set to `stopped`, otherwise it will fail.
|
1657
1706
|
|
1658
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.
|
1659
|
-
:param pulumi.Input[str]
|
1660
|
-
|
1661
|
-
|
1662
|
-
:param pulumi.Input[
|
1663
|
-
: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.
|
1664
1716
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1665
|
-
: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)
|
1666
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.
|
1667
1719
|
|
1668
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```
|
1669
1721
|
|
1670
1722
|
To retrieve more information by label please use: ```scw marketplace image get label=<LABEL>```
|
1671
|
-
:param pulumi.Input[str] ip_id: The ID of the reserved IP that is attached to the server.
|
1672
|
-
: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`.
|
1673
1725
|
|
1674
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.
|
1675
|
-
: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 )
|
1676
1728
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1677
|
-
: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 )
|
1678
1730
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1679
|
-
: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 )
|
1680
1732
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
1681
|
-
:param pulumi.Input[str] name: The name of the server.
|
1682
|
-
:param pulumi.Input[str] organization_id: The organization ID the server is associated with.
|
1683
|
-
: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.
|
1684
1736
|
|
1685
1737
|
|
1686
1738
|
> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
|
1687
|
-
: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.
|
1688
|
-
: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).
|
1689
1741
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateIpArgs', 'InstanceServerPrivateIpArgsDict']]]] private_ips: The list of private IPv4 and IPv6 addresses associated with the resource.
|
1690
1742
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPrivateNetworkArgs', 'InstanceServerPrivateNetworkArgsDict']]]] private_networks: The private network associated with the server.
|
1691
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.
|
1692
|
-
:param pulumi.Input[str] project_id: `project_id`) The ID of the project the server is associated with.
|
1693
|
-
:param pulumi.Input[bool] protected: Set to true to activate server protection option.
|
1694
|
-
: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).
|
1695
1747
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerPublicIpArgs', 'InstanceServerPublicIpArgsDict']]]] public_ips: The list of public IPs of the server.
|
1696
|
-
: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.
|
1697
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.
|
1698
|
-
:param pulumi.Input[str] security_group_id: The security group the server is attached to
|
1699
|
-
:param pulumi.Input[str] state: The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1700
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the server.
|
1701
|
-
: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.
|
1702
1754
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
1703
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/).
|
1704
1756
|
Use `replace_on_type_change` to trigger replacement instead of migration.
|
1705
1757
|
|
1706
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.
|
1707
|
-
: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.
|
1708
1760
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
1709
1761
|
You can define values using:
|
1710
1762
|
- string
|
1711
1763
|
- UTF-8 encoded file content using file
|
1712
1764
|
- Binary files using filebase64.
|
1713
|
-
: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.
|
1714
1766
|
"""
|
1715
1767
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1716
1768
|
|
1717
1769
|
__props__ = _InstanceServerState.__new__(_InstanceServerState)
|
1718
1770
|
|
1719
1771
|
__props__.__dict__["additional_volume_ids"] = additional_volume_ids
|
1772
|
+
__props__.__dict__["admin_password_encryption_ssh_key_id"] = admin_password_encryption_ssh_key_id
|
1720
1773
|
__props__.__dict__["boot_type"] = boot_type
|
1721
1774
|
__props__.__dict__["bootscript_id"] = bootscript_id
|
1722
1775
|
__props__.__dict__["cloud_init"] = cloud_init
|
@@ -1751,7 +1804,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1751
1804
|
|
1752
1805
|
@property
|
1753
1806
|
@pulumi.getter(name="additionalVolumeIds")
|
1754
|
-
def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1807
|
+
def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1755
1808
|
"""
|
1756
1809
|
The [additional volumes](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types)
|
1757
1810
|
attached to the server. Updates to this field will trigger a stop/start of the server.
|
@@ -1762,9 +1815,19 @@ class InstanceServer(pulumi.CustomResource):
|
|
1762
1815
|
"""
|
1763
1816
|
return pulumi.get(self, "additional_volume_ids")
|
1764
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
|
+
|
1765
1828
|
@property
|
1766
1829
|
@pulumi.getter(name="bootType")
|
1767
|
-
def boot_type(self) -> pulumi.Output[Optional[str]]:
|
1830
|
+
def boot_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
1768
1831
|
"""
|
1769
1832
|
The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
|
1770
1833
|
"""
|
@@ -1773,7 +1836,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1773
1836
|
@property
|
1774
1837
|
@pulumi.getter(name="bootscriptId")
|
1775
1838
|
@_utilities.deprecated("""bootscript is not supported anymore.""")
|
1776
|
-
def bootscript_id(self) -> pulumi.Output[str]:
|
1839
|
+
def bootscript_id(self) -> pulumi.Output[builtins.str]:
|
1777
1840
|
"""
|
1778
1841
|
ID of the target bootscript (set boot_type to bootscript)
|
1779
1842
|
"""
|
@@ -1781,7 +1844,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1781
1844
|
|
1782
1845
|
@property
|
1783
1846
|
@pulumi.getter(name="cloudInit")
|
1784
|
-
def cloud_init(self) -> pulumi.Output[str]:
|
1847
|
+
def cloud_init(self) -> pulumi.Output[builtins.str]:
|
1785
1848
|
"""
|
1786
1849
|
The cloud init script associated with this server
|
1787
1850
|
"""
|
@@ -1789,7 +1852,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1789
1852
|
|
1790
1853
|
@property
|
1791
1854
|
@pulumi.getter(name="enableDynamicIp")
|
1792
|
-
def enable_dynamic_ip(self) -> pulumi.Output[Optional[bool]]:
|
1855
|
+
def enable_dynamic_ip(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1793
1856
|
"""
|
1794
1857
|
If true a dynamic IP will be attached to the server.
|
1795
1858
|
"""
|
@@ -1798,7 +1861,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1798
1861
|
@property
|
1799
1862
|
@pulumi.getter(name="enableIpv6")
|
1800
1863
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1801
|
-
def enable_ipv6(self) -> pulumi.Output[Optional[bool]]:
|
1864
|
+
def enable_ipv6(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1802
1865
|
"""
|
1803
1866
|
Determines if IPv6 is enabled for the server.
|
1804
1867
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -1807,7 +1870,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1807
1870
|
|
1808
1871
|
@property
|
1809
1872
|
@pulumi.getter
|
1810
|
-
def image(self) -> pulumi.Output[Optional[str]]:
|
1873
|
+
def image(self) -> pulumi.Output[Optional[builtins.str]]:
|
1811
1874
|
"""
|
1812
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)
|
1813
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.
|
@@ -1820,7 +1883,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1820
1883
|
|
1821
1884
|
@property
|
1822
1885
|
@pulumi.getter(name="ipId")
|
1823
|
-
def ip_id(self) -> pulumi.Output[Optional[str]]:
|
1886
|
+
def ip_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
1824
1887
|
"""
|
1825
1888
|
The ID of the reserved IP that is attached to the server.
|
1826
1889
|
"""
|
@@ -1828,7 +1891,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1828
1891
|
|
1829
1892
|
@property
|
1830
1893
|
@pulumi.getter(name="ipIds")
|
1831
|
-
def ip_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1894
|
+
def ip_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1832
1895
|
"""
|
1833
1896
|
List of ID of reserved IPs that are attached to the server. Cannot be used with `ip_id`.
|
1834
1897
|
|
@@ -1839,7 +1902,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1839
1902
|
@property
|
1840
1903
|
@pulumi.getter(name="ipv6Address")
|
1841
1904
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1842
|
-
def ipv6_address(self) -> pulumi.Output[str]:
|
1905
|
+
def ipv6_address(self) -> pulumi.Output[builtins.str]:
|
1843
1906
|
"""
|
1844
1907
|
The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
|
1845
1908
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -1849,7 +1912,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1849
1912
|
@property
|
1850
1913
|
@pulumi.getter(name="ipv6Gateway")
|
1851
1914
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1852
|
-
def ipv6_gateway(self) -> pulumi.Output[str]:
|
1915
|
+
def ipv6_gateway(self) -> pulumi.Output[builtins.str]:
|
1853
1916
|
"""
|
1854
1917
|
The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
|
1855
1918
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -1859,7 +1922,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1859
1922
|
@property
|
1860
1923
|
@pulumi.getter(name="ipv6PrefixLength")
|
1861
1924
|
@_utilities.deprecated("""Please use a instance.Ip with a `routed_ipv6` type""")
|
1862
|
-
def ipv6_prefix_length(self) -> pulumi.Output[int]:
|
1925
|
+
def ipv6_prefix_length(self) -> pulumi.Output[builtins.int]:
|
1863
1926
|
"""
|
1864
1927
|
The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
|
1865
1928
|
Deprecated: Please use a instance.Ip with a `routed_ipv6` type.
|
@@ -1868,7 +1931,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1868
1931
|
|
1869
1932
|
@property
|
1870
1933
|
@pulumi.getter
|
1871
|
-
def name(self) -> pulumi.Output[str]:
|
1934
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
1872
1935
|
"""
|
1873
1936
|
The name of the server.
|
1874
1937
|
"""
|
@@ -1876,7 +1939,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1876
1939
|
|
1877
1940
|
@property
|
1878
1941
|
@pulumi.getter(name="organizationId")
|
1879
|
-
def organization_id(self) -> pulumi.Output[str]:
|
1942
|
+
def organization_id(self) -> pulumi.Output[builtins.str]:
|
1880
1943
|
"""
|
1881
1944
|
The organization ID the server is associated with.
|
1882
1945
|
"""
|
@@ -1884,7 +1947,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1884
1947
|
|
1885
1948
|
@property
|
1886
1949
|
@pulumi.getter(name="placementGroupId")
|
1887
|
-
def placement_group_id(self) -> pulumi.Output[Optional[str]]:
|
1950
|
+
def placement_group_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
1888
1951
|
"""
|
1889
1952
|
The [placement group](https://www.scaleway.com/en/developers/api/instance/#path-security-groups-update-a-security-group the server is attached to.
|
1890
1953
|
|
@@ -1895,7 +1958,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1895
1958
|
|
1896
1959
|
@property
|
1897
1960
|
@pulumi.getter(name="placementGroupPolicyRespected")
|
1898
|
-
def placement_group_policy_respected(self) -> pulumi.Output[bool]:
|
1961
|
+
def placement_group_policy_respected(self) -> pulumi.Output[builtins.bool]:
|
1899
1962
|
"""
|
1900
1963
|
(Deprecated) Always false, use instance_placement_group ressource to known when the placement group policy is respected.
|
1901
1964
|
"""
|
@@ -1904,7 +1967,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1904
1967
|
@property
|
1905
1968
|
@pulumi.getter(name="privateIp")
|
1906
1969
|
@_utilities.deprecated("""Use ipam_ip datasource instead to fetch your server's IP in your private network.""")
|
1907
|
-
def private_ip(self) -> pulumi.Output[str]:
|
1970
|
+
def private_ip(self) -> pulumi.Output[builtins.str]:
|
1908
1971
|
"""
|
1909
1972
|
The Scaleway internal IP address of the server (Deprecated use ipam_ip datasource instead).
|
1910
1973
|
"""
|
@@ -1929,7 +1992,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1929
1992
|
|
1930
1993
|
@property
|
1931
1994
|
@pulumi.getter(name="projectId")
|
1932
|
-
def project_id(self) -> pulumi.Output[str]:
|
1995
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
1933
1996
|
"""
|
1934
1997
|
`project_id`) The ID of the project the server is associated with.
|
1935
1998
|
"""
|
@@ -1937,7 +2000,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1937
2000
|
|
1938
2001
|
@property
|
1939
2002
|
@pulumi.getter
|
1940
|
-
def protected(self) -> pulumi.Output[Optional[bool]]:
|
2003
|
+
def protected(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1941
2004
|
"""
|
1942
2005
|
Set to true to activate server protection option.
|
1943
2006
|
"""
|
@@ -1946,7 +2009,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1946
2009
|
@property
|
1947
2010
|
@pulumi.getter(name="publicIp")
|
1948
2011
|
@_utilities.deprecated("""Use public_ips instead""")
|
1949
|
-
def public_ip(self) -> pulumi.Output[str]:
|
2012
|
+
def public_ip(self) -> pulumi.Output[builtins.str]:
|
1950
2013
|
"""
|
1951
2014
|
The public IP address of the server (Deprecated use `public_ips` instead).
|
1952
2015
|
"""
|
@@ -1962,7 +2025,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1962
2025
|
|
1963
2026
|
@property
|
1964
2027
|
@pulumi.getter(name="replaceOnTypeChange")
|
1965
|
-
def replace_on_type_change(self) -> pulumi.Output[Optional[bool]]:
|
2028
|
+
def replace_on_type_change(self) -> pulumi.Output[Optional[builtins.bool]]:
|
1966
2029
|
"""
|
1967
2030
|
If true, the server will be replaced if `type` is changed. Otherwise, the server will migrate.
|
1968
2031
|
"""
|
@@ -1978,7 +2041,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1978
2041
|
|
1979
2042
|
@property
|
1980
2043
|
@pulumi.getter(name="securityGroupId")
|
1981
|
-
def security_group_id(self) -> pulumi.Output[str]:
|
2044
|
+
def security_group_id(self) -> pulumi.Output[builtins.str]:
|
1982
2045
|
"""
|
1983
2046
|
The security group the server is attached to
|
1984
2047
|
"""
|
@@ -1986,7 +2049,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1986
2049
|
|
1987
2050
|
@property
|
1988
2051
|
@pulumi.getter
|
1989
|
-
def state(self) -> pulumi.Output[Optional[str]]:
|
2052
|
+
def state(self) -> pulumi.Output[Optional[builtins.str]]:
|
1990
2053
|
"""
|
1991
2054
|
The state of the server. Possible values are: `started`, `stopped` or `standby`.
|
1992
2055
|
"""
|
@@ -1994,7 +2057,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
1994
2057
|
|
1995
2058
|
@property
|
1996
2059
|
@pulumi.getter
|
1997
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
2060
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
1998
2061
|
"""
|
1999
2062
|
The tags associated with the server.
|
2000
2063
|
"""
|
@@ -2002,7 +2065,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
2002
2065
|
|
2003
2066
|
@property
|
2004
2067
|
@pulumi.getter
|
2005
|
-
def type(self) -> pulumi.Output[str]:
|
2068
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
2006
2069
|
"""
|
2007
2070
|
The commercial type of the server.
|
2008
2071
|
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
|
@@ -2015,7 +2078,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
2015
2078
|
|
2016
2079
|
@property
|
2017
2080
|
@pulumi.getter(name="userData")
|
2018
|
-
def user_data(self) -> pulumi.Output[Mapping[str, str]]:
|
2081
|
+
def user_data(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
2019
2082
|
"""
|
2020
2083
|
The user data associated with the server.
|
2021
2084
|
Use the `cloud-init` key to use [cloud-init](https://cloudinit.readthedocs.io/en/latest/) on your instance.
|
@@ -2028,7 +2091,7 @@ class InstanceServer(pulumi.CustomResource):
|
|
2028
2091
|
|
2029
2092
|
@property
|
2030
2093
|
@pulumi.getter
|
2031
|
-
def zone(self) -> pulumi.Output[str]:
|
2094
|
+
def zone(self) -> pulumi.Output[builtins.str]:
|
2032
2095
|
"""
|
2033
2096
|
`zone`) The zone in which the server should be created.
|
2034
2097
|
"""
|