Created
May 18, 2017 23:54
-
-
Save ericmaino/6e9756f01cef36574818600ab518d7a0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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": "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