title: How to set private ip using json template in Azure resource manager portal?
body: <p>I am working Azure resource manager portal. i have create vm using json template. But the order of local ip address of vm is changed. `my requirement is 
  10.0.0.4,10.0.0.5,10.0.0.6. 
  but the output is
  10.0.0.5, 10.0.0.6,10.0.0.4</p>
  
  <p>i try to set private ip addresss using json</p>
  
  <pre><code>"properties": {
      "ipConfigurations": [
        {
          "name": "ipconfig1",
          "properties": {
            "privateIPAllocationMethod": "static",
            "PrivateIpAddress": [concat("10.0.0."), copyindex())],
            "copy": { 
                  "name": "ipaddress", 
                  "count": "["[variables('numberOfInstances')]"]" 
              }, 
            "subnet": {
              "id": "[variables('subnetRef')]"
            },
            "loadBalancerBackendAddressPools": [
              {
                "id": "[concat(variables('lbID'), '/backendAddressPools/BackendPool1')]"
              }
            ],
            "loadBalancerInboundNatRules": [
              {
                "id": "[concat(variables('lbID'),'/inboundNatRules/RDP-VM', copyindex())]"
              }
            ]
          }
        }
      ]
    }
  },
  </code></pre>
  
  <p>but it throws json parsing exception. Anyone know how to set private ip address in json template?</p>