Scalr\Api\Service\Account\V1beta0\Controller\Environments::fetchAction PHP Method

fetchAction() public method

Fetches detailed info about one environment
public fetchAction ( string $envId ) : Scalr\Api\DataType\ResultEnvelope
$envId string Numeric identifier of the environment
return 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)));
    }