Scalr\Api\Service\User\V1beta0\Controller\Roles::fetchAction PHP Method

fetchAction() public method

Retrieves a specified role
public fetchAction ( integer $roleId ) : Scalr\Api\DataType\ResultEnvelope
$roleId integer The identifier of the role
return Scalr\Api\DataType\ResultEnvelope
    public function fetchAction($roleId)
    {
        $this->checkScopedPermissions('ROLES');
        return $this->result($this->adapter('role')->toData($this->getRole($roleId)));
    }