ovh\Cloud\CloudClient::getProjectProperties PHP Method

getProjectProperties() public method

Get Project Properties GET /cloud/project/{serviceName}
public getProjectProperties ( $serviceName )
    public function getProjectProperties($serviceName)
    {
        if (!$serviceName) {
            throw new BadMethodCallException('Missing parameter $serviceName (OVH Cloud Project).');
        }
        try {
            $r = $this->get('cloud/project/' . $serviceName)->send();
        } catch (\Exception $e) {
            throw new CloudException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }