Last active
April 13, 2017 20:54
-
-
Save rnkhouse/8e732b4be4ccc734f651271477c54f7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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