-
Notifications
You must be signed in to change notification settings - Fork 0
/
classicresources.json
75 lines (75 loc) · 2.57 KB
/
classicresources.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
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"resources": [
{
"apiVersion": "2015-12-01",
"name": "storageName",
"type": "Microsoft.ClassicStorage/StorageAccounts",
"location": "[parameters('location')]",
"properties": {
"accountType": "Standard_LRS"
}
},
{
"type": "Microsoft.ClassicNetwork/virtualNetworks",
"name": "networkName",
"apiVersion": "2015-06-01",
"location": "[resourceGroup().location]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"10.50.0.0/24"
]
},
"subnets": [
{
"name": "subnetName",
"addressPrefix": "10.50.0.0/24"
}
]
}
},
{
"apiVersion": "2015-06-01",
"name": "cloudServiceName",
"location": "[resourceGroup().location]",
"type": "Microsoft.ClassicCompute/domainNames"
},
{
"apiVersion": "2015-06-01",
"name": "slotName",
"type": "Microsoft.ClassicCompute/domainNames/slots",
"dependsOn": [
"cloudServiceName"
],
"properties": {
"deploymentLabel": "[parameters('deploymentLabel')]",
"packageLink": {
"Uri": "[parameters('packageLink')]"
},
"configurationLink": {
"Uri": "[parameters('configurationLink')]"
},
"deploymentOptions": "[parameters('deploymentOptions')]"
}
},
{
"name": "[concat('cloudServiceName/SHA1-', 'certificate_Thumbprint')]", # this name format is mandatory!
"location": "[resourceGroup().location]",
"type": "Microsoft.ClassicCompute/domainNames/serviceCertificates",
"apiVersion": "2015-06-01",
"dependsOn": [
"cloudServiceName"
],
"properties": {
"thumbprintAlgorithm": "SHA1",
"thumbprint": "certificate_Thumbprint",
"data": "base64_encoded_certificate",
"certificateFormat": "pfx",
"password": "password"
}
}
]
}