你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
Outputs
IEnumerable<T>[[Microsoft.Azure.Commands.Network.Models.PSAzureFirewall, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=1.12.0.0, Culture=neutral, PublicKeyToken=null]]