Skip to content

Commit e73978c

Browse files
author
Maddie Clayton
authored
Update RestoreAzureDeletedWebApp.cs
1 parent bcf2f4f commit e73978c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResourceManager/Websites/Commands.Websites/Cmdlets/BackupRestore/RestoreAzureDeletedWebApp.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ----------------------------------------------------------------------------------
1+
// ----------------------------------------------------------------------------------
22
//
33
// Copyright Microsoft Corporation
44
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore
2424
/// <summary>
2525
/// Restores a deleted Azure Web App's contents and settings to an existing web app
2626
/// </summary>
27-
[Cmdlet("Restore", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DeletedWebApp", DefaultParameterSetName = FromDeletedResourceNameParameterSet), OutputType(typeof(PSSite))]
27+
[Cmdlet("Restore", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DeletedWebApp", SupportsShouldProcess = true, DefaultParameterSetName = FromDeletedResourceNameParameterSet), OutputType(typeof(PSSite))]
2828
public class RestoreAzureDeletedWebApp : WebAppBaseClientCmdLet
2929
{
3030
private const string FromDeletedAppParameterSet = "FromDeletedApp";

0 commit comments

Comments
 (0)