Handle the name type parameter during resource creation