PHP Класс Scalr\Api\Service\User\V1beta0\Controller\Servers

Автор: Vlad Dobrovolskiy ([email protected])
Наследование: extends Scalr\Api\Rest\Controller\ApiController
Показать файл Открыть проект

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

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