Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Azure Function to Bulk Stop and Start Azure Resources in Order
145Likes
4,907Views
2022Dec 15
Little bit of fun to stop and start all resources in an Azure subscription in a defined order based on priority tag. This demonstrates also: ✅ Querying resource graph to list resources ✅ Loading a custom module ✅ Defining a function called by Functions ✅ Using timers 👂 I have manually updated the captions to be as accurate as possible. Enable the subtitles and from there you can translate to your native language via the auto-translate feature in settings!    • YouTube Captions and Auto Translate Q...   for a demo of using this feature. 🔎 Looking for content on a particular topic? Search the channel. If I have something it will be there! ▬▬▬▬▬▬ C H A P T E R S ⏰ ▬▬▬▬▬▬ 0:00 - Introduction 0:30 - Priority custom tag on resources 2:08 - Using resource graph to list resources and expand priority tag 4:58 - Adding a custom module 7:48 - Changing the Function timeout 8:25 - Importing in custom module and defining custom function 9:52 - Enabling managed identity and required permissions 11:08 - Timer triggers 12:50 - Code in each Function and walkthrough 15:24 - Close ▬▬▬▬▬▬ K E Y L I N K S 🔗 ▬▬▬▬▬▬ ► My sample file is in the RandomStuff repo: 🔗 https://github.com/johnthebrit/Random... ▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬ 📖 Recommended Learning Path for Azure 🔗 https://learn.onboardtoazure.com 🥇 Certification Content Repository 🔗 https://github.com/johnthebrit/Certif... 📅 Weekly Azure Update 🔗    • Azure Infrastructure Updates   ☁ Azure Master Class 🔗    • Microsoft Azure Master Class v2 (bein...   ⚙ DevOps Master Class 🔗    • DevOps Master Class   💻 PowerShell Master Class 🔗    • PowerShell Master Class   🎓 Certification Cram Videos 🔗    • Microsoft Certification Exam Prep Videos   🧠 Mentoring Content 🔗    • Virtual Mentoring   ❔ Question about my setup? 🔗    • My Setup   👕 Cure Childhood Cancer Charity T-Shirt Channel Store 🔗 https://johns-t-shirts-store.creator-... SUBSCRIBE ✅    / @ntfaqguy   #microsoft #azure #johnsavillstechnicaltraining #onboardtoazure #cloud

Follow along using the transcript.

John Savill's Technical Training

317K subscribers