How to create virtual displays using NVIDIA Grid driver API on windows VM?

I have a windows VM on google cloud which has got NVIDIA GPU (Tesla T4 - Driver Version: 461.33). It has also got Google Graphics Array driver installed.

I have a requirement where I need atleast one additional display(virtual display) which I have to enable/disable at runtime. I am trying to enable/disable the virtual displays using NVIDIA Grid driver API. But I am unable to find proper documentation and API description to accomplish this.

Any kind of help would be greatly appreciated.

Shouldn’t need to use the GRID API for this.

See instructions on to setup a virtual Workstation on GCP here: Creating a virtual GPU-accelerated Windows workstation | Cloud Architecture Center | Google Cloud

I suspect you are not using the GRID driver.