mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-04 23:59:08 +00:00
Update LAB_03b-Manage_Azure_Resources_by_Using_ARM_Templates.md
This commit is contained in:
parent
6edf4771ed
commit
0aab969803
@ -213,23 +213,27 @@ In this task, you work with the Azure Cloud Shell and Azure PowerShell. Azure Cl
|
||||
|
||||
In this task, you will use a Bicep file to deploy a managed disk. Bicep is a declarative automation tool that is built on ARM templates.
|
||||
|
||||
1. Locate the **\Allfiles\Lab03\azuredeploydisk.bicep** file.
|
||||
|
||||
1. Continue working in the **Cloud Shell** in a **Bash** session.
|
||||
|
||||
1. Locate and download the **\Allfiles\Lab03\azuredeploydisk.bicep** file.
|
||||
1. Select **Manage files** and then **Upload** the Bicep file to the Cloud Shell.
|
||||
|
||||
1. **Upload** the bicep file to the Cloud Shell.
|
||||
1. Click **Editor** and when prompted **Confirm** the switch to the Classic Cloud Shell.
|
||||
|
||||
1. Select the **Editor** (curly brackets) icon and navigate to the file.
|
||||
1. Select the **azuredeploydisk.bicep** file
|
||||
|
||||
1. Take a minute to read through the bicep template file. Notice how the disk resource is defined.
|
||||
1. Take a minute to read through the Bicep template file. Notice how the disk resource is defined.
|
||||
|
||||
1. Make the following changes:
|
||||
|
||||
+ Change the **managedDiskName** value to `Disk4`.
|
||||
+ Change the **sku name** value to `StandardSSD_LRS`.
|
||||
+ Change the **diskSizeinGiB** value to `32`.
|
||||
+ Change the **managedDiskName** value, line 4, to Disk4.
|
||||
+ Change the **sku name** value, line 26, to StandardSSD_LRS.
|
||||
+ Change the **diskSizeinGiB** value; line 7, to 32.
|
||||
|
||||
1. Use **Ctrl +S** to save your changes.
|
||||
>**Note:** A completed Bicep template is available in the lab files.
|
||||
|
||||
1. Use **Ctrl + S** to save your changes.
|
||||
|
||||
1. Now, deploy the template.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user