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__ = ['ImageArgs', 'Image']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ImageArgs:
|
|
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 Image 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 ImageArgs:
|
|
|
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 _ImageState:
|
|
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['ImageAdditionalVolumeArgs']]]] = 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['ImageRootVolumeArgs']]]] = 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 Image 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['ImageAdditionalVolumeArgs']]] 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['ImageRootVolumeArgs']]] 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 _ImageState:
|
|
|
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 _ImageState:
|
|
|
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['ImageAdditionalVolumeArgs']]]]:
|
|
243
238
|
"""
|
|
@@ -249,148 +244,160 @@ class _ImageState:
|
|
|
249
244
|
def additional_volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageAdditionalVolumeArgs']]]]):
|
|
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['ImageRootVolumeArgs']]]]:
|
|
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['ImageRootVolumeArgs']]]]):
|
|
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
|
|
|
@@ -400,14 +407,14 @@ class Image(pulumi.CustomResource):
|
|
|
400
407
|
def __init__(__self__,
|
|
401
408
|
resource_name: str,
|
|
402
409
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
403
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
404
|
-
architecture: Optional[pulumi.Input[
|
|
405
|
-
name: Optional[pulumi.Input[
|
|
406
|
-
project_id: Optional[pulumi.Input[
|
|
407
|
-
public: Optional[pulumi.Input[
|
|
408
|
-
root_volume_id: Optional[pulumi.Input[
|
|
409
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
410
|
-
zone: Optional[pulumi.Input[
|
|
410
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
411
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
412
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
413
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
414
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
415
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
416
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
417
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
411
418
|
__props__=None):
|
|
412
419
|
"""
|
|
413
420
|
Creates and manages Scaleway Compute Images.
|
|
@@ -445,6 +452,26 @@ class Image(pulumi.CustomResource):
|
|
|
445
452
|
root_volume_id=server_snapshot.id)
|
|
446
453
|
```
|
|
447
454
|
|
|
455
|
+
### With additional volumes
|
|
456
|
+
|
|
457
|
+
```python
|
|
458
|
+
import pulumi
|
|
459
|
+
import pulumiverse_scaleway as scaleway
|
|
460
|
+
|
|
461
|
+
server = scaleway.instance.Server("server",
|
|
462
|
+
image="ubuntu_jammy",
|
|
463
|
+
type="DEV1-S")
|
|
464
|
+
volume = scaleway.instance.Volume("volume",
|
|
465
|
+
type="b_ssd",
|
|
466
|
+
size_in_gb=20)
|
|
467
|
+
volume_snapshot = scaleway.instance.Snapshot("volume_snapshot", volume_id=volume.id)
|
|
468
|
+
server_snapshot = scaleway.instance.Snapshot("server_snapshot", volume_id=main["rootVolume"][0]["volumeId"])
|
|
469
|
+
image = scaleway.instance.Image("image",
|
|
470
|
+
name="image_with_extra_volumes",
|
|
471
|
+
root_volume_id=server_snapshot.id,
|
|
472
|
+
additional_volume_ids=[volume_snapshot.id])
|
|
473
|
+
```
|
|
474
|
+
|
|
448
475
|
## Import
|
|
449
476
|
|
|
450
477
|
Images can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -457,16 +484,14 @@ class Image(pulumi.CustomResource):
|
|
|
457
484
|
|
|
458
485
|
:param str resource_name: The name of the resource.
|
|
459
486
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
460
|
-
:param pulumi.Input[
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
:param pulumi.Input[
|
|
464
|
-
:param pulumi.Input[
|
|
465
|
-
:param pulumi.Input[
|
|
466
|
-
:param pulumi.Input[
|
|
467
|
-
:param pulumi.Input[
|
|
468
|
-
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of tags to apply to the image.
|
|
469
|
-
:param pulumi.Input[builtins.str] zone: The zone in which the image should be created.
|
|
487
|
+
: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.
|
|
488
|
+
:param pulumi.Input[_builtins.str] architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
489
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
490
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project the image is associated with.
|
|
491
|
+
:param pulumi.Input[_builtins.bool] public: Set to `true` if the image is public.
|
|
492
|
+
:param pulumi.Input[_builtins.str] root_volume_id: The ID of the snapshot of the volume to be used as root in the image.
|
|
493
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
494
|
+
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
470
495
|
"""
|
|
471
496
|
...
|
|
472
497
|
@overload
|
|
@@ -510,6 +535,26 @@ class Image(pulumi.CustomResource):
|
|
|
510
535
|
root_volume_id=server_snapshot.id)
|
|
511
536
|
```
|
|
512
537
|
|
|
538
|
+
### With additional volumes
|
|
539
|
+
|
|
540
|
+
```python
|
|
541
|
+
import pulumi
|
|
542
|
+
import pulumiverse_scaleway as scaleway
|
|
543
|
+
|
|
544
|
+
server = scaleway.instance.Server("server",
|
|
545
|
+
image="ubuntu_jammy",
|
|
546
|
+
type="DEV1-S")
|
|
547
|
+
volume = scaleway.instance.Volume("volume",
|
|
548
|
+
type="b_ssd",
|
|
549
|
+
size_in_gb=20)
|
|
550
|
+
volume_snapshot = scaleway.instance.Snapshot("volume_snapshot", volume_id=volume.id)
|
|
551
|
+
server_snapshot = scaleway.instance.Snapshot("server_snapshot", volume_id=main["rootVolume"][0]["volumeId"])
|
|
552
|
+
image = scaleway.instance.Image("image",
|
|
553
|
+
name="image_with_extra_volumes",
|
|
554
|
+
root_volume_id=server_snapshot.id,
|
|
555
|
+
additional_volume_ids=[volume_snapshot.id])
|
|
556
|
+
```
|
|
557
|
+
|
|
513
558
|
## Import
|
|
514
559
|
|
|
515
560
|
Images can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -535,14 +580,14 @@ class Image(pulumi.CustomResource):
|
|
|
535
580
|
def _internal_init(__self__,
|
|
536
581
|
resource_name: str,
|
|
537
582
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
538
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
539
|
-
architecture: Optional[pulumi.Input[
|
|
540
|
-
name: Optional[pulumi.Input[
|
|
541
|
-
project_id: Optional[pulumi.Input[
|
|
542
|
-
public: Optional[pulumi.Input[
|
|
543
|
-
root_volume_id: Optional[pulumi.Input[
|
|
544
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
545
|
-
zone: Optional[pulumi.Input[
|
|
583
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
584
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
585
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
586
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
587
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
588
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
589
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
590
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None,
|
|
546
591
|
__props__=None):
|
|
547
592
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
548
593
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -567,6 +612,7 @@ class Image(pulumi.CustomResource):
|
|
|
567
612
|
__props__.__dict__["from_server_id"] = None
|
|
568
613
|
__props__.__dict__["modification_date"] = None
|
|
569
614
|
__props__.__dict__["organization_id"] = None
|
|
615
|
+
__props__.__dict__["root_volumes"] = None
|
|
570
616
|
__props__.__dict__["state"] = None
|
|
571
617
|
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="scaleway:index/instanceImage:InstanceImage")])
|
|
572
618
|
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
@@ -580,20 +626,21 @@ class Image(pulumi.CustomResource):
|
|
|
580
626
|
def get(resource_name: str,
|
|
581
627
|
id: pulumi.Input[str],
|
|
582
628
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
583
|
-
additional_volume_ids: Optional[pulumi.Input[
|
|
629
|
+
additional_volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
584
630
|
additional_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageAdditionalVolumeArgs', 'ImageAdditionalVolumeArgsDict']]]]] = None,
|
|
585
|
-
architecture: Optional[pulumi.Input[
|
|
586
|
-
creation_date: Optional[pulumi.Input[
|
|
587
|
-
from_server_id: Optional[pulumi.Input[
|
|
588
|
-
modification_date: Optional[pulumi.Input[
|
|
589
|
-
name: Optional[pulumi.Input[
|
|
590
|
-
organization_id: Optional[pulumi.Input[
|
|
591
|
-
project_id: Optional[pulumi.Input[
|
|
592
|
-
public: Optional[pulumi.Input[
|
|
593
|
-
root_volume_id: Optional[pulumi.Input[
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
631
|
+
architecture: Optional[pulumi.Input[_builtins.str]] = None,
|
|
632
|
+
creation_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
633
|
+
from_server_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
634
|
+
modification_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
635
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
636
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
637
|
+
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
638
|
+
public: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
639
|
+
root_volume_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
640
|
+
root_volumes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ImageRootVolumeArgs', 'ImageRootVolumeArgsDict']]]]] = None,
|
|
641
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
642
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
643
|
+
zone: Optional[pulumi.Input[_builtins.str]] = None) -> 'Image':
|
|
597
644
|
"""
|
|
598
645
|
Get an existing Image resource's state with the given name, id, and optional extra
|
|
599
646
|
properties used to qualify the lookup.
|
|
@@ -601,22 +648,21 @@ class Image(pulumi.CustomResource):
|
|
|
601
648
|
:param str resource_name: The unique name of the resulting resource.
|
|
602
649
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
603
650
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
604
|
-
:param pulumi.Input[
|
|
605
|
-
|
|
606
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
651
|
+
: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.
|
|
607
652
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ImageAdditionalVolumeArgs', 'ImageAdditionalVolumeArgsDict']]]] additional_volumes: The description of the extra volumes attached to the image.
|
|
608
|
-
:param pulumi.Input[
|
|
609
|
-
:param pulumi.Input[
|
|
610
|
-
:param pulumi.Input[
|
|
611
|
-
:param pulumi.Input[
|
|
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[
|
|
653
|
+
:param pulumi.Input[_builtins.str] architecture: The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
654
|
+
:param pulumi.Input[_builtins.str] creation_date: Date of the image creation.
|
|
655
|
+
:param pulumi.Input[_builtins.str] from_server_id: ID of the server the image is based on (in case it is a backup).
|
|
656
|
+
:param pulumi.Input[_builtins.str] modification_date: Date of image latest update.
|
|
657
|
+
:param pulumi.Input[_builtins.str] name: The name of the image. If not provided it will be randomly generated.
|
|
658
|
+
:param pulumi.Input[_builtins.str] organization_id: The organization ID the image is associated with.
|
|
659
|
+
:param pulumi.Input[_builtins.str] project_id: The ID of the project the image is associated with.
|
|
660
|
+
:param pulumi.Input[_builtins.bool] public: Set to `true` if the image is public.
|
|
661
|
+
:param pulumi.Input[_builtins.str] root_volume_id: The ID of the snapshot of the volume to be used as root in the image.
|
|
662
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ImageRootVolumeArgs', 'ImageRootVolumeArgsDict']]]] root_volumes: The description of the root volume attached to the image.
|
|
663
|
+
:param pulumi.Input[_builtins.str] state: State of the image. Possible values are: `available`, `creating` or `error`.
|
|
664
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: A list of tags to apply to the image.
|
|
665
|
+
:param pulumi.Input[_builtins.str] zone: The zone in which the image should be created.
|
|
620
666
|
"""
|
|
621
667
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
622
668
|
|
|
@@ -633,22 +679,21 @@ class Image(pulumi.CustomResource):
|
|
|
633
679
|
__props__.__dict__["project_id"] = project_id
|
|
634
680
|
__props__.__dict__["public"] = public
|
|
635
681
|
__props__.__dict__["root_volume_id"] = root_volume_id
|
|
682
|
+
__props__.__dict__["root_volumes"] = root_volumes
|
|
636
683
|
__props__.__dict__["state"] = state
|
|
637
684
|
__props__.__dict__["tags"] = tags
|
|
638
685
|
__props__.__dict__["zone"] = zone
|
|
639
686
|
return Image(resource_name, opts=opts, __props__=__props__)
|
|
640
687
|
|
|
641
|
-
@property
|
|
688
|
+
@_builtins.property
|
|
642
689
|
@pulumi.getter(name="additionalVolumeIds")
|
|
643
|
-
def additional_volume_ids(self) -> pulumi.Output[Optional[
|
|
690
|
+
def additional_volume_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
644
691
|
"""
|
|
645
692
|
List of IDs of the snapshots of the additional volumes to be attached to the image.
|
|
646
|
-
|
|
647
|
-
> **Important:** For now it is only possible to have 1 additional_volume.
|
|
648
693
|
"""
|
|
649
694
|
return pulumi.get(self, "additional_volume_ids")
|
|
650
695
|
|
|
651
|
-
@property
|
|
696
|
+
@_builtins.property
|
|
652
697
|
@pulumi.getter(name="additionalVolumes")
|
|
653
698
|
def additional_volumes(self) -> pulumi.Output[Sequence['outputs.ImageAdditionalVolume']]:
|
|
654
699
|
"""
|
|
@@ -656,97 +701,105 @@ class Image(pulumi.CustomResource):
|
|
|
656
701
|
"""
|
|
657
702
|
return pulumi.get(self, "additional_volumes")
|
|
658
703
|
|
|
659
|
-
@property
|
|
704
|
+
@_builtins.property
|
|
660
705
|
@pulumi.getter
|
|
661
|
-
def architecture(self) -> pulumi.Output[Optional[
|
|
706
|
+
def architecture(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
662
707
|
"""
|
|
663
708
|
The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
|
|
664
709
|
"""
|
|
665
710
|
return pulumi.get(self, "architecture")
|
|
666
711
|
|
|
667
|
-
@property
|
|
712
|
+
@_builtins.property
|
|
668
713
|
@pulumi.getter(name="creationDate")
|
|
669
|
-
def creation_date(self) -> pulumi.Output[
|
|
714
|
+
def creation_date(self) -> pulumi.Output[_builtins.str]:
|
|
670
715
|
"""
|
|
671
|
-
Date of the
|
|
716
|
+
Date of the image creation.
|
|
672
717
|
"""
|
|
673
718
|
return pulumi.get(self, "creation_date")
|
|
674
719
|
|
|
675
|
-
@property
|
|
720
|
+
@_builtins.property
|
|
676
721
|
@pulumi.getter(name="fromServerId")
|
|
677
|
-
def from_server_id(self) -> pulumi.Output[
|
|
722
|
+
def from_server_id(self) -> pulumi.Output[_builtins.str]:
|
|
678
723
|
"""
|
|
679
724
|
ID of the server the image is based on (in case it is a backup).
|
|
680
725
|
"""
|
|
681
726
|
return pulumi.get(self, "from_server_id")
|
|
682
727
|
|
|
683
|
-
@property
|
|
728
|
+
@_builtins.property
|
|
684
729
|
@pulumi.getter(name="modificationDate")
|
|
685
|
-
def modification_date(self) -> pulumi.Output[
|
|
730
|
+
def modification_date(self) -> pulumi.Output[_builtins.str]:
|
|
686
731
|
"""
|
|
687
|
-
Date of
|
|
732
|
+
Date of image latest update.
|
|
688
733
|
"""
|
|
689
734
|
return pulumi.get(self, "modification_date")
|
|
690
735
|
|
|
691
|
-
@property
|
|
736
|
+
@_builtins.property
|
|
692
737
|
@pulumi.getter
|
|
693
|
-
def name(self) -> pulumi.Output[
|
|
738
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
694
739
|
"""
|
|
695
740
|
The name of the image. If not provided it will be randomly generated.
|
|
696
741
|
"""
|
|
697
742
|
return pulumi.get(self, "name")
|
|
698
743
|
|
|
699
|
-
@property
|
|
744
|
+
@_builtins.property
|
|
700
745
|
@pulumi.getter(name="organizationId")
|
|
701
|
-
def organization_id(self) -> pulumi.Output[
|
|
746
|
+
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
|
702
747
|
"""
|
|
703
748
|
The organization ID the image is associated with.
|
|
704
749
|
"""
|
|
705
750
|
return pulumi.get(self, "organization_id")
|
|
706
751
|
|
|
707
|
-
@property
|
|
752
|
+
@_builtins.property
|
|
708
753
|
@pulumi.getter(name="projectId")
|
|
709
|
-
def project_id(self) -> pulumi.Output[
|
|
754
|
+
def project_id(self) -> pulumi.Output[_builtins.str]:
|
|
710
755
|
"""
|
|
711
756
|
The ID of the project the image is associated with.
|
|
712
757
|
"""
|
|
713
758
|
return pulumi.get(self, "project_id")
|
|
714
759
|
|
|
715
|
-
@property
|
|
760
|
+
@_builtins.property
|
|
716
761
|
@pulumi.getter
|
|
717
|
-
def public(self) -> pulumi.Output[Optional[
|
|
762
|
+
def public(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
718
763
|
"""
|
|
719
764
|
Set to `true` if the image is public.
|
|
720
765
|
"""
|
|
721
766
|
return pulumi.get(self, "public")
|
|
722
767
|
|
|
723
|
-
@property
|
|
768
|
+
@_builtins.property
|
|
724
769
|
@pulumi.getter(name="rootVolumeId")
|
|
725
|
-
def root_volume_id(self) -> pulumi.Output[
|
|
770
|
+
def root_volume_id(self) -> pulumi.Output[_builtins.str]:
|
|
726
771
|
"""
|
|
727
772
|
The ID of the snapshot of the volume to be used as root in the image.
|
|
728
773
|
"""
|
|
729
774
|
return pulumi.get(self, "root_volume_id")
|
|
730
775
|
|
|
731
|
-
@property
|
|
776
|
+
@_builtins.property
|
|
777
|
+
@pulumi.getter(name="rootVolumes")
|
|
778
|
+
def root_volumes(self) -> pulumi.Output[Sequence['outputs.ImageRootVolume']]:
|
|
779
|
+
"""
|
|
780
|
+
The description of the root volume attached to the image.
|
|
781
|
+
"""
|
|
782
|
+
return pulumi.get(self, "root_volumes")
|
|
783
|
+
|
|
784
|
+
@_builtins.property
|
|
732
785
|
@pulumi.getter
|
|
733
|
-
def state(self) -> pulumi.Output[
|
|
786
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
734
787
|
"""
|
|
735
|
-
State of the
|
|
788
|
+
State of the image. Possible values are: `available`, `creating` or `error`.
|
|
736
789
|
"""
|
|
737
790
|
return pulumi.get(self, "state")
|
|
738
791
|
|
|
739
|
-
@property
|
|
792
|
+
@_builtins.property
|
|
740
793
|
@pulumi.getter
|
|
741
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[
|
|
794
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
742
795
|
"""
|
|
743
796
|
A list of tags to apply to the image.
|
|
744
797
|
"""
|
|
745
798
|
return pulumi.get(self, "tags")
|
|
746
799
|
|
|
747
|
-
@property
|
|
800
|
+
@_builtins.property
|
|
748
801
|
@pulumi.getter
|
|
749
|
-
def zone(self) -> pulumi.Output[
|
|
802
|
+
def zone(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
750
803
|
"""
|
|
751
804
|
The zone in which the image should be created.
|
|
752
805
|
"""
|