From the course: Microsoft Azure Administrator Associate (AZ-104) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 24,100 courses taught by industry experts.

Using BICEP

Using BICEP

- [Instructor] Hi, in this lecture, we're going to learn about using Bicep to deploy resources in Azure. So Bicep is a domain-specific language that simplifies the process of writing ARM templates by providing a more concise syntax. So what we're going to do in this lesson is look at how we can deploy a storage account using Bicep services. So I have here actually three files. I've got a main.bicep, a parameters, and a storage.bicep. Now the main.bicep is the main file I'm going to use, and it's very similar to when we create ARM templates in that, first of all, we can create a parameter section. So parameters allow us to pass in different information each time we use this template, which of course makes the template reusable. Again, with ARM templates, if we don't set a value to this, when we are defining it, it makes it a mandatory requirement. So we must always pass in storage account name. However, if we do pass in a default value, then it means we don't have to pass those values…

Contents