pulumiverse-scaleway 1.25.0a1742464679__py3-none-any.whl → 1.25.0a1742668904__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumiverse_scaleway/__init__.py +929 -0
- pulumiverse_scaleway/account/__init__.py +12 -0
- pulumiverse_scaleway/account/get_availability_zones.py +139 -0
- pulumiverse_scaleway/account/get_project.py +170 -0
- pulumiverse_scaleway/account/get_ssh_key.py +205 -0
- pulumiverse_scaleway/account/project.py +318 -0
- pulumiverse_scaleway/account/ssh_key.py +456 -0
- pulumiverse_scaleway/account_project.py +6 -0
- pulumiverse_scaleway/account_ssh_key.py +12 -6
- pulumiverse_scaleway/apple_silicon_server.py +8 -2
- pulumiverse_scaleway/applesilicon/__init__.py +10 -0
- pulumiverse_scaleway/applesilicon/_inputs.py +154 -0
- pulumiverse_scaleway/applesilicon/outputs.py +119 -0
- pulumiverse_scaleway/applesilicon/server.py +690 -0
- pulumiverse_scaleway/baremetal_server.py +64 -58
- pulumiverse_scaleway/billing/__init__.py +10 -0
- pulumiverse_scaleway/billing/get_consumptions.py +134 -0
- pulumiverse_scaleway/billing/get_invoices.py +154 -0
- pulumiverse_scaleway/billing/outputs.py +288 -0
- pulumiverse_scaleway/block/__init__.py +11 -0
- pulumiverse_scaleway/block/get_snapshot.py +174 -0
- pulumiverse_scaleway/block/get_volume.py +199 -0
- pulumiverse_scaleway/block/snapshot.py +403 -0
- pulumiverse_scaleway/block/volume.py +576 -0
- pulumiverse_scaleway/block_snapshot.py +12 -6
- pulumiverse_scaleway/block_volume.py +16 -10
- pulumiverse_scaleway/cockpit.py +10 -4
- pulumiverse_scaleway/cockpit_alert_manager.py +12 -6
- pulumiverse_scaleway/cockpit_grafana_user.py +12 -6
- pulumiverse_scaleway/cockpit_source.py +12 -6
- pulumiverse_scaleway/cockpit_token.py +16 -10
- pulumiverse_scaleway/container.py +16 -10
- pulumiverse_scaleway/container_cron.py +14 -8
- pulumiverse_scaleway/container_domain.py +24 -18
- pulumiverse_scaleway/container_namespace.py +10 -4
- pulumiverse_scaleway/container_token.py +32 -26
- pulumiverse_scaleway/container_trigger.py +12 -6
- pulumiverse_scaleway/containers/__init__.py +17 -0
- pulumiverse_scaleway/containers/_inputs.py +389 -0
- pulumiverse_scaleway/containers/container.py +1635 -0
- pulumiverse_scaleway/containers/cron.py +460 -0
- pulumiverse_scaleway/containers/domain.py +408 -0
- pulumiverse_scaleway/containers/get_container.py +562 -0
- pulumiverse_scaleway/containers/get_namespace.py +283 -0
- pulumiverse_scaleway/containers/namespace.py +638 -0
- pulumiverse_scaleway/containers/outputs.py +412 -0
- pulumiverse_scaleway/containers/token.py +454 -0
- pulumiverse_scaleway/containers/trigger.py +482 -0
- pulumiverse_scaleway/database.py +10 -4
- pulumiverse_scaleway/database_acl.py +10 -4
- pulumiverse_scaleway/database_backup.py +14 -8
- pulumiverse_scaleway/database_instance.py +24 -18
- pulumiverse_scaleway/database_privilege.py +16 -10
- pulumiverse_scaleway/database_read_replica.py +22 -16
- pulumiverse_scaleway/database_user.py +10 -4
- pulumiverse_scaleway/databases/__init__.py +23 -0
- pulumiverse_scaleway/databases/_inputs.py +822 -0
- pulumiverse_scaleway/databases/acl.py +334 -0
- pulumiverse_scaleway/databases/database.py +409 -0
- pulumiverse_scaleway/databases/database_backup.py +576 -0
- pulumiverse_scaleway/databases/get_acl.py +143 -0
- pulumiverse_scaleway/databases/get_database.py +187 -0
- pulumiverse_scaleway/databases/get_database_backup.py +253 -0
- pulumiverse_scaleway/databases/get_instance.py +415 -0
- pulumiverse_scaleway/databases/get_privilege.py +181 -0
- pulumiverse_scaleway/databases/instance.py +1696 -0
- pulumiverse_scaleway/databases/outputs.py +866 -0
- pulumiverse_scaleway/databases/privilege.py +424 -0
- pulumiverse_scaleway/databases/read_replica.py +530 -0
- pulumiverse_scaleway/databases/serverless_database.py +434 -0
- pulumiverse_scaleway/databases/snapshot.py +610 -0
- pulumiverse_scaleway/databases/user.py +448 -0
- pulumiverse_scaleway/domain/__init__.py +13 -0
- pulumiverse_scaleway/domain/_inputs.py +341 -0
- pulumiverse_scaleway/domain/get_record.py +340 -0
- pulumiverse_scaleway/domain/get_zone.py +201 -0
- pulumiverse_scaleway/domain/outputs.py +408 -0
- pulumiverse_scaleway/domain/record.py +1118 -0
- pulumiverse_scaleway/domain/zone.py +432 -0
- pulumiverse_scaleway/domain_record.py +36 -30
- pulumiverse_scaleway/domain_zone.py +6 -0
- pulumiverse_scaleway/elasticmetal/__init__.py +18 -0
- pulumiverse_scaleway/elasticmetal/_inputs.py +509 -0
- pulumiverse_scaleway/elasticmetal/get_ip.py +247 -0
- pulumiverse_scaleway/elasticmetal/get_ips.py +240 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +245 -0
- pulumiverse_scaleway/elasticmetal/get_option.py +168 -0
- pulumiverse_scaleway/elasticmetal/get_os.py +174 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +422 -0
- pulumiverse_scaleway/elasticmetal/ip.py +704 -0
- pulumiverse_scaleway/elasticmetal/ip_mac_address.py +512 -0
- pulumiverse_scaleway/elasticmetal/outputs.py +974 -0
- pulumiverse_scaleway/elasticmetal/server.py +1591 -0
- pulumiverse_scaleway/flexible_ip.py +22 -16
- pulumiverse_scaleway/flexible_ip_mac_address.py +22 -16
- pulumiverse_scaleway/function.py +6 -0
- pulumiverse_scaleway/function_cron.py +16 -10
- pulumiverse_scaleway/function_domain.py +16 -10
- pulumiverse_scaleway/function_namespace.py +10 -4
- pulumiverse_scaleway/function_token.py +32 -26
- pulumiverse_scaleway/function_trigger.py +12 -6
- pulumiverse_scaleway/functions/__init__.py +17 -0
- pulumiverse_scaleway/functions/_inputs.py +211 -0
- pulumiverse_scaleway/functions/cron.py +464 -0
- pulumiverse_scaleway/functions/domain.py +372 -0
- pulumiverse_scaleway/functions/function.py +1105 -0
- pulumiverse_scaleway/functions/get_function.py +365 -0
- pulumiverse_scaleway/functions/get_namespace.py +238 -0
- pulumiverse_scaleway/functions/namespace.py +582 -0
- pulumiverse_scaleway/functions/outputs.py +168 -0
- pulumiverse_scaleway/functions/token.py +462 -0
- pulumiverse_scaleway/functions/trigger.py +482 -0
- pulumiverse_scaleway/get_account_project.py +6 -2
- pulumiverse_scaleway/get_account_ssh_key.py +6 -2
- pulumiverse_scaleway/get_availability_zones.py +8 -4
- pulumiverse_scaleway/get_baremetal_offer.py +4 -0
- pulumiverse_scaleway/get_baremetal_option.py +8 -4
- pulumiverse_scaleway/get_baremetal_os.py +8 -4
- pulumiverse_scaleway/get_baremetal_server.py +8 -4
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_billing_invoices.py +4 -0
- pulumiverse_scaleway/get_block_snapshot.py +6 -2
- pulumiverse_scaleway/get_block_volume.py +6 -2
- pulumiverse_scaleway/get_cockpit.py +12 -8
- pulumiverse_scaleway/get_cockpit_plan.py +10 -6
- pulumiverse_scaleway/get_cockpit_source.py +8 -4
- pulumiverse_scaleway/get_container.py +16 -12
- pulumiverse_scaleway/get_container_namespace.py +10 -6
- pulumiverse_scaleway/get_database.py +6 -2
- pulumiverse_scaleway/get_database_acl.py +6 -2
- pulumiverse_scaleway/get_database_backup.py +10 -6
- pulumiverse_scaleway/get_database_instance.py +4 -0
- pulumiverse_scaleway/get_database_privilege.py +6 -2
- pulumiverse_scaleway/get_domain_record.py +10 -6
- pulumiverse_scaleway/get_domain_zone.py +4 -0
- pulumiverse_scaleway/get_flexible_ip.py +4 -0
- pulumiverse_scaleway/get_flexible_ips.py +16 -12
- pulumiverse_scaleway/get_function.py +6 -2
- pulumiverse_scaleway/get_function_namespace.py +6 -2
- pulumiverse_scaleway/get_iam_api_key.py +6 -2
- pulumiverse_scaleway/get_iam_application.py +8 -4
- pulumiverse_scaleway/get_iam_group.py +8 -4
- pulumiverse_scaleway/get_iam_ssh_key.py +4 -0
- pulumiverse_scaleway/get_iam_user.py +8 -4
- pulumiverse_scaleway/get_instance_image.py +4 -0
- pulumiverse_scaleway/get_instance_ip.py +4 -0
- pulumiverse_scaleway/get_instance_placement_group.py +4 -0
- pulumiverse_scaleway/get_instance_private_nic.py +10 -6
- pulumiverse_scaleway/get_instance_security_group.py +4 -0
- pulumiverse_scaleway/get_instance_server.py +4 -0
- pulumiverse_scaleway/get_instance_servers.py +4 -0
- pulumiverse_scaleway/get_instance_snapshot.py +8 -4
- pulumiverse_scaleway/get_instance_volume.py +4 -0
- pulumiverse_scaleway/get_iot_device.py +4 -0
- pulumiverse_scaleway/get_iot_hub.py +4 -0
- pulumiverse_scaleway/get_ipam_ip.py +18 -14
- pulumiverse_scaleway/get_ipam_ips.py +14 -10
- pulumiverse_scaleway/get_k8s_version.py +8 -4
- pulumiverse_scaleway/get_kubernetes_cluster.py +4 -0
- pulumiverse_scaleway/get_kubernetes_node_pool.py +4 -0
- pulumiverse_scaleway/get_lb_acls.py +8 -4
- pulumiverse_scaleway/get_lb_backend.py +18 -14
- pulumiverse_scaleway/get_lb_backends.py +8 -4
- pulumiverse_scaleway/get_lb_frontend.py +16 -12
- pulumiverse_scaleway/get_lb_frontends.py +8 -4
- pulumiverse_scaleway/get_lb_ips.py +4 -0
- pulumiverse_scaleway/get_lb_route.py +16 -12
- pulumiverse_scaleway/get_lb_routes.py +8 -4
- pulumiverse_scaleway/get_lbs.py +4 -0
- pulumiverse_scaleway/get_loadbalancer.py +8 -4
- pulumiverse_scaleway/get_loadbalancer_certificate.py +4 -0
- pulumiverse_scaleway/get_loadbalancer_ip.py +4 -0
- pulumiverse_scaleway/get_mnq_sns.py +8 -4
- pulumiverse_scaleway/get_mnq_sqs.py +8 -4
- pulumiverse_scaleway/get_mongo_db_instance.py +4 -0
- pulumiverse_scaleway/get_object_bucket.py +12 -8
- pulumiverse_scaleway/get_object_bucket_policy.py +8 -4
- pulumiverse_scaleway/get_redis_cluster.py +4 -0
- pulumiverse_scaleway/get_registry_image.py +4 -0
- pulumiverse_scaleway/get_registry_image_tag.py +4 -0
- pulumiverse_scaleway/get_registry_namespace.py +4 -0
- pulumiverse_scaleway/get_secret.py +12 -8
- pulumiverse_scaleway/get_secret_version.py +14 -10
- pulumiverse_scaleway/get_tem_domain.py +4 -0
- pulumiverse_scaleway/get_vpc.py +10 -6
- pulumiverse_scaleway/get_vpc_gateway_network.py +10 -6
- pulumiverse_scaleway/get_vpc_private_network.py +10 -6
- pulumiverse_scaleway/get_vpc_public_gateway.py +10 -6
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp.py +8 -4
- pulumiverse_scaleway/get_vpc_public_gateway_dhcp_reservation.py +70 -66
- pulumiverse_scaleway/get_vpc_public_gateway_ip.py +8 -4
- pulumiverse_scaleway/get_vpc_public_pat_rule.py +26 -22
- pulumiverse_scaleway/get_vpc_routes.py +4 -0
- pulumiverse_scaleway/get_vpcs.py +4 -0
- pulumiverse_scaleway/get_web_host_offer.py +8 -4
- pulumiverse_scaleway/get_webhosting.py +8 -4
- pulumiverse_scaleway/hosting/__init__.py +12 -0
- pulumiverse_scaleway/hosting/_inputs.py +295 -0
- pulumiverse_scaleway/hosting/get_hosting.py +354 -0
- pulumiverse_scaleway/hosting/get_offer.py +229 -0
- pulumiverse_scaleway/hosting/hosting.py +870 -0
- pulumiverse_scaleway/hosting/outputs.py +626 -0
- pulumiverse_scaleway/iam/__init__.py +21 -0
- pulumiverse_scaleway/iam/_inputs.py +138 -0
- pulumiverse_scaleway/iam/api_key.py +622 -0
- pulumiverse_scaleway/iam/application.py +419 -0
- pulumiverse_scaleway/iam/get_api_key.py +210 -0
- pulumiverse_scaleway/iam/get_application.py +210 -0
- pulumiverse_scaleway/iam/get_group.py +236 -0
- pulumiverse_scaleway/iam/get_ssh_key.py +212 -0
- pulumiverse_scaleway/iam/get_user.py +177 -0
- pulumiverse_scaleway/iam/group.py +568 -0
- pulumiverse_scaleway/iam/group_membership.py +325 -0
- pulumiverse_scaleway/iam/outputs.py +111 -0
- pulumiverse_scaleway/iam/policy.py +775 -0
- pulumiverse_scaleway/iam/ssh_key.py +457 -0
- pulumiverse_scaleway/iam/user.py +515 -0
- pulumiverse_scaleway/iam_api_key.py +16 -10
- pulumiverse_scaleway/iam_application.py +8 -2
- pulumiverse_scaleway/iam_group.py +12 -6
- pulumiverse_scaleway/iam_group_membership.py +12 -6
- pulumiverse_scaleway/iam_policy.py +18 -12
- pulumiverse_scaleway/iam_ssh_key.py +8 -2
- pulumiverse_scaleway/iam_user.py +8 -2
- pulumiverse_scaleway/inference/__init__.py +10 -0
- pulumiverse_scaleway/inference/_inputs.py +209 -0
- pulumiverse_scaleway/inference/deployment.py +824 -0
- pulumiverse_scaleway/inference/outputs.py +169 -0
- pulumiverse_scaleway/inference_deployment.py +8 -2
- pulumiverse_scaleway/instance/__init__.py +29 -0
- pulumiverse_scaleway/instance/_inputs.py +1237 -0
- pulumiverse_scaleway/instance/get_image.py +305 -0
- pulumiverse_scaleway/instance/get_ip.py +204 -0
- pulumiverse_scaleway/instance/get_placement_group.py +212 -0
- pulumiverse_scaleway/instance/get_private_nic.py +226 -0
- pulumiverse_scaleway/instance/get_security_group.py +268 -0
- pulumiverse_scaleway/instance/get_server.py +488 -0
- pulumiverse_scaleway/instance/get_servers.py +187 -0
- pulumiverse_scaleway/instance/get_snapshot.py +248 -0
- pulumiverse_scaleway/instance/get_volume.py +226 -0
- pulumiverse_scaleway/instance/image.py +752 -0
- pulumiverse_scaleway/instance/ip.py +471 -0
- pulumiverse_scaleway/instance/ip_reverse_dns.py +310 -0
- pulumiverse_scaleway/instance/outputs.py +1533 -0
- pulumiverse_scaleway/instance/placement_group.py +481 -0
- pulumiverse_scaleway/instance/private_nic.py +557 -0
- pulumiverse_scaleway/instance/security_group.py +722 -0
- pulumiverse_scaleway/instance/security_group_rules.py +441 -0
- pulumiverse_scaleway/instance/server.py +1938 -0
- pulumiverse_scaleway/instance/snapshot.py +671 -0
- pulumiverse_scaleway/instance/user_data.py +437 -0
- pulumiverse_scaleway/instance/volume.py +584 -0
- pulumiverse_scaleway/instance_image.py +18 -12
- pulumiverse_scaleway/instance_ip.py +8 -2
- pulumiverse_scaleway/instance_ip_reverse_dns.py +12 -6
- pulumiverse_scaleway/instance_placement_group.py +8 -2
- pulumiverse_scaleway/instance_private_nic.py +24 -18
- pulumiverse_scaleway/instance_security_group.py +6 -0
- pulumiverse_scaleway/instance_security_group_rules.py +22 -16
- pulumiverse_scaleway/instance_server.py +74 -68
- pulumiverse_scaleway/instance_snapshot.py +22 -16
- pulumiverse_scaleway/instance_user_data.py +16 -10
- pulumiverse_scaleway/instance_volume.py +8 -2
- pulumiverse_scaleway/iot/__init__.py +15 -0
- pulumiverse_scaleway/iot/_inputs.py +539 -0
- pulumiverse_scaleway/iot/device.py +752 -0
- pulumiverse_scaleway/iot/get_device.py +257 -0
- pulumiverse_scaleway/iot/get_hub.py +322 -0
- pulumiverse_scaleway/iot/hub.py +898 -0
- pulumiverse_scaleway/iot/network.py +474 -0
- pulumiverse_scaleway/iot/outputs.py +465 -0
- pulumiverse_scaleway/iot/route.py +662 -0
- pulumiverse_scaleway/iot_device.py +14 -8
- pulumiverse_scaleway/iot_hub.py +8 -2
- pulumiverse_scaleway/iot_network.py +12 -6
- pulumiverse_scaleway/iot_route.py +32 -26
- pulumiverse_scaleway/ipam/__init__.py +13 -0
- pulumiverse_scaleway/ipam/_inputs.py +442 -0
- pulumiverse_scaleway/ipam/get_ip.py +419 -0
- pulumiverse_scaleway/ipam/get_ips.py +358 -0
- pulumiverse_scaleway/ipam/ip.py +759 -0
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +320 -0
- pulumiverse_scaleway/ipam/outputs.py +481 -0
- pulumiverse_scaleway/ipam_ip.py +30 -24
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +6 -0
- pulumiverse_scaleway/job/__init__.py +10 -0
- pulumiverse_scaleway/job/_inputs.py +73 -0
- pulumiverse_scaleway/job/definition.py +694 -0
- pulumiverse_scaleway/job/outputs.py +49 -0
- pulumiverse_scaleway/job_definition.py +8 -2
- pulumiverse_scaleway/kubernetes/__init__.py +14 -0
- pulumiverse_scaleway/kubernetes/_inputs.py +717 -0
- pulumiverse_scaleway/kubernetes/cluster.py +1540 -0
- pulumiverse_scaleway/kubernetes/get_cluster.py +417 -0
- pulumiverse_scaleway/kubernetes/get_pool.py +436 -0
- pulumiverse_scaleway/kubernetes/get_version.py +196 -0
- pulumiverse_scaleway/kubernetes/outputs.py +944 -0
- pulumiverse_scaleway/kubernetes/pool.py +1313 -0
- pulumiverse_scaleway/kubernetes_cluster.py +36 -30
- pulumiverse_scaleway/kubernetes_node_pool.py +6 -0
- pulumiverse_scaleway/loadbalancer.py +35 -29
- pulumiverse_scaleway/loadbalancer_acl.py +8 -2
- pulumiverse_scaleway/loadbalancer_backend.py +10 -4
- pulumiverse_scaleway/loadbalancer_certificate.py +6 -0
- pulumiverse_scaleway/loadbalancer_frontend.py +10 -4
- pulumiverse_scaleway/loadbalancer_ip.py +10 -4
- pulumiverse_scaleway/loadbalancer_route.py +26 -20
- pulumiverse_scaleway/loadbalancers/__init__.py +28 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +1103 -0
- pulumiverse_scaleway/loadbalancers/acl.py +522 -0
- pulumiverse_scaleway/loadbalancers/backend.py +1590 -0
- pulumiverse_scaleway/loadbalancers/certificate.py +462 -0
- pulumiverse_scaleway/loadbalancers/frontend.py +831 -0
- pulumiverse_scaleway/loadbalancers/get_acls.py +198 -0
- pulumiverse_scaleway/loadbalancers/get_backend.py +486 -0
- pulumiverse_scaleway/loadbalancers/get_backends.py +196 -0
- pulumiverse_scaleway/loadbalancers/get_certificate.py +230 -0
- pulumiverse_scaleway/loadbalancers/get_frontend.py +274 -0
- pulumiverse_scaleway/loadbalancers/get_frontends.py +196 -0
- pulumiverse_scaleway/loadbalancers/get_ip.py +228 -0
- pulumiverse_scaleway/loadbalancers/get_ips.py +198 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +339 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancers.py +187 -0
- pulumiverse_scaleway/loadbalancers/get_route.py +217 -0
- pulumiverse_scaleway/loadbalancers/get_routes.py +179 -0
- pulumiverse_scaleway/loadbalancers/ip.py +516 -0
- pulumiverse_scaleway/loadbalancers/load_balancer.py +1063 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +2491 -0
- pulumiverse_scaleway/loadbalancers/route.py +525 -0
- pulumiverse_scaleway/mnq/__init__.py +20 -0
- pulumiverse_scaleway/mnq/_inputs.py +169 -0
- pulumiverse_scaleway/mnq/get_sns.py +150 -0
- pulumiverse_scaleway/mnq/get_sqs.py +150 -0
- pulumiverse_scaleway/mnq/nats_account.py +336 -0
- pulumiverse_scaleway/mnq/nats_credentials.py +332 -0
- pulumiverse_scaleway/mnq/outputs.py +149 -0
- pulumiverse_scaleway/mnq/sns.py +308 -0
- pulumiverse_scaleway/mnq/sns_credentials.py +415 -0
- pulumiverse_scaleway/mnq/sns_topic.py +661 -0
- pulumiverse_scaleway/mnq/sns_topic_subscription.py +701 -0
- pulumiverse_scaleway/mnq/sqs.py +306 -0
- pulumiverse_scaleway/mnq/sqs_credentials.py +415 -0
- pulumiverse_scaleway/mnq/sqs_queue.py +802 -0
- pulumiverse_scaleway/mnq_nats_account.py +8 -2
- pulumiverse_scaleway/mnq_nats_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sns.py +12 -6
- pulumiverse_scaleway/mnq_sns_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sns_topic.py +16 -10
- pulumiverse_scaleway/mnq_sns_topic_subscription.py +22 -16
- pulumiverse_scaleway/mnq_sqs.py +12 -6
- pulumiverse_scaleway/mnq_sqs_credentials.py +10 -4
- pulumiverse_scaleway/mnq_sqs_queue.py +16 -10
- pulumiverse_scaleway/mongo_db_instance.py +14 -8
- pulumiverse_scaleway/mongo_db_snapshot.py +8 -2
- pulumiverse_scaleway/mongodb/__init__.py +12 -0
- pulumiverse_scaleway/mongodb/_inputs.py +208 -0
- pulumiverse_scaleway/mongodb/get_instance.py +335 -0
- pulumiverse_scaleway/mongodb/instance.py +1000 -0
- pulumiverse_scaleway/mongodb/outputs.py +270 -0
- pulumiverse_scaleway/mongodb/snapshot.py +523 -0
- pulumiverse_scaleway/network/__init__.py +29 -0
- pulumiverse_scaleway/network/_inputs.py +383 -0
- pulumiverse_scaleway/network/gateway_network.py +868 -0
- pulumiverse_scaleway/network/get_gateway_network.py +287 -0
- pulumiverse_scaleway/network/get_private_network.py +282 -0
- pulumiverse_scaleway/network/get_public_gateway.py +304 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp.py +305 -0
- pulumiverse_scaleway/network/get_public_gateway_dhcp_reservation.py +382 -0
- pulumiverse_scaleway/network/get_public_gateway_ip.py +199 -0
- pulumiverse_scaleway/network/get_public_gateway_pat_rule.py +313 -0
- pulumiverse_scaleway/network/get_routes.py +208 -0
- pulumiverse_scaleway/network/get_vpc.py +246 -0
- pulumiverse_scaleway/network/get_vpcs.py +174 -0
- pulumiverse_scaleway/network/outputs.py +747 -0
- pulumiverse_scaleway/network/private_network.py +736 -0
- pulumiverse_scaleway/network/public_gateway.py +791 -0
- pulumiverse_scaleway/network/public_gateway_dhcp.py +949 -0
- pulumiverse_scaleway/network/public_gateway_dhcp_reservation.py +516 -0
- pulumiverse_scaleway/network/public_gateway_ip.py +459 -0
- pulumiverse_scaleway/network/public_gateway_ip_reverse_dns.py +308 -0
- pulumiverse_scaleway/network/public_gateway_pat_rule.py +593 -0
- pulumiverse_scaleway/network/route.py +579 -0
- pulumiverse_scaleway/network/vpc.py +538 -0
- pulumiverse_scaleway/object/__init__.py +17 -0
- pulumiverse_scaleway/object/_inputs.py +831 -0
- pulumiverse_scaleway/object/bucket.py +876 -0
- pulumiverse_scaleway/object/bucket_acl.py +598 -0
- pulumiverse_scaleway/object/bucket_lock_configuration.py +397 -0
- pulumiverse_scaleway/object/bucket_policy.py +675 -0
- pulumiverse_scaleway/object/bucket_website_configuration.py +536 -0
- pulumiverse_scaleway/object/get_bucket.py +290 -0
- pulumiverse_scaleway/object/get_bucket_policy.py +163 -0
- pulumiverse_scaleway/object/item.py +778 -0
- pulumiverse_scaleway/object/outputs.py +802 -0
- pulumiverse_scaleway/object_bucket.py +28 -22
- pulumiverse_scaleway/object_bucket_acl.py +14 -8
- pulumiverse_scaleway/object_bucket_lock_configuration.py +12 -6
- pulumiverse_scaleway/object_bucket_policy.py +46 -40
- pulumiverse_scaleway/object_bucket_website_configuration.py +18 -12
- pulumiverse_scaleway/object_item.py +8 -2
- pulumiverse_scaleway/observability/__init__.py +17 -0
- pulumiverse_scaleway/observability/_inputs.py +417 -0
- pulumiverse_scaleway/observability/alert_manager.py +403 -0
- pulumiverse_scaleway/observability/cockpit.py +325 -0
- pulumiverse_scaleway/observability/get_instance.py +205 -0
- pulumiverse_scaleway/observability/get_plan.py +125 -0
- pulumiverse_scaleway/observability/get_source.py +262 -0
- pulumiverse_scaleway/observability/grafana_user.py +364 -0
- pulumiverse_scaleway/observability/outputs.py +425 -0
- pulumiverse_scaleway/observability/source.py +569 -0
- pulumiverse_scaleway/observability/token.py +481 -0
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/rdb_snapshot.py +16 -10
- pulumiverse_scaleway/redis/__init__.py +11 -0
- pulumiverse_scaleway/redis/_inputs.py +330 -0
- pulumiverse_scaleway/redis/cluster.py +1203 -0
- pulumiverse_scaleway/redis/get_cluster.py +347 -0
- pulumiverse_scaleway/redis/outputs.py +356 -0
- pulumiverse_scaleway/redis_cluster.py +14 -8
- pulumiverse_scaleway/registry/__init__.py +11 -0
- pulumiverse_scaleway/registry/get_image.py +239 -0
- pulumiverse_scaleway/registry/get_image_tag.py +229 -0
- pulumiverse_scaleway/registry/get_namespace.py +199 -0
- pulumiverse_scaleway/registry/namespace.py +460 -0
- pulumiverse_scaleway/registry_namespace.py +8 -2
- pulumiverse_scaleway/sdb_database.py +10 -4
- pulumiverse_scaleway/secret.py +6 -0
- pulumiverse_scaleway/secret_version.py +12 -6
- pulumiverse_scaleway/secrets/__init__.py +13 -0
- pulumiverse_scaleway/secrets/_inputs.py +94 -0
- pulumiverse_scaleway/secrets/get_secret.py +338 -0
- pulumiverse_scaleway/secrets/get_version.py +340 -0
- pulumiverse_scaleway/secrets/outputs.py +120 -0
- pulumiverse_scaleway/secrets/secret.py +665 -0
- pulumiverse_scaleway/secrets/version.py +489 -0
- pulumiverse_scaleway/tem/__init__.py +13 -0
- pulumiverse_scaleway/tem/_inputs.py +135 -0
- pulumiverse_scaleway/tem/domain.py +1032 -0
- pulumiverse_scaleway/tem/domain_validation.py +305 -0
- pulumiverse_scaleway/tem/get_domain.py +378 -0
- pulumiverse_scaleway/tem/outputs.py +171 -0
- pulumiverse_scaleway/tem/webhook.py +642 -0
- pulumiverse_scaleway/tem_domain.py +20 -14
- pulumiverse_scaleway/tem_domain_validation.py +10 -4
- pulumiverse_scaleway/tem_webhook.py +28 -22
- pulumiverse_scaleway/vpc.py +10 -4
- pulumiverse_scaleway/vpc_gateway_network.py +40 -34
- pulumiverse_scaleway/vpc_private_network.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway.py +8 -2
- pulumiverse_scaleway/vpc_public_gateway_dhcp.py +15 -9
- pulumiverse_scaleway/vpc_public_gateway_dhcp_reservation.py +32 -26
- pulumiverse_scaleway/vpc_public_gateway_ip.py +10 -4
- pulumiverse_scaleway/vpc_public_gateway_ip_reverse_dns.py +12 -6
- pulumiverse_scaleway/vpc_public_gateway_pat_rule.py +26 -20
- pulumiverse_scaleway/vpc_route.py +16 -10
- pulumiverse_scaleway/webhosting.py +10 -4
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.25.0a1742668904.dist-info}/METADATA +1 -1
- pulumiverse_scaleway-1.25.0a1742668904.dist-info/RECORD +470 -0
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.25.0a1742668904.dist-info}/WHEEL +1 -1
- pulumiverse_scaleway-1.25.0a1742464679.dist-info/RECORD +0 -206
- {pulumiverse_scaleway-1.25.0a1742464679.dist-info → pulumiverse_scaleway-1.25.0a1742668904.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,419 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetIpResult',
|
21
|
+
'AwaitableGetIpResult',
|
22
|
+
'get_ip',
|
23
|
+
'get_ip_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetIpResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getIp.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, address=None, address_cidr=None, attached=None, id=None, ipam_ip_id=None, mac_address=None, organization_id=None, private_network_id=None, project_id=None, region=None, resource=None, tags=None, type=None, zonal=None):
|
32
|
+
if address and not isinstance(address, str):
|
33
|
+
raise TypeError("Expected argument 'address' to be a str")
|
34
|
+
pulumi.set(__self__, "address", address)
|
35
|
+
if address_cidr and not isinstance(address_cidr, str):
|
36
|
+
raise TypeError("Expected argument 'address_cidr' to be a str")
|
37
|
+
pulumi.set(__self__, "address_cidr", address_cidr)
|
38
|
+
if attached and not isinstance(attached, bool):
|
39
|
+
raise TypeError("Expected argument 'attached' to be a bool")
|
40
|
+
pulumi.set(__self__, "attached", attached)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if ipam_ip_id and not isinstance(ipam_ip_id, str):
|
45
|
+
raise TypeError("Expected argument 'ipam_ip_id' to be a str")
|
46
|
+
pulumi.set(__self__, "ipam_ip_id", ipam_ip_id)
|
47
|
+
if mac_address and not isinstance(mac_address, str):
|
48
|
+
raise TypeError("Expected argument 'mac_address' to be a str")
|
49
|
+
pulumi.set(__self__, "mac_address", mac_address)
|
50
|
+
if organization_id and not isinstance(organization_id, str):
|
51
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
52
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
53
|
+
if private_network_id and not isinstance(private_network_id, str):
|
54
|
+
raise TypeError("Expected argument 'private_network_id' to be a str")
|
55
|
+
pulumi.set(__self__, "private_network_id", private_network_id)
|
56
|
+
if project_id and not isinstance(project_id, str):
|
57
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
58
|
+
pulumi.set(__self__, "project_id", project_id)
|
59
|
+
if region and not isinstance(region, str):
|
60
|
+
raise TypeError("Expected argument 'region' to be a str")
|
61
|
+
pulumi.set(__self__, "region", region)
|
62
|
+
if resource and not isinstance(resource, dict):
|
63
|
+
raise TypeError("Expected argument 'resource' to be a dict")
|
64
|
+
pulumi.set(__self__, "resource", resource)
|
65
|
+
if tags and not isinstance(tags, list):
|
66
|
+
raise TypeError("Expected argument 'tags' to be a list")
|
67
|
+
pulumi.set(__self__, "tags", tags)
|
68
|
+
if type and not isinstance(type, str):
|
69
|
+
raise TypeError("Expected argument 'type' to be a str")
|
70
|
+
pulumi.set(__self__, "type", type)
|
71
|
+
if zonal and not isinstance(zonal, str):
|
72
|
+
raise TypeError("Expected argument 'zonal' to be a str")
|
73
|
+
pulumi.set(__self__, "zonal", zonal)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def address(self) -> str:
|
78
|
+
"""
|
79
|
+
The IP address.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "address")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="addressCidr")
|
85
|
+
def address_cidr(self) -> str:
|
86
|
+
"""
|
87
|
+
the IP address in CIDR notation.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "address_cidr")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def attached(self) -> Optional[bool]:
|
94
|
+
return pulumi.get(self, "attached")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def id(self) -> str:
|
99
|
+
"""
|
100
|
+
The provider-assigned unique ID for this managed resource.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "id")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="ipamIpId")
|
106
|
+
def ipam_ip_id(self) -> Optional[str]:
|
107
|
+
return pulumi.get(self, "ipam_ip_id")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter(name="macAddress")
|
111
|
+
def mac_address(self) -> Optional[str]:
|
112
|
+
return pulumi.get(self, "mac_address")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="organizationId")
|
116
|
+
def organization_id(self) -> str:
|
117
|
+
return pulumi.get(self, "organization_id")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="privateNetworkId")
|
121
|
+
def private_network_id(self) -> Optional[str]:
|
122
|
+
return pulumi.get(self, "private_network_id")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="projectId")
|
126
|
+
def project_id(self) -> str:
|
127
|
+
return pulumi.get(self, "project_id")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def region(self) -> str:
|
132
|
+
return pulumi.get(self, "region")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter
|
136
|
+
def resource(self) -> Optional['outputs.GetIpResourceResult']:
|
137
|
+
return pulumi.get(self, "resource")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def tags(self) -> Optional[Sequence[str]]:
|
142
|
+
return pulumi.get(self, "tags")
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter
|
146
|
+
def type(self) -> Optional[str]:
|
147
|
+
return pulumi.get(self, "type")
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def zonal(self) -> str:
|
152
|
+
return pulumi.get(self, "zonal")
|
153
|
+
|
154
|
+
|
155
|
+
class AwaitableGetIpResult(GetIpResult):
|
156
|
+
# pylint: disable=using-constant-test
|
157
|
+
def __await__(self):
|
158
|
+
if False:
|
159
|
+
yield self
|
160
|
+
return GetIpResult(
|
161
|
+
address=self.address,
|
162
|
+
address_cidr=self.address_cidr,
|
163
|
+
attached=self.attached,
|
164
|
+
id=self.id,
|
165
|
+
ipam_ip_id=self.ipam_ip_id,
|
166
|
+
mac_address=self.mac_address,
|
167
|
+
organization_id=self.organization_id,
|
168
|
+
private_network_id=self.private_network_id,
|
169
|
+
project_id=self.project_id,
|
170
|
+
region=self.region,
|
171
|
+
resource=self.resource,
|
172
|
+
tags=self.tags,
|
173
|
+
type=self.type,
|
174
|
+
zonal=self.zonal)
|
175
|
+
|
176
|
+
|
177
|
+
def get_ip(attached: Optional[bool] = None,
|
178
|
+
ipam_ip_id: Optional[str] = None,
|
179
|
+
mac_address: Optional[str] = None,
|
180
|
+
private_network_id: Optional[str] = None,
|
181
|
+
project_id: Optional[str] = None,
|
182
|
+
region: Optional[str] = None,
|
183
|
+
resource: Optional[Union['GetIpResourceArgs', 'GetIpResourceArgsDict']] = None,
|
184
|
+
tags: Optional[Sequence[str]] = None,
|
185
|
+
type: Optional[str] = None,
|
186
|
+
zonal: Optional[str] = None,
|
187
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpResult:
|
188
|
+
"""
|
189
|
+
Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.
|
190
|
+
|
191
|
+
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).
|
192
|
+
|
193
|
+
## Examples
|
194
|
+
|
195
|
+
### IPAM IP ID
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_scaleway as scaleway
|
200
|
+
|
201
|
+
# Get info by ipam ip id
|
202
|
+
by_id = scaleway.ipam.get_ip(ipam_ip_id="11111111-1111-1111-1111-111111111111")
|
203
|
+
```
|
204
|
+
|
205
|
+
### Instance Private Network IP
|
206
|
+
|
207
|
+
Get an Instance's IP on a Private Network.
|
208
|
+
|
209
|
+
```python
|
210
|
+
import pulumi
|
211
|
+
import pulumi_scaleway as scaleway
|
212
|
+
import pulumiverse_scaleway as scaleway
|
213
|
+
|
214
|
+
# Connect your instance to a private network using a private nic.
|
215
|
+
nic = scaleway.instance.PrivateNic("nic",
|
216
|
+
server_id=server["id"],
|
217
|
+
private_network_id=pn["id"])
|
218
|
+
# Find server private IPv4 using private-nic mac address
|
219
|
+
by_mac = scaleway.ipam.get_ip_output(mac_address=nic.mac_address,
|
220
|
+
type="ipv4")
|
221
|
+
# Find server private IPv4 using private-nic id
|
222
|
+
by_id = scaleway.ipam.get_ip_output(resource={
|
223
|
+
"id": nic.id,
|
224
|
+
"type": "instance_private_nic",
|
225
|
+
},
|
226
|
+
type="ipv4")
|
227
|
+
```
|
228
|
+
|
229
|
+
### RDB instance
|
230
|
+
|
231
|
+
```python
|
232
|
+
import pulumi
|
233
|
+
import pulumi_scaleway as scaleway
|
234
|
+
import pulumiverse_scaleway as scaleway
|
235
|
+
|
236
|
+
# Find the private IPv4 using resource name
|
237
|
+
pn = scaleway.network.PrivateNetwork("pn")
|
238
|
+
main = scaleway.databases.Instance("main",
|
239
|
+
name="test-rdb",
|
240
|
+
node_type="DB-DEV-S",
|
241
|
+
engine="PostgreSQL-15",
|
242
|
+
is_ha_cluster=True,
|
243
|
+
disable_backup=True,
|
244
|
+
user_name="my_initial_user",
|
245
|
+
password="thiZ_is_v&ry_s3cret",
|
246
|
+
private_network={
|
247
|
+
"pn_id": pn.id,
|
248
|
+
})
|
249
|
+
by_name = scaleway.ipam.get_ip_output(resource={
|
250
|
+
"name": main.name,
|
251
|
+
"type": "rdb_instance",
|
252
|
+
},
|
253
|
+
type="ipv4")
|
254
|
+
```
|
255
|
+
|
256
|
+
|
257
|
+
:param bool attached: Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipam_ip_id`.
|
258
|
+
:param str ipam_ip_id: The IPAM IP ID. Cannot be used with any other arguments.
|
259
|
+
:param str mac_address: The MAC address linked to the IP. Cannot be used with `ipam_ip_id`.
|
260
|
+
:param str private_network_id: The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`.
|
261
|
+
:param str project_id: `project_id`) The ID of the Project the IP is associated with.
|
262
|
+
:param str region: `region`) The region in which the IP exists.
|
263
|
+
:param Union['GetIpResourceArgs', 'GetIpResourceArgsDict'] resource: Filter by resource ID, type or name. Cannot be used with `ipam_ip_id`.
|
264
|
+
If specified, `type` is required, and at least one of `id` or `name` must be set.
|
265
|
+
:param Sequence[str] tags: The tags associated with the IP. Cannot be used with `ipam_ip_id`.
|
266
|
+
As datasource only returns one IP, the search with given tags must return only one result.
|
267
|
+
:param str type: The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`.
|
268
|
+
:param str zonal: Only IPs that are zonal, and in this zone, will be returned.
|
269
|
+
"""
|
270
|
+
__args__ = dict()
|
271
|
+
__args__['attached'] = attached
|
272
|
+
__args__['ipamIpId'] = ipam_ip_id
|
273
|
+
__args__['macAddress'] = mac_address
|
274
|
+
__args__['privateNetworkId'] = private_network_id
|
275
|
+
__args__['projectId'] = project_id
|
276
|
+
__args__['region'] = region
|
277
|
+
__args__['resource'] = resource
|
278
|
+
__args__['tags'] = tags
|
279
|
+
__args__['type'] = type
|
280
|
+
__args__['zonal'] = zonal
|
281
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
282
|
+
__ret__ = pulumi.runtime.invoke('scaleway:ipam/getIp:getIp', __args__, opts=opts, typ=GetIpResult).value
|
283
|
+
|
284
|
+
return AwaitableGetIpResult(
|
285
|
+
address=pulumi.get(__ret__, 'address'),
|
286
|
+
address_cidr=pulumi.get(__ret__, 'address_cidr'),
|
287
|
+
attached=pulumi.get(__ret__, 'attached'),
|
288
|
+
id=pulumi.get(__ret__, 'id'),
|
289
|
+
ipam_ip_id=pulumi.get(__ret__, 'ipam_ip_id'),
|
290
|
+
mac_address=pulumi.get(__ret__, 'mac_address'),
|
291
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
292
|
+
private_network_id=pulumi.get(__ret__, 'private_network_id'),
|
293
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
294
|
+
region=pulumi.get(__ret__, 'region'),
|
295
|
+
resource=pulumi.get(__ret__, 'resource'),
|
296
|
+
tags=pulumi.get(__ret__, 'tags'),
|
297
|
+
type=pulumi.get(__ret__, 'type'),
|
298
|
+
zonal=pulumi.get(__ret__, 'zonal'))
|
299
|
+
def get_ip_output(attached: Optional[pulumi.Input[Optional[bool]]] = None,
|
300
|
+
ipam_ip_id: Optional[pulumi.Input[Optional[str]]] = None,
|
301
|
+
mac_address: Optional[pulumi.Input[Optional[str]]] = None,
|
302
|
+
private_network_id: Optional[pulumi.Input[Optional[str]]] = None,
|
303
|
+
project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
304
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
305
|
+
resource: Optional[pulumi.Input[Optional[Union['GetIpResourceArgs', 'GetIpResourceArgsDict']]]] = None,
|
306
|
+
tags: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
307
|
+
type: Optional[pulumi.Input[Optional[str]]] = None,
|
308
|
+
zonal: Optional[pulumi.Input[Optional[str]]] = None,
|
309
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpResult]:
|
310
|
+
"""
|
311
|
+
Gets information about IP addresses managed by Scaleway's IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.
|
312
|
+
|
313
|
+
For more information about IPAM, see the main [documentation](https://www.scaleway.com/en/docs/vpc/concepts/#ipam).
|
314
|
+
|
315
|
+
## Examples
|
316
|
+
|
317
|
+
### IPAM IP ID
|
318
|
+
|
319
|
+
```python
|
320
|
+
import pulumi
|
321
|
+
import pulumi_scaleway as scaleway
|
322
|
+
|
323
|
+
# Get info by ipam ip id
|
324
|
+
by_id = scaleway.ipam.get_ip(ipam_ip_id="11111111-1111-1111-1111-111111111111")
|
325
|
+
```
|
326
|
+
|
327
|
+
### Instance Private Network IP
|
328
|
+
|
329
|
+
Get an Instance's IP on a Private Network.
|
330
|
+
|
331
|
+
```python
|
332
|
+
import pulumi
|
333
|
+
import pulumi_scaleway as scaleway
|
334
|
+
import pulumiverse_scaleway as scaleway
|
335
|
+
|
336
|
+
# Connect your instance to a private network using a private nic.
|
337
|
+
nic = scaleway.instance.PrivateNic("nic",
|
338
|
+
server_id=server["id"],
|
339
|
+
private_network_id=pn["id"])
|
340
|
+
# Find server private IPv4 using private-nic mac address
|
341
|
+
by_mac = scaleway.ipam.get_ip_output(mac_address=nic.mac_address,
|
342
|
+
type="ipv4")
|
343
|
+
# Find server private IPv4 using private-nic id
|
344
|
+
by_id = scaleway.ipam.get_ip_output(resource={
|
345
|
+
"id": nic.id,
|
346
|
+
"type": "instance_private_nic",
|
347
|
+
},
|
348
|
+
type="ipv4")
|
349
|
+
```
|
350
|
+
|
351
|
+
### RDB instance
|
352
|
+
|
353
|
+
```python
|
354
|
+
import pulumi
|
355
|
+
import pulumi_scaleway as scaleway
|
356
|
+
import pulumiverse_scaleway as scaleway
|
357
|
+
|
358
|
+
# Find the private IPv4 using resource name
|
359
|
+
pn = scaleway.network.PrivateNetwork("pn")
|
360
|
+
main = scaleway.databases.Instance("main",
|
361
|
+
name="test-rdb",
|
362
|
+
node_type="DB-DEV-S",
|
363
|
+
engine="PostgreSQL-15",
|
364
|
+
is_ha_cluster=True,
|
365
|
+
disable_backup=True,
|
366
|
+
user_name="my_initial_user",
|
367
|
+
password="thiZ_is_v&ry_s3cret",
|
368
|
+
private_network={
|
369
|
+
"pn_id": pn.id,
|
370
|
+
})
|
371
|
+
by_name = scaleway.ipam.get_ip_output(resource={
|
372
|
+
"name": main.name,
|
373
|
+
"type": "rdb_instance",
|
374
|
+
},
|
375
|
+
type="ipv4")
|
376
|
+
```
|
377
|
+
|
378
|
+
|
379
|
+
:param bool attached: Defines whether to filter only for IPs which are attached to a resource. Cannot be used with `ipam_ip_id`.
|
380
|
+
:param str ipam_ip_id: The IPAM IP ID. Cannot be used with any other arguments.
|
381
|
+
:param str mac_address: The MAC address linked to the IP. Cannot be used with `ipam_ip_id`.
|
382
|
+
:param str private_network_id: The ID of the Private Network the IP belongs to. Cannot be used with `ipam_ip_id`.
|
383
|
+
:param str project_id: `project_id`) The ID of the Project the IP is associated with.
|
384
|
+
:param str region: `region`) The region in which the IP exists.
|
385
|
+
:param Union['GetIpResourceArgs', 'GetIpResourceArgsDict'] resource: Filter by resource ID, type or name. Cannot be used with `ipam_ip_id`.
|
386
|
+
If specified, `type` is required, and at least one of `id` or `name` must be set.
|
387
|
+
:param Sequence[str] tags: The tags associated with the IP. Cannot be used with `ipam_ip_id`.
|
388
|
+
As datasource only returns one IP, the search with given tags must return only one result.
|
389
|
+
:param str type: The type of IP to search for (`ipv4` or `ipv6`). Cannot be used with `ipam_ip_id`.
|
390
|
+
:param str zonal: Only IPs that are zonal, and in this zone, will be returned.
|
391
|
+
"""
|
392
|
+
__args__ = dict()
|
393
|
+
__args__['attached'] = attached
|
394
|
+
__args__['ipamIpId'] = ipam_ip_id
|
395
|
+
__args__['macAddress'] = mac_address
|
396
|
+
__args__['privateNetworkId'] = private_network_id
|
397
|
+
__args__['projectId'] = project_id
|
398
|
+
__args__['region'] = region
|
399
|
+
__args__['resource'] = resource
|
400
|
+
__args__['tags'] = tags
|
401
|
+
__args__['type'] = type
|
402
|
+
__args__['zonal'] = zonal
|
403
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
404
|
+
__ret__ = pulumi.runtime.invoke_output('scaleway:ipam/getIp:getIp', __args__, opts=opts, typ=GetIpResult)
|
405
|
+
return __ret__.apply(lambda __response__: GetIpResult(
|
406
|
+
address=pulumi.get(__response__, 'address'),
|
407
|
+
address_cidr=pulumi.get(__response__, 'address_cidr'),
|
408
|
+
attached=pulumi.get(__response__, 'attached'),
|
409
|
+
id=pulumi.get(__response__, 'id'),
|
410
|
+
ipam_ip_id=pulumi.get(__response__, 'ipam_ip_id'),
|
411
|
+
mac_address=pulumi.get(__response__, 'mac_address'),
|
412
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
413
|
+
private_network_id=pulumi.get(__response__, 'private_network_id'),
|
414
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
415
|
+
region=pulumi.get(__response__, 'region'),
|
416
|
+
resource=pulumi.get(__response__, 'resource'),
|
417
|
+
tags=pulumi.get(__response__, 'tags'),
|
418
|
+
type=pulumi.get(__response__, 'type'),
|
419
|
+
zonal=pulumi.get(__response__, 'zonal')))
|