Skip to content

To start and shut down the VSIs on GEN-2 VPC infrastructure ibm cloud

Notifications You must be signed in to change notification settings

barnalib/ibmcloud-VSI-start-shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

VSI-start-shutdown-ibmcloud

This can be added as an action in ibm cloud functions to trigger it periodically to automate VM shutdown and start process.

This is tested with python 3.7

To start and shut down the VSIs on GEN-2 VPC infrastructure ibm cloud

Provide your user id and api key in the python file and modify the "type" field in the payload to start or stop

payload = f'{{"type": "stop"}}'

About

To start and shut down the VSIs on GEN-2 VPC infrastructure ibm cloud

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages