. . . "If the motion for a protective order is denied in whole or in part, the court may, on such terms and conditions as are just, order that any party or person provide or permit discovery." . .