関数アプリにデプロイ&構成にVM4,RG4にアクセスしたいvmを変数として書いておく。
プロキシurl=https://{関数アプリ名}.azurewebsites.net/{start/stop/status}
DEV: Power virtual machines ON or OFF using Azure functions
https://dev.to/pwd9000/power-virtual-machines-on-or-off-using-azure-functions-4k8o
公式Doc: Azure Functions プロキシの操作
https://docs.microsoft.com/ja-jp/azure/azure-functions/functions-proxies#requestOverrides
Functions で仮想マシンの起動停止を行うには:Cloud Steady