Skip to content

Commit b16f435

Browse files
authored
Deprecate ContainerService API cmdlets (#13951)
* Add deprecate metadata tag * changelog update
1 parent 9beffb2 commit b16f435

7 files changed

+15
-0
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
2121
-->
2222
## Upcoming Release
23+
* Added deprecation message to the ContainerService cmdlets:
24+
- `Add-AzureRmContainerServiceAgentPoolProfileCommand`
25+
- `Get-AzContainerService`
26+
- `New-AzContainerService`
27+
- `New-AzContainerServiceConfig`
28+
- `Remove-AzContainerService`
29+
- `Remove-AzContainerServiceAgentPoolProfile`
30+
- `Update-AzContainerService`
2331

2432
## Version 4.8.0
2533
* New parameter `VM` in new parameter set `VMParameterSet` added to `Get-AzVMDscExtensionStatus` and `Get-AzVMDscExtension` cmdlets.

src/Compute/Compute/Generated/ContainerService/Config/AddAzureRmContainerServiceAgentPoolProfileCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
namespace Microsoft.Azure.Commands.Compute.Automation
3232
{
33+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
3334
[Cmdlet(VerbsCommon.Add, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerServiceAgentPoolProfile", SupportsShouldProcess = true)]
3435
[OutputType(typeof(PSContainerService))]
3536
public partial class AddAzureRmContainerServiceAgentPoolProfileCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet

src/Compute/Compute/Generated/ContainerService/Config/NewAzureRmContainerServiceConfigCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
namespace Microsoft.Azure.Commands.Compute.Automation
3333
{
34+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
3435
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerServiceConfig", SupportsShouldProcess = true)]
3536
[OutputType(typeof(PSContainerService))]
3637
public partial class NewAzureRmContainerServiceConfigCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet

src/Compute/Compute/Generated/ContainerService/Config/RemoveAzureRmContainerServiceAgentPoolProfileCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
namespace Microsoft.Azure.Commands.Compute.Automation
3232
{
33+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
3334
[Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerServiceAgentPoolProfile", SupportsShouldProcess = true)]
3435
[OutputType(typeof(PSContainerService))]
3536
public partial class RemoveAzureRmContainerServiceAgentPoolProfileCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet

src/Compute/Compute/Generated/ContainerService/ContainerServiceCreateOrUpdateMethod.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
namespace Microsoft.Azure.Commands.Compute.Automation
3434
{
35+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
3536
[Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerService", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
3637
[OutputType(typeof(PSContainerService))]
3738
public partial class NewAzureRmContainerService : ComputeAutomationBaseCmdlet
@@ -82,6 +83,7 @@ public override void ExecuteCmdlet()
8283
public SwitchParameter AsJob { get; set; }
8384
}
8485

86+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
8587
[Cmdlet(VerbsData.Update, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerService", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
8688
[OutputType(typeof(PSContainerService))]
8789
public partial class UpdateAzureRmContainerService : ComputeAutomationBaseCmdlet

src/Compute/Compute/Generated/ContainerService/ContainerServiceDeleteMethod.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
namespace Microsoft.Azure.Commands.Compute.Automation
3434
{
35+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
3536
[Cmdlet(VerbsCommon.Remove, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerService", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
3637
[OutputType(typeof(PSOperationStatusResponse))]
3738
public partial class RemoveAzureRmContainerService : ComputeAutomationBaseCmdlet

src/Compute/Compute/Generated/ContainerService/ContainerServiceGetMethod.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
namespace Microsoft.Azure.Commands.Compute.Automation
3434
{
35+
[WindowsAzure.Commands.Common.CustomAttributes.CmdletDeprecation()]
3536
[Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ContainerService", DefaultParameterSetName = "DefaultParameter")]
3637
[OutputType(typeof(PSContainerService))]
3738
public partial class GetAzureRmContainerService : ComputeAutomationBaseCmdlet

0 commit comments

Comments
 (0)