Jan Gehring

NAME

WebService::ProfitBricks::LoadBalancer - Manage Loadbalancers

DESCRIPTION

Manage Loadbalancers.

METHODS

set_ip($ip)

Set ip for the loadbalancer.

 $lb->set_ip("1.2.3.4");
registerServersOnLoadBalancer(@server_ids)

Registerthe given servers to the loadbalancer.

 $lb->registerServersOnLoadBalancer($srv1->serverId, $srv2->serverId);
deregisterServersOnLoadBalancer(@server_ids)

De-Register the given servers from the loadbalancer.

 $lb->deregisterServersOnLoadBalancer($srv1->serverId, $srv2->serverId);