Skip to content

Commit e351bf7

Browse files
committed
Fix for bug #1901664. Giving a validate set for the type
1 parent aed34e9 commit e351bf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDevice.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class GetAzureStorSimpleDevice : StorSimpleCmdletBase
3636
public string DeviceName { get; set; }
3737

3838
[Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.DeviceType)]
39+
[ValidateSet("Appliance", "VirtualAppliance")]
3940
[ValidateNotNullOrEmpty]
4041
public string Type { get; set; }
4142

0 commit comments

Comments
 (0)