public function getTemplateProperties($domain, $templateId)
    {
        $domain = (string)$domain;
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        $templateId = (string)$templateId;
        if (!$templateId)
            throw new BadMethodCallException("Parameter $templateId is missing");
        try {
            $r = $this->get('vps/' . $domain . '/templates/' . $templateId)->send();
        } catch (\Exception $e) {
            throw new VpsException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody();
    }