Skip to content

Commit 6f69ba9

Browse files
committed
Adding breaking change exception.
1 parent ed98b5e commit 6f69ba9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Sql/Sql/ManagedDatabase/Cmdlet/RestoreAzureSqlManagedDatabase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ public class RestoreAzureRmSqlManagedDatabase
222222
ValueFromPipeline = true,
223223
HelpMessage = "The instance database object to restore")]
224224
[ValidateNotNullOrEmpty]
225+
[Alias("InstanceDatabase")]
225226
public AzureSqlManagedDatabaseBaseModel InputObject { get; set; }
226227

227228
/// <summary>

tools/StaticAnalysis/Exceptions/Az.Sql/BreakingChangeIssues.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@
4747
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ThreatDetection.Cmdlet.SetAzureSqlServerThreatDetection","Set-AzSqlServerThreatDetectionPolicy","0","3020","The element type for property 'ExcludedDetectionTypes' has been changed from 'Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DetectionType' to 'System.String'.","Change the element type for property 'ExcludedDetectionTypes' back to 'Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DetectionType'."
4848
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ThreatDetection.Cmdlet.SetAzureSqlServerThreatDetection","Set-AzSqlServerThreatDetectionPolicy","0","2110","The element type for parameter 'ExcludedDetectionType' has been changed from 'Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DetectionType' to 'System.String'.","Change the element type for parameter 'ExcludedDetectionType' back to 'Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DetectionType'."
4949
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet.GetAzureSqlManagedInstance","Get-AzSqlInstance","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Get-AzSqlInstance' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Get-AzSqlInstance'."
50-
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet.NewAzureSqlManagedInstance","New-AzSqlInstance","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzSqlInstance' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzSqlInstance'."
50+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet.NewAzureSqlManagedInstance","New-AzSqlInstance","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzSqlInstance' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzSqlInstance'."
51+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedDatabase.Cmdlet.RestoreAzureRmSqlManagedDatabase","Restore-AzSqlInstanceDatabase","0","2020","The cmdlet 'Restore-AzSqlInstanceDatabase' no longer supports the type 'Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseModel' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseModel'."

0 commit comments

Comments
 (0)