AZ-104-MicrosoftAzureAdmini.../Allfiles/Labs/03/az104-03b-md-template.json

54 lines
1.4 KiB
JSON
Raw Normal View History

2020-02-10 21:12:57 -05:00
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"diskName": {
"type": "String"
},
"location": {
"type": "String"
},
"sku": {
"type": "String"
},
"diskSizeGb": {
2020-06-09 21:41:24 +02:00
"type": "Int"
2020-02-10 21:12:57 -05:00
},
"sourceResourceId": {
"type": "String"
},
"createOption": {
"type": "String"
},
"hyperVGeneration": {
"defaultValue": "V1",
"type": "String"
2020-07-04 11:00:46 -04:00
},
"diskEncryptionSetType": {
"type": "String"
},
2020-09-09 15:11:39 +12:00
"networkAccessPolicy": {
2020-09-23 09:19:39 -04:00
"type": "String"
2020-09-10 09:01:39 -04:00
}
2020-02-10 21:12:57 -05:00
},
"resources": [
{
"type": "Microsoft.Compute/disks",
2020-09-23 09:19:39 -04:00
"apiVersion": "2020-05-01",
2020-02-10 21:12:57 -05:00
"name": "[parameters('diskName')]",
"location": "[parameters('location')]",
"tags": {},
"sku": {
"name": "[parameters('sku')]"
},
"properties": {
"creationData": {
"createOption": "[parameters('createOption')]"
},
"diskSizeGB": "[parameters('diskSizeGb')]",
2020-09-09 15:11:39 +12:00
"networkAccessPolicy": "[parameters('networkAccessPolicy')]"
2020-02-10 21:12:57 -05:00
}
}
]
2020-07-04 11:00:46 -04:00
}