Skip to content

Commit 84e226e

Browse files
authored
Merge pull request #5397 from Nking92/websites-preview
[Websites] Remove snapshots commands to postpone release for an API rework
2 parents 3523883 + d02c9f5 commit 84e226e

File tree

6 files changed

+2
-406
lines changed

6 files changed

+2
-406
lines changed

src/ResourceManager/Websites/AzureRM.Websites.Netcore.psd1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ CmdletsToExport = 'Get-AzureRmAppServicePlan', 'Set-AzureRmAppServicePlan',
9393
'New-AzureRmWebAppBackup', 'Remove-AzureRmWebApp',
9494
'New-AzureRmWebApp', 'Remove-AzureRmWebAppBackup',
9595
'Reset-AzureRmWebAppPublishingProfile', 'Restart-AzureRmWebApp',
96-
'Set-AzureRmWebApp', 'Start-AzureRmWebApp', 'Stop-AzureRmWebApp',
97-
'Get-AzureRmWebAppSnapshot', 'Restore-AzureRmWebAppSnapshot'
96+
'Set-AzureRmWebApp', 'Start-AzureRmWebApp', 'Stop-AzureRmWebApp'
9897

9998
# Variables to export from this module
10099
# VariablesToExport = @()

src/ResourceManager/Websites/AzureRM.Websites.psd1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ CmdletsToExport = 'Get-AzureRmAppServicePlan', 'Set-AzureRmAppServicePlan',
9393
'New-AzureRmWebAppBackup', 'Remove-AzureRmWebApp',
9494
'New-AzureRmWebApp', 'Remove-AzureRmWebAppBackup',
9595
'Reset-AzureRmWebAppPublishingProfile', 'Restart-AzureRmWebApp',
96-
'Set-AzureRmWebApp', 'Start-AzureRmWebApp', 'Stop-AzureRmWebApp',
97-
'Get-AzureRmWebAppSnapshot', 'Restore-AzureRmWebAppSnapshot'
96+
'Set-AzureRmWebApp', 'Start-AzureRmWebApp', 'Stop-AzureRmWebApp'
9897

9998
# Variables to export from this module
10099
# VariablesToExport = @()

src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppBackupRestoreTests.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,5 @@ public void TestEditAndGetWebAppBackupConfigurationPiping()
6868
{
6969
WebsitesController.NewInstance.RunPsTest("Test-EditAndGetWebAppBackupConfigurationPiping");
7070
}
71-
72-
[Trait(Category.AcceptanceType, Category.CheckIn)]
73-
public void TestGetWebAppSnapshots()
74-
{
75-
WebsitesController.NewInstance.RunPsTest("Test-GetWebAppSnapshots");
76-
}
77-
78-
[Trait(Category.AcceptanceType, Category.CheckIn)]
79-
public void TestRestoreWebAppSnapshot()
80-
{
81-
WebsitesController.NewInstance.RunPsTest("Test-RestoreWebAppSnapshot");
82-
}
8371
}
8472
}

src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@
5959
<Compile Include="Cmdlets\BackupRestore\AzureWebAppBackupConfiguration.cs" />
6060
<Compile Include="Cmdlets\BackupRestore\AzureWebAppSnapshot.cs" />
6161
<Compile Include="Cmdlets\BackupRestore\BackupRestoreUtils.cs" />
62-
<Compile Include="Cmdlets\BackupRestore\GetAzureWebAppSnapshot.cs" />
6362
<Compile Include="Cmdlets\BackupRestore\NewAzureRmWebAppDatabaseBackupSetting.cs" />
6463
<Compile Include="Cmdlets\BackupRestore\RestoreAzureWebAppBackup.cs" />
65-
<Compile Include="Cmdlets\BackupRestore\RestoreAzureWebAppSnapshot.cs" />
6664
<Compile Include="Cmdlets\Certificates\GetAzureWebAppCertificate.cs" />
6765
<Compile Include="Cmdlets\Certificates\GetAzureWebAppSSLBinding.cs" />
6866
<Compile Include="Cmdlets\Certificates\NewAzureWebAppSSLBinding.cs" />

src/ResourceManager/Websites/Commands.Websites/help/Get-AzureRmWebAppSnapshot.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)