{"id":423,"date":"2021-07-30T02:54:26","date_gmt":"2021-07-30T02:54:26","guid":{"rendered":"https:\/\/thecloudmarathoner.com\/?p=423"},"modified":"2021-08-12T20:04:22","modified_gmt":"2021-08-12T20:04:22","slug":"what-is-new-in-azure-bicep-v0-4","status":"publish","type":"post","link":"https:\/\/thecloudmarathoner.com\/index.php\/2021\/07\/30\/what-is-new-in-azure-bicep-v0-4\/","title":{"rendered":"What is new in Azure Bicep v0.4?"},"content":{"rendered":"\n<p>Hello Cloud Marathoners,<\/p>\n\n\n\n<p>I hope everyone getting a chance to enjoy the summer and spend some time with loved once.   <br><br>That said &#8211; Azure Bicep team does not seem slowing down, and I love it!<br>New features and capabilities have been added to Azure Bicep product v0.4 version, and we will review those innovations on this post.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is Azure Bicep?<\/h3>\n\n\n\n<p>Azure Bicep is a domain-specific language (DSL) that significantly simplifies the Azure resource authoring. It makes representation of your Azure digital estate concise with clean syntax by adding reliable type safety and code-reuse.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"504\" height=\"252\" src=\"\/wp-content\/uploads\/2021\/07\/bicep-meet-azure-pipelines.png\" alt=\"\" class=\"wp-image-432\" srcset=\"\/wp-content\/uploads\/2021\/07\/bicep-meet-azure-pipelines.png 504w, \/wp-content\/uploads\/2021\/07\/bicep-meet-azure-pipelines-300x150.png 300w\" sizes=\"auto, (max-width: 504px) 85vw, 504px\" \/><\/figure>\n\n\n\n<p>A typical Azure Bicep language code for an Azure storage account declaration will look as simple as the following code below &#8211; which basically explains why Bicep is called a DSL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"914\" height=\"298\" src=\"\/wp-content\/uploads\/2021\/07\/image.png\" alt=\"\" class=\"wp-image-431\" srcset=\"\/wp-content\/uploads\/2021\/07\/image.png 914w, \/wp-content\/uploads\/2021\/07\/image-300x98.png 300w, \/wp-content\/uploads\/2021\/07\/image-768x250.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Why would you need it?<\/h3>\n\n\n\n<p>There are number of benefits in using Infrastructure-as-Code approach. Azure Bicep might be the right tool for you to use for Azure deployments, especially if you are trying to modernize and simplify the Azure deployment process. <br><br>Let&#8217;s look into scenarious where Bicep is the right tool to use: <br> <br>\u2714\ufe0f Want to use language native to Azure?<br>\u2714\ufe0f Looking for fully integrated templates withing Azure platform?<br>\u2714\ufe0f Looking for fully supported product with Microsoft?<br>\u2714\ufe0f Don&#8217;t want to keep or worry about your resource state information<br>\u2714\ufe0f Looking to modernize and easy transition from JSON<\/p>\n\n\n\n<p>Well, if your response is <strong>YES<\/strong> for above statements\/questions then Bicep will be right tool for your solution. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">New additions to Azure Bicep in version 0.4<\/h3>\n\n\n\n<p>There are numbers of enhancement and features has been added from this release. Let&#8217;s look at main Highlights of these features below:<br><\/p>\n\n\n\n<p>\u2705 <strong>Linter MVP<\/strong> &#8211; The Bicep linter will inspect your code and catch a customizable set of authoring best practices.\u00a0<br>\u2705 <strong>Deprecated parameter modifiers removed<\/strong> &#8211; Strip out deprecated parameter modifier syntax<br>\u2705 <strong>New code snippets<\/strong> &#8211; Suggestion with new code snippets added<br>\u2705 <strong>Bug fixes<\/strong> &#8211; Number of bug fixes added, thanks to community support<br>\u2705 <strong>Bicep Playground fixes &#8211;<\/strong> Playground doesn&#8217;t load after breaking change.  <br>\u2705 <strong>Documentation and examples update<\/strong> <br>\u2705<strong> Support for List method call on Azure resource references<\/strong><br>\u2705 <strong>Support for JSON literal string conversion<\/strong><br>\u2705 <strong>Support  for using local json templates as modules<\/strong><br>\u2705 <strong>Support for object body completion snippets<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is next?<\/h3>\n\n\n\n<p>There are still number of milestones in-front of Bicep team, as the versioning # of Bicep project indicates. That said, starting from Bicep version 0.3 you can get an official Microsoft support.<\/p>\n\n\n\n<p>Below is the sneak-pick preview on what is cooking for v0.5 &#8211; which is expected to be out sometimes around August month this year.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"484\" src=\"\/wp-content\/uploads\/2021\/07\/image-1-1024x484.png\" alt=\"\" class=\"wp-image-434\" srcset=\"\/wp-content\/uploads\/2021\/07\/image-1-1024x484.png 1024w, \/wp-content\/uploads\/2021\/07\/image-1-300x142.png 300w, \/wp-content\/uploads\/2021\/07\/image-1-768x363.png 768w, \/wp-content\/uploads\/2021\/07\/image-1.png 1142w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Here is an <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/Azure\/bicep\/milestone\/8\" target=\"_blank\">official reference<\/a> to next milestone on Azure Bicep v0.5.<\/p>\n\n\n\n<p>Thank you for reading till this point. Stay tuned for more Azure Cloud automation and Bicep related posts.<\/p>\n\n\n\n<p>F\u1d0f\u029f\u029f\u1d0f\u1d21 \u1d0d\u1d07 \ud83c\udfaf \u1d00\u0274\u1d05 become \u1d00&nbsp;<a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=cloudmarathoner&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6796043041137336320\">#cloudmarathoner<\/a>&nbsp;\u26c5\ud83c\udfc3\u200d\u2642\ufe0f\ud83c\udfc3\u200d\u2640\ufe0f &#8211; \ud835\udc0b\ud835\udc04\ud835\udc13&#8217;\ud835\udc12 \ud835\udc02\ud835\udc0e\ud835\udc0d\ud835\udc0d\ud835\udc04\ud835\udc02\ud835\udc13 \ud83d\udc4d<\/p>\n\n\n\n<p><a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=microsoftazure&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6796043041137336320\">#microsoftazure<\/a><br><a href=\"#Bicep\">#Bicep<\/a><br><a href=\"#AzureBicep\">#AzureBicep<\/a><br><a href=\"#infrastructureascode\">#<strong>infrastructureascode<\/strong><\/a><br><a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=bestpractices&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6796043041137336320\">#bestpractices<\/a><br><a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=continuouslearning&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6796043041137336320\">#continuouslearning<\/a><\/p>\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_423\" class=\"pvc_stats all  \" data-element-id=\"423\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Hello Cloud Marathoners, I hope everyone getting a chance to enjoy the summer and spend some time with loved once. That said &#8211; Azure Bicep team does not seem slowing down, and I love it!New features and capabilities have been added to Azure Bicep product v0.4 version, and we will review those innovations on this &hellip; <a href=\"https:\/\/thecloudmarathoner.com\/index.php\/2021\/07\/30\/what-is-new-in-azure-bicep-v0-4\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What is new in Azure Bicep v0.4?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,4,7,2,18],"tags":[],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-azure-bicep","category-azure-devops","category-git-github","category-infrastructure-as-code-iac","category-azure"],"_links":{"self":[{"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":9,"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":443,"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/posts\/423\/revisions\/443"}],"wp:attachment":[{"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/media?parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/categories?post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecloudmarathoner.com\/index.php\/wp-json\/wp\/v2\/tags?post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}