Interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanaged
- All Known Subinterfaces:
VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanaged
The stage of a Linux virtual machine definition allowing to specify an SSH root password or public key.
-
Method Summary
Modifier and TypeMethodDescriptionwithRootPassword(String rootPassword) Specifies an SSH root password for the Linux virtual machine.Specifies an SSH public key.
-
Method Details
-
withRootPassword
Specifies an SSH root password for the Linux virtual machine.- Parameters:
rootPassword- a password following the complexity criteria for Azure Linux VM passwords.- Returns:
- the next stage of the definition
-
withSsh
Specifies an SSH public key.- Parameters:
publicKey- an SSH public key at least 2048-bit and in ssh-rsa format.- Returns:
- the next stage of the definition
-