Remove-AzFirewallPolicyRuleCollectionGroupDraft
拿掉 Azure 防火牆原則規則集合群組草稿。
PowerShell
Remove-AzFirewallPolicyRuleCollectionGroupDraft
-AzureFirewallPolicyRuleCollectionGroupName <String>
-ResourceGroupName <String>
-AzureFirewallPolicyName <String>
[-Force]
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
PowerShell
Remove-AzFirewallPolicyRuleCollectionGroupDraft
-AzureFirewallPolicyRuleCollectionGroupName <String>
-FirewallPolicyObject <PSAzureFirewallPolicy>
[-Force]
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
PowerShell
Remove-AzFirewallPolicyRuleCollectionGroupDraft
-InputObject <PSAzureFirewallPolicyRuleCollectionGroupDraftWrapper>
[-Force]
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
PowerShell
Remove-AzFirewallPolicyRuleCollectionGroupDraft
-ResourceId <String>
[-Force]
[-PassThru]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzFirewallPolicyRuleCollectionGroupDraft Cmdlet 會從 Azure 防火牆原則中移除規則集合群組草稿。
PowerShell
Remove-AzFirewallPolicyRuleCollectionGroupDraft -AzureFirewallPolicyRuleCollectionGroupName testRcGroup -FirewallPolicyObject $fp
本範例會移除防火牆原則規則集合群組草稿,名為 “testRcGroup” 的防火牆原則物件$fp。
PowerShell
Remove-AzFirewallPolicyRuleCollectionGroupDraft -AzureFirewallPolicyRuleCollectionGroupName testRcGroup -ResourceGroupName testRg -AzureFirewallPolicyName fpName
此範例會從名為 「testRg」 的資源群組中移除名為 「fpName」 的防火牆中名為 “testRcGroup” 的防火牆原則規則集合群組草稿。
在背景中執行 Cmdlet。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
防火牆原則的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
與草稿相關聯的規則集合群組名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
防火牆原則。
類型: | PSAzureFirewallPolicy |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
請勿要求確認。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
防火牆原則規則集合群組草稿物件。
類型: | PSAzureFirewallPolicyRuleCollectionGroupDraftWrapper |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
會傳回 物件,代表您正在使用的專案。 根據預設,此 Cmdlet 不會產生任何輸出。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
Rule 集合群組的資源標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |