Interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged
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 the SSH root password for the Linux virtual machine.Specifies an SSH public key.
-
Method Details
-
withRootPassword
Specifies the 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 in the PEM format.- Returns:
- the next stage of the definition
-