'Get resource details from array.
:param array: the array serial number
:param category: the resource category e.g. sloprovisioning
:param resource_type: the resource type e.g. maskingview
:param resource_name: the name of a specific resource
:param params: query parameters
:param private: empty string or \'/private\' if private url
:returns: resource object -- dict or None'

def get_resource(self, array, category, resource_type, resource_name=None, params=None, private=''):

    target_uri = self._build_uri(array, category, resource_type, resource_name, private)
    return self._get_request(target_uri, resource_type, params)
