Ovh\Dedicated\Server\ServerClient::getCompatibleTemplatePartitionSchemes PHP Метод

getCompatibleTemplatePartitionSchemes() публичный Метод

* Gets list of partitioning schemes that can be installed onto server -- untested
public getCompatibleTemplatePartitionSchemes ( $domain )
$domain -> server
    public function getCompatibleTemplatePartitionSchemes($domain)
    {
        $domain = (string) $domain;
        if (!$domain) {
            throw new BadMethodCallException('Parameter $domain is missing.');
        }
        try {
            $r = $this->get('dedicated/server/' . $domain . '/compatibleTemplatePartitionSchemes')->send();
        } catch (\Exception $e) {
            throw new ServerException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }