Skip to content

Commit 9c141ae

Browse files
AsJob
1 parent 8285582 commit 9c141ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/NewAzureVMCommand.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ public class NewAzureVMCommand : VirtualMachineBaseCmdlet
168168
[Parameter(ParameterSetName = SimpleParameterSet, Mandatory = false)]
169169
public string Size { get; set; } = "Standard_DS1_v2";
170170

171+
[Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
172+
public SwitchParameter AsJob { get; set; }
173+
171174
public override void ExecuteCmdlet()
172175
{
173176
switch (ParameterSetName)

0 commit comments

Comments
 (0)