code: def get_port_profile_for_vlan(self, vlan_id, device_id):
          
          entry = self.session.query(ucsm_model.PortProfile).filter_by(
              vlan_id=vlan_id, device_id=device_id).first()
          return entry.profile_id if entry else None
docs: Returns Vlan id associated with the port profile.