Create resource.
		
		:param resort.engine.execution.Context context:
		   Current execution context.

def insert(self, context):
	
		"""
		Create resource.
		
		:param resort.engine.execution.Context context:
		   Current execution context.
		"""
		
		status_code, msg = self.__endpoint.post(
			"/resources/custom-resource",
			data={
				"id": self.__name,
				"restype": self.__restype,
				"factoryclass": self.__factclass,
				"property": props_value(self.__props)
			}
		)
		self.__available = True