From 80ca964953e32a1faf775af4ca22fb27eb216e9d Mon Sep 17 00:00:00 2001 From: Adam Sandor Date: Tue, 4 Apr 2023 16:19:43 -0400 Subject: [PATCH 1/3] msg and changelog --- src/Compute/Compute/ChangeLog.md | 1 + .../Compute/VirtualMachine/Operation/NewAzureVMCommand.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Compute/Compute/ChangeLog.md b/src/Compute/Compute/ChangeLog.md index 0a0aefc467c9..8bb2ff21253f 100644 --- a/src/Compute/Compute/ChangeLog.md +++ b/src/Compute/Compute/ChangeLog.md @@ -20,6 +20,7 @@ --> ## Upcoming Release +* Update the breaking change warning regarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. ## Version 5.7.0 * Addressed bug in `Remove-AzVmss` to throw error when `-InstanceId` is null. [#21162] diff --git a/src/Compute/Compute/VirtualMachine/Operation/NewAzureVMCommand.cs b/src/Compute/Compute/VirtualMachine/Operation/NewAzureVMCommand.cs index a7c2770d5679..8cb6dc083568 100644 --- a/src/Compute/Compute/VirtualMachine/Operation/NewAzureVMCommand.cs +++ b/src/Compute/Compute/VirtualMachine/Operation/NewAzureVMCommand.cs @@ -54,7 +54,7 @@ namespace Microsoft.Azure.Commands.Compute { - [GenericBreakingChange("Consider using the image alias including the version of the distribution you want to use in the \"-Image\" parameter of the \"New-AzVM\" cmdlet. On April 30, 2023, the image deployed using `UbuntuLTS` will reach its end of life.")] + [GenericBreakingChange("Consider using the image alias including the version of the distribution you want to use in the \"-Image\" parameter of the \"New-AzVM\" cmdlet. On April 30, 2023, the image deployed using `UbuntuLTS` will reach its end of life. In October 2023, the aliases `UbuntuLTS`, `CentOS`, `Debian`, and `RHEL` will be removed.")] [GenericBreakingChange("Starting in May 2023 the \"New-AzVM\" cmdlet will deploy with the Trusted Launch configuration by default. To know more about Trusted Launch, please visit https://docs.microsoft.com/en-us/azure/virtual-machines/trusted-launch")] [GenericBreakingChange("It is recommended to use parameter \"-PublicIpSku Standard\" in order to create a new VM with a Standard public IP.Specifying zone(s) using the \"-Zone\" parameter will also result in a Standard public IP.If \"-Zone\" and \"-PublicIpSku\" are not specified, the VM will be created with a Basic public IP instead.Please note that the Standard SKU IPs will become the default behavior for VM creation in the future")] [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VM", SupportsShouldProcess = true, DefaultParameterSetName = "SimpleParameterSet")] From ff9dd73e1d6c8e0f2bff6708689cc862e5c79a15 Mon Sep 17 00:00:00 2001 From: Adam Sandor Date: Tue, 4 Apr 2023 16:27:14 -0400 Subject: [PATCH 2/3] vmss --- src/Compute/Compute/ChangeLog.md | 2 +- .../Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Compute/Compute/ChangeLog.md b/src/Compute/Compute/ChangeLog.md index 8bb2ff21253f..03ec5d0163db 100644 --- a/src/Compute/Compute/ChangeLog.md +++ b/src/Compute/Compute/ChangeLog.md @@ -20,7 +20,7 @@ --> ## Upcoming Release -* Update the breaking change warning regarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. +* Update the breaking change warning in `New-AzVM` and `New-AzVmss` regarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. ## Version 5.7.0 * Addressed bug in `Remove-AzVmss` to throw error when `-InstanceId` is null. [#21162] diff --git a/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs b/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs index 030eed0b2c27..545ce1a1f868 100644 --- a/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs +++ b/src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs @@ -33,7 +33,7 @@ namespace Microsoft.Azure.Commands.Compute.Automation { - [GenericBreakingChange("Consider using the image alias including the version of the distribution you want to use in the \"-ImageName\" parameter of the \"New-AzVmss\" cmdlet. On April 30, 2023, the image deployed using `UbuntuLTS` will reach its end of life.")] + [GenericBreakingChange("Consider using the image alias including the version of the distribution you want to use in the \"-ImageName\" parameter of the \"New-AzVmss\" cmdlet. On April 30, 2023, the image deployed using `UbuntuLTS` will reach its end of life. In October 2023, the aliases `UbuntuLTS`, `CentOS`, `Debian`, and `RHEL` will be removed.")] public partial class NewAzureRmVmss : ComputeAutomationBaseCmdlet { private const string flexibleOrchestrationMode = "Flexible", uniformOrchestrationMode = "Uniform"; From ec753201380fc444c1fe894a6ba9170f175c45f4 Mon Sep 17 00:00:00 2001 From: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com> Date: Thu, 6 Apr 2023 09:56:18 +0800 Subject: [PATCH 3/3] Update ChangeLog.md --- src/Compute/Compute/ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compute/Compute/ChangeLog.md b/src/Compute/Compute/ChangeLog.md index 03ec5d0163db..b5a358be359d 100644 --- a/src/Compute/Compute/ChangeLog.md +++ b/src/Compute/Compute/ChangeLog.md @@ -20,7 +20,7 @@ --> ## Upcoming Release -* Update the breaking change warning in `New-AzVM` and `New-AzVmss` regarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. +* Updated the breaking change warning in `New-AzVM` and `New-AzVmss` regarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. ## Version 5.7.0 * Addressed bug in `Remove-AzVmss` to throw error when `-InstanceId` is null. [#21162]