To implement a change to the DNS or DHCP settings for a VPC subnet, the subnet must be recreated:
- Identify the current configuration of the subnet using a GET API call.
- Backup any specific metadata or tags associated with the subnet.
- Delete the existing VPC subnet (ensure all connected VMs are disconnected or moved first).
- Recreate the subnet using the POST or PATCH API, including the new DNS/DHCP parameters in the initial request body.
Note: This limitation is specific to the 4.x release branch and has been addressed in the new VPC design on latter releases, a validation error will be added to the API to inform users that this operation is not supported.