Editar

Compartilhar via


Get-AzFirewallPolicyRuleCollectionGroupDraft

Gets an Azure Firewall Policy Rule Collection Group Draft.

Syntax

Get-AzFirewallPolicyRuleCollectionGroupDraft
   -Name <String>
   -ResourceGroupName <String>
   -AzureFirewallPolicyName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzFirewallPolicyRuleCollectionGroupDraft
   -Name <String>
   -AzureFirewallPolicy <PSAzureFirewallPolicy>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzFirewallPolicyRuleCollectionGroupDraft
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzFirewallPolicyRuleCollectionGroupDraft cmdlet gets the RuleCollectionGroup draft associated with the RuleCollectionGroup mentioned, from an Azure Firewall Policy.

Examples

Example 1

Get-AzFirewallPolicyRuleCollectionGroupDraft -AzureFirewallPolicyRuleCollectionGroupName rg1 -FirewallPolicyObject $fp

This example get the rule collection group draft associated with rule collection group rg1 in the firewall policy $fp.

Example 2

Gets a Azure Firewall Policy Rule Collection Group. (autogenerated)

Get-AzFirewallPolicyRuleCollectionGroupDraft -AzureFirewallPolicyName fpName -AzureFirewallPolicyRuleCollectionGroupName rg1 -ResourceGroupName myresourcegroup

Parameters

-AzureFirewallPolicy

Firewall Policy.

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

-AzureFirewallPolicyName

The Firewall policy name.

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

-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

-Name

The resource 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

PSAzureFirewallPolicyDraft

Outputs

PSAzureFirewall

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