Finding Out the Public IP Address of an Instance
The public IP address of an Compute Classic instance is associated with the vcable of the instance. To find out the public IP address of an instance, you must identify the vcable ID of the instance and then find out the IP address associated with that vcable ID.
Task | REST API Call |
---|---|
1. Find out the vcable ID of the instance. | GET /instance/{name} In the response, note the value of the |
2. Get the IP association for the vcable ID that you noted in step 1. | GET /ip/association/{container}/?vcable={vcableID} In the response, note the value of the |