-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-deploy.json
96 lines (96 loc) · 2.63 KB
/
azure-deploy.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
91
92
93
94
95
96
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"pricingTier": {
"type": "string",
"allowedValues": [
"PerGB2018",
"Free",
"Standalone",
"PerNode",
"Standard",
"Premium"
],
"defaultValue": "PerGB2018",
"metadata": {
"description": "Pricing tier: pergb2018 or legacy tiers (Free, Standalone, PerNode, Standard or Premium) which are not available to all customers."
}
},
"allowedIPAddresses": {
"type": "string",
"metadata": {
"description": "The sourceAddressPrefixes allowed to connect to this deployment"
}
},
"ASAZLabCode": {
"type": "string",
"allowedValues": [
"ASAZ-ACO",
"ASAZ-TEMP"
],
"defaultValue": "ASAZ-",
"metadata": {
"description": "The Antisyphon Class Lab Code ID"
}
},
"vmSize": {
"type": "string",
"defaultValue": "Standard_B2s",
"allowedValues": [
"Standard_A2",
"Standard_A3",
"Standard_B2s",
"Standard_B2ms",
"Standard_A2_v2",
"Standard_A4_v2",
"Standard_DS2",
"Standard_DS11"
],
"metadata": {
"description": "Size of the virtual machine. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-general"
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
}
},
"variables": {
"uri_asaz-aco": "https://raw.githubusercontent.com/AntiSyphon/asaz-aco/main/azure-deploy.json",
"uri_asaz-temp": "https://raw.githubusercontent.com/AntiSyphon/asaz-temp/main/azure-deploy.json"
},
"resources": [
{
"name": "[concat('Deploy-',parameters('ASAZLabCode'))]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-10-01",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables(toLower(concat('uri_',parameters('ASAZLabCode'))))]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"vmSize": {
"value": "[parameters('vmSize')]"
},
"allowedIPAddresses": {
"value": "[parameters('allowedIPAddresses')]"
},
"location": {
"value": "[parameters('location')]"
},
"ASAZLabCode": {
"value": "[parameters('ASAZLabCode')]"
}
}
}
}
],
"outputs": {
}
}