編集

次の方法で共有


Get-AzFirewallPolicyRuleCollectionGroup

Gets a Azure Firewall Policy Rule Collection Group

Syntax

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

Description

The Get-AzFirewallPolicyRuleCollectionGroup cmdlet gets the RuleCollectionGroup mentioned from a Firewall Policy

Examples

Example 1

Get-AzFirewallPolicyRuleCollectionGroup -Name rg1 -AzureFirewallPolicy $fp

This example get the rule collectionGroup in the firewall policy $fp

Example 2

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

Get-AzFirewallPolicyRuleCollectionGroup -AzureFirewallPolicyName fpName -Name 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 Firewall Policy Rule Collection Group resource name. For example: "DefaultNetworkRuleCollectionGroup"

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 resource Id.

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

Inputs

String

PSAzureFirewallPolicy

Outputs

PSAzureFirewall

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