class FloatingIp extends OperatorResource implements Listable, Creatable, Retrievable, Updateable, Deletable

Traits

Properties

$id string
$status string
$floatingNetworkId string
$routerId string
$fixedIpAddress string
$floatingIpAddress string
$tenantId string
$portId string

Methods

create (array $userOptions) : Creatable

Create a new resource according to the configuration set in the options.

update () : void

Update the current resource with the configuration set out in the user options.

delete () : void

Permanently delete this resource.

retrieve () : void

Retrieve details of the current resource from the remote API.

Details

create(array $userOptions)

Create a new resource according to the configuration set in the options.

Parameters

$userOptions array

Return value

Creatable

Example code

$creatable = $floatingIp->create($userOptions);

update()

Update the current resource with the configuration set out in the user options.

Return value

void

Example code

$floatingIp->update();

delete()

Permanently delete this resource.

Return value

void

Example code

$floatingIp->delete();

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$floatingIp->retrieve();