API::Plesk::Domains - 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.
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.
response object with created domain id in data filed.
Odintsov Pavel <nrg[at]cpan.org> Nikolay Shulyakovskiy <shulyakovskiy[at]rambler.ru>
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.