Skip to content

Instantly share code, notes, and snippets.

@ericmaino
Created May 18, 2017 23:54
Show Gist options
  • Save ericmaino/6e9756f01cef36574818600ab518d7a0 to your computer and use it in GitHub Desktop.
Save ericmaino/6e9756f01cef36574818600ab518d7a0 to your computer and use it in GitHub Desktop.
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"loadBalancer" : {
"type": "string"
}
},
"variables": {
},
"resources": [
],
"outputs": {
"IpAddress": {
"type": "string",
"value": "[reference(resourceId('Microsoft.Network/loadBalancers', parameters('loadBalancer')), '2015-06-15').frontendIPConfigurations[0].properties.privateIPAddress]"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment