Copying and pasting pieces from a sample is a common way to get started with Bicep. The paste as Bicep new feature shipped in the Bicep VS Code extension v0.14 allows developers to copy ARM samples and paste directly as Bicep.
While most of our samples are now available as Bicep as well as ARM, we still occasionally run into samples that are ARM only. Instead of running additional command like `az bicep decompile,` you can get Bicep code directly by pasting:
⚡Full ARM JSON templates
⚡Single resource or multiple resources
⚡JSON values, such as objects, arrays, and strings
▬▬▬▬▬▬ TIMESTAMPS ⌚ ▬▬▬▬▬▬
02:23 – Demo: copy entire ARM template JSON sample and paste directly into a .bicep file
04:00 – Demo: copy a single resource object
04:16 – Demo: copy multiple resource objects
04:35 – Demo: copy value of a parameter
▬▬▬▬▬▬ WANT TO LEARN MORE? 🚀 ▬▬▬▬▬▬
🔗Install Bicep from the Marketplace: https://marketplace.visualstudio.com/...
🔗QuickStart: https://learn.microsoft.com/azure/azu...
🔗Bicep repo: https://github.com/Azure/bicep/issues
🔗Bicep community call: http://aka.ms/ARMNews
👋Connect with April on Twitter - / theapriledwards
👋Connect with April on LinkedIn - / azureapril
🙏Please like and subscribe ✔️ https://aka.ms/DevOpsLab
#IaC #bicep #DevOps #Azure #Learning #Cloud @MicrosoftDeveloper @MicrosoftReactor
Watch video Convert your ARM Templates into Bicep! online without registration, duration hours minute second in high quality. This video was added by user DevOps on Azure 20 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,683 once and liked it 97 people.