mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-04 23:59:08 +00:00
parent
b9851c89ba
commit
d5480beb9c
@ -69,26 +69,18 @@ In this task, you will create an Azure disk resource by using an Azure Resource
|
||||
```
|
||||
|
||||
```json
|
||||
},
|
||||
"hyperVGeneration": {
|
||||
"defaultValue": "V1",
|
||||
"type": "String"
|
||||
},
|
||||
```
|
||||
|
||||
```json
|
||||
"osType": "[parameters('osType')]"
|
||||
"osType": "[parameters('osType')]",
|
||||
```
|
||||
|
||||
>**Note**: These parameters are removed since they are not applicable to the current deployment. In particular, sourceResourceId, sourceUri, osType, and hyperVGeneration parameters are applicable to creating an Azure disk from an existing VHD file.
|
||||
|
||||
1. In addition, remove the trailing comma from the following line:
|
||||
|
||||
```json
|
||||
"diskSizeGB": "[parameters('diskSizeGb')]",
|
||||
```
|
||||
|
||||
>**Note**: This is necessary to account for the syntax rules of JSON-based ARM templates.
|
||||
|
||||
1. Save the changes.
|
||||
|
||||
1. Back on the **Custom deployment** blade, click **Edit parameters**.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user