Scalr\Api\Service\Account\V1beta0\Controller\AclRoles::describeAction PHP Method

describeAction() public method

Retrieves the list of the ACL Roles
public describeAction ( ) : Scalr\Api\DataType\ListResultEnvelope
return Scalr\Api\DataType\ListResultEnvelope
    public function describeAction()
    {
        if (!$this->getUser()->canManageAcl()) {
            throw new ApiInsufficientPermissionsException();
        }
        return $this->adapter('aclRole')->getDescribeResult($this->getDefaultCriteria());
    }