The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Webservice::OVH::Hosting::Web::Service

SYNOPSIS

DESCRIPTION

Provieds basic functionality for webhosting Services

METHODS

_new

Internal Method to create the service object. This method is not ment to be called external.

  • Parameter: $api_wrapper - ovh api wrapper object, $module - root object

  • Return: Webservice::OVH::Hosting::Web::service

  • Synopsis: Webservice::OVH::Hosting::Web::service->_new($ovh_api_wrapper, $service_name, $module);

name

Name is the unique identifier.

  • Return: VALUE

  • Synopsis: my $name = $service->name;

service_infos

Retrieves additional infos about the service. Infos that are not part of the properties

  • Return: HASH

  • Synopsis: my $info = $service->service_info;

change_service_infos

Change service_infos let you change the autorenewal method for this service

  • Parameter: %params - key => value renew(required) => { automatic(required), delete_at_expiration(required), forced(required), period(required) }

  • Synopsis: $service->change_service_infos(renew => { automatic => 'yes', delete_at_expiration => 'yes', forced => 'yes', period => 12 });