Reassigning a Reserved Public IP to a Different Private IP
Move a reserved public IP object from one private IP address to another private IP address.
As an example, let's say that you want to move a reserved public IP object from private IP address A to private IP address B. First, you must ensure that private IP address B doesn't have a public IP address already assigned to it. Then, you assign the reserved public IP address to private IP address B. When you do so, it's automatically unassigned from private IP address A.
IP CIDR addresses don't support assigning a public IP address.
Use the network public-ip update command and required parameters to reassign a reserved public IP address to a different private IP:
oci network public-ip update --public-ip-id new_public_IP_OCID --private-ip-id EMPTY_STRING ... [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdatePublicIp operation to reassign a reserved public IP address from one private IP address to another.