code: def resource_list(cls):
          
          items = cls.list({'items_per_page': 500})
          ret = [paas['name'] for paas in items]
          ret.extend([str(paas['id']) for paas in items])
          for paas in items:
              paas = cls.info(paas['id'])
              ret.extend([vhost['name'] for vhost in paas['vhosts']])
  
          return ret
docs: Get the possible list of resources (name, id and vhosts).