Set-AzFirewallPolicyRuleCollectionGroupDraft
Sets a modified Azure Firewall Policy Rule Collection Group draft.
Syntax
Set-AzFirewallPolicyRuleCollectionGroupDraft
-AzureFirewallPolicyRuleCollectionGroupName <String>
-ResourceGroupName <String>
-AzureFirewallPolicyName <String>
-Priority <UInt32>
[-RuleCollection <PSAzureFirewallPolicyBaseRuleCollection[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzFirewallPolicyRuleCollectionGroupDraft
-AzureFirewallPolicyRuleCollectionGroupName <String>
-FirewallPolicyObject <PSAzureFirewallPolicy>
-Priority <UInt32>
[-RuleCollection <PSAzureFirewallPolicyBaseRuleCollection[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzFirewallPolicyRuleCollectionGroupDraft
-InputObject <PSAzureFirewallPolicyRuleCollectionGroupDraftWrapper>
[-Priority <UInt32>]
[-RuleCollection <PSAzureFirewallPolicyBaseRuleCollection[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzFirewallPolicyRuleCollectionGroupDraft
-ResourceId <String>
-Priority <UInt32>
[-RuleCollection <PSAzureFirewallPolicyBaseRuleCollection[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-AzFirewallPolicyRuleCollectionGroupDraft cmdlet updates a rule collection group draft in an Azure Firewall Policy.
Examples
Example 1
Set-AzFirewallPolicyRuleCollectionGroupDraft -AzureFirewallPolicyRuleCollectionGroupName rg1 -ResourceGroupName TestRg -Priority 200 -RuleCollection $filterRule1 -AzureFirewallPolicyName "firewallPolicy"
This example updates a rule collection group draft in the firewall policy $fp.
Example 2
Sets a modified Azure Firewall Policy Rule Collection Group draft. (autogenerated)
Set-AzFirewallPolicyRuleCollectionGroupDraft -AzureFirewallPolicyName <String> -AzureFirewallPolicyRuleCollectionGroupName rg1 -Priority 200 -ResourceGroupName TestRg -RuleCollection <PSAzureFirewallPolicyBaseRuleCollection[]>
Parameters
-AzureFirewallPolicyName
The name of the firewall policy
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AzureFirewallPolicyRuleCollectionGroupName
The name of the rule collection group associated with the draft.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-FirewallPolicyObject
Firewall Policy.
Type: | PSAzureFirewallPolicy |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InputObject
The rule collection group draft.
Type: | PSAzureFirewallPolicyRuleCollectionGroupDraftWrapper |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Priority
The priority of the rule group.
Type: | UInt32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
The resource Id of the Rule collection group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RuleCollection
The list of rule collections.
Type: | PSAzureFirewallPolicyBaseRuleCollection[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |