Created
July 31, 2026 07:29
-
-
Save lassebenni/8a0ec8a6ebf40d200372575174451e39 to your computer and use it in GitHub Desktop.
Visual: Week 14 HYF palette - bicep anatomy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Visual: Four building blocks of a Bicep file</title> | |
| <style> | |
| body { | |
| margin: 0; | |
| padding: 24px; | |
| background: #faf5d9; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| font-family: "Lato", "Helvetica Neue", Arial, sans-serif; | |
| } | |
| svg { max-width: 800px; width: 100%; height: auto; } | |
| </style> | |
| </head> | |
| <body> | |
| <svg viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg" font-family="Lato, Helvetica Neue, Arial, sans-serif"> | |
| <rect x="2" y="2" width="796" height="396" rx="16" fill="#ffffff" stroke="#e6dfb8" stroke-width="2"/> | |
| <text x="400" y="40" text-anchor="middle" fill="#b12900" font-size="22" font-weight="700">Four building blocks of a Bicep file</text> | |
| <text x="400" y="64" text-anchor="middle" fill="#595959" font-size="14">Inputs and helpers feed the resource; outputs come back after deploy</text> | |
| <rect x="32" y="96" width="160" height="100" rx="10" fill="#e3f2fd" stroke="#1565c0" stroke-width="2"/> | |
| <text x="112" y="134" text-anchor="middle" fill="#1565c0" font-size="16" font-weight="700">param</text> | |
| <text x="112" y="158" text-anchor="middle" fill="#000000" font-size="13">input at deploy</text> | |
| <text x="112" y="178" text-anchor="middle" fill="#595959" font-size="12">storageName</text> | |
| <rect x="224" y="96" width="160" height="100" rx="10" fill="#e8f5e9" stroke="#2e7d32" stroke-width="2"/> | |
| <text x="304" y="134" text-anchor="middle" fill="#2e7d32" font-size="16" font-weight="700">var</text> | |
| <text x="304" y="158" text-anchor="middle" fill="#000000" font-size="13">reuse inside file</text> | |
| <text x="304" y="178" text-anchor="middle" fill="#595959" font-size="12">storageKind</text> | |
| <rect x="416" y="96" width="160" height="100" rx="10" fill="#f3edc6" stroke="#b12900" stroke-width="2"/> | |
| <text x="496" y="134" text-anchor="middle" fill="#b12900" font-size="16" font-weight="700">resource</text> | |
| <text x="496" y="158" text-anchor="middle" fill="#000000" font-size="13">what should exist</text> | |
| <text x="496" y="178" text-anchor="middle" fill="#595959" font-size="12">storage account</text> | |
| <rect x="608" y="96" width="160" height="100" rx="10" fill="#fff3e0" stroke="#e65100" stroke-width="2"/> | |
| <text x="688" y="134" text-anchor="middle" fill="#e65100" font-size="16" font-weight="700">output</text> | |
| <text x="688" y="158" text-anchor="middle" fill="#000000" font-size="13">value after deploy</text> | |
| <text x="688" y="178" text-anchor="middle" fill="#595959" font-size="12">storageId</text> | |
| <line x1="192" y1="146" x2="214" y2="146" stroke="#595959" stroke-width="2"/> | |
| <polygon points="214,140 226,146 214,152" fill="#595959"/> | |
| <line x1="384" y1="146" x2="406" y2="146" stroke="#595959" stroke-width="2"/> | |
| <polygon points="406,140 418,146 406,152" fill="#595959"/> | |
| <line x1="576" y1="146" x2="598" y2="146" stroke="#595959" stroke-width="2"/> | |
| <polygon points="598,140 610,146 598,152" fill="#595959"/> | |
| <line x1="496" y1="196" x2="496" y2="228" stroke="#b12900" stroke-width="2"/> | |
| <polygon points="490,228 502,228 496,238" fill="#b12900"/> | |
| <rect x="120" y="244" width="560" height="120" rx="10" fill="#f3edc6" stroke="#b12900" stroke-width="2"/> | |
| <text x="400" y="280" text-anchor="middle" fill="#b12900" font-size="14" font-weight="700">resource storage 'Microsoft.Storage/storageAccounts@2023-01-01'</text> | |
| <text x="400" y="308" text-anchor="middle" fill="#000000" font-size="13">Quoted string = type + pinned API version</text> | |
| <text x="400" y="332" text-anchor="middle" fill="#595959" font-size="13">Object after = sets name, location, sku, kind</text> | |
| </svg> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment