PHP Class Ovh\Common\Ovh

Show file Open project: toorop/ovh-sdk-php

Public Methods

Method Description
__construct ( array $config = [] ) Constructor
getCdn ( $serviceName ) : object Return a CDN object
getCdnPopDetails ( string $pop ) : object get CDN pop details
getCdnPops ( ) : array Get available POPs
getCdnServices ( ) : array Get CDN services
getCloud ( string $passport ) : Cloud Return a cloud instance
getCloudPassports ( ) : array Return Cloud Services (cloud passport)
getCloudProjects ( ) : array Return Cloud Services (cloud project) OVH Cloud : http://www.ovh.com/fr/cloud/
getCpanelLicence ( $domain ) * Instantiates a mew cPanel licence object and returns an object of the specific id
getCpanelList ( ) * returns list of Cpanel licenses associatd with user account
getDedicatedServer ( $domain ) : Server Return a Dedicated Server object
getDedicatedServerList ( ) : mixed Return list of Dedicated Servers owned by user
getDirectadminLicence ( $domain ) * Instantiates a new DirectAdmin licence object and returns an object of the specific id
getDirectadminList ( ) * returns list of Directadmin licenses associatd with user account
getIPsList ( $domain = "", $ipblock = "", $type = "" ) * Return list of IP blocks owned by user Optional Args (positional) 1. specific server 2. specific ipblock 3. specific type of IP (type validated inside client)
getIp ( $domain ) * Instaniate new IP Client, and Return structure of IP block owned by user
getNashaList ( ) * Return list of high availability NAS owned by user
getPleskLicence ( $domain ) * Instantiates a new Plesk licence object and returns an object of the specific id
getPleskList ( ) * returns list of Plesk licenses associatd with user account
getSms ( $domain ) : Ovh\Sms\Sms Get new SMS object
getSmsServices ( ) : array Return SMS subscriptions/Service (list of 'domains')
getTelephony ( $domain ) : Ovh\Telephony\Telephony Get new Telephony object
getTelephonyServices ( ) : array Return Tekphony subscriptions/Service (list of 'domains')
getVirtuozzoLicence ( $domain ) * Instantiates a new Virtuozzo licence object and returns an object of the specific id
getVirtuozzoList ( ) * returns list of Virtuozzo licenses associatd with user account
getVps ( $domain ) : Ovh\Vps\Vps Return a VPS object
getVpsList ( ) : mixed Return list of VPS owned by user
getVrack ( $domain ) : Ovh\Vrack\Vrack Return a Vrack object
getVrackList ( ) : mixed Return list of Vrack owned by user
getWindowsLicence ( $domain ) * Instantiates a new Windows licence object and returns an object of the specific id
getWindowsList ( ) * returns list of Windows licenses associatd with user account
getWorklightLicence ( $domain ) * Instantiates a new Worklight licence object and returns an object of the specific id
getWorklightList ( ) * returns list of Worklight licenses associatd with user account
getXdsl ( $serviceId ) : Ovh\Xdsl\Xdsl
getXdslServices ( ) : array Return xdsl subscription/service
getnasha ( $domain ) * Instantiate new nasha object and return structure of specific hanas owned by user

Private Methods

Method Description
getOvhClient ( ) : null | OvhClient Common client (for no specific task)

Method Details

__construct() public method

Constructor
public __construct ( array $config = [] )
$config array

getCdn() public method

Return a CDN object
public getCdn ( $serviceName ) : object
$serviceName
return object Cdn

getCdnPopDetails() public method

get CDN pop details
public getCdnPopDetails ( string $pop ) : object
$pop string (as returned by getCdnPops)
return object

getCdnPops() public method

Get available POPs
public getCdnPops ( ) : array
return array

getCdnServices() public method

Get CDN services
public getCdnServices ( ) : array
return array

getCloud() public method

Return a cloud instance
public getCloud ( string $passport ) : Cloud
$passport string (OVH cloud passport)
return ovh\Cloud\Cloud instance

getCloudPassports() public method

Return Cloud Services (cloud passport)
public getCloudPassports ( ) : array
return array of services (passport)

getCloudProjects() public method

Return Cloud Services (cloud project) OVH Cloud : http://www.ovh.com/fr/cloud/
public getCloudProjects ( ) : array
return array of services (project)

getCpanelLicence() public method

returns Object
public getCpanelLicence ( $domain )

getCpanelList() public method

* returns list of Cpanel licenses associatd with user account
public getCpanelList ( )

getDedicatedServer() public method

Return a Dedicated Server object
public getDedicatedServer ( $domain ) : Server
$domain
return Ovh\Dedicated\Server\Server

getDedicatedServerList() public method

Return list of Dedicated Servers owned by user
public getDedicatedServerList ( ) : mixed
return mixed

getDirectadminLicence() public method

returns Object
public getDirectadminLicence ( $domain )

getDirectadminList() public method

* returns list of Directadmin licenses associatd with user account
public getDirectadminList ( )

getIPsList() public method

* Return list of IP blocks owned by user Optional Args (positional) 1. specific server 2. specific ipblock 3. specific type of IP (type validated inside client)
public getIPsList ( $domain = "", $ipblock = "", $type = "" )

getIp() public method

* Instaniate new IP Client, and Return structure of IP block owned by user
public getIp ( $domain )

getNashaList() public method

* Return list of high availability NAS owned by user
public getNashaList ( )

getPleskLicence() public method

returns Object
public getPleskLicence ( $domain )

getPleskList() public method

* returns list of Plesk licenses associatd with user account
public getPleskList ( )

getSms() public method

Get new SMS object
public getSms ( $domain ) : Ovh\Sms\Sms
$domain
return Ovh\Sms\Sms

getSmsServices() public method

Return SMS subscriptions/Service (list of 'domains')
public getSmsServices ( ) : array
return array

getTelephony() public method

Get new Telephony object
public getTelephony ( $domain ) : Ovh\Telephony\Telephony
$domain
return Ovh\Telephony\Telephony

getTelephonyServices() public method

Return Tekphony subscriptions/Service (list of 'domains')
public getTelephonyServices ( ) : array
return array

getVirtuozzoLicence() public method

returns Object
public getVirtuozzoLicence ( $domain )

getVirtuozzoList() public method

* returns list of Virtuozzo licenses associatd with user account
public getVirtuozzoList ( )

getVps() public method

Return a VPS object
public getVps ( $domain ) : Ovh\Vps\Vps
$domain
return Ovh\Vps\Vps

getVpsList() public method

Return list of VPS owned by user
public getVpsList ( ) : mixed
return mixed

getVrack() public method

Return a Vrack object
public getVrack ( $domain ) : Ovh\Vrack\Vrack
$domain
return Ovh\Vrack\Vrack

getVrackList() public method

Return list of Vrack owned by user
public getVrackList ( ) : mixed
return mixed

getWindowsLicence() public method

returns Object
public getWindowsLicence ( $domain )

getWindowsList() public method

* returns list of Windows licenses associatd with user account
public getWindowsList ( )

getWorklightLicence() public method

returns Object
public getWorklightLicence ( $domain )

getWorklightList() public method

* returns list of Worklight licenses associatd with user account
public getWorklightList ( )

getXdsl() public method

public getXdsl ( $serviceId ) : Ovh\Xdsl\Xdsl
$serviceId
return Ovh\Xdsl\Xdsl

getXdslServices() public method

Return xdsl subscription/service
public getXdslServices ( ) : array
return array

getnasha() public method

* Instantiate new nasha object and return structure of specific hanas owned by user
public getnasha ( $domain )