Skip to content

Fix typo with breaking change descriptions and Sql migration docs #15819

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions documentation/migration-guides/Az.3.0.0-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ Get-AzSqlDatabaseAdvancedThreatProtectionSetting -ResourceGroupName "ResourceGro
```

### `Update-AzSqlDatabaseAdvancedThreatProtectionSettings`
Cmdlet `Update-AzSqlDatabaseAdvancedThreatProtectionSettings` is repleaced by `Update-AzSqlDatabaseAdvancedThreatProtectionSetting`
Cmdlet `Update-AzSqlDatabaseAdvancedThreatProtectionSettings` is replaced by `Update-AzSqlDatabaseAdvancedThreatProtectionSetting`

#### Before
```powershell
Expand All @@ -531,7 +531,7 @@ Update-AzSqlDatabaseAdvancedThreatProtectionSetting -ResourceGroupName "Resource
```

### `Clear-AzSqlDatabaseAdvancedThreatProtectionSettings`
Cmdlet `Clear-AzSqlDatabaseAdvancedThreatProtectionSettings` is repleaced by `Clear-AzSqlDatabaseAdvancedThreatProtectionSetting`
Cmdlet `Clear-AzSqlDatabaseAdvancedThreatProtectionSettings` is replaced by `Clear-AzSqlDatabaseAdvancedThreatProtectionSetting`

#### Before
```powershell
Expand All @@ -544,7 +544,7 @@ Clear-AzSqlDatabaseAdvancedThreatProtectionSetting -ResourceGroupName "ResourceG
```

### `Update-AzSqlDatabaseVulnerabilityAssessmentSettings`
Cmdlet `Update-AzSqlDatabaseVulnerabilityAssessmentSettings` is repleaced by `Update-AzSqlDatabaseVulnerabilityAssessmentSetting`
Cmdlet `Update-AzSqlDatabaseVulnerabilityAssessmentSettings` is replaced by `Update-AzSqlDatabaseVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand Down Expand Up @@ -574,7 +574,7 @@ Update-AzSqlDatabaseVulnerabilityAssessmentSetting `


### `Get-AzSqlDatabaseVulnerabilityAssessmentSettings`
Cmdlet `Get-AzSqlDatabaseVulnerabilityAssessmentSettings` is repleaced by `Get-AzSqlDatabaseVulnerabilityAssessmentSetting`
Cmdlet `Get-AzSqlDatabaseVulnerabilityAssessmentSettings` is replaced by `Get-AzSqlDatabaseVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -593,7 +593,7 @@ Get-AzSqlDatabaseVulnerabilityAssessmentSetting `
```

### `Clear-AzSqlDatabaseVulnerabilityAssessmentSettings`
Cmdlet `Clear-AzSqlDatabaseVulnerabilityAssessmentSettings` is repleaced by `Clear-AzSqlDatabaseVulnerabilityAssessmentSetting`
Cmdlet `Clear-AzSqlDatabaseVulnerabilityAssessmentSettings` is replaced by `Clear-AzSqlDatabaseVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -612,7 +612,7 @@ Clear-AzSqlDatabaseVulnerabilityAssessmentSetting `
```

### `Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings`
Cmdlet `Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings` is repleaced by `Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting`
Cmdlet `Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings` is replaced by `Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand Down Expand Up @@ -641,7 +641,7 @@ Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting `
```

### `Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings`
Cmdlet `Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings` is repleaced by `Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting`
Cmdlet `Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings` is replaced by `Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -660,7 +660,7 @@ Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting `
```

### `Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings`
Cmdlet `Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings` is repleaced by `Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting`
Cmdlet `Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings` is replaced by `Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -679,7 +679,7 @@ Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting `
```

### `Update-AzSqlInstanceVulnerabilityAssessmentSettings`
Cmdlet `Update-AzSqlInstanceVulnerabilityAssessmentSettings` is repleaced by `Update-AzSqlInstanceVulnerabilityAssessmentSetting`
Cmdlet `Update-AzSqlInstanceVulnerabilityAssessmentSettings` is replaced by `Update-AzSqlInstanceVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -706,7 +706,7 @@ Update-AzSqlInstanceVulnerabilityAssessmentSetting `
```

### `Get-AzSqlInstanceVulnerabilityAssessmentSettings`
Cmdlet `Get-AzSqlInstanceVulnerabilityAssessmentSettings` is repleaced by `Get-AzSqlInstanceVulnerabilityAssessmentSetting`
Cmdlet `Get-AzSqlInstanceVulnerabilityAssessmentSettings` is replaced by `Get-AzSqlInstanceVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -725,7 +725,7 @@ Get-AzSqlInstanceVulnerabilityAssessmentSetting `
```

### `Clear-AzSqlInstanceVulnerabilityAssessmentSettings`
Cmdlet `Clear-AzSqlInstanceVulnerabilityAssessmentSettings` is repleaced by `Clear-AzSqlInstanceVulnerabilityAssessmentSetting`
Cmdlet `Clear-AzSqlInstanceVulnerabilityAssessmentSettings` is replaced by `Clear-AzSqlInstanceVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -744,7 +744,7 @@ Clear-AzSqlInstanceVulnerabilityAssessmentSetting `
```

### `Update-AzSqlServerVulnerabilityAssessmentSettings`
Cmdlet `Update-AzSqlServerVulnerabilityAssessmentSettings` is repleaced by `Update-AzSqlServerVulnerabilityAssessmentSetting`
Cmdlet `Update-AzSqlServerVulnerabilityAssessmentSettings` is replaced by `Update-AzSqlServerVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -771,7 +771,7 @@ Update-AzSqlServerVulnerabilityAssessmentSetting `
```

### `Get-AzSqlServerVulnerabilityAssessmentSettings`
Cmdlet `Get-AzSqlServerVulnerabilityAssessmentSettings` is repleaced by `Get-AzSqlServerVulnerabilityAssessmentSetting`
Cmdlet `Get-AzSqlServerVulnerabilityAssessmentSettings` is replaced by `Get-AzSqlServerVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -790,7 +790,7 @@ Get-AzSqlServerVulnerabilityAssessmentSetting `
```

### `Clear-AzSqlServerVulnerabilityAssessmentSettings`
Cmdlet `Clear-AzSqlServerVulnerabilityAssessmentSettings` is repleaced by `Clear-AzSqlServerVulnerabilityAssessmentSetting`
Cmdlet `Clear-AzSqlServerVulnerabilityAssessmentSettings` is replaced by `Clear-AzSqlServerVulnerabilityAssessmentSetting`

#### Before
```powershell
Expand All @@ -809,10 +809,10 @@ Clear-AzSqlDatabaseVulnerabilityAssessmentSetting `
```

### `Get-AzSqlServerAdvancedThreatProtectionPolicy`
Cmdlet `Get-AzSqlServerAdvancedThreatProtectionPolicy` is deleted and no cmdlet is repleaced it
Cmdlet `Get-AzSqlServerAdvancedThreatProtectionPolicy` is deleted and no cmdlet is replaced it

### `Get-AzSqlServerThreatDetectionPolicy`
Cmdlet `Get-AzSqlServerThreatDetectionPolicy` is repleaced by `Get-AzSqlServerThreatDetectionSetting`
Cmdlet `Get-AzSqlServerThreatDetectionPolicy` is replaced by `Get-AzSqlServerThreatDetectionSetting`

#### Before
```powershell
Expand Down Expand Up @@ -841,7 +841,7 @@ RetentionInDays : 0
```

### `Remove-AzSqlServerThreatDetectionPolicy`
Cmdlet `Remove-AzSqlServerThreatDetectionPolicy` is repleaced by `Clear-AzSqlServerThreatDetectionSetting`
Cmdlet `Remove-AzSqlServerThreatDetectionPolicy` is replaced by `Clear-AzSqlServerThreatDetectionSetting`

#### Before
```powershell
Expand All @@ -854,7 +854,7 @@ Clear-AzSqlServerAdvancedThreatProtectionSetting -ResourceGroupName "ResourceGro
```

### `Set-AzSqlServerThreatDetectionPolicy`
Cmdlet `Set-AzSqlServerThreatDetectionPolicy` is repleaced by `Update-AzSqlServerThreatDetectionSetting`
Cmdlet `Set-AzSqlServerThreatDetectionPolicy` is replaced by `Update-AzSqlServerThreatDetectionSetting`

#### Before
```powershell
Expand All @@ -867,7 +867,7 @@ Update-AzSqlServerAdvancedThreatProtectionSetting -ResourceGroupName "ResourceGr
```

### `Get-AzSqlDatabaseThreatDetectionPolicy`
Cmdlet `Get-AzSqlDatabaseThreatDetectionPolicy` is repleaced by `Get-AzSqlDatabaseThreatDetectionSetting`
Cmdlet `Get-AzSqlDatabaseThreatDetectionPolicy` is replaced by `Get-AzSqlDatabaseThreatDetectionSetting`

#### Before
```powershell
Expand Down Expand Up @@ -898,7 +898,7 @@ RetentionInDays : 0
```

### `Set-AzSqlDatabaseThreatDetectionPolicy`
Cmdlet `Set-AzSqlDatabaseThreatDetectionPolicy` is repleaced by `Update-AzSqlDatabaseThreatDetectionSetting`
Cmdlet `Set-AzSqlDatabaseThreatDetectionPolicy` is replaced by `Update-AzSqlDatabaseThreatDetectionSetting`

#### Before
```powershell
Expand All @@ -911,7 +911,7 @@ Update-AzSqlDatabaseAdvancedThreatProtectionSetting -ResourceGroupName "Resource
```

### `Remove-AzSqlDatabaseThreatDetectionPolicy`
Cmdlet `Remove-AzSqlDatabaseThreatDetectionPolicy` is repleaced by `Clear-AzSqlDatabaseThreatDetectionSetting`
Cmdlet `Remove-AzSqlDatabaseThreatDetectionPolicy` is replaced by `Clear-AzSqlDatabaseThreatDetectionSetting`

#### Before
```powershell
Expand Down
1 change: 1 addition & 0 deletions src/Resources/Resources/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
-->

## Upcoming Release
* Fixed typos with ManagementGroups breaking change descriptions [#15819].

## Version 4.3.1
* Use JsonExtensions to serialize deserialize JSON objects to ensure the use of custom serialization settings [#15552]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class GetAzureRmManagementGroup : AzureManagementGroupsCmdletBase
/// Get-AzManagementGroup Cmdlet
/// </summary>
[Alias("GroupId")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will repleace GroupName with GroupId to make it more clear.")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will replace GroupName with GroupId to make it more clear.")]
[Parameter(ParameterSetName = Constants.ParameterSetNames.GetParameterSet, Mandatory = true, HelpMessage = Constants.HelpMessages.GroupName, Position = 0)]
public string GroupName { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.Resources.ManagementGroups
public class NewAzureRmManagementGroup : AzureManagementGroupsCmdletBase
{
[Alias("GroupId")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will repleace GroupName with GroupId to make it more clear.")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will replace GroupName with GroupId to make it more clear.")]
[Parameter(ParameterSetName = Constants.ParameterSetNames.GroupOperationsParameterSet, Mandatory = true, HelpMessage = Constants.HelpMessages.GroupName, Position = 0)]
[Parameter(ParameterSetName = Constants.ParameterSetNames.ParentGroupParameterSet, Mandatory = true,
HelpMessage = Constants.HelpMessages.ParentObject)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Resources.ManagementGroups
public class NewAzureRmManagementGroupSubscription : AzureManagementGroupsCmdletBase
{
[Alias("GroupId")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will repleace GroupName with GroupId to make it more clear.")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will replace GroupName with GroupId to make it more clear.")]
[Parameter(ParameterSetName = Constants.ParameterSetNames.GroupOperationsParameterSet, Mandatory = true,
HelpMessage = Constants.HelpMessages.GroupName, Position = 0)]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class RemoveAzureRmManagementGroup : AzureManagementGroupsCmdletBase
public PSManagementGroup InputObject { get; set; }

[Alias("GroupId")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will repleace GroupName with GroupId to make it more clear.")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will replace GroupName with GroupId to make it more clear.")]
[Parameter(ParameterSetName = Constants.ParameterSetNames.GroupOperationsParameterSet, Mandatory = true,
HelpMessage = Constants.HelpMessages.GroupName, Position = 0)]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Resources.ManagementGroups
public class RemoveAzureRmManagementGroupSubscription : AzureManagementGroupsCmdletBase
{
[Alias("GroupId")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will repleace GroupName with GroupId to make it more clear.")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will replace GroupName with GroupId to make it more clear.")]
[Parameter(ParameterSetName = Constants.ParameterSetNames.GroupOperationsParameterSet, Mandatory = true,
HelpMessage = Constants.HelpMessages.GroupName, Position = 0)]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class UpdateAzureRmManagementGroup : AzureManagementGroupsCmdletBase
public PSManagementGroup InputObject { get; set; }

[Alias("GroupId")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will repleace GroupName with GroupId to make it more clear.")]
[CmdletParameterBreakingChange("GroupName", ReplaceMentCmdletParameterName = "GroupId", ChangeDescription = "We will replace GroupName with GroupId to make it more clear.")]
[Parameter(ParameterSetName = Constants.ParameterSetNames.ParentGroupParameterSet, Mandatory = true,
HelpMessage = Constants.HelpMessages.InputObject, ValueFromPipeline = false)]
[Parameter(ParameterSetName = Constants.ParameterSetNames.GroupOperationsParameterSet, Mandatory = true, HelpMessage = Constants.HelpMessages.GroupName, Position = 0)]
Expand Down