Fastly Inc > Net-Fastly-0.99 > Net::Fastly::Director

Download:
Net-Fastly-0.99.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: Net-Fastly-1.02

NAME ^

Net::Fastly::Director - Representation of an a logical collection of backends - for example all the asset servers in one data center

ACCESSORS ^

service

The id of the service this belongs to.

version

The number of the version this belongs to.

name

The domain name of this domain

type

what kind of Load Balancer group (currently always 1 meaning random)

retries

how many backends to search if it fails (default 5)

quorum

the percentage of capacity that needs to be up for a director to be considered up (default 75)

comment

a free form comment field

add_backend <backend object>

Add a Backend to a Director.

Returns true on success and false on failure.

delete_backend <backend object>

Delete a Backend from a Director

Returns true on success and false on failure.

syntax highlighting: