Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Load Balancer Internal" snippet: incorrect placement of subnet for frontendIPConfigurations #724

Closed
abasharin opened this issue May 23, 2020 · 1 comment · Fixed by #725

Comments

@abasharin
Copy link
Contributor

"Load Balancer Internal" snippet.

"frontendIPConfigurations" should have subnet under "properties".
See FrontendIPConfigurationPropertiesFormat.
Should be:

"frontendIPConfigurations": [
    {
        "name": "loadBalancerFrontEnd1",
        "properties": {
            "privateIPAddress": "0.0.0.0",
            "privateIPAllocationMethod": "Static",
            "subnet": {
                "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', 'virtualNetwork1', 'subnet1')]"
            }
        }
    }
]

instead of the current

"frontendIPConfigurations": [
    {
        "name": "loadBalancerFrontEnd1",
        "subnet": {
            "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', 'virtualNetwork1', 'subnet1')]"
        },
        "properties": {
            "privateIPAddress": "0.0.0.0",
            "privateIPAllocationMethod": "Static"
        }
    }
]
@neilpeterson
Copy link
Contributor

Thanks again @abasharin!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants