Upload XML to another vPAN via PowerShell etc?

L0 Member

Upload XML to another vPAN via PowerShell etc?

Palo Alto newbie so please excuse the nature of the question:

 

I would like to know if there is a way use PowerShell, Panorama and/or the CLI to distribute and configure the XML file that can be pulled down via. . .  

 

(Invoke-WebRequest -outfile c:\scripts\the.xml -Method POST -Uri 'https://paloalto.contoso.com/api/?type=export&category=configuration&key=xyzxyzxyzxyz....abcabc).content

Effectively, I would like to be able to stand up another firewall in the event the firewall or site were to go down.  Need be, I would like to be able to edit the XML file (perhaps programmatically or perhaps not) to change a few settings prior to pushing it to the new firewall.  We would be deploying the vPANs in Azure with ARM templates and PowerShell.

 

Any ideas how to get this done?  I read about bootstrapping but that seem extremely convoluted.

 

Does Panorama exist in Azure too? 

thank you.

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 Live Community as a whole!

The Live Community thanks you for your participation!