code: def _get_ids_from_hostname(self, hostname):
          
          results = self.list_instances(hostname=hostname, mask="id")
          return [result['id'] for result in results]
docs: List VS ids which match the given hostname.