Skip to content

Commit df9cd9b

Browse files
committed
[AppGW] Adding ShouldProcess and Force parameter in RemoveAzureApplicationGatewaySslPolicyCommand
1 parent a9da57a commit df9cd9b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ResourceManager/Network/Commands.Network/ApplicationGateway/SslPolicy/RemoveAzureApplicationGatewaySslPolicyCommand.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
namespace Microsoft.Azure.Commands.Network
2020
{
21-
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewaySslPolicy"), OutputType(typeof(PSApplicationGateway))]
21+
[Cmdlet(VerbsCommon.Remove, "AzureRmApplicationGatewaySslPolicy", SupportsShouldProcess = true), OutputType(typeof(PSApplicationGateway))]
2222
public class RemoveAzureApplicationGatewaySslPolicyCommand : NetworkBaseCmdlet
2323
{
2424
[Parameter(
@@ -27,6 +27,11 @@ public class RemoveAzureApplicationGatewaySslPolicyCommand : NetworkBaseCmdlet
2727
HelpMessage = "The applicationGateway")]
2828
public PSApplicationGateway ApplicationGateway { get; set; }
2929

30+
[Parameter(
31+
Mandatory = false,
32+
HelpMessage = "Do not ask for confirmation.")]
33+
public SwitchParameter Force { get; set; }
34+
3035
public override void ExecuteCmdlet()
3136
{
3237
base.ExecuteCmdlet();

0 commit comments

Comments
 (0)