Arm template azure-different zone

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Arm template azure-different zone

L1 Bithead

Has anybody successfully deployed VM's in Azure for palo alto? I have used the template, but no matter what I can't seem to put a fw in zone 2. Any help is appreciated. I've changed around the code, but can't get this fw into a zone:

 

    "variables": {
        "apiVersion": "2015-06-15",
        "imagePublisher": "paloaltonetworks",
        "imageSku" : "byol",
        "imageOffer" : "vmseries1",
        "fwpublicIPName": "[concat(parameters('vmName'), '-fwMgmtPublicIP')]",
        "nicName": "[concat(parameters('vmName'), '-eth')]",
        "FWPrivateIPAddressUntrust": "[parameters('subnet1StartAddress')]",
        "FWPrivateIPAddressTrust": "[parameters('subnet2StartAddress')]",
        "publicIPAddressType": "Dynamic",
        "zone": "2"
        "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',parameters('virtualNetworkName'))]",
        "nsgname-mgmt": "[concat(parameters('vmName'), '-DefaultNSG')]",
        "subnet0Ref": "[concat(variables('vnetID'),'/subnets/',parameters('subnet0Name'))]",
        "subnet1Ref": "[concat(variables('vnetID'),'/subnets/',parameters('subnet1Name'))]",
        "subnet2Ref": "[concat(variables('vnetID'),'/subnets/',parameters('subnet2Name'))]",
 
I also tried
  "variables": {
        "apiVersion": "2015-06-15",
        "imagePublisher": "paloaltonetworks",
        "imageSku" : "byol",
        "imageOffer" : "vmseries1",
        "fwpublicIPName": "[concat(parameters('vmName'), '-fwMgmtPublicIP')]",
        "nicName": "[concat(parameters('vmName'), '-eth')]",
        "FWPrivateIPAddressUntrust": "[parameters('subnet1StartAddress')]",
        "FWPrivateIPAddressTrust": "[parameters('subnet2StartAddress')]",
        "publicIPAddressType": "Dynamic",
        "zone": "zones": ["[parameters('zone')]"],
        "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',parameters('virtualNetworkName'))]",
        "nsgname-mgmt": "[concat(parameters('vmName'), '-DefaultNSG')]",
        "subnet0Ref": "[concat(variables('vnetID'),'/subnets/',parameters('subnet0Name'))]",
        "subnet1Ref": "[concat(variables('vnetID'),'/subnets/',parameters('subnet1Name'))]",
        "subnet2Ref": "[concat(variables('vnetID'),'/subnets/',parameters('subnet2Name'))]",
 
 
 "zone" :{
                    "type": "string",
                   "defaultvalue":"1"
        },
 
1 accepted solution

Accepted Solutions

L1 Bithead

You have to add a zone file like this:

 "zones": [
                "[parameters('zone')]"
            ], 
 
inside the resource

View solution in original post

1 REPLY 1

L1 Bithead

You have to add a zone file like this:

 "zones": [
                "[parameters('zone')]"
            ], 
 
inside the resource
  • 1 accepted solution
  • 1426 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!