Webservice::OVH::Domain::Service
use Webservice::OVH; my $ovh = Webservice::OVH->new_from_json("credentials.json"); my $service = $ovh->domain->service("mydomain.org"); my $info = $service->service_info; my $last_update = $service->last_update;
Provieds basic functionality for Services A service contact_change can be initialized.
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::Domain::Zone
Synopsis: Webservice::OVH::Domain::Zone->_new($ovh_api_wrapper, $zone_name, $module);
Name is the unique identifier.
Return: VALUE
Synopsis: my $name = $service->name;
Retrieves additional infos about the service. Infos that are not part of the properties
Return: HASH
Synopsis: my $info = $service->service_info;
Retrieves properties of the service. This method updates the intern property variable.
Synopsis: my $properties = $service->properties;
Exposed Property Value. Readonly.
Synopsis: my $dnssec_supported = $service->dnssec_supported;
Synopsis: my $domain = $service->domain;
Synopsis: my $glue_record_ipv6_supported = $service->glue_record_ipv6_supported;
Synopsis: my $glue_record_multi_ip_supported = $service->glue_record_multi_ip_supported;
Return: DateTime
Synopsis: my $last_update = $service->last_update;
Synopsis: my $name_server_type = $service->name_server_type;
Synopsis: my $offer = $service->offer;
Synopsis: my $owo_supported = $service->owo_supported;
Synopsis: my $parent_service = $service->parent_service;
Synopsis: my $transfer_lock_status = $service->transfer_lock_status;
Return: Webservice::Me::Contact
Synopsis: my $owner = $service->whois_owner;
Initializes a change_contact procedure. This generates a task. An email is sent to the other account-
Parameter: %params - key => value contact_billing contact_admin contact_tech - ovh account names
Return: Webservice::Me::Task
Synopsis: $service->change_contact(contact_tech => 'otheraccount-ovh');
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 });
To install Webservice::OVH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::OVH
CPAN shell
perl -MCPAN -e shell install Webservice::OVH
For more information on module installation, please visit the detailed CPAN module installation guide.