NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Cloud Volumes ONTAP

Seeking for scripts/commands to shutdown CVO

heightsnj
3,459 Views

I know that there is an automated process in Cloud Manager I can schedule a shutdown. However, it only can allow me to shut down in several specific time windows. I wanted to have the flexibility to shut down in my own window and for hours I specified. 

 

Is there customized script or commands to allow me to shut down or bring up?

1 ACCEPTED SOLUTION

SeanLuce
3,382 Views

Yes, you can use the REST API: Resources (netapp.com)

 

This will allow you to incorporate a CURL command within your favorite scripting language to automate this process.

For example:

POST /azure/ha/working-environments/{workingEnvironmentId}/stop
POST /azure/ha/working-environments/{workingEnvironmentId}/start

 

 

 

View solution in original post

1 REPLY 1

SeanLuce
3,383 Views

Yes, you can use the REST API: Resources (netapp.com)

 

This will allow you to incorporate a CURL command within your favorite scripting language to automate this process.

For example:

POST /azure/ha/working-environments/{workingEnvironmentId}/stop
POST /azure/ha/working-environments/{workingEnvironmentId}/start

 

 

 

Public