CLASS 01 Bicep: From Your First Line to Enterprise Server PlansStep 1 of 3 · Focused viewShow setup & notes
Jump to a step · 1 of 3 1 Read the picture and the words 2 Make one change and compile 3 Prove what you learned Visual checklist 0/3 steps checked Choose a stepStep 1: Read the picture and the words Step 2: Make one change and compile Step 3: Prove what you learned STEP 1 OF 3
Read the picture and the words Work in: This lesson → numbered code illustration, then the practice editor below
Understand the plan before requesting Azure changes.
Select the picture to enlarge it 1. param: Declares an input: a value the file accepts.2. output: Names information ARM can return after a deployment.3. string: The value is text; keep quotes around a text literal.Illustration · not a live capture · Bicep / ARM instructional illustration
Documentation used for this illustration Close picture × 1. param: Declares an input: a value the file accepts.2. output: Names information ARM can return after a deployment.3. string: The value is text; keep quotes around a text literal.Authored teaching diagram, not a captured VS Code or Azure screen. Numbers explain the code concepts; use the editor for full code and real compiler output.
Match every numbered callout with its explanation, then edit the complete source below.
Steps
Check your result You can explain the three numbered concepts before editing.
Need help? Help opening this workspace Start here: Work in This lesson → numbered code illustration, then the practice editor below. Use the named practice machine and app; the instructions below tell you what to select or type there.
What the commands and settings mean
paramDeclares an input: a value the file accepts.
outputNames information ARM can return after a deployment.
stringThe value is text; keep quotes around a text literal. I checked this result in my own labLinks & purpose for this step Work in This lesson → numbered code illustration, then the practice editor below
Why this task Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.
Go here learn.microsoft.com · step documentation ↗ STEP 2 OF 3
Make one change and compile Work in: This lesson → Bicep practice editor (main.bicep); local-file instructions name VS Code explicitly
Understand the plan before requesting Azure changes.
Select the picture to enlarge it 1. param: Declares an input: a value the file accepts.2. output: Names information ARM can return after a deployment.3. string: The value is text; keep quotes around a text literal.Illustration · not a live capture · Bicep / ARM instructional illustration
Documentation used for this illustration Close picture × 1. param: Declares an input: a value the file accepts.2. output: Names information ARM can return after a deployment.3. string: The value is text; keep quotes around a text literal.Authored teaching diagram, not a captured VS Code or Azure screen. Numbers explain the code concepts; use the editor for full code and real compiler output.
Match every numbered callout with its explanation, then edit the complete source below.
Steps
Download this lesson’s example Bicep file
Check your result The JSON contains parameters.greeting.defaultValue = Hello, learner, and outputs.message refers to greeting. No resource exists.
Need help? Help opening this workspace Start here: Work in This lesson → Bicep practice editor (main.bicep); local-file instructions name VS Code explicitly. Use the named practice machine and app; the instructions below tell you what to select or type there.
What the commands and settings mean
paramDeclares an input: a value the file accepts.
outputNames information ARM can return after a deployment.
stringThe value is text; keep quotes around a text literal. I checked this result in my own labLinks & purpose for this step Work in This lesson → Bicep practice editor (main.bicep); local-file instructions name VS Code explicitly
Why this task Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.
Go here learn.microsoft.com · step documentation ↗ STEP 3 OF 3
Prove what you learned Work in: Practice result, your private notebook and the module test at the module’s end
Understand the plan before requesting Azure changes.
Select the picture to enlarge it 1. param: Declares an input: a value the file accepts.2. output: Names information ARM can return after a deployment.3. string: The value is text; keep quotes around a text literal.Illustration · not a live capture · Bicep / ARM instructional illustration
Documentation used for this illustration Close picture × 1. param: Declares an input: a value the file accepts.2. output: Names information ARM can return after a deployment.3. string: The value is text; keep quotes around a text literal.Authored teaching diagram, not a captured VS Code or Azure screen. Numbers explain the code concepts; use the editor for full code and real compiler output.
Match every numbered callout with its explanation, then edit the complete source below.
Steps
Check your result The JSON contains parameters.greeting.defaultValue = Hello, learner, and outputs.message refers to greeting. No resource exists.
Need help? Help opening this workspace Start here: Use your lab notes on your own computer. This is a planning step; nothing is installed or changed yet.
What the commands and settings mean
paramDeclares an input: a value the file accepts.
outputNames information ARM can return after a deployment.
stringThe value is text; keep quotes around a text literal. I checked this result in my own labLinks & purpose for this step Work in Practice result, your private notebook and the module test at the module’s end
Why this task Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.
Go here learn.microsoft.com · step documentation ↗ Best practices and more troubleshooting Best practices Change one thing, compile, then compare the generated JSON. Use dummy values in practice. Keep secrets and private keys out of source, outputs and notebooks. Avoid these mistakes Treating compilation as proof of Azure deployment. Pasting a displayed terminal prompt into a source file. If your screen is different My file does not compile. Read the first diagnostic line and message. Check quotes, braces, types and companion filenames. Compare one small section with Show example; try again after saving local files.
Compilation passes but Azure validation fails. Check the selected subscription/group, provider registration, RBAC, policy, naming constraints, region, image availability and quota. Preserve the error; do not work around organization controls.
Finished? Verify this lesson Check every step, finish the exercise, and pass the knowledge check. Progress is self-reported. Signed-in learners can save it to their connected academy account.
Verify lesson complete Before you start · setup and lab values Lab goal · 3 steps You’re finished when… The JSON contains parameters.greeting.defaultValue = Hello, learner, and outputs.message refers to greeting. No resource exists.
Before you start · prerequisites and lab values Why this matters Understand the plan before requesting Azure changes. Small edits and explicit checks make mistakes easier to diagnose.
What you’ll need A modern browser. The compiler downloads on demand and runs locally; it does not send your source to Azure. For local-file work: VS Code with Microsoft Bicep extension and Azure CLI from the official links. Only for optional live validation/deployment: an approved Azure subscription, permissions, training resource group and budget. No Azure credentials belong in this website. Your first move: A blueprint describes the result you want. Azure Resource Manager (ARM) reads the compiled JSON and requests that result. Bicep does not type PowerShell commands into a VM.
Official references and version notes →
My Lab Passport Add your VM · hostname, IP and folder Record your own lab values. Saved on this device under your guest profile. Sync across devices is not available yet. No passwords or keys.
Values are reference notes. They do not replace commands or prove a connection to your VM. Manage in my profile →
Loading private notebook…