I'm concerned about error handling in this method. I believe you should first check to see if all 'datastore-like objects' in resource[:datastores] can be found, else throw an error

    ds = dc.datastoreFolder.children.select{|d| @resource[:name].include? d.name}
    fail 'message' unless ds.size == @rersource[:name].size

then create the pod and make a call to add all the members