Skip to content

Commit 911fc86

Browse files
update
2 parents 8f44634 + 6920983 commit 911fc86

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,16 @@ public class NewAzureVMCommand : VirtualMachineBaseCmdlet
314314
[ResourceIdCompleter("Microsoft.Compute/capacityReservationGroups")]
315315
public string CapacityReservationGroupId { get; set; }
316316

317+
[Parameter(
318+
Mandatory = false,
319+
HelpMessage = "Name of the SSH Public Key resource.",
320+
ParameterSetName = DefaultParameterSet)]
321+
[Parameter(
322+
Mandatory = false,
323+
HelpMessage = "Name of the SSH Public Key resource.",
324+
ParameterSetName = SimpleParameterSet)]
325+
public string SshKeyName { get; set; }
326+
317327
[Parameter(
318328
Mandatory = false,
319329
HelpMessage = "Generate a SSH Public/Private key pair and create a SSH Public Key resource on Azure.",

0 commit comments

Comments
 (0)