pulumiverse-scaleway 1.34.2a1759388651__py3-none-any.whl → 1.35.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +1 -1
- pulumiverse_scaleway/_inputs.py +2769 -2816
- pulumiverse_scaleway/account/__init__.py +1 -1
- pulumiverse_scaleway/account/get_availability_zones.py +11 -12
- pulumiverse_scaleway/account/get_project.py +27 -28
- pulumiverse_scaleway/account/get_projects.py +18 -19
- pulumiverse_scaleway/account/get_ssh_key.py +33 -34
- pulumiverse_scaleway/account/outputs.py +25 -26
- pulumiverse_scaleway/account/project.py +70 -71
- pulumiverse_scaleway/account/ssh_key.py +105 -106
- pulumiverse_scaleway/account_project.py +70 -71
- pulumiverse_scaleway/account_ssh_key.py +105 -106
- pulumiverse_scaleway/apple_silicon_server.py +216 -217
- pulumiverse_scaleway/applesilicon/__init__.py +1 -1
- pulumiverse_scaleway/applesilicon/_inputs.py +50 -51
- pulumiverse_scaleway/applesilicon/outputs.py +34 -35
- pulumiverse_scaleway/applesilicon/server.py +216 -217
- pulumiverse_scaleway/autoscaling/__init__.py +1 -1
- pulumiverse_scaleway/autoscaling/_inputs.py +130 -131
- pulumiverse_scaleway/autoscaling/instance_group.py +127 -128
- pulumiverse_scaleway/autoscaling/instance_policy.py +140 -141
- pulumiverse_scaleway/autoscaling/instance_template.py +235 -236
- pulumiverse_scaleway/autoscaling/outputs.py +88 -89
- pulumiverse_scaleway/baremetal_server.py +366 -351
- pulumiverse_scaleway/billing/__init__.py +1 -1
- pulumiverse_scaleway/billing/get_consumptions.py +18 -15
- pulumiverse_scaleway/billing/get_invoices.py +24 -25
- pulumiverse_scaleway/billing/outputs.py +95 -96
- pulumiverse_scaleway/block/__init__.py +1 -1
- pulumiverse_scaleway/block/_inputs.py +25 -26
- pulumiverse_scaleway/block/get_snapshot.py +37 -38
- pulumiverse_scaleway/block/get_volume.py +37 -38
- pulumiverse_scaleway/block/outputs.py +33 -34
- pulumiverse_scaleway/block/snapshot.py +100 -93
- pulumiverse_scaleway/block/volume.py +137 -138
- pulumiverse_scaleway/block_snapshot.py +100 -93
- pulumiverse_scaleway/block_volume.py +137 -138
- pulumiverse_scaleway/cockpit.py +48 -49
- pulumiverse_scaleway/cockpit_alert_manager.py +64 -65
- pulumiverse_scaleway/cockpit_grafana_user.py +70 -71
- pulumiverse_scaleway/cockpit_source.py +140 -141
- pulumiverse_scaleway/cockpit_token.py +82 -83
- pulumiverse_scaleway/config/__init__.py +1 -1
- pulumiverse_scaleway/config/__init__.pyi +1 -2
- pulumiverse_scaleway/config/vars.py +9 -10
- pulumiverse_scaleway/container.py +476 -477
- pulumiverse_scaleway/container_cron.py +95 -96
- pulumiverse_scaleway/container_domain.py +61 -62
- pulumiverse_scaleway/container_namespace.py +181 -182
- pulumiverse_scaleway/container_token.py +95 -96
- pulumiverse_scaleway/container_trigger.py +75 -76
- pulumiverse_scaleway/containers/__init__.py +1 -1
- pulumiverse_scaleway/containers/_inputs.py +86 -87
- pulumiverse_scaleway/containers/container.py +476 -477
- pulumiverse_scaleway/containers/cron.py +95 -96
- pulumiverse_scaleway/containers/domain.py +61 -62
- pulumiverse_scaleway/containers/get_container.py +79 -80
- pulumiverse_scaleway/containers/get_namespace.py +45 -46
- pulumiverse_scaleway/containers/namespace.py +181 -182
- pulumiverse_scaleway/containers/outputs.py +83 -84
- pulumiverse_scaleway/containers/token.py +95 -96
- pulumiverse_scaleway/containers/trigger.py +75 -76
- pulumiverse_scaleway/database.py +79 -80
- pulumiverse_scaleway/database_acl.py +38 -39
- pulumiverse_scaleway/database_backup.py +122 -123
- pulumiverse_scaleway/database_instance.py +408 -409
- pulumiverse_scaleway/database_privilege.py +86 -87
- pulumiverse_scaleway/database_read_replica.py +58 -59
- pulumiverse_scaleway/database_user.py +86 -87
- pulumiverse_scaleway/databases/__init__.py +1 -1
- pulumiverse_scaleway/databases/_inputs.py +227 -228
- pulumiverse_scaleway/databases/acl.py +38 -39
- pulumiverse_scaleway/databases/database.py +79 -80
- pulumiverse_scaleway/databases/database_backup.py +122 -123
- pulumiverse_scaleway/databases/get_acl.py +16 -17
- pulumiverse_scaleway/databases/get_database.py +25 -26
- pulumiverse_scaleway/databases/get_database_backup.py +45 -46
- pulumiverse_scaleway/databases/get_instance.py +72 -73
- pulumiverse_scaleway/databases/get_privilege.py +29 -30
- pulumiverse_scaleway/databases/instance.py +408 -409
- pulumiverse_scaleway/databases/outputs.py +247 -248
- pulumiverse_scaleway/databases/privilege.py +86 -87
- pulumiverse_scaleway/databases/read_replica.py +58 -59
- pulumiverse_scaleway/databases/serverless_database.py +95 -96
- pulumiverse_scaleway/databases/snapshot.py +123 -124
- pulumiverse_scaleway/databases/user.py +86 -87
- pulumiverse_scaleway/domain/__init__.py +1 -1
- pulumiverse_scaleway/domain/_inputs.py +660 -661
- pulumiverse_scaleway/domain/get_record.py +51 -52
- pulumiverse_scaleway/domain/get_zone.py +33 -34
- pulumiverse_scaleway/domain/outputs.py +500 -501
- pulumiverse_scaleway/domain/record.py +150 -151
- pulumiverse_scaleway/domain/registration.py +121 -122
- pulumiverse_scaleway/domain/zone.py +106 -107
- pulumiverse_scaleway/domain_record.py +150 -151
- pulumiverse_scaleway/domain_zone.py +106 -107
- pulumiverse_scaleway/edge_services_backend_stage.py +59 -60
- pulumiverse_scaleway/edge_services_cache_stage.py +162 -159
- pulumiverse_scaleway/edge_services_dns_stage.py +130 -131
- pulumiverse_scaleway/edge_services_head_stage.py +35 -36
- pulumiverse_scaleway/edge_services_pipeline.py +79 -80
- pulumiverse_scaleway/edge_services_plan.py +35 -36
- pulumiverse_scaleway/edge_services_route_stage.py +73 -74
- pulumiverse_scaleway/edge_services_tls_stage.py +150 -151
- pulumiverse_scaleway/edge_services_waf_stage.py +104 -105
- pulumiverse_scaleway/elasticmetal/__init__.py +1 -1
- pulumiverse_scaleway/elasticmetal/_inputs.py +146 -147
- pulumiverse_scaleway/elasticmetal/get_ip.py +41 -42
- pulumiverse_scaleway/elasticmetal/get_ips.py +30 -31
- pulumiverse_scaleway/elasticmetal/get_offer.py +40 -41
- pulumiverse_scaleway/elasticmetal/get_option.py +23 -24
- pulumiverse_scaleway/elasticmetal/get_os.py +27 -28
- pulumiverse_scaleway/elasticmetal/get_partition_schema.py +35 -36
- pulumiverse_scaleway/elasticmetal/get_server.py +69 -70
- pulumiverse_scaleway/elasticmetal/ip.py +165 -166
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +105 -106
- pulumiverse_scaleway/elasticmetal/outputs.py +312 -312
- pulumiverse_scaleway/elasticmetal/server.py +366 -351
- pulumiverse_scaleway/file_filesystem.py +137 -134
- pulumiverse_scaleway/flexible_ip.py +165 -166
- pulumiverse_scaleway/flexible_ip_mac_address.py +105 -106
- pulumiverse_scaleway/function.py +381 -382
- pulumiverse_scaleway/function_cron.py +95 -96
- pulumiverse_scaleway/function_domain.py +61 -62
- pulumiverse_scaleway/function_namespace.py +164 -165
- pulumiverse_scaleway/function_token.py +95 -96
- pulumiverse_scaleway/function_trigger.py +75 -76
- pulumiverse_scaleway/functions/__init__.py +1 -1
- pulumiverse_scaleway/functions/_inputs.py +49 -50
- pulumiverse_scaleway/functions/cron.py +95 -96
- pulumiverse_scaleway/functions/domain.py +61 -62
- pulumiverse_scaleway/functions/function.py +381 -382
- pulumiverse_scaleway/functions/get_function.py +73 -74
- pulumiverse_scaleway/functions/get_namespace.py +43 -44
- pulumiverse_scaleway/functions/namespace.py +164 -165
- pulumiverse_scaleway/functions/outputs.py +33 -34
- pulumiverse_scaleway/functions/token.py +95 -96
- pulumiverse_scaleway/functions/trigger.py +75 -76
- pulumiverse_scaleway/get_account_project.py +27 -28
- pulumiverse_scaleway/get_account_ssh_key.py +33 -34
- pulumiverse_scaleway/get_availability_zones.py +11 -12
- pulumiverse_scaleway/get_baremetal_offer.py +40 -41
- pulumiverse_scaleway/get_baremetal_option.py +23 -24
- pulumiverse_scaleway/get_baremetal_os.py +27 -28
- pulumiverse_scaleway/get_baremetal_server.py +69 -70
- pulumiverse_scaleway/get_billing_consumptions.py +18 -15
- pulumiverse_scaleway/get_billing_invoices.py +24 -25
- pulumiverse_scaleway/get_block_snapshot.py +37 -38
- pulumiverse_scaleway/get_block_volume.py +37 -38
- pulumiverse_scaleway/get_cockpit.py +15 -16
- pulumiverse_scaleway/get_cockpit_source.py +49 -50
- pulumiverse_scaleway/get_config.py +23 -24
- pulumiverse_scaleway/get_container.py +79 -80
- pulumiverse_scaleway/get_container_namespace.py +45 -46
- pulumiverse_scaleway/get_database.py +25 -26
- pulumiverse_scaleway/get_database_acl.py +16 -17
- pulumiverse_scaleway/get_database_backup.py +45 -46
- pulumiverse_scaleway/get_database_instance.py +72 -73
- pulumiverse_scaleway/get_database_privilege.py +29 -30
- pulumiverse_scaleway/get_domain_record.py +51 -52
- pulumiverse_scaleway/get_domain_zone.py +33 -34
- pulumiverse_scaleway/get_flexible_ip.py +41 -42
- pulumiverse_scaleway/get_flexible_ips.py +30 -31
- pulumiverse_scaleway/get_function.py +73 -74
- pulumiverse_scaleway/get_function_namespace.py +43 -44
- pulumiverse_scaleway/get_iam_api_key.py +27 -28
- pulumiverse_scaleway/get_iam_application.py +31 -32
- pulumiverse_scaleway/get_iam_group.py +35 -36
- pulumiverse_scaleway/get_iam_ssh_key.py +33 -34
- pulumiverse_scaleway/get_iam_user.py +27 -28
- pulumiverse_scaleway/get_instance_image.py +57 -58
- pulumiverse_scaleway/get_instance_ip.py +29 -30
- pulumiverse_scaleway/get_instance_placement_group.py +37 -38
- pulumiverse_scaleway/get_instance_private_nic.py +40 -41
- pulumiverse_scaleway/get_instance_security_group.py +45 -46
- pulumiverse_scaleway/get_instance_server.py +81 -82
- pulumiverse_scaleway/get_instance_servers.py +30 -31
- pulumiverse_scaleway/get_instance_snapshot.py +40 -41
- pulumiverse_scaleway/get_instance_volume.py +41 -42
- pulumiverse_scaleway/get_iot_device.py +45 -46
- pulumiverse_scaleway/get_iot_hub.py +59 -60
- pulumiverse_scaleway/get_ipam_ip.py +64 -65
- pulumiverse_scaleway/get_ipam_ips.py +55 -56
- pulumiverse_scaleway/get_k8s_version.py +21 -22
- pulumiverse_scaleway/get_kubernetes_cluster.py +63 -64
- pulumiverse_scaleway/get_kubernetes_node_pool.py +75 -76
- pulumiverse_scaleway/get_lb_acls.py +28 -29
- pulumiverse_scaleway/get_lb_backend.py +74 -75
- pulumiverse_scaleway/get_lb_backends.py +28 -29
- pulumiverse_scaleway/get_lb_frontend.py +44 -45
- pulumiverse_scaleway/get_lb_frontends.py +28 -29
- pulumiverse_scaleway/get_lb_ips.py +36 -37
- pulumiverse_scaleway/get_lb_route.py +25 -26
- pulumiverse_scaleway/get_lb_routes.py +22 -23
- pulumiverse_scaleway/get_lbs.py +30 -31
- pulumiverse_scaleway/get_loadbalancer.py +55 -56
- pulumiverse_scaleway/get_loadbalancer_certificate.py +35 -36
- pulumiverse_scaleway/get_loadbalancer_ip.py +39 -40
- pulumiverse_scaleway/get_marketplace_image.py +27 -28
- pulumiverse_scaleway/get_mnq_sns.py +17 -18
- pulumiverse_scaleway/get_mnq_sqs.py +17 -18
- pulumiverse_scaleway/get_mongo_db_instance.py +62 -63
- pulumiverse_scaleway/get_object_bucket.py +34 -35
- pulumiverse_scaleway/get_object_bucket_policy.py +21 -22
- pulumiverse_scaleway/get_redis_cluster.py +53 -54
- pulumiverse_scaleway/get_registry_image.py +47 -48
- pulumiverse_scaleway/get_registry_image_tag.py +43 -44
- pulumiverse_scaleway/get_registry_namespace.py +35 -36
- pulumiverse_scaleway/get_secret.py +57 -58
- pulumiverse_scaleway/get_secret_version.py +45 -46
- pulumiverse_scaleway/get_tem_domain.py +102 -70
- pulumiverse_scaleway/get_vpc.py +47 -48
- pulumiverse_scaleway/get_vpc_gateway_network.py +43 -44
- pulumiverse_scaleway/get_vpc_private_network.py +47 -48
- pulumiverse_scaleway/get_vpc_public_gateway.py +55 -56
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +31 -32
- pulumiverse_scaleway/get_vpc_routes.py +46 -47
- pulumiverse_scaleway/get_vpcs.py +30 -31
- pulumiverse_scaleway/get_web_host_offer.py +33 -34
- pulumiverse_scaleway/get_webhosting.py +57 -58
- pulumiverse_scaleway/hosting/__init__.py +1 -1
- pulumiverse_scaleway/hosting/_inputs.py +80 -81
- pulumiverse_scaleway/hosting/get_hosting.py +57 -58
- pulumiverse_scaleway/hosting/get_offer.py +33 -34
- pulumiverse_scaleway/hosting/hosting.py +209 -210
- pulumiverse_scaleway/hosting/outputs.py +211 -212
- pulumiverse_scaleway/iam/__init__.py +1 -1
- pulumiverse_scaleway/iam/_inputs.py +25 -26
- pulumiverse_scaleway/iam/api_key.py +140 -141
- pulumiverse_scaleway/iam/application.py +96 -97
- pulumiverse_scaleway/iam/get_api_key.py +27 -28
- pulumiverse_scaleway/iam/get_application.py +31 -32
- pulumiverse_scaleway/iam/get_group.py +35 -36
- pulumiverse_scaleway/iam/get_ssh_key.py +33 -34
- pulumiverse_scaleway/iam/get_user.py +27 -28
- pulumiverse_scaleway/iam/group.py +138 -139
- pulumiverse_scaleway/iam/group_membership.py +52 -53
- pulumiverse_scaleway/iam/outputs.py +17 -18
- pulumiverse_scaleway/iam/policy.py +167 -168
- pulumiverse_scaleway/iam/ssh_key.py +105 -106
- pulumiverse_scaleway/iam/user.py +269 -270
- pulumiverse_scaleway/iam_api_key.py +140 -141
- pulumiverse_scaleway/iam_application.py +96 -97
- pulumiverse_scaleway/iam_group.py +138 -139
- pulumiverse_scaleway/iam_group_membership.py +52 -53
- pulumiverse_scaleway/iam_policy.py +167 -168
- pulumiverse_scaleway/iam_ssh_key.py +105 -106
- pulumiverse_scaleway/iam_user.py +269 -270
- pulumiverse_scaleway/inference/__init__.py +1 -1
- pulumiverse_scaleway/inference/_inputs.py +86 -87
- pulumiverse_scaleway/inference/deployment.py +229 -226
- pulumiverse_scaleway/inference/get_model.py +42 -43
- pulumiverse_scaleway/inference/model.py +160 -161
- pulumiverse_scaleway/inference/outputs.py +75 -76
- pulumiverse_scaleway/inference_deployment.py +229 -226
- pulumiverse_scaleway/instance/__init__.py +2 -1
- pulumiverse_scaleway/instance/_inputs.py +431 -478
- pulumiverse_scaleway/instance/get_image.py +57 -58
- pulumiverse_scaleway/instance/get_ip.py +29 -30
- pulumiverse_scaleway/instance/get_placement_group.py +37 -38
- pulumiverse_scaleway/instance/get_private_nic.py +40 -41
- pulumiverse_scaleway/instance/get_security_group.py +45 -46
- pulumiverse_scaleway/instance/get_server.py +81 -82
- pulumiverse_scaleway/instance/get_server_type.py +271 -0
- pulumiverse_scaleway/instance/get_servers.py +30 -31
- pulumiverse_scaleway/instance/get_snapshot.py +40 -41
- pulumiverse_scaleway/instance/get_volume.py +41 -42
- pulumiverse_scaleway/instance/image.py +258 -205
- pulumiverse_scaleway/instance/ip.py +114 -115
- pulumiverse_scaleway/instance/ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance/outputs.py +702 -574
- pulumiverse_scaleway/instance/placement_group.py +121 -122
- pulumiverse_scaleway/instance/private_nic.py +115 -116
- pulumiverse_scaleway/instance/security_group.py +186 -187
- pulumiverse_scaleway/instance/security_group_rules.py +24 -25
- pulumiverse_scaleway/instance/server.py +433 -434
- pulumiverse_scaleway/instance/snapshot.py +133 -162
- pulumiverse_scaleway/instance/user_data.py +69 -70
- pulumiverse_scaleway/instance/volume.py +155 -177
- pulumiverse_scaleway/instance_image.py +258 -205
- pulumiverse_scaleway/instance_ip.py +114 -115
- pulumiverse_scaleway/instance_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/instance_placement_group.py +121 -122
- pulumiverse_scaleway/instance_private_nic.py +115 -116
- pulumiverse_scaleway/instance_security_group.py +186 -187
- pulumiverse_scaleway/instance_security_group_rules.py +24 -25
- pulumiverse_scaleway/instance_server.py +433 -434
- pulumiverse_scaleway/instance_snapshot.py +133 -162
- pulumiverse_scaleway/instance_user_data.py +69 -70
- pulumiverse_scaleway/instance_volume.py +155 -177
- pulumiverse_scaleway/iot/__init__.py +1 -1
- pulumiverse_scaleway/iot/_inputs.py +118 -119
- pulumiverse_scaleway/iot/device.py +154 -155
- pulumiverse_scaleway/iot/get_device.py +45 -46
- pulumiverse_scaleway/iot/get_hub.py +59 -60
- pulumiverse_scaleway/iot/hub.py +252 -253
- pulumiverse_scaleway/iot/network.py +113 -114
- pulumiverse_scaleway/iot/outputs.py +106 -107
- pulumiverse_scaleway/iot/route.py +87 -88
- pulumiverse_scaleway/iot_device.py +154 -155
- pulumiverse_scaleway/iot_hub.py +252 -253
- pulumiverse_scaleway/iot_network.py +113 -114
- pulumiverse_scaleway/iot_route.py +87 -88
- pulumiverse_scaleway/ipam/__init__.py +1 -1
- pulumiverse_scaleway/ipam/_inputs.py +103 -104
- pulumiverse_scaleway/ipam/get_ip.py +64 -65
- pulumiverse_scaleway/ipam/get_ips.py +55 -56
- pulumiverse_scaleway/ipam/ip.py +123 -124
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/ipam/outputs.py +119 -120
- pulumiverse_scaleway/ipam_ip.py +123 -124
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +69 -70
- pulumiverse_scaleway/job/__init__.py +1 -1
- pulumiverse_scaleway/job/_inputs.py +44 -45
- pulumiverse_scaleway/job/definition.py +177 -178
- pulumiverse_scaleway/job/outputs.py +30 -31
- pulumiverse_scaleway/job_definition.py +177 -178
- pulumiverse_scaleway/key_manager_key.py +334 -226
- pulumiverse_scaleway/kubernetes/__init__.py +1 -1
- pulumiverse_scaleway/kubernetes/_inputs.py +227 -228
- pulumiverse_scaleway/kubernetes/acl.py +55 -56
- pulumiverse_scaleway/kubernetes/cluster.py +350 -297
- pulumiverse_scaleway/kubernetes/get_cluster.py +63 -64
- pulumiverse_scaleway/kubernetes/get_pool.py +75 -76
- pulumiverse_scaleway/kubernetes/get_version.py +21 -22
- pulumiverse_scaleway/kubernetes/outputs.py +288 -289
- pulumiverse_scaleway/kubernetes/pool.py +374 -375
- pulumiverse_scaleway/kubernetes_cluster.py +350 -297
- pulumiverse_scaleway/kubernetes_node_pool.py +374 -375
- pulumiverse_scaleway/loadbalancer.py +246 -247
- pulumiverse_scaleway/loadbalancer_acl.py +93 -94
- pulumiverse_scaleway/loadbalancer_backend.py +493 -487
- pulumiverse_scaleway/loadbalancer_certificate.py +95 -96
- pulumiverse_scaleway/loadbalancer_frontend.py +201 -202
- pulumiverse_scaleway/loadbalancer_ip.py +122 -123
- pulumiverse_scaleway/loadbalancer_route.py +121 -122
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -1
- pulumiverse_scaleway/loadbalancers/_inputs.py +281 -282
- pulumiverse_scaleway/loadbalancers/acl.py +93 -94
- pulumiverse_scaleway/loadbalancers/backend.py +493 -487
- pulumiverse_scaleway/loadbalancers/certificate.py +95 -96
- pulumiverse_scaleway/loadbalancers/frontend.py +201 -202
- pulumiverse_scaleway/loadbalancers/get_acls.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_backend.py +74 -75
- pulumiverse_scaleway/loadbalancers/get_backends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_certificate.py +35 -36
- pulumiverse_scaleway/loadbalancers/get_frontend.py +44 -45
- pulumiverse_scaleway/loadbalancers/get_frontends.py +28 -29
- pulumiverse_scaleway/loadbalancers/get_ip.py +39 -40
- pulumiverse_scaleway/loadbalancers/get_ips.py +36 -37
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +55 -56
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +30 -31
- pulumiverse_scaleway/loadbalancers/get_route.py +25 -26
- pulumiverse_scaleway/loadbalancers/get_routes.py +22 -23
- pulumiverse_scaleway/loadbalancers/ip.py +122 -123
- pulumiverse_scaleway/loadbalancers/load_balancer.py +246 -247
- pulumiverse_scaleway/loadbalancers/outputs.py +754 -751
- pulumiverse_scaleway/loadbalancers/route.py +121 -122
- pulumiverse_scaleway/mnq/__init__.py +1 -1
- pulumiverse_scaleway/mnq/_inputs.py +49 -50
- pulumiverse_scaleway/mnq/get_sns.py +17 -18
- pulumiverse_scaleway/mnq/get_sqs.py +17 -18
- pulumiverse_scaleway/mnq/nats_account.py +61 -62
- pulumiverse_scaleway/mnq/nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq/outputs.py +33 -34
- pulumiverse_scaleway/mnq/sns.py +44 -45
- pulumiverse_scaleway/mnq/sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sns_topic.py +172 -173
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq/sqs.py +44 -45
- pulumiverse_scaleway/mnq/sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq/sqs_queue.py +243 -244
- pulumiverse_scaleway/mnq_nats_account.py +61 -62
- pulumiverse_scaleway/mnq_nats_credentials.py +61 -62
- pulumiverse_scaleway/mnq_sns.py +44 -45
- pulumiverse_scaleway/mnq_sns_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sns_topic.py +172 -173
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +180 -181
- pulumiverse_scaleway/mnq_sqs.py +44 -45
- pulumiverse_scaleway/mnq_sqs_credentials.py +73 -74
- pulumiverse_scaleway/mnq_sqs_queue.py +243 -244
- pulumiverse_scaleway/mongo_db_instance.py +309 -310
- pulumiverse_scaleway/mongo_db_snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/__init__.py +1 -1
- pulumiverse_scaleway/mongodb/_inputs.py +80 -81
- pulumiverse_scaleway/mongodb/get_instance.py +62 -63
- pulumiverse_scaleway/mongodb/instance.py +309 -310
- pulumiverse_scaleway/mongodb/outputs.py +95 -96
- pulumiverse_scaleway/mongodb/snapshot.py +123 -124
- pulumiverse_scaleway/mongodb/user.py +72 -73
- pulumiverse_scaleway/network/__init__.py +1 -1
- pulumiverse_scaleway/network/_inputs.py +166 -167
- pulumiverse_scaleway/network/acl.py +72 -73
- pulumiverse_scaleway/network/gateway_network.py +179 -180
- pulumiverse_scaleway/network/get_gateway_network.py +43 -44
- pulumiverse_scaleway/network/get_private_network.py +47 -48
- pulumiverse_scaleway/network/get_public_gateway.py +55 -56
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +43 -44
- pulumiverse_scaleway/network/get_public_gateway_ip.py +23 -24
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +31 -32
- pulumiverse_scaleway/network/get_routes.py +46 -47
- pulumiverse_scaleway/network/get_vpc.py +47 -48
- pulumiverse_scaleway/network/get_vpcs.py +30 -31
- pulumiverse_scaleway/network/outputs.py +288 -287
- pulumiverse_scaleway/network/private_network.py +170 -171
- pulumiverse_scaleway/network/public_gateway.py +259 -260
- pulumiverse_scaleway/network/public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip.py +105 -106
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/network/route.py +138 -139
- pulumiverse_scaleway/network/vpc.py +139 -140
- pulumiverse_scaleway/object/__init__.py +1 -1
- pulumiverse_scaleway/object/_inputs.py +164 -165
- pulumiverse_scaleway/object/bucket.py +147 -148
- pulumiverse_scaleway/object/bucket_acl.py +89 -90
- pulumiverse_scaleway/object/bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object/bucket_policy.py +69 -70
- pulumiverse_scaleway/object/bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object/get_bucket.py +34 -35
- pulumiverse_scaleway/object/get_bucket_policy.py +21 -22
- pulumiverse_scaleway/object/item.py +239 -240
- pulumiverse_scaleway/object/outputs.py +171 -172
- pulumiverse_scaleway/object_bucket.py +147 -148
- pulumiverse_scaleway/object_bucket_acl.py +89 -90
- pulumiverse_scaleway/object_bucket_lock_configuration.py +55 -56
- pulumiverse_scaleway/object_bucket_policy.py +69 -70
- pulumiverse_scaleway/object_bucket_website_configuration.py +76 -77
- pulumiverse_scaleway/object_item.py +239 -240
- pulumiverse_scaleway/observability/__init__.py +1 -1
- pulumiverse_scaleway/observability/_inputs.py +105 -106
- pulumiverse_scaleway/observability/alert_manager.py +64 -65
- pulumiverse_scaleway/observability/cockpit.py +48 -49
- pulumiverse_scaleway/observability/get_instance.py +15 -16
- pulumiverse_scaleway/observability/get_source.py +49 -50
- pulumiverse_scaleway/observability/get_sources.py +46 -47
- pulumiverse_scaleway/observability/grafana_user.py +70 -71
- pulumiverse_scaleway/observability/outputs.py +149 -150
- pulumiverse_scaleway/observability/source.py +140 -141
- pulumiverse_scaleway/observability/token.py +82 -83
- pulumiverse_scaleway/outputs.py +3934 -3944
- pulumiverse_scaleway/provider.py +82 -83
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +123 -124
- pulumiverse_scaleway/redis/__init__.py +1 -1
- pulumiverse_scaleway/redis/_inputs.py +86 -87
- pulumiverse_scaleway/redis/cluster.py +227 -228
- pulumiverse_scaleway/redis/get_cluster.py +53 -54
- pulumiverse_scaleway/redis/outputs.py +115 -116
- pulumiverse_scaleway/redis_cluster.py +227 -228
- pulumiverse_scaleway/registry/__init__.py +1 -1
- pulumiverse_scaleway/registry/get_image.py +47 -48
- pulumiverse_scaleway/registry/get_image_tag.py +43 -44
- pulumiverse_scaleway/registry/get_namespace.py +35 -36
- pulumiverse_scaleway/registry/namespace.py +104 -105
- pulumiverse_scaleway/registry_namespace.py +104 -105
- pulumiverse_scaleway/sdb_database.py +95 -96
- pulumiverse_scaleway/secret.py +178 -179
- pulumiverse_scaleway/secret_version.py +105 -106
- pulumiverse_scaleway/secrets/__init__.py +1 -1
- pulumiverse_scaleway/secrets/_inputs.py +62 -63
- pulumiverse_scaleway/secrets/get_secret.py +57 -58
- pulumiverse_scaleway/secrets/get_version.py +45 -46
- pulumiverse_scaleway/secrets/outputs.py +83 -84
- pulumiverse_scaleway/secrets/secret.py +178 -179
- pulumiverse_scaleway/secrets/version.py +105 -106
- pulumiverse_scaleway/tem/__init__.py +1 -1
- pulumiverse_scaleway/tem/_inputs.py +32 -33
- pulumiverse_scaleway/tem/blocked_list.py +103 -104
- pulumiverse_scaleway/tem/domain.py +340 -257
- pulumiverse_scaleway/tem/domain_validation.py +61 -62
- pulumiverse_scaleway/tem/get_domain.py +102 -70
- pulumiverse_scaleway/tem/get_offer_subscription.py +33 -34
- pulumiverse_scaleway/tem/outputs.py +43 -44
- pulumiverse_scaleway/tem/webhook.py +130 -131
- pulumiverse_scaleway/tem_domain.py +340 -257
- pulumiverse_scaleway/tem_domain_validation.py +61 -62
- pulumiverse_scaleway/tem_webhook.py +130 -131
- pulumiverse_scaleway/vpc.py +139 -140
- pulumiverse_scaleway/vpc_gateway_network.py +179 -180
- pulumiverse_scaleway/vpc_private_network.py +170 -171
- pulumiverse_scaleway/vpc_public_gateway.py +259 -260
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +283 -284
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip.py +105 -106
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +52 -53
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +130 -131
- pulumiverse_scaleway/vpc_route.py +138 -139
- pulumiverse_scaleway/webhosting.py +209 -210
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.35.0.dist-info/RECORD +500 -0
- pulumiverse_scaleway-1.34.2a1759388651.dist-info/RECORD +0 -499
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.34.2a1759388651.dist-info → pulumiverse_scaleway-1.35.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,26 +21,24 @@ __all__ = ['InstanceImageArgs', 'InstanceImage']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class InstanceImageArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
root_volume_id: pulumi.Input[
|
|
26
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
27
|
-
architecture: Optional[pulumi.Input[
|
|
28
|
-
name: Optional[pulumi.Input[
|
|
29
|
-
project_id: Optional[pulumi.Input[
|
|
30
|
-
public: Optional[pulumi.Input[
|
|
31
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
32
|
-
zone: Optional[pulumi.Input[
|
|
24
|
+
root_volume_id: pulumi.Input[_builtins.str],
|
|
25
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
26
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
30
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
31
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
33
32
|
"""
|
|
34
33
|
The set of arguments for constructing a InstanceImage resource.
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the image.
|
|
44
|
-
:param pulumi.Input[builtins.str] zone: The zone in which the image should be created.
|
|
34
|
+
:param pulumi.Input[_builtins.str] root_volume_id: The ID of the snapshot of the volume to be used as root in the image.
|
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
36
|
+
:param pulumi.Input[_builtins.str] architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
37
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
38
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project the image is associated with.
|
|
39
|
+
:param pulumi.Input[_builtins.bool] public: Set to `true` if the image is public.
|
|
40
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
41
|
+
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
45
42
|
"""
|
|
46
43
|
pulumi.set(__self__, "root_volume_id", root_volume_id)
|
|
47
44
|
if additional_volume_ids is not None:
|
|
@@ -59,140 +56,138 @@ class InstanceImageArgs:
|
|
|
59
56
|
if zone is not None:
|
|
60
57
|
pulumi.set(__self__, "zone", zone)
|
|
61
58
|
|
|
62
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
63
60
|
@pulumi.getter(name="rootVolumeId")
|
|
64
|
-
def root_volume_id(self) -> pulumi.Input[
|
|
61
|
+
def root_volume_id(self) -> pulumi.Input[_builtins.str]:
|
|
65
62
|
"""
|
|
66
63
|
The ID of the snapshot of the volume to be used as root in the image.
|
|
67
64
|
"""
|
|
68
65
|
return pulumi.get(self, "root_volume_id")
|
|
69
66
|
|
|
70
67
|
@root_volume_id.setter
|
|
71
|
-
def root_volume_id(self, value: pulumi.Input[
|
|
68
|
+
def root_volume_id(self, value: pulumi.Input[_builtins.str]):
|
|
72
69
|
pulumi.set(self, "root_volume_id", value)
|
|
73
70
|
|
|
74
|
-
@property
|
|
71
|
+
@_builtins.property
|
|
75
72
|
@pulumi.getter(name="additionalVolumeIds")
|
|
76
|
-
def additional_volume_ids(self) -> Optional[pulumi.Input[
|
|
73
|
+
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
77
74
|
"""
|
|
78
75
|
List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
79
|
-
|
|
80
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
81
76
|
"""
|
|
82
77
|
return pulumi.get(self, "additional_volume_ids")
|
|
83
78
|
|
|
84
79
|
@additional_volume_ids.setter
|
|
85
|
-
def additional_volume_ids(self, value: Optional[pulumi.Input[
|
|
80
|
+
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
86
81
|
pulumi.set(self, "additional_volume_ids", value)
|
|
87
82
|
|
|
88
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
89
84
|
@pulumi.getter
|
|
90
|
-
def architecture(self) -> Optional[pulumi.Input[
|
|
85
|
+
def architecture(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
91
86
|
"""
|
|
92
87
|
The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
93
88
|
"""
|
|
94
89
|
return pulumi.get(self, "architecture")
|
|
95
90
|
|
|
96
91
|
@architecture.setter
|
|
97
|
-
def architecture(self, value: Optional[pulumi.Input[
|
|
92
|
+
def architecture(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
98
93
|
pulumi.set(self, "architecture", value)
|
|
99
94
|
|
|
100
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
101
96
|
@pulumi.getter
|
|
102
|
-
def name(self) -> Optional[pulumi.Input[
|
|
97
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
103
98
|
"""
|
|
104
99
|
The name of the image. If not provided it will be randomly generated.
|
|
105
100
|
"""
|
|
106
101
|
return pulumi.get(self, "name")
|
|
107
102
|
|
|
108
103
|
@name.setter
|
|
109
|
-
def name(self, value: Optional[pulumi.Input[
|
|
104
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
110
105
|
pulumi.set(self, "name", value)
|
|
111
106
|
|
|
112
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
113
108
|
@pulumi.getter(name="projectId")
|
|
114
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
109
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
115
110
|
"""
|
|
116
111
|
The ID of the project the image is associated with.
|
|
117
112
|
"""
|
|
118
113
|
return pulumi.get(self, "project_id")
|
|
119
114
|
|
|
120
115
|
@project_id.setter
|
|
121
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
116
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
122
117
|
pulumi.set(self, "project_id", value)
|
|
123
118
|
|
|
124
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
125
120
|
@pulumi.getter
|
|
126
|
-
def public(self) -> Optional[pulumi.Input[
|
|
121
|
+
def public(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
127
122
|
"""
|
|
128
123
|
Set to `true` if the image is public.
|
|
129
124
|
"""
|
|
130
125
|
return pulumi.get(self, "public")
|
|
131
126
|
|
|
132
127
|
@public.setter
|
|
133
|
-
def public(self, value: Optional[pulumi.Input[
|
|
128
|
+
def public(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
134
129
|
pulumi.set(self, "public", value)
|
|
135
130
|
|
|
136
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
137
132
|
@pulumi.getter
|
|
138
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
133
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
139
134
|
"""
|
|
140
135
|
A list of tags to apply to the image.
|
|
141
136
|
"""
|
|
142
137
|
return pulumi.get(self, "tags")
|
|
143
138
|
|
|
144
139
|
@tags.setter
|
|
145
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
140
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
146
141
|
pulumi.set(self, "tags", value)
|
|
147
142
|
|
|
148
|
-
@property
|
|
143
|
+
@_builtins.property
|
|
149
144
|
@pulumi.getter
|
|
150
|
-
def zone(self) -> Optional[pulumi.Input[
|
|
145
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
151
146
|
"""
|
|
152
147
|
The zone in which the image should be created.
|
|
153
148
|
"""
|
|
154
149
|
return pulumi.get(self, "zone")
|
|
155
150
|
|
|
156
151
|
@zone.setter
|
|
157
|
-
def zone(self, value: Optional[pulumi.Input[
|
|
152
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
158
153
|
pulumi.set(self, "zone", value)
|
|
159
154
|
|
|
160
155
|
|
|
161
156
|
@pulumi.input_type
|
|
162
157
|
class _InstanceImageState:
|
|
163
158
|
def __init__(__self__, *,
|
|
164
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
159
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
165
160
|
additional_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceImageAdditionalVolumeArgs']]]] = None,
|
|
166
|
-
architecture: Optional[pulumi.Input[
|
|
167
|
-
creation_date: Optional[pulumi.Input[
|
|
168
|
-
from_server_id: Optional[pulumi.Input[
|
|
169
|
-
modification_date: Optional[pulumi.Input[
|
|
170
|
-
name: Optional[pulumi.Input[
|
|
171
|
-
organization_id: Optional[pulumi.Input[
|
|
172
|
-
project_id: Optional[pulumi.Input[
|
|
173
|
-
public: Optional[pulumi.Input[
|
|
174
|
-
root_volume_id: Optional[pulumi.Input[
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
161
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
162
|
+
creation_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
163
|
+
from_server_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
164
|
+
modification_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
165
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
169
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
170
|
+
root_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceImageRootVolumeArgs']]]] = None,
|
|
171
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
172
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
173
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
178
174
|
"""
|
|
179
175
|
Input properties used for looking up and filtering InstanceImage resources.
|
|
180
|
-
:param pulumi.Input[
|
|
181
|
-
|
|
182
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
176
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
183
177
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceImageAdditionalVolumeArgs']]] additional_volumes: The description of the extra volumes attached to the image.
|
|
184
|
-
:param pulumi.Input[
|
|
185
|
-
:param pulumi.Input[
|
|
186
|
-
:param pulumi.Input[
|
|
187
|
-
:param pulumi.Input[
|
|
188
|
-
:param pulumi.Input[
|
|
189
|
-
:param pulumi.Input[
|
|
190
|
-
:param pulumi.Input[
|
|
191
|
-
:param pulumi.Input[
|
|
192
|
-
:param pulumi.Input[
|
|
193
|
-
:param pulumi.Input[
|
|
194
|
-
:param pulumi.Input[
|
|
195
|
-
:param pulumi.Input[
|
|
178
|
+
:param pulumi.Input[_builtins.str] architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
179
|
+
:param pulumi.Input[_builtins.str] creation_date: Date of the image creation.
|
|
180
|
+
:param pulumi.Input[_builtins.str] from_server_id: ID of the server the image is based on (in case it is a backup).
|
|
181
|
+
:param pulumi.Input[_builtins.str] modification_date: Date of image latest update.
|
|
182
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
183
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the image is associated with.
|
|
184
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project the image is associated with.
|
|
185
|
+
:param pulumi.Input[_builtins.bool] public: Set to `true` if the image is public.
|
|
186
|
+
:param pulumi.Input[_builtins.str] root_volume_id: The ID of the snapshot of the volume to be used as root in the image.
|
|
187
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceImageRootVolumeArgs']]] root_volumes: The description of the root volume attached to the image.
|
|
188
|
+
:param pulumi.Input[_builtins.str] state: State of the image. Possible values are: `available`, `creating` or `error`.
|
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
190
|
+
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
196
191
|
"""
|
|
197
192
|
if additional_volume_ids is not None:
|
|
198
193
|
pulumi.set(__self__, "additional_volume_ids", additional_volume_ids)
|
|
@@ -216,6 +211,8 @@ class _InstanceImageState:
|
|
|
216
211
|
pulumi.set(__self__, "public", public)
|
|
217
212
|
if root_volume_id is not None:
|
|
218
213
|
pulumi.set(__self__, "root_volume_id", root_volume_id)
|
|
214
|
+
if root_volumes is not None:
|
|
215
|
+
pulumi.set(__self__, "root_volumes", root_volumes)
|
|
219
216
|
if state is not None:
|
|
220
217
|
pulumi.set(__self__, "state", state)
|
|
221
218
|
if tags is not None:
|
|
@@ -223,21 +220,19 @@ class _InstanceImageState:
|
|
|
223
220
|
if zone is not None:
|
|
224
221
|
pulumi.set(__self__, "zone", zone)
|
|
225
222
|
|
|
226
|
-
@property
|
|
223
|
+
@_builtins.property
|
|
227
224
|
@pulumi.getter(name="additionalVolumeIds")
|
|
228
|
-
def additional_volume_ids(self) -> Optional[pulumi.Input[
|
|
225
|
+
def additional_volume_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
229
226
|
"""
|
|
230
227
|
List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
231
|
-
|
|
232
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
233
228
|
"""
|
|
234
229
|
return pulumi.get(self, "additional_volume_ids")
|
|
235
230
|
|
|
236
231
|
@additional_volume_ids.setter
|
|
237
|
-
def additional_volume_ids(self, value: Optional[pulumi.Input[
|
|
232
|
+
def additional_volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
238
233
|
pulumi.set(self, "additional_volume_ids", value)
|
|
239
234
|
|
|
240
|
-
@property
|
|
235
|
+
@_builtins.property
|
|
241
236
|
@pulumi.getter(name="additionalVolumes")
|
|
242
237
|
def additional_volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceImageAdditionalVolumeArgs']]]]:
|
|
243
238
|
"""
|
|
@@ -249,148 +244,160 @@ class _InstanceImageState:
|
|
|
249
244
|
def additional_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceImageAdditionalVolumeArgs']]]]):
|
|
250
245
|
pulumi.set(self, "additional_volumes", value)
|
|
251
246
|
|
|
252
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
253
248
|
@pulumi.getter
|
|
254
|
-
def architecture(self) -> Optional[pulumi.Input[
|
|
249
|
+
def architecture(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
255
250
|
"""
|
|
256
251
|
The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
257
252
|
"""
|
|
258
253
|
return pulumi.get(self, "architecture")
|
|
259
254
|
|
|
260
255
|
@architecture.setter
|
|
261
|
-
def architecture(self, value: Optional[pulumi.Input[
|
|
256
|
+
def architecture(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
262
257
|
pulumi.set(self, "architecture", value)
|
|
263
258
|
|
|
264
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
265
260
|
@pulumi.getter(name="creationDate")
|
|
266
|
-
def creation_date(self) -> Optional[pulumi.Input[
|
|
261
|
+
def creation_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
267
262
|
"""
|
|
268
|
-
Date of the
|
|
263
|
+
Date of the image creation.
|
|
269
264
|
"""
|
|
270
265
|
return pulumi.get(self, "creation_date")
|
|
271
266
|
|
|
272
267
|
@creation_date.setter
|
|
273
|
-
def creation_date(self, value: Optional[pulumi.Input[
|
|
268
|
+
def creation_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
274
269
|
pulumi.set(self, "creation_date", value)
|
|
275
270
|
|
|
276
|
-
@property
|
|
271
|
+
@_builtins.property
|
|
277
272
|
@pulumi.getter(name="fromServerId")
|
|
278
|
-
def from_server_id(self) -> Optional[pulumi.Input[
|
|
273
|
+
def from_server_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
279
274
|
"""
|
|
280
275
|
ID of the server the image is based on (in case it is a backup).
|
|
281
276
|
"""
|
|
282
277
|
return pulumi.get(self, "from_server_id")
|
|
283
278
|
|
|
284
279
|
@from_server_id.setter
|
|
285
|
-
def from_server_id(self, value: Optional[pulumi.Input[
|
|
280
|
+
def from_server_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
286
281
|
pulumi.set(self, "from_server_id", value)
|
|
287
282
|
|
|
288
|
-
@property
|
|
283
|
+
@_builtins.property
|
|
289
284
|
@pulumi.getter(name="modificationDate")
|
|
290
|
-
def modification_date(self) -> Optional[pulumi.Input[
|
|
285
|
+
def modification_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
291
286
|
"""
|
|
292
|
-
Date of
|
|
287
|
+
Date of image latest update.
|
|
293
288
|
"""
|
|
294
289
|
return pulumi.get(self, "modification_date")
|
|
295
290
|
|
|
296
291
|
@modification_date.setter
|
|
297
|
-
def modification_date(self, value: Optional[pulumi.Input[
|
|
292
|
+
def modification_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
298
293
|
pulumi.set(self, "modification_date", value)
|
|
299
294
|
|
|
300
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
301
296
|
@pulumi.getter
|
|
302
|
-
def name(self) -> Optional[pulumi.Input[
|
|
297
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
303
298
|
"""
|
|
304
299
|
The name of the image. If not provided it will be randomly generated.
|
|
305
300
|
"""
|
|
306
301
|
return pulumi.get(self, "name")
|
|
307
302
|
|
|
308
303
|
@name.setter
|
|
309
|
-
def name(self, value: Optional[pulumi.Input[
|
|
304
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
310
305
|
pulumi.set(self, "name", value)
|
|
311
306
|
|
|
312
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
313
308
|
@pulumi.getter(name="organizationId")
|
|
314
|
-
def organization_id(self) -> Optional[pulumi.Input[
|
|
309
|
+
def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
315
310
|
"""
|
|
316
311
|
The organization ID the image is associated with.
|
|
317
312
|
"""
|
|
318
313
|
return pulumi.get(self, "organization_id")
|
|
319
314
|
|
|
320
315
|
@organization_id.setter
|
|
321
|
-
def organization_id(self, value: Optional[pulumi.Input[
|
|
316
|
+
def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
322
317
|
pulumi.set(self, "organization_id", value)
|
|
323
318
|
|
|
324
|
-
@property
|
|
319
|
+
@_builtins.property
|
|
325
320
|
@pulumi.getter(name="projectId")
|
|
326
|
-
def project_id(self) -> Optional[pulumi.Input[
|
|
321
|
+
def project_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
327
322
|
"""
|
|
328
323
|
The ID of the project the image is associated with.
|
|
329
324
|
"""
|
|
330
325
|
return pulumi.get(self, "project_id")
|
|
331
326
|
|
|
332
327
|
@project_id.setter
|
|
333
|
-
def project_id(self, value: Optional[pulumi.Input[
|
|
328
|
+
def project_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
334
329
|
pulumi.set(self, "project_id", value)
|
|
335
330
|
|
|
336
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
337
332
|
@pulumi.getter
|
|
338
|
-
def public(self) -> Optional[pulumi.Input[
|
|
333
|
+
def public(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
339
334
|
"""
|
|
340
335
|
Set to `true` if the image is public.
|
|
341
336
|
"""
|
|
342
337
|
return pulumi.get(self, "public")
|
|
343
338
|
|
|
344
339
|
@public.setter
|
|
345
|
-
def public(self, value: Optional[pulumi.Input[
|
|
340
|
+
def public(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
346
341
|
pulumi.set(self, "public", value)
|
|
347
342
|
|
|
348
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
349
344
|
@pulumi.getter(name="rootVolumeId")
|
|
350
|
-
def root_volume_id(self) -> Optional[pulumi.Input[
|
|
345
|
+
def root_volume_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
351
346
|
"""
|
|
352
347
|
The ID of the snapshot of the volume to be used as root in the image.
|
|
353
348
|
"""
|
|
354
349
|
return pulumi.get(self, "root_volume_id")
|
|
355
350
|
|
|
356
351
|
@root_volume_id.setter
|
|
357
|
-
def root_volume_id(self, value: Optional[pulumi.Input[
|
|
352
|
+
def root_volume_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
358
353
|
pulumi.set(self, "root_volume_id", value)
|
|
359
354
|
|
|
360
|
-
@property
|
|
355
|
+
@_builtins.property
|
|
356
|
+
@pulumi.getter(name="rootVolumes")
|
|
357
|
+
def root_volumes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceImageRootVolumeArgs']]]]:
|
|
358
|
+
"""
|
|
359
|
+
The description of the root volume attached to the image.
|
|
360
|
+
"""
|
|
361
|
+
return pulumi.get(self, "root_volumes")
|
|
362
|
+
|
|
363
|
+
@root_volumes.setter
|
|
364
|
+
def root_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceImageRootVolumeArgs']]]]):
|
|
365
|
+
pulumi.set(self, "root_volumes", value)
|
|
366
|
+
|
|
367
|
+
@_builtins.property
|
|
361
368
|
@pulumi.getter
|
|
362
|
-
def state(self) -> Optional[pulumi.Input[
|
|
369
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
363
370
|
"""
|
|
364
|
-
State of the
|
|
371
|
+
State of the image. Possible values are: `available`, `creating` or `error`.
|
|
365
372
|
"""
|
|
366
373
|
return pulumi.get(self, "state")
|
|
367
374
|
|
|
368
375
|
@state.setter
|
|
369
|
-
def state(self, value: Optional[pulumi.Input[
|
|
376
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
370
377
|
pulumi.set(self, "state", value)
|
|
371
378
|
|
|
372
|
-
@property
|
|
379
|
+
@_builtins.property
|
|
373
380
|
@pulumi.getter
|
|
374
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
381
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
375
382
|
"""
|
|
376
383
|
A list of tags to apply to the image.
|
|
377
384
|
"""
|
|
378
385
|
return pulumi.get(self, "tags")
|
|
379
386
|
|
|
380
387
|
@tags.setter
|
|
381
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
388
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
382
389
|
pulumi.set(self, "tags", value)
|
|
383
390
|
|
|
384
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
385
392
|
@pulumi.getter
|
|
386
|
-
def zone(self) -> Optional[pulumi.Input[
|
|
393
|
+
def zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
387
394
|
"""
|
|
388
395
|
The zone in which the image should be created.
|
|
389
396
|
"""
|
|
390
397
|
return pulumi.get(self, "zone")
|
|
391
398
|
|
|
392
399
|
@zone.setter
|
|
393
|
-
def zone(self, value: Optional[pulumi.Input[
|
|
400
|
+
def zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
394
401
|
pulumi.set(self, "zone", value)
|
|
395
402
|
|
|
396
403
|
|
|
@@ -405,14 +412,14 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
405
412
|
def __init__(__self__,
|
|
406
413
|
resource_name: str,
|
|
407
414
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
408
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
409
|
-
architecture: Optional[pulumi.Input[
|
|
410
|
-
name: Optional[pulumi.Input[
|
|
411
|
-
project_id: Optional[pulumi.Input[
|
|
412
|
-
public: Optional[pulumi.Input[
|
|
413
|
-
root_volume_id: Optional[pulumi.Input[
|
|
414
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
415
|
-
zone: Optional[pulumi.Input[
|
|
415
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
416
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
417
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
418
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
419
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
420
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
421
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
422
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
416
423
|
__props__=None):
|
|
417
424
|
"""
|
|
418
425
|
Creates and manages Scaleway Compute Images.
|
|
@@ -450,6 +457,26 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
450
457
|
root_volume_id=server_snapshot.id)
|
|
451
458
|
```
|
|
452
459
|
|
|
460
|
+
### With additional volumes
|
|
461
|
+
|
|
462
|
+
```python
|
|
463
|
+
import pulumi
|
|
464
|
+
import pulumiverse_scaleway as scaleway
|
|
465
|
+
|
|
466
|
+
server = scaleway.instance.Server("server",
|
|
467
|
+
image="ubuntu_jammy",
|
|
468
|
+
type="DEV1-S")
|
|
469
|
+
volume = scaleway.instance.Volume("volume",
|
|
470
|
+
type="b_ssd",
|
|
471
|
+
size_in_gb=20)
|
|
472
|
+
volume_snapshot = scaleway.instance.Snapshot("volume_snapshot", volume_id=volume.id)
|
|
473
|
+
server_snapshot = scaleway.instance.Snapshot("server_snapshot", volume_id=main["rootVolume"][0]["volumeId"])
|
|
474
|
+
image = scaleway.instance.Image("image",
|
|
475
|
+
name="image_with_extra_volumes",
|
|
476
|
+
root_volume_id=server_snapshot.id,
|
|
477
|
+
additional_volume_ids=[volume_snapshot.id])
|
|
478
|
+
```
|
|
479
|
+
|
|
453
480
|
## Import
|
|
454
481
|
|
|
455
482
|
Images can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -462,16 +489,14 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
462
489
|
|
|
463
490
|
:param str resource_name: The name of the resource.
|
|
464
491
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
465
|
-
:param pulumi.Input[
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
:param pulumi.Input[
|
|
469
|
-
:param pulumi.Input[
|
|
470
|
-
:param pulumi.Input[
|
|
471
|
-
:param pulumi.Input[
|
|
472
|
-
:param pulumi.Input[
|
|
473
|
-
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the image.
|
|
474
|
-
:param pulumi.Input[builtins.str] zone: The zone in which the image should be created.
|
|
492
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
493
|
+
:param pulumi.Input[_builtins.str] architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
494
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
495
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project the image is associated with.
|
|
496
|
+
:param pulumi.Input[_builtins.bool] public: Set to `true` if the image is public.
|
|
497
|
+
:param pulumi.Input[_builtins.str] root_volume_id: The ID of the snapshot of the volume to be used as root in the image.
|
|
498
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
499
|
+
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
475
500
|
"""
|
|
476
501
|
...
|
|
477
502
|
@overload
|
|
@@ -515,6 +540,26 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
515
540
|
root_volume_id=server_snapshot.id)
|
|
516
541
|
```
|
|
517
542
|
|
|
543
|
+
### With additional volumes
|
|
544
|
+
|
|
545
|
+
```python
|
|
546
|
+
import pulumi
|
|
547
|
+
import pulumiverse_scaleway as scaleway
|
|
548
|
+
|
|
549
|
+
server = scaleway.instance.Server("server",
|
|
550
|
+
image="ubuntu_jammy",
|
|
551
|
+
type="DEV1-S")
|
|
552
|
+
volume = scaleway.instance.Volume("volume",
|
|
553
|
+
type="b_ssd",
|
|
554
|
+
size_in_gb=20)
|
|
555
|
+
volume_snapshot = scaleway.instance.Snapshot("volume_snapshot", volume_id=volume.id)
|
|
556
|
+
server_snapshot = scaleway.instance.Snapshot("server_snapshot", volume_id=main["rootVolume"][0]["volumeId"])
|
|
557
|
+
image = scaleway.instance.Image("image",
|
|
558
|
+
name="image_with_extra_volumes",
|
|
559
|
+
root_volume_id=server_snapshot.id,
|
|
560
|
+
additional_volume_ids=[volume_snapshot.id])
|
|
561
|
+
```
|
|
562
|
+
|
|
518
563
|
## Import
|
|
519
564
|
|
|
520
565
|
Images can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -540,14 +585,14 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
540
585
|
def _internal_init(__self__,
|
|
541
586
|
resource_name: str,
|
|
542
587
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
543
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
544
|
-
architecture: Optional[pulumi.Input[
|
|
545
|
-
name: Optional[pulumi.Input[
|
|
546
|
-
project_id: Optional[pulumi.Input[
|
|
547
|
-
public: Optional[pulumi.Input[
|
|
548
|
-
root_volume_id: Optional[pulumi.Input[
|
|
549
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
550
|
-
zone: Optional[pulumi.Input[
|
|
588
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
589
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
590
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
591
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
592
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
593
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
594
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
595
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
551
596
|
__props__=None):
|
|
552
597
|
pulumi.log.warn("""InstanceImage is deprecated: scaleway.index/instanceimage.InstanceImage has been deprecated in favor of scaleway.instance/image.Image""")
|
|
553
598
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -573,6 +618,7 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
573
618
|
__props__.__dict__["from_server_id"] = None
|
|
574
619
|
__props__.__dict__["modification_date"] = None
|
|
575
620
|
__props__.__dict__["organization_id"] = None
|
|
621
|
+
__props__.__dict__["root_volumes"] = None
|
|
576
622
|
__props__.__dict__["state"] = None
|
|
577
623
|
super(InstanceImage, __self__).__init__(
|
|
578
624
|
'scaleway:index/instanceImage:InstanceImage',
|
|
@@ -584,20 +630,21 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
584
630
|
def get(resource_name: str,
|
|
585
631
|
id: pulumi.Input[str],
|
|
586
632
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
587
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
633
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
588
634
|
additional_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceImageAdditionalVolumeArgs', 'InstanceImageAdditionalVolumeArgsDict']]]]] = None,
|
|
589
|
-
architecture: Optional[pulumi.Input[
|
|
590
|
-
creation_date: Optional[pulumi.Input[
|
|
591
|
-
from_server_id: Optional[pulumi.Input[
|
|
592
|
-
modification_date: Optional[pulumi.Input[
|
|
593
|
-
name: Optional[pulumi.Input[
|
|
594
|
-
organization_id: Optional[pulumi.Input[
|
|
595
|
-
project_id: Optional[pulumi.Input[
|
|
596
|
-
public: Optional[pulumi.Input[
|
|
597
|
-
root_volume_id: Optional[pulumi.Input[
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
635
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
636
|
+
creation_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
637
|
+
from_server_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
638
|
+
modification_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
639
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
640
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
641
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
642
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
643
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
644
|
+
root_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceImageRootVolumeArgs', 'InstanceImageRootVolumeArgsDict']]]]] = None,
|
|
645
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
646
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
647
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'InstanceImage':
|
|
601
648
|
"""
|
|
602
649
|
Get an existing InstanceImage resource's state with the given name, id, and optional extra
|
|
603
650
|
properties used to qualify the lookup.
|
|
@@ -605,22 +652,21 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
605
652
|
:param str resource_name: The unique name of the resulting resource.
|
|
606
653
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
607
654
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
608
|
-
:param pulumi.Input[
|
|
609
|
-
|
|
610
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
655
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] additional_volume_ids: List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
611
656
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceImageAdditionalVolumeArgs', 'InstanceImageAdditionalVolumeArgsDict']]]] additional_volumes: The description of the extra volumes attached to the image.
|
|
612
|
-
:param pulumi.Input[
|
|
613
|
-
:param pulumi.Input[
|
|
614
|
-
:param pulumi.Input[
|
|
615
|
-
:param pulumi.Input[
|
|
616
|
-
:param pulumi.Input[
|
|
617
|
-
:param pulumi.Input[
|
|
618
|
-
:param pulumi.Input[
|
|
619
|
-
:param pulumi.Input[
|
|
620
|
-
:param pulumi.Input[
|
|
621
|
-
:param pulumi.Input[
|
|
622
|
-
:param pulumi.Input[
|
|
623
|
-
:param pulumi.Input[
|
|
657
|
+
:param pulumi.Input[_builtins.str] architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
658
|
+
:param pulumi.Input[_builtins.str] creation_date: Date of the image creation.
|
|
659
|
+
:param pulumi.Input[_builtins.str] from_server_id: ID of the server the image is based on (in case it is a backup).
|
|
660
|
+
:param pulumi.Input[_builtins.str] modification_date: Date of image latest update.
|
|
661
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
662
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the image is associated with.
|
|
663
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project the image is associated with.
|
|
664
|
+
:param pulumi.Input[_builtins.bool] public: Set to `true` if the image is public.
|
|
665
|
+
:param pulumi.Input[_builtins.str] root_volume_id: The ID of the snapshot of the volume to be used as root in the image.
|
|
666
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceImageRootVolumeArgs', 'InstanceImageRootVolumeArgsDict']]]] root_volumes: The description of the root volume attached to the image.
|
|
667
|
+
:param pulumi.Input[_builtins.str] state: State of the image. Possible values are: `available`, `creating` or `error`.
|
|
668
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
669
|
+
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
624
670
|
"""
|
|
625
671
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
626
672
|
|
|
@@ -637,22 +683,21 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
637
683
|
__props__.__dict__["project_id"] = project_id
|
|
638
684
|
__props__.__dict__["public"] = public
|
|
639
685
|
__props__.__dict__["root_volume_id"] = root_volume_id
|
|
686
|
+
__props__.__dict__["root_volumes"] = root_volumes
|
|
640
687
|
__props__.__dict__["state"] = state
|
|
641
688
|
__props__.__dict__["tags"] = tags
|
|
642
689
|
__props__.__dict__["zone"] = zone
|
|
643
690
|
return InstanceImage(resource_name, opts=opts, __props__=__props__)
|
|
644
691
|
|
|
645
|
-
@property
|
|
692
|
+
@_builtins.property
|
|
646
693
|
@pulumi.getter(name="additionalVolumeIds")
|
|
647
|
-
def additional_volume_ids(self) -> pulumi.Output[Optional[
|
|
694
|
+
def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
648
695
|
"""
|
|
649
696
|
List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
650
|
-
|
|
651
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
652
697
|
"""
|
|
653
698
|
return pulumi.get(self, "additional_volume_ids")
|
|
654
699
|
|
|
655
|
-
@property
|
|
700
|
+
@_builtins.property
|
|
656
701
|
@pulumi.getter(name="additionalVolumes")
|
|
657
702
|
def additional_volumes(self) -> pulumi.Output[Sequence['outputs.InstanceImageAdditionalVolume']]:
|
|
658
703
|
"""
|
|
@@ -660,97 +705,105 @@ class InstanceImage(pulumi.CustomResource):
|
|
|
660
705
|
"""
|
|
661
706
|
return pulumi.get(self, "additional_volumes")
|
|
662
707
|
|
|
663
|
-
@property
|
|
708
|
+
@_builtins.property
|
|
664
709
|
@pulumi.getter
|
|
665
|
-
def architecture(self) -> pulumi.Output[Optional[
|
|
710
|
+
def architecture(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
666
711
|
"""
|
|
667
712
|
The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
668
713
|
"""
|
|
669
714
|
return pulumi.get(self, "architecture")
|
|
670
715
|
|
|
671
|
-
@property
|
|
716
|
+
@_builtins.property
|
|
672
717
|
@pulumi.getter(name="creationDate")
|
|
673
|
-
def creation_date(self) -> pulumi.Output[
|
|
718
|
+
def creation_date(self) -> pulumi.Output[_builtins.str]:
|
|
674
719
|
"""
|
|
675
|
-
Date of the
|
|
720
|
+
Date of the image creation.
|
|
676
721
|
"""
|
|
677
722
|
return pulumi.get(self, "creation_date")
|
|
678
723
|
|
|
679
|
-
@property
|
|
724
|
+
@_builtins.property
|
|
680
725
|
@pulumi.getter(name="fromServerId")
|
|
681
|
-
def from_server_id(self) -> pulumi.Output[
|
|
726
|
+
def from_server_id(self) -> pulumi.Output[_builtins.str]:
|
|
682
727
|
"""
|
|
683
728
|
ID of the server the image is based on (in case it is a backup).
|
|
684
729
|
"""
|
|
685
730
|
return pulumi.get(self, "from_server_id")
|
|
686
731
|
|
|
687
|
-
@property
|
|
732
|
+
@_builtins.property
|
|
688
733
|
@pulumi.getter(name="modificationDate")
|
|
689
|
-
def modification_date(self) -> pulumi.Output[
|
|
734
|
+
def modification_date(self) -> pulumi.Output[_builtins.str]:
|
|
690
735
|
"""
|
|
691
|
-
Date of
|
|
736
|
+
Date of image latest update.
|
|
692
737
|
"""
|
|
693
738
|
return pulumi.get(self, "modification_date")
|
|
694
739
|
|
|
695
|
-
@property
|
|
740
|
+
@_builtins.property
|
|
696
741
|
@pulumi.getter
|
|
697
|
-
def name(self) -> pulumi.Output[
|
|
742
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
698
743
|
"""
|
|
699
744
|
The name of the image. If not provided it will be randomly generated.
|
|
700
745
|
"""
|
|
701
746
|
return pulumi.get(self, "name")
|
|
702
747
|
|
|
703
|
-
@property
|
|
748
|
+
@_builtins.property
|
|
704
749
|
@pulumi.getter(name="organizationId")
|
|
705
|
-
def organization_id(self) -> pulumi.Output[
|
|
750
|
+
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
|
706
751
|
"""
|
|
707
752
|
The organization ID the image is associated with.
|
|
708
753
|
"""
|
|
709
754
|
return pulumi.get(self, "organization_id")
|
|
710
755
|
|
|
711
|
-
@property
|
|
756
|
+
@_builtins.property
|
|
712
757
|
@pulumi.getter(name="projectId")
|
|
713
|
-
def project_id(self) -> pulumi.Output[
|
|
758
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
|
714
759
|
"""
|
|
715
760
|
The ID of the project the image is associated with.
|
|
716
761
|
"""
|
|
717
762
|
return pulumi.get(self, "project_id")
|
|
718
763
|
|
|
719
|
-
@property
|
|
764
|
+
@_builtins.property
|
|
720
765
|
@pulumi.getter
|
|
721
|
-
def public(self) -> pulumi.Output[Optional[
|
|
766
|
+
def public(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
722
767
|
"""
|
|
723
768
|
Set to `true` if the image is public.
|
|
724
769
|
"""
|
|
725
770
|
return pulumi.get(self, "public")
|
|
726
771
|
|
|
727
|
-
@property
|
|
772
|
+
@_builtins.property
|
|
728
773
|
@pulumi.getter(name="rootVolumeId")
|
|
729
|
-
def root_volume_id(self) -> pulumi.Output[
|
|
774
|
+
def root_volume_id(self) -> pulumi.Output[_builtins.str]:
|
|
730
775
|
"""
|
|
731
776
|
The ID of the snapshot of the volume to be used as root in the image.
|
|
732
777
|
"""
|
|
733
778
|
return pulumi.get(self, "root_volume_id")
|
|
734
779
|
|
|
735
|
-
@property
|
|
780
|
+
@_builtins.property
|
|
781
|
+
@pulumi.getter(name="rootVolumes")
|
|
782
|
+
def root_volumes(self) -> pulumi.Output[Sequence['outputs.InstanceImageRootVolume']]:
|
|
783
|
+
"""
|
|
784
|
+
The description of the root volume attached to the image.
|
|
785
|
+
"""
|
|
786
|
+
return pulumi.get(self, "root_volumes")
|
|
787
|
+
|
|
788
|
+
@_builtins.property
|
|
736
789
|
@pulumi.getter
|
|
737
|
-
def state(self) -> pulumi.Output[
|
|
790
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
738
791
|
"""
|
|
739
|
-
State of the
|
|
792
|
+
State of the image. Possible values are: `available`, `creating` or `error`.
|
|
740
793
|
"""
|
|
741
794
|
return pulumi.get(self, "state")
|
|
742
795
|
|
|
743
|
-
@property
|
|
796
|
+
@_builtins.property
|
|
744
797
|
@pulumi.getter
|
|
745
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[
|
|
798
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
746
799
|
"""
|
|
747
800
|
A list of tags to apply to the image.
|
|
748
801
|
"""
|
|
749
802
|
return pulumi.get(self, "tags")
|
|
750
803
|
|
|
751
|
-
@property
|
|
804
|
+
@_builtins.property
|
|
752
805
|
@pulumi.getter
|
|
753
|
-
def zone(self) -> pulumi.Output[
|
|
806
|
+
def zone(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
754
807
|
"""
|
|
755
808
|
The zone in which the image should be created.
|
|
756
809
|
"""
|