public function getPcaTasks($pp, $pca)
{
if (!$pp) {
throw new BadMethodCallException('Missing parameter $pp (OVH cloud passport).');
}
if (!$pca) {
throw new BadMethodCallException('Missing parameter $pca (PCA ServiceName).');
}
try {
$r = $this->get('cloud/' . $pp . '/pca/' . $pca . '/tasks')->send();
} catch (\Exception $e) {
throw new CloudException($e->getMessage(), $e->getCode(), $e);
}
return $r->getBody(true);
}