Resource metadata support for customer gateway