You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetDeleteInstancesMethod.cs
+2-16Lines changed: 2 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -131,11 +131,9 @@ public partial class RemoveAzureRmVmss : InvokeAzureComputeMethodCmdlet
WriteWarning("Breaking change notice: In upcoming release, DataDiskNames parameter will no longer support pipeline. This parameter will be optional. All data disks will be removed from a given VM object if a user does not give this parameter.");
Copy file name to clipboardExpand all lines: src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,9 @@ public class RemoveAzureVMNetworkInterfaceCommand : Microsoft.Azure.Commands.Res
43
43
44
44
[Alias("Id","NicIds")]
45
45
[Parameter(
46
-
Mandatory=false,
46
+
Mandatory=true,
47
47
Position=1,
48
+
ValueFromPipelineByPropertyName=true,
48
49
HelpMessage=HelpMessages.VMNetworkInterfaceID)]
49
50
[ValidateNotNullOrEmpty]
50
51
publicstring[]NetworkInterfaceIDs{get;set;}
@@ -53,6 +54,8 @@ public override void ExecuteCmdlet()
WriteWarning("Breaking change notice: In upcoming release, NetworkInterfaceIDs will no longer support pipeline. This parameter will be optional. All network interfaces will be removed from a given VM object if a user does not give this parameter.");
Copy file name to clipboardExpand all lines: src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/GetAzureVMCommand.cs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,8 @@ public override void ExecuteCmdlet()
79
79
{
80
80
base.ExecuteCmdlet();
81
81
82
+
WriteWarning("Breaking change notice: In upcoming releaese, top level properties, DataDiskNames and NetworkInterfaceIDs, will be removed from VM object because they are also in StorageProfile and NetworkProfile, respectively.");
0 commit comments