"Anastasia" is female name. So I believe this is a typo andThe word you actually meanmentioned, "anesthesia". And, can actually be used to describe the state you asked about - "anesthesia". From (samewikipedia:
In the practice of medicine (especially surgery and dentistry), anesthesia or anaesthesia (from greek "without sensation") is a state of temporary induced loss of sensation or awareness.
You can also use the word) or "narcosis". From Collins:
unconsciousness induced by narcotics or general anaesthetics
psYour example sentence could then be: not a native speaker
I was under anesthesia during the operation
or
I was in a state of narcosis during the operation