Elastic IP
Elastic IPs are additional public IPv4/6 addresses that can be attached to Compute instances, with optional healthcheck support.
create-elastic-ip
Create an Elastic IP
POST /elastic-ipRequest body
application/jsonaddressfamily(string): Elastic IP address family (default: :inet4)description(string): Elastic IP descriptionhealthcheck(object): Elastic IP address healthcheck - schema detailslabels(object)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for create-elastic-ip: golang | Python | Java
CLI: exo api create-elastic-ip
get-elastic-ip
Retrieve Elastic IP details
GET /elastic-ip/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Elastic IP IDip(string): Elastic IP addressaddressfamily(string): Elastic IP address familycidr(string): Elastic IP cidrdescription(string): Elastic IP descriptionhealthcheck(object): Elastic IP address healthcheck - schema detailslabels(object)
SDK reference for get-elastic-ip: golang | Python | Java
CLI: exo api get-elastic-ip
update-elastic-ip
Update an Elastic IP
PUT /elastic-ip/{id}Path parameters
idinpath(required)
Request body
application/jsondescription(string): Elastic IP descriptionhealthcheck(object): Elastic IP address healthcheck - schema detailslabels(object)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for update-elastic-ip: golang | Python | Java
CLI: exo api update-elastic-ip
delete-elastic-ip
Delete an Elastic IP
DELETE /elastic-ip/{id}Path parameters
idinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for delete-elastic-ip: golang | Python | Java
CLI: exo api delete-elastic-ip
Other Operations
reset-elastic-ip-field
Reset an Elastic IP field to its default value
DELETE /elastic-ip/{id}/{field}Path parameters
idinpath(required)fieldinpath(required)
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for reset-elastic-ip-field: golang | Python | Java
CLI: exo api reset-elastic-ip-field
list-elastic-ips
List Elastic IPs
GET /elastic-ipResponses
200: 200application/jsonelastic-ips(array[object]) - schema details
SDK reference for list-elastic-ips: golang | Python | Java
CLI: exo api list-elastic-ips
detach-instance-from-elastic-ip
Detach a Compute instance from an Elastic IP
PUT /elastic-ip/{id}:detachPath parameters
idinpath(required)
Request body
application/jsoninstance(required) (object): Target Instance - schema details
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for detach-instance-from-elastic-ip: golang | Python | Java
CLI: exo api detach-instance-from-elastic-ip
attach-instance-to-elastic-ip
Attach a Compute instance to an Elastic IP
PUT /elastic-ip/{id}:attachPath parameters
idinpath(required)
Request body
application/jsoninstance(required) (object): Target Instance - schema details
Responses
200: 200application/jsonid(string): Operation IDreason(string): Operation failure reasonreference(object): Related resource reference - schema detailsmessage(string): Operation messagestate(string): Operation status
SDK reference for attach-instance-to-elastic-ip: golang | Python | Java
CLI: exo api attach-instance-to-elastic-ip