API::Plesk::Templates - extension module to support operations with domains (only create).
Directly not used, calls via API::Plesk. use API::Plesk; my $plesk_client = API::Plesk->new(%params); # See documentations for API::Plesk $plesk_client->Domains->create( dname => 'yandex.ru', ip => '192.168.1.99', client_id => 12345, ftp_login => 'asdasdad', ftp_password => 'qwertsdasy', template => 'tariff1', );
The method used to add domain hosting account to a certain Plesk account.
Params: dname - domain name, ip - ip address for hosting (shared), client_id - client id in Plesk. ftp_login - ftp login for hosting, ftp_password - ftp pass for hosting, template - domain template name in Plesk.
Return: response object with created domain id in data filed.
None.
Blank.
Odintsov Pavel <nrg[at]cpan.org>
Copyright (C) 2008 by NRG
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install API::Plesk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm API::Plesk
CPAN shell
perl -MCPAN -e shell install API::Plesk
For more information on module installation, please visit the detailed CPAN module installation guide.