Interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanaged
-
- All Known Subinterfaces:
VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanagedThe stage of a Linux virtual machine definition allowing to specify an SSH root password or public key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithLinuxCreateUnmanagedwithRootPassword(String rootPassword)Specifies an SSH root password for the Linux virtual machine.VirtualMachine.DefinitionStages.WithLinuxCreateUnmanagedwithSsh(String publicKey)Specifies an SSH public key.
-
-
-
Method Detail
-
withRootPassword
VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged withRootPassword(String rootPassword)
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
VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged withSsh(String publicKey)
Specifies an SSH public key.- Parameters:
publicKey- an SSH public key in the PEM format.- Returns:
- the next stage of the definition
-
-