AZ-104Hands-on lab35 min
Module lab: Export templates and compare deployment modes
لاب الدرس: صدّر القوالب وقارن بين أنواع النشر
An engineer built resource group az104-p1-rg5 partly by hand (a virtual network and an NSG) and partly with a template (a storage account deployment named initial-storage). You need to capture everything as code, retrieve the exact template from the deployment history, preview a Complete-mode deployment, see what Complete mode really does, and then restore the missing resources from your exported template.
The 6 tasks you will do
- Task 1 — Export a single resource from the portalالمهمة 1 — صدّر Resource واحد من الـ Portal
- Task 2 — Export the whole resource group with the CLIالمهمة 2 — صدّر الـ Resource group كلها بالـ CLI
- Task 3 — Save the template from the deployment historyالمهمة 3 — هات القالب من سجل الـ Deployments
- Task 4 — Preview a Complete-mode deployment with what-ifالمهمة 4 — اعمل Preview لنشر بالـ Complete mode بـ what-if
- Task 5 — Deploy in Complete mode and observeالمهمة 5 — انشر بالـ Complete mode وشوف اللي حصل
- Task 6 — Restore the resources from your exported templateالمهمة 6 — رجّع الموارد من القالب اللي صدّرته