Interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
- All Known Subinterfaces:
VirtualMachine.DefinitionManagedOrUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManagedOrUnmanaged
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 the SSH public key.
-
Method Details
-
withRootPassword
VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged withRootPassword(String rootPassword) 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 the SSH public key.- Parameters:
publicKey- an SSH public key in the PEM format.- Returns:
- the next stage of the definition
-