ovh\Cloud\CloudClient::getPcaServices PHP Метод

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

Get PCA services associated with this cloud passport
public getPcaServices ( string $pp ) : string
$pp string OVH cloud passport
Результат string (json encoded array)
    public function getPcaServices($pp)
    {
        if (!$pp) {
            throw new BadMethodCallException('Missing parameter $pp (passport).');
        }
        try {
            $r = $this->get('cloud/' . $pp . '/pca')->send();
        } catch (\Exception $e) {
            throw new CloudException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }