NAME
Webservice::OVH::Cloud::Project::IP;
SYNOPSIS
use Webservice::OVH;
my $ovh = Webservice::OVH->new_from_json("credentials.json");
my $projects = $ovh->cloud->projects;
my $example_project = $projects->[0];
my $networks = $project->network->privates;
foreach my $network (@$networks) {
print @$networks->status;
}
DESCRIPTION
Bridge Object failover ips
METHODS
_new_existing
Internal Method to create the object. This method is not ment to be called directly.
Parameter: %params - key => value
Synopsis: Webservice::OVH::Cloud::Project::IP->_new( wrapper => $ovh_api_wrapper, project => $project, module => $module );
project
Shorthand to call $self->project directly for internal usage.
Return: Webservice::OVH::Cloud::Project
Synopsis: my $project = $project->ip->project;
failover_exists
Returns 1 if failover is available for the connected account, 0 if not.
Parameter: $failover_id - api id, $no_recheck - (optional)only for internal usage
Return: VALUE
Synopsis: print "failover exists" if $project->ip->failover_exists(1234);
failovers
Produces an array of all available failovers that are connected to the project.
Return: ARRAY
Synopsis: my $ips = $project->ip->failovers;
failover
Returns a single failover by id
Parameter: $failover_id - api id
Synopsis: my $failover = $project->ip->failover(1234);