Skip to content

Commit 0552ef8

Browse files
committed
added location parameters
1 parent 2a4c582 commit 0552ef8

File tree

1,020 files changed

+59871
-53524
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,020 files changed

+59871
-53524
lines changed

101-1vm-2nics-2subnets-1vnet/azuredeploy.json

+226-219
Large diffs are not rendered by default.

101-Telegraf-InfluxDB-Grafana/azuredeploy.json

+212-194
Large diffs are not rendered by default.

101-aci-dynamicsnav/azuredeploy.json

+148-140
Original file line numberDiff line numberDiff line change
@@ -1,151 +1,159 @@
11
{
2-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3-
"contentVersion": "1.0.0.0",
4-
"parameters": {
5-
"name": {
6-
"type": "string",
7-
"metadata": {
8-
"description": "Name for the container group"
9-
},
10-
"defaultValue": "acinavcontainergroup"
11-
},
12-
"navRelease": {
13-
"type": "string",
14-
"metadata": {
15-
"description": "Before the colon: dynamics-nav for NAV or bcsandbox for Business Central. After the colon: Identifier for the specific release like 2018-cu4-de for NAV or de for BC. Possible values can be found at https://hub.docker.com/r/microsoft/dynamics-nav/tags/ or https://hub.docker.com/r/microsoft/bcsandbox/tags/"
16-
},
17-
"defaultValue": "microsoft/bcsandbox:us"
18-
},
19-
"username": {
20-
"type": "string",
21-
"metadata": {
22-
"description": "Username for your NAV super user"
23-
}
24-
},
25-
"password": {
26-
"type": "string",
27-
"metadata": {
28-
"description": "Password for your NAV/BC super user and your sa user on the database"
29-
}
30-
},
31-
"cpuCores": {
32-
"type": "string",
33-
"metadata": {
34-
"description": "The number of CPU cores to allocate to the container"
35-
},
36-
"defaultValue": "2.0"
2+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"name": {
6+
"type": "string",
7+
"metadata": {
8+
"description": "Name for the container group"
379
},
38-
"memoryInGb": {
39-
"type": "string",
40-
"metadata": {
41-
"description": "The amount of memory to allocate to the container in gigabytes. Provide a minimum of 2 as he container will include SQL Server and NAV NST"
42-
},
43-
"defaultValue": "2.0"
10+
"defaultValue": "acinavcontainergroup"
11+
},
12+
"navRelease": {
13+
"type": "string",
14+
"metadata": {
15+
"description": "Before the colon: dynamics-nav for NAV or bcsandbox for Business Central. After the colon: Identifier for the specific release like 2018-cu4-de for NAV or de for BC. Possible values can be found at https://hub.docker.com/r/microsoft/dynamics-nav/tags/ or https://hub.docker.com/r/microsoft/bcsandbox/tags/"
4416
},
45-
"acceptEula": {
46-
"type": "string",
47-
"metadata": {
48-
"description": "Change to 'Y' to accept the end user license agreement available at https://go.microsoft.com/fwlink/?linkid=861843. This is necessary to successfully run the container"
49-
},
50-
"defaultValue": "N",
51-
"allowedValues": [
52-
"Y", "N"
53-
]
17+
"defaultValue": "microsoft/bcsandbox:us"
18+
},
19+
"username": {
20+
"type": "string",
21+
"metadata": {
22+
"description": "Username for your NAV super user"
23+
}
24+
},
25+
"password": {
26+
"type": "string",
27+
"metadata": {
28+
"description": "Password for your NAV/BC super user and your sa user on the database"
5429
}
5530
},
56-
"variables": {
57-
"image": "[parameters('navRelease')]"
31+
"cpuCores": {
32+
"type": "string",
33+
"metadata": {
34+
"description": "The number of CPU cores to allocate to the container"
35+
},
36+
"defaultValue": "2.0"
37+
},
38+
"memoryInGb": {
39+
"type": "string",
40+
"metadata": {
41+
"description": "The amount of memory to allocate to the container in gigabytes. Provide a minimum of 2 as he container will include SQL Server and NAV NST"
42+
},
43+
"defaultValue": "2.0"
5844
},
59-
"resources": [
60-
{
61-
"name": "[parameters('name')]",
62-
"type": "Microsoft.ContainerInstance/containerGroups",
63-
"apiVersion": "2017-10-01-preview",
64-
"location": "[resourceGroup().location]",
65-
"properties": {
66-
"containers": [
67-
{
68-
"name": "[parameters('name')]",
69-
"properties": {
70-
"environmentVariables": [
71-
{
72-
"name": "ACCEPT_EULA",
73-
"value": "[parameters('acceptEula')]"
74-
},
75-
{
76-
"name": "username",
77-
"value": "[parameters('username')]"
78-
},
79-
{
80-
"name": "password",
81-
"value": "[parameters('password')]"
82-
}
83-
],
84-
"image": "[variables('image')]",
85-
"ports": [
86-
{
87-
"protocol": "tcp",
88-
"port": "443"
89-
},
90-
{
91-
"protocol": "tcp",
92-
"port": "80"
93-
},
94-
{
95-
"protocol": "tcp",
96-
"port": "7049"
97-
},
98-
{
99-
"protocol": "tcp",
100-
"port": "8080"
101-
},
102-
{
103-
"protocol": "tcp",
104-
"port": "1433"
105-
}
106-
],
107-
"resources": {
108-
"requests": {
109-
"cpu": "[parameters('cpuCores')]",
110-
"memoryInGb": "[parameters('memoryInGb')]"
111-
}
112-
}
113-
}
114-
}
115-
],
116-
"osType": "Windows",
117-
"ipAddress": {
118-
"type": "Public",
119-
"ports": [
120-
{
121-
"protocol": "tcp",
122-
"port": "443"
123-
},
124-
{
125-
"protocol": "tcp",
126-
"port": "80"
127-
},
128-
{
129-
"protocol": "tcp",
130-
"port": "7049"
131-
},
132-
{
133-
"protocol": "tcp",
134-
"port": "8080"
135-
},
136-
{
137-
"protocol": "tcp",
138-
"port": "1433"
139-
}
140-
]
141-
}
45+
"acceptEula": {
46+
"type": "string",
47+
"metadata": {
48+
"description": "Change to 'Y' to accept the end user license agreement available at https://go.microsoft.com/fwlink/?linkid=861843. This is necessary to successfully run the container"
49+
},
50+
"defaultValue": "N",
51+
"allowedValues": [
52+
"Y",
53+
"N"
54+
]
55+
},
56+
"location": {
57+
"type": "string",
58+
"defaultValue": "[resourceGroup().location]",
59+
"metadata": {
60+
"description": "Location for all resources."
61+
}
62+
}
63+
},
64+
"variables": {
65+
"image": "[parameters('navRelease')]"
66+
},
67+
"resources": [
68+
{
69+
"name": "[parameters('name')]",
70+
"type": "Microsoft.ContainerInstance/containerGroups",
71+
"apiVersion": "2017-10-01-preview",
72+
"location": "[parameters('location')]",
73+
"properties": {
74+
"containers": [
75+
{
76+
"name": "[parameters('name')]",
77+
"properties": {
78+
"environmentVariables": [
79+
{
80+
"name": "ACCEPT_EULA",
81+
"value": "[parameters('acceptEula')]"
82+
},
83+
{
84+
"name": "username",
85+
"value": "[parameters('username')]"
86+
},
87+
{
88+
"name": "password",
89+
"value": "[parameters('password')]"
90+
}
91+
],
92+
"image": "[variables('image')]",
93+
"ports": [
94+
{
95+
"protocol": "tcp",
96+
"port": "443"
97+
},
98+
{
99+
"protocol": "tcp",
100+
"port": "80"
101+
},
102+
{
103+
"protocol": "tcp",
104+
"port": "7049"
105+
},
106+
{
107+
"protocol": "tcp",
108+
"port": "8080"
109+
},
110+
{
111+
"protocol": "tcp",
112+
"port": "1433"
113+
}
114+
],
115+
"resources": {
116+
"requests": {
117+
"cpu": "[parameters('cpuCores')]",
118+
"memoryInGb": "[parameters('memoryInGb')]"
119+
}
142120
}
121+
}
143122
}
144-
],
145-
"outputs": {
146-
"containerIPv4Address":{
147-
"type": "string",
148-
"value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', parameters('name'))).ipAddress.ip]"
123+
],
124+
"osType": "Windows",
125+
"ipAddress": {
126+
"type": "Public",
127+
"ports": [
128+
{
129+
"protocol": "tcp",
130+
"port": "443"
131+
},
132+
{
133+
"protocol": "tcp",
134+
"port": "80"
135+
},
136+
{
137+
"protocol": "tcp",
138+
"port": "7049"
139+
},
140+
{
141+
"protocol": "tcp",
142+
"port": "8080"
143+
},
144+
{
145+
"protocol": "tcp",
146+
"port": "1433"
147+
}
148+
]
149149
}
150+
}
151+
}
152+
],
153+
"outputs": {
154+
"containerIPv4Address": {
155+
"type": "string",
156+
"value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', parameters('name'))).ipAddress.ip]"
150157
}
158+
}
151159
}

0 commit comments

Comments
 (0)