PHP 클래스 Scalr\Api\Service\User\V1beta0\Controller\Servers

저자: Vlad Dobrovolskiy ([email protected])
상속: extends Scalr\Api\Rest\Controller\ApiController
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
describeAction ( ) Retrieves the list of the roles that are available on the Environment scope
fetchAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope Fetches detailed info about one server
getServer ( string $serverId ) : Server Gets specified Server
rebootAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope Reboots instance
resumeAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope Resumes instance
suspendAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope Stops instance
terminateAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope Terminates instance

비공개 메소드들

메소드 설명
getDefaultCriteria ( ) : array Gets Default search criteria for the Environment scope

메소드 상세

describeAction() 공개 메소드

Retrieves the list of the roles that are available on the Environment scope
public describeAction ( )

fetchAction() 공개 메소드

Fetches detailed info about one server
public fetchAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope
$serverId string UUID of the server
리턴 Scalr\Api\DataType\ResultEnvelope

getServer() 공개 메소드

Gets specified Server
public getServer ( string $serverId ) : Server
$serverId string UUID of the server
리턴 Scalr\Model\Entity\Server Returns the Server Entity on success

rebootAction() 공개 메소드

Reboots instance
public rebootAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope
$serverId string UUID of the server
리턴 Scalr\Api\DataType\ResultEnvelope

resumeAction() 공개 메소드

Resumes instance
public resumeAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope
$serverId string UUID of the server
리턴 Scalr\Api\DataType\ResultEnvelope

suspendAction() 공개 메소드

Stops instance
public suspendAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope
$serverId string UUID of the server
리턴 Scalr\Api\DataType\ResultEnvelope

terminateAction() 공개 메소드

Terminates instance
public terminateAction ( string $serverId ) : Scalr\Api\DataType\ResultEnvelope
$serverId string UUID of the server
리턴 Scalr\Api\DataType\ResultEnvelope