def custom_resource(self, name, restype, factclass, props):
	
		"""
		Domain custom resource.
		
		:param str name:
		   Resource name.
		:param str restype:
		   Resource type.
		:param str factclass:
		   Resource factory class.
		:param dict props:
		   Resource properties.
		:rtype:
		   CustomResource
		"""
		
		return CustomResource(self.__endpoint, name, restype, factclass, props)
Domain custom resource.
		
		:param str name:
		   Resource name.
		:param str restype:
		   Resource type.
		:param str factclass:
		   Resource factory class.
		:param dict props:
		   Resource properties.
		:rtype:
		   CustomResource