FloatingIPsEndpoint
Functions
#list(params)
| Parameter | Type | Description |
|---|---|---|
| params | Object |
Additional uri parameters. See official documentaion. |
Returns: Promise<FloatingIPList>
Returns a navigatable list of floating IPs.
#get(id)
| Parameter | Type | Description |
|---|---|---|
| id | number |
Floating IP id. |
Returns: Promise<FloatingIP>
Returns a single FloatingIP class instance.
#build(type)
| Parameter | Type | Description |
|---|---|---|
| type | string |
Choices: ipv4 or ipv6 |
Returns: FloatingIPBuilder
#changeDescription(id, description)
| Parameter | Type | Description |
|---|---|---|
| id | number |
The floating IP id. |
| description | string |
A new description for this floating IP. |
Returns: Promise<FloatingIP>
Returns an updated version of the FloatingIP instance.
#delete(id)
| Parameter | Type | Description |
|---|---|---|
| id | number |
The floating IP id. |
Returns: Promise
Properties
.actions
An instance of FloatingIPActionsEndpoint