Skip to content

Commit 477ec6a

Browse files
author
Maddie Clayton
authored
Merge pull request #7834 from wastoresh/locationwarn
[Stroage] breaking change notice
2 parents 00329a9 + 3a18da0 commit 477ec6a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/GetAzureStorageUsage.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1717
using Microsoft.Azure.Management.Storage;
1818
using Microsoft.Azure.Management.Storage.Models;
19+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1920
using System.Collections.Generic;
2021
using System.Management.Automation;
2122

2223
namespace Microsoft.Azure.Commands.Management.Storage.StorageAccount
2324
{
25+
[GenericBreakingChange("Parameter 'Location' will change from optional to mandatory in a future release.")]
2426
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "StorageUsage"), OutputType(typeof(PSUsage))]
2527
public class GetAzureStorageUsageCommand : StorageAccountBaseCmdlet
2628
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Common.Cmdlet
3434
/// <summary>
3535
/// New storage context
3636
/// </summary>
37+
[GenericBreakingChange("The default parameter set will change to OAuthParameterSet in a future release.")]
3738
[Cmdlet("New", Azure.Commands.ResourceManager.Common.AzureRMConstants.AzurePrefix + "StorageContext", DefaultParameterSetName = AccountNameKeyParameterSet), OutputType(typeof(AzureStorageContext))]
3839
public class NewAzureStorageContext : AzureDataCmdlet
3940
{

0 commit comments

Comments
 (0)