Skip to content

Commit a9f9d72

Browse files
authored
Merge pull request #21832 from BethanyZhou/announceBreakingChange
[KeyVault] Add breaking change announcement for SoftDeleteRetentionInDays
2 parents e3f69e8 + 77bc3fe commit a9f9d72

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

src/KeyVault/KeyVault/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Added breaking change announcement for parameter `SoftDeleteRetentionInDays` in `New-AzKeyVaultManagedHsm`. The parameter `SoftDeleteRetentionInDays` is becoming mandatory
22+
- This change will take effect on version 6.0.0
2123
* Changed the encoding way from a string into byte array in `Invoke-AzKeyVaultKeyOperation` from ASCII to UTF8. UTF8 is backward-compatible with ASCII. [#21269]
2224
* Bug fix: Changed the decoding way from byte array into a string from system default encoding to UTF8 to match encoding way. [#21269]
2325
* Added parameter `PolicyPath` and `PolicyObject` in `Import-AzKeyVaultCertificate` to support custom policy [#20780]

src/KeyVault/KeyVault/Commands/NewAzureManagedHsm.cs renamed to src/KeyVault/KeyVault/Commands/ManagedHsm/NewAzureManagedHsm.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
using Microsoft.Azure.Commands.KeyVault.Properties;
1717
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1818
using Microsoft.Azure.Management.KeyVault.Models;
19+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1920
using Microsoft.WindowsAzure.Commands.Utilities.Common;
2021

2122
using System;
@@ -27,6 +28,7 @@ namespace Microsoft.Azure.Commands.KeyVault.Commands
2728
/// <summary>
2829
/// Create a new managed HSM.
2930
/// </summary>
31+
[GenericBreakingChange("The parameter 'SoftDeleteRetentionInDays' is becoming mandatory", "6.0.0")]
3032
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "KeyVaultManagedHsm", SupportsShouldProcess = true)]
3133
[OutputType(typeof(PSManagedHsm))]
3234
public class NewAzureManagedHsm : KeyVaultManagementCmdletBase

src/KeyVault/KeyVault/KeyVault.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<PsModuleName>KeyVault</PsModuleName>

0 commit comments

Comments
 (0)