'Create a provisioning resource.
:param array: the array serial number
:param category: the category
:param resource_type: the resource type
:param payload: the payload
:param private: empty string or \'/private\' if private url
:returns: status_code -- int, message -- string, server response'

def create_resource(self, array, category, resource_type, payload, private=''):

    target_uri = self._build_uri(array, category, resource_type, None, private)
    (status_code, message) = self.request(target_uri, POST, request_object=payload)
    operation = ('Create    %(res)s    resource' % {'res': resource_type})
    self.check_status_code_success(operation, status_code, message)
    return (status_code, message)
