I want to create a start/stop Azure VM bot for myself. What I want to do is to have a slack/telegram bot that listens to messages and starts/stops my VM by commands /start/stop. What REST api command should I use to do that?
What is needed:
Some sample code in C# that calls azure management API to start deallocated virtual machine
Some reference where I can get values for API method parameters (e.g. subscription id, resource id, etc).
Also
I have read this question, but it didn't help me to understand how to deal with authorization and where to get those parameters.
I am creating that bot using C# language.
