Skip to content

Commit

Permalink
added location parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoore-msft committed May 15, 2018
1 parent 2a4c582 commit 0552ef8
Show file tree
Hide file tree
Showing 1,020 changed files with 59,871 additions and 53,524 deletions.
445 changes: 226 additions & 219 deletions 101-1vm-2nics-2subnets-1vnet/azuredeploy.json

Large diffs are not rendered by default.

406 changes: 212 additions & 194 deletions 101-Telegraf-InfluxDB-Grafana/azuredeploy.json

Large diffs are not rendered by default.

288 changes: 148 additions & 140 deletions 101-aci-dynamicsnav/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,151 +1,159 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string",
"metadata": {
"description": "Name for the container group"
},
"defaultValue": "acinavcontainergroup"
},
"navRelease": {
"type": "string",
"metadata": {
"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/"
},
"defaultValue": "microsoft/bcsandbox:us"
},
"username": {
"type": "string",
"metadata": {
"description": "Username for your NAV super user"
}
},
"password": {
"type": "string",
"metadata": {
"description": "Password for your NAV/BC super user and your sa user on the database"
}
},
"cpuCores": {
"type": "string",
"metadata": {
"description": "The number of CPU cores to allocate to the container"
},
"defaultValue": "2.0"
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string",
"metadata": {
"description": "Name for the container group"
},
"memoryInGb": {
"type": "string",
"metadata": {
"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"
},
"defaultValue": "2.0"
"defaultValue": "acinavcontainergroup"
},
"navRelease": {
"type": "string",
"metadata": {
"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/"
},
"acceptEula": {
"type": "string",
"metadata": {
"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"
},
"defaultValue": "N",
"allowedValues": [
"Y", "N"
]
"defaultValue": "microsoft/bcsandbox:us"
},
"username": {
"type": "string",
"metadata": {
"description": "Username for your NAV super user"
}
},
"password": {
"type": "string",
"metadata": {
"description": "Password for your NAV/BC super user and your sa user on the database"
}
},
"variables": {
"image": "[parameters('navRelease')]"
"cpuCores": {
"type": "string",
"metadata": {
"description": "The number of CPU cores to allocate to the container"
},
"defaultValue": "2.0"
},
"memoryInGb": {
"type": "string",
"metadata": {
"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"
},
"defaultValue": "2.0"
},
"resources": [
{
"name": "[parameters('name')]",
"type": "Microsoft.ContainerInstance/containerGroups",
"apiVersion": "2017-10-01-preview",
"location": "[resourceGroup().location]",
"properties": {
"containers": [
{
"name": "[parameters('name')]",
"properties": {
"environmentVariables": [
{
"name": "ACCEPT_EULA",
"value": "[parameters('acceptEula')]"
},
{
"name": "username",
"value": "[parameters('username')]"
},
{
"name": "password",
"value": "[parameters('password')]"
}
],
"image": "[variables('image')]",
"ports": [
{
"protocol": "tcp",
"port": "443"
},
{
"protocol": "tcp",
"port": "80"
},
{
"protocol": "tcp",
"port": "7049"
},
{
"protocol": "tcp",
"port": "8080"
},
{
"protocol": "tcp",
"port": "1433"
}
],
"resources": {
"requests": {
"cpu": "[parameters('cpuCores')]",
"memoryInGb": "[parameters('memoryInGb')]"
}
}
}
}
],
"osType": "Windows",
"ipAddress": {
"type": "Public",
"ports": [
{
"protocol": "tcp",
"port": "443"
},
{
"protocol": "tcp",
"port": "80"
},
{
"protocol": "tcp",
"port": "7049"
},
{
"protocol": "tcp",
"port": "8080"
},
{
"protocol": "tcp",
"port": "1433"
}
]
}
"acceptEula": {
"type": "string",
"metadata": {
"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"
},
"defaultValue": "N",
"allowedValues": [
"Y",
"N"
]
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
}
},
"variables": {
"image": "[parameters('navRelease')]"
},
"resources": [
{
"name": "[parameters('name')]",
"type": "Microsoft.ContainerInstance/containerGroups",
"apiVersion": "2017-10-01-preview",
"location": "[parameters('location')]",
"properties": {
"containers": [
{
"name": "[parameters('name')]",
"properties": {
"environmentVariables": [
{
"name": "ACCEPT_EULA",
"value": "[parameters('acceptEula')]"
},
{
"name": "username",
"value": "[parameters('username')]"
},
{
"name": "password",
"value": "[parameters('password')]"
}
],
"image": "[variables('image')]",
"ports": [
{
"protocol": "tcp",
"port": "443"
},
{
"protocol": "tcp",
"port": "80"
},
{
"protocol": "tcp",
"port": "7049"
},
{
"protocol": "tcp",
"port": "8080"
},
{
"protocol": "tcp",
"port": "1433"
}
],
"resources": {
"requests": {
"cpu": "[parameters('cpuCores')]",
"memoryInGb": "[parameters('memoryInGb')]"
}
}
}
}
],
"outputs": {
"containerIPv4Address":{
"type": "string",
"value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', parameters('name'))).ipAddress.ip]"
],
"osType": "Windows",
"ipAddress": {
"type": "Public",
"ports": [
{
"protocol": "tcp",
"port": "443"
},
{
"protocol": "tcp",
"port": "80"
},
{
"protocol": "tcp",
"port": "7049"
},
{
"protocol": "tcp",
"port": "8080"
},
{
"protocol": "tcp",
"port": "1433"
}
]
}
}
}
],
"outputs": {
"containerIPv4Address": {
"type": "string",
"value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', parameters('name'))).ipAddress.ip]"
}
}
}
Loading

0 comments on commit 0552ef8

Please sign in to comment.