* @param vcenterId
* the ID of the vCenter.
* @return the list of datacenter references.
*/
public List<NamedRelatedResourceRep> listByVcenter(URI vcenterId) {
VcenterDataCenterList response = client.get(VcenterDataCenterList.class, PathConstants.DATACENTER_BY_VCENTER,
vcenterId);
return ResourceUtils.defaultList(response.getDataCenters());
}