public listFloatingIps ( ) : Scalr\Service\OpenStack\Type\DefaultPaginationList | ||
return | Scalr\Service\OpenStack\Type\DefaultPaginationList | Returns the list floating IP addresses associated with the tenant or account. |
public function listFloatingIps()
{
$result = null;
$response = $this->getClient()->call($this->service, '/floatingips');
if ($response->hasError() === false) {
$result = json_decode($response->getContent());
$result = new DefaultPaginationList($this->service, 'floatingips', $result->floatingips, isset($result->floatingips_links) ? $result->floatingips_links : null);
}
return $result;
}