code: def get_reservation_resources(session, reservation_id, *models):
      
  
      models_resources = []
      reservation = session.GetReservationDetails(reservation_id).ReservationDescription
      for resource in reservation.Resources:
          if resource.ResourceModelName in models:
              models_resources.append(resource)
      return models_resources
docs: Get all resources of given models in reservation.
  
      :param session: CloudShell session
      :type session: cloudshell.api.cloudshell_api.CloudShellAPISession
      :param reservation_id: active reservation ID
      :param models: list of requested models
      :return: list of all resources of models in reservation