src/Ovh/Cdn/Cdn.php
public function updateDomainCacheRule($domain, $ruleId, $rule)
    {
        self::getClient()->updateDomainCacheRule($this->sn, $domain, $ruleId, $rule);
    }
public function updateDomainCacheRule($domain, $ruleId, $rule)
    {
        self::getClient()->updateDomainCacheRule($this->sn, $domain, $ruleId, $rule);
    }
Update CacheRule $ruleId of domain $domain

@param string $domain
@param int $ruleId
@param array $rule . Requiered keys 'status': 'on' | 'off', 'ttl' : integer