File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed
Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1919 - Additional information about change #1
2020-->
2121## Upcoming Release
22+ * Added 'Delete' to the argument completer of EvictionPolicy parameter for New-AzVM and New-AzVMConfig cmdlets.
2223* Fixed name of new VM Extension for SAP
2324
2425## Version 4.1.0
Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ public class NewAzureVMConfigCommand : Microsoft.Azure.Commands.ResourceManager.
9797
9898 [ Parameter (
9999 ValueFromPipelineByPropertyName = true ,
100- HelpMessage = "The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'. " ) ]
101- [ PSArgumentCompleter ( "Deallocate" ) ]
100+ HelpMessage = "The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete' " ) ]
101+ [ PSArgumentCompleter ( "Deallocate" , "Delete" ) ]
102102 public string EvictionPolicy { get ; set ; }
103103
104104 [ Parameter (
Original file line number Diff line number Diff line change @@ -242,10 +242,10 @@ public class NewAzureVMCommand : VirtualMachineBaseCmdlet
242242 public string Priority { get ; set ; }
243243
244244 [ Parameter ( ParameterSetName = SimpleParameterSet , Mandatory = false ,
245- HelpMessage = "The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'." ) ]
245+ HelpMessage = "The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete '." ) ]
246246 [ Parameter ( ParameterSetName = DiskFileParameterSet , Mandatory = false ,
247- HelpMessage = "The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'." ) ]
248- [ PSArgumentCompleter ( "Deallocate" ) ]
247+ HelpMessage = "The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete '." ) ]
248+ [ PSArgumentCompleter ( "Deallocate" , "Delete" ) ]
249249 public string EvictionPolicy { get ; set ; }
250250
251251 [ Parameter ( ParameterSetName = SimpleParameterSet , Mandatory = false ,
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ Accept wildcard characters: False
335335` ` `
336336
337337# ## -EvictionPolicy
338- The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.
338+ The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete '.
339339
340340` ` ` yaml
341341Type: System.String
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ Accept wildcard characters: False
104104` ` `
105105
106106### -EvictionPolicy
107- The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.
107+ The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete '.
108108
109109` ` ` yaml
110110Type : System.String
You can’t perform that action at this time.
0 commit comments