-
Notifications
You must be signed in to change notification settings - Fork 0
/
disk.json
38 lines (38 loc) · 1.08 KB
/
disk.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"diskName": {
"type": "string",
"defaultValue": "disk1"
},
"sku": {
"type": "string",
"defaultValue": "Standard_LRS"
},
"diskSizeGb": {
"type": "int",
"defaultValue": 32
}
},
"resources": [
{
"apiVersion": "2021-04-01",
"type": "Microsoft.Compute/disks",
"name": "[parameters('diskName')]",
"location": "[resourceGroup().location]",
"properties": {
"osType": "",
"creationData": {
"createOption": "empty"
},
"diskSizeGB": "[parameters('diskSizeGb')]",
"networkAccessPolicy": "AllowAll"
},
"sku": {
"name": "[parameters('sku')]"
},
"tags": {}
}
]
}