arvancloud_iaas_floating_ip (Resource)
Manages a floating IP address in the IaaS platform. Floating IPs are publicly accessible IP addresses that can be dynamically attached to and detached from compute server instances. Use the arvancloud_iaas_floating_ip_attachment resource to attach the floating IP to a server.
Example Usage
resource "arvancloud_iaas_floating_ip" "example" {
availability_zone = "ir-central1-b"
description = "Floating IP for production web server"
}
Schema
Required
availability_zone(String) Availability Zone where the floating IP is allocated (e.g.,ir-central1-b).
Optional
description(String) Optional description for the floating IP.
Read-Only
created_at(String) Timestamp when the floating IP was created.fixed_ip_address(String) The fixed (private) IP address associated with this floating IP when attached to a server.floating_ip_address(String) The floating IP address assigned by the platform.id(String) Unique identifier for the floating IP.network_id(String) ID of the network this floating IP is associated with.port_id(String) Network port ID associated with this floating IP when attached.server_id(String) ID of the server this floating IP is attached to (if any).status(String) Status of the floating IP (e.g.,ACTIVE,DOWN).subnet_id(String) ID of the subnet this floating IP is associated with.
Import
Import is supported using the following syntax:
terraform import arvancloud_iaas_floating_ip.example ir-central1:fip123