Skip to content
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
1 change: 0 additions & 1 deletion src/Aks/Aks/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
- Additional information about change #1
-->
## Upcoming Release
* [Breaking Change] Removed cmdlet alias `Get-AzAks`, `New-AzAks`, `Remove-AzAks` and `Set-AzAks`.
* [Breaking Change] Removed parameter alias `ClientIdAndSecret` in `New-AzAksCluster` and `Set-AzAksCluster`.
* [Breaking Change] Changed the default value of `NodeVmSetType` in `New-AzAksCluster` from `AvailabilitySet` to `VirtualMachineScaleSets`.
* [Breaking Change] Changed the default value of `NetworkPlugin` in `New-AzAksCluster` from `None` to `azure`.
Expand Down
2 changes: 2 additions & 0 deletions src/Aks/Aks/Commands/GetAzureRmAks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

namespace Microsoft.Azure.Commands.Aks
{
[CmdletDeprecation(ReplacementCmdletName = "Get-AzAksCluster")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = ResourceGroupParameterSet)]
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
[OutputType(typeof(PSKubernetesCluster))]
public class GetAzureRmAks : KubeCmdletBase
{
Expand Down
2 changes: 2 additions & 0 deletions src/Aks/Aks/Commands/NewAzureRmAks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

namespace Microsoft.Azure.Commands.Aks
{
[CmdletDeprecation(ReplacementCmdletName = "New-AzAksCluster")]
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = DefaultParamSet, SupportsShouldProcess = true)]
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
[OutputType(typeof(PSKubernetesCluster))]
public class NewAzureRmAks : NewKubeBase
{
Expand Down
2 changes: 2 additions & 0 deletions src/Aks/Aks/Commands/RemoveAzureRmAks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

namespace Microsoft.Azure.Commands.Aks
{
[CmdletDeprecation(ReplacementCmdletName = "Remove-AzAksCluster")]
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", SupportsShouldProcess = true, DefaultParameterSetName = GroupNameParameterSet)]
[Alias("Remove-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
[OutputType(typeof(bool))]
public class RemoveAzureRmAks : KubeCmdletBase
{
Expand Down
2 changes: 2 additions & 0 deletions src/Aks/Aks/Commands/SetAzureRmAks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@

namespace Microsoft.Azure.Commands.Aks
{
[CmdletDeprecation(ReplacementCmdletName = "Set-AzAksCluster")]
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = DefaultParamSet, SupportsShouldProcess = true)]
[Alias("Set-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Aks")]
[OutputType(typeof(PSKubernetesCluster))]
public class SetAzureRmAks : CreateOrUpdateKubeBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.GetAzureRmAks","Get-AzAksCluster","0","1010","The cmdlet 'Get-AzAksCluster' no longer supports the alias 'Get-AzAks'.","Add the alias 'Get-AzAks back to the cmdlet 'Get-AzAksCluster'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.NewAzureRmAks","New-AzAksCluster","0","1010","The cmdlet 'New-AzAksCluster' no longer supports the alias 'New-AzAks'.","Add the alias 'New-AzAks back to the cmdlet 'New-AzAksCluster'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.NewAzureRmAks","New-AzAksCluster","0","2000","The cmdlet 'New-AzAksCluster' no longer supports the parameter 'NodeOsType' and no alias was found for the original parameter name.","Add the parameter 'NodeOsType' back to the cmdlet 'New-AzAksCluster', or add an alias to the original parameter name."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.NewAzureRmAks","New-AzAksCluster","0","2010","The cmdlet 'New-AzAksCluster' no longer supports the alias 'ClientIdAndSecret' for parameter 'ServicePrincipalIdAndSecret'.","Add the alias 'ClientIdAndSecret' back to parameter 'ServicePrincipalIdAndSecret'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.NewAzureRmAks","New-AzAksCluster","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzAksCluster' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzAksCluster'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.NewAzureRmAks","New-AzAksCluster","0","1050","The parameter set 'defaultParameterSet' for cmdlet 'New-AzAksCluster' has been removed.","Add parameter set 'defaultParameterSet' back to cmdlet 'New-AzAksCluster'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.RemoveAzureRmAks","Remove-AzAksCluster","0","1010","The cmdlet 'Remove-AzAksCluster' no longer supports the alias 'Remove-AzAks'.","Add the alias 'Remove-AzAks back to the cmdlet 'Remove-AzAksCluster'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.SetAzureRmAks","Set-AzAksCluster","0","1010","The cmdlet 'Set-AzAksCluster' no longer supports the alias 'Set-AzAks'.","Add the alias 'Set-AzAks back to the cmdlet 'Set-AzAksCluster'."
"Microsoft.Azure.PowerShell.Cmdlets.Aks.dll","Microsoft.Azure.Commands.Aks.SetAzureRmAks","Set-AzAksCluster","0","2010","The cmdlet 'Set-AzAksCluster' no longer supports the alias 'ClientIdAndSecret' for parameter 'ServicePrincipalIdAndSecret'.","Add the alias 'ClientIdAndSecret' back to parameter 'ServicePrincipalIdAndSecret'."