question

ganeshthorave-6648 avatar image
0 Votes"
ganeshthorave-6648 asked AnuragSingh-MSFT commented

Start/Stop VMs v2 overview

Hello Experts

I was referring to Azure automation using below link

https://docs.microsoft.com/en-us/azure/azure-functions/start-stop-vms/overview

I am able to start/stop VM on particular time however I want to do one more addition to it like on public holiday VM should stop

Please guide190324-automation-1.png190216-automation-2.png


azure-logic-appsazure-automation
automation-1.png (42.1 KiB)
automation-2.png (15.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ganeshthorave-6648, I wanted to check if you had a chance to review the answer below by @nitishsh91 . Please let me know if you have any queries or concerns.

Please 'Accept as answer' if it helped so that it can help others in the community looking for help on similar topics.

1 Vote 1 ·

1 Answer

nitishsh91 avatar image
0 Votes"
nitishsh91 answered

Hi @ganeshthorave-6648

You can maintain a list of dates and then check with current date and accordingly work out what needs to be done for that condition, her eis an example where i am defining that my logical flow shouldn't run over weekends:

190652-image.png



image.png (14.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.