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