def METHOD_NAME(self, id):
    vmmoid = self.get_vmmoid(id)
    if vmmoid:
        return s.get(
            f"https://{self.host}:{self.port}/api/vms/{vmmoid}",
            auth=(self.username, self.password),
        )
    log.info("There was a problem getting settings for vm %s", id)