Allocation/deallocation of IP addresses to deployments in Aria Automation using Internal/External IPAM.
Environment
VMware Aria Automation 8.x
Resolution
There are 3 states of IP address in Aria Automation:
Allocated Once the IP address allocates to deployment respective IP address status within the Network changes to allocated and a connected resource link appears.
Released Upon deletion of the deployment from Aria Automation, IP address gets released Immediately. Note: It is always recommended to delete deployment or modify IP address using ONLY Aria Automation to avoid any IP address discrepancy.
Available IP address becomes available ONLY after 30 minutes of the released time for new allocation as per design to allow DNS cache to clear and avoid IP conflict. This 30 minute timeout is configurable via API method:
1) Log in and acquire a access token, you will need to present this as a bearer token to make requests to the vRA API
2) Make a PATCH request to this uri "/iaas/api/configuration-properties?apiVersion=2021-05-15" with the following body (where value is the timeout in minutes that is desired)
{
"key":"RELEASE_IPADDRESS_PERIOD_MINUTES",
"value":30
}