08 Mar 2017 22:04:32 UTC
- Distribution: Megaport
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (502 / 0 / 11)
- KwaliteeBus factor: 0
- 48.84% Coverage
- License: unknown
- Perl: v5.10.0
- Activity24 month
- Download (7.94KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCDANIEL Cam Daniel
Megaport::Sessionobjects 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.
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.
my $services = $session->services;
Returns a Megaport::Services object containing a list of services owned by the currently logged in user.
my $locations = $session->locations;
Returns a Megaport::Locations object containing a list of on-net datacentres for Megaport.
Cameron Daniel <firstname.lastname@example.org>