-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPremiumV2ArmTemplate.json
90 lines (90 loc) · 2.66 KB
/
PremiumV2ArmTemplate.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"diskName": {
"type": "String",
"metadata": {
"description": "The name of the disk"
}
},
"stampName": {
"type": "String",
"metadata": {
"description": "The name of the stamp"
}
},
"location": {
"defaultValue": "eastus2euap",
"type": "String",
"metadata": {
"description": "Location for all resources."
}
},
"zone": {
"type": "string",
"defaultValue": "2",
"metadata": {
"description": "Availabilityzone of the Disk"
}
},
"diskSizeInGB": {
"defaultValue": 4,
"type": "Int",
"metadata": {
"description": "Data Disk size in GiB."
}
},
"diskIOPS": {
"defaultValue": 3000,
"type": "Int",
"metadata": {
"description": "Supported number of operations per second."
}
},
"diskBandwidthInMB": {
"defaultValue": 125,
"type": "Int",
"metadata": {
"description": "Supported total bandwidth in MB."
}
},
"accountType": {
"defaultValue": "PremiumV2_LRS",
"allowedValues": [
"Standard_LRS",
"StandardSSD_LRS",
"Premium_LRS",
"PremiumV2_LRS",
"UltraSSD_LRS"
],
"type": "string",
"metadata": {
"description": "The account type of the managed disks"
}
}
},
"resources": [
{
"type": "Microsoft.Compute/disks",
"apiVersion": "2021-12-01",
"name": "[parameters('diskName')]",
"location": "[parameters('location')]",
"zones":[
"[parameters('zone')]"
],
"sku": {
"name": "[parameters('accountType')]"
},
"properties": {
"creationData": {
"createOption": "Empty",
"StorageStampName": "[parameters('stampName')]"
},
"diskSizeGB": "[parameters('diskSizeInGB')]",
"diskIOPSReadWrite": "[parameters('diskIOPS')]",
"diskMBpsReadWrite": "[parameters('diskBandwidthInMB')]"
}
}
]
}