Skip to content

Commit a5fd99c

Browse files
authored
Get-AzVM NextLink parameter set removal breaking change warning (#21444)
* breakingchange message * ps
1 parent 63a6804 commit a5fd99c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Compute/Compute/VirtualMachine/Operation/GetAzureVMCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525
using Microsoft.Azure.Management.Internal.Resources;
2626
using Microsoft.Rest.Azure;
2727
using Microsoft.Azure.Management.Authorization.Version2015_07_01;
28+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2829

2930
namespace Microsoft.Azure.Commands.Compute
3031
{
32+
[GenericBreakingChange("In the June 2023 Powershell release, the NextLink parameter set will be removed. Powershell by default loops through the list of VMs returned, so the user no longer has to use this parameter set.")]
3133
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VM", DefaultParameterSetName = DefaultParamSet)]
3234
[OutputType(typeof(PSVirtualMachine), typeof(PSVirtualMachineInstanceView))]
3335
public class GetAzureVMCommand : VirtualMachineBaseCmdlet

0 commit comments

Comments
 (0)