diff --git a/src/DataLakeStore/DataLakeStore/ChangeLog.md b/src/DataLakeStore/DataLakeStore/ChangeLog.md index 407d11d3e1ee..1ea3051ebb8e 100644 --- a/src/DataLakeStore/DataLakeStore/ChangeLog.md +++ b/src/DataLakeStore/DataLakeStore/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Added breaking change description for `Export-AzDataLakeStoreItem` and `Import-AzDataLakeStoreItem` * Added option of Byte encoding for `New-AzDataLakeStoreItem`, `Add-AzDAtaLakeStoreItemContent`, and `Get-AzDAtaLakeStoreItemContent` ## Version 1.2.7 diff --git a/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ExportAzureRmDataLakeStoreItem.cs b/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ExportAzureRmDataLakeStoreItem.cs index 9059f090ce0e..d975d3fe2952 100644 --- a/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ExportAzureRmDataLakeStoreItem.cs +++ b/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ExportAzureRmDataLakeStoreItem.cs @@ -12,15 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using Microsoft.Azure.Commands.DataLakeStore.Properties; + using Microsoft.Azure.Commands.DataLakeStore.Models; using Microsoft.Rest.Azure; using System.Management.Automation; using Microsoft.Azure.DataLake.Store; +using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; namespace Microsoft.Azure.Commands.DataLakeStore { + [GenericBreakingChange("For store side export failures, Export-AzDataLakeStoreItem will throw exception instead of printing message on screen", "2.0.0", "05/18/2020")] [Cmdlet("Export", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataLakeStoreItem", SupportsShouldProcess = true, DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(string))] [Alias("Export-AdlStoreItem")] public class ExportAzureDataLakeStoreItem : DataLakeStoreFileSystemCmdletBase diff --git a/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ImportAzureRmDataLakeStoreItem.cs b/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ImportAzureRmDataLakeStoreItem.cs index 44b2a1c3b186..3e7941e442ce 100644 --- a/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ImportAzureRmDataLakeStoreItem.cs +++ b/src/DataLakeStore/DataLakeStore/DataPlaneCommands/ImportAzureRmDataLakeStoreItem.cs @@ -12,15 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; using Microsoft.Azure.Commands.DataLakeStore.Models; using Microsoft.Azure.Commands.DataLakeStore.Properties; using System.Management.Automation; using Microsoft.Azure.DataLake.Store; using Microsoft.Rest.Azure; +using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; namespace Microsoft.Azure.Commands.DataLakeStore { + [GenericBreakingChange("For store side import failures, Import-AzDataLakeStoreItem will throw exception instead of printing message on screen", "2.0.0", "05/18/2020")] [Cmdlet("Import", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataLakeStoreItem", SupportsShouldProcess = true, DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(string))] [Alias("Import-AdlStoreItem")] public class ImportAzureDataLakeStoreItem : DataLakeStoreFileSystemCmdletBase