Megaport::Session

DESCRIPTION

A Megaport::Session objects is generally only instantiated via a Megaport object as it needs to be passed a valid and authenticated Megaport::Client object. This class contains shortcuts to the various resources available.

METHODS

ports

my $ports = $session->ports;

Returns a Megaport::Ports object which contains a list of what Megaport calls "partner ports". A partner port is effectively a Megaport on the network which is available to order a Virtual Cross Connect (VXC) to.

services

my $services = $session->services;

Returns a Megaport::Services object containing a list of services owned by the currently logged in user.

locations

my $locations = $session->locations;

Returns a Megaport::Locations object containing a list of on-net datacentres for Megaport.

AUTHOR

Cameron Daniel <cdaniel@cpan.org>