PHP Класс Ovh\Common\Ovh

Показать файл Открыть проект

Открытые методы

Метод Описание
__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

Приватные методы

Метод Описание
getOvhClient ( ) : null | OvhClient Common client (for no specific task)

Описание методов

__construct() публичный Метод

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

getCdn() публичный Метод

Return a CDN object
public getCdn ( $serviceName ) : object
$serviceName
Результат object Cdn

getCdnPopDetails() публичный Метод

get CDN pop details
public getCdnPopDetails ( string $pop ) : object
$pop string (as returned by getCdnPops)
Результат object

getCdnPops() публичный Метод

Get available POPs
public getCdnPops ( ) : array
Результат array

getCdnServices() публичный Метод

Get CDN services
public getCdnServices ( ) : array
Результат array

getCloud() публичный Метод

Return a cloud instance
public getCloud ( string $passport ) : Cloud
$passport string (OVH cloud passport)
Результат ovh\Cloud\Cloud instance

getCloudPassports() публичный Метод

Return Cloud Services (cloud passport)
public getCloudPassports ( ) : array
Результат array of services (passport)

getCloudProjects() публичный Метод

Return Cloud Services (cloud project) OVH Cloud : http://www.ovh.com/fr/cloud/
public getCloudProjects ( ) : array
Результат array of services (project)

getCpanelLicence() публичный Метод

returns Object
public getCpanelLicence ( $domain )

getCpanelList() публичный Метод

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

getDedicatedServer() публичный Метод

Return a Dedicated Server object
public getDedicatedServer ( $domain ) : Server
$domain
Результат Ovh\Dedicated\Server\Server

getDedicatedServerList() публичный Метод

Return list of Dedicated Servers owned by user
public getDedicatedServerList ( ) : mixed
Результат mixed

getDirectadminLicence() публичный Метод

returns Object
public getDirectadminLicence ( $domain )

getDirectadminList() публичный Метод

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

getIPsList() публичный Метод

* 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() публичный Метод

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

getNashaList() публичный Метод

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

getPleskLicence() публичный Метод

returns Object
public getPleskLicence ( $domain )

getPleskList() публичный Метод

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

getSms() публичный Метод

Get new SMS object
public getSms ( $domain ) : Ovh\Sms\Sms
$domain
Результат Ovh\Sms\Sms

getSmsServices() публичный Метод

Return SMS subscriptions/Service (list of 'domains')
public getSmsServices ( ) : array
Результат array

getTelephony() публичный Метод

Get new Telephony object
public getTelephony ( $domain ) : Ovh\Telephony\Telephony
$domain
Результат Ovh\Telephony\Telephony

getTelephonyServices() публичный Метод

Return Tekphony subscriptions/Service (list of 'domains')
public getTelephonyServices ( ) : array
Результат array

getVirtuozzoLicence() публичный Метод

returns Object
public getVirtuozzoLicence ( $domain )

getVirtuozzoList() публичный Метод

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

getVps() публичный Метод

Return a VPS object
public getVps ( $domain ) : Ovh\Vps\Vps
$domain
Результат Ovh\Vps\Vps

getVpsList() публичный Метод

Return list of VPS owned by user
public getVpsList ( ) : mixed
Результат mixed

getVrack() публичный Метод

Return a Vrack object
public getVrack ( $domain ) : Ovh\Vrack\Vrack
$domain
Результат Ovh\Vrack\Vrack

getVrackList() публичный Метод

Return list of Vrack owned by user
public getVrackList ( ) : mixed
Результат mixed

getWindowsLicence() публичный Метод

returns Object
public getWindowsLicence ( $domain )

getWindowsList() публичный Метод

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

getWorklightLicence() публичный Метод

returns Object
public getWorklightLicence ( $domain )

getWorklightList() публичный Метод

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

getXdsl() публичный Метод

public getXdsl ( $serviceId ) : Ovh\Xdsl\Xdsl
$serviceId
Результат Ovh\Xdsl\Xdsl

getXdslServices() публичный Метод

Return xdsl subscription/service
public getXdslServices ( ) : array
Результат array

getnasha() публичный Метод

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