public fetchAction ( string $envId ) : Scalr\Api\DataType\ResultEnvelope | ||
$envId | string | Numeric identifier of the environment |
Результат | Scalr\Api\DataType\ResultEnvelope |
public function fetchAction($envId)
{
$this->checkPermissions(Acl::RESOURCE_ENV_CLOUDS_ENVIRONMENT);
return $this->result($this->adapter('environment')->toData($this->getEnv($envId)));
}