0
0
Azurecloud~30 mins

ARM template resources section in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Create an ARM Template Resources Section
📖 Scenario: You are setting up a simple Azure infrastructure using an ARM template. You want to define the resources section to deploy a storage account.
🎯 Goal: Build the resources section of an ARM template that defines a storage account with specific properties.
📋 What You'll Learn
Create a resources array with one resource object
Define a storage account resource with type Microsoft.Storage/storageAccounts
Set the API version to 2022-09-01
Include the name mystorageaccount
Set the location to eastus
Set the SKU name to Standard_LRS
Set the kind to StorageV2
Add supportsHttpsTrafficOnly property set to true
💡 Why This Matters
🌍 Real World
ARM templates are used to automate Azure infrastructure deployment. Defining the resources section correctly is essential to create and manage cloud resources.
💼 Career
Cloud engineers and DevOps professionals use ARM templates to deploy and maintain Azure resources efficiently and consistently.
Progress0 / 4 steps
1
Create the resources array
Create a variable called resources and set it to an empty array [].
Azure
Need a hint?

Start by creating an empty array to hold your resources.

2
Add a storage account resource object
Add an object to the resources array with the following properties: type set to "Microsoft.Storage/storageAccounts", apiVersion set to "2022-09-01", and name set to "mystorageaccount".
Azure
Need a hint?

Add an object inside the array with the required properties.

3
Add location, sku, and kind properties
Inside the storage account object in resources, add the properties location set to "eastus", sku as an object with name set to "Standard_LRS", and kind set to "StorageV2".
Azure
Need a hint?

Remember to add the location as a string, sku as an object with a name, and kind as a string.

4
Add supportsHttpsTrafficOnly property
Inside the storage account object in resources, add the properties object with supportsHttpsTrafficOnly set to true.
Azure
Need a hint?

Add a properties object and set supportsHttpsTrafficOnly to true inside it.