Deploy-AzFirewallPolicy

Deploys the Azure Firewall Policy draft and all Rule Collection Group drafts associated with this Azure Firewall Policy.

Syntax

Deploy-AzFirewallPolicy
      -Name <String>
      -ResourceGroupName <String>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]
Deploy-AzFirewallPolicy
      -ResourceId <String>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]
Deploy-AzFirewallPolicy
      -InputObject <PSAzureFirewallPolicy>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Deploy-AzFirewallPolicy cmdlet deploys the azure firewall policy draft and the rule collection group drafts (if exist) to the azure firewall policy.

Examples

Example 1

Deploy-AzFirewallPolicy -Name firewallPolicy -ResourceGroupName TestRg

This example deploys the firewall policy draft to the firewallPolicy.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

The Firewall Policy.

Type:PSAzureFirewallPolicy
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

The firewall policy name.

Type:String
Aliases:ResourceName
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-ResourceGroupName

The resource group name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-ResourceId

The draft resource Id.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

Inputs

String

Outputs

PSAzureFirewall

IEnumerable<T>[[Microsoft.Azure.Commands.Network.Models.PSAzureFirewall, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=1.12.0.0, Culture=neutral, PublicKeyToken=null]]