public static interface VirtualMachineScaleSet.DefinitionStages.WithLinuxRootPasswordOrPublicKeyManaged
Modifier and Type | Method and Description |
---|---|
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged |
withRootPassword(String rootPassword)
Specifies the SSH root password for the Linux virtual machine.
|
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged |
withSsh(String publicKey)
Specifies the SSH public key.
|
VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged withRootPassword(String rootPassword)
rootPassword
- a password following the complexity criteria for Azure Linux VM passwordsVirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged withSsh(String publicKey)
Each call to this method adds the given public key to the list of VM's public keys.
publicKey
- the SSH public key in PEM format.Copyright © 2019. All rights reserved.