Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Compute/Compute/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Added 'Delete' to the argument completer of EvictionPolicy parameter for New-AzVM and New-AzVMConfig cmdlets.
* Fixed name of new VM Extension for SAP

## Version 4.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public class NewAzureVMConfigCommand : Microsoft.Azure.Commands.ResourceManager.

[Parameter(
ValueFromPipelineByPropertyName = true,
HelpMessage = "The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.")]
[PSArgumentCompleter("Deallocate")]
HelpMessage = "The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete'")]
[PSArgumentCompleter("Deallocate", "Delete")]
public string EvictionPolicy { get; set; }

[Parameter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ public class NewAzureVMCommand : VirtualMachineBaseCmdlet
public string Priority { get; set; }

[Parameter(ParameterSetName = SimpleParameterSet, Mandatory = false,
HelpMessage = "The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.")]
HelpMessage = "The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete'.")]
[Parameter(ParameterSetName = DiskFileParameterSet, Mandatory = false,
HelpMessage = "The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.")]
[PSArgumentCompleter("Deallocate")]
HelpMessage = "The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete'.")]
[PSArgumentCompleter("Deallocate", "Delete")]
public string EvictionPolicy { get; set; }

[Parameter(ParameterSetName = SimpleParameterSet, Mandatory = false,
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/New-AzVM.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Accept wildcard characters: False
```

### -EvictionPolicy
The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.
The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete'.

```yaml
Type: System.String
Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/New-AzVMConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Accept wildcard characters: False
```

### -EvictionPolicy
The eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.
The eviction policy for the Azure Spot virtual machine. Supported values are 'Deallocate' and 'Delete'.

```yaml
Type: System.String
Expand Down