PHP 클래스 ovh\Cloud\CloudClient

상속: extends Ovh\Common\AbstractClient
파일 보기 프로젝트 열기: toorop/ovh-sdk-php

공개 메소드들

메소드 설명
createPcaDeleteTask ( string $pp, string $pca, string $sessionId ) : string
createPcaRestoreTask ( string $pp, string $pca, string $sessionId ) : string
deleteInstance ( $serviceName, $idInstance ) Delete Instances of Project Cloud Public DELETE /cloud/project/{serviceName}/instance/{instanceId}
getPcaInfo ( string $pp, string $pca ) : string
getPcaProperties ( string $pp, string $pca ) : string Return properties of PCA $pca service name
getPcaServices ( string $pp ) : string Get PCA services associated with this cloud passport
getPcaSessionFiles ( string $pp, string $pca, string $sessId ) : string
getPcaSessionFilesProperties ( string $pp, string $pca, string $sessId, string $fileId ) : string
getPcaSessionProperties ( string $pp, string $pca, string $sessId ) : string
getPcaSessions ( string $pp, string $pca ) : string
getPcaTaskProperties ( string $pp, string $pca, string $taskId ) : string
getPcaTasks ( string $pp, string $pca ) : string
getPcaUsage ( string $pp, string $pca ) : string
getProjectBalance ( $serviceName ) Get Project Balance GET /cloud/project/{serviceName}/balance
getProjectInstance ( $serviceName ) Get Instances of Project Cloud Public GET /cloud/project/{serviceName}/instance
getProjectProperties ( $serviceName ) Get Project Properties GET /cloud/project/{serviceName}
getProjectQuota ( $serviceName ) Get Project Quota GET /cloud/project/{serviceName}/quota
postInstanceReboot ( $serviceName, $idInstance, $type = 'soft' ) : null POST Reboot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/reboot
postInstanceSnapshot ( $serviceName, $idInstance, $snapshotName ) : null POST Snapshot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/snapshot
setPassword ( string $pp, string $pca, string $passwd ) Set password to PCA
setSshKey ( string $pp, string $pca, string $key ) Set a SSH public key to PCA

메소드 상세

createPcaDeleteTask() 공개 메소드

public createPcaDeleteTask ( string $pp, string $pca, string $sessionId ) : string
$pp string OVH cloud passport
$pca string PCA service name
$sessionId string session id to delete
리턴 string json encoded array

createPcaRestoreTask() 공개 메소드

public createPcaRestoreTask ( string $pp, string $pca, string $sessionId ) : string
$pp string OVH cloud passport
$pca string PCA service name
$sessionId string session id to restore
리턴 string json encoded array

deleteInstance() 공개 메소드

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

getPcaInfo() 공개 메소드

public getPcaInfo ( string $pp, string $pca ) : string
$pp string OVH cloud passport
$pca string PCA service name
리턴 string (json encoded object)

getPcaProperties() 공개 메소드

Return properties of PCA $pca service name
public getPcaProperties ( string $pp, string $pca ) : string
$pp string OVH cloud passport
$pca string PCA service name
리턴 string (Json encode object)

getPcaServices() 공개 메소드

Get PCA services associated with this cloud passport
public getPcaServices ( string $pp ) : string
$pp string OVH cloud passport
리턴 string (json encoded array)

getPcaSessionFiles() 공개 메소드

public getPcaSessionFiles ( string $pp, string $pca, string $sessId ) : string
$pp string OVH cloud passport
$pca string PCA service name
$sessId string PCA service name
리턴 string (json encoded array)

getPcaSessionFilesProperties() 공개 메소드

public getPcaSessionFilesProperties ( string $pp, string $pca, string $sessId, string $fileId ) : string
$pp string OVH cloud passport
$pca string PCA service name
$sessId string PCA service name
$fileId string PCA service name
리턴 string (json encoded array)

getPcaSessionProperties() 공개 메소드

public getPcaSessionProperties ( string $pp, string $pca, string $sessId ) : string
$pp string OVH cloud passport
$pca string PCA service name
$sessId string PCA service name
리턴 string (json encoded object)

getPcaSessions() 공개 메소드

public getPcaSessions ( string $pp, string $pca ) : string
$pp string OVH cloud passport
$pca string PCA service name
리턴 string (json encoded array)

getPcaTaskProperties() 공개 메소드

public getPcaTaskProperties ( string $pp, string $pca, string $taskId ) : string
$pp string OVH cloud passport
$pca string PCA service name
$taskId string task ID
리턴 string json encoded array)

getPcaTasks() 공개 메소드

public getPcaTasks ( string $pp, string $pca ) : string
$pp string OVH cloud passport
$pca string PCA service name
리턴 string json encoded array)

getPcaUsage() 공개 메소드

public getPcaUsage ( string $pp, string $pca ) : string
$pp string OVH cloud passport
$pca string PCA service name
리턴 string json encoded array)

getProjectBalance() 공개 메소드

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

getProjectInstance() 공개 메소드

Get Instances of Project Cloud Public GET /cloud/project/{serviceName}/instance
public getProjectInstance ( $serviceName )

getProjectProperties() 공개 메소드

Get Project Properties GET /cloud/project/{serviceName}
public getProjectProperties ( $serviceName )

getProjectQuota() 공개 메소드

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

postInstanceReboot() 공개 메소드

POST Reboot Instance POST /cloud/project/{serviceName}/instance/{instanceId}/reboot
public postInstanceReboot ( $serviceName, $idInstance, $type = 'soft' ) : null
리턴 null

postInstanceSnapshot() 공개 메소드

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

setPassword() 공개 메소드

Set password to PCA
public setPassword ( string $pp, string $pca, string $passwd )
$pp string OVH cloud passport
$pca string PCA service name
$passwd string

setSshKey() 공개 메소드

Set a SSH public key to PCA
public setSshKey ( string $pp, string $pca, string $key )
$pp string OVH cloud passport
$pca string PCA service name
$key string