Skip to content

MariuszFerdyn/AzureStartStopVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Start, Stop VM

This Static WebSite can be deployed to Static Web Apps https://azure.microsoft.com/pl-pl/services/app-service/static/

This project allows you to:

  1. List State of VM in particular Resource Group
  2. StartVM
  3. StopVM

Deploying

Clone this Repository. Make the following changes:

You need to create New Registration in Azure Active Directory - App registrations and add in Every Function (3 at this moment) - see /api and index.js

"SUBSCRIPTION_ID"

"Application (client) ID"

"Client secret"

"Directory (tenant) ID"

Please set your password also: 'StaticPassword';

Deploy as an Azure Static Web Apps

Permission

You must assign permission to created New Registration - you can follow https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles-portal and file permissiona.json

ToDo

Azure Active Directory Authentication Use Managed Identity

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published