diff --git a/src/Network/Network/AzureFirewall/SetAzureFirewallCommand.cs b/src/Network/Network/AzureFirewall/SetAzureFirewallCommand.cs index f63ff23edfa8..89b7594b5665 100644 --- a/src/Network/Network/AzureFirewall/SetAzureFirewallCommand.cs +++ b/src/Network/Network/AzureFirewall/SetAzureFirewallCommand.cs @@ -21,7 +21,8 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Firewall", SupportsShouldProcess = true), OutputType(typeof(PSAzureFirewall))] + // TODO: Support WhatIf https://github.com/Azure/azure-powershell/issues/27667 + [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Firewall", SupportsShouldProcess = false), OutputType(typeof(PSAzureFirewall))] public class SetAzureFirewallCommand : AzureFirewallBaseCmdlet { [Parameter( diff --git a/src/Network/Network/AzureFirewallPolicy/RuleGroup/SetAzureFirewallPolicyRuleCollectionGroupCmdlet.cs b/src/Network/Network/AzureFirewallPolicy/RuleGroup/SetAzureFirewallPolicyRuleCollectionGroupCmdlet.cs index f31886f92a15..8e87c070bf6f 100644 --- a/src/Network/Network/AzureFirewallPolicy/RuleGroup/SetAzureFirewallPolicyRuleCollectionGroupCmdlet.cs +++ b/src/Network/Network/AzureFirewallPolicy/RuleGroup/SetAzureFirewallPolicyRuleCollectionGroupCmdlet.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FirewallPolicyRuleCollectionGroup", SupportsShouldProcess = true, DefaultParameterSetName = SetByNameParameterSet), OutputType(typeof(PSAzureFirewallPolicyRuleCollectionGroup))] + // TODO: Support WhatIf https://github.com/Azure/azure-powershell/issues/27667 + [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FirewallPolicyRuleCollectionGroup", SupportsShouldProcess = false, DefaultParameterSetName = SetByNameParameterSet), OutputType(typeof(PSAzureFirewallPolicyRuleCollectionGroup))] public class SetAzureFirewallPolicyRuleGroupCommand : AzureFirewallPolicyRuleCollectionGroupBaseCmdlet { diff --git a/src/Network/Network/AzureFirewallPolicy/SetAzureFirewallPolicyCommand.cs b/src/Network/Network/AzureFirewallPolicy/SetAzureFirewallPolicyCommand.cs index 7f5c5857a859..fa3745ce489f 100644 --- a/src/Network/Network/AzureFirewallPolicy/SetAzureFirewallPolicyCommand.cs +++ b/src/Network/Network/AzureFirewallPolicy/SetAzureFirewallPolicyCommand.cs @@ -27,7 +27,8 @@ namespace Microsoft.Azure.Commands.Network { - [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FirewallPolicy", SupportsShouldProcess = true, DefaultParameterSetName = SetByNameParameterSet), OutputType(typeof(PSAzureFirewallPolicy))] + // TODO: Support WhatIf https://github.com/Azure/azure-powershell/issues/27667 + [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FirewallPolicy", SupportsShouldProcess = false, DefaultParameterSetName = SetByNameParameterSet), OutputType(typeof(PSAzureFirewallPolicy))] public class SetAzureFirewallPolicyCommand : AzureFirewallPolicyBaseCmdlet { diff --git a/src/Network/Network/ChangeLog.md b/src/Network/Network/ChangeLog.md index 35ad9379a46f..638723e52335 100644 --- a/src/Network/Network/ChangeLog.md +++ b/src/Network/Network/ChangeLog.md @@ -21,6 +21,7 @@ ## Upcoming Release * Bug fix for `AzureFirewallPolicy` to ensure `BasePolicy` is properly set via `Set-AzFirewallPolicy` cmdlet either via pipe or direct value. +* Removal of `SupportsShouldProcess` attribute from `Set-AzFirewallPolicyRuleCollectionGroup`, `Set-AzFirewallPolicy`, and `Set-AzFirewall` cmdlets as it has not been implemented yet. ## Version 7.22.0 * Added new RouteTableUsageMode property for Network Manager Routing Configuration