The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::ProfitBricks::IpBlock - Manage IP blocks

DESCRIPTION

Manage the IP blocks.

SYNOPSIS

 my $block = IpBlock->new(blockSize => 2);
 $block->save;

METHODS

list
find($ip)

Search the ip block to which $ip belongs to.

save

Reserves the amount of IPs given to the constructor.

reserve

Alias for save().

release

Releases the current IP block.

removePublicIpFromNic($ip, $nicId)

Remove the given public ip ($ip) from the nic represented by $nicId.