Adds a resource of the Type specified, using the Name and ID specified and fills it with the Data specified.