Skip to content

Commit 5e50358

Browse files
committed
[Storage] Disable Static Web Site cmdlets.
1 parent 6ec3ca3 commit 5e50358

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

src/Storage/Commands.Storage/Azure.Storage.psd1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ CmdletsToExport = 'Get-AzureStorageTable', 'New-AzureStorageTableSASToken',
126126
'Stop-AzureStorageBlobCopy', 'Update-AzureStorageServiceProperty',
127127
'Get-AzureStorageServiceProperty',
128128
'Enable-AzureStorageDeleteRetentionPolicy',
129-
'Disable-AzureStorageDeleteRetentionPolicy',
130-
'Enable-AzureStorageStaticWebsite',
131-
'Disable-AzureStorageStaticWebsite'
129+
'Disable-AzureStorageDeleteRetentionPolicy'
132130

133131
# Variables to export from this module
134132
# VariablesToExport = @()

src/Storage/Commands.Storage/ChangeLog.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
* Upgrade to Azure Storage Client Library 9.3.0 and Azure Storage DataMovement Library 0.8.1
2222
* Support create Storage Context with OAuth.
2323
- New-AzureStorageContext
24-
* Support Static Website configuration
25-
- Enable-AzureStorageStaticWebsite
26-
- Disable-AzureStorageStaticWebsite
2724

2825
## Version 4.5.0
2926
* Remove the 5TB limitation for Azure File Share quota

src/Storage/Commands.Storage/Common/Cmdlet/DisableAzureStorageStaticWebsite.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Common.Cmdlet
2323
/// <summary>
2424
/// Disable azure storage service StaticWebsite, currently only available on Blob service
2525
/// </summary>
26-
[Cmdlet(VerbsLifecycle.Disable, Azure.Commands.ResourceManager.Common.AzureRMConstants.AzurePrefix + "StorageStaticWebsite", SupportsShouldProcess = true),
27-
OutputType(typeof(PSStaticWebsiteProperties))]
2826
public class DisableAzureStorageServiceStaticWebsiteCommand : StorageCloudBlobCmdletBase
2927
{
3028
[Parameter(Mandatory = false)]

src/Storage/Commands.Storage/Common/Cmdlet/EnableAzureStorageStaticWebsite.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Common.Cmdlet
2323
/// <summary>
2424
/// Enable azure storage service StaticWebsite, currently only enabled on Blob service
2525
/// </summary>
26-
[Cmdlet(VerbsLifecycle.Enable, Azure.Commands.ResourceManager.Common.AzureRMConstants.AzurePrefix + "StorageStaticWebsite", SupportsShouldProcess = true),
27-
OutputType(typeof(PSStaticWebsiteProperties))]
2826
public class EnableAzureStorageServiceStaticWebsiteCommand : StorageCloudBlobCmdletBase
2927
{
3028
[Parameter(Mandatory = true, Position = 0, HelpMessage = "The name of the index document in each directory.")]

0 commit comments

Comments
 (0)