code: def get_resource_areas_by_host(self, host_id):
          
          query_parameters = {}
          if host_id is not None:
              query_parameters['hostId'] = self._serialize.query('host_id', host_id, 'str')
          response = self._send(http_method='GET',
                                location_id='e81700f7-3be2-46de-8624-2eb35882fcaa',
                                version='5.0-preview.1',
                                query_parameters=query_parameters)
          return self._deserialize('[ResourceAreaInfo]', self._unwrap_collection(response))
docs: GetResourceAreasByHost.
          [Preview API]
          :param str host_id:
          :rtype: [ResourceAreaInfo]