Skip to content

Commit b1978c3

Browse files
authored
Added cx waning to the New-AzVM cmdlet, The default value of publicIpSku parameter will be changed from Basic to Standard. (#26515)
1 parent e578436 commit b1978c3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
## Version 8.4.0
2828
* Added `SkuProfileVmSize` and `SkuProfileAllocationStrategy` parameters to `New-AzVmss`, `New-AzVmssConfig`, and `Update-AzVmss` cmdlets for VMSS Instance Mix operations.
2929
* Added a new optional parameter `-GenerateSshKey-type` to the `New-AzVM` cmdlet, allowing users to specify the type of SSH key to generate (Ed25519 or RSA).
30+
* Added cx waning to the `New-AzVM` cmdlet, The default value of `publicIpSku` parameter will be changed from Basic to Standard.
3031
* Added `EnableResilientVMCreate` and `EnableResilientVMDelete` parameters to `Update-AzVmss` and `New-AzVmssConfig` cmdlets for enhanced VM resilience options.
3132
* Added `IsVMInStandByPool` property to `PSVirtualMachineInstanceView` object. [#25736]
3233

src/Compute/Compute/VirtualMachine/Operation/NewAzureVMCommand.cs

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

6060
namespace Microsoft.Azure.Commands.Compute
6161
{
62+
[GenericBreakingChangeWithVersion("The default publicIpSku will be changed from Basic to Standard. This change is expected to take effect in the next version. If publicIpSku is not specified, default will be switched to Standard. For more information refer to https://aka.ms/ipbasictostandard.", "13.0.0", "9.0.0")]
6263
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VM", SupportsShouldProcess = true, DefaultParameterSetName = "SimpleParameterSet")]
6364
[OutputType(typeof(PSAzureOperationResponse), typeof(PSVirtualMachine))]
6465
public class NewAzureVMCommand : VirtualMachineBaseCmdlet

0 commit comments

Comments
 (0)