Skip to content

Commit

Permalink
Added Breaking change messages (Azure#23923)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyunchi-ms authored Jan 15, 2024
1 parent be87e03 commit 0979a75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Sql/Sql/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
-->
## Upcoming Release
* Added `DatabaseFormat` and `PricingModel` parameters to `New-AzSqlInstance`, `Set-AzSqlInstance`
* Added breaking change message for `New-AzSqlDatabaseFailoverGroup` and `Set-AzSqlDatabaseFailoverGroup`
- The default value of `FailoverPolicy` parameter will be changed from `Automatic` to `Manual`

## Version 4.13.0
* Fixed `Set-AzSqlDatabaseFailoverGroup` when going from multi-secondary to single secondary
Expand Down
2 changes: 2 additions & 0 deletions src/Sql/Sql/Failover Group/Cmdlet/NewAzureSqlFailoverGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
using System.Management.Automation;
using System;
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;

namespace Microsoft.Azure.Commands.Sql.FailoverGroup.Cmdlet
{
/// <summary>
/// Cmdlet to create a new Azure Sql FailoverGroup
/// </summary>
[GenericBreakingChangeWithVersion("The default value of FailoverPolicy will change from Automatic to Manual", "12.0.0", "5.0.0")]
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SqlDatabaseFailoverGroup"), OutputType(typeof(AzureSqlFailoverGroupModel))]
public class NewAzureSqlFailoverGroup : AzureSqlFailoverGroupCmdletBase
{
Expand Down
2 changes: 2 additions & 0 deletions src/Sql/Sql/Failover Group/Cmdlet/SetAzureSqlFailoverGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
using System.Management.Automation;
using System;
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;

namespace Microsoft.Azure.Commands.Sql.FailoverGroup.Cmdlet
{
/// <summary>
/// Cmdlet to create a new Azure Sql Database Failover Group
/// </summary>
[GenericBreakingChangeWithVersion("The default value of FailoverPolicy will change from Automatic to Manual", "12.0.0", "5.0.0")]
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SqlDatabaseFailoverGroup",ConfirmImpact = ConfirmImpact.Medium), OutputType(typeof(AzureSqlFailoverGroupModel))]
public class SetAzureSqlFailoverGroup : AzureSqlFailoverGroupCmdletBase
{
Expand Down

0 comments on commit 0979a75

Please sign in to comment.