Skip to content

Commit 23a9e12

Browse files
authored
Update breaking change message for Aks (#17044)
Co-authored-by: wyunchi-ms <[email protected]>
1 parent b254403 commit 23a9e12

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

src/Aks/Aks/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Updated the breaking change warning messages [#16805]
2122

2223
## Version 3.1.1
2324
* Fixed the typo in `New-AzAksCluster` [#16733]

src/Aks/Aks/Commands/GetAzureRmAks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
namespace Microsoft.Azure.Commands.Aks
2929
{
30-
[CmdletDeprecation(ReplacementCmdletName = "Get-AzAksCluster")]
30+
[GenericBreakingChange("Get-AzAks will be removed in the next major release. Please use Get-AzAksCluster instead of Get-AzAks")]
3131
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = ResourceGroupParameterSet)]
3232
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
3333
[OutputType(typeof(PSKubernetesCluster))]

src/Aks/Aks/Commands/NewAzureRmAks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
namespace Microsoft.Azure.Commands.Aks
4040
{
41-
[CmdletDeprecation(ReplacementCmdletName = "New-AzAksCluster")]
41+
[GenericBreakingChange("New-AzAks will be removed in the next major release. Please use New-AzAksCluster instead of New-AzAks")]
4242
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = DefaultParamSet, SupportsShouldProcess = true)]
4343
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
4444
[OutputType(typeof(PSKubernetesCluster))]

src/Aks/Aks/Commands/RemoveAzureRmAks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
namespace Microsoft.Azure.Commands.Aks
2424
{
25-
[CmdletDeprecation(ReplacementCmdletName = "Remove-AzAksCluster")]
25+
[GenericBreakingChange("Remove-AzAks will be removed in the next major release. Please use Remove-AzAksCluster instead of Remove-AzAks")]
2626
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", SupportsShouldProcess = true, DefaultParameterSetName = GroupNameParameterSet)]
2727
[Alias("Remove-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
2828
[OutputType(typeof(bool))]

src/Aks/Aks/Commands/SetAzureRmAks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
namespace Microsoft.Azure.Commands.Aks
3838
{
39-
[CmdletDeprecation(ReplacementCmdletName = "Set-AzAksCluster")]
39+
[GenericBreakingChange("Set-AzAks will be removed in the next major release. Please use Set-AzAksCluster instead of Set-AzAks")]
4040
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = DefaultParamSet, SupportsShouldProcess = true)]
4141
[Alias("Set-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
4242
[OutputType(typeof(PSKubernetesCluster))]

0 commit comments

Comments
 (0)