public static interface VirtualMachine.DefinitionStages.WithLinuxRootPasswordOrPublicKeyUnmanaged
Modifier and Type | Method and Description |
---|---|
VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged |
withRootPassword(String rootPassword)
Specifies an SSH root password for the Linux virtual machine.
|
VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged |
withSsh(String publicKey)
Specifies an SSH public key.
|
VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged withRootPassword(String rootPassword)
rootPassword
- a password following the complexity criteria for Azure Linux VM passwords.VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged withSsh(String publicKey)
publicKey
- an SSH public key in the PEM format.Copyright © 2019. All rights reserved.