Scalr\Service\OpenStack\Services\Network\V2\NetworkApi::deleteFloatingIp PHP Метод

deleteFloatingIp() публичный Метод

If the floating IP being removed is associated with a Quantum port, the association is removed as well.
public deleteFloatingIp ( integer $floatingIpId ) : boolean
$floatingIpId integer Floating IP address ID
Результат boolean Returns true on success or throws an exception
    public function deleteFloatingIp($floatingIpId)
    {
        $result = false;
        $response = $this->getClient()->call($this->service, sprintf('/floatingips/%s', $floatingIpId), null, 'DELETE');
        if ($response->hasError() === false) {
            $result = true;
        }
        return $result;
    }