VERSION

VERSION 0.1

NAME

Net::Proxmox::VE::Access - Functions for the 'access' portion of the API

SYNOPSIS

# assuming $obj is a Net::Proxmox::VE object

my @dir_index = $obj->access();

my @domain_index = $obj->access_domains();
my $domain = $obj->access_domains($realm);
eval{ $obj->access_domains(\%args) };

METHODS

access

Without arguments, returns the 'Directory index':

(Corresponds to the following functions in the PMVE Api definitions)

HTTP: GET /api2/json/access
CLI:  pvesh get /access

With arguments: croaks as there is no applicable PUT behaviour

access_domains

Without arguments, returns 'Authentication domain index':

(Corresponds to the following functions in the PMVW Api definitions)

HTTP: GET /api2/json/access/domains
CLI:  pvesh get /access/domains

With a single scalar argument, returns a single Domain object:

(Corresponds to the following functions in the PMVW Api definitions)

HTTP: GET /api2/json/access/domains/{realm}
CLI:  pvesh get /access/domains/{realm}

With multiple arguments, '[Adds] an authentication server':

(Corresponds to the following functions in the PMVW Api definitions)

HTTP: POST /api2/json/access/domains
CLI:  pvesh create /access/domains

SEE ALSO

SUPPORT

AUTHORS

Brendan Beveridge <brendan@nodeintegration.com.au>, Dean Hamstead <dean@fragfest.com.au>