PHP Class ovh\Cloud\Cloud

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

Public Methods

Method Description
__construct ( $passport ) Constructor
deleteInstance ( $idInstance ) : null Delete Instances of Project Cloud Public DELETE /cloud/project/{serviceName}/instance/{instanceId}
getPca ( string $pcaName ) : object Return PCA instance
getPcaServices ( ) : array Get PCA services associated with this cloud passport
getProjectBalance ( ) Get Project Balance GET /cloud/project/{serviceName}/balance
getProjectInstance ( ) : array Get Public Cloud Project Instance GET /cloud/project/{serviceName}/instance
getProjectProperties ( ) Get Project Properties GET /cloud/project/{serviceName}
getProjectQuota ( ) Get Project Quota GET /cloud/project/{serviceName}/quota
postInstanceReboot ( $idInstance, $type ) POST Reboot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/reboot
postInstanceSnapshot ( $idInstance, $snapshotName ) POST Snapshot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/snapshot

Private Methods

Method Description
getClient ( ) : object Return Cloud client

Method Details

__construct() public method

Constructor
public __construct ( $passport )
$passport

deleteInstance() public method

Delete Instances of Project Cloud Public DELETE /cloud/project/{serviceName}/instance/{instanceId}
public deleteInstance ( $idInstance ) : null
return null

getPca() public method

Return PCA instance
public getPca ( string $pcaName ) : object
$pcaName string
return object Pca

getPcaServices() public method

Get PCA services associated with this cloud passport
public getPcaServices ( ) : array
return array of services

getProjectBalance() public method

Get Project Balance GET /cloud/project/{serviceName}/balance
public getProjectBalance ( )

getProjectInstance() public method

Get Public Cloud Project Instance GET /cloud/project/{serviceName}/instance
public getProjectInstance ( ) : array
return array of Public Cloud Project Instance

getProjectProperties() public method

Get Project Properties GET /cloud/project/{serviceName}

getProjectQuota() public method

Get Project Quota GET /cloud/project/{serviceName}/quota
public getProjectQuota ( )

postInstanceReboot() public method

POST Reboot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/reboot
public postInstanceReboot ( $idInstance, $type )

postInstanceSnapshot() public method

POST Snapshot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/snapshot
public postInstanceSnapshot ( $idInstance, $snapshotName )