Creating a new Palo Alto Firewall using below template what changes shall I made considering Network Subnet are in place #4006
-
@description('Location for all resources.') @description('Your source public IP address. Added to the inbound NSG on eth0 (MGMT)') @description('String passed down to the Virtual Machine.') @description('Name of VM-Series VM in the Azure portal') @Allowed([ @Allowed([ @description('Name of the Virtual Network (VNET)') @Allowed([ @description('Virtual network address CIDR') @description('Name of resource group of existing VNET (if applicable)') @description('Subnet for Management') @description('Subnet for Untrust') @description('Subnet for Trust') @description('Mgmt subnet CIDR') @description('Untrust subnet CIDR') @description('Trust subnet CIDR') @description('Untrust subnet start address') @description('Trust subnet start address') @Allowed([ @description('Username of the administrator account of VM-Series') @description('Password or ssh key for the administrator account of VM-Series.') @Allowed([ @description('Name of existing public IP resource') @description('Name of existing public IP resource group') @Allowed([ @Allowed([ @description('Availability Zone for VM-Series') var imagePublisher = 'paloaltonetworks' module pid_0a6ce0a1_eb47_41b5_af43_e99c32a2e9a7_partnercenter './nested_pid_0a6ce0a1_eb47_41b5_af43_e99c32a2e9a7_partnercenter.bicep' = { resource publicIPAddressName_resource 'Microsoft.Network/publicIPAddresses@2017-10-01' = if (publicIPNewOrExisting == 'new') { resource nsgName 'Microsoft.Network/networkSecurityGroups@2017-10-01' = { resource virtualNetworkName_resource 'Microsoft.Network/virtualNetworks@2017-10-01' = if (vnetNewOrExisting == 'new') { resource nicName_0 'Microsoft.Network/networkInterfaces@2017-10-01' = { resource nicName_1 'Microsoft.Network/networkInterfaces@2017-10-01' = { resource nicName_2 'Microsoft.Network/networkInterfaces@2017-10-01' = { resource availabilitySetName_resource 'Microsoft.Compute/availabilitySets@2018-06-01' = if (!(availabilitySetName == 'None')) { resource vmName_resource 'Microsoft.Compute/virtualMachines@2018-06-01' = { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When I start editing it, I get a lot of linter errors just want the deployment to be simple and add a firewall to an existing Vnet and subnets |
Beta Was this translation helpful? Give feedback.
-
Hi @say2merohit Since this is a Vendor specific question, then you should follow guidance from the vendor on your Azure Deployments for their images. You will find some architectural tips on the Palo Alto site as well: For general VM/Compute, you can find some good samples for Bicep in the quickstarts. You can review the Azure Quick starts for Compute/Virtual Machine Templates in General: In regard to the Linter, if you have some specific questions, please provide details on those with samples? When pasting bicep code (it's difficult to read code without formatting/syntax highlighting), take a look at the example here look at the javascript example You can get syntax highlighting of bicep in the same way.
Example below: @description('Location for all resources.')
param location string = resourceGroup().location |
Beta Was this translation helpful? Give feedback.
Hi @say2merohit
Since this is a Vendor specific question, then you should follow guidance from the vendor on your Azure Deployments for their images.
You will find some architectural tips on the Palo Alto site as well:
https://www.paloaltonetworks.com/resources/reference-architectures/azure
For general VM/Compute, you can find some good samples for Bicep in the quickstarts.
You can review the Azure Quick starts for Compute/Virtual Machine Templates in General:
https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.compute/1vm-2nics-2subnets-1vnet
In regard to the Linter, if you have some specific questions, please provide details on those with samples?
When …