Skip to content

Instantly share code, notes, and snippets.

@rnkhouse
Last active April 13, 2017 20:54
Show Gist options
  • Save rnkhouse/8e732b4be4ccc734f651271477c54f7b to your computer and use it in GitHub Desktop.
Save rnkhouse/8e732b4be4ccc734f651271477c54f7b to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string"
},
"location": {
"type": "string"
},
"publicIPAllocationMethod": {
"type": "string",
"allowedValues": [
"Dynamic",
"Static"
]
},
"idleTimeoutInMinutes": {
"defaultValue": 4,
"type": "int"
},
"publicIpAddressVersion": {
"defaultValue": "IPv4",
"type": "string"
}
},
"resources": [
{
"apiVersion": "2016-03-30",
"type": "Microsoft.Network/publicIPAddresses",
"name": "[parameters('name')]",
"location": "[parameters('location')]",
"properties": {
"publicIPAllocationMethod": "[parameters('publicIPAllocationMethod')]",
"idleTimeoutInMinutes": "[parameters('idleTimeoutInMinutes')]",
"publicIpAddressVersion": "[parameters('publicIpAddressVersion')]"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment