src/Ovh/Vps/VpsClient.php
public function setSnapshotProperties($domain, array $properties)
    {
        $domain = (string)$domain;
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        if (!$properties || !is_array($properties) || count($properties) == 0)
            throw new BadMethodCallException('Parameter $properties must be a non empty array.');
        $qr = '';
        foreach ($properties as $k => $v) {
            $qr .= $k . '=' . $v . '&';
        }
        $qr = substr($qr, 0, strlen($qr) - 1);
        try {
            $r = $this->put('vps/' . $domain . '/snapshot/?' . $qr)->send();
        } catch (\Exception $e) {
            throw new VpsException($e->getMessage(), $e->getCode(),$e);
        }
        return $r;
    }
public function setSnapshotProperties($domain, array $properties)
    {
        $domain = (string)$domain;
        if (!$domain)
            throw new BadMethodCallException('Parameter $domain is missing.');
        if (!$properties || !is_array($properties) || count($properties) == 0)
            throw new BadMethodCallException('Parameter $properties must be a non empty array.');
        $qr = '';
        foreach ($properties as $k => $v) {
            $qr .= $k . '=' . $v . '&';
        }
        $qr = substr($qr, 0, strlen($qr) - 1);
        try {
            $r = $this->put('vps/' . $domain . '/snapshot/?' . $qr)->send();
        } catch (\Exception $e) {
            throw new VpsException($e->getMessage(), $e->getCode(),$e);
        }
        return $r;
    }
Set properties of a snapshot

@param $domain
@param array $properties
@return mixed
@throws \Ovh\Common\Exception\BadMethodCallException
@throws Exception\VpsException