From f8c9b70f4a52119873ffb66f46ea5366e4d7e617 Mon Sep 17 00:00:00 2001 From: githubofkrishnadhas Date: Thu, 7 Dec 2023 20:46:28 +0530 Subject: [PATCH] initial commit --- .github/workflows/start_azure_vm.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/start_azure_vm.yml diff --git a/.github/workflows/start_azure_vm.yml b/.github/workflows/start_azure_vm.yml new file mode 100644 index 0000000..29d4c5b --- /dev/null +++ b/.github/workflows/start_azure_vm.yml @@ -0,0 +1,27 @@ +name: start azure virtual machine +run-name: ${{ github.actor }} - ${{ github.events.inputs.action }} VM +on: + workflow_dispatch: + inputs: + action: + default: "stop" + required: true + type: choice + options: + - start + - stop + vm_name: + required: true + default: "devwithkrishna-vm" + type: string + resource_group: + required: true + default: "DEV-WITH-KRISHNA-VM-RG" + type: string + resource_provider_string: + required: true + default: "providers/Microsoft.Compute/virtualMachines" + type: string + + +